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\Dialogflow;
19
20class GoogleCloudDialogflowCxV3beta1FormParameter extends \Google\Model
21{
22  /**
23   * @var array
24   */
25  public $defaultValue;
26  /**
27   * @var string
28   */
29  public $displayName;
30  /**
31   * @var string
32   */
33  public $entityType;
34  protected $fillBehaviorType = GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior::class;
35  protected $fillBehaviorDataType = '';
36  /**
37   * @var bool
38   */
39  public $isList;
40  /**
41   * @var bool
42   */
43  public $redact;
44  /**
45   * @var bool
46   */
47  public $required;
48
49  /**
50   * @param array
51   */
52  public function setDefaultValue($defaultValue)
53  {
54    $this->defaultValue = $defaultValue;
55  }
56  /**
57   * @return array
58   */
59  public function getDefaultValue()
60  {
61    return $this->defaultValue;
62  }
63  /**
64   * @param string
65   */
66  public function setDisplayName($displayName)
67  {
68    $this->displayName = $displayName;
69  }
70  /**
71   * @return string
72   */
73  public function getDisplayName()
74  {
75    return $this->displayName;
76  }
77  /**
78   * @param string
79   */
80  public function setEntityType($entityType)
81  {
82    $this->entityType = $entityType;
83  }
84  /**
85   * @return string
86   */
87  public function getEntityType()
88  {
89    return $this->entityType;
90  }
91  /**
92   * @param GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior
93   */
94  public function setFillBehavior(GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior $fillBehavior)
95  {
96    $this->fillBehavior = $fillBehavior;
97  }
98  /**
99   * @return GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior
100   */
101  public function getFillBehavior()
102  {
103    return $this->fillBehavior;
104  }
105  /**
106   * @param bool
107   */
108  public function setIsList($isList)
109  {
110    $this->isList = $isList;
111  }
112  /**
113   * @return bool
114   */
115  public function getIsList()
116  {
117    return $this->isList;
118  }
119  /**
120   * @param bool
121   */
122  public function setRedact($redact)
123  {
124    $this->redact = $redact;
125  }
126  /**
127   * @return bool
128   */
129  public function getRedact()
130  {
131    return $this->redact;
132  }
133  /**
134   * @param bool
135   */
136  public function setRequired($required)
137  {
138    $this->required = $required;
139  }
140  /**
141   * @return bool
142   */
143  public function getRequired()
144  {
145    return $this->required;
146  }
147}
148
149// Adding a class alias for backwards compatibility with the previous class name.
150class_alias(GoogleCloudDialogflowCxV3beta1FormParameter::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3beta1FormParameter');
151