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_GoogleAppsCardV1Grid extends Google_Collection 19{ 20 protected $collection_key = 'items'; 21 protected $borderStyleType = 'Google_Service_HangoutsChat_GoogleAppsCardV1BorderStyle'; 22 protected $borderStyleDataType = ''; 23 public $columnCount; 24 protected $itemsType = 'Google_Service_HangoutsChat_GoogleAppsCardV1GridItem'; 25 protected $itemsDataType = 'array'; 26 protected $onClickType = 'Google_Service_HangoutsChat_GoogleAppsCardV1OnClick'; 27 protected $onClickDataType = ''; 28 public $title; 29 30 /** 31 * @param Google_Service_HangoutsChat_GoogleAppsCardV1BorderStyle 32 */ 33 public function setBorderStyle(Google_Service_HangoutsChat_GoogleAppsCardV1BorderStyle $borderStyle) 34 { 35 $this->borderStyle = $borderStyle; 36 } 37 /** 38 * @return Google_Service_HangoutsChat_GoogleAppsCardV1BorderStyle 39 */ 40 public function getBorderStyle() 41 { 42 return $this->borderStyle; 43 } 44 public function setColumnCount($columnCount) 45 { 46 $this->columnCount = $columnCount; 47 } 48 public function getColumnCount() 49 { 50 return $this->columnCount; 51 } 52 /** 53 * @param Google_Service_HangoutsChat_GoogleAppsCardV1GridItem[] 54 */ 55 public function setItems($items) 56 { 57 $this->items = $items; 58 } 59 /** 60 * @return Google_Service_HangoutsChat_GoogleAppsCardV1GridItem[] 61 */ 62 public function getItems() 63 { 64 return $this->items; 65 } 66 /** 67 * @param Google_Service_HangoutsChat_GoogleAppsCardV1OnClick 68 */ 69 public function setOnClick(Google_Service_HangoutsChat_GoogleAppsCardV1OnClick $onClick) 70 { 71 $this->onClick = $onClick; 72 } 73 /** 74 * @return Google_Service_HangoutsChat_GoogleAppsCardV1OnClick 75 */ 76 public function getOnClick() 77 { 78 return $this->onClick; 79 } 80 public function setTitle($title) 81 { 82 $this->title = $title; 83 } 84 public function getTitle() 85 { 86 return $this->title; 87 } 88} 89