source: vendor/google/apiclient-services/src/Drive/ContentRestriction.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 2.8 KB
Line 
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 ContentRestriction extends \Google\Model
21{
22 /**
23 * @var bool
24 */
25 public $ownerRestricted;
26 /**
27 * @var bool
28 */
29 public $readOnly;
30 /**
31 * @var string
32 */
33 public $reason;
34 protected $restrictingUserType = User::class;
35 protected $restrictingUserDataType = '';
36 /**
37 * @var string
38 */
39 public $restrictionTime;
40 /**
41 * @var bool
42 */
43 public $systemRestricted;
44 /**
45 * @var string
46 */
47 public $type;
48
49 /**
50 * @param bool
51 */
52 public function setOwnerRestricted($ownerRestricted)
53 {
54 $this->ownerRestricted = $ownerRestricted;
55 }
56 /**
57 * @return bool
58 */
59 public function getOwnerRestricted()
60 {
61 return $this->ownerRestricted;
62 }
63 /**
64 * @param bool
65 */
66 public function setReadOnly($readOnly)
67 {
68 $this->readOnly = $readOnly;
69 }
70 /**
71 * @return bool
72 */
73 public function getReadOnly()
74 {
75 return $this->readOnly;
76 }
77 /**
78 * @param string
79 */
80 public function setReason($reason)
81 {
82 $this->reason = $reason;
83 }
84 /**
85 * @return string
86 */
87 public function getReason()
88 {
89 return $this->reason;
90 }
91 /**
92 * @param User
93 */
94 public function setRestrictingUser(User $restrictingUser)
95 {
96 $this->restrictingUser = $restrictingUser;
97 }
98 /**
99 * @return User
100 */
101 public function getRestrictingUser()
102 {
103 return $this->restrictingUser;
104 }
105 /**
106 * @param string
107 */
108 public function setRestrictionTime($restrictionTime)
109 {
110 $this->restrictionTime = $restrictionTime;
111 }
112 /**
113 * @return string
114 */
115 public function getRestrictionTime()
116 {
117 return $this->restrictionTime;
118 }
119 /**
120 * @param bool
121 */
122 public function setSystemRestricted($systemRestricted)
123 {
124 $this->systemRestricted = $systemRestricted;
125 }
126 /**
127 * @return bool
128 */
129 public function getSystemRestricted()
130 {
131 return $this->systemRestricted;
132 }
133 /**
134 * @param string
135 */
136 public function setType($type)
137 {
138 $this->type = $type;
139 }
140 /**
141 * @return string
142 */
143 public function getType()
144 {
145 return $this->type;
146 }
147}
148
149// Adding a class alias for backwards compatibility with the previous class name.
150class_alias(ContentRestriction::class, 'Google_Service_Drive_ContentRestriction');
Note: See TracBrowser for help on using the repository browser.