Initial commit
This commit is contained in:
48
vendor/google/apiclient-services/src/Google/Service/Gmail/AutoForwarding.php
vendored
Normal file
48
vendor/google/apiclient-services/src/Google/Service/Gmail/AutoForwarding.php
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_AutoForwarding extends Google_Model
|
||||
{
|
||||
public $disposition;
|
||||
public $emailAddress;
|
||||
public $enabled;
|
||||
|
||||
public function setDisposition($disposition)
|
||||
{
|
||||
$this->disposition = $disposition;
|
||||
}
|
||||
public function getDisposition()
|
||||
{
|
||||
return $this->disposition;
|
||||
}
|
||||
public function setEmailAddress($emailAddress)
|
||||
{
|
||||
$this->emailAddress = $emailAddress;
|
||||
}
|
||||
public function getEmailAddress()
|
||||
{
|
||||
return $this->emailAddress;
|
||||
}
|
||||
public function setEnabled($enabled)
|
||||
{
|
||||
$this->enabled = $enabled;
|
||||
}
|
||||
public function getEnabled()
|
||||
{
|
||||
return $this->enabled;
|
||||
}
|
||||
}
|
||||
31
vendor/google/apiclient-services/src/Google/Service/Gmail/BatchDeleteMessagesRequest.php
vendored
Normal file
31
vendor/google/apiclient-services/src/Google/Service/Gmail/BatchDeleteMessagesRequest.php
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_BatchDeleteMessagesRequest extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'ids';
|
||||
public $ids;
|
||||
|
||||
public function setIds($ids)
|
||||
{
|
||||
$this->ids = $ids;
|
||||
}
|
||||
public function getIds()
|
||||
{
|
||||
return $this->ids;
|
||||
}
|
||||
}
|
||||
49
vendor/google/apiclient-services/src/Google/Service/Gmail/BatchModifyMessagesRequest.php
vendored
Normal file
49
vendor/google/apiclient-services/src/Google/Service/Gmail/BatchModifyMessagesRequest.php
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_BatchModifyMessagesRequest extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'removeLabelIds';
|
||||
public $addLabelIds;
|
||||
public $ids;
|
||||
public $removeLabelIds;
|
||||
|
||||
public function setAddLabelIds($addLabelIds)
|
||||
{
|
||||
$this->addLabelIds = $addLabelIds;
|
||||
}
|
||||
public function getAddLabelIds()
|
||||
{
|
||||
return $this->addLabelIds;
|
||||
}
|
||||
public function setIds($ids)
|
||||
{
|
||||
$this->ids = $ids;
|
||||
}
|
||||
public function getIds()
|
||||
{
|
||||
return $this->ids;
|
||||
}
|
||||
public function setRemoveLabelIds($removeLabelIds)
|
||||
{
|
||||
$this->removeLabelIds = $removeLabelIds;
|
||||
}
|
||||
public function getRemoveLabelIds()
|
||||
{
|
||||
return $this->removeLabelIds;
|
||||
}
|
||||
}
|
||||
40
vendor/google/apiclient-services/src/Google/Service/Gmail/Draft.php
vendored
Normal file
40
vendor/google/apiclient-services/src/Google/Service/Gmail/Draft.php
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_Draft extends Google_Model
|
||||
{
|
||||
public $id;
|
||||
protected $messageType = 'Google_Service_Gmail_Message';
|
||||
protected $messageDataType = '';
|
||||
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setMessage(Google_Service_Gmail_Message $message)
|
||||
{
|
||||
$this->message = $message;
|
||||
}
|
||||
public function getMessage()
|
||||
{
|
||||
return $this->message;
|
||||
}
|
||||
}
|
||||
50
vendor/google/apiclient-services/src/Google/Service/Gmail/Filter.php
vendored
Normal file
50
vendor/google/apiclient-services/src/Google/Service/Gmail/Filter.php
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_Filter extends Google_Model
|
||||
{
|
||||
protected $actionType = 'Google_Service_Gmail_FilterAction';
|
||||
protected $actionDataType = '';
|
||||
protected $criteriaType = 'Google_Service_Gmail_FilterCriteria';
|
||||
protected $criteriaDataType = '';
|
||||
public $id;
|
||||
|
||||
public function setAction(Google_Service_Gmail_FilterAction $action)
|
||||
{
|
||||
$this->action = $action;
|
||||
}
|
||||
public function getAction()
|
||||
{
|
||||
return $this->action;
|
||||
}
|
||||
public function setCriteria(Google_Service_Gmail_FilterCriteria $criteria)
|
||||
{
|
||||
$this->criteria = $criteria;
|
||||
}
|
||||
public function getCriteria()
|
||||
{
|
||||
return $this->criteria;
|
||||
}
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
}
|
||||
49
vendor/google/apiclient-services/src/Google/Service/Gmail/FilterAction.php
vendored
Normal file
49
vendor/google/apiclient-services/src/Google/Service/Gmail/FilterAction.php
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_FilterAction extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'removeLabelIds';
|
||||
public $addLabelIds;
|
||||
public $forward;
|
||||
public $removeLabelIds;
|
||||
|
||||
public function setAddLabelIds($addLabelIds)
|
||||
{
|
||||
$this->addLabelIds = $addLabelIds;
|
||||
}
|
||||
public function getAddLabelIds()
|
||||
{
|
||||
return $this->addLabelIds;
|
||||
}
|
||||
public function setForward($forward)
|
||||
{
|
||||
$this->forward = $forward;
|
||||
}
|
||||
public function getForward()
|
||||
{
|
||||
return $this->forward;
|
||||
}
|
||||
public function setRemoveLabelIds($removeLabelIds)
|
||||
{
|
||||
$this->removeLabelIds = $removeLabelIds;
|
||||
}
|
||||
public function getRemoveLabelIds()
|
||||
{
|
||||
return $this->removeLabelIds;
|
||||
}
|
||||
}
|
||||
102
vendor/google/apiclient-services/src/Google/Service/Gmail/FilterCriteria.php
vendored
Normal file
102
vendor/google/apiclient-services/src/Google/Service/Gmail/FilterCriteria.php
vendored
Normal file
@@ -0,0 +1,102 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_FilterCriteria extends Google_Model
|
||||
{
|
||||
public $excludeChats;
|
||||
public $from;
|
||||
public $hasAttachment;
|
||||
public $negatedQuery;
|
||||
public $query;
|
||||
public $size;
|
||||
public $sizeComparison;
|
||||
public $subject;
|
||||
public $to;
|
||||
|
||||
public function setExcludeChats($excludeChats)
|
||||
{
|
||||
$this->excludeChats = $excludeChats;
|
||||
}
|
||||
public function getExcludeChats()
|
||||
{
|
||||
return $this->excludeChats;
|
||||
}
|
||||
public function setFrom($from)
|
||||
{
|
||||
$this->from = $from;
|
||||
}
|
||||
public function getFrom()
|
||||
{
|
||||
return $this->from;
|
||||
}
|
||||
public function setHasAttachment($hasAttachment)
|
||||
{
|
||||
$this->hasAttachment = $hasAttachment;
|
||||
}
|
||||
public function getHasAttachment()
|
||||
{
|
||||
return $this->hasAttachment;
|
||||
}
|
||||
public function setNegatedQuery($negatedQuery)
|
||||
{
|
||||
$this->negatedQuery = $negatedQuery;
|
||||
}
|
||||
public function getNegatedQuery()
|
||||
{
|
||||
return $this->negatedQuery;
|
||||
}
|
||||
public function setQuery($query)
|
||||
{
|
||||
$this->query = $query;
|
||||
}
|
||||
public function getQuery()
|
||||
{
|
||||
return $this->query;
|
||||
}
|
||||
public function setSize($size)
|
||||
{
|
||||
$this->size = $size;
|
||||
}
|
||||
public function getSize()
|
||||
{
|
||||
return $this->size;
|
||||
}
|
||||
public function setSizeComparison($sizeComparison)
|
||||
{
|
||||
$this->sizeComparison = $sizeComparison;
|
||||
}
|
||||
public function getSizeComparison()
|
||||
{
|
||||
return $this->sizeComparison;
|
||||
}
|
||||
public function setSubject($subject)
|
||||
{
|
||||
$this->subject = $subject;
|
||||
}
|
||||
public function getSubject()
|
||||
{
|
||||
return $this->subject;
|
||||
}
|
||||
public function setTo($to)
|
||||
{
|
||||
$this->to = $to;
|
||||
}
|
||||
public function getTo()
|
||||
{
|
||||
return $this->to;
|
||||
}
|
||||
}
|
||||
39
vendor/google/apiclient-services/src/Google/Service/Gmail/ForwardingAddress.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/Gmail/ForwardingAddress.php
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_ForwardingAddress extends Google_Model
|
||||
{
|
||||
public $forwardingEmail;
|
||||
public $verificationStatus;
|
||||
|
||||
public function setForwardingEmail($forwardingEmail)
|
||||
{
|
||||
$this->forwardingEmail = $forwardingEmail;
|
||||
}
|
||||
public function getForwardingEmail()
|
||||
{
|
||||
return $this->forwardingEmail;
|
||||
}
|
||||
public function setVerificationStatus($verificationStatus)
|
||||
{
|
||||
$this->verificationStatus = $verificationStatus;
|
||||
}
|
||||
public function getVerificationStatus()
|
||||
{
|
||||
return $this->verificationStatus;
|
||||
}
|
||||
}
|
||||
81
vendor/google/apiclient-services/src/Google/Service/Gmail/History.php
vendored
Normal file
81
vendor/google/apiclient-services/src/Google/Service/Gmail/History.php
vendored
Normal file
@@ -0,0 +1,81 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_History extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'messagesDeleted';
|
||||
public $id;
|
||||
protected $labelsAddedType = 'Google_Service_Gmail_HistoryLabelAdded';
|
||||
protected $labelsAddedDataType = 'array';
|
||||
protected $labelsRemovedType = 'Google_Service_Gmail_HistoryLabelRemoved';
|
||||
protected $labelsRemovedDataType = 'array';
|
||||
protected $messagesType = 'Google_Service_Gmail_Message';
|
||||
protected $messagesDataType = 'array';
|
||||
protected $messagesAddedType = 'Google_Service_Gmail_HistoryMessageAdded';
|
||||
protected $messagesAddedDataType = 'array';
|
||||
protected $messagesDeletedType = 'Google_Service_Gmail_HistoryMessageDeleted';
|
||||
protected $messagesDeletedDataType = 'array';
|
||||
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setLabelsAdded($labelsAdded)
|
||||
{
|
||||
$this->labelsAdded = $labelsAdded;
|
||||
}
|
||||
public function getLabelsAdded()
|
||||
{
|
||||
return $this->labelsAdded;
|
||||
}
|
||||
public function setLabelsRemoved($labelsRemoved)
|
||||
{
|
||||
$this->labelsRemoved = $labelsRemoved;
|
||||
}
|
||||
public function getLabelsRemoved()
|
||||
{
|
||||
return $this->labelsRemoved;
|
||||
}
|
||||
public function setMessages($messages)
|
||||
{
|
||||
$this->messages = $messages;
|
||||
}
|
||||
public function getMessages()
|
||||
{
|
||||
return $this->messages;
|
||||
}
|
||||
public function setMessagesAdded($messagesAdded)
|
||||
{
|
||||
$this->messagesAdded = $messagesAdded;
|
||||
}
|
||||
public function getMessagesAdded()
|
||||
{
|
||||
return $this->messagesAdded;
|
||||
}
|
||||
public function setMessagesDeleted($messagesDeleted)
|
||||
{
|
||||
$this->messagesDeleted = $messagesDeleted;
|
||||
}
|
||||
public function getMessagesDeleted()
|
||||
{
|
||||
return $this->messagesDeleted;
|
||||
}
|
||||
}
|
||||
41
vendor/google/apiclient-services/src/Google/Service/Gmail/HistoryLabelAdded.php
vendored
Normal file
41
vendor/google/apiclient-services/src/Google/Service/Gmail/HistoryLabelAdded.php
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_HistoryLabelAdded extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'labelIds';
|
||||
public $labelIds;
|
||||
protected $messageType = 'Google_Service_Gmail_Message';
|
||||
protected $messageDataType = '';
|
||||
|
||||
public function setLabelIds($labelIds)
|
||||
{
|
||||
$this->labelIds = $labelIds;
|
||||
}
|
||||
public function getLabelIds()
|
||||
{
|
||||
return $this->labelIds;
|
||||
}
|
||||
public function setMessage(Google_Service_Gmail_Message $message)
|
||||
{
|
||||
$this->message = $message;
|
||||
}
|
||||
public function getMessage()
|
||||
{
|
||||
return $this->message;
|
||||
}
|
||||
}
|
||||
41
vendor/google/apiclient-services/src/Google/Service/Gmail/HistoryLabelRemoved.php
vendored
Normal file
41
vendor/google/apiclient-services/src/Google/Service/Gmail/HistoryLabelRemoved.php
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_HistoryLabelRemoved extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'labelIds';
|
||||
public $labelIds;
|
||||
protected $messageType = 'Google_Service_Gmail_Message';
|
||||
protected $messageDataType = '';
|
||||
|
||||
public function setLabelIds($labelIds)
|
||||
{
|
||||
$this->labelIds = $labelIds;
|
||||
}
|
||||
public function getLabelIds()
|
||||
{
|
||||
return $this->labelIds;
|
||||
}
|
||||
public function setMessage(Google_Service_Gmail_Message $message)
|
||||
{
|
||||
$this->message = $message;
|
||||
}
|
||||
public function getMessage()
|
||||
{
|
||||
return $this->message;
|
||||
}
|
||||
}
|
||||
31
vendor/google/apiclient-services/src/Google/Service/Gmail/HistoryMessageAdded.php
vendored
Normal file
31
vendor/google/apiclient-services/src/Google/Service/Gmail/HistoryMessageAdded.php
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_HistoryMessageAdded extends Google_Model
|
||||
{
|
||||
protected $messageType = 'Google_Service_Gmail_Message';
|
||||
protected $messageDataType = '';
|
||||
|
||||
public function setMessage(Google_Service_Gmail_Message $message)
|
||||
{
|
||||
$this->message = $message;
|
||||
}
|
||||
public function getMessage()
|
||||
{
|
||||
return $this->message;
|
||||
}
|
||||
}
|
||||
31
vendor/google/apiclient-services/src/Google/Service/Gmail/HistoryMessageDeleted.php
vendored
Normal file
31
vendor/google/apiclient-services/src/Google/Service/Gmail/HistoryMessageDeleted.php
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_HistoryMessageDeleted extends Google_Model
|
||||
{
|
||||
protected $messageType = 'Google_Service_Gmail_Message';
|
||||
protected $messageDataType = '';
|
||||
|
||||
public function setMessage(Google_Service_Gmail_Message $message)
|
||||
{
|
||||
$this->message = $message;
|
||||
}
|
||||
public function getMessage()
|
||||
{
|
||||
return $this->message;
|
||||
}
|
||||
}
|
||||
57
vendor/google/apiclient-services/src/Google/Service/Gmail/ImapSettings.php
vendored
Normal file
57
vendor/google/apiclient-services/src/Google/Service/Gmail/ImapSettings.php
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_ImapSettings extends Google_Model
|
||||
{
|
||||
public $autoExpunge;
|
||||
public $enabled;
|
||||
public $expungeBehavior;
|
||||
public $maxFolderSize;
|
||||
|
||||
public function setAutoExpunge($autoExpunge)
|
||||
{
|
||||
$this->autoExpunge = $autoExpunge;
|
||||
}
|
||||
public function getAutoExpunge()
|
||||
{
|
||||
return $this->autoExpunge;
|
||||
}
|
||||
public function setEnabled($enabled)
|
||||
{
|
||||
$this->enabled = $enabled;
|
||||
}
|
||||
public function getEnabled()
|
||||
{
|
||||
return $this->enabled;
|
||||
}
|
||||
public function setExpungeBehavior($expungeBehavior)
|
||||
{
|
||||
$this->expungeBehavior = $expungeBehavior;
|
||||
}
|
||||
public function getExpungeBehavior()
|
||||
{
|
||||
return $this->expungeBehavior;
|
||||
}
|
||||
public function setMaxFolderSize($maxFolderSize)
|
||||
{
|
||||
$this->maxFolderSize = $maxFolderSize;
|
||||
}
|
||||
public function getMaxFolderSize()
|
||||
{
|
||||
return $this->maxFolderSize;
|
||||
}
|
||||
}
|
||||
102
vendor/google/apiclient-services/src/Google/Service/Gmail/Label.php
vendored
Normal file
102
vendor/google/apiclient-services/src/Google/Service/Gmail/Label.php
vendored
Normal file
@@ -0,0 +1,102 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_Label extends Google_Model
|
||||
{
|
||||
public $id;
|
||||
public $labelListVisibility;
|
||||
public $messageListVisibility;
|
||||
public $messagesTotal;
|
||||
public $messagesUnread;
|
||||
public $name;
|
||||
public $threadsTotal;
|
||||
public $threadsUnread;
|
||||
public $type;
|
||||
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setLabelListVisibility($labelListVisibility)
|
||||
{
|
||||
$this->labelListVisibility = $labelListVisibility;
|
||||
}
|
||||
public function getLabelListVisibility()
|
||||
{
|
||||
return $this->labelListVisibility;
|
||||
}
|
||||
public function setMessageListVisibility($messageListVisibility)
|
||||
{
|
||||
$this->messageListVisibility = $messageListVisibility;
|
||||
}
|
||||
public function getMessageListVisibility()
|
||||
{
|
||||
return $this->messageListVisibility;
|
||||
}
|
||||
public function setMessagesTotal($messagesTotal)
|
||||
{
|
||||
$this->messagesTotal = $messagesTotal;
|
||||
}
|
||||
public function getMessagesTotal()
|
||||
{
|
||||
return $this->messagesTotal;
|
||||
}
|
||||
public function setMessagesUnread($messagesUnread)
|
||||
{
|
||||
$this->messagesUnread = $messagesUnread;
|
||||
}
|
||||
public function getMessagesUnread()
|
||||
{
|
||||
return $this->messagesUnread;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setThreadsTotal($threadsTotal)
|
||||
{
|
||||
$this->threadsTotal = $threadsTotal;
|
||||
}
|
||||
public function getThreadsTotal()
|
||||
{
|
||||
return $this->threadsTotal;
|
||||
}
|
||||
public function setThreadsUnread($threadsUnread)
|
||||
{
|
||||
$this->threadsUnread = $threadsUnread;
|
||||
}
|
||||
public function getThreadsUnread()
|
||||
{
|
||||
return $this->threadsUnread;
|
||||
}
|
||||
public function setType($type)
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
}
|
||||
50
vendor/google/apiclient-services/src/Google/Service/Gmail/ListDraftsResponse.php
vendored
Normal file
50
vendor/google/apiclient-services/src/Google/Service/Gmail/ListDraftsResponse.php
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_ListDraftsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'drafts';
|
||||
protected $draftsType = 'Google_Service_Gmail_Draft';
|
||||
protected $draftsDataType = 'array';
|
||||
public $nextPageToken;
|
||||
public $resultSizeEstimate;
|
||||
|
||||
public function setDrafts($drafts)
|
||||
{
|
||||
$this->drafts = $drafts;
|
||||
}
|
||||
public function getDrafts()
|
||||
{
|
||||
return $this->drafts;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
public function setResultSizeEstimate($resultSizeEstimate)
|
||||
{
|
||||
$this->resultSizeEstimate = $resultSizeEstimate;
|
||||
}
|
||||
public function getResultSizeEstimate()
|
||||
{
|
||||
return $this->resultSizeEstimate;
|
||||
}
|
||||
}
|
||||
32
vendor/google/apiclient-services/src/Google/Service/Gmail/ListFiltersResponse.php
vendored
Normal file
32
vendor/google/apiclient-services/src/Google/Service/Gmail/ListFiltersResponse.php
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_ListFiltersResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'filter';
|
||||
protected $filterType = 'Google_Service_Gmail_Filter';
|
||||
protected $filterDataType = 'array';
|
||||
|
||||
public function setFilter($filter)
|
||||
{
|
||||
$this->filter = $filter;
|
||||
}
|
||||
public function getFilter()
|
||||
{
|
||||
return $this->filter;
|
||||
}
|
||||
}
|
||||
32
vendor/google/apiclient-services/src/Google/Service/Gmail/ListForwardingAddressesResponse.php
vendored
Normal file
32
vendor/google/apiclient-services/src/Google/Service/Gmail/ListForwardingAddressesResponse.php
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_ListForwardingAddressesResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'forwardingAddresses';
|
||||
protected $forwardingAddressesType = 'Google_Service_Gmail_ForwardingAddress';
|
||||
protected $forwardingAddressesDataType = 'array';
|
||||
|
||||
public function setForwardingAddresses($forwardingAddresses)
|
||||
{
|
||||
$this->forwardingAddresses = $forwardingAddresses;
|
||||
}
|
||||
public function getForwardingAddresses()
|
||||
{
|
||||
return $this->forwardingAddresses;
|
||||
}
|
||||
}
|
||||
50
vendor/google/apiclient-services/src/Google/Service/Gmail/ListHistoryResponse.php
vendored
Normal file
50
vendor/google/apiclient-services/src/Google/Service/Gmail/ListHistoryResponse.php
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_ListHistoryResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'history';
|
||||
protected $historyType = 'Google_Service_Gmail_History';
|
||||
protected $historyDataType = 'array';
|
||||
public $historyId;
|
||||
public $nextPageToken;
|
||||
|
||||
public function setHistory($history)
|
||||
{
|
||||
$this->history = $history;
|
||||
}
|
||||
public function getHistory()
|
||||
{
|
||||
return $this->history;
|
||||
}
|
||||
public function setHistoryId($historyId)
|
||||
{
|
||||
$this->historyId = $historyId;
|
||||
}
|
||||
public function getHistoryId()
|
||||
{
|
||||
return $this->historyId;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
32
vendor/google/apiclient-services/src/Google/Service/Gmail/ListLabelsResponse.php
vendored
Normal file
32
vendor/google/apiclient-services/src/Google/Service/Gmail/ListLabelsResponse.php
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_ListLabelsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'labels';
|
||||
protected $labelsType = 'Google_Service_Gmail_Label';
|
||||
protected $labelsDataType = 'array';
|
||||
|
||||
public function setLabels($labels)
|
||||
{
|
||||
$this->labels = $labels;
|
||||
}
|
||||
public function getLabels()
|
||||
{
|
||||
return $this->labels;
|
||||
}
|
||||
}
|
||||
50
vendor/google/apiclient-services/src/Google/Service/Gmail/ListMessagesResponse.php
vendored
Normal file
50
vendor/google/apiclient-services/src/Google/Service/Gmail/ListMessagesResponse.php
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_ListMessagesResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'messages';
|
||||
protected $messagesType = 'Google_Service_Gmail_Message';
|
||||
protected $messagesDataType = 'array';
|
||||
public $nextPageToken;
|
||||
public $resultSizeEstimate;
|
||||
|
||||
public function setMessages($messages)
|
||||
{
|
||||
$this->messages = $messages;
|
||||
}
|
||||
public function getMessages()
|
||||
{
|
||||
return $this->messages;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
public function setResultSizeEstimate($resultSizeEstimate)
|
||||
{
|
||||
$this->resultSizeEstimate = $resultSizeEstimate;
|
||||
}
|
||||
public function getResultSizeEstimate()
|
||||
{
|
||||
return $this->resultSizeEstimate;
|
||||
}
|
||||
}
|
||||
32
vendor/google/apiclient-services/src/Google/Service/Gmail/ListSendAsResponse.php
vendored
Normal file
32
vendor/google/apiclient-services/src/Google/Service/Gmail/ListSendAsResponse.php
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_ListSendAsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'sendAs';
|
||||
protected $sendAsType = 'Google_Service_Gmail_SendAs';
|
||||
protected $sendAsDataType = 'array';
|
||||
|
||||
public function setSendAs($sendAs)
|
||||
{
|
||||
$this->sendAs = $sendAs;
|
||||
}
|
||||
public function getSendAs()
|
||||
{
|
||||
return $this->sendAs;
|
||||
}
|
||||
}
|
||||
32
vendor/google/apiclient-services/src/Google/Service/Gmail/ListSmimeInfoResponse.php
vendored
Normal file
32
vendor/google/apiclient-services/src/Google/Service/Gmail/ListSmimeInfoResponse.php
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_ListSmimeInfoResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'smimeInfo';
|
||||
protected $smimeInfoType = 'Google_Service_Gmail_SmimeInfo';
|
||||
protected $smimeInfoDataType = 'array';
|
||||
|
||||
public function setSmimeInfo($smimeInfo)
|
||||
{
|
||||
$this->smimeInfo = $smimeInfo;
|
||||
}
|
||||
public function getSmimeInfo()
|
||||
{
|
||||
return $this->smimeInfo;
|
||||
}
|
||||
}
|
||||
50
vendor/google/apiclient-services/src/Google/Service/Gmail/ListThreadsResponse.php
vendored
Normal file
50
vendor/google/apiclient-services/src/Google/Service/Gmail/ListThreadsResponse.php
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_ListThreadsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'threads';
|
||||
public $nextPageToken;
|
||||
public $resultSizeEstimate;
|
||||
protected $threadsType = 'Google_Service_Gmail_Thread';
|
||||
protected $threadsDataType = 'array';
|
||||
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
public function setResultSizeEstimate($resultSizeEstimate)
|
||||
{
|
||||
$this->resultSizeEstimate = $resultSizeEstimate;
|
||||
}
|
||||
public function getResultSizeEstimate()
|
||||
{
|
||||
return $this->resultSizeEstimate;
|
||||
}
|
||||
public function setThreads($threads)
|
||||
{
|
||||
$this->threads = $threads;
|
||||
}
|
||||
public function getThreads()
|
||||
{
|
||||
return $this->threads;
|
||||
}
|
||||
}
|
||||
104
vendor/google/apiclient-services/src/Google/Service/Gmail/Message.php
vendored
Normal file
104
vendor/google/apiclient-services/src/Google/Service/Gmail/Message.php
vendored
Normal file
@@ -0,0 +1,104 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_Message extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'labelIds';
|
||||
public $historyId;
|
||||
public $id;
|
||||
public $internalDate;
|
||||
public $labelIds;
|
||||
protected $payloadType = 'Google_Service_Gmail_MessagePart';
|
||||
protected $payloadDataType = '';
|
||||
public $raw;
|
||||
public $sizeEstimate;
|
||||
public $snippet;
|
||||
public $threadId;
|
||||
|
||||
public function setHistoryId($historyId)
|
||||
{
|
||||
$this->historyId = $historyId;
|
||||
}
|
||||
public function getHistoryId()
|
||||
{
|
||||
return $this->historyId;
|
||||
}
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setInternalDate($internalDate)
|
||||
{
|
||||
$this->internalDate = $internalDate;
|
||||
}
|
||||
public function getInternalDate()
|
||||
{
|
||||
return $this->internalDate;
|
||||
}
|
||||
public function setLabelIds($labelIds)
|
||||
{
|
||||
$this->labelIds = $labelIds;
|
||||
}
|
||||
public function getLabelIds()
|
||||
{
|
||||
return $this->labelIds;
|
||||
}
|
||||
public function setPayload(Google_Service_Gmail_MessagePart $payload)
|
||||
{
|
||||
$this->payload = $payload;
|
||||
}
|
||||
public function getPayload()
|
||||
{
|
||||
return $this->payload;
|
||||
}
|
||||
public function setRaw($raw)
|
||||
{
|
||||
$this->raw = $raw;
|
||||
}
|
||||
public function getRaw()
|
||||
{
|
||||
return $this->raw;
|
||||
}
|
||||
public function setSizeEstimate($sizeEstimate)
|
||||
{
|
||||
$this->sizeEstimate = $sizeEstimate;
|
||||
}
|
||||
public function getSizeEstimate()
|
||||
{
|
||||
return $this->sizeEstimate;
|
||||
}
|
||||
public function setSnippet($snippet)
|
||||
{
|
||||
$this->snippet = $snippet;
|
||||
}
|
||||
public function getSnippet()
|
||||
{
|
||||
return $this->snippet;
|
||||
}
|
||||
public function setThreadId($threadId)
|
||||
{
|
||||
$this->threadId = $threadId;
|
||||
}
|
||||
public function getThreadId()
|
||||
{
|
||||
return $this->threadId;
|
||||
}
|
||||
}
|
||||
79
vendor/google/apiclient-services/src/Google/Service/Gmail/MessagePart.php
vendored
Normal file
79
vendor/google/apiclient-services/src/Google/Service/Gmail/MessagePart.php
vendored
Normal file
@@ -0,0 +1,79 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_MessagePart extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'parts';
|
||||
protected $bodyType = 'Google_Service_Gmail_MessagePartBody';
|
||||
protected $bodyDataType = '';
|
||||
public $filename;
|
||||
protected $headersType = 'Google_Service_Gmail_MessagePartHeader';
|
||||
protected $headersDataType = 'array';
|
||||
public $mimeType;
|
||||
public $partId;
|
||||
protected $partsType = 'Google_Service_Gmail_MessagePart';
|
||||
protected $partsDataType = 'array';
|
||||
|
||||
public function setBody(Google_Service_Gmail_MessagePartBody $body)
|
||||
{
|
||||
$this->body = $body;
|
||||
}
|
||||
public function getBody()
|
||||
{
|
||||
return $this->body;
|
||||
}
|
||||
public function setFilename($filename)
|
||||
{
|
||||
$this->filename = $filename;
|
||||
}
|
||||
public function getFilename()
|
||||
{
|
||||
return $this->filename;
|
||||
}
|
||||
public function setHeaders($headers)
|
||||
{
|
||||
$this->headers = $headers;
|
||||
}
|
||||
public function getHeaders()
|
||||
{
|
||||
return $this->headers;
|
||||
}
|
||||
public function setMimeType($mimeType)
|
||||
{
|
||||
$this->mimeType = $mimeType;
|
||||
}
|
||||
public function getMimeType()
|
||||
{
|
||||
return $this->mimeType;
|
||||
}
|
||||
public function setPartId($partId)
|
||||
{
|
||||
$this->partId = $partId;
|
||||
}
|
||||
public function getPartId()
|
||||
{
|
||||
return $this->partId;
|
||||
}
|
||||
public function setParts($parts)
|
||||
{
|
||||
$this->parts = $parts;
|
||||
}
|
||||
public function getParts()
|
||||
{
|
||||
return $this->parts;
|
||||
}
|
||||
}
|
||||
48
vendor/google/apiclient-services/src/Google/Service/Gmail/MessagePartBody.php
vendored
Normal file
48
vendor/google/apiclient-services/src/Google/Service/Gmail/MessagePartBody.php
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_MessagePartBody extends Google_Model
|
||||
{
|
||||
public $attachmentId;
|
||||
public $data;
|
||||
public $size;
|
||||
|
||||
public function setAttachmentId($attachmentId)
|
||||
{
|
||||
$this->attachmentId = $attachmentId;
|
||||
}
|
||||
public function getAttachmentId()
|
||||
{
|
||||
return $this->attachmentId;
|
||||
}
|
||||
public function setData($data)
|
||||
{
|
||||
$this->data = $data;
|
||||
}
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
public function setSize($size)
|
||||
{
|
||||
$this->size = $size;
|
||||
}
|
||||
public function getSize()
|
||||
{
|
||||
return $this->size;
|
||||
}
|
||||
}
|
||||
39
vendor/google/apiclient-services/src/Google/Service/Gmail/MessagePartHeader.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/Gmail/MessagePartHeader.php
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_MessagePartHeader extends Google_Model
|
||||
{
|
||||
public $name;
|
||||
public $value;
|
||||
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setValue($value)
|
||||
{
|
||||
$this->value = $value;
|
||||
}
|
||||
public function getValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
}
|
||||
40
vendor/google/apiclient-services/src/Google/Service/Gmail/ModifyMessageRequest.php
vendored
Normal file
40
vendor/google/apiclient-services/src/Google/Service/Gmail/ModifyMessageRequest.php
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_ModifyMessageRequest extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'removeLabelIds';
|
||||
public $addLabelIds;
|
||||
public $removeLabelIds;
|
||||
|
||||
public function setAddLabelIds($addLabelIds)
|
||||
{
|
||||
$this->addLabelIds = $addLabelIds;
|
||||
}
|
||||
public function getAddLabelIds()
|
||||
{
|
||||
return $this->addLabelIds;
|
||||
}
|
||||
public function setRemoveLabelIds($removeLabelIds)
|
||||
{
|
||||
$this->removeLabelIds = $removeLabelIds;
|
||||
}
|
||||
public function getRemoveLabelIds()
|
||||
{
|
||||
return $this->removeLabelIds;
|
||||
}
|
||||
}
|
||||
40
vendor/google/apiclient-services/src/Google/Service/Gmail/ModifyThreadRequest.php
vendored
Normal file
40
vendor/google/apiclient-services/src/Google/Service/Gmail/ModifyThreadRequest.php
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_ModifyThreadRequest extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'removeLabelIds';
|
||||
public $addLabelIds;
|
||||
public $removeLabelIds;
|
||||
|
||||
public function setAddLabelIds($addLabelIds)
|
||||
{
|
||||
$this->addLabelIds = $addLabelIds;
|
||||
}
|
||||
public function getAddLabelIds()
|
||||
{
|
||||
return $this->addLabelIds;
|
||||
}
|
||||
public function setRemoveLabelIds($removeLabelIds)
|
||||
{
|
||||
$this->removeLabelIds = $removeLabelIds;
|
||||
}
|
||||
public function getRemoveLabelIds()
|
||||
{
|
||||
return $this->removeLabelIds;
|
||||
}
|
||||
}
|
||||
39
vendor/google/apiclient-services/src/Google/Service/Gmail/PopSettings.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/Gmail/PopSettings.php
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_PopSettings extends Google_Model
|
||||
{
|
||||
public $accessWindow;
|
||||
public $disposition;
|
||||
|
||||
public function setAccessWindow($accessWindow)
|
||||
{
|
||||
$this->accessWindow = $accessWindow;
|
||||
}
|
||||
public function getAccessWindow()
|
||||
{
|
||||
return $this->accessWindow;
|
||||
}
|
||||
public function setDisposition($disposition)
|
||||
{
|
||||
$this->disposition = $disposition;
|
||||
}
|
||||
public function getDisposition()
|
||||
{
|
||||
return $this->disposition;
|
||||
}
|
||||
}
|
||||
57
vendor/google/apiclient-services/src/Google/Service/Gmail/Profile.php
vendored
Normal file
57
vendor/google/apiclient-services/src/Google/Service/Gmail/Profile.php
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_Profile extends Google_Model
|
||||
{
|
||||
public $emailAddress;
|
||||
public $historyId;
|
||||
public $messagesTotal;
|
||||
public $threadsTotal;
|
||||
|
||||
public function setEmailAddress($emailAddress)
|
||||
{
|
||||
$this->emailAddress = $emailAddress;
|
||||
}
|
||||
public function getEmailAddress()
|
||||
{
|
||||
return $this->emailAddress;
|
||||
}
|
||||
public function setHistoryId($historyId)
|
||||
{
|
||||
$this->historyId = $historyId;
|
||||
}
|
||||
public function getHistoryId()
|
||||
{
|
||||
return $this->historyId;
|
||||
}
|
||||
public function setMessagesTotal($messagesTotal)
|
||||
{
|
||||
$this->messagesTotal = $messagesTotal;
|
||||
}
|
||||
public function getMessagesTotal()
|
||||
{
|
||||
return $this->messagesTotal;
|
||||
}
|
||||
public function setThreadsTotal($threadsTotal)
|
||||
{
|
||||
$this->threadsTotal = $threadsTotal;
|
||||
}
|
||||
public function getThreadsTotal()
|
||||
{
|
||||
return $this->threadsTotal;
|
||||
}
|
||||
}
|
||||
71
vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/Users.php
vendored
Normal file
71
vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/Users.php
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "users" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $gmailService = new Google_Service_Gmail(...);
|
||||
* $users = $gmailService->users;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Gmail_Resource_Users extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Gets the current user's Gmail profile. (users.getProfile)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_Profile
|
||||
*/
|
||||
public function getProfile($userId, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('getProfile', array($params), "Google_Service_Gmail_Profile");
|
||||
}
|
||||
/**
|
||||
* Stop receiving push notifications for the given user mailbox. (users.stop)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param array $optParams Optional parameters.
|
||||
*/
|
||||
public function stop($userId, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('stop', array($params));
|
||||
}
|
||||
/**
|
||||
* Set up or update a push notification watch on the given user mailbox.
|
||||
* (users.watch)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param Google_Service_Gmail_WatchRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_WatchResponse
|
||||
*/
|
||||
public function watch($userId, Google_Service_Gmail_WatchRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('watch', array($params), "Google_Service_Gmail_WatchResponse");
|
||||
}
|
||||
}
|
||||
130
vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersDrafts.php
vendored
Normal file
130
vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersDrafts.php
vendored
Normal file
@@ -0,0 +1,130 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "drafts" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $gmailService = new Google_Service_Gmail(...);
|
||||
* $drafts = $gmailService->drafts;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Gmail_Resource_UsersDrafts extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates a new draft with the DRAFT label. (drafts.create)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param Google_Service_Gmail_Draft $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_Draft
|
||||
*/
|
||||
public function create($userId, Google_Service_Gmail_Draft $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_Gmail_Draft");
|
||||
}
|
||||
/**
|
||||
* Immediately and permanently deletes the specified draft. Does not simply
|
||||
* trash it. (drafts.delete)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $id The ID of the draft to delete.
|
||||
* @param array $optParams Optional parameters.
|
||||
*/
|
||||
public function delete($userId, $id, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'id' => $id);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params));
|
||||
}
|
||||
/**
|
||||
* Gets the specified draft. (drafts.get)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $id The ID of the draft to retrieve.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string format The format to return the draft in.
|
||||
* @return Google_Service_Gmail_Draft
|
||||
*/
|
||||
public function get($userId, $id, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'id' => $id);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Gmail_Draft");
|
||||
}
|
||||
/**
|
||||
* Lists the drafts in the user's mailbox. (drafts.listUsersDrafts)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool includeSpamTrash Include drafts from SPAM and TRASH in the
|
||||
* results.
|
||||
* @opt_param string maxResults Maximum number of drafts to return.
|
||||
* @opt_param string pageToken Page token to retrieve a specific page of results
|
||||
* in the list.
|
||||
* @opt_param string q Only return draft messages matching the specified query.
|
||||
* Supports the same query format as the Gmail search box. For example,
|
||||
* "from:someuser@example.com rfc822msgid: is:unread".
|
||||
* @return Google_Service_Gmail_ListDraftsResponse
|
||||
*/
|
||||
public function listUsersDrafts($userId, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Gmail_ListDraftsResponse");
|
||||
}
|
||||
/**
|
||||
* Sends the specified, existing draft to the recipients in the To, Cc, and Bcc
|
||||
* headers. (drafts.send)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param Google_Service_Gmail_Draft $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_Message
|
||||
*/
|
||||
public function send($userId, Google_Service_Gmail_Draft $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('send', array($params), "Google_Service_Gmail_Message");
|
||||
}
|
||||
/**
|
||||
* Replaces a draft's content. (drafts.update)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $id The ID of the draft to update.
|
||||
* @param Google_Service_Gmail_Draft $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_Draft
|
||||
*/
|
||||
public function update($userId, $id, Google_Service_Gmail_Draft $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('update', array($params), "Google_Service_Gmail_Draft");
|
||||
}
|
||||
}
|
||||
61
vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersHistory.php
vendored
Normal file
61
vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersHistory.php
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "history" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $gmailService = new Google_Service_Gmail(...);
|
||||
* $history = $gmailService->history;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Gmail_Resource_UsersHistory extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Lists the history of all changes to the given mailbox. History results are
|
||||
* returned in chronological order (increasing historyId).
|
||||
* (history.listUsersHistory)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string historyTypes History types to be returned by the function
|
||||
* @opt_param string labelId Only return messages with a label matching the ID.
|
||||
* @opt_param string maxResults The maximum number of history records to return.
|
||||
* @opt_param string pageToken Page token to retrieve a specific page of results
|
||||
* in the list.
|
||||
* @opt_param string startHistoryId Required. Returns history records after the
|
||||
* specified startHistoryId. The supplied startHistoryId should be obtained from
|
||||
* the historyId of a message, thread, or previous list response. History IDs
|
||||
* increase chronologically but are not contiguous with random gaps in between
|
||||
* valid IDs. Supplying an invalid or out of date startHistoryId typically
|
||||
* returns an HTTP 404 error code. A historyId is typically valid for at least a
|
||||
* week, but in some rare circumstances may be valid for only a few hours. If
|
||||
* you receive an HTTP 404 error response, your application should perform a
|
||||
* full sync. If you receive no nextPageToken in the response, there are no
|
||||
* updates to retrieve and you can store the returned historyId for a future
|
||||
* request.
|
||||
* @return Google_Service_Gmail_ListHistoryResponse
|
||||
*/
|
||||
public function listUsersHistory($userId, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Gmail_ListHistoryResponse");
|
||||
}
|
||||
}
|
||||
120
vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersLabels.php
vendored
Normal file
120
vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersLabels.php
vendored
Normal file
@@ -0,0 +1,120 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "labels" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $gmailService = new Google_Service_Gmail(...);
|
||||
* $labels = $gmailService->labels;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Gmail_Resource_UsersLabels extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates a new label. (labels.create)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param Google_Service_Gmail_Label $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_Label
|
||||
*/
|
||||
public function create($userId, Google_Service_Gmail_Label $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_Gmail_Label");
|
||||
}
|
||||
/**
|
||||
* Immediately and permanently deletes the specified label and removes it from
|
||||
* any messages and threads that it is applied to. (labels.delete)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $id The ID of the label to delete.
|
||||
* @param array $optParams Optional parameters.
|
||||
*/
|
||||
public function delete($userId, $id, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'id' => $id);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params));
|
||||
}
|
||||
/**
|
||||
* Gets the specified label. (labels.get)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $id The ID of the label to retrieve.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_Label
|
||||
*/
|
||||
public function get($userId, $id, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'id' => $id);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Gmail_Label");
|
||||
}
|
||||
/**
|
||||
* Lists all labels in the user's mailbox. (labels.listUsersLabels)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_ListLabelsResponse
|
||||
*/
|
||||
public function listUsersLabels($userId, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Gmail_ListLabelsResponse");
|
||||
}
|
||||
/**
|
||||
* Updates the specified label. This method supports patch semantics.
|
||||
* (labels.patch)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $id The ID of the label to update.
|
||||
* @param Google_Service_Gmail_Label $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_Label
|
||||
*/
|
||||
public function patch($userId, $id, Google_Service_Gmail_Label $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('patch', array($params), "Google_Service_Gmail_Label");
|
||||
}
|
||||
/**
|
||||
* Updates the specified label. (labels.update)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $id The ID of the label to update.
|
||||
* @param Google_Service_Gmail_Label $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_Label
|
||||
*/
|
||||
public function update($userId, $id, Google_Service_Gmail_Label $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('update', array($params), "Google_Service_Gmail_Label");
|
||||
}
|
||||
}
|
||||
229
vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersMessages.php
vendored
Normal file
229
vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersMessages.php
vendored
Normal file
@@ -0,0 +1,229 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "messages" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $gmailService = new Google_Service_Gmail(...);
|
||||
* $messages = $gmailService->messages;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Gmail_Resource_UsersMessages extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Deletes many messages by message ID. Provides no guarantees that messages
|
||||
* were not already deleted or even existed at all. (messages.batchDelete)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param Google_Service_Gmail_BatchDeleteMessagesRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*/
|
||||
public function batchDelete($userId, Google_Service_Gmail_BatchDeleteMessagesRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('batchDelete', array($params));
|
||||
}
|
||||
/**
|
||||
* Modifies the labels on the specified messages. (messages.batchModify)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param Google_Service_Gmail_BatchModifyMessagesRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*/
|
||||
public function batchModify($userId, Google_Service_Gmail_BatchModifyMessagesRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('batchModify', array($params));
|
||||
}
|
||||
/**
|
||||
* Immediately and permanently deletes the specified message. This operation
|
||||
* cannot be undone. Prefer messages.trash instead. (messages.delete)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $id The ID of the message to delete.
|
||||
* @param array $optParams Optional parameters.
|
||||
*/
|
||||
public function delete($userId, $id, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'id' => $id);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params));
|
||||
}
|
||||
/**
|
||||
* Gets the specified message. (messages.get)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $id The ID of the message to retrieve.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string format The format to return the message in.
|
||||
* @opt_param string metadataHeaders When given and format is METADATA, only
|
||||
* include headers specified.
|
||||
* @return Google_Service_Gmail_Message
|
||||
*/
|
||||
public function get($userId, $id, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'id' => $id);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Gmail_Message");
|
||||
}
|
||||
/**
|
||||
* Imports a message into only this user's mailbox, with standard email delivery
|
||||
* scanning and classification similar to receiving via SMTP. Does not send a
|
||||
* message. (messages.import)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param Google_Service_Gmail_Message $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool deleted Mark the email as permanently deleted (not TRASH) and
|
||||
* only visible in Google Vault to a Vault administrator. Only used for G Suite
|
||||
* accounts.
|
||||
* @opt_param string internalDateSource Source for Gmail's internal date of the
|
||||
* message.
|
||||
* @opt_param bool neverMarkSpam Ignore the Gmail spam classifier decision and
|
||||
* never mark this email as SPAM in the mailbox.
|
||||
* @opt_param bool processForCalendar Process calendar invites in the email and
|
||||
* add any extracted meetings to the Google Calendar for this user.
|
||||
* @return Google_Service_Gmail_Message
|
||||
*/
|
||||
public function import($userId, Google_Service_Gmail_Message $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('import', array($params), "Google_Service_Gmail_Message");
|
||||
}
|
||||
/**
|
||||
* Directly inserts a message into only this user's mailbox similar to IMAP
|
||||
* APPEND, bypassing most scanning and classification. Does not send a message.
|
||||
* (messages.insert)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param Google_Service_Gmail_Message $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool deleted Mark the email as permanently deleted (not TRASH) and
|
||||
* only visible in Google Vault to a Vault administrator. Only used for G Suite
|
||||
* accounts.
|
||||
* @opt_param string internalDateSource Source for Gmail's internal date of the
|
||||
* message.
|
||||
* @return Google_Service_Gmail_Message
|
||||
*/
|
||||
public function insert($userId, Google_Service_Gmail_Message $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('insert', array($params), "Google_Service_Gmail_Message");
|
||||
}
|
||||
/**
|
||||
* Lists the messages in the user's mailbox. (messages.listUsersMessages)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool includeSpamTrash Include messages from SPAM and TRASH in the
|
||||
* results.
|
||||
* @opt_param string labelIds Only return messages with labels that match all of
|
||||
* the specified label IDs.
|
||||
* @opt_param string maxResults Maximum number of messages to return.
|
||||
* @opt_param string pageToken Page token to retrieve a specific page of results
|
||||
* in the list.
|
||||
* @opt_param string q Only return messages matching the specified query.
|
||||
* Supports the same query format as the Gmail search box. For example,
|
||||
* "from:someuser@example.com rfc822msgid: is:unread". Parameter cannot be used
|
||||
* when accessing the api using the gmail.metadata scope.
|
||||
* @return Google_Service_Gmail_ListMessagesResponse
|
||||
*/
|
||||
public function listUsersMessages($userId, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Gmail_ListMessagesResponse");
|
||||
}
|
||||
/**
|
||||
* Modifies the labels on the specified message. (messages.modify)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $id The ID of the message to modify.
|
||||
* @param Google_Service_Gmail_ModifyMessageRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_Message
|
||||
*/
|
||||
public function modify($userId, $id, Google_Service_Gmail_ModifyMessageRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('modify', array($params), "Google_Service_Gmail_Message");
|
||||
}
|
||||
/**
|
||||
* Sends the specified message to the recipients in the To, Cc, and Bcc headers.
|
||||
* (messages.send)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param Google_Service_Gmail_Message $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_Message
|
||||
*/
|
||||
public function send($userId, Google_Service_Gmail_Message $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('send', array($params), "Google_Service_Gmail_Message");
|
||||
}
|
||||
/**
|
||||
* Moves the specified message to the trash. (messages.trash)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $id The ID of the message to Trash.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_Message
|
||||
*/
|
||||
public function trash($userId, $id, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'id' => $id);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('trash', array($params), "Google_Service_Gmail_Message");
|
||||
}
|
||||
/**
|
||||
* Removes the specified message from the trash. (messages.untrash)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $id The ID of the message to remove from Trash.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_Message
|
||||
*/
|
||||
public function untrash($userId, $id, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'id' => $id);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('untrash', array($params), "Google_Service_Gmail_Message");
|
||||
}
|
||||
}
|
||||
44
vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersMessagesAttachments.php
vendored
Normal file
44
vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersMessagesAttachments.php
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "attachments" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $gmailService = new Google_Service_Gmail(...);
|
||||
* $attachments = $gmailService->attachments;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Gmail_Resource_UsersMessagesAttachments extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Gets the specified message attachment. (attachments.get)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $messageId The ID of the message containing the attachment.
|
||||
* @param string $id The ID of the attachment.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_MessagePartBody
|
||||
*/
|
||||
public function get($userId, $messageId, $id, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'messageId' => $messageId, 'id' => $id);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Gmail_MessagePartBody");
|
||||
}
|
||||
}
|
||||
149
vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettings.php
vendored
Normal file
149
vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettings.php
vendored
Normal file
@@ -0,0 +1,149 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "settings" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $gmailService = new Google_Service_Gmail(...);
|
||||
* $settings = $gmailService->settings;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Gmail_Resource_UsersSettings extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Gets the auto-forwarding setting for the specified account.
|
||||
* (settings.getAutoForwarding)
|
||||
*
|
||||
* @param string $userId User's email address. The special value "me" can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_AutoForwarding
|
||||
*/
|
||||
public function getAutoForwarding($userId, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('getAutoForwarding', array($params), "Google_Service_Gmail_AutoForwarding");
|
||||
}
|
||||
/**
|
||||
* Gets IMAP settings. (settings.getImap)
|
||||
*
|
||||
* @param string $userId User's email address. The special value "me" can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_ImapSettings
|
||||
*/
|
||||
public function getImap($userId, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('getImap', array($params), "Google_Service_Gmail_ImapSettings");
|
||||
}
|
||||
/**
|
||||
* Gets POP settings. (settings.getPop)
|
||||
*
|
||||
* @param string $userId User's email address. The special value "me" can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_PopSettings
|
||||
*/
|
||||
public function getPop($userId, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('getPop', array($params), "Google_Service_Gmail_PopSettings");
|
||||
}
|
||||
/**
|
||||
* Gets vacation responder settings. (settings.getVacation)
|
||||
*
|
||||
* @param string $userId User's email address. The special value "me" can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_VacationSettings
|
||||
*/
|
||||
public function getVacation($userId, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('getVacation', array($params), "Google_Service_Gmail_VacationSettings");
|
||||
}
|
||||
/**
|
||||
* Updates the auto-forwarding setting for the specified account. A verified
|
||||
* forwarding address must be specified when auto-forwarding is enabled.
|
||||
*
|
||||
* This method is only available to service account clients that have been
|
||||
* delegated domain-wide authority. (settings.updateAutoForwarding)
|
||||
*
|
||||
* @param string $userId User's email address. The special value "me" can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param Google_Service_Gmail_AutoForwarding $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_AutoForwarding
|
||||
*/
|
||||
public function updateAutoForwarding($userId, Google_Service_Gmail_AutoForwarding $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('updateAutoForwarding', array($params), "Google_Service_Gmail_AutoForwarding");
|
||||
}
|
||||
/**
|
||||
* Updates IMAP settings. (settings.updateImap)
|
||||
*
|
||||
* @param string $userId User's email address. The special value "me" can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param Google_Service_Gmail_ImapSettings $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_ImapSettings
|
||||
*/
|
||||
public function updateImap($userId, Google_Service_Gmail_ImapSettings $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('updateImap', array($params), "Google_Service_Gmail_ImapSettings");
|
||||
}
|
||||
/**
|
||||
* Updates POP settings. (settings.updatePop)
|
||||
*
|
||||
* @param string $userId User's email address. The special value "me" can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param Google_Service_Gmail_PopSettings $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_PopSettings
|
||||
*/
|
||||
public function updatePop($userId, Google_Service_Gmail_PopSettings $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('updatePop', array($params), "Google_Service_Gmail_PopSettings");
|
||||
}
|
||||
/**
|
||||
* Updates vacation responder settings. (settings.updateVacation)
|
||||
*
|
||||
* @param string $userId User's email address. The special value "me" can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param Google_Service_Gmail_VacationSettings $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_VacationSettings
|
||||
*/
|
||||
public function updateVacation($userId, Google_Service_Gmail_VacationSettings $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('updateVacation', array($params), "Google_Service_Gmail_VacationSettings");
|
||||
}
|
||||
}
|
||||
86
vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsFilters.php
vendored
Normal file
86
vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsFilters.php
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "filters" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $gmailService = new Google_Service_Gmail(...);
|
||||
* $filters = $gmailService->filters;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Gmail_Resource_UsersSettingsFilters extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates a filter. (filters.create)
|
||||
*
|
||||
* @param string $userId User's email address. The special value "me" can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param Google_Service_Gmail_Filter $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_Filter
|
||||
*/
|
||||
public function create($userId, Google_Service_Gmail_Filter $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_Gmail_Filter");
|
||||
}
|
||||
/**
|
||||
* Deletes a filter. (filters.delete)
|
||||
*
|
||||
* @param string $userId User's email address. The special value "me" can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $id The ID of the filter to be deleted.
|
||||
* @param array $optParams Optional parameters.
|
||||
*/
|
||||
public function delete($userId, $id, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'id' => $id);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params));
|
||||
}
|
||||
/**
|
||||
* Gets a filter. (filters.get)
|
||||
*
|
||||
* @param string $userId User's email address. The special value "me" can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $id The ID of the filter to be fetched.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_Filter
|
||||
*/
|
||||
public function get($userId, $id, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'id' => $id);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Gmail_Filter");
|
||||
}
|
||||
/**
|
||||
* Lists the message filters of a Gmail user. (filters.listUsersSettingsFilters)
|
||||
*
|
||||
* @param string $userId User's email address. The special value "me" can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_ListFiltersResponse
|
||||
*/
|
||||
public function listUsersSettingsFilters($userId, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Gmail_ListFiltersResponse");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,97 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "forwardingAddresses" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $gmailService = new Google_Service_Gmail(...);
|
||||
* $forwardingAddresses = $gmailService->forwardingAddresses;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Gmail_Resource_UsersSettingsForwardingAddresses extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates a forwarding address. If ownership verification is required, a
|
||||
* message will be sent to the recipient and the resource's verification status
|
||||
* will be set to pending; otherwise, the resource will be created with
|
||||
* verification status set to accepted.
|
||||
*
|
||||
* This method is only available to service account clients that have been
|
||||
* delegated domain-wide authority. (forwardingAddresses.create)
|
||||
*
|
||||
* @param string $userId User's email address. The special value "me" can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param Google_Service_Gmail_ForwardingAddress $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_ForwardingAddress
|
||||
*/
|
||||
public function create($userId, Google_Service_Gmail_ForwardingAddress $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_Gmail_ForwardingAddress");
|
||||
}
|
||||
/**
|
||||
* Deletes the specified forwarding address and revokes any verification that
|
||||
* may have been required.
|
||||
*
|
||||
* This method is only available to service account clients that have been
|
||||
* delegated domain-wide authority. (forwardingAddresses.delete)
|
||||
*
|
||||
* @param string $userId User's email address. The special value "me" can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $forwardingEmail The forwarding address to be deleted.
|
||||
* @param array $optParams Optional parameters.
|
||||
*/
|
||||
public function delete($userId, $forwardingEmail, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'forwardingEmail' => $forwardingEmail);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params));
|
||||
}
|
||||
/**
|
||||
* Gets the specified forwarding address. (forwardingAddresses.get)
|
||||
*
|
||||
* @param string $userId User's email address. The special value "me" can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $forwardingEmail The forwarding address to be retrieved.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_ForwardingAddress
|
||||
*/
|
||||
public function get($userId, $forwardingEmail, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'forwardingEmail' => $forwardingEmail);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Gmail_ForwardingAddress");
|
||||
}
|
||||
/**
|
||||
* Lists the forwarding addresses for the specified account.
|
||||
* (forwardingAddresses.listUsersSettingsForwardingAddresses)
|
||||
*
|
||||
* @param string $userId User's email address. The special value "me" can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_ListForwardingAddressesResponse
|
||||
*/
|
||||
public function listUsersSettingsForwardingAddresses($userId, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Gmail_ListForwardingAddressesResponse");
|
||||
}
|
||||
}
|
||||
162
vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsSendAs.php
vendored
Normal file
162
vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsSendAs.php
vendored
Normal file
@@ -0,0 +1,162 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "sendAs" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $gmailService = new Google_Service_Gmail(...);
|
||||
* $sendAs = $gmailService->sendAs;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Gmail_Resource_UsersSettingsSendAs extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates a custom "from" send-as alias. If an SMTP MSA is specified, Gmail
|
||||
* will attempt to connect to the SMTP service to validate the configuration
|
||||
* before creating the alias. If ownership verification is required for the
|
||||
* alias, a message will be sent to the email address and the resource's
|
||||
* verification status will be set to pending; otherwise, the resource will be
|
||||
* created with verification status set to accepted. If a signature is provided,
|
||||
* Gmail will sanitize the HTML before saving it with the alias.
|
||||
*
|
||||
* This method is only available to service account clients that have been
|
||||
* delegated domain-wide authority. (sendAs.create)
|
||||
*
|
||||
* @param string $userId User's email address. The special value "me" can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param Google_Service_Gmail_SendAs $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_SendAs
|
||||
*/
|
||||
public function create($userId, Google_Service_Gmail_SendAs $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_Gmail_SendAs");
|
||||
}
|
||||
/**
|
||||
* Deletes the specified send-as alias. Revokes any verification that may have
|
||||
* been required for using it.
|
||||
*
|
||||
* This method is only available to service account clients that have been
|
||||
* delegated domain-wide authority. (sendAs.delete)
|
||||
*
|
||||
* @param string $userId User's email address. The special value "me" can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $sendAsEmail The send-as alias to be deleted.
|
||||
* @param array $optParams Optional parameters.
|
||||
*/
|
||||
public function delete($userId, $sendAsEmail, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params));
|
||||
}
|
||||
/**
|
||||
* Gets the specified send-as alias. Fails with an HTTP 404 error if the
|
||||
* specified address is not a member of the collection. (sendAs.get)
|
||||
*
|
||||
* @param string $userId User's email address. The special value "me" can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $sendAsEmail The send-as alias to be retrieved.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_SendAs
|
||||
*/
|
||||
public function get($userId, $sendAsEmail, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Gmail_SendAs");
|
||||
}
|
||||
/**
|
||||
* Lists the send-as aliases for the specified account. The result includes the
|
||||
* primary send-as address associated with the account as well as any custom
|
||||
* "from" aliases. (sendAs.listUsersSettingsSendAs)
|
||||
*
|
||||
* @param string $userId User's email address. The special value "me" can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_ListSendAsResponse
|
||||
*/
|
||||
public function listUsersSettingsSendAs($userId, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Gmail_ListSendAsResponse");
|
||||
}
|
||||
/**
|
||||
* Updates a send-as alias. If a signature is provided, Gmail will sanitize the
|
||||
* HTML before saving it with the alias.
|
||||
*
|
||||
* Addresses other than the primary address for the account can only be updated
|
||||
* by service account clients that have been delegated domain-wide authority.
|
||||
* This method supports patch semantics. (sendAs.patch)
|
||||
*
|
||||
* @param string $userId User's email address. The special value "me" can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $sendAsEmail The send-as alias to be updated.
|
||||
* @param Google_Service_Gmail_SendAs $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_SendAs
|
||||
*/
|
||||
public function patch($userId, $sendAsEmail, Google_Service_Gmail_SendAs $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('patch', array($params), "Google_Service_Gmail_SendAs");
|
||||
}
|
||||
/**
|
||||
* Updates a send-as alias. If a signature is provided, Gmail will sanitize the
|
||||
* HTML before saving it with the alias.
|
||||
*
|
||||
* Addresses other than the primary address for the account can only be updated
|
||||
* by service account clients that have been delegated domain-wide authority.
|
||||
* (sendAs.update)
|
||||
*
|
||||
* @param string $userId User's email address. The special value "me" can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $sendAsEmail The send-as alias to be updated.
|
||||
* @param Google_Service_Gmail_SendAs $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_SendAs
|
||||
*/
|
||||
public function update($userId, $sendAsEmail, Google_Service_Gmail_SendAs $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('update', array($params), "Google_Service_Gmail_SendAs");
|
||||
}
|
||||
/**
|
||||
* Sends a verification email to the specified send-as alias address. The
|
||||
* verification status must be pending.
|
||||
*
|
||||
* This method is only available to service account clients that have been
|
||||
* delegated domain-wide authority. (sendAs.verify)
|
||||
*
|
||||
* @param string $userId User's email address. The special value "me" can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $sendAsEmail The send-as alias to be verified.
|
||||
* @param array $optParams Optional parameters.
|
||||
*/
|
||||
public function verify($userId, $sendAsEmail, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('verify', array($params));
|
||||
}
|
||||
}
|
||||
115
vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsSendAsSmimeInfo.php
vendored
Normal file
115
vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersSettingsSendAsSmimeInfo.php
vendored
Normal file
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "smimeInfo" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $gmailService = new Google_Service_Gmail(...);
|
||||
* $smimeInfo = $gmailService->smimeInfo;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Gmail_Resource_UsersSettingsSendAsSmimeInfo extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Deletes the specified S/MIME config for the specified send-as alias.
|
||||
* (smimeInfo.delete)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $sendAsEmail The email address that appears in the "From:"
|
||||
* header for mail sent using this alias.
|
||||
* @param string $id The immutable ID for the SmimeInfo.
|
||||
* @param array $optParams Optional parameters.
|
||||
*/
|
||||
public function delete($userId, $sendAsEmail, $id, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'id' => $id);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params));
|
||||
}
|
||||
/**
|
||||
* Gets the specified S/MIME config for the specified send-as alias.
|
||||
* (smimeInfo.get)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $sendAsEmail The email address that appears in the "From:"
|
||||
* header for mail sent using this alias.
|
||||
* @param string $id The immutable ID for the SmimeInfo.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_SmimeInfo
|
||||
*/
|
||||
public function get($userId, $sendAsEmail, $id, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'id' => $id);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Gmail_SmimeInfo");
|
||||
}
|
||||
/**
|
||||
* Insert (upload) the given S/MIME config for the specified send-as alias. Note
|
||||
* that pkcs12 format is required for the key. (smimeInfo.insert)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $sendAsEmail The email address that appears in the "From:"
|
||||
* header for mail sent using this alias.
|
||||
* @param Google_Service_Gmail_SmimeInfo $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_SmimeInfo
|
||||
*/
|
||||
public function insert($userId, $sendAsEmail, Google_Service_Gmail_SmimeInfo $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('insert', array($params), "Google_Service_Gmail_SmimeInfo");
|
||||
}
|
||||
/**
|
||||
* Lists S/MIME configs for the specified send-as alias.
|
||||
* (smimeInfo.listUsersSettingsSendAsSmimeInfo)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $sendAsEmail The email address that appears in the "From:"
|
||||
* header for mail sent using this alias.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_ListSmimeInfoResponse
|
||||
*/
|
||||
public function listUsersSettingsSendAsSmimeInfo($userId, $sendAsEmail, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Gmail_ListSmimeInfoResponse");
|
||||
}
|
||||
/**
|
||||
* Sets the default S/MIME config for the specified send-as alias.
|
||||
* (smimeInfo.setDefault)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $sendAsEmail The email address that appears in the "From:"
|
||||
* header for mail sent using this alias.
|
||||
* @param string $id The immutable ID for the SmimeInfo.
|
||||
* @param array $optParams Optional parameters.
|
||||
*/
|
||||
public function setDefault($userId, $sendAsEmail, $id, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'sendAsEmail' => $sendAsEmail, 'id' => $id);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('setDefault', array($params));
|
||||
}
|
||||
}
|
||||
135
vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersThreads.php
vendored
Normal file
135
vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/UsersThreads.php
vendored
Normal file
@@ -0,0 +1,135 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "threads" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $gmailService = new Google_Service_Gmail(...);
|
||||
* $threads = $gmailService->threads;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Gmail_Resource_UsersThreads extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Immediately and permanently deletes the specified thread. This operation
|
||||
* cannot be undone. Prefer threads.trash instead. (threads.delete)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $id ID of the Thread to delete.
|
||||
* @param array $optParams Optional parameters.
|
||||
*/
|
||||
public function delete($userId, $id, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'id' => $id);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params));
|
||||
}
|
||||
/**
|
||||
* Gets the specified thread. (threads.get)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $id The ID of the thread to retrieve.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string format The format to return the messages in.
|
||||
* @opt_param string metadataHeaders When given and format is METADATA, only
|
||||
* include headers specified.
|
||||
* @return Google_Service_Gmail_Thread
|
||||
*/
|
||||
public function get($userId, $id, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'id' => $id);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Gmail_Thread");
|
||||
}
|
||||
/**
|
||||
* Lists the threads in the user's mailbox. (threads.listUsersThreads)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool includeSpamTrash Include threads from SPAM and TRASH in the
|
||||
* results.
|
||||
* @opt_param string labelIds Only return threads with labels that match all of
|
||||
* the specified label IDs.
|
||||
* @opt_param string maxResults Maximum number of threads to return.
|
||||
* @opt_param string pageToken Page token to retrieve a specific page of results
|
||||
* in the list.
|
||||
* @opt_param string q Only return threads matching the specified query.
|
||||
* Supports the same query format as the Gmail search box. For example,
|
||||
* "from:someuser@example.com rfc822msgid: is:unread". Parameter cannot be used
|
||||
* when accessing the api using the gmail.metadata scope.
|
||||
* @return Google_Service_Gmail_ListThreadsResponse
|
||||
*/
|
||||
public function listUsersThreads($userId, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Gmail_ListThreadsResponse");
|
||||
}
|
||||
/**
|
||||
* Modifies the labels applied to the thread. This applies to all messages in
|
||||
* the thread. (threads.modify)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $id The ID of the thread to modify.
|
||||
* @param Google_Service_Gmail_ModifyThreadRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_Thread
|
||||
*/
|
||||
public function modify($userId, $id, Google_Service_Gmail_ModifyThreadRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('modify', array($params), "Google_Service_Gmail_Thread");
|
||||
}
|
||||
/**
|
||||
* Moves the specified thread to the trash. (threads.trash)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $id The ID of the thread to Trash.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_Thread
|
||||
*/
|
||||
public function trash($userId, $id, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'id' => $id);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('trash', array($params), "Google_Service_Gmail_Thread");
|
||||
}
|
||||
/**
|
||||
* Removes the specified thread from the trash. (threads.untrash)
|
||||
*
|
||||
* @param string $userId The user's email address. The special value me can be
|
||||
* used to indicate the authenticated user.
|
||||
* @param string $id The ID of the thread to remove from Trash.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Gmail_Thread
|
||||
*/
|
||||
public function untrash($userId, $id, $optParams = array())
|
||||
{
|
||||
$params = array('userId' => $userId, 'id' => $id);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('untrash', array($params), "Google_Service_Gmail_Thread");
|
||||
}
|
||||
}
|
||||
103
vendor/google/apiclient-services/src/Google/Service/Gmail/SendAs.php
vendored
Normal file
103
vendor/google/apiclient-services/src/Google/Service/Gmail/SendAs.php
vendored
Normal file
@@ -0,0 +1,103 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_SendAs extends Google_Model
|
||||
{
|
||||
public $displayName;
|
||||
public $isDefault;
|
||||
public $isPrimary;
|
||||
public $replyToAddress;
|
||||
public $sendAsEmail;
|
||||
public $signature;
|
||||
protected $smtpMsaType = 'Google_Service_Gmail_SmtpMsa';
|
||||
protected $smtpMsaDataType = '';
|
||||
public $treatAsAlias;
|
||||
public $verificationStatus;
|
||||
|
||||
public function setDisplayName($displayName)
|
||||
{
|
||||
$this->displayName = $displayName;
|
||||
}
|
||||
public function getDisplayName()
|
||||
{
|
||||
return $this->displayName;
|
||||
}
|
||||
public function setIsDefault($isDefault)
|
||||
{
|
||||
$this->isDefault = $isDefault;
|
||||
}
|
||||
public function getIsDefault()
|
||||
{
|
||||
return $this->isDefault;
|
||||
}
|
||||
public function setIsPrimary($isPrimary)
|
||||
{
|
||||
$this->isPrimary = $isPrimary;
|
||||
}
|
||||
public function getIsPrimary()
|
||||
{
|
||||
return $this->isPrimary;
|
||||
}
|
||||
public function setReplyToAddress($replyToAddress)
|
||||
{
|
||||
$this->replyToAddress = $replyToAddress;
|
||||
}
|
||||
public function getReplyToAddress()
|
||||
{
|
||||
return $this->replyToAddress;
|
||||
}
|
||||
public function setSendAsEmail($sendAsEmail)
|
||||
{
|
||||
$this->sendAsEmail = $sendAsEmail;
|
||||
}
|
||||
public function getSendAsEmail()
|
||||
{
|
||||
return $this->sendAsEmail;
|
||||
}
|
||||
public function setSignature($signature)
|
||||
{
|
||||
$this->signature = $signature;
|
||||
}
|
||||
public function getSignature()
|
||||
{
|
||||
return $this->signature;
|
||||
}
|
||||
public function setSmtpMsa(Google_Service_Gmail_SmtpMsa $smtpMsa)
|
||||
{
|
||||
$this->smtpMsa = $smtpMsa;
|
||||
}
|
||||
public function getSmtpMsa()
|
||||
{
|
||||
return $this->smtpMsa;
|
||||
}
|
||||
public function setTreatAsAlias($treatAsAlias)
|
||||
{
|
||||
$this->treatAsAlias = $treatAsAlias;
|
||||
}
|
||||
public function getTreatAsAlias()
|
||||
{
|
||||
return $this->treatAsAlias;
|
||||
}
|
||||
public function setVerificationStatus($verificationStatus)
|
||||
{
|
||||
$this->verificationStatus = $verificationStatus;
|
||||
}
|
||||
public function getVerificationStatus()
|
||||
{
|
||||
return $this->verificationStatus;
|
||||
}
|
||||
}
|
||||
84
vendor/google/apiclient-services/src/Google/Service/Gmail/SmimeInfo.php
vendored
Normal file
84
vendor/google/apiclient-services/src/Google/Service/Gmail/SmimeInfo.php
vendored
Normal file
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_SmimeInfo extends Google_Model
|
||||
{
|
||||
public $encryptedKeyPassword;
|
||||
public $expiration;
|
||||
public $id;
|
||||
public $isDefault;
|
||||
public $issuerCn;
|
||||
public $pem;
|
||||
public $pkcs12;
|
||||
|
||||
public function setEncryptedKeyPassword($encryptedKeyPassword)
|
||||
{
|
||||
$this->encryptedKeyPassword = $encryptedKeyPassword;
|
||||
}
|
||||
public function getEncryptedKeyPassword()
|
||||
{
|
||||
return $this->encryptedKeyPassword;
|
||||
}
|
||||
public function setExpiration($expiration)
|
||||
{
|
||||
$this->expiration = $expiration;
|
||||
}
|
||||
public function getExpiration()
|
||||
{
|
||||
return $this->expiration;
|
||||
}
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setIsDefault($isDefault)
|
||||
{
|
||||
$this->isDefault = $isDefault;
|
||||
}
|
||||
public function getIsDefault()
|
||||
{
|
||||
return $this->isDefault;
|
||||
}
|
||||
public function setIssuerCn($issuerCn)
|
||||
{
|
||||
$this->issuerCn = $issuerCn;
|
||||
}
|
||||
public function getIssuerCn()
|
||||
{
|
||||
return $this->issuerCn;
|
||||
}
|
||||
public function setPem($pem)
|
||||
{
|
||||
$this->pem = $pem;
|
||||
}
|
||||
public function getPem()
|
||||
{
|
||||
return $this->pem;
|
||||
}
|
||||
public function setPkcs12($pkcs12)
|
||||
{
|
||||
$this->pkcs12 = $pkcs12;
|
||||
}
|
||||
public function getPkcs12()
|
||||
{
|
||||
return $this->pkcs12;
|
||||
}
|
||||
}
|
||||
66
vendor/google/apiclient-services/src/Google/Service/Gmail/SmtpMsa.php
vendored
Normal file
66
vendor/google/apiclient-services/src/Google/Service/Gmail/SmtpMsa.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_SmtpMsa extends Google_Model
|
||||
{
|
||||
public $host;
|
||||
public $password;
|
||||
public $port;
|
||||
public $securityMode;
|
||||
public $username;
|
||||
|
||||
public function setHost($host)
|
||||
{
|
||||
$this->host = $host;
|
||||
}
|
||||
public function getHost()
|
||||
{
|
||||
return $this->host;
|
||||
}
|
||||
public function setPassword($password)
|
||||
{
|
||||
$this->password = $password;
|
||||
}
|
||||
public function getPassword()
|
||||
{
|
||||
return $this->password;
|
||||
}
|
||||
public function setPort($port)
|
||||
{
|
||||
$this->port = $port;
|
||||
}
|
||||
public function getPort()
|
||||
{
|
||||
return $this->port;
|
||||
}
|
||||
public function setSecurityMode($securityMode)
|
||||
{
|
||||
$this->securityMode = $securityMode;
|
||||
}
|
||||
public function getSecurityMode()
|
||||
{
|
||||
return $this->securityMode;
|
||||
}
|
||||
public function setUsername($username)
|
||||
{
|
||||
$this->username = $username;
|
||||
}
|
||||
public function getUsername()
|
||||
{
|
||||
return $this->username;
|
||||
}
|
||||
}
|
||||
59
vendor/google/apiclient-services/src/Google/Service/Gmail/Thread.php
vendored
Normal file
59
vendor/google/apiclient-services/src/Google/Service/Gmail/Thread.php
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_Thread extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'messages';
|
||||
public $historyId;
|
||||
public $id;
|
||||
protected $messagesType = 'Google_Service_Gmail_Message';
|
||||
protected $messagesDataType = 'array';
|
||||
public $snippet;
|
||||
|
||||
public function setHistoryId($historyId)
|
||||
{
|
||||
$this->historyId = $historyId;
|
||||
}
|
||||
public function getHistoryId()
|
||||
{
|
||||
return $this->historyId;
|
||||
}
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setMessages($messages)
|
||||
{
|
||||
$this->messages = $messages;
|
||||
}
|
||||
public function getMessages()
|
||||
{
|
||||
return $this->messages;
|
||||
}
|
||||
public function setSnippet($snippet)
|
||||
{
|
||||
$this->snippet = $snippet;
|
||||
}
|
||||
public function getSnippet()
|
||||
{
|
||||
return $this->snippet;
|
||||
}
|
||||
}
|
||||
93
vendor/google/apiclient-services/src/Google/Service/Gmail/VacationSettings.php
vendored
Normal file
93
vendor/google/apiclient-services/src/Google/Service/Gmail/VacationSettings.php
vendored
Normal file
@@ -0,0 +1,93 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_VacationSettings extends Google_Model
|
||||
{
|
||||
public $enableAutoReply;
|
||||
public $endTime;
|
||||
public $responseBodyHtml;
|
||||
public $responseBodyPlainText;
|
||||
public $responseSubject;
|
||||
public $restrictToContacts;
|
||||
public $restrictToDomain;
|
||||
public $startTime;
|
||||
|
||||
public function setEnableAutoReply($enableAutoReply)
|
||||
{
|
||||
$this->enableAutoReply = $enableAutoReply;
|
||||
}
|
||||
public function getEnableAutoReply()
|
||||
{
|
||||
return $this->enableAutoReply;
|
||||
}
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->endTime = $endTime;
|
||||
}
|
||||
public function getEndTime()
|
||||
{
|
||||
return $this->endTime;
|
||||
}
|
||||
public function setResponseBodyHtml($responseBodyHtml)
|
||||
{
|
||||
$this->responseBodyHtml = $responseBodyHtml;
|
||||
}
|
||||
public function getResponseBodyHtml()
|
||||
{
|
||||
return $this->responseBodyHtml;
|
||||
}
|
||||
public function setResponseBodyPlainText($responseBodyPlainText)
|
||||
{
|
||||
$this->responseBodyPlainText = $responseBodyPlainText;
|
||||
}
|
||||
public function getResponseBodyPlainText()
|
||||
{
|
||||
return $this->responseBodyPlainText;
|
||||
}
|
||||
public function setResponseSubject($responseSubject)
|
||||
{
|
||||
$this->responseSubject = $responseSubject;
|
||||
}
|
||||
public function getResponseSubject()
|
||||
{
|
||||
return $this->responseSubject;
|
||||
}
|
||||
public function setRestrictToContacts($restrictToContacts)
|
||||
{
|
||||
$this->restrictToContacts = $restrictToContacts;
|
||||
}
|
||||
public function getRestrictToContacts()
|
||||
{
|
||||
return $this->restrictToContacts;
|
||||
}
|
||||
public function setRestrictToDomain($restrictToDomain)
|
||||
{
|
||||
$this->restrictToDomain = $restrictToDomain;
|
||||
}
|
||||
public function getRestrictToDomain()
|
||||
{
|
||||
return $this->restrictToDomain;
|
||||
}
|
||||
public function setStartTime($startTime)
|
||||
{
|
||||
$this->startTime = $startTime;
|
||||
}
|
||||
public function getStartTime()
|
||||
{
|
||||
return $this->startTime;
|
||||
}
|
||||
}
|
||||
49
vendor/google/apiclient-services/src/Google/Service/Gmail/WatchRequest.php
vendored
Normal file
49
vendor/google/apiclient-services/src/Google/Service/Gmail/WatchRequest.php
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_WatchRequest extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'labelIds';
|
||||
public $labelFilterAction;
|
||||
public $labelIds;
|
||||
public $topicName;
|
||||
|
||||
public function setLabelFilterAction($labelFilterAction)
|
||||
{
|
||||
$this->labelFilterAction = $labelFilterAction;
|
||||
}
|
||||
public function getLabelFilterAction()
|
||||
{
|
||||
return $this->labelFilterAction;
|
||||
}
|
||||
public function setLabelIds($labelIds)
|
||||
{
|
||||
$this->labelIds = $labelIds;
|
||||
}
|
||||
public function getLabelIds()
|
||||
{
|
||||
return $this->labelIds;
|
||||
}
|
||||
public function setTopicName($topicName)
|
||||
{
|
||||
$this->topicName = $topicName;
|
||||
}
|
||||
public function getTopicName()
|
||||
{
|
||||
return $this->topicName;
|
||||
}
|
||||
}
|
||||
39
vendor/google/apiclient-services/src/Google/Service/Gmail/WatchResponse.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/Gmail/WatchResponse.php
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Gmail_WatchResponse extends Google_Model
|
||||
{
|
||||
public $expiration;
|
||||
public $historyId;
|
||||
|
||||
public function setExpiration($expiration)
|
||||
{
|
||||
$this->expiration = $expiration;
|
||||
}
|
||||
public function getExpiration()
|
||||
{
|
||||
return $this->expiration;
|
||||
}
|
||||
public function setHistoryId($historyId)
|
||||
{
|
||||
$this->historyId = $historyId;
|
||||
}
|
||||
public function getHistoryId()
|
||||
{
|
||||
return $this->historyId;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user