Skip to content

Commit bf0efc1

Browse files
author
Caitlin Bales (MSFT)
authored
Merge pull request #42 from microsoftgraph/september-updates
New models for September release
2 parents 0de5a44 + 9d34f7d commit bf0efc1

Some content is hidden

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

46 files changed

+4377
-12
lines changed

src/Model/BooleanColumn.php

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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+
* BooleanColumn File
6+
* PHP version 7
7+
*
8+
* @category Library
9+
* @package Microsoft.Graph
10+
* @copyright 2016 Microsoft Corporation
11+
* @license https://opensource.org/licenses/MIT MIT License
12+
* @version GIT: 0.1.0
13+
* @link https://graph.microsoft.io/
14+
*/
15+
namespace Microsoft\Graph\Model;
16+
/**
17+
* BooleanColumn class
18+
*
19+
* @category Model
20+
* @package Microsoft.Graph
21+
* @copyright 2016 Microsoft Corporation
22+
* @license https://opensource.org/licenses/MIT MIT License
23+
* @version Release: 0.1.0
24+
* @link https://graph.microsoft.io/
25+
*/
26+
class BooleanColumn extends Entity
27+
{
28+
}

src/Model/CalculatedColumn.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+
* CalculatedColumn File
6+
* PHP version 7
7+
*
8+
* @category Library
9+
* @package Microsoft.Graph
10+
* @copyright 2016 Microsoft Corporation
11+
* @license https://opensource.org/licenses/MIT MIT License
12+
* @version GIT: 0.1.0
13+
* @link https://graph.microsoft.io/
14+
*/
15+
namespace Microsoft\Graph\Model;
16+
/**
17+
* CalculatedColumn class
18+
*
19+
* @category Model
20+
* @package Microsoft.Graph
21+
* @copyright 2016 Microsoft Corporation
22+
* @license https://opensource.org/licenses/MIT MIT License
23+
* @version Release: 0.1.0
24+
* @link https://graph.microsoft.io/
25+
*/
26+
class CalculatedColumn extends Entity
27+
{
28+
/**
29+
* Gets the format
30+
*
31+
* @return string The format
32+
*/
33+
public function getFormat()
34+
{
35+
if (array_key_exists("format", $this->_propDict)) {
36+
return $this->_propDict["format"];
37+
} else {
38+
return null;
39+
}
40+
}
41+
42+
/**
43+
* Sets the format
44+
*
45+
* @param string $val The value of the format
46+
*
47+
* @return CalculatedColumn
48+
*/
49+
public function setFormat($val)
50+
{
51+
$this->_propDict["format"] = $val;
52+
return $this;
53+
}
54+
/**
55+
* Gets the formula
56+
*
57+
* @return string The formula
58+
*/
59+
public function getFormula()
60+
{
61+
if (array_key_exists("formula", $this->_propDict)) {
62+
return $this->_propDict["formula"];
63+
} else {
64+
return null;
65+
}
66+
}
67+
68+
/**
69+
* Sets the formula
70+
*
71+
* @param string $val The value of the formula
72+
*
73+
* @return CalculatedColumn
74+
*/
75+
public function setFormula($val)
76+
{
77+
$this->_propDict["formula"] = $val;
78+
return $this;
79+
}
80+
/**
81+
* Gets the outputType
82+
*
83+
* @return string The outputType
84+
*/
85+
public function getOutputType()
86+
{
87+
if (array_key_exists("outputType", $this->_propDict)) {
88+
return $this->_propDict["outputType"];
89+
} else {
90+
return null;
91+
}
92+
}
93+
94+
/**
95+
* Sets the outputType
96+
*
97+
* @param string $val The value of the outputType
98+
*
99+
* @return CalculatedColumn
100+
*/
101+
public function setOutputType($val)
102+
{
103+
$this->_propDict["outputType"] = $val;
104+
return $this;
105+
}
106+
}

src/Model/Calendar.php

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function setColor($val)
9090

9191
/**
9292
* Gets the changeKey
93-
* Identifies the version of the calendar object. Every time the calendar is changed, ChangeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only.
93+
* Identifies the version of the calendar object. Every time the calendar is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only.
9494
*
9595
* @return string The changeKey
9696
*/
@@ -105,7 +105,7 @@ public function getChangeKey()
105105

106106
/**
107107
* Sets the changeKey
108-
* Identifies the version of the calendar object. Every time the calendar is changed, ChangeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only.
108+
* Identifies the version of the calendar object. Every time the calendar is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only.
109109
*
110110
* @param string $val The changeKey
111111
*
@@ -119,6 +119,7 @@ public function setChangeKey($val)
119119

120120
/**
121121
* Gets the canShare
122+
* True if the user has the permission to share the calendar, false otherwise. Only the user who created the calendar can share it.
122123
*
123124
* @return bool The canShare
124125
*/
@@ -133,6 +134,7 @@ public function getCanShare()
133134

134135
/**
135136
* Sets the canShare
137+
* True if the user has the permission to share the calendar, false otherwise. Only the user who created the calendar can share it.
136138
*
137139
* @param bool $val The canShare
138140
*
@@ -146,6 +148,7 @@ public function setCanShare($val)
146148

147149
/**
148150
* Gets the canViewPrivateItems
151+
* True if the user can read calendar items that have been marked private, false otherwise.
149152
*
150153
* @return bool The canViewPrivateItems
151154
*/
@@ -160,6 +163,7 @@ public function getCanViewPrivateItems()
160163

161164
/**
162165
* Sets the canViewPrivateItems
166+
* True if the user can read calendar items that have been marked private, false otherwise.
163167
*
164168
* @param bool $val The canViewPrivateItems
165169
*
@@ -173,6 +177,7 @@ public function setCanViewPrivateItems($val)
173177

174178
/**
175179
* Gets the canEdit
180+
* True if the user can write to the calendar, false otherwise. This property is true for the user who created the calendar. This property is also true for a user who has been shared a calendar and granted write access.
176181
*
177182
* @return bool The canEdit
178183
*/
@@ -187,6 +192,7 @@ public function getCanEdit()
187192

188193
/**
189194
* Sets the canEdit
195+
* True if the user can write to the calendar, false otherwise. This property is true for the user who created the calendar. This property is also true for a user who has been shared a calendar and granted write access.
190196
*
191197
* @param bool $val The canEdit
192198
*
@@ -200,6 +206,7 @@ public function setCanEdit($val)
200206

201207
/**
202208
* Gets the owner
209+
* If set, this represents the user who created or added the calendar. For a calendar that the user created or added, the owner property is set to the user. For a calendar shared with the user, the owner property is set to the person who shared that calendar with the user.
203210
*
204211
* @return EmailAddress The owner
205212
*/
@@ -218,6 +225,7 @@ public function getOwner()
218225

219226
/**
220227
* Sets the owner
228+
* If set, this represents the user who created or added the calendar. For a calendar that the user created or added, the owner property is set to the user. For a calendar shared with the user, the owner property is set to the person who shared that calendar with the user.
221229
*
222230
* @param EmailAddress $val The owner
223231
*

src/Model/ChoiceColumn.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+
* ChoiceColumn File
6+
* PHP version 7
7+
*
8+
* @category Library
9+
* @package Microsoft.Graph
10+
* @copyright 2016 Microsoft Corporation
11+
* @license https://opensource.org/licenses/MIT MIT License
12+
* @version GIT: 0.1.0
13+
* @link https://graph.microsoft.io/
14+
*/
15+
namespace Microsoft\Graph\Model;
16+
/**
17+
* ChoiceColumn class
18+
*
19+
* @category Model
20+
* @package Microsoft.Graph
21+
* @copyright 2016 Microsoft Corporation
22+
* @license https://opensource.org/licenses/MIT MIT License
23+
* @version Release: 0.1.0
24+
* @link https://graph.microsoft.io/
25+
*/
26+
class ChoiceColumn extends Entity
27+
{
28+
/**
29+
* Gets the allowTextEntry
30+
*
31+
* @return bool The allowTextEntry
32+
*/
33+
public function getAllowTextEntry()
34+
{
35+
if (array_key_exists("allowTextEntry", $this->_propDict)) {
36+
return $this->_propDict["allowTextEntry"];
37+
} else {
38+
return null;
39+
}
40+
}
41+
42+
/**
43+
* Sets the allowTextEntry
44+
*
45+
* @param bool $val The value of the allowTextEntry
46+
*
47+
* @return ChoiceColumn
48+
*/
49+
public function setAllowTextEntry($val)
50+
{
51+
$this->_propDict["allowTextEntry"] = $val;
52+
return $this;
53+
}
54+
/**
55+
* Gets the choices
56+
*
57+
* @return string The choices
58+
*/
59+
public function getChoices()
60+
{
61+
if (array_key_exists("choices", $this->_propDict)) {
62+
return $this->_propDict["choices"];
63+
} else {
64+
return null;
65+
}
66+
}
67+
68+
/**
69+
* Sets the choices
70+
*
71+
* @param string $val The value of the choices
72+
*
73+
* @return ChoiceColumn
74+
*/
75+
public function setChoices($val)
76+
{
77+
$this->_propDict["choices"] = $val;
78+
return $this;
79+
}
80+
/**
81+
* Gets the displayAs
82+
*
83+
* @return string The displayAs
84+
*/
85+
public function getDisplayAs()
86+
{
87+
if (array_key_exists("displayAs", $this->_propDict)) {
88+
return $this->_propDict["displayAs"];
89+
} else {
90+
return null;
91+
}
92+
}
93+
94+
/**
95+
* Sets the displayAs
96+
*
97+
* @param string $val The value of the displayAs
98+
*
99+
* @return ChoiceColumn
100+
*/
101+
public function setDisplayAs($val)
102+
{
103+
$this->_propDict["displayAs"] = $val;
104+
return $this;
105+
}
106+
}

0 commit comments

Comments
 (0)