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 AppsDynamiteMembershipChangedMetadata extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'affectedMemberships';
|
---|
23 | protected $affectedMemberProfilesType = AppsDynamiteFrontendMember::class;
|
---|
24 | protected $affectedMemberProfilesDataType = 'array';
|
---|
25 | protected $affectedMembersType = AppsDynamiteMemberId::class;
|
---|
26 | protected $affectedMembersDataType = 'array';
|
---|
27 | protected $affectedMembershipsType = AppsDynamiteMembershipChangedMetadataAffectedMembership::class;
|
---|
28 | protected $affectedMembershipsDataType = 'array';
|
---|
29 | protected $initiatorType = AppsDynamiteUserId::class;
|
---|
30 | protected $initiatorDataType = '';
|
---|
31 | protected $initiatorProfileType = AppsDynamiteFrontendUser::class;
|
---|
32 | protected $initiatorProfileDataType = '';
|
---|
33 | /**
|
---|
34 | * @var string
|
---|
35 | */
|
---|
36 | public $type;
|
---|
37 |
|
---|
38 | /**
|
---|
39 | * @param AppsDynamiteFrontendMember[]
|
---|
40 | */
|
---|
41 | public function setAffectedMemberProfiles($affectedMemberProfiles)
|
---|
42 | {
|
---|
43 | $this->affectedMemberProfiles = $affectedMemberProfiles;
|
---|
44 | }
|
---|
45 | /**
|
---|
46 | * @return AppsDynamiteFrontendMember[]
|
---|
47 | */
|
---|
48 | public function getAffectedMemberProfiles()
|
---|
49 | {
|
---|
50 | return $this->affectedMemberProfiles;
|
---|
51 | }
|
---|
52 | /**
|
---|
53 | * @param AppsDynamiteMemberId[]
|
---|
54 | */
|
---|
55 | public function setAffectedMembers($affectedMembers)
|
---|
56 | {
|
---|
57 | $this->affectedMembers = $affectedMembers;
|
---|
58 | }
|
---|
59 | /**
|
---|
60 | * @return AppsDynamiteMemberId[]
|
---|
61 | */
|
---|
62 | public function getAffectedMembers()
|
---|
63 | {
|
---|
64 | return $this->affectedMembers;
|
---|
65 | }
|
---|
66 | /**
|
---|
67 | * @param AppsDynamiteMembershipChangedMetadataAffectedMembership[]
|
---|
68 | */
|
---|
69 | public function setAffectedMemberships($affectedMemberships)
|
---|
70 | {
|
---|
71 | $this->affectedMemberships = $affectedMemberships;
|
---|
72 | }
|
---|
73 | /**
|
---|
74 | * @return AppsDynamiteMembershipChangedMetadataAffectedMembership[]
|
---|
75 | */
|
---|
76 | public function getAffectedMemberships()
|
---|
77 | {
|
---|
78 | return $this->affectedMemberships;
|
---|
79 | }
|
---|
80 | /**
|
---|
81 | * @param AppsDynamiteUserId
|
---|
82 | */
|
---|
83 | public function setInitiator(AppsDynamiteUserId $initiator)
|
---|
84 | {
|
---|
85 | $this->initiator = $initiator;
|
---|
86 | }
|
---|
87 | /**
|
---|
88 | * @return AppsDynamiteUserId
|
---|
89 | */
|
---|
90 | public function getInitiator()
|
---|
91 | {
|
---|
92 | return $this->initiator;
|
---|
93 | }
|
---|
94 | /**
|
---|
95 | * @param AppsDynamiteFrontendUser
|
---|
96 | */
|
---|
97 | public function setInitiatorProfile(AppsDynamiteFrontendUser $initiatorProfile)
|
---|
98 | {
|
---|
99 | $this->initiatorProfile = $initiatorProfile;
|
---|
100 | }
|
---|
101 | /**
|
---|
102 | * @return AppsDynamiteFrontendUser
|
---|
103 | */
|
---|
104 | public function getInitiatorProfile()
|
---|
105 | {
|
---|
106 | return $this->initiatorProfile;
|
---|
107 | }
|
---|
108 | /**
|
---|
109 | * @param string
|
---|
110 | */
|
---|
111 | public function setType($type)
|
---|
112 | {
|
---|
113 | $this->type = $type;
|
---|
114 | }
|
---|
115 | /**
|
---|
116 | * @return string
|
---|
117 | */
|
---|
118 | public function getType()
|
---|
119 | {
|
---|
120 | return $this->type;
|
---|
121 | }
|
---|
122 | }
|
---|
123 |
|
---|
124 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
125 | class_alias(AppsDynamiteMembershipChangedMetadata::class, 'Google_Service_CloudSearch_AppsDynamiteMembershipChangedMetadata');
|
---|