-
-
Notifications
You must be signed in to change notification settings - Fork 119
/
Copy pathContentType.php
166 lines (163 loc) · 3.37 KB
/
ContentType.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<?php
/**
* Modified: 2020-05-26T22:10:14+00:00
*/
namespace Office365\OneDrive\ContentTypes;
use Office365\Entity;
use Office365\OneDrive\ItemReference;
class ContentType extends Entity
{
/**
* @return string
*/
public function getDescription()
{
if (!$this->isPropertyAvailable("Description")) {
return null;
}
return $this->getProperty("Description");
}
/**
* @var string
*/
public function setDescription($value)
{
$this->setProperty("Description", $value, true);
}
/**
* @return string
*/
public function getGroup()
{
if (!$this->isPropertyAvailable("Group")) {
return null;
}
return $this->getProperty("Group");
}
/**
* @var string
*/
public function setGroup($value)
{
$this->setProperty("Group", $value, true);
}
/**
* @return bool
*/
public function getHidden()
{
if (!$this->isPropertyAvailable("Hidden")) {
return null;
}
return $this->getProperty("Hidden");
}
/**
* @var bool
*/
public function setHidden($value)
{
$this->setProperty("Hidden", $value, true);
}
/**
* @return string
*/
public function getName()
{
if (!$this->isPropertyAvailable("Name")) {
return null;
}
return $this->getProperty("Name");
}
/**
* @var string
*/
public function setName($value)
{
$this->setProperty("Name", $value, true);
}
/**
* @return string
*/
public function getParentId()
{
if (!$this->isPropertyAvailable("ParentId")) {
return null;
}
return $this->getProperty("ParentId");
}
/**
* @var string
*/
public function setParentId($value)
{
$this->setProperty("ParentId", $value, true);
}
/**
* @return bool
*/
public function getReadOnly()
{
if (!$this->isPropertyAvailable("ReadOnly")) {
return null;
}
return $this->getProperty("ReadOnly");
}
/**
* @var bool
*/
public function setReadOnly($value)
{
$this->setProperty("ReadOnly", $value, true);
}
/**
* @return bool
*/
public function getSealed()
{
if (!$this->isPropertyAvailable("Sealed")) {
return null;
}
return $this->getProperty("Sealed");
}
/**
* @var bool
*/
public function setSealed($value)
{
$this->setProperty("Sealed", $value, true);
}
/**
* @return ItemReference
*/
public function getInheritedFrom()
{
if (!$this->isPropertyAvailable("InheritedFrom")) {
return null;
}
return $this->getProperty("InheritedFrom");
}
/**
* @var ItemReference
*/
public function setInheritedFrom($value)
{
$this->setProperty("InheritedFrom", $value, true);
}
/**
* @return ContentTypeOrder
*/
public function getOrder()
{
if (!$this->isPropertyAvailable("Order")) {
return null;
}
return $this->getProperty("Order");
}
/**
* @var ContentTypeOrder
*/
public function setOrder($value)
{
$this->setProperty("Order", $value, true);
}
}