Nouveaux fichier suite maj librairies vendor

This commit is contained in:
Caribana
2018-05-01 14:46:24 +02:00
parent 6d5286b888
commit 382b93196c
2318 changed files with 147474 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_AndroiddeviceprovisioningEmpty extends Google_Model
{
}

View File

@@ -0,0 +1,55 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_ClaimDeviceRequest extends Google_Model
{
public $customerId;
protected $deviceIdentifierType = 'Google_Service_AndroidProvisioningPartner_DeviceIdentifier';
protected $deviceIdentifierDataType = '';
public $sectionType;
public function setCustomerId($customerId)
{
$this->customerId = $customerId;
}
public function getCustomerId()
{
return $this->customerId;
}
/**
* @param Google_Service_AndroidProvisioningPartner_DeviceIdentifier
*/
public function setDeviceIdentifier(Google_Service_AndroidProvisioningPartner_DeviceIdentifier $deviceIdentifier)
{
$this->deviceIdentifier = $deviceIdentifier;
}
/**
* @return Google_Service_AndroidProvisioningPartner_DeviceIdentifier
*/
public function getDeviceIdentifier()
{
return $this->deviceIdentifier;
}
public function setSectionType($sectionType)
{
$this->sectionType = $sectionType;
}
public function getSectionType()
{
return $this->sectionType;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_ClaimDeviceResponse extends Google_Model
{
public $deviceId;
public $deviceName;
public function setDeviceId($deviceId)
{
$this->deviceId = $deviceId;
}
public function getDeviceId()
{
return $this->deviceId;
}
public function setDeviceName($deviceName)
{
$this->deviceName = $deviceName;
}
public function getDeviceName()
{
return $this->deviceName;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_ClaimDevicesRequest extends Google_Collection
{
protected $collection_key = 'claims';
protected $claimsType = 'Google_Service_AndroidProvisioningPartner_PartnerClaim';
protected $claimsDataType = 'array';
/**
* @param Google_Service_AndroidProvisioningPartner_PartnerClaim
*/
public function setClaims($claims)
{
$this->claims = $claims;
}
/**
* @return Google_Service_AndroidProvisioningPartner_PartnerClaim
*/
public function getClaims()
{
return $this->claims;
}
}

View File

@@ -0,0 +1,67 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_Company extends Google_Collection
{
protected $collection_key = 'ownerEmails';
public $adminEmails;
public $companyId;
public $companyName;
public $name;
public $ownerEmails;
public function setAdminEmails($adminEmails)
{
$this->adminEmails = $adminEmails;
}
public function getAdminEmails()
{
return $this->adminEmails;
}
public function setCompanyId($companyId)
{
$this->companyId = $companyId;
}
public function getCompanyId()
{
return $this->companyId;
}
public function setCompanyName($companyName)
{
$this->companyName = $companyName;
}
public function getCompanyName()
{
return $this->companyName;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setOwnerEmails($ownerEmails)
{
$this->ownerEmails = $ownerEmails;
}
public function getOwnerEmails()
{
return $this->ownerEmails;
}
}

View File

@@ -0,0 +1,111 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_Configuration extends Google_Model
{
public $companyName;
public $configurationId;
public $configurationName;
public $contactEmail;
public $contactPhone;
public $customMessage;
public $dpcExtras;
public $dpcResourcePath;
public $isDefault;
public $name;
public function setCompanyName($companyName)
{
$this->companyName = $companyName;
}
public function getCompanyName()
{
return $this->companyName;
}
public function setConfigurationId($configurationId)
{
$this->configurationId = $configurationId;
}
public function getConfigurationId()
{
return $this->configurationId;
}
public function setConfigurationName($configurationName)
{
$this->configurationName = $configurationName;
}
public function getConfigurationName()
{
return $this->configurationName;
}
public function setContactEmail($contactEmail)
{
$this->contactEmail = $contactEmail;
}
public function getContactEmail()
{
return $this->contactEmail;
}
public function setContactPhone($contactPhone)
{
$this->contactPhone = $contactPhone;
}
public function getContactPhone()
{
return $this->contactPhone;
}
public function setCustomMessage($customMessage)
{
$this->customMessage = $customMessage;
}
public function getCustomMessage()
{
return $this->customMessage;
}
public function setDpcExtras($dpcExtras)
{
$this->dpcExtras = $dpcExtras;
}
public function getDpcExtras()
{
return $this->dpcExtras;
}
public function setDpcResourcePath($dpcResourcePath)
{
$this->dpcResourcePath = $dpcResourcePath;
}
public function getDpcResourcePath()
{
return $this->dpcResourcePath;
}
public function setIsDefault($isDefault)
{
$this->isDefault = $isDefault;
}
public function getIsDefault()
{
return $this->isDefault;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}

View File

@@ -0,0 +1,37 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_CreateCustomerRequest extends Google_Model
{
protected $customerType = 'Google_Service_AndroidProvisioningPartner_Company';
protected $customerDataType = '';
/**
* @param Google_Service_AndroidProvisioningPartner_Company
*/
public function setCustomer(Google_Service_AndroidProvisioningPartner_Company $customer)
{
$this->customer = $customer;
}
/**
* @return Google_Service_AndroidProvisioningPartner_Company
*/
public function getCustomer()
{
return $this->customer;
}
}

View File

@@ -0,0 +1,46 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_CustomerApplyConfigurationRequest extends Google_Model
{
public $configuration;
protected $deviceType = 'Google_Service_AndroidProvisioningPartner_DeviceReference';
protected $deviceDataType = '';
public function setConfiguration($configuration)
{
$this->configuration = $configuration;
}
public function getConfiguration()
{
return $this->configuration;
}
/**
* @param Google_Service_AndroidProvisioningPartner_DeviceReference
*/
public function setDevice(Google_Service_AndroidProvisioningPartner_DeviceReference $device)
{
$this->device = $device;
}
/**
* @return Google_Service_AndroidProvisioningPartner_DeviceReference
*/
public function getDevice()
{
return $this->device;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_CustomerListConfigurationsResponse extends Google_Collection
{
protected $collection_key = 'configurations';
protected $configurationsType = 'Google_Service_AndroidProvisioningPartner_Configuration';
protected $configurationsDataType = 'array';
/**
* @param Google_Service_AndroidProvisioningPartner_Configuration
*/
public function setConfigurations($configurations)
{
$this->configurations = $configurations;
}
/**
* @return Google_Service_AndroidProvisioningPartner_Configuration
*/
public function getConfigurations()
{
return $this->configurations;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_CustomerListCustomersResponse extends Google_Collection
{
protected $collection_key = 'customers';
protected $customersType = 'Google_Service_AndroidProvisioningPartner_Company';
protected $customersDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_AndroidProvisioningPartner_Company
*/
public function setCustomers($customers)
{
$this->customers = $customers;
}
/**
* @return Google_Service_AndroidProvisioningPartner_Company
*/
public function getCustomers()
{
return $this->customers;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_CustomerListDevicesResponse extends Google_Collection
{
protected $collection_key = 'devices';
protected $devicesType = 'Google_Service_AndroidProvisioningPartner_Device';
protected $devicesDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_AndroidProvisioningPartner_Device
*/
public function setDevices($devices)
{
$this->devices = $devices;
}
/**
* @return Google_Service_AndroidProvisioningPartner_Device
*/
public function getDevices()
{
return $this->devices;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_CustomerListDpcsResponse extends Google_Collection
{
protected $collection_key = 'dpcs';
protected $dpcsType = 'Google_Service_AndroidProvisioningPartner_Dpc';
protected $dpcsDataType = 'array';
/**
* @param Google_Service_AndroidProvisioningPartner_Dpc
*/
public function setDpcs($dpcs)
{
$this->dpcs = $dpcs;
}
/**
* @return Google_Service_AndroidProvisioningPartner_Dpc
*/
public function getDpcs()
{
return $this->dpcs;
}
}

View File

@@ -0,0 +1,37 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_CustomerRemoveConfigurationRequest extends Google_Model
{
protected $deviceType = 'Google_Service_AndroidProvisioningPartner_DeviceReference';
protected $deviceDataType = '';
/**
* @param Google_Service_AndroidProvisioningPartner_DeviceReference
*/
public function setDevice(Google_Service_AndroidProvisioningPartner_DeviceReference $device)
{
$this->device = $device;
}
/**
* @return Google_Service_AndroidProvisioningPartner_DeviceReference
*/
public function getDevice()
{
return $this->device;
}
}

View File

@@ -0,0 +1,37 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_CustomerUnclaimDeviceRequest extends Google_Model
{
protected $deviceType = 'Google_Service_AndroidProvisioningPartner_DeviceReference';
protected $deviceDataType = '';
/**
* @param Google_Service_AndroidProvisioningPartner_DeviceReference
*/
public function setDevice(Google_Service_AndroidProvisioningPartner_DeviceReference $device)
{
$this->device = $device;
}
/**
* @return Google_Service_AndroidProvisioningPartner_DeviceReference
*/
public function getDevice()
{
return $this->device;
}
}

View File

@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_Device extends Google_Collection
{
protected $collection_key = 'claims';
protected $claimsType = 'Google_Service_AndroidProvisioningPartner_DeviceClaim';
protected $claimsDataType = 'array';
public $configuration;
public $deviceId;
protected $deviceIdentifierType = 'Google_Service_AndroidProvisioningPartner_DeviceIdentifier';
protected $deviceIdentifierDataType = '';
protected $deviceMetadataType = 'Google_Service_AndroidProvisioningPartner_DeviceMetadata';
protected $deviceMetadataDataType = '';
public $name;
/**
* @param Google_Service_AndroidProvisioningPartner_DeviceClaim
*/
public function setClaims($claims)
{
$this->claims = $claims;
}
/**
* @return Google_Service_AndroidProvisioningPartner_DeviceClaim
*/
public function getClaims()
{
return $this->claims;
}
public function setConfiguration($configuration)
{
$this->configuration = $configuration;
}
public function getConfiguration()
{
return $this->configuration;
}
public function setDeviceId($deviceId)
{
$this->deviceId = $deviceId;
}
public function getDeviceId()
{
return $this->deviceId;
}
/**
* @param Google_Service_AndroidProvisioningPartner_DeviceIdentifier
*/
public function setDeviceIdentifier(Google_Service_AndroidProvisioningPartner_DeviceIdentifier $deviceIdentifier)
{
$this->deviceIdentifier = $deviceIdentifier;
}
/**
* @return Google_Service_AndroidProvisioningPartner_DeviceIdentifier
*/
public function getDeviceIdentifier()
{
return $this->deviceIdentifier;
}
/**
* @param Google_Service_AndroidProvisioningPartner_DeviceMetadata
*/
public function setDeviceMetadata(Google_Service_AndroidProvisioningPartner_DeviceMetadata $deviceMetadata)
{
$this->deviceMetadata = $deviceMetadata;
}
/**
* @return Google_Service_AndroidProvisioningPartner_DeviceMetadata
*/
public function getDeviceMetadata()
{
return $this->deviceMetadata;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_DeviceClaim extends Google_Model
{
public $ownerCompanyId;
public $sectionType;
public function setOwnerCompanyId($ownerCompanyId)
{
$this->ownerCompanyId = $ownerCompanyId;
}
public function getOwnerCompanyId()
{
return $this->ownerCompanyId;
}
public function setSectionType($sectionType)
{
$this->sectionType = $sectionType;
}
public function getSectionType()
{
return $this->sectionType;
}
}

View File

@@ -0,0 +1,57 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_DeviceIdentifier extends Google_Model
{
public $imei;
public $manufacturer;
public $meid;
public $serialNumber;
public function setImei($imei)
{
$this->imei = $imei;
}
public function getImei()
{
return $this->imei;
}
public function setManufacturer($manufacturer)
{
$this->manufacturer = $manufacturer;
}
public function getManufacturer()
{
return $this->manufacturer;
}
public function setMeid($meid)
{
$this->meid = $meid;
}
public function getMeid()
{
return $this->meid;
}
public function setSerialNumber($serialNumber)
{
$this->serialNumber = $serialNumber;
}
public function getSerialNumber()
{
return $this->serialNumber;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_DeviceMetadata extends Google_Model
{
public $entries;
public function setEntries($entries)
{
$this->entries = $entries;
}
public function getEntries()
{
return $this->entries;
}
}

View File

@@ -0,0 +1,46 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_DeviceReference extends Google_Model
{
public $deviceId;
protected $deviceIdentifierType = 'Google_Service_AndroidProvisioningPartner_DeviceIdentifier';
protected $deviceIdentifierDataType = '';
public function setDeviceId($deviceId)
{
$this->deviceId = $deviceId;
}
public function getDeviceId()
{
return $this->deviceId;
}
/**
* @param Google_Service_AndroidProvisioningPartner_DeviceIdentifier
*/
public function setDeviceIdentifier(Google_Service_AndroidProvisioningPartner_DeviceIdentifier $deviceIdentifier)
{
$this->deviceIdentifier = $deviceIdentifier;
}
/**
* @return Google_Service_AndroidProvisioningPartner_DeviceIdentifier
*/
public function getDeviceIdentifier()
{
return $this->deviceIdentifier;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_DevicesLongRunningOperationMetadata extends Google_Model
{
public $devicesCount;
public $processingStatus;
public $progress;
public function setDevicesCount($devicesCount)
{
$this->devicesCount = $devicesCount;
}
public function getDevicesCount()
{
return $this->devicesCount;
}
public function setProcessingStatus($processingStatus)
{
$this->processingStatus = $processingStatus;
}
public function getProcessingStatus()
{
return $this->processingStatus;
}
public function setProgress($progress)
{
$this->progress = $progress;
}
public function getProgress()
{
return $this->progress;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_DevicesLongRunningOperationResponse extends Google_Collection
{
protected $collection_key = 'perDeviceStatus';
protected $perDeviceStatusType = 'Google_Service_AndroidProvisioningPartner_OperationPerDevice';
protected $perDeviceStatusDataType = 'array';
public $successCount;
/**
* @param Google_Service_AndroidProvisioningPartner_OperationPerDevice
*/
public function setPerDeviceStatus($perDeviceStatus)
{
$this->perDeviceStatus = $perDeviceStatus;
}
/**
* @return Google_Service_AndroidProvisioningPartner_OperationPerDevice
*/
public function getPerDeviceStatus()
{
return $this->perDeviceStatus;
}
public function setSuccessCount($successCount)
{
$this->successCount = $successCount;
}
public function getSuccessCount()
{
return $this->successCount;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_Dpc extends Google_Model
{
public $dpcName;
public $name;
public $packageName;
public function setDpcName($dpcName)
{
$this->dpcName = $dpcName;
}
public function getDpcName()
{
return $this->dpcName;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setPackageName($packageName)
{
$this->packageName = $packageName;
}
public function getPackageName()
{
return $this->packageName;
}
}

View File

@@ -0,0 +1,55 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_FindDevicesByDeviceIdentifierRequest extends Google_Model
{
protected $deviceIdentifierType = 'Google_Service_AndroidProvisioningPartner_DeviceIdentifier';
protected $deviceIdentifierDataType = '';
public $limit;
public $pageToken;
/**
* @param Google_Service_AndroidProvisioningPartner_DeviceIdentifier
*/
public function setDeviceIdentifier(Google_Service_AndroidProvisioningPartner_DeviceIdentifier $deviceIdentifier)
{
$this->deviceIdentifier = $deviceIdentifier;
}
/**
* @return Google_Service_AndroidProvisioningPartner_DeviceIdentifier
*/
public function getDeviceIdentifier()
{
return $this->deviceIdentifier;
}
public function setLimit($limit)
{
$this->limit = $limit;
}
public function getLimit()
{
return $this->limit;
}
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
public function getPageToken()
{
return $this->pageToken;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_FindDevicesByDeviceIdentifierResponse extends Google_Collection
{
protected $collection_key = 'devices';
protected $devicesType = 'Google_Service_AndroidProvisioningPartner_Device';
protected $devicesDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_AndroidProvisioningPartner_Device
*/
public function setDevices($devices)
{
$this->devices = $devices;
}
/**
* @return Google_Service_AndroidProvisioningPartner_Device
*/
public function getDevices()
{
return $this->devices;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_FindDevicesByOwnerRequest extends Google_Collection
{
protected $collection_key = 'customerId';
public $customerId;
public $limit;
public $pageToken;
public $sectionType;
public function setCustomerId($customerId)
{
$this->customerId = $customerId;
}
public function getCustomerId()
{
return $this->customerId;
}
public function setLimit($limit)
{
$this->limit = $limit;
}
public function getLimit()
{
return $this->limit;
}
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
public function getPageToken()
{
return $this->pageToken;
}
public function setSectionType($sectionType)
{
$this->sectionType = $sectionType;
}
public function getSectionType()
{
return $this->sectionType;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_FindDevicesByOwnerResponse extends Google_Collection
{
protected $collection_key = 'devices';
protected $devicesType = 'Google_Service_AndroidProvisioningPartner_Device';
protected $devicesDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_AndroidProvisioningPartner_Device
*/
public function setDevices($devices)
{
$this->devices = $devices;
}
/**
* @return Google_Service_AndroidProvisioningPartner_Device
*/
public function getDevices()
{
return $this->devices;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_ListCustomersResponse extends Google_Collection
{
protected $collection_key = 'customers';
protected $customersType = 'Google_Service_AndroidProvisioningPartner_Company';
protected $customersDataType = 'array';
/**
* @param Google_Service_AndroidProvisioningPartner_Company
*/
public function setCustomers($customers)
{
$this->customers = $customers;
}
/**
* @return Google_Service_AndroidProvisioningPartner_Company
*/
public function getCustomers()
{
return $this->customers;
}
}

View File

@@ -0,0 +1,73 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_Operation extends Google_Model
{
public $done;
protected $errorType = 'Google_Service_AndroidProvisioningPartner_Status';
protected $errorDataType = '';
public $metadata;
public $name;
public $response;
public function setDone($done)
{
$this->done = $done;
}
public function getDone()
{
return $this->done;
}
/**
* @param Google_Service_AndroidProvisioningPartner_Status
*/
public function setError(Google_Service_AndroidProvisioningPartner_Status $error)
{
$this->error = $error;
}
/**
* @return Google_Service_AndroidProvisioningPartner_Status
*/
public function getError()
{
return $this->error;
}
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
public function getMetadata()
{
return $this->metadata;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setResponse($response)
{
$this->response = $response;
}
public function getResponse()
{
return $this->response;
}
}

View File

@@ -0,0 +1,85 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_OperationPerDevice extends Google_Model
{
protected $claimType = 'Google_Service_AndroidProvisioningPartner_PartnerClaim';
protected $claimDataType = '';
protected $resultType = 'Google_Service_AndroidProvisioningPartner_PerDeviceStatusInBatch';
protected $resultDataType = '';
protected $unclaimType = 'Google_Service_AndroidProvisioningPartner_PartnerUnclaim';
protected $unclaimDataType = '';
protected $updateMetadataType = 'Google_Service_AndroidProvisioningPartner_UpdateMetadataArguments';
protected $updateMetadataDataType = '';
/**
* @param Google_Service_AndroidProvisioningPartner_PartnerClaim
*/
public function setClaim(Google_Service_AndroidProvisioningPartner_PartnerClaim $claim)
{
$this->claim = $claim;
}
/**
* @return Google_Service_AndroidProvisioningPartner_PartnerClaim
*/
public function getClaim()
{
return $this->claim;
}
/**
* @param Google_Service_AndroidProvisioningPartner_PerDeviceStatusInBatch
*/
public function setResult(Google_Service_AndroidProvisioningPartner_PerDeviceStatusInBatch $result)
{
$this->result = $result;
}
/**
* @return Google_Service_AndroidProvisioningPartner_PerDeviceStatusInBatch
*/
public function getResult()
{
return $this->result;
}
/**
* @param Google_Service_AndroidProvisioningPartner_PartnerUnclaim
*/
public function setUnclaim(Google_Service_AndroidProvisioningPartner_PartnerUnclaim $unclaim)
{
$this->unclaim = $unclaim;
}
/**
* @return Google_Service_AndroidProvisioningPartner_PartnerUnclaim
*/
public function getUnclaim()
{
return $this->unclaim;
}
/**
* @param Google_Service_AndroidProvisioningPartner_UpdateMetadataArguments
*/
public function setUpdateMetadata(Google_Service_AndroidProvisioningPartner_UpdateMetadataArguments $updateMetadata)
{
$this->updateMetadata = $updateMetadata;
}
/**
* @return Google_Service_AndroidProvisioningPartner_UpdateMetadataArguments
*/
public function getUpdateMetadata()
{
return $this->updateMetadata;
}
}

View File

@@ -0,0 +1,71 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_PartnerClaim extends Google_Model
{
public $customerId;
protected $deviceIdentifierType = 'Google_Service_AndroidProvisioningPartner_DeviceIdentifier';
protected $deviceIdentifierDataType = '';
protected $deviceMetadataType = 'Google_Service_AndroidProvisioningPartner_DeviceMetadata';
protected $deviceMetadataDataType = '';
public $sectionType;
public function setCustomerId($customerId)
{
$this->customerId = $customerId;
}
public function getCustomerId()
{
return $this->customerId;
}
/**
* @param Google_Service_AndroidProvisioningPartner_DeviceIdentifier
*/
public function setDeviceIdentifier(Google_Service_AndroidProvisioningPartner_DeviceIdentifier $deviceIdentifier)
{
$this->deviceIdentifier = $deviceIdentifier;
}
/**
* @return Google_Service_AndroidProvisioningPartner_DeviceIdentifier
*/
public function getDeviceIdentifier()
{
return $this->deviceIdentifier;
}
/**
* @param Google_Service_AndroidProvisioningPartner_DeviceMetadata
*/
public function setDeviceMetadata(Google_Service_AndroidProvisioningPartner_DeviceMetadata $deviceMetadata)
{
$this->deviceMetadata = $deviceMetadata;
}
/**
* @return Google_Service_AndroidProvisioningPartner_DeviceMetadata
*/
public function getDeviceMetadata()
{
return $this->deviceMetadata;
}
public function setSectionType($sectionType)
{
$this->sectionType = $sectionType;
}
public function getSectionType()
{
return $this->sectionType;
}
}

View File

@@ -0,0 +1,55 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_PartnerUnclaim extends Google_Model
{
public $deviceId;
protected $deviceIdentifierType = 'Google_Service_AndroidProvisioningPartner_DeviceIdentifier';
protected $deviceIdentifierDataType = '';
public $sectionType;
public function setDeviceId($deviceId)
{
$this->deviceId = $deviceId;
}
public function getDeviceId()
{
return $this->deviceId;
}
/**
* @param Google_Service_AndroidProvisioningPartner_DeviceIdentifier
*/
public function setDeviceIdentifier(Google_Service_AndroidProvisioningPartner_DeviceIdentifier $deviceIdentifier)
{
$this->deviceIdentifier = $deviceIdentifier;
}
/**
* @return Google_Service_AndroidProvisioningPartner_DeviceIdentifier
*/
public function getDeviceIdentifier()
{
return $this->deviceIdentifier;
}
public function setSectionType($sectionType)
{
$this->sectionType = $sectionType;
}
public function getSectionType()
{
return $this->sectionType;
}
}

View File

@@ -0,0 +1,57 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_PerDeviceStatusInBatch extends Google_Model
{
public $deviceId;
public $errorIdentifier;
public $errorMessage;
public $status;
public function setDeviceId($deviceId)
{
$this->deviceId = $deviceId;
}
public function getDeviceId()
{
return $this->deviceId;
}
public function setErrorIdentifier($errorIdentifier)
{
$this->errorIdentifier = $errorIdentifier;
}
public function getErrorIdentifier()
{
return $this->errorIdentifier;
}
public function setErrorMessage($errorMessage)
{
$this->errorMessage = $errorMessage;
}
public function getErrorMessage()
{
return $this->errorMessage;
}
public function setStatus($status)
{
$this->status = $status;
}
public function getStatus()
{
return $this->status;
}
}

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 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 "customers" collection of methods.
* Typical usage is:
* <code>
* $androiddeviceprovisioningService = new Google_Service_AndroidProvisioningPartner(...);
* $customers = $androiddeviceprovisioningService->customers;
* </code>
*/
class Google_Service_AndroidProvisioningPartner_Resource_Customers extends Google_Service_Resource
{
/**
* Lists the user's customer accounts. (customers.listCustomers)
*
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken A token specifying which result page to return.
* @opt_param int pageSize The maximum number of customers to show in a page of
* results. A number between 1 and 100 (inclusive).
* @return Google_Service_AndroidProvisioningPartner_CustomerListCustomersResponse
*/
public function listCustomers($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AndroidProvisioningPartner_CustomerListCustomersResponse");
}
}

View File

@@ -0,0 +1,112 @@
<?php
/*
* Copyright 2014 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 "configurations" collection of methods.
* Typical usage is:
* <code>
* $androiddeviceprovisioningService = new Google_Service_AndroidProvisioningPartner(...);
* $configurations = $androiddeviceprovisioningService->configurations;
* </code>
*/
class Google_Service_AndroidProvisioningPartner_Resource_CustomersConfigurations extends Google_Service_Resource
{
/**
* Creates a new configuration. Once created, a customer can apply the
* configuration to devices. (configurations.create)
*
* @param string $parent Required. The customer that manages the configuration.
* An API resource name in the format `customers/[CUSTOMER_ID]`.
* @param Google_Service_AndroidProvisioningPartner_Configuration $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidProvisioningPartner_Configuration
*/
public function create($parent, Google_Service_AndroidProvisioningPartner_Configuration $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_AndroidProvisioningPartner_Configuration");
}
/**
* Deletes an unused configuration. The API call fails if the customer has
* devices with the configuration applied. (configurations.delete)
*
* @param string $name Required. The configuration to delete. An API resource
* name in the format
* `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`. If the
* configuration is applied to any devices, the API call fails.
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidProvisioningPartner_AndroiddeviceprovisioningEmpty
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_AndroidProvisioningPartner_AndroiddeviceprovisioningEmpty");
}
/**
* Gets the details of a configuration. (configurations.get)
*
* @param string $name Required. The configuration to get. An API resource name
* in the format `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`.
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidProvisioningPartner_Configuration
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AndroidProvisioningPartner_Configuration");
}
/**
* Lists a customer's configurations.
* (configurations.listCustomersConfigurations)
*
* @param string $parent Required. The customer that manages the listed
* configurations. An API resource name in the format `customers/[CUSTOMER_ID]`.
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidProvisioningPartner_CustomerListConfigurationsResponse
*/
public function listCustomersConfigurations($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AndroidProvisioningPartner_CustomerListConfigurationsResponse");
}
/**
* Updates a configuration's field values. (configurations.patch)
*
* @param string $name Output only. The API resource name in the format
* `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`. Assigned by the
* server.
* @param Google_Service_AndroidProvisioningPartner_Configuration $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. The field mask applied to the target
* `Configuration` before updating the fields. To learn more about using field
* masks, read [FieldMask](/protocol-
* buffers/docs/reference/google.protobuf#fieldmask) in the Protocol Buffers
* documentation.
* @return Google_Service_AndroidProvisioningPartner_Configuration
*/
public function patch($name, Google_Service_AndroidProvisioningPartner_Configuration $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_AndroidProvisioningPartner_Configuration");
}
}

View File

@@ -0,0 +1,111 @@
<?php
/*
* Copyright 2014 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 "devices" collection of methods.
* Typical usage is:
* <code>
* $androiddeviceprovisioningService = new Google_Service_AndroidProvisioningPartner(...);
* $devices = $androiddeviceprovisioningService->devices;
* </code>
*/
class Google_Service_AndroidProvisioningPartner_Resource_CustomersDevices extends Google_Service_Resource
{
/**
* Applies a Configuration to the device to register the device for zero-touch
* enrollment. After applying a configuration to a device, the device
* automatically provisions itself on first boot, or next factory reset.
* (devices.applyConfiguration)
*
* @param string $parent Required. The customer managing the device. An API
* resource name in the format `customers/[CUSTOMER_ID]`.
* @param Google_Service_AndroidProvisioningPartner_CustomerApplyConfigurationRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidProvisioningPartner_AndroiddeviceprovisioningEmpty
*/
public function applyConfiguration($parent, Google_Service_AndroidProvisioningPartner_CustomerApplyConfigurationRequest $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('applyConfiguration', array($params), "Google_Service_AndroidProvisioningPartner_AndroiddeviceprovisioningEmpty");
}
/**
* Gets the details of a device. (devices.get)
*
* @param string $name Required. The device to get. An API resource name in the
* format `customers/[CUSTOMER_ID]/devices/[DEVICE_ID]`.
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidProvisioningPartner_Device
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AndroidProvisioningPartner_Device");
}
/**
* Lists a customer's devices. (devices.listCustomersDevices)
*
* @param string $parent Required. The customer managing the devices. An API
* resource name in the format `customers/[CUSTOMER_ID]`.
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken A token specifying which result page to return.
* @opt_param string pageSize The maximum number of devices to show in a page of
* results. Must be between 1 and 100 inclusive.
* @return Google_Service_AndroidProvisioningPartner_CustomerListDevicesResponse
*/
public function listCustomersDevices($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AndroidProvisioningPartner_CustomerListDevicesResponse");
}
/**
* Removes a configuration from device. (devices.removeConfiguration)
*
* @param string $parent Required. The customer managing the device in the
* format `customers/[CUSTOMER_ID]`.
* @param Google_Service_AndroidProvisioningPartner_CustomerRemoveConfigurationRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidProvisioningPartner_AndroiddeviceprovisioningEmpty
*/
public function removeConfiguration($parent, Google_Service_AndroidProvisioningPartner_CustomerRemoveConfigurationRequest $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('removeConfiguration', array($params), "Google_Service_AndroidProvisioningPartner_AndroiddeviceprovisioningEmpty");
}
/**
* Unclaims a device from a customer and removes it from zero-touch enrollment.
*
* After removing a device, a customer must contact their reseller to register
* the device into zero-touch enrollment again. (devices.unclaim)
*
* @param string $parent Required. The customer managing the device. An API
* resource name in the format `customers/[CUSTOMER_ID]`.
* @param Google_Service_AndroidProvisioningPartner_CustomerUnclaimDeviceRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidProvisioningPartner_AndroiddeviceprovisioningEmpty
*/
public function unclaim($parent, Google_Service_AndroidProvisioningPartner_CustomerUnclaimDeviceRequest $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('unclaim', array($params), "Google_Service_AndroidProvisioningPartner_AndroiddeviceprovisioningEmpty");
}
}

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 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 "dpcs" collection of methods.
* Typical usage is:
* <code>
* $androiddeviceprovisioningService = new Google_Service_AndroidProvisioningPartner(...);
* $dpcs = $androiddeviceprovisioningService->dpcs;
* </code>
*/
class Google_Service_AndroidProvisioningPartner_Resource_CustomersDpcs extends Google_Service_Resource
{
/**
* Lists the DPCs (device policy controllers) that support zero-touch
* enrollment. (dpcs.listCustomersDpcs)
*
* @param string $parent Required. The customer that can use the DPCs in
* configurations. An API resource name in the format `customers/[CUSTOMER_ID]`.
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidProvisioningPartner_CustomerListDpcsResponse
*/
public function listCustomersDpcs($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AndroidProvisioningPartner_CustomerListDpcsResponse");
}
}

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 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 "operations" collection of methods.
* Typical usage is:
* <code>
* $androiddeviceprovisioningService = new Google_Service_AndroidProvisioningPartner(...);
* $operations = $androiddeviceprovisioningService->operations;
* </code>
*/
class Google_Service_AndroidProvisioningPartner_Resource_Operations extends Google_Service_Resource
{
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidProvisioningPartner_Operation
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AndroidProvisioningPartner_Operation");
}
}

View File

@@ -0,0 +1,28 @@
<?php
/*
* Copyright 2014 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 "partners" collection of methods.
* Typical usage is:
* <code>
* $androiddeviceprovisioningService = new Google_Service_AndroidProvisioningPartner(...);
* $partners = $androiddeviceprovisioningService->partners;
* </code>
*/
class Google_Service_AndroidProvisioningPartner_Resource_Partners extends Google_Service_Resource
{
}

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 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 "customers" collection of methods.
* Typical usage is:
* <code>
* $androiddeviceprovisioningService = new Google_Service_AndroidProvisioningPartner(...);
* $customers = $androiddeviceprovisioningService->customers;
* </code>
*/
class Google_Service_AndroidProvisioningPartner_Resource_PartnersCustomers extends Google_Service_Resource
{
/**
* Creates a customer for zero-touch enrollment. After the method returns
* successfully, admin and owner roles can manage devices and EMM configs by
* calling API methods or using their zero-touch enrollment portal. The API
* doesn't notify the customer that they have access. (customers.create)
*
* @param string $parent Required. The parent resource ID in the format
* `partners/[PARTNER_ID]` that identifies the reseller.
* @param Google_Service_AndroidProvisioningPartner_CreateCustomerRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidProvisioningPartner_Company
*/
public function create($parent, Google_Service_AndroidProvisioningPartner_CreateCustomerRequest $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_AndroidProvisioningPartner_Company");
}
/**
* Lists the customers that are enrolled to the reseller identified by the
* `partnerId` argument. This list includes customers that the reseller created
* and customers that enrolled themselves using the portal.
* (customers.listPartnersCustomers)
*
* @param string $partnerId Required. The ID of the reseller partner.
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidProvisioningPartner_ListCustomersResponse
*/
public function listPartnersCustomers($partnerId, $optParams = array())
{
$params = array('partnerId' => $partnerId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AndroidProvisioningPartner_ListCustomersResponse");
}
}

View File

@@ -0,0 +1,171 @@
<?php
/*
* Copyright 2014 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 "devices" collection of methods.
* Typical usage is:
* <code>
* $androiddeviceprovisioningService = new Google_Service_AndroidProvisioningPartner(...);
* $devices = $androiddeviceprovisioningService->devices;
* </code>
*/
class Google_Service_AndroidProvisioningPartner_Resource_PartnersDevices extends Google_Service_Resource
{
/**
* Claims a device for a customer and adds it to zero-touch enrollment. If the
* device is already claimed by another customer, the call returns an error.
* (devices.claim)
*
* @param string $partnerId Required. The ID of the reseller partner.
* @param Google_Service_AndroidProvisioningPartner_ClaimDeviceRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidProvisioningPartner_ClaimDeviceResponse
*/
public function claim($partnerId, Google_Service_AndroidProvisioningPartner_ClaimDeviceRequest $postBody, $optParams = array())
{
$params = array('partnerId' => $partnerId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('claim', array($params), "Google_Service_AndroidProvisioningPartner_ClaimDeviceResponse");
}
/**
* Claims a batch of devices for a customer asynchronously. Adds the devices to
* zero-touch enrollment. To learn more, read [Longrunning batch operations
* ](/zero-touch/guides/how-it-works#operations). (devices.claimAsync)
*
* @param string $partnerId Required. The ID of the reseller partner.
* @param Google_Service_AndroidProvisioningPartner_ClaimDevicesRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidProvisioningPartner_Operation
*/
public function claimAsync($partnerId, Google_Service_AndroidProvisioningPartner_ClaimDevicesRequest $postBody, $optParams = array())
{
$params = array('partnerId' => $partnerId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('claimAsync', array($params), "Google_Service_AndroidProvisioningPartner_Operation");
}
/**
* Finds devices by hardware identifiers, such as IMEI.
* (devices.findByIdentifier)
*
* @param string $partnerId Required. The ID of the reseller partner.
* @param Google_Service_AndroidProvisioningPartner_FindDevicesByDeviceIdentifierRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidProvisioningPartner_FindDevicesByDeviceIdentifierResponse
*/
public function findByIdentifier($partnerId, Google_Service_AndroidProvisioningPartner_FindDevicesByDeviceIdentifierRequest $postBody, $optParams = array())
{
$params = array('partnerId' => $partnerId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('findByIdentifier', array($params), "Google_Service_AndroidProvisioningPartner_FindDevicesByDeviceIdentifierResponse");
}
/**
* Finds devices claimed for customers. The results only contain devices
* registered to the reseller that's identified by the `partnerId` argument. The
* customer's devices purchased from other resellers don't appear in the
* results. (devices.findByOwner)
*
* @param string $partnerId Required. The ID of the reseller partner.
* @param Google_Service_AndroidProvisioningPartner_FindDevicesByOwnerRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidProvisioningPartner_FindDevicesByOwnerResponse
*/
public function findByOwner($partnerId, Google_Service_AndroidProvisioningPartner_FindDevicesByOwnerRequest $postBody, $optParams = array())
{
$params = array('partnerId' => $partnerId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('findByOwner', array($params), "Google_Service_AndroidProvisioningPartner_FindDevicesByOwnerResponse");
}
/**
* Gets a device. (devices.get)
*
* @param string $name Required. The device API resource name in the format
* `partners/[PARTNER_ID]/devices/[DEVICE_ID]`.
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidProvisioningPartner_Device
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AndroidProvisioningPartner_Device");
}
/**
* Updates reseller metadata associated with the device. (devices.metadata)
*
* @param string $metadataOwnerId Required. The owner of the newly set metadata.
* Set this to the partner ID.
* @param string $deviceId Required. The ID of the reseller partner.
* @param Google_Service_AndroidProvisioningPartner_UpdateDeviceMetadataRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidProvisioningPartner_DeviceMetadata
*/
public function metadata($metadataOwnerId, $deviceId, Google_Service_AndroidProvisioningPartner_UpdateDeviceMetadataRequest $postBody, $optParams = array())
{
$params = array('metadataOwnerId' => $metadataOwnerId, 'deviceId' => $deviceId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('metadata', array($params), "Google_Service_AndroidProvisioningPartner_DeviceMetadata");
}
/**
* Unclaims a device from a customer and removes it from zero-touch enrollment.
* (devices.unclaim)
*
* @param string $partnerId Required. The ID of the reseller partner.
* @param Google_Service_AndroidProvisioningPartner_UnclaimDeviceRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidProvisioningPartner_AndroiddeviceprovisioningEmpty
*/
public function unclaim($partnerId, Google_Service_AndroidProvisioningPartner_UnclaimDeviceRequest $postBody, $optParams = array())
{
$params = array('partnerId' => $partnerId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('unclaim', array($params), "Google_Service_AndroidProvisioningPartner_AndroiddeviceprovisioningEmpty");
}
/**
* Unclaims a batch of devices for a customer asynchronously. Removes the
* devices from zero-touch enrollment. To learn more, read [Longrunning batch
* operations](/zero-touch/guides/how-it-works#operations).
* (devices.unclaimAsync)
*
* @param string $partnerId Required. The reseller partner ID.
* @param Google_Service_AndroidProvisioningPartner_UnclaimDevicesRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidProvisioningPartner_Operation
*/
public function unclaimAsync($partnerId, Google_Service_AndroidProvisioningPartner_UnclaimDevicesRequest $postBody, $optParams = array())
{
$params = array('partnerId' => $partnerId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('unclaimAsync', array($params), "Google_Service_AndroidProvisioningPartner_Operation");
}
/**
* Updates the reseller metadata attached to a batch of devices. This method
* updates devices asynchronously and returns an `Operation` that can be used to
* track progress. Read [Longrunning batch operations](/zero-touch/guides/how-
* it-works#operations). (devices.updateMetadataAsync)
*
* @param string $partnerId Required. The reseller partner ID.
* @param Google_Service_AndroidProvisioningPartner_UpdateDeviceMetadataInBatchRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AndroidProvisioningPartner_Operation
*/
public function updateMetadataAsync($partnerId, Google_Service_AndroidProvisioningPartner_UpdateDeviceMetadataInBatchRequest $postBody, $optParams = array())
{
$params = array('partnerId' => $partnerId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('updateMetadataAsync', array($params), "Google_Service_AndroidProvisioningPartner_Operation");
}
}

View File

@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_Status extends Google_Collection
{
protected $collection_key = 'details';
public $code;
public $details;
public $message;
public function setCode($code)
{
$this->code = $code;
}
public function getCode()
{
return $this->code;
}
public function setDetails($details)
{
$this->details = $details;
}
public function getDetails()
{
return $this->details;
}
public function setMessage($message)
{
$this->message = $message;
}
public function getMessage()
{
return $this->message;
}
}

View File

@@ -0,0 +1,55 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_UnclaimDeviceRequest extends Google_Model
{
public $deviceId;
protected $deviceIdentifierType = 'Google_Service_AndroidProvisioningPartner_DeviceIdentifier';
protected $deviceIdentifierDataType = '';
public $sectionType;
public function setDeviceId($deviceId)
{
$this->deviceId = $deviceId;
}
public function getDeviceId()
{
return $this->deviceId;
}
/**
* @param Google_Service_AndroidProvisioningPartner_DeviceIdentifier
*/
public function setDeviceIdentifier(Google_Service_AndroidProvisioningPartner_DeviceIdentifier $deviceIdentifier)
{
$this->deviceIdentifier = $deviceIdentifier;
}
/**
* @return Google_Service_AndroidProvisioningPartner_DeviceIdentifier
*/
public function getDeviceIdentifier()
{
return $this->deviceIdentifier;
}
public function setSectionType($sectionType)
{
$this->sectionType = $sectionType;
}
public function getSectionType()
{
return $this->sectionType;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_UnclaimDevicesRequest extends Google_Collection
{
protected $collection_key = 'unclaims';
protected $unclaimsType = 'Google_Service_AndroidProvisioningPartner_PartnerUnclaim';
protected $unclaimsDataType = 'array';
/**
* @param Google_Service_AndroidProvisioningPartner_PartnerUnclaim
*/
public function setUnclaims($unclaims)
{
$this->unclaims = $unclaims;
}
/**
* @return Google_Service_AndroidProvisioningPartner_PartnerUnclaim
*/
public function getUnclaims()
{
return $this->unclaims;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_UpdateDeviceMetadataInBatchRequest extends Google_Collection
{
protected $collection_key = 'updates';
protected $updatesType = 'Google_Service_AndroidProvisioningPartner_UpdateMetadataArguments';
protected $updatesDataType = 'array';
/**
* @param Google_Service_AndroidProvisioningPartner_UpdateMetadataArguments
*/
public function setUpdates($updates)
{
$this->updates = $updates;
}
/**
* @return Google_Service_AndroidProvisioningPartner_UpdateMetadataArguments
*/
public function getUpdates()
{
return $this->updates;
}
}

View File

@@ -0,0 +1,37 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_UpdateDeviceMetadataRequest extends Google_Model
{
protected $deviceMetadataType = 'Google_Service_AndroidProvisioningPartner_DeviceMetadata';
protected $deviceMetadataDataType = '';
/**
* @param Google_Service_AndroidProvisioningPartner_DeviceMetadata
*/
public function setDeviceMetadata(Google_Service_AndroidProvisioningPartner_DeviceMetadata $deviceMetadata)
{
$this->deviceMetadata = $deviceMetadata;
}
/**
* @return Google_Service_AndroidProvisioningPartner_DeviceMetadata
*/
public function getDeviceMetadata()
{
return $this->deviceMetadata;
}
}

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 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_AndroidProvisioningPartner_UpdateMetadataArguments extends Google_Model
{
public $deviceId;
protected $deviceIdentifierType = 'Google_Service_AndroidProvisioningPartner_DeviceIdentifier';
protected $deviceIdentifierDataType = '';
protected $deviceMetadataType = 'Google_Service_AndroidProvisioningPartner_DeviceMetadata';
protected $deviceMetadataDataType = '';
public function setDeviceId($deviceId)
{
$this->deviceId = $deviceId;
}
public function getDeviceId()
{
return $this->deviceId;
}
/**
* @param Google_Service_AndroidProvisioningPartner_DeviceIdentifier
*/
public function setDeviceIdentifier(Google_Service_AndroidProvisioningPartner_DeviceIdentifier $deviceIdentifier)
{
$this->deviceIdentifier = $deviceIdentifier;
}
/**
* @return Google_Service_AndroidProvisioningPartner_DeviceIdentifier
*/
public function getDeviceIdentifier()
{
return $this->deviceIdentifier;
}
/**
* @param Google_Service_AndroidProvisioningPartner_DeviceMetadata
*/
public function setDeviceMetadata(Google_Service_AndroidProvisioningPartner_DeviceMetadata $deviceMetadata)
{
$this->deviceMetadata = $deviceMetadata;
}
/**
* @return Google_Service_AndroidProvisioningPartner_DeviceMetadata
*/
public function getDeviceMetadata()
{
return $this->deviceMetadata;
}
}