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