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 GoogleAppsCardV1Widgets extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $buttonListType = GoogleAppsCardV1ButtonList::class;
|
---|
23 | protected $buttonListDataType = '';
|
---|
24 | protected $chipListType = GoogleAppsCardV1ChipList::class;
|
---|
25 | protected $chipListDataType = '';
|
---|
26 | protected $dateTimePickerType = GoogleAppsCardV1DateTimePicker::class;
|
---|
27 | protected $dateTimePickerDataType = '';
|
---|
28 | protected $decoratedTextType = GoogleAppsCardV1DecoratedText::class;
|
---|
29 | protected $decoratedTextDataType = '';
|
---|
30 | protected $imageType = GoogleAppsCardV1Image::class;
|
---|
31 | protected $imageDataType = '';
|
---|
32 | protected $selectionInputType = GoogleAppsCardV1SelectionInput::class;
|
---|
33 | protected $selectionInputDataType = '';
|
---|
34 | protected $textInputType = GoogleAppsCardV1TextInput::class;
|
---|
35 | protected $textInputDataType = '';
|
---|
36 | protected $textParagraphType = GoogleAppsCardV1TextParagraph::class;
|
---|
37 | protected $textParagraphDataType = '';
|
---|
38 |
|
---|
39 | /**
|
---|
40 | * @param GoogleAppsCardV1ButtonList
|
---|
41 | */
|
---|
42 | public function setButtonList(GoogleAppsCardV1ButtonList $buttonList)
|
---|
43 | {
|
---|
44 | $this->buttonList = $buttonList;
|
---|
45 | }
|
---|
46 | /**
|
---|
47 | * @return GoogleAppsCardV1ButtonList
|
---|
48 | */
|
---|
49 | public function getButtonList()
|
---|
50 | {
|
---|
51 | return $this->buttonList;
|
---|
52 | }
|
---|
53 | /**
|
---|
54 | * @param GoogleAppsCardV1ChipList
|
---|
55 | */
|
---|
56 | public function setChipList(GoogleAppsCardV1ChipList $chipList)
|
---|
57 | {
|
---|
58 | $this->chipList = $chipList;
|
---|
59 | }
|
---|
60 | /**
|
---|
61 | * @return GoogleAppsCardV1ChipList
|
---|
62 | */
|
---|
63 | public function getChipList()
|
---|
64 | {
|
---|
65 | return $this->chipList;
|
---|
66 | }
|
---|
67 | /**
|
---|
68 | * @param GoogleAppsCardV1DateTimePicker
|
---|
69 | */
|
---|
70 | public function setDateTimePicker(GoogleAppsCardV1DateTimePicker $dateTimePicker)
|
---|
71 | {
|
---|
72 | $this->dateTimePicker = $dateTimePicker;
|
---|
73 | }
|
---|
74 | /**
|
---|
75 | * @return GoogleAppsCardV1DateTimePicker
|
---|
76 | */
|
---|
77 | public function getDateTimePicker()
|
---|
78 | {
|
---|
79 | return $this->dateTimePicker;
|
---|
80 | }
|
---|
81 | /**
|
---|
82 | * @param GoogleAppsCardV1DecoratedText
|
---|
83 | */
|
---|
84 | public function setDecoratedText(GoogleAppsCardV1DecoratedText $decoratedText)
|
---|
85 | {
|
---|
86 | $this->decoratedText = $decoratedText;
|
---|
87 | }
|
---|
88 | /**
|
---|
89 | * @return GoogleAppsCardV1DecoratedText
|
---|
90 | */
|
---|
91 | public function getDecoratedText()
|
---|
92 | {
|
---|
93 | return $this->decoratedText;
|
---|
94 | }
|
---|
95 | /**
|
---|
96 | * @param GoogleAppsCardV1Image
|
---|
97 | */
|
---|
98 | public function setImage(GoogleAppsCardV1Image $image)
|
---|
99 | {
|
---|
100 | $this->image = $image;
|
---|
101 | }
|
---|
102 | /**
|
---|
103 | * @return GoogleAppsCardV1Image
|
---|
104 | */
|
---|
105 | public function getImage()
|
---|
106 | {
|
---|
107 | return $this->image;
|
---|
108 | }
|
---|
109 | /**
|
---|
110 | * @param GoogleAppsCardV1SelectionInput
|
---|
111 | */
|
---|
112 | public function setSelectionInput(GoogleAppsCardV1SelectionInput $selectionInput)
|
---|
113 | {
|
---|
114 | $this->selectionInput = $selectionInput;
|
---|
115 | }
|
---|
116 | /**
|
---|
117 | * @return GoogleAppsCardV1SelectionInput
|
---|
118 | */
|
---|
119 | public function getSelectionInput()
|
---|
120 | {
|
---|
121 | return $this->selectionInput;
|
---|
122 | }
|
---|
123 | /**
|
---|
124 | * @param GoogleAppsCardV1TextInput
|
---|
125 | */
|
---|
126 | public function setTextInput(GoogleAppsCardV1TextInput $textInput)
|
---|
127 | {
|
---|
128 | $this->textInput = $textInput;
|
---|
129 | }
|
---|
130 | /**
|
---|
131 | * @return GoogleAppsCardV1TextInput
|
---|
132 | */
|
---|
133 | public function getTextInput()
|
---|
134 | {
|
---|
135 | return $this->textInput;
|
---|
136 | }
|
---|
137 | /**
|
---|
138 | * @param GoogleAppsCardV1TextParagraph
|
---|
139 | */
|
---|
140 | public function setTextParagraph(GoogleAppsCardV1TextParagraph $textParagraph)
|
---|
141 | {
|
---|
142 | $this->textParagraph = $textParagraph;
|
---|
143 | }
|
---|
144 | /**
|
---|
145 | * @return GoogleAppsCardV1TextParagraph
|
---|
146 | */
|
---|
147 | public function getTextParagraph()
|
---|
148 | {
|
---|
149 | return $this->textParagraph;
|
---|
150 | }
|
---|
151 | }
|
---|
152 |
|
---|
153 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
154 | class_alias(GoogleAppsCardV1Widgets::class, 'Google_Service_HangoutsChat_GoogleAppsCardV1Widgets');
|
---|