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\Drive;
19
20class TeamDrive extends \Google\Model
21{
22  protected $backgroundImageFileType = TeamDriveBackgroundImageFile::class;
23  protected $backgroundImageFileDataType = '';
24  /**
25   * @var string
26   */
27  public $backgroundImageLink;
28  protected $capabilitiesType = TeamDriveCapabilities::class;
29  protected $capabilitiesDataType = '';
30  /**
31   * @var string
32   */
33  public $colorRgb;
34  /**
35   * @var string
36   */
37  public $createdTime;
38  /**
39   * @var string
40   */
41  public $id;
42  /**
43   * @var string
44   */
45  public $kind;
46  /**
47   * @var string
48   */
49  public $name;
50  /**
51   * @var string
52   */
53  public $orgUnitId;
54  protected $restrictionsType = TeamDriveRestrictions::class;
55  protected $restrictionsDataType = '';
56  /**
57   * @var string
58   */
59  public $themeId;
60
61  /**
62   * @param TeamDriveBackgroundImageFile
63   */
64  public function setBackgroundImageFile(TeamDriveBackgroundImageFile $backgroundImageFile)
65  {
66    $this->backgroundImageFile = $backgroundImageFile;
67  }
68  /**
69   * @return TeamDriveBackgroundImageFile
70   */
71  public function getBackgroundImageFile()
72  {
73    return $this->backgroundImageFile;
74  }
75  /**
76   * @param string
77   */
78  public function setBackgroundImageLink($backgroundImageLink)
79  {
80    $this->backgroundImageLink = $backgroundImageLink;
81  }
82  /**
83   * @return string
84   */
85  public function getBackgroundImageLink()
86  {
87    return $this->backgroundImageLink;
88  }
89  /**
90   * @param TeamDriveCapabilities
91   */
92  public function setCapabilities(TeamDriveCapabilities $capabilities)
93  {
94    $this->capabilities = $capabilities;
95  }
96  /**
97   * @return TeamDriveCapabilities
98   */
99  public function getCapabilities()
100  {
101    return $this->capabilities;
102  }
103  /**
104   * @param string
105   */
106  public function setColorRgb($colorRgb)
107  {
108    $this->colorRgb = $colorRgb;
109  }
110  /**
111   * @return string
112   */
113  public function getColorRgb()
114  {
115    return $this->colorRgb;
116  }
117  /**
118   * @param string
119   */
120  public function setCreatedTime($createdTime)
121  {
122    $this->createdTime = $createdTime;
123  }
124  /**
125   * @return string
126   */
127  public function getCreatedTime()
128  {
129    return $this->createdTime;
130  }
131  /**
132   * @param string
133   */
134  public function setId($id)
135  {
136    $this->id = $id;
137  }
138  /**
139   * @return string
140   */
141  public function getId()
142  {
143    return $this->id;
144  }
145  /**
146   * @param string
147   */
148  public function setKind($kind)
149  {
150    $this->kind = $kind;
151  }
152  /**
153   * @return string
154   */
155  public function getKind()
156  {
157    return $this->kind;
158  }
159  /**
160   * @param string
161   */
162  public function setName($name)
163  {
164    $this->name = $name;
165  }
166  /**
167   * @return string
168   */
169  public function getName()
170  {
171    return $this->name;
172  }
173  /**
174   * @param string
175   */
176  public function setOrgUnitId($orgUnitId)
177  {
178    $this->orgUnitId = $orgUnitId;
179  }
180  /**
181   * @return string
182   */
183  public function getOrgUnitId()
184  {
185    return $this->orgUnitId;
186  }
187  /**
188   * @param TeamDriveRestrictions
189   */
190  public function setRestrictions(TeamDriveRestrictions $restrictions)
191  {
192    $this->restrictions = $restrictions;
193  }
194  /**
195   * @return TeamDriveRestrictions
196   */
197  public function getRestrictions()
198  {
199    return $this->restrictions;
200  }
201  /**
202   * @param string
203   */
204  public function setThemeId($themeId)
205  {
206    $this->themeId = $themeId;
207  }
208  /**
209   * @return string
210   */
211  public function getThemeId()
212  {
213    return $this->themeId;
214  }
215}
216
217// Adding a class alias for backwards compatibility with the previous class name.
218class_alias(TeamDrive::class, 'Google_Service_Drive_TeamDrive');
219