Нет описания

RequestMetadata.php 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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_JobService_RequestMetadata extends Google_Model
  18. {
  19. protected $deviceInfoType = 'Google_Service_JobService_DeviceInfo';
  20. protected $deviceInfoDataType = '';
  21. public $domain;
  22. public $sessionId;
  23. public $userId;
  24. /**
  25. * @param Google_Service_JobService_DeviceInfo
  26. */
  27. public function setDeviceInfo(Google_Service_JobService_DeviceInfo $deviceInfo)
  28. {
  29. $this->deviceInfo = $deviceInfo;
  30. }
  31. /**
  32. * @return Google_Service_JobService_DeviceInfo
  33. */
  34. public function getDeviceInfo()
  35. {
  36. return $this->deviceInfo;
  37. }
  38. public function setDomain($domain)
  39. {
  40. $this->domain = $domain;
  41. }
  42. public function getDomain()
  43. {
  44. return $this->domain;
  45. }
  46. public function setSessionId($sessionId)
  47. {
  48. $this->sessionId = $sessionId;
  49. }
  50. public function getSessionId()
  51. {
  52. return $this->sessionId;
  53. }
  54. public function setUserId($userId)
  55. {
  56. $this->userId = $userId;
  57. }
  58. public function getUserId()
  59. {
  60. return $this->userId;
  61. }
  62. }