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_Storage_BucketAccessControl extends Google_Model
19{
20  public $bucket;
21  public $domain;
22  public $email;
23  public $entity;
24  public $entityId;
25  public $etag;
26  public $id;
27  public $kind;
28  protected $projectTeamType = 'Google_Service_Storage_BucketAccessControlProjectTeam';
29  protected $projectTeamDataType = '';
30  public $role;
31  public $selfLink;
32
33  public function setBucket($bucket)
34  {
35    $this->bucket = $bucket;
36  }
37  public function getBucket()
38  {
39    return $this->bucket;
40  }
41  public function setDomain($domain)
42  {
43    $this->domain = $domain;
44  }
45  public function getDomain()
46  {
47    return $this->domain;
48  }
49  public function setEmail($email)
50  {
51    $this->email = $email;
52  }
53  public function getEmail()
54  {
55    return $this->email;
56  }
57  public function setEntity($entity)
58  {
59    $this->entity = $entity;
60  }
61  public function getEntity()
62  {
63    return $this->entity;
64  }
65  public function setEntityId($entityId)
66  {
67    $this->entityId = $entityId;
68  }
69  public function getEntityId()
70  {
71    return $this->entityId;
72  }
73  public function setEtag($etag)
74  {
75    $this->etag = $etag;
76  }
77  public function getEtag()
78  {
79    return $this->etag;
80  }
81  public function setId($id)
82  {
83    $this->id = $id;
84  }
85  public function getId()
86  {
87    return $this->id;
88  }
89  public function setKind($kind)
90  {
91    $this->kind = $kind;
92  }
93  public function getKind()
94  {
95    return $this->kind;
96  }
97  /**
98   * @param Google_Service_Storage_BucketAccessControlProjectTeam
99   */
100  public function setProjectTeam(Google_Service_Storage_BucketAccessControlProjectTeam $projectTeam)
101  {
102    $this->projectTeam = $projectTeam;
103  }
104  /**
105   * @return Google_Service_Storage_BucketAccessControlProjectTeam
106   */
107  public function getProjectTeam()
108  {
109    return $this->projectTeam;
110  }
111  public function setRole($role)
112  {
113    $this->role = $role;
114  }
115  public function getRole()
116  {
117    return $this->role;
118  }
119  public function setSelfLink($selfLink)
120  {
121    $this->selfLink = $selfLink;
122  }
123  public function getSelfLink()
124  {
125    return $this->selfLink;
126  }
127}
128