source: vendor/google/apiclient-services/src/HangoutsChat/GoogleAppsCardV1OnClick.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 2.7 KB
Line 
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 GoogleAppsCardV1OnClick extends \Google\Model
21{
22 protected $actionType = GoogleAppsCardV1Action::class;
23 protected $actionDataType = '';
24 protected $cardType = GoogleAppsCardV1Card::class;
25 protected $cardDataType = '';
26 protected $openDynamicLinkActionType = GoogleAppsCardV1Action::class;
27 protected $openDynamicLinkActionDataType = '';
28 protected $openLinkType = GoogleAppsCardV1OpenLink::class;
29 protected $openLinkDataType = '';
30 protected $overflowMenuType = GoogleAppsCardV1OverflowMenu::class;
31 protected $overflowMenuDataType = '';
32
33 /**
34 * @param GoogleAppsCardV1Action
35 */
36 public function setAction(GoogleAppsCardV1Action $action)
37 {
38 $this->action = $action;
39 }
40 /**
41 * @return GoogleAppsCardV1Action
42 */
43 public function getAction()
44 {
45 return $this->action;
46 }
47 /**
48 * @param GoogleAppsCardV1Card
49 */
50 public function setCard(GoogleAppsCardV1Card $card)
51 {
52 $this->card = $card;
53 }
54 /**
55 * @return GoogleAppsCardV1Card
56 */
57 public function getCard()
58 {
59 return $this->card;
60 }
61 /**
62 * @param GoogleAppsCardV1Action
63 */
64 public function setOpenDynamicLinkAction(GoogleAppsCardV1Action $openDynamicLinkAction)
65 {
66 $this->openDynamicLinkAction = $openDynamicLinkAction;
67 }
68 /**
69 * @return GoogleAppsCardV1Action
70 */
71 public function getOpenDynamicLinkAction()
72 {
73 return $this->openDynamicLinkAction;
74 }
75 /**
76 * @param GoogleAppsCardV1OpenLink
77 */
78 public function setOpenLink(GoogleAppsCardV1OpenLink $openLink)
79 {
80 $this->openLink = $openLink;
81 }
82 /**
83 * @return GoogleAppsCardV1OpenLink
84 */
85 public function getOpenLink()
86 {
87 return $this->openLink;
88 }
89 /**
90 * @param GoogleAppsCardV1OverflowMenu
91 */
92 public function setOverflowMenu(GoogleAppsCardV1OverflowMenu $overflowMenu)
93 {
94 $this->overflowMenu = $overflowMenu;
95 }
96 /**
97 * @return GoogleAppsCardV1OverflowMenu
98 */
99 public function getOverflowMenu()
100 {
101 return $this->overflowMenu;
102 }
103}
104
105// Adding a class alias for backwards compatibility with the previous class name.
106class_alias(GoogleAppsCardV1OnClick::class, 'Google_Service_HangoutsChat_GoogleAppsCardV1OnClick');
Note: See TracBrowser for help on using the repository browser.