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 18class Google_Service_HangoutsChat_GoogleAppsCardV1ImageComponent extends Google_Model 19{ 20 public $altText; 21 protected $borderStyleType = 'Google_Service_HangoutsChat_GoogleAppsCardV1BorderStyle'; 22 protected $borderStyleDataType = ''; 23 protected $cropStyleType = 'Google_Service_HangoutsChat_GoogleAppsCardV1ImageCropStyle'; 24 protected $cropStyleDataType = ''; 25 public $imageUri; 26 27 public function setAltText($altText) 28 { 29 $this->altText = $altText; 30 } 31 public function getAltText() 32 { 33 return $this->altText; 34 } 35 /** 36 * @param Google_Service_HangoutsChat_GoogleAppsCardV1BorderStyle 37 */ 38 public function setBorderStyle(Google_Service_HangoutsChat_GoogleAppsCardV1BorderStyle $borderStyle) 39 { 40 $this->borderStyle = $borderStyle; 41 } 42 /** 43 * @return Google_Service_HangoutsChat_GoogleAppsCardV1BorderStyle 44 */ 45 public function getBorderStyle() 46 { 47 return $this->borderStyle; 48 } 49 /** 50 * @param Google_Service_HangoutsChat_GoogleAppsCardV1ImageCropStyle 51 */ 52 public function setCropStyle(Google_Service_HangoutsChat_GoogleAppsCardV1ImageCropStyle $cropStyle) 53 { 54 $this->cropStyle = $cropStyle; 55 } 56 /** 57 * @return Google_Service_HangoutsChat_GoogleAppsCardV1ImageCropStyle 58 */ 59 public function getCropStyle() 60 { 61 return $this->cropStyle; 62 } 63 public function setImageUri($imageUri) 64 { 65 $this->imageUri = $imageUri; 66 } 67 public function getImageUri() 68 { 69 return $this->imageUri; 70 } 71} 72