Initial commit
This commit is contained in:
68
vendor/google/apiclient-services/src/Google/Service/DataTransfer/Application.php
vendored
Normal file
68
vendor/google/apiclient-services/src/Google/Service/DataTransfer/Application.php
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
<?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_DataTransfer_Application extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'transferParams';
|
||||
public $etag;
|
||||
public $id;
|
||||
public $kind;
|
||||
public $name;
|
||||
protected $transferParamsType = 'Google_Service_DataTransfer_ApplicationTransferParam';
|
||||
protected $transferParamsDataType = 'array';
|
||||
|
||||
public function setEtag($etag)
|
||||
{
|
||||
$this->etag = $etag;
|
||||
}
|
||||
public function getEtag()
|
||||
{
|
||||
return $this->etag;
|
||||
}
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setTransferParams($transferParams)
|
||||
{
|
||||
$this->transferParams = $transferParams;
|
||||
}
|
||||
public function getTransferParams()
|
||||
{
|
||||
return $this->transferParams;
|
||||
}
|
||||
}
|
||||
50
vendor/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationDataTransfer.php
vendored
Normal file
50
vendor/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationDataTransfer.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_DataTransfer_ApplicationDataTransfer extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'applicationTransferParams';
|
||||
public $applicationId;
|
||||
protected $applicationTransferParamsType = 'Google_Service_DataTransfer_ApplicationTransferParam';
|
||||
protected $applicationTransferParamsDataType = 'array';
|
||||
public $applicationTransferStatus;
|
||||
|
||||
public function setApplicationId($applicationId)
|
||||
{
|
||||
$this->applicationId = $applicationId;
|
||||
}
|
||||
public function getApplicationId()
|
||||
{
|
||||
return $this->applicationId;
|
||||
}
|
||||
public function setApplicationTransferParams($applicationTransferParams)
|
||||
{
|
||||
$this->applicationTransferParams = $applicationTransferParams;
|
||||
}
|
||||
public function getApplicationTransferParams()
|
||||
{
|
||||
return $this->applicationTransferParams;
|
||||
}
|
||||
public function setApplicationTransferStatus($applicationTransferStatus)
|
||||
{
|
||||
$this->applicationTransferStatus = $applicationTransferStatus;
|
||||
}
|
||||
public function getApplicationTransferStatus()
|
||||
{
|
||||
return $this->applicationTransferStatus;
|
||||
}
|
||||
}
|
||||
40
vendor/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationTransferParam.php
vendored
Normal file
40
vendor/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationTransferParam.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_DataTransfer_ApplicationTransferParam extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'value';
|
||||
public $key;
|
||||
public $value;
|
||||
|
||||
public function setKey($key)
|
||||
{
|
||||
$this->key = $key;
|
||||
}
|
||||
public function getKey()
|
||||
{
|
||||
return $this->key;
|
||||
}
|
||||
public function setValue($value)
|
||||
{
|
||||
$this->value = $value;
|
||||
}
|
||||
public function getValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
}
|
||||
59
vendor/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationsListResponse.php
vendored
Normal file
59
vendor/google/apiclient-services/src/Google/Service/DataTransfer/ApplicationsListResponse.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_DataTransfer_ApplicationsListResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'applications';
|
||||
protected $applicationsType = 'Google_Service_DataTransfer_Application';
|
||||
protected $applicationsDataType = 'array';
|
||||
public $etag;
|
||||
public $kind;
|
||||
public $nextPageToken;
|
||||
|
||||
public function setApplications($applications)
|
||||
{
|
||||
$this->applications = $applications;
|
||||
}
|
||||
public function getApplications()
|
||||
{
|
||||
return $this->applications;
|
||||
}
|
||||
public function setEtag($etag)
|
||||
{
|
||||
$this->etag = $etag;
|
||||
}
|
||||
public function getEtag()
|
||||
{
|
||||
return $this->etag;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
95
vendor/google/apiclient-services/src/Google/Service/DataTransfer/DataTransfer.php
vendored
Normal file
95
vendor/google/apiclient-services/src/Google/Service/DataTransfer/DataTransfer.php
vendored
Normal file
@@ -0,0 +1,95 @@
|
||||
<?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_DataTransfer_DataTransfer extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'applicationDataTransfers';
|
||||
protected $applicationDataTransfersType = 'Google_Service_DataTransfer_ApplicationDataTransfer';
|
||||
protected $applicationDataTransfersDataType = 'array';
|
||||
public $etag;
|
||||
public $id;
|
||||
public $kind;
|
||||
public $newOwnerUserId;
|
||||
public $oldOwnerUserId;
|
||||
public $overallTransferStatusCode;
|
||||
public $requestTime;
|
||||
|
||||
public function setApplicationDataTransfers($applicationDataTransfers)
|
||||
{
|
||||
$this->applicationDataTransfers = $applicationDataTransfers;
|
||||
}
|
||||
public function getApplicationDataTransfers()
|
||||
{
|
||||
return $this->applicationDataTransfers;
|
||||
}
|
||||
public function setEtag($etag)
|
||||
{
|
||||
$this->etag = $etag;
|
||||
}
|
||||
public function getEtag()
|
||||
{
|
||||
return $this->etag;
|
||||
}
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setNewOwnerUserId($newOwnerUserId)
|
||||
{
|
||||
$this->newOwnerUserId = $newOwnerUserId;
|
||||
}
|
||||
public function getNewOwnerUserId()
|
||||
{
|
||||
return $this->newOwnerUserId;
|
||||
}
|
||||
public function setOldOwnerUserId($oldOwnerUserId)
|
||||
{
|
||||
$this->oldOwnerUserId = $oldOwnerUserId;
|
||||
}
|
||||
public function getOldOwnerUserId()
|
||||
{
|
||||
return $this->oldOwnerUserId;
|
||||
}
|
||||
public function setOverallTransferStatusCode($overallTransferStatusCode)
|
||||
{
|
||||
$this->overallTransferStatusCode = $overallTransferStatusCode;
|
||||
}
|
||||
public function getOverallTransferStatusCode()
|
||||
{
|
||||
return $this->overallTransferStatusCode;
|
||||
}
|
||||
public function setRequestTime($requestTime)
|
||||
{
|
||||
$this->requestTime = $requestTime;
|
||||
}
|
||||
public function getRequestTime()
|
||||
{
|
||||
return $this->requestTime;
|
||||
}
|
||||
}
|
||||
59
vendor/google/apiclient-services/src/Google/Service/DataTransfer/DataTransfersListResponse.php
vendored
Normal file
59
vendor/google/apiclient-services/src/Google/Service/DataTransfer/DataTransfersListResponse.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_DataTransfer_DataTransfersListResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'dataTransfers';
|
||||
protected $dataTransfersType = 'Google_Service_DataTransfer_DataTransfer';
|
||||
protected $dataTransfersDataType = 'array';
|
||||
public $etag;
|
||||
public $kind;
|
||||
public $nextPageToken;
|
||||
|
||||
public function setDataTransfers($dataTransfers)
|
||||
{
|
||||
$this->dataTransfers = $dataTransfers;
|
||||
}
|
||||
public function getDataTransfers()
|
||||
{
|
||||
return $this->dataTransfers;
|
||||
}
|
||||
public function setEtag($etag)
|
||||
{
|
||||
$this->etag = $etag;
|
||||
}
|
||||
public function getEtag()
|
||||
{
|
||||
return $this->etag;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
60
vendor/google/apiclient-services/src/Google/Service/DataTransfer/Resource/Applications.php
vendored
Normal file
60
vendor/google/apiclient-services/src/Google/Service/DataTransfer/Resource/Applications.php
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
<?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 "applications" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adminService = new Google_Service_DataTransfer(...);
|
||||
* $applications = $adminService->applications;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_DataTransfer_Resource_Applications extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Retrieves information about an application for the given application ID.
|
||||
* (applications.get)
|
||||
*
|
||||
* @param string $applicationId ID of the application resource to be retrieved.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_DataTransfer_Application
|
||||
*/
|
||||
public function get($applicationId, $optParams = array())
|
||||
{
|
||||
$params = array('applicationId' => $applicationId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_DataTransfer_Application");
|
||||
}
|
||||
/**
|
||||
* Lists the applications available for data transfer for a customer.
|
||||
* (applications.listApplications)
|
||||
*
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string customerId Immutable ID of the Google Apps account.
|
||||
* @opt_param int maxResults Maximum number of results to return. Default is
|
||||
* 100.
|
||||
* @opt_param string pageToken Token to specify next page in the list.
|
||||
* @return Google_Service_DataTransfer_ApplicationsListResponse
|
||||
*/
|
||||
public function listApplications($optParams = array())
|
||||
{
|
||||
$params = array();
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_DataTransfer_ApplicationsListResponse");
|
||||
}
|
||||
}
|
||||
76
vendor/google/apiclient-services/src/Google/Service/DataTransfer/Resource/Transfers.php
vendored
Normal file
76
vendor/google/apiclient-services/src/Google/Service/DataTransfer/Resource/Transfers.php
vendored
Normal file
@@ -0,0 +1,76 @@
|
||||
<?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 "transfers" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $adminService = new Google_Service_DataTransfer(...);
|
||||
* $transfers = $adminService->transfers;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_DataTransfer_Resource_Transfers extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Retrieves a data transfer request by its resource ID. (transfers.get)
|
||||
*
|
||||
* @param string $dataTransferId ID of the resource to be retrieved. This is
|
||||
* returned in the response from the insert method.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_DataTransfer_DataTransfer
|
||||
*/
|
||||
public function get($dataTransferId, $optParams = array())
|
||||
{
|
||||
$params = array('dataTransferId' => $dataTransferId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_DataTransfer_DataTransfer");
|
||||
}
|
||||
/**
|
||||
* Inserts a data transfer request. (transfers.insert)
|
||||
*
|
||||
* @param Google_Service_DataTransfer_DataTransfer $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_DataTransfer_DataTransfer
|
||||
*/
|
||||
public function insert(Google_Service_DataTransfer_DataTransfer $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('insert', array($params), "Google_Service_DataTransfer_DataTransfer");
|
||||
}
|
||||
/**
|
||||
* Lists the transfers for a customer by source user, destination user, or
|
||||
* status. (transfers.listTransfers)
|
||||
*
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string customerId Immutable ID of the Google Apps account.
|
||||
* @opt_param int maxResults Maximum number of results to return. Default is
|
||||
* 100.
|
||||
* @opt_param string newOwnerUserId Destination user's profile ID.
|
||||
* @opt_param string oldOwnerUserId Source user's profile ID.
|
||||
* @opt_param string pageToken Token to specify the next page in the list.
|
||||
* @opt_param string status Status of the transfer.
|
||||
* @return Google_Service_DataTransfer_DataTransfersListResponse
|
||||
*/
|
||||
public function listTransfers($optParams = array())
|
||||
{
|
||||
$params = array();
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_DataTransfer_DataTransfersListResponse");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user