Nessuna descrizione

CheckResponse.php 2.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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_ServiceControl_CheckResponse extends Google_Collection
  18. {
  19. protected $collection_key = 'checkErrors';
  20. protected $checkErrorsType = 'Google_Service_ServiceControl_CheckError';
  21. protected $checkErrorsDataType = 'array';
  22. protected $checkInfoType = 'Google_Service_ServiceControl_CheckInfo';
  23. protected $checkInfoDataType = '';
  24. public $operationId;
  25. protected $quotaInfoType = 'Google_Service_ServiceControl_QuotaInfo';
  26. protected $quotaInfoDataType = '';
  27. public $serviceConfigId;
  28. /**
  29. * @param Google_Service_ServiceControl_CheckError
  30. */
  31. public function setCheckErrors($checkErrors)
  32. {
  33. $this->checkErrors = $checkErrors;
  34. }
  35. /**
  36. * @return Google_Service_ServiceControl_CheckError
  37. */
  38. public function getCheckErrors()
  39. {
  40. return $this->checkErrors;
  41. }
  42. /**
  43. * @param Google_Service_ServiceControl_CheckInfo
  44. */
  45. public function setCheckInfo(Google_Service_ServiceControl_CheckInfo $checkInfo)
  46. {
  47. $this->checkInfo = $checkInfo;
  48. }
  49. /**
  50. * @return Google_Service_ServiceControl_CheckInfo
  51. */
  52. public function getCheckInfo()
  53. {
  54. return $this->checkInfo;
  55. }
  56. public function setOperationId($operationId)
  57. {
  58. $this->operationId = $operationId;
  59. }
  60. public function getOperationId()
  61. {
  62. return $this->operationId;
  63. }
  64. /**
  65. * @param Google_Service_ServiceControl_QuotaInfo
  66. */
  67. public function setQuotaInfo(Google_Service_ServiceControl_QuotaInfo $quotaInfo)
  68. {
  69. $this->quotaInfo = $quotaInfo;
  70. }
  71. /**
  72. * @return Google_Service_ServiceControl_QuotaInfo
  73. */
  74. public function getQuotaInfo()
  75. {
  76. return $this->quotaInfo;
  77. }
  78. public function setServiceConfigId($serviceConfigId)
  79. {
  80. $this->serviceConfigId = $serviceConfigId;
  81. }
  82. public function getServiceConfigId()
  83. {
  84. return $this->serviceConfigId;
  85. }
  86. }