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_GoogleAppsCardV1GridItem extends Google_Model
19{
20  public $id;
21  protected $imageType = 'Google_Service_HangoutsChat_GoogleAppsCardV1ImageComponent';
22  protected $imageDataType = '';
23  public $layout;
24  public $subtitle;
25  public $textAlignment;
26  public $title;
27
28  public function setId($id)
29  {
30    $this->id = $id;
31  }
32  public function getId()
33  {
34    return $this->id;
35  }
36  /**
37   * @param Google_Service_HangoutsChat_GoogleAppsCardV1ImageComponent
38   */
39  public function setImage(Google_Service_HangoutsChat_GoogleAppsCardV1ImageComponent $image)
40  {
41    $this->image = $image;
42  }
43  /**
44   * @return Google_Service_HangoutsChat_GoogleAppsCardV1ImageComponent
45   */
46  public function getImage()
47  {
48    return $this->image;
49  }
50  public function setLayout($layout)
51  {
52    $this->layout = $layout;
53  }
54  public function getLayout()
55  {
56    return $this->layout;
57  }
58  public function setSubtitle($subtitle)
59  {
60    $this->subtitle = $subtitle;
61  }
62  public function getSubtitle()
63  {
64    return $this->subtitle;
65  }
66  public function setTextAlignment($textAlignment)
67  {
68    $this->textAlignment = $textAlignment;
69  }
70  public function getTextAlignment()
71  {
72    return $this->textAlignment;
73  }
74  public function setTitle($title)
75  {
76    $this->title = $title;
77  }
78  public function getTitle()
79  {
80    return $this->title;
81  }
82}
83