source: vendor/google/apiclient-services/src/ChromePolicy/GoogleChromePolicyV1PolicySchemaFieldDescription.php@ e3d4e0a

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

Upload project files

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