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
18class Google_Service_Drive_Permission extends Google_Collection
19{
20  protected $collection_key = 'teamDrivePermissionDetails';
21  public $allowFileDiscovery;
22  public $deleted;
23  public $displayName;
24  public $domain;
25  public $emailAddress;
26  public $expirationTime;
27  public $id;
28  public $kind;
29  protected $permissionDetailsType = 'Google_Service_Drive_PermissionPermissionDetails';
30  protected $permissionDetailsDataType = 'array';
31  public $photoLink;
32  public $role;
33  protected $teamDrivePermissionDetailsType = 'Google_Service_Drive_PermissionTeamDrivePermissionDetails';
34  protected $teamDrivePermissionDetailsDataType = 'array';
35  public $type;
36  public $view;
37
38  public function setAllowFileDiscovery($allowFileDiscovery)
39  {
40    $this->allowFileDiscovery = $allowFileDiscovery;
41  }
42  public function getAllowFileDiscovery()
43  {
44    return $this->allowFileDiscovery;
45  }
46  public function setDeleted($deleted)
47  {
48    $this->deleted = $deleted;
49  }
50  public function getDeleted()
51  {
52    return $this->deleted;
53  }
54  public function setDisplayName($displayName)
55  {
56    $this->displayName = $displayName;
57  }
58  public function getDisplayName()
59  {
60    return $this->displayName;
61  }
62  public function setDomain($domain)
63  {
64    $this->domain = $domain;
65  }
66  public function getDomain()
67  {
68    return $this->domain;
69  }
70  public function setEmailAddress($emailAddress)
71  {
72    $this->emailAddress = $emailAddress;
73  }
74  public function getEmailAddress()
75  {
76    return $this->emailAddress;
77  }
78  public function setExpirationTime($expirationTime)
79  {
80    $this->expirationTime = $expirationTime;
81  }
82  public function getExpirationTime()
83  {
84    return $this->expirationTime;
85  }
86  public function setId($id)
87  {
88    $this->id = $id;
89  }
90  public function getId()
91  {
92    return $this->id;
93  }
94  public function setKind($kind)
95  {
96    $this->kind = $kind;
97  }
98  public function getKind()
99  {
100    return $this->kind;
101  }
102  /**
103   * @param Google_Service_Drive_PermissionPermissionDetails[]
104   */
105  public function setPermissionDetails($permissionDetails)
106  {
107    $this->permissionDetails = $permissionDetails;
108  }
109  /**
110   * @return Google_Service_Drive_PermissionPermissionDetails[]
111   */
112  public function getPermissionDetails()
113  {
114    return $this->permissionDetails;
115  }
116  public function setPhotoLink($photoLink)
117  {
118    $this->photoLink = $photoLink;
119  }
120  public function getPhotoLink()
121  {
122    return $this->photoLink;
123  }
124  public function setRole($role)
125  {
126    $this->role = $role;
127  }
128  public function getRole()
129  {
130    return $this->role;
131  }
132  /**
133   * @param Google_Service_Drive_PermissionTeamDrivePermissionDetails[]
134   */
135  public function setTeamDrivePermissionDetails($teamDrivePermissionDetails)
136  {
137    $this->teamDrivePermissionDetails = $teamDrivePermissionDetails;
138  }
139  /**
140   * @return Google_Service_Drive_PermissionTeamDrivePermissionDetails[]
141   */
142  public function getTeamDrivePermissionDetails()
143  {
144    return $this->teamDrivePermissionDetails;
145  }
146  public function setType($type)
147  {
148    $this->type = $type;
149  }
150  public function getType()
151  {
152    return $this->type;
153  }
154  public function setView($view)
155  {
156    $this->view = $view;
157  }
158  public function getView()
159  {
160    return $this->view;
161  }
162}
163