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\Area120Tables;
19
20class ColumnDescription extends \Google\Collection
21{
22  protected $collection_key = 'labels';
23  /**
24   * @var string
25   */
26  public $dataType;
27  protected $dateDetailsType = DateDetails::class;
28  protected $dateDetailsDataType = '';
29  /**
30   * @var string
31   */
32  public $id;
33  protected $labelsType = LabeledItem::class;
34  protected $labelsDataType = 'array';
35  protected $lookupDetailsType = LookupDetails::class;
36  protected $lookupDetailsDataType = '';
37  /**
38   * @var bool
39   */
40  public $multipleValuesDisallowed;
41  /**
42   * @var string
43   */
44  public $name;
45  /**
46   * @var bool
47   */
48  public $readonly;
49  protected $relationshipDetailsType = RelationshipDetails::class;
50  protected $relationshipDetailsDataType = '';
51
52  /**
53   * @param string
54   */
55  public function setDataType($dataType)
56  {
57    $this->dataType = $dataType;
58  }
59  /**
60   * @return string
61   */
62  public function getDataType()
63  {
64    return $this->dataType;
65  }
66  /**
67   * @param DateDetails
68   */
69  public function setDateDetails(DateDetails $dateDetails)
70  {
71    $this->dateDetails = $dateDetails;
72  }
73  /**
74   * @return DateDetails
75   */
76  public function getDateDetails()
77  {
78    return $this->dateDetails;
79  }
80  /**
81   * @param string
82   */
83  public function setId($id)
84  {
85    $this->id = $id;
86  }
87  /**
88   * @return string
89   */
90  public function getId()
91  {
92    return $this->id;
93  }
94  /**
95   * @param LabeledItem[]
96   */
97  public function setLabels($labels)
98  {
99    $this->labels = $labels;
100  }
101  /**
102   * @return LabeledItem[]
103   */
104  public function getLabels()
105  {
106    return $this->labels;
107  }
108  /**
109   * @param LookupDetails
110   */
111  public function setLookupDetails(LookupDetails $lookupDetails)
112  {
113    $this->lookupDetails = $lookupDetails;
114  }
115  /**
116   * @return LookupDetails
117   */
118  public function getLookupDetails()
119  {
120    return $this->lookupDetails;
121  }
122  /**
123   * @param bool
124   */
125  public function setMultipleValuesDisallowed($multipleValuesDisallowed)
126  {
127    $this->multipleValuesDisallowed = $multipleValuesDisallowed;
128  }
129  /**
130   * @return bool
131   */
132  public function getMultipleValuesDisallowed()
133  {
134    return $this->multipleValuesDisallowed;
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 bool
152   */
153  public function setReadonly($readonly)
154  {
155    $this->readonly = $readonly;
156  }
157  /**
158   * @return bool
159   */
160  public function getReadonly()
161  {
162    return $this->readonly;
163  }
164  /**
165   * @param RelationshipDetails
166   */
167  public function setRelationshipDetails(RelationshipDetails $relationshipDetails)
168  {
169    $this->relationshipDetails = $relationshipDetails;
170  }
171  /**
172   * @return RelationshipDetails
173   */
174  public function getRelationshipDetails()
175  {
176    return $this->relationshipDetails;
177  }
178}
179
180// Adding a class alias for backwards compatibility with the previous class name.
181class_alias(ColumnDescription::class, 'Google_Service_Area120Tables_ColumnDescription');
182