source: vendor/google/apiclient-services/src/Contentwarehouse/GoogleCloudContentwarehouseV1Value.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 2 weeks ago

Upload project files

  • Property mode set to 100644
File size: 3.3 KB
Line 
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\Contentwarehouse;
19
20class GoogleCloudContentwarehouseV1Value extends \Google\Model
21{
22 /**
23 * @var bool
24 */
25 public $booleanValue;
26 protected $datetimeValueType = GoogleTypeDateTime::class;
27 protected $datetimeValueDataType = '';
28 protected $enumValueType = GoogleCloudContentwarehouseV1EnumValue::class;
29 protected $enumValueDataType = '';
30 /**
31 * @var float
32 */
33 public $floatValue;
34 /**
35 * @var int
36 */
37 public $intValue;
38 /**
39 * @var string
40 */
41 public $stringValue;
42 protected $timestampValueType = GoogleCloudContentwarehouseV1TimestampValue::class;
43 protected $timestampValueDataType = '';
44
45 /**
46 * @param bool
47 */
48 public function setBooleanValue($booleanValue)
49 {
50 $this->booleanValue = $booleanValue;
51 }
52 /**
53 * @return bool
54 */
55 public function getBooleanValue()
56 {
57 return $this->booleanValue;
58 }
59 /**
60 * @param GoogleTypeDateTime
61 */
62 public function setDatetimeValue(GoogleTypeDateTime $datetimeValue)
63 {
64 $this->datetimeValue = $datetimeValue;
65 }
66 /**
67 * @return GoogleTypeDateTime
68 */
69 public function getDatetimeValue()
70 {
71 return $this->datetimeValue;
72 }
73 /**
74 * @param GoogleCloudContentwarehouseV1EnumValue
75 */
76 public function setEnumValue(GoogleCloudContentwarehouseV1EnumValue $enumValue)
77 {
78 $this->enumValue = $enumValue;
79 }
80 /**
81 * @return GoogleCloudContentwarehouseV1EnumValue
82 */
83 public function getEnumValue()
84 {
85 return $this->enumValue;
86 }
87 /**
88 * @param float
89 */
90 public function setFloatValue($floatValue)
91 {
92 $this->floatValue = $floatValue;
93 }
94 /**
95 * @return float
96 */
97 public function getFloatValue()
98 {
99 return $this->floatValue;
100 }
101 /**
102 * @param int
103 */
104 public function setIntValue($intValue)
105 {
106 $this->intValue = $intValue;
107 }
108 /**
109 * @return int
110 */
111 public function getIntValue()
112 {
113 return $this->intValue;
114 }
115 /**
116 * @param string
117 */
118 public function setStringValue($stringValue)
119 {
120 $this->stringValue = $stringValue;
121 }
122 /**
123 * @return string
124 */
125 public function getStringValue()
126 {
127 return $this->stringValue;
128 }
129 /**
130 * @param GoogleCloudContentwarehouseV1TimestampValue
131 */
132 public function setTimestampValue(GoogleCloudContentwarehouseV1TimestampValue $timestampValue)
133 {
134 $this->timestampValue = $timestampValue;
135 }
136 /**
137 * @return GoogleCloudContentwarehouseV1TimestampValue
138 */
139 public function getTimestampValue()
140 {
141 return $this->timestampValue;
142 }
143}
144
145// Adding a class alias for backwards compatibility with the previous class name.
146class_alias(GoogleCloudContentwarehouseV1Value::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1Value');
Note: See TracBrowser for help on using the repository browser.