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\Monitoring;
19
20class TypedValue extends \Google\Model
21{
22  /**
23   * @var bool
24   */
25  public $boolValue;
26  protected $distributionValueType = Distribution::class;
27  protected $distributionValueDataType = '';
28  public $doubleValue;
29  /**
30   * @var string
31   */
32  public $int64Value;
33  /**
34   * @var string
35   */
36  public $stringValue;
37
38  /**
39   * @param bool
40   */
41  public function setBoolValue($boolValue)
42  {
43    $this->boolValue = $boolValue;
44  }
45  /**
46   * @return bool
47   */
48  public function getBoolValue()
49  {
50    return $this->boolValue;
51  }
52  /**
53   * @param Distribution
54   */
55  public function setDistributionValue(Distribution $distributionValue)
56  {
57    $this->distributionValue = $distributionValue;
58  }
59  /**
60   * @return Distribution
61   */
62  public function getDistributionValue()
63  {
64    return $this->distributionValue;
65  }
66  public function setDoubleValue($doubleValue)
67  {
68    $this->doubleValue = $doubleValue;
69  }
70  public function getDoubleValue()
71  {
72    return $this->doubleValue;
73  }
74  /**
75   * @param string
76   */
77  public function setInt64Value($int64Value)
78  {
79    $this->int64Value = $int64Value;
80  }
81  /**
82   * @return string
83   */
84  public function getInt64Value()
85  {
86    return $this->int64Value;
87  }
88  /**
89   * @param string
90   */
91  public function setStringValue($stringValue)
92  {
93    $this->stringValue = $stringValue;
94  }
95  /**
96   * @return string
97   */
98  public function getStringValue()
99  {
100    return $this->stringValue;
101  }
102}
103
104// Adding a class alias for backwards compatibility with the previous class name.
105class_alias(TypedValue::class, 'Google_Service_Monitoring_TypedValue');
106