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