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 GoogleCloudDialogflowV2IntentMessage extends \Google\Model
21{
22  protected $basicCardType = GoogleCloudDialogflowV2IntentMessageBasicCard::class;
23  protected $basicCardDataType = '';
24  protected $browseCarouselCardType = GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard::class;
25  protected $browseCarouselCardDataType = '';
26  protected $cardType = GoogleCloudDialogflowV2IntentMessageCard::class;
27  protected $cardDataType = '';
28  protected $carouselSelectType = GoogleCloudDialogflowV2IntentMessageCarouselSelect::class;
29  protected $carouselSelectDataType = '';
30  protected $imageType = GoogleCloudDialogflowV2IntentMessageImage::class;
31  protected $imageDataType = '';
32  protected $linkOutSuggestionType = GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion::class;
33  protected $linkOutSuggestionDataType = '';
34  protected $listSelectType = GoogleCloudDialogflowV2IntentMessageListSelect::class;
35  protected $listSelectDataType = '';
36  protected $mediaContentType = GoogleCloudDialogflowV2IntentMessageMediaContent::class;
37  protected $mediaContentDataType = '';
38  /**
39   * @var array[]
40   */
41  public $payload;
42  /**
43   * @var string
44   */
45  public $platform;
46  protected $quickRepliesType = GoogleCloudDialogflowV2IntentMessageQuickReplies::class;
47  protected $quickRepliesDataType = '';
48  protected $simpleResponsesType = GoogleCloudDialogflowV2IntentMessageSimpleResponses::class;
49  protected $simpleResponsesDataType = '';
50  protected $suggestionsType = GoogleCloudDialogflowV2IntentMessageSuggestions::class;
51  protected $suggestionsDataType = '';
52  protected $tableCardType = GoogleCloudDialogflowV2IntentMessageTableCard::class;
53  protected $tableCardDataType = '';
54  protected $textType = GoogleCloudDialogflowV2IntentMessageText::class;
55  protected $textDataType = '';
56
57  /**
58   * @param GoogleCloudDialogflowV2IntentMessageBasicCard
59   */
60  public function setBasicCard(GoogleCloudDialogflowV2IntentMessageBasicCard $basicCard)
61  {
62    $this->basicCard = $basicCard;
63  }
64  /**
65   * @return GoogleCloudDialogflowV2IntentMessageBasicCard
66   */
67  public function getBasicCard()
68  {
69    return $this->basicCard;
70  }
71  /**
72   * @param GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard
73   */
74  public function setBrowseCarouselCard(GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard $browseCarouselCard)
75  {
76    $this->browseCarouselCard = $browseCarouselCard;
77  }
78  /**
79   * @return GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard
80   */
81  public function getBrowseCarouselCard()
82  {
83    return $this->browseCarouselCard;
84  }
85  /**
86   * @param GoogleCloudDialogflowV2IntentMessageCard
87   */
88  public function setCard(GoogleCloudDialogflowV2IntentMessageCard $card)
89  {
90    $this->card = $card;
91  }
92  /**
93   * @return GoogleCloudDialogflowV2IntentMessageCard
94   */
95  public function getCard()
96  {
97    return $this->card;
98  }
99  /**
100   * @param GoogleCloudDialogflowV2IntentMessageCarouselSelect
101   */
102  public function setCarouselSelect(GoogleCloudDialogflowV2IntentMessageCarouselSelect $carouselSelect)
103  {
104    $this->carouselSelect = $carouselSelect;
105  }
106  /**
107   * @return GoogleCloudDialogflowV2IntentMessageCarouselSelect
108   */
109  public function getCarouselSelect()
110  {
111    return $this->carouselSelect;
112  }
113  /**
114   * @param GoogleCloudDialogflowV2IntentMessageImage
115   */
116  public function setImage(GoogleCloudDialogflowV2IntentMessageImage $image)
117  {
118    $this->image = $image;
119  }
120  /**
121   * @return GoogleCloudDialogflowV2IntentMessageImage
122   */
123  public function getImage()
124  {
125    return $this->image;
126  }
127  /**
128   * @param GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion
129   */
130  public function setLinkOutSuggestion(GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion $linkOutSuggestion)
131  {
132    $this->linkOutSuggestion = $linkOutSuggestion;
133  }
134  /**
135   * @return GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion
136   */
137  public function getLinkOutSuggestion()
138  {
139    return $this->linkOutSuggestion;
140  }
141  /**
142   * @param GoogleCloudDialogflowV2IntentMessageListSelect
143   */
144  public function setListSelect(GoogleCloudDialogflowV2IntentMessageListSelect $listSelect)
145  {
146    $this->listSelect = $listSelect;
147  }
148  /**
149   * @return GoogleCloudDialogflowV2IntentMessageListSelect
150   */
151  public function getListSelect()
152  {
153    return $this->listSelect;
154  }
155  /**
156   * @param GoogleCloudDialogflowV2IntentMessageMediaContent
157   */
158  public function setMediaContent(GoogleCloudDialogflowV2IntentMessageMediaContent $mediaContent)
159  {
160    $this->mediaContent = $mediaContent;
161  }
162  /**
163   * @return GoogleCloudDialogflowV2IntentMessageMediaContent
164   */
165  public function getMediaContent()
166  {
167    return $this->mediaContent;
168  }
169  /**
170   * @param array[]
171   */
172  public function setPayload($payload)
173  {
174    $this->payload = $payload;
175  }
176  /**
177   * @return array[]
178   */
179  public function getPayload()
180  {
181    return $this->payload;
182  }
183  /**
184   * @param string
185   */
186  public function setPlatform($platform)
187  {
188    $this->platform = $platform;
189  }
190  /**
191   * @return string
192   */
193  public function getPlatform()
194  {
195    return $this->platform;
196  }
197  /**
198   * @param GoogleCloudDialogflowV2IntentMessageQuickReplies
199   */
200  public function setQuickReplies(GoogleCloudDialogflowV2IntentMessageQuickReplies $quickReplies)
201  {
202    $this->quickReplies = $quickReplies;
203  }
204  /**
205   * @return GoogleCloudDialogflowV2IntentMessageQuickReplies
206   */
207  public function getQuickReplies()
208  {
209    return $this->quickReplies;
210  }
211  /**
212   * @param GoogleCloudDialogflowV2IntentMessageSimpleResponses
213   */
214  public function setSimpleResponses(GoogleCloudDialogflowV2IntentMessageSimpleResponses $simpleResponses)
215  {
216    $this->simpleResponses = $simpleResponses;
217  }
218  /**
219   * @return GoogleCloudDialogflowV2IntentMessageSimpleResponses
220   */
221  public function getSimpleResponses()
222  {
223    return $this->simpleResponses;
224  }
225  /**
226   * @param GoogleCloudDialogflowV2IntentMessageSuggestions
227   */
228  public function setSuggestions(GoogleCloudDialogflowV2IntentMessageSuggestions $suggestions)
229  {
230    $this->suggestions = $suggestions;
231  }
232  /**
233   * @return GoogleCloudDialogflowV2IntentMessageSuggestions
234   */
235  public function getSuggestions()
236  {
237    return $this->suggestions;
238  }
239  /**
240   * @param GoogleCloudDialogflowV2IntentMessageTableCard
241   */
242  public function setTableCard(GoogleCloudDialogflowV2IntentMessageTableCard $tableCard)
243  {
244    $this->tableCard = $tableCard;
245  }
246  /**
247   * @return GoogleCloudDialogflowV2IntentMessageTableCard
248   */
249  public function getTableCard()
250  {
251    return $this->tableCard;
252  }
253  /**
254   * @param GoogleCloudDialogflowV2IntentMessageText
255   */
256  public function setText(GoogleCloudDialogflowV2IntentMessageText $text)
257  {
258    $this->text = $text;
259  }
260  /**
261   * @return GoogleCloudDialogflowV2IntentMessageText
262   */
263  public function getText()
264  {
265    return $this->text;
266  }
267}
268
269// Adding a class alias for backwards compatibility with the previous class name.
270class_alias(GoogleCloudDialogflowV2IntentMessage::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessage');
271