source: vendor/google/apiclient-services/src/ChromePolicy/GoogleChromePolicyVersionsV1PolicySchemaFieldDescription.php

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

Upload project files

  • Property mode set to 100644
File size: 5.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\ChromePolicy;
19
20class GoogleChromePolicyVersionsV1PolicySchemaFieldDescription extends \Google\Collection
21{
22 protected $collection_key = 'requiredItems';
23 /**
24 * @var array
25 */
26 public $defaultValue;
27 /**
28 * @var string
29 */
30 public $description;
31 /**
32 * @var string
33 */
34 public $field;
35 protected $fieldConstraintsType = GoogleChromePolicyVersionsV1FieldConstraints::class;
36 protected $fieldConstraintsDataType = '';
37 protected $fieldDependenciesType = GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies::class;
38 protected $fieldDependenciesDataType = 'array';
39 /**
40 * @var string
41 */
42 public $fieldDescription;
43 /**
44 * @var string
45 */
46 public $inputConstraint;
47 protected $knownValueDescriptionsType = GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription::class;
48 protected $knownValueDescriptionsDataType = 'array';
49 /**
50 * @var string
51 */
52 public $name;
53 protected $nestedFieldDescriptionsType = GoogleChromePolicyVersionsV1PolicySchemaFieldDescription::class;
54 protected $nestedFieldDescriptionsDataType = 'array';
55 protected $requiredItemsType = GoogleChromePolicyVersionsV1PolicySchemaRequiredItems::class;
56 protected $requiredItemsDataType = 'array';
57
58 /**
59 * @param array
60 */
61 public function setDefaultValue($defaultValue)
62 {
63 $this->defaultValue = $defaultValue;
64 }
65 /**
66 * @return array
67 */
68 public function getDefaultValue()
69 {
70 return $this->defaultValue;
71 }
72 /**
73 * @param string
74 */
75 public function setDescription($description)
76 {
77 $this->description = $description;
78 }
79 /**
80 * @return string
81 */
82 public function getDescription()
83 {
84 return $this->description;
85 }
86 /**
87 * @param string
88 */
89 public function setField($field)
90 {
91 $this->field = $field;
92 }
93 /**
94 * @return string
95 */
96 public function getField()
97 {
98 return $this->field;
99 }
100 /**
101 * @param GoogleChromePolicyVersionsV1FieldConstraints
102 */
103 public function setFieldConstraints(GoogleChromePolicyVersionsV1FieldConstraints $fieldConstraints)
104 {
105 $this->fieldConstraints = $fieldConstraints;
106 }
107 /**
108 * @return GoogleChromePolicyVersionsV1FieldConstraints
109 */
110 public function getFieldConstraints()
111 {
112 return $this->fieldConstraints;
113 }
114 /**
115 * @param GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies[]
116 */
117 public function setFieldDependencies($fieldDependencies)
118 {
119 $this->fieldDependencies = $fieldDependencies;
120 }
121 /**
122 * @return GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies[]
123 */
124 public function getFieldDependencies()
125 {
126 return $this->fieldDependencies;
127 }
128 /**
129 * @param string
130 */
131 public function setFieldDescription($fieldDescription)
132 {
133 $this->fieldDescription = $fieldDescription;
134 }
135 /**
136 * @return string
137 */
138 public function getFieldDescription()
139 {
140 return $this->fieldDescription;
141 }
142 /**
143 * @param string
144 */
145 public function setInputConstraint($inputConstraint)
146 {
147 $this->inputConstraint = $inputConstraint;
148 }
149 /**
150 * @return string
151 */
152 public function getInputConstraint()
153 {
154 return $this->inputConstraint;
155 }
156 /**
157 * @param GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription[]
158 */
159 public function setKnownValueDescriptions($knownValueDescriptions)
160 {
161 $this->knownValueDescriptions = $knownValueDescriptions;
162 }
163 /**
164 * @return GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription[]
165 */
166 public function getKnownValueDescriptions()
167 {
168 return $this->knownValueDescriptions;
169 }
170 /**
171 * @param string
172 */
173 public function setName($name)
174 {
175 $this->name = $name;
176 }
177 /**
178 * @return string
179 */
180 public function getName()
181 {
182 return $this->name;
183 }
184 /**
185 * @param GoogleChromePolicyVersionsV1PolicySchemaFieldDescription[]
186 */
187 public function setNestedFieldDescriptions($nestedFieldDescriptions)
188 {
189 $this->nestedFieldDescriptions = $nestedFieldDescriptions;
190 }
191 /**
192 * @return GoogleChromePolicyVersionsV1PolicySchemaFieldDescription[]
193 */
194 public function getNestedFieldDescriptions()
195 {
196 return $this->nestedFieldDescriptions;
197 }
198 /**
199 * @param GoogleChromePolicyVersionsV1PolicySchemaRequiredItems[]
200 */
201 public function setRequiredItems($requiredItems)
202 {
203 $this->requiredItems = $requiredItems;
204 }
205 /**
206 * @return GoogleChromePolicyVersionsV1PolicySchemaRequiredItems[]
207 */
208 public function getRequiredItems()
209 {
210 return $this->requiredItems;
211 }
212}
213
214// Adding a class alias for backwards compatibility with the previous class name.
215class_alias(GoogleChromePolicyVersionsV1PolicySchemaFieldDescription::class, 'Google_Service_ChromePolicy_GoogleChromePolicyVersionsV1PolicySchemaFieldDescription');
Note: See TracBrowser for help on using the repository browser.