Skip to content

Commit 7518cbf

Browse files
October 2018 release
Added the ItemPreviewInfo type for use by DriveItem (#111)
1 parent 28d39b3 commit 7518cbf

File tree

3 files changed

+109
-3
lines changed

3 files changed

+109
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ You can install the PHP SDK with Composer, either run `composer require microsof
1111
```
1212
{
1313
"require": {
14-
"microsoft/microsoft-graph": "^1.0"
14+
"microsoft/microsoft-graph": "^1.5"
1515
}
1616
}
1717
```

src/Core/GraphConstants.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @category Library
1111
* @package Microsoft.Graph
12-
* @copyright 2016 Microsoft Corporation
12+
* @copyright 2018 Microsoft Corporation
1313
* @license https://opensource.org/licenses/MIT MIT License
1414
* @version GIT: 1.0.0
1515
* @link https://graph.microsoft.io/
@@ -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.4.0";
27+
const SDK_VERSION = "1.5.0";
2828

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

src/Model/ItemPreviewInfo.php

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
<?php
2+
/**
3+
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4+
*
5+
* ItemPreviewInfo File
6+
* PHP version 7
7+
*
8+
* @category Library
9+
* @package Microsoft.Graph
10+
* @copyright © Microsoft Corporation. All rights reserved.
11+
* @license https://opensource.org/licenses/MIT MIT License
12+
* @version GIT: 1.5.0
13+
* @link https://graph.microsoft.io/
14+
*/
15+
namespace Microsoft\Graph\Model;
16+
/**
17+
* ItemPreviewInfo class
18+
*
19+
* @category Model
20+
* @package Microsoft.Graph
21+
* @copyright © Microsoft Corporation. All rights reserved.
22+
* @license https://opensource.org/licenses/MIT MIT License
23+
* @version Release: 1.5.0
24+
* @link https://graph.microsoft.io/
25+
*/
26+
class ItemPreviewInfo extends Entity
27+
{
28+
/**
29+
* Gets the getUrl
30+
*
31+
* @return string The getUrl
32+
*/
33+
public function getGetUrl()
34+
{
35+
if (array_key_exists("getUrl", $this->_propDict)) {
36+
return $this->_propDict["getUrl"];
37+
} else {
38+
return null;
39+
}
40+
}
41+
42+
/**
43+
* Sets the getUrl
44+
*
45+
* @param string $val The value of the getUrl
46+
*
47+
* @return ItemPreviewInfo
48+
*/
49+
public function setGetUrl($val)
50+
{
51+
$this->_propDict["getUrl"] = $val;
52+
return $this;
53+
}
54+
/**
55+
* Gets the postParameters
56+
*
57+
* @return string The postParameters
58+
*/
59+
public function getPostParameters()
60+
{
61+
if (array_key_exists("postParameters", $this->_propDict)) {
62+
return $this->_propDict["postParameters"];
63+
} else {
64+
return null;
65+
}
66+
}
67+
68+
/**
69+
* Sets the postParameters
70+
*
71+
* @param string $val The value of the postParameters
72+
*
73+
* @return ItemPreviewInfo
74+
*/
75+
public function setPostParameters($val)
76+
{
77+
$this->_propDict["postParameters"] = $val;
78+
return $this;
79+
}
80+
/**
81+
* Gets the postUrl
82+
*
83+
* @return string The postUrl
84+
*/
85+
public function getPostUrl()
86+
{
87+
if (array_key_exists("postUrl", $this->_propDict)) {
88+
return $this->_propDict["postUrl"];
89+
} else {
90+
return null;
91+
}
92+
}
93+
94+
/**
95+
* Sets the postUrl
96+
*
97+
* @param string $val The value of the postUrl
98+
*
99+
* @return ItemPreviewInfo
100+
*/
101+
public function setPostUrl($val)
102+
{
103+
$this->_propDict["postUrl"] = $val;
104+
return $this;
105+
}
106+
}

0 commit comments

Comments
 (0)