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\HangoutsChat;
19
20class GoogleAppsCardV1Widget extends \Google\Model
21{
22  protected $buttonListType = GoogleAppsCardV1ButtonList::class;
23  protected $buttonListDataType = '';
24  protected $dateTimePickerType = GoogleAppsCardV1DateTimePicker::class;
25  protected $dateTimePickerDataType = '';
26  protected $decoratedTextType = GoogleAppsCardV1DecoratedText::class;
27  protected $decoratedTextDataType = '';
28  protected $dividerType = GoogleAppsCardV1Divider::class;
29  protected $dividerDataType = '';
30  protected $gridType = GoogleAppsCardV1Grid::class;
31  protected $gridDataType = '';
32  /**
33   * @var string
34   */
35  public $horizontalAlignment;
36  protected $imageType = GoogleAppsCardV1Image::class;
37  protected $imageDataType = '';
38  protected $selectionInputType = GoogleAppsCardV1SelectionInput::class;
39  protected $selectionInputDataType = '';
40  protected $textInputType = GoogleAppsCardV1TextInput::class;
41  protected $textInputDataType = '';
42  protected $textParagraphType = GoogleAppsCardV1TextParagraph::class;
43  protected $textParagraphDataType = '';
44
45  /**
46   * @param GoogleAppsCardV1ButtonList
47   */
48  public function setButtonList(GoogleAppsCardV1ButtonList $buttonList)
49  {
50    $this->buttonList = $buttonList;
51  }
52  /**
53   * @return GoogleAppsCardV1ButtonList
54   */
55  public function getButtonList()
56  {
57    return $this->buttonList;
58  }
59  /**
60   * @param GoogleAppsCardV1DateTimePicker
61   */
62  public function setDateTimePicker(GoogleAppsCardV1DateTimePicker $dateTimePicker)
63  {
64    $this->dateTimePicker = $dateTimePicker;
65  }
66  /**
67   * @return GoogleAppsCardV1DateTimePicker
68   */
69  public function getDateTimePicker()
70  {
71    return $this->dateTimePicker;
72  }
73  /**
74   * @param GoogleAppsCardV1DecoratedText
75   */
76  public function setDecoratedText(GoogleAppsCardV1DecoratedText $decoratedText)
77  {
78    $this->decoratedText = $decoratedText;
79  }
80  /**
81   * @return GoogleAppsCardV1DecoratedText
82   */
83  public function getDecoratedText()
84  {
85    return $this->decoratedText;
86  }
87  /**
88   * @param GoogleAppsCardV1Divider
89   */
90  public function setDivider(GoogleAppsCardV1Divider $divider)
91  {
92    $this->divider = $divider;
93  }
94  /**
95   * @return GoogleAppsCardV1Divider
96   */
97  public function getDivider()
98  {
99    return $this->divider;
100  }
101  /**
102   * @param GoogleAppsCardV1Grid
103   */
104  public function setGrid(GoogleAppsCardV1Grid $grid)
105  {
106    $this->grid = $grid;
107  }
108  /**
109   * @return GoogleAppsCardV1Grid
110   */
111  public function getGrid()
112  {
113    return $this->grid;
114  }
115  /**
116   * @param string
117   */
118  public function setHorizontalAlignment($horizontalAlignment)
119  {
120    $this->horizontalAlignment = $horizontalAlignment;
121  }
122  /**
123   * @return string
124   */
125  public function getHorizontalAlignment()
126  {
127    return $this->horizontalAlignment;
128  }
129  /**
130   * @param GoogleAppsCardV1Image
131   */
132  public function setImage(GoogleAppsCardV1Image $image)
133  {
134    $this->image = $image;
135  }
136  /**
137   * @return GoogleAppsCardV1Image
138   */
139  public function getImage()
140  {
141    return $this->image;
142  }
143  /**
144   * @param GoogleAppsCardV1SelectionInput
145   */
146  public function setSelectionInput(GoogleAppsCardV1SelectionInput $selectionInput)
147  {
148    $this->selectionInput = $selectionInput;
149  }
150  /**
151   * @return GoogleAppsCardV1SelectionInput
152   */
153  public function getSelectionInput()
154  {
155    return $this->selectionInput;
156  }
157  /**
158   * @param GoogleAppsCardV1TextInput
159   */
160  public function setTextInput(GoogleAppsCardV1TextInput $textInput)
161  {
162    $this->textInput = $textInput;
163  }
164  /**
165   * @return GoogleAppsCardV1TextInput
166   */
167  public function getTextInput()
168  {
169    return $this->textInput;
170  }
171  /**
172   * @param GoogleAppsCardV1TextParagraph
173   */
174  public function setTextParagraph(GoogleAppsCardV1TextParagraph $textParagraph)
175  {
176    $this->textParagraph = $textParagraph;
177  }
178  /**
179   * @return GoogleAppsCardV1TextParagraph
180   */
181  public function getTextParagraph()
182  {
183    return $this->textParagraph;
184  }
185}
186
187// Adding a class alias for backwards compatibility with the previous class name.
188class_alias(GoogleAppsCardV1Widget::class, 'Google_Service_HangoutsChat_GoogleAppsCardV1Widget');
189