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\Directory;
19
20class Group extends \Google\Collection
21{
22  protected $collection_key = 'nonEditableAliases';
23  /**
24   * @var bool
25   */
26  public $adminCreated;
27  /**
28   * @var string[]
29   */
30  public $aliases;
31  /**
32   * @var string
33   */
34  public $description;
35  /**
36   * @var string
37   */
38  public $directMembersCount;
39  /**
40   * @var string
41   */
42  public $email;
43  /**
44   * @var string
45   */
46  public $etag;
47  /**
48   * @var string
49   */
50  public $id;
51  /**
52   * @var string
53   */
54  public $kind;
55  /**
56   * @var string
57   */
58  public $name;
59  /**
60   * @var string[]
61   */
62  public $nonEditableAliases;
63
64  /**
65   * @param bool
66   */
67  public function setAdminCreated($adminCreated)
68  {
69    $this->adminCreated = $adminCreated;
70  }
71  /**
72   * @return bool
73   */
74  public function getAdminCreated()
75  {
76    return $this->adminCreated;
77  }
78  /**
79   * @param string[]
80   */
81  public function setAliases($aliases)
82  {
83    $this->aliases = $aliases;
84  }
85  /**
86   * @return string[]
87   */
88  public function getAliases()
89  {
90    return $this->aliases;
91  }
92  /**
93   * @param string
94   */
95  public function setDescription($description)
96  {
97    $this->description = $description;
98  }
99  /**
100   * @return string
101   */
102  public function getDescription()
103  {
104    return $this->description;
105  }
106  /**
107   * @param string
108   */
109  public function setDirectMembersCount($directMembersCount)
110  {
111    $this->directMembersCount = $directMembersCount;
112  }
113  /**
114   * @return string
115   */
116  public function getDirectMembersCount()
117  {
118    return $this->directMembersCount;
119  }
120  /**
121   * @param string
122   */
123  public function setEmail($email)
124  {
125    $this->email = $email;
126  }
127  /**
128   * @return string
129   */
130  public function getEmail()
131  {
132    return $this->email;
133  }
134  /**
135   * @param string
136   */
137  public function setEtag($etag)
138  {
139    $this->etag = $etag;
140  }
141  /**
142   * @return string
143   */
144  public function getEtag()
145  {
146    return $this->etag;
147  }
148  /**
149   * @param string
150   */
151  public function setId($id)
152  {
153    $this->id = $id;
154  }
155  /**
156   * @return string
157   */
158  public function getId()
159  {
160    return $this->id;
161  }
162  /**
163   * @param string
164   */
165  public function setKind($kind)
166  {
167    $this->kind = $kind;
168  }
169  /**
170   * @return string
171   */
172  public function getKind()
173  {
174    return $this->kind;
175  }
176  /**
177   * @param string
178   */
179  public function setName($name)
180  {
181    $this->name = $name;
182  }
183  /**
184   * @return string
185   */
186  public function getName()
187  {
188    return $this->name;
189  }
190  /**
191   * @param string[]
192   */
193  public function setNonEditableAliases($nonEditableAliases)
194  {
195    $this->nonEditableAliases = $nonEditableAliases;
196  }
197  /**
198   * @return string[]
199   */
200  public function getNonEditableAliases()
201  {
202    return $this->nonEditableAliases;
203  }
204}
205
206// Adding a class alias for backwards compatibility with the previous class name.
207class_alias(Group::class, 'Google_Service_Directory_Group');
208