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 |
|
---|
18 | namespace Google\Service\CloudSearch;
|
---|
19 |
|
---|
20 | class AppsDynamiteAttachment extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $addOnDataType = GoogleChatV1ContextualAddOnMarkup::class;
|
---|
23 | protected $addOnDataDataType = '';
|
---|
24 | protected $appIdType = AppsDynamiteUserId::class;
|
---|
25 | protected $appIdDataType = '';
|
---|
26 | /**
|
---|
27 | * @var string
|
---|
28 | */
|
---|
29 | public $attachmentId;
|
---|
30 | protected $cardAddOnDataType = AppsDynamiteSharedCard::class;
|
---|
31 | protected $cardAddOnDataDataType = '';
|
---|
32 | protected $deprecatedAddOnDataType = ContextualAddOnMarkup::class;
|
---|
33 | protected $deprecatedAddOnDataDataType = '';
|
---|
34 | protected $slackDataType = AppsDynamiteV1ApiCompatV1Attachment::class;
|
---|
35 | protected $slackDataDataType = '';
|
---|
36 | /**
|
---|
37 | * @var int
|
---|
38 | */
|
---|
39 | public $slackDataImageUrlHeight;
|
---|
40 |
|
---|
41 | /**
|
---|
42 | * @param GoogleChatV1ContextualAddOnMarkup
|
---|
43 | */
|
---|
44 | public function setAddOnData(GoogleChatV1ContextualAddOnMarkup $addOnData)
|
---|
45 | {
|
---|
46 | $this->addOnData = $addOnData;
|
---|
47 | }
|
---|
48 | /**
|
---|
49 | * @return GoogleChatV1ContextualAddOnMarkup
|
---|
50 | */
|
---|
51 | public function getAddOnData()
|
---|
52 | {
|
---|
53 | return $this->addOnData;
|
---|
54 | }
|
---|
55 | /**
|
---|
56 | * @param AppsDynamiteUserId
|
---|
57 | */
|
---|
58 | public function setAppId(AppsDynamiteUserId $appId)
|
---|
59 | {
|
---|
60 | $this->appId = $appId;
|
---|
61 | }
|
---|
62 | /**
|
---|
63 | * @return AppsDynamiteUserId
|
---|
64 | */
|
---|
65 | public function getAppId()
|
---|
66 | {
|
---|
67 | return $this->appId;
|
---|
68 | }
|
---|
69 | /**
|
---|
70 | * @param string
|
---|
71 | */
|
---|
72 | public function setAttachmentId($attachmentId)
|
---|
73 | {
|
---|
74 | $this->attachmentId = $attachmentId;
|
---|
75 | }
|
---|
76 | /**
|
---|
77 | * @return string
|
---|
78 | */
|
---|
79 | public function getAttachmentId()
|
---|
80 | {
|
---|
81 | return $this->attachmentId;
|
---|
82 | }
|
---|
83 | /**
|
---|
84 | * @param AppsDynamiteSharedCard
|
---|
85 | */
|
---|
86 | public function setCardAddOnData(AppsDynamiteSharedCard $cardAddOnData)
|
---|
87 | {
|
---|
88 | $this->cardAddOnData = $cardAddOnData;
|
---|
89 | }
|
---|
90 | /**
|
---|
91 | * @return AppsDynamiteSharedCard
|
---|
92 | */
|
---|
93 | public function getCardAddOnData()
|
---|
94 | {
|
---|
95 | return $this->cardAddOnData;
|
---|
96 | }
|
---|
97 | /**
|
---|
98 | * @param ContextualAddOnMarkup
|
---|
99 | */
|
---|
100 | public function setDeprecatedAddOnData(ContextualAddOnMarkup $deprecatedAddOnData)
|
---|
101 | {
|
---|
102 | $this->deprecatedAddOnData = $deprecatedAddOnData;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @return ContextualAddOnMarkup
|
---|
106 | */
|
---|
107 | public function getDeprecatedAddOnData()
|
---|
108 | {
|
---|
109 | return $this->deprecatedAddOnData;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @param AppsDynamiteV1ApiCompatV1Attachment
|
---|
113 | */
|
---|
114 | public function setSlackData(AppsDynamiteV1ApiCompatV1Attachment $slackData)
|
---|
115 | {
|
---|
116 | $this->slackData = $slackData;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @return AppsDynamiteV1ApiCompatV1Attachment
|
---|
120 | */
|
---|
121 | public function getSlackData()
|
---|
122 | {
|
---|
123 | return $this->slackData;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @param int
|
---|
127 | */
|
---|
128 | public function setSlackDataImageUrlHeight($slackDataImageUrlHeight)
|
---|
129 | {
|
---|
130 | $this->slackDataImageUrlHeight = $slackDataImageUrlHeight;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @return int
|
---|
134 | */
|
---|
135 | public function getSlackDataImageUrlHeight()
|
---|
136 | {
|
---|
137 | return $this->slackDataImageUrlHeight;
|
---|
138 | }
|
---|
139 | }
|
---|
140 |
|
---|
141 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
142 | class_alias(AppsDynamiteAttachment::class, 'Google_Service_CloudSearch_AppsDynamiteAttachment');
|
---|