[e3d4e0a] | 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\HangoutsChat;
|
---|
| 19 |
|
---|
| 20 | class PermissionSettings extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $manageAppsType = PermissionSetting::class;
|
---|
| 23 | protected $manageAppsDataType = '';
|
---|
| 24 | protected $manageMembersAndGroupsType = PermissionSetting::class;
|
---|
| 25 | protected $manageMembersAndGroupsDataType = '';
|
---|
| 26 | protected $manageWebhooksType = PermissionSetting::class;
|
---|
| 27 | protected $manageWebhooksDataType = '';
|
---|
| 28 | protected $modifySpaceDetailsType = PermissionSetting::class;
|
---|
| 29 | protected $modifySpaceDetailsDataType = '';
|
---|
| 30 | protected $postMessagesType = PermissionSetting::class;
|
---|
| 31 | protected $postMessagesDataType = '';
|
---|
| 32 | protected $replyMessagesType = PermissionSetting::class;
|
---|
| 33 | protected $replyMessagesDataType = '';
|
---|
| 34 | protected $toggleHistoryType = PermissionSetting::class;
|
---|
| 35 | protected $toggleHistoryDataType = '';
|
---|
| 36 | protected $useAtMentionAllType = PermissionSetting::class;
|
---|
| 37 | protected $useAtMentionAllDataType = '';
|
---|
| 38 |
|
---|
| 39 | /**
|
---|
| 40 | * @param PermissionSetting
|
---|
| 41 | */
|
---|
| 42 | public function setManageApps(PermissionSetting $manageApps)
|
---|
| 43 | {
|
---|
| 44 | $this->manageApps = $manageApps;
|
---|
| 45 | }
|
---|
| 46 | /**
|
---|
| 47 | * @return PermissionSetting
|
---|
| 48 | */
|
---|
| 49 | public function getManageApps()
|
---|
| 50 | {
|
---|
| 51 | return $this->manageApps;
|
---|
| 52 | }
|
---|
| 53 | /**
|
---|
| 54 | * @param PermissionSetting
|
---|
| 55 | */
|
---|
| 56 | public function setManageMembersAndGroups(PermissionSetting $manageMembersAndGroups)
|
---|
| 57 | {
|
---|
| 58 | $this->manageMembersAndGroups = $manageMembersAndGroups;
|
---|
| 59 | }
|
---|
| 60 | /**
|
---|
| 61 | * @return PermissionSetting
|
---|
| 62 | */
|
---|
| 63 | public function getManageMembersAndGroups()
|
---|
| 64 | {
|
---|
| 65 | return $this->manageMembersAndGroups;
|
---|
| 66 | }
|
---|
| 67 | /**
|
---|
| 68 | * @param PermissionSetting
|
---|
| 69 | */
|
---|
| 70 | public function setManageWebhooks(PermissionSetting $manageWebhooks)
|
---|
| 71 | {
|
---|
| 72 | $this->manageWebhooks = $manageWebhooks;
|
---|
| 73 | }
|
---|
| 74 | /**
|
---|
| 75 | * @return PermissionSetting
|
---|
| 76 | */
|
---|
| 77 | public function getManageWebhooks()
|
---|
| 78 | {
|
---|
| 79 | return $this->manageWebhooks;
|
---|
| 80 | }
|
---|
| 81 | /**
|
---|
| 82 | * @param PermissionSetting
|
---|
| 83 | */
|
---|
| 84 | public function setModifySpaceDetails(PermissionSetting $modifySpaceDetails)
|
---|
| 85 | {
|
---|
| 86 | $this->modifySpaceDetails = $modifySpaceDetails;
|
---|
| 87 | }
|
---|
| 88 | /**
|
---|
| 89 | * @return PermissionSetting
|
---|
| 90 | */
|
---|
| 91 | public function getModifySpaceDetails()
|
---|
| 92 | {
|
---|
| 93 | return $this->modifySpaceDetails;
|
---|
| 94 | }
|
---|
| 95 | /**
|
---|
| 96 | * @param PermissionSetting
|
---|
| 97 | */
|
---|
| 98 | public function setPostMessages(PermissionSetting $postMessages)
|
---|
| 99 | {
|
---|
| 100 | $this->postMessages = $postMessages;
|
---|
| 101 | }
|
---|
| 102 | /**
|
---|
| 103 | * @return PermissionSetting
|
---|
| 104 | */
|
---|
| 105 | public function getPostMessages()
|
---|
| 106 | {
|
---|
| 107 | return $this->postMessages;
|
---|
| 108 | }
|
---|
| 109 | /**
|
---|
| 110 | * @param PermissionSetting
|
---|
| 111 | */
|
---|
| 112 | public function setReplyMessages(PermissionSetting $replyMessages)
|
---|
| 113 | {
|
---|
| 114 | $this->replyMessages = $replyMessages;
|
---|
| 115 | }
|
---|
| 116 | /**
|
---|
| 117 | * @return PermissionSetting
|
---|
| 118 | */
|
---|
| 119 | public function getReplyMessages()
|
---|
| 120 | {
|
---|
| 121 | return $this->replyMessages;
|
---|
| 122 | }
|
---|
| 123 | /**
|
---|
| 124 | * @param PermissionSetting
|
---|
| 125 | */
|
---|
| 126 | public function setToggleHistory(PermissionSetting $toggleHistory)
|
---|
| 127 | {
|
---|
| 128 | $this->toggleHistory = $toggleHistory;
|
---|
| 129 | }
|
---|
| 130 | /**
|
---|
| 131 | * @return PermissionSetting
|
---|
| 132 | */
|
---|
| 133 | public function getToggleHistory()
|
---|
| 134 | {
|
---|
| 135 | return $this->toggleHistory;
|
---|
| 136 | }
|
---|
| 137 | /**
|
---|
| 138 | * @param PermissionSetting
|
---|
| 139 | */
|
---|
| 140 | public function setUseAtMentionAll(PermissionSetting $useAtMentionAll)
|
---|
| 141 | {
|
---|
| 142 | $this->useAtMentionAll = $useAtMentionAll;
|
---|
| 143 | }
|
---|
| 144 | /**
|
---|
| 145 | * @return PermissionSetting
|
---|
| 146 | */
|
---|
| 147 | public function getUseAtMentionAll()
|
---|
| 148 | {
|
---|
| 149 | return $this->useAtMentionAll;
|
---|
| 150 | }
|
---|
| 151 | }
|
---|
| 152 |
|
---|
| 153 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 154 | class_alias(PermissionSettings::class, 'Google_Service_HangoutsChat_PermissionSettings');
|
---|