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\ResourceSettings;
19
20class GoogleCloudResourcesettingsV1Value extends \Google\Model
21{
22  /**
23   * @var bool
24   */
25  public $booleanValue;
26  /**
27   * @var string
28   */
29  public $durationValue;
30  protected $enumValueType = GoogleCloudResourcesettingsV1ValueEnumValue::class;
31  protected $enumValueDataType = '';
32  protected $stringMapValueType = GoogleCloudResourcesettingsV1ValueStringMap::class;
33  protected $stringMapValueDataType = '';
34  protected $stringSetValueType = GoogleCloudResourcesettingsV1ValueStringSet::class;
35  protected $stringSetValueDataType = '';
36  /**
37   * @var string
38   */
39  public $stringValue;
40
41  /**
42   * @param bool
43   */
44  public function setBooleanValue($booleanValue)
45  {
46    $this->booleanValue = $booleanValue;
47  }
48  /**
49   * @return bool
50   */
51  public function getBooleanValue()
52  {
53    return $this->booleanValue;
54  }
55  /**
56   * @param string
57   */
58  public function setDurationValue($durationValue)
59  {
60    $this->durationValue = $durationValue;
61  }
62  /**
63   * @return string
64   */
65  public function getDurationValue()
66  {
67    return $this->durationValue;
68  }
69  /**
70   * @param GoogleCloudResourcesettingsV1ValueEnumValue
71   */
72  public function setEnumValue(GoogleCloudResourcesettingsV1ValueEnumValue $enumValue)
73  {
74    $this->enumValue = $enumValue;
75  }
76  /**
77   * @return GoogleCloudResourcesettingsV1ValueEnumValue
78   */
79  public function getEnumValue()
80  {
81    return $this->enumValue;
82  }
83  /**
84   * @param GoogleCloudResourcesettingsV1ValueStringMap
85   */
86  public function setStringMapValue(GoogleCloudResourcesettingsV1ValueStringMap $stringMapValue)
87  {
88    $this->stringMapValue = $stringMapValue;
89  }
90  /**
91   * @return GoogleCloudResourcesettingsV1ValueStringMap
92   */
93  public function getStringMapValue()
94  {
95    return $this->stringMapValue;
96  }
97  /**
98   * @param GoogleCloudResourcesettingsV1ValueStringSet
99   */
100  public function setStringSetValue(GoogleCloudResourcesettingsV1ValueStringSet $stringSetValue)
101  {
102    $this->stringSetValue = $stringSetValue;
103  }
104  /**
105   * @return GoogleCloudResourcesettingsV1ValueStringSet
106   */
107  public function getStringSetValue()
108  {
109    return $this->stringSetValue;
110  }
111  /**
112   * @param string
113   */
114  public function setStringValue($stringValue)
115  {
116    $this->stringValue = $stringValue;
117  }
118  /**
119   * @return string
120   */
121  public function getStringValue()
122  {
123    return $this->stringValue;
124  }
125}
126
127// Adding a class alias for backwards compatibility with the previous class name.
128class_alias(GoogleCloudResourcesettingsV1Value::class, 'Google_Service_ResourceSettings_GoogleCloudResourcesettingsV1Value');
129