Brak opisu

Device.php 9.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  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_AndroidManagement_Device extends Google_Collection
  18. {
  19. protected $collection_key = 'previousDeviceNames';
  20. public $apiLevel;
  21. protected $applicationReportsType = 'Google_Service_AndroidManagement_ApplicationReport';
  22. protected $applicationReportsDataType = 'array';
  23. public $appliedPolicyName;
  24. public $appliedPolicyVersion;
  25. public $appliedState;
  26. protected $deviceSettingsType = 'Google_Service_AndroidManagement_DeviceSettings';
  27. protected $deviceSettingsDataType = '';
  28. protected $disabledReasonType = 'Google_Service_AndroidManagement_UserFacingMessage';
  29. protected $disabledReasonDataType = '';
  30. protected $displaysType = 'Google_Service_AndroidManagement_Display';
  31. protected $displaysDataType = 'array';
  32. public $enrollmentTime;
  33. public $enrollmentTokenData;
  34. public $enrollmentTokenName;
  35. protected $hardwareInfoType = 'Google_Service_AndroidManagement_HardwareInfo';
  36. protected $hardwareInfoDataType = '';
  37. protected $hardwareStatusSamplesType = 'Google_Service_AndroidManagement_HardwareStatus';
  38. protected $hardwareStatusSamplesDataType = 'array';
  39. public $lastPolicyComplianceReportTime;
  40. public $lastPolicySyncTime;
  41. public $lastStatusReportTime;
  42. protected $memoryEventsType = 'Google_Service_AndroidManagement_MemoryEvent';
  43. protected $memoryEventsDataType = 'array';
  44. protected $memoryInfoType = 'Google_Service_AndroidManagement_MemoryInfo';
  45. protected $memoryInfoDataType = '';
  46. public $name;
  47. protected $networkInfoType = 'Google_Service_AndroidManagement_NetworkInfo';
  48. protected $networkInfoDataType = '';
  49. protected $nonComplianceDetailsType = 'Google_Service_AndroidManagement_NonComplianceDetail';
  50. protected $nonComplianceDetailsDataType = 'array';
  51. public $policyCompliant;
  52. public $policyName;
  53. protected $powerManagementEventsType = 'Google_Service_AndroidManagement_PowerManagementEvent';
  54. protected $powerManagementEventsDataType = 'array';
  55. public $previousDeviceNames;
  56. protected $softwareInfoType = 'Google_Service_AndroidManagement_SoftwareInfo';
  57. protected $softwareInfoDataType = '';
  58. public $state;
  59. public $userName;
  60. public function setApiLevel($apiLevel)
  61. {
  62. $this->apiLevel = $apiLevel;
  63. }
  64. public function getApiLevel()
  65. {
  66. return $this->apiLevel;
  67. }
  68. /**
  69. * @param Google_Service_AndroidManagement_ApplicationReport
  70. */
  71. public function setApplicationReports($applicationReports)
  72. {
  73. $this->applicationReports = $applicationReports;
  74. }
  75. /**
  76. * @return Google_Service_AndroidManagement_ApplicationReport
  77. */
  78. public function getApplicationReports()
  79. {
  80. return $this->applicationReports;
  81. }
  82. public function setAppliedPolicyName($appliedPolicyName)
  83. {
  84. $this->appliedPolicyName = $appliedPolicyName;
  85. }
  86. public function getAppliedPolicyName()
  87. {
  88. return $this->appliedPolicyName;
  89. }
  90. public function setAppliedPolicyVersion($appliedPolicyVersion)
  91. {
  92. $this->appliedPolicyVersion = $appliedPolicyVersion;
  93. }
  94. public function getAppliedPolicyVersion()
  95. {
  96. return $this->appliedPolicyVersion;
  97. }
  98. public function setAppliedState($appliedState)
  99. {
  100. $this->appliedState = $appliedState;
  101. }
  102. public function getAppliedState()
  103. {
  104. return $this->appliedState;
  105. }
  106. /**
  107. * @param Google_Service_AndroidManagement_DeviceSettings
  108. */
  109. public function setDeviceSettings(Google_Service_AndroidManagement_DeviceSettings $deviceSettings)
  110. {
  111. $this->deviceSettings = $deviceSettings;
  112. }
  113. /**
  114. * @return Google_Service_AndroidManagement_DeviceSettings
  115. */
  116. public function getDeviceSettings()
  117. {
  118. return $this->deviceSettings;
  119. }
  120. /**
  121. * @param Google_Service_AndroidManagement_UserFacingMessage
  122. */
  123. public function setDisabledReason(Google_Service_AndroidManagement_UserFacingMessage $disabledReason)
  124. {
  125. $this->disabledReason = $disabledReason;
  126. }
  127. /**
  128. * @return Google_Service_AndroidManagement_UserFacingMessage
  129. */
  130. public function getDisabledReason()
  131. {
  132. return $this->disabledReason;
  133. }
  134. /**
  135. * @param Google_Service_AndroidManagement_Display
  136. */
  137. public function setDisplays($displays)
  138. {
  139. $this->displays = $displays;
  140. }
  141. /**
  142. * @return Google_Service_AndroidManagement_Display
  143. */
  144. public function getDisplays()
  145. {
  146. return $this->displays;
  147. }
  148. public function setEnrollmentTime($enrollmentTime)
  149. {
  150. $this->enrollmentTime = $enrollmentTime;
  151. }
  152. public function getEnrollmentTime()
  153. {
  154. return $this->enrollmentTime;
  155. }
  156. public function setEnrollmentTokenData($enrollmentTokenData)
  157. {
  158. $this->enrollmentTokenData = $enrollmentTokenData;
  159. }
  160. public function getEnrollmentTokenData()
  161. {
  162. return $this->enrollmentTokenData;
  163. }
  164. public function setEnrollmentTokenName($enrollmentTokenName)
  165. {
  166. $this->enrollmentTokenName = $enrollmentTokenName;
  167. }
  168. public function getEnrollmentTokenName()
  169. {
  170. return $this->enrollmentTokenName;
  171. }
  172. /**
  173. * @param Google_Service_AndroidManagement_HardwareInfo
  174. */
  175. public function setHardwareInfo(Google_Service_AndroidManagement_HardwareInfo $hardwareInfo)
  176. {
  177. $this->hardwareInfo = $hardwareInfo;
  178. }
  179. /**
  180. * @return Google_Service_AndroidManagement_HardwareInfo
  181. */
  182. public function getHardwareInfo()
  183. {
  184. return $this->hardwareInfo;
  185. }
  186. /**
  187. * @param Google_Service_AndroidManagement_HardwareStatus
  188. */
  189. public function setHardwareStatusSamples($hardwareStatusSamples)
  190. {
  191. $this->hardwareStatusSamples = $hardwareStatusSamples;
  192. }
  193. /**
  194. * @return Google_Service_AndroidManagement_HardwareStatus
  195. */
  196. public function getHardwareStatusSamples()
  197. {
  198. return $this->hardwareStatusSamples;
  199. }
  200. public function setLastPolicyComplianceReportTime($lastPolicyComplianceReportTime)
  201. {
  202. $this->lastPolicyComplianceReportTime = $lastPolicyComplianceReportTime;
  203. }
  204. public function getLastPolicyComplianceReportTime()
  205. {
  206. return $this->lastPolicyComplianceReportTime;
  207. }
  208. public function setLastPolicySyncTime($lastPolicySyncTime)
  209. {
  210. $this->lastPolicySyncTime = $lastPolicySyncTime;
  211. }
  212. public function getLastPolicySyncTime()
  213. {
  214. return $this->lastPolicySyncTime;
  215. }
  216. public function setLastStatusReportTime($lastStatusReportTime)
  217. {
  218. $this->lastStatusReportTime = $lastStatusReportTime;
  219. }
  220. public function getLastStatusReportTime()
  221. {
  222. return $this->lastStatusReportTime;
  223. }
  224. /**
  225. * @param Google_Service_AndroidManagement_MemoryEvent
  226. */
  227. public function setMemoryEvents($memoryEvents)
  228. {
  229. $this->memoryEvents = $memoryEvents;
  230. }
  231. /**
  232. * @return Google_Service_AndroidManagement_MemoryEvent
  233. */
  234. public function getMemoryEvents()
  235. {
  236. return $this->memoryEvents;
  237. }
  238. /**
  239. * @param Google_Service_AndroidManagement_MemoryInfo
  240. */
  241. public function setMemoryInfo(Google_Service_AndroidManagement_MemoryInfo $memoryInfo)
  242. {
  243. $this->memoryInfo = $memoryInfo;
  244. }
  245. /**
  246. * @return Google_Service_AndroidManagement_MemoryInfo
  247. */
  248. public function getMemoryInfo()
  249. {
  250. return $this->memoryInfo;
  251. }
  252. public function setName($name)
  253. {
  254. $this->name = $name;
  255. }
  256. public function getName()
  257. {
  258. return $this->name;
  259. }
  260. /**
  261. * @param Google_Service_AndroidManagement_NetworkInfo
  262. */
  263. public function setNetworkInfo(Google_Service_AndroidManagement_NetworkInfo $networkInfo)
  264. {
  265. $this->networkInfo = $networkInfo;
  266. }
  267. /**
  268. * @return Google_Service_AndroidManagement_NetworkInfo
  269. */
  270. public function getNetworkInfo()
  271. {
  272. return $this->networkInfo;
  273. }
  274. /**
  275. * @param Google_Service_AndroidManagement_NonComplianceDetail
  276. */
  277. public function setNonComplianceDetails($nonComplianceDetails)
  278. {
  279. $this->nonComplianceDetails = $nonComplianceDetails;
  280. }
  281. /**
  282. * @return Google_Service_AndroidManagement_NonComplianceDetail
  283. */
  284. public function getNonComplianceDetails()
  285. {
  286. return $this->nonComplianceDetails;
  287. }
  288. public function setPolicyCompliant($policyCompliant)
  289. {
  290. $this->policyCompliant = $policyCompliant;
  291. }
  292. public function getPolicyCompliant()
  293. {
  294. return $this->policyCompliant;
  295. }
  296. public function setPolicyName($policyName)
  297. {
  298. $this->policyName = $policyName;
  299. }
  300. public function getPolicyName()
  301. {
  302. return $this->policyName;
  303. }
  304. /**
  305. * @param Google_Service_AndroidManagement_PowerManagementEvent
  306. */
  307. public function setPowerManagementEvents($powerManagementEvents)
  308. {
  309. $this->powerManagementEvents = $powerManagementEvents;
  310. }
  311. /**
  312. * @return Google_Service_AndroidManagement_PowerManagementEvent
  313. */
  314. public function getPowerManagementEvents()
  315. {
  316. return $this->powerManagementEvents;
  317. }
  318. public function setPreviousDeviceNames($previousDeviceNames)
  319. {
  320. $this->previousDeviceNames = $previousDeviceNames;
  321. }
  322. public function getPreviousDeviceNames()
  323. {
  324. return $this->previousDeviceNames;
  325. }
  326. /**
  327. * @param Google_Service_AndroidManagement_SoftwareInfo
  328. */
  329. public function setSoftwareInfo(Google_Service_AndroidManagement_SoftwareInfo $softwareInfo)
  330. {
  331. $this->softwareInfo = $softwareInfo;
  332. }
  333. /**
  334. * @return Google_Service_AndroidManagement_SoftwareInfo
  335. */
  336. public function getSoftwareInfo()
  337. {
  338. return $this->softwareInfo;
  339. }
  340. public function setState($state)
  341. {
  342. $this->state = $state;
  343. }
  344. public function getState()
  345. {
  346. return $this->state;
  347. }
  348. public function setUserName($userName)
  349. {
  350. $this->userName = $userName;
  351. }
  352. public function getUserName()
  353. {
  354. return $this->userName;
  355. }
  356. }