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