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\DataCatalog;
19
20class GoogleCloudDatacatalogV1beta1TagTemplateField extends \Google\Model
21{
22  public $description;
23  public $displayName;
24  public $isRequired;
25  public $name;
26  public $order;
27  protected $typeType = GoogleCloudDatacatalogV1beta1FieldType::class;
28  protected $typeDataType = '';
29
30  public function setDescription($description)
31  {
32    $this->description = $description;
33  }
34  public function getDescription()
35  {
36    return $this->description;
37  }
38  public function setDisplayName($displayName)
39  {
40    $this->displayName = $displayName;
41  }
42  public function getDisplayName()
43  {
44    return $this->displayName;
45  }
46  public function setIsRequired($isRequired)
47  {
48    $this->isRequired = $isRequired;
49  }
50  public function getIsRequired()
51  {
52    return $this->isRequired;
53  }
54  public function setName($name)
55  {
56    $this->name = $name;
57  }
58  public function getName()
59  {
60    return $this->name;
61  }
62  public function setOrder($order)
63  {
64    $this->order = $order;
65  }
66  public function getOrder()
67  {
68    return $this->order;
69  }
70  /**
71   * @param GoogleCloudDatacatalogV1beta1FieldType
72   */
73  public function setType(GoogleCloudDatacatalogV1beta1FieldType $type)
74  {
75    $this->type = $type;
76  }
77  /**
78   * @return GoogleCloudDatacatalogV1beta1FieldType
79   */
80  public function getType()
81  {
82    return $this->type;
83  }
84}
85
86// Adding a class alias for backwards compatibility with the previous class name.
87class_alias(GoogleCloudDatacatalogV1beta1TagTemplateField::class, 'Google_Service_DataCatalog_GoogleCloudDatacatalogV1beta1TagTemplateField');
88