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_GoogleAppsCardV1Card extends Google_Collection
19{
20  protected $collection_key = 'sections';
21  protected $cardActionsType = 'Google_Service_HangoutsChat_GoogleAppsCardV1CardAction';
22  protected $cardActionsDataType = 'array';
23  public $displayStyle;
24  protected $fixedFooterType = 'Google_Service_HangoutsChat_GoogleAppsCardV1CardFixedFooter';
25  protected $fixedFooterDataType = '';
26  protected $headerType = 'Google_Service_HangoutsChat_GoogleAppsCardV1CardHeader';
27  protected $headerDataType = '';
28  public $name;
29  protected $peekCardHeaderType = 'Google_Service_HangoutsChat_GoogleAppsCardV1CardHeader';
30  protected $peekCardHeaderDataType = '';
31  protected $sectionsType = 'Google_Service_HangoutsChat_GoogleAppsCardV1Section';
32  protected $sectionsDataType = 'array';
33
34  /**
35   * @param Google_Service_HangoutsChat_GoogleAppsCardV1CardAction[]
36   */
37  public function setCardActions($cardActions)
38  {
39    $this->cardActions = $cardActions;
40  }
41  /**
42   * @return Google_Service_HangoutsChat_GoogleAppsCardV1CardAction[]
43   */
44  public function getCardActions()
45  {
46    return $this->cardActions;
47  }
48  public function setDisplayStyle($displayStyle)
49  {
50    $this->displayStyle = $displayStyle;
51  }
52  public function getDisplayStyle()
53  {
54    return $this->displayStyle;
55  }
56  /**
57   * @param Google_Service_HangoutsChat_GoogleAppsCardV1CardFixedFooter
58   */
59  public function setFixedFooter(Google_Service_HangoutsChat_GoogleAppsCardV1CardFixedFooter $fixedFooter)
60  {
61    $this->fixedFooter = $fixedFooter;
62  }
63  /**
64   * @return Google_Service_HangoutsChat_GoogleAppsCardV1CardFixedFooter
65   */
66  public function getFixedFooter()
67  {
68    return $this->fixedFooter;
69  }
70  /**
71   * @param Google_Service_HangoutsChat_GoogleAppsCardV1CardHeader
72   */
73  public function setHeader(Google_Service_HangoutsChat_GoogleAppsCardV1CardHeader $header)
74  {
75    $this->header = $header;
76  }
77  /**
78   * @return Google_Service_HangoutsChat_GoogleAppsCardV1CardHeader
79   */
80  public function getHeader()
81  {
82    return $this->header;
83  }
84  public function setName($name)
85  {
86    $this->name = $name;
87  }
88  public function getName()
89  {
90    return $this->name;
91  }
92  /**
93   * @param Google_Service_HangoutsChat_GoogleAppsCardV1CardHeader
94   */
95  public function setPeekCardHeader(Google_Service_HangoutsChat_GoogleAppsCardV1CardHeader $peekCardHeader)
96  {
97    $this->peekCardHeader = $peekCardHeader;
98  }
99  /**
100   * @return Google_Service_HangoutsChat_GoogleAppsCardV1CardHeader
101   */
102  public function getPeekCardHeader()
103  {
104    return $this->peekCardHeader;
105  }
106  /**
107   * @param Google_Service_HangoutsChat_GoogleAppsCardV1Section[]
108   */
109  public function setSections($sections)
110  {
111    $this->sections = $sections;
112  }
113  /**
114   * @return Google_Service_HangoutsChat_GoogleAppsCardV1Section[]
115   */
116  public function getSections()
117  {
118    return $this->sections;
119  }
120}
121