Skip to content

Commit ebb118e

Browse files
authored
Merge pull request #37 from microsoftgraph/dev
August Updates
2 parents 48ed5fe + e5e439f commit ebb118e

63 files changed

Lines changed: 1056 additions & 60 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/Core/GraphConstants.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ final class GraphConstants
2424
const REST_ENDPOINT = "https://graph.microsoft.com/";
2525

2626
// Define HTTP request constants
27-
const SDK_VERSION = "1.0.0";
27+
const SDK_VERSION = "1.0.3";
2828

2929
// Define error constants
3030
const MAX_PAGE_SIZE = 999;

src/Model/BaseItem.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ class BaseItem extends Entity
2828
{
2929
/**
3030
* Gets the createdBy
31+
* Identity of the user, device, or application which created the item. Read-only.
3132
*
3233
* @return IdentitySet The createdBy
3334
*/
@@ -46,6 +47,7 @@ public function getCreatedBy()
4647

4748
/**
4849
* Sets the createdBy
50+
* Identity of the user, device, or application which created the item. Read-only.
4951
*
5052
* @param IdentitySet $val The createdBy
5153
*
@@ -59,6 +61,7 @@ public function setCreatedBy($val)
5961

6062
/**
6163
* Gets the createdDateTime
64+
* Date and time of item creation. Read-only.
6265
*
6366
* @return \DateTime The createdDateTime
6467
*/
@@ -77,6 +80,7 @@ public function getCreatedDateTime()
7780

7881
/**
7982
* Sets the createdDateTime
83+
* Date and time of item creation. Read-only.
8084
*
8185
* @param \DateTime $val The createdDateTime
8286
*
@@ -117,6 +121,7 @@ public function setDescription($val)
117121

118122
/**
119123
* Gets the eTag
124+
* ETag for the item. Read-only.
120125
*
121126
* @return string The eTag
122127
*/
@@ -131,6 +136,7 @@ public function getETag()
131136

132137
/**
133138
* Sets the eTag
139+
* ETag for the item. Read-only.
134140
*
135141
* @param string $val The eTag
136142
*
@@ -144,6 +150,7 @@ public function setETag($val)
144150

145151
/**
146152
* Gets the lastModifiedBy
153+
* Identity of the user, device, and application which last modified the item. Read-only.
147154
*
148155
* @return IdentitySet The lastModifiedBy
149156
*/
@@ -162,6 +169,7 @@ public function getLastModifiedBy()
162169

163170
/**
164171
* Sets the lastModifiedBy
172+
* Identity of the user, device, and application which last modified the item. Read-only.
165173
*
166174
* @param IdentitySet $val The lastModifiedBy
167175
*
@@ -175,6 +183,7 @@ public function setLastModifiedBy($val)
175183

176184
/**
177185
* Gets the lastModifiedDateTime
186+
* Date and time the item was last modified. Read-only.
178187
*
179188
* @return \DateTime The lastModifiedDateTime
180189
*/
@@ -193,6 +202,7 @@ public function getLastModifiedDateTime()
193202

194203
/**
195204
* Sets the lastModifiedDateTime
205+
* Date and time the item was last modified. Read-only.
196206
*
197207
* @param \DateTime $val The lastModifiedDateTime
198208
*
@@ -206,6 +216,7 @@ public function setLastModifiedDateTime($val)
206216

207217
/**
208218
* Gets the name
219+
* The name of the item. Read-write.
209220
*
210221
* @return string The name
211222
*/
@@ -220,6 +231,7 @@ public function getName()
220231

221232
/**
222233
* Sets the name
234+
* The name of the item. Read-write.
223235
*
224236
* @param string $val The name
225237
*
@@ -233,6 +245,7 @@ public function setName($val)
233245

234246
/**
235247
* Gets the parentReference
248+
* Parent information, if the item has a parent. Read-write.
236249
*
237250
* @return ItemReference The parentReference
238251
*/
@@ -251,6 +264,7 @@ public function getParentReference()
251264

252265
/**
253266
* Sets the parentReference
267+
* Parent information, if the item has a parent. Read-write.
254268
*
255269
* @param ItemReference $val The parentReference
256270
*
@@ -264,6 +278,7 @@ public function setParentReference($val)
264278

265279
/**
266280
* Gets the webUrl
281+
* URL that displays the resource in the browser. Read-only.
267282
*
268283
* @return string The webUrl
269284
*/
@@ -278,6 +293,7 @@ public function getWebUrl()
278293

279294
/**
280295
* Sets the webUrl
296+
* URL that displays the resource in the browser. Read-only.
281297
*
282298
* @param string $val The webUrl
283299
*

src/Model/Calendar.php

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,118 @@ public function setChangeKey($val)
117117
return $this;
118118
}
119119

120+
/**
121+
* Gets the canShare
122+
*
123+
* @return bool The canShare
124+
*/
125+
public function getCanShare()
126+
{
127+
if (array_key_exists("canShare", $this->_propDict)) {
128+
return $this->_propDict["canShare"];
129+
} else {
130+
return null;
131+
}
132+
}
133+
134+
/**
135+
* Sets the canShare
136+
*
137+
* @param bool $val The canShare
138+
*
139+
* @return Calendar
140+
*/
141+
public function setCanShare($val)
142+
{
143+
$this->_propDict["canShare"] = boolval($val);
144+
return $this;
145+
}
146+
147+
/**
148+
* Gets the canViewPrivateItems
149+
*
150+
* @return bool The canViewPrivateItems
151+
*/
152+
public function getCanViewPrivateItems()
153+
{
154+
if (array_key_exists("canViewPrivateItems", $this->_propDict)) {
155+
return $this->_propDict["canViewPrivateItems"];
156+
} else {
157+
return null;
158+
}
159+
}
160+
161+
/**
162+
* Sets the canViewPrivateItems
163+
*
164+
* @param bool $val The canViewPrivateItems
165+
*
166+
* @return Calendar
167+
*/
168+
public function setCanViewPrivateItems($val)
169+
{
170+
$this->_propDict["canViewPrivateItems"] = boolval($val);
171+
return $this;
172+
}
173+
174+
/**
175+
* Gets the canEdit
176+
*
177+
* @return bool The canEdit
178+
*/
179+
public function getCanEdit()
180+
{
181+
if (array_key_exists("canEdit", $this->_propDict)) {
182+
return $this->_propDict["canEdit"];
183+
} else {
184+
return null;
185+
}
186+
}
187+
188+
/**
189+
* Sets the canEdit
190+
*
191+
* @param bool $val The canEdit
192+
*
193+
* @return Calendar
194+
*/
195+
public function setCanEdit($val)
196+
{
197+
$this->_propDict["canEdit"] = boolval($val);
198+
return $this;
199+
}
200+
201+
/**
202+
* Gets the owner
203+
*
204+
* @return EmailAddress The owner
205+
*/
206+
public function getOwner()
207+
{
208+
if (array_key_exists("owner", $this->_propDict)) {
209+
if (is_a($this->_propDict["owner"], "Microsoft\Graph\Model\EmailAddress")) {
210+
return $this->_propDict["owner"];
211+
} else {
212+
$this->_propDict["owner"] = new EmailAddress($this->_propDict["owner"]);
213+
return $this->_propDict["owner"];
214+
}
215+
}
216+
return null;
217+
}
218+
219+
/**
220+
* Sets the owner
221+
*
222+
* @param EmailAddress $val The owner
223+
*
224+
* @return Calendar
225+
*/
226+
public function setOwner($val)
227+
{
228+
$this->_propDict["owner"] = $val;
229+
return $this;
230+
}
231+
120232

121233
/**
122234
* Gets the events

src/Model/Device.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,7 @@ public function setRegisteredUsers($val)
527527

528528
/**
529529
* Gets the extensions
530+
* The collection of open extensions defined for the device. Read-only. Nullable.
530531
*
531532
* @return array The extensions
532533
*/
@@ -541,6 +542,7 @@ public function getExtensions()
541542

542543
/**
543544
* Sets the extensions
545+
* The collection of open extensions defined for the device. Read-only. Nullable.
544546
*
545547
* @param Extension $val The extensions
546548
*

0 commit comments

Comments
 (0)