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 SpaceInfo extends \Google\Model
21 {
22   protected $avatarInfoType = AvatarInfo::class;
23   protected $avatarInfoDataType = '';
24   /**
25    * @var string
26    */
27   public $avatarUrl;
28   /**
29    * @var string
30    */
31   public $description;
32   protected $groupIdType = GroupId::class;
33   protected $groupIdDataType = '';
34   /**
35    * @var string
36    */
37   public $inviterEmail;
38   /**
39    * @var bool
40    */
41   public $isExternal;
42   /**
43    * @var string
44    */
45   public $name;
46   /**
47    * @var int
48    */
49   public $numMembers;
50   /**
51    * @var string
52    */
53   public $userMembershipState;
54 
55   /**
56    * @param AvatarInfo
57    */
58   public function setAvatarInfo(AvatarInfo $avatarInfo)
59   {
60     $this->avatarInfo = $avatarInfo;
61   }
62   /**
63    * @return AvatarInfo
64    */
65   public function getAvatarInfo()
66   {
67     return $this->avatarInfo;
68   }
69   /**
70    * @param string
71    */
72   public function setAvatarUrl($avatarUrl)
73   {
74     $this->avatarUrl = $avatarUrl;
75   }
76   /**
77    * @return string
78    */
79   public function getAvatarUrl()
80   {
81     return $this->avatarUrl;
82   }
83   /**
84    * @param string
85    */
86   public function setDescription($description)
87   {
88     $this->description = $description;
89   }
90   /**
91    * @return string
92    */
93   public function getDescription()
94   {
95     return $this->description;
96   }
97   /**
98    * @param GroupId
99    */
100   public function setGroupId(GroupId $groupId)
101   {
102     $this->groupId = $groupId;
103   }
104   /**
105    * @return GroupId
106    */
107   public function getGroupId()
108   {
109     return $this->groupId;
110   }
111   /**
112    * @param string
113    */
114   public function setInviterEmail($inviterEmail)
115   {
116     $this->inviterEmail = $inviterEmail;
117   }
118   /**
119    * @return string
120    */
121   public function getInviterEmail()
122   {
123     return $this->inviterEmail;
124   }
125   /**
126    * @param bool
127    */
128   public function setIsExternal($isExternal)
129   {
130     $this->isExternal = $isExternal;
131   }
132   /**
133    * @return bool
134    */
135   public function getIsExternal()
136   {
137     return $this->isExternal;
138   }
139   /**
140    * @param string
141    */
142   public function setName($name)
143   {
144     $this->name = $name;
145   }
146   /**
147    * @return string
148    */
149   public function getName()
150   {
151     return $this->name;
152   }
153   /**
154    * @param int
155    */
156   public function setNumMembers($numMembers)
157   {
158     $this->numMembers = $numMembers;
159   }
160   /**
161    * @return int
162    */
163   public function getNumMembers()
164   {
165     return $this->numMembers;
166   }
167   /**
168    * @param string
169    */
170   public function setUserMembershipState($userMembershipState)
171   {
172     $this->userMembershipState = $userMembershipState;
173   }
174   /**
175    * @return string
176    */
177   public function getUserMembershipState()
178   {
179     return $this->userMembershipState;
180   }
181 }
182 
183 // Adding a class alias for backwards compatibility with the previous class name.
184 class_alias(SpaceInfo::class, 'Google_Service_CloudSearch_SpaceInfo');
185