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 GoogleAppsCardV1DecoratedText extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $bottomLabel; 26 protected $buttonType = GoogleAppsCardV1Button::class; 27 protected $buttonDataType = ''; 28 protected $endIconType = GoogleAppsCardV1Icon::class; 29 protected $endIconDataType = ''; 30 protected $iconType = GoogleAppsCardV1Icon::class; 31 protected $iconDataType = ''; 32 protected $onClickType = GoogleAppsCardV1OnClick::class; 33 protected $onClickDataType = ''; 34 protected $startIconType = GoogleAppsCardV1Icon::class; 35 protected $startIconDataType = ''; 36 protected $switchControlType = GoogleAppsCardV1SwitchControl::class; 37 protected $switchControlDataType = ''; 38 /** 39 * @var string 40 */ 41 public $text; 42 /** 43 * @var string 44 */ 45 public $topLabel; 46 /** 47 * @var bool 48 */ 49 public $wrapText; 50 51 /** 52 * @param string 53 */ 54 public function setBottomLabel($bottomLabel) 55 { 56 $this->bottomLabel = $bottomLabel; 57 } 58 /** 59 * @return string 60 */ 61 public function getBottomLabel() 62 { 63 return $this->bottomLabel; 64 } 65 /** 66 * @param GoogleAppsCardV1Button 67 */ 68 public function setButton(GoogleAppsCardV1Button $button) 69 { 70 $this->button = $button; 71 } 72 /** 73 * @return GoogleAppsCardV1Button 74 */ 75 public function getButton() 76 { 77 return $this->button; 78 } 79 /** 80 * @param GoogleAppsCardV1Icon 81 */ 82 public function setEndIcon(GoogleAppsCardV1Icon $endIcon) 83 { 84 $this->endIcon = $endIcon; 85 } 86 /** 87 * @return GoogleAppsCardV1Icon 88 */ 89 public function getEndIcon() 90 { 91 return $this->endIcon; 92 } 93 /** 94 * @param GoogleAppsCardV1Icon 95 */ 96 public function setIcon(GoogleAppsCardV1Icon $icon) 97 { 98 $this->icon = $icon; 99 } 100 /** 101 * @return GoogleAppsCardV1Icon 102 */ 103 public function getIcon() 104 { 105 return $this->icon; 106 } 107 /** 108 * @param GoogleAppsCardV1OnClick 109 */ 110 public function setOnClick(GoogleAppsCardV1OnClick $onClick) 111 { 112 $this->onClick = $onClick; 113 } 114 /** 115 * @return GoogleAppsCardV1OnClick 116 */ 117 public function getOnClick() 118 { 119 return $this->onClick; 120 } 121 /** 122 * @param GoogleAppsCardV1Icon 123 */ 124 public function setStartIcon(GoogleAppsCardV1Icon $startIcon) 125 { 126 $this->startIcon = $startIcon; 127 } 128 /** 129 * @return GoogleAppsCardV1Icon 130 */ 131 public function getStartIcon() 132 { 133 return $this->startIcon; 134 } 135 /** 136 * @param GoogleAppsCardV1SwitchControl 137 */ 138 public function setSwitchControl(GoogleAppsCardV1SwitchControl $switchControl) 139 { 140 $this->switchControl = $switchControl; 141 } 142 /** 143 * @return GoogleAppsCardV1SwitchControl 144 */ 145 public function getSwitchControl() 146 { 147 return $this->switchControl; 148 } 149 /** 150 * @param string 151 */ 152 public function setText($text) 153 { 154 $this->text = $text; 155 } 156 /** 157 * @return string 158 */ 159 public function getText() 160 { 161 return $this->text; 162 } 163 /** 164 * @param string 165 */ 166 public function setTopLabel($topLabel) 167 { 168 $this->topLabel = $topLabel; 169 } 170 /** 171 * @return string 172 */ 173 public function getTopLabel() 174 { 175 return $this->topLabel; 176 } 177 /** 178 * @param bool 179 */ 180 public function setWrapText($wrapText) 181 { 182 $this->wrapText = $wrapText; 183 } 184 /** 185 * @return bool 186 */ 187 public function getWrapText() 188 { 189 return $this->wrapText; 190 } 191} 192 193// Adding a class alias for backwards compatibility with the previous class name. 194class_alias(GoogleAppsCardV1DecoratedText::class, 'Google_Service_HangoutsChat_GoogleAppsCardV1DecoratedText'); 195