source: vendor/google/apiclient-services/src/CloudSearch/MembershipChangedMetadata.php@ e3d4e0a

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

Upload project files

  • Property mode set to 100644
File size: 3.2 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\CloudSearch;
19
20class MembershipChangedMetadata extends \Google\Collection
21{
22 protected $collection_key = 'affectedMemberships';
23 protected $affectedMemberProfilesType = Member::class;
24 protected $affectedMemberProfilesDataType = 'array';
25 protected $affectedMembersType = MemberId::class;
26 protected $affectedMembersDataType = 'array';
27 protected $affectedMembershipsType = AffectedMembership::class;
28 protected $affectedMembershipsDataType = 'array';
29 protected $initiatorDataType = '';
30 protected $initiatorProfileType = User::class;
31 protected $initiatorProfileDataType = '';
32 /**
33 * @var string
34 */
35 public $initiatorType;
36 /**
37 * @var string
38 */
39 public $type;
40
41 /**
42 * @param Member[]
43 */
44 public function setAffectedMemberProfiles($affectedMemberProfiles)
45 {
46 $this->affectedMemberProfiles = $affectedMemberProfiles;
47 }
48 /**
49 * @return Member[]
50 */
51 public function getAffectedMemberProfiles()
52 {
53 return $this->affectedMemberProfiles;
54 }
55 /**
56 * @param MemberId[]
57 */
58 public function setAffectedMembers($affectedMembers)
59 {
60 $this->affectedMembers = $affectedMembers;
61 }
62 /**
63 * @return MemberId[]
64 */
65 public function getAffectedMembers()
66 {
67 return $this->affectedMembers;
68 }
69 /**
70 * @param AffectedMembership[]
71 */
72 public function setAffectedMemberships($affectedMemberships)
73 {
74 $this->affectedMemberships = $affectedMemberships;
75 }
76 /**
77 * @return AffectedMembership[]
78 */
79 public function getAffectedMemberships()
80 {
81 return $this->affectedMemberships;
82 }
83 /**
84 * @param UserId
85 */
86 public function setInitiator(UserId $initiator)
87 {
88 $this->initiator = $initiator;
89 }
90 /**
91 * @return UserId
92 */
93 public function getInitiator()
94 {
95 return $this->initiator;
96 }
97 /**
98 * @param User
99 */
100 public function setInitiatorProfile(User $initiatorProfile)
101 {
102 $this->initiatorProfile = $initiatorProfile;
103 }
104 /**
105 * @return User
106 */
107 public function getInitiatorProfile()
108 {
109 return $this->initiatorProfile;
110 }
111 /**
112 * @param string
113 */
114 public function setInitiatorType($initiatorType)
115 {
116 $this->initiatorType = $initiatorType;
117 }
118 /**
119 * @return string
120 */
121 public function getInitiatorType()
122 {
123 return $this->initiatorType;
124 }
125 /**
126 * @param string
127 */
128 public function setType($type)
129 {
130 $this->type = $type;
131 }
132 /**
133 * @return string
134 */
135 public function getType()
136 {
137 return $this->type;
138 }
139}
140
141// Adding a class alias for backwards compatibility with the previous class name.
142class_alias(MembershipChangedMetadata::class, 'Google_Service_CloudSearch_MembershipChangedMetadata');
Note: See TracBrowser for help on using the repository browser.