暫無描述

MetricValue.php 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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_MetricValue extends Google_Model
  18. {
  19. public $boolValue;
  20. protected $distributionValueType = 'Google_Service_ServiceControl_Distribution';
  21. protected $distributionValueDataType = '';
  22. public $doubleValue;
  23. public $endTime;
  24. public $int64Value;
  25. public $labels;
  26. protected $moneyValueType = 'Google_Service_ServiceControl_Money';
  27. protected $moneyValueDataType = '';
  28. public $startTime;
  29. public $stringValue;
  30. public function setBoolValue($boolValue)
  31. {
  32. $this->boolValue = $boolValue;
  33. }
  34. public function getBoolValue()
  35. {
  36. return $this->boolValue;
  37. }
  38. /**
  39. * @param Google_Service_ServiceControl_Distribution
  40. */
  41. public function setDistributionValue(Google_Service_ServiceControl_Distribution $distributionValue)
  42. {
  43. $this->distributionValue = $distributionValue;
  44. }
  45. /**
  46. * @return Google_Service_ServiceControl_Distribution
  47. */
  48. public function getDistributionValue()
  49. {
  50. return $this->distributionValue;
  51. }
  52. public function setDoubleValue($doubleValue)
  53. {
  54. $this->doubleValue = $doubleValue;
  55. }
  56. public function getDoubleValue()
  57. {
  58. return $this->doubleValue;
  59. }
  60. public function setEndTime($endTime)
  61. {
  62. $this->endTime = $endTime;
  63. }
  64. public function getEndTime()
  65. {
  66. return $this->endTime;
  67. }
  68. public function setInt64Value($int64Value)
  69. {
  70. $this->int64Value = $int64Value;
  71. }
  72. public function getInt64Value()
  73. {
  74. return $this->int64Value;
  75. }
  76. public function setLabels($labels)
  77. {
  78. $this->labels = $labels;
  79. }
  80. public function getLabels()
  81. {
  82. return $this->labels;
  83. }
  84. /**
  85. * @param Google_Service_ServiceControl_Money
  86. */
  87. public function setMoneyValue(Google_Service_ServiceControl_Money $moneyValue)
  88. {
  89. $this->moneyValue = $moneyValue;
  90. }
  91. /**
  92. * @return Google_Service_ServiceControl_Money
  93. */
  94. public function getMoneyValue()
  95. {
  96. return $this->moneyValue;
  97. }
  98. public function setStartTime($startTime)
  99. {
  100. $this->startTime = $startTime;
  101. }
  102. public function getStartTime()
  103. {
  104. return $this->startTime;
  105. }
  106. public function setStringValue($stringValue)
  107. {
  108. $this->stringValue = $stringValue;
  109. }
  110. public function getStringValue()
  111. {
  112. return $this->stringValue;
  113. }
  114. }