Aucune description

Device.php 2.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <?php
  2. /*
  3. * Copyright 2014 Google Inc.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  6. * use this file except in compliance with the License. You may obtain a copy of
  7. * the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. * License for the specific language governing permissions and limitations under
  15. * the License.
  16. */
  17. class Google_Service_AndroidProvisioningPartner_Device extends Google_Collection
  18. {
  19. protected $collection_key = 'claims';
  20. protected $claimsType = 'Google_Service_AndroidProvisioningPartner_DeviceClaim';
  21. protected $claimsDataType = 'array';
  22. public $configuration;
  23. public $deviceId;
  24. protected $deviceIdentifierType = 'Google_Service_AndroidProvisioningPartner_DeviceIdentifier';
  25. protected $deviceIdentifierDataType = '';
  26. protected $deviceMetadataType = 'Google_Service_AndroidProvisioningPartner_DeviceMetadata';
  27. protected $deviceMetadataDataType = '';
  28. public $name;
  29. /**
  30. * @param Google_Service_AndroidProvisioningPartner_DeviceClaim
  31. */
  32. public function setClaims($claims)
  33. {
  34. $this->claims = $claims;
  35. }
  36. /**
  37. * @return Google_Service_AndroidProvisioningPartner_DeviceClaim
  38. */
  39. public function getClaims()
  40. {
  41. return $this->claims;
  42. }
  43. public function setConfiguration($configuration)
  44. {
  45. $this->configuration = $configuration;
  46. }
  47. public function getConfiguration()
  48. {
  49. return $this->configuration;
  50. }
  51. public function setDeviceId($deviceId)
  52. {
  53. $this->deviceId = $deviceId;
  54. }
  55. public function getDeviceId()
  56. {
  57. return $this->deviceId;
  58. }
  59. /**
  60. * @param Google_Service_AndroidProvisioningPartner_DeviceIdentifier
  61. */
  62. public function setDeviceIdentifier(Google_Service_AndroidProvisioningPartner_DeviceIdentifier $deviceIdentifier)
  63. {
  64. $this->deviceIdentifier = $deviceIdentifier;
  65. }
  66. /**
  67. * @return Google_Service_AndroidProvisioningPartner_DeviceIdentifier
  68. */
  69. public function getDeviceIdentifier()
  70. {
  71. return $this->deviceIdentifier;
  72. }
  73. /**
  74. * @param Google_Service_AndroidProvisioningPartner_DeviceMetadata
  75. */
  76. public function setDeviceMetadata(Google_Service_AndroidProvisioningPartner_DeviceMetadata $deviceMetadata)
  77. {
  78. $this->deviceMetadata = $deviceMetadata;
  79. }
  80. /**
  81. * @return Google_Service_AndroidProvisioningPartner_DeviceMetadata
  82. */
  83. public function getDeviceMetadata()
  84. {
  85. return $this->deviceMetadata;
  86. }
  87. public function setName($name)
  88. {
  89. $this->name = $name;
  90. }
  91. public function getName()
  92. {
  93. return $this->name;
  94. }
  95. }