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 $inputConstraint;
37  protected $knownValueDescriptionsType = GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription::class;
38  protected $knownValueDescriptionsDataType = 'array';
39  protected $nestedFieldDescriptionsType = GoogleChromePolicyV1PolicySchemaFieldDescription::class;
40  protected $nestedFieldDescriptionsDataType = 'array';
41  protected $requiredItemsType = GoogleChromePolicyV1PolicySchemaRequiredItems::class;
42  protected $requiredItemsDataType = 'array';
43
44  /**
45   * @param string
46   */
47  public function setDescription($description)
48  {
49    $this->description = $description;
50  }
51  /**
52   * @return string
53   */
54  public function getDescription()
55  {
56    return $this->description;
57  }
58  /**
59   * @param string
60   */
61  public function setField($field)
62  {
63    $this->field = $field;
64  }
65  /**
66   * @return string
67   */
68  public function getField()
69  {
70    return $this->field;
71  }
72  /**
73   * @param GoogleChromePolicyV1PolicySchemaFieldDependencies[]
74   */
75  public function setFieldDependencies($fieldDependencies)
76  {
77    $this->fieldDependencies = $fieldDependencies;
78  }
79  /**
80   * @return GoogleChromePolicyV1PolicySchemaFieldDependencies[]
81   */
82  public function getFieldDependencies()
83  {
84    return $this->fieldDependencies;
85  }
86  /**
87   * @param string
88   */
89  public function setInputConstraint($inputConstraint)
90  {
91    $this->inputConstraint = $inputConstraint;
92  }
93  /**
94   * @return string
95   */
96  public function getInputConstraint()
97  {
98    return $this->inputConstraint;
99  }
100  /**
101   * @param GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription[]
102   */
103  public function setKnownValueDescriptions($knownValueDescriptions)
104  {
105    $this->knownValueDescriptions = $knownValueDescriptions;
106  }
107  /**
108   * @return GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription[]
109   */
110  public function getKnownValueDescriptions()
111  {
112    return $this->knownValueDescriptions;
113  }
114  /**
115   * @param GoogleChromePolicyV1PolicySchemaFieldDescription[]
116   */
117  public function setNestedFieldDescriptions($nestedFieldDescriptions)
118  {
119    $this->nestedFieldDescriptions = $nestedFieldDescriptions;
120  }
121  /**
122   * @return GoogleChromePolicyV1PolicySchemaFieldDescription[]
123   */
124  public function getNestedFieldDescriptions()
125  {
126    return $this->nestedFieldDescriptions;
127  }
128  /**
129   * @param GoogleChromePolicyV1PolicySchemaRequiredItems[]
130   */
131  public function setRequiredItems($requiredItems)
132  {
133    $this->requiredItems = $requiredItems;
134  }
135  /**
136   * @return GoogleChromePolicyV1PolicySchemaRequiredItems[]
137   */
138  public function getRequiredItems()
139  {
140    return $this->requiredItems;
141  }
142}
143
144// Adding a class alias for backwards compatibility with the previous class name.
145class_alias(GoogleChromePolicyV1PolicySchemaFieldDescription::class, 'Google_Service_ChromePolicy_GoogleChromePolicyV1PolicySchemaFieldDescription');
146