1
0
Fork 0

Update libs

master
Brie Bruns 2023-01-17 14:04:15 -07:00
parent 32472f0e3f
commit 78300e183e
140 changed files with 6488 additions and 532 deletions

12
composer.lock generated
View File

@ -339,16 +339,16 @@
},
{
"name": "microsoft/microsoft-graph",
"version": "1.85.0",
"version": "1.86.0",
"source": {
"type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "e1759262669941873647d0036956239bffb06a2d"
"reference": "9cfeb800243ec46e44d63d88264e08cd7b289500"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/e1759262669941873647d0036956239bffb06a2d",
"reference": "e1759262669941873647d0036956239bffb06a2d",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/9cfeb800243ec46e44d63d88264e08cd7b289500",
"reference": "9cfeb800243ec46e44d63d88264e08cd7b289500",
"shasum": ""
},
"require": {
@ -384,9 +384,9 @@
"homepage": "https://developer.microsoft.com/en-us/graph",
"support": {
"issues": "https://github.com/microsoftgraph/msgraph-sdk-php/issues",
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.85.0"
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.86.0"
},
"time": "2023-01-07T04:00:48+00:00"
"time": "2023-01-17T11:44:36+00:00"
},
{
"name": "psr/http-client",

View File

@ -342,17 +342,17 @@
},
{
"name": "microsoft/microsoft-graph",
"version": "1.85.0",
"version_normalized": "1.85.0.0",
"version": "1.86.0",
"version_normalized": "1.86.0.0",
"source": {
"type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "e1759262669941873647d0036956239bffb06a2d"
"reference": "9cfeb800243ec46e44d63d88264e08cd7b289500"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/e1759262669941873647d0036956239bffb06a2d",
"reference": "e1759262669941873647d0036956239bffb06a2d",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/9cfeb800243ec46e44d63d88264e08cd7b289500",
"reference": "9cfeb800243ec46e44d63d88264e08cd7b289500",
"shasum": ""
},
"require": {
@ -366,7 +366,7 @@
"phpstan/phpstan": "^0.12.90 || ^1.0.0",
"phpunit/phpunit": "^8.0 || ^9.0"
},
"time": "2023-01-07T04:00:48+00:00",
"time": "2023-01-17T11:44:36+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@ -390,7 +390,7 @@
"homepage": "https://developer.microsoft.com/en-us/graph",
"support": {
"issues": "https://github.com/microsoftgraph/msgraph-sdk-php/issues",
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.85.0"
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.86.0"
},
"install-path": "../microsoft/microsoft-graph"
},

View File

@ -5,7 +5,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => '5f2f9d2c04ed3b9282e621ccde3b087a047b3c33',
'reference' => '32472f0e3f5c7ee046af63c46fec6f4c6fa0a4d2',
'name' => '__root__',
'dev' => true,
),
@ -16,7 +16,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => '5f2f9d2c04ed3b9282e621ccde3b087a047b3c33',
'reference' => '32472f0e3f5c7ee046af63c46fec6f4c6fa0a4d2',
'dev_requirement' => false,
),
'guzzlehttp/guzzle' => array(
@ -47,12 +47,12 @@
'dev_requirement' => false,
),
'microsoft/microsoft-graph' => array(
'pretty_version' => '1.85.0',
'version' => '1.85.0.0',
'pretty_version' => '1.86.0',
'version' => '1.86.0.0',
'type' => 'library',
'install_path' => __DIR__ . '/../microsoft/microsoft-graph',
'aliases' => array(),
'reference' => 'e1759262669941873647d0036956239bffb06a2d',
'reference' => '9cfeb800243ec46e44d63d88264e08cd7b289500',
'dev_requirement' => false,
),
'psr/http-client' => array(

View File

@ -11,7 +11,7 @@ You can install the PHP SDK with Composer, either run `composer require microsof
```
{
"require": {
"microsoft/microsoft-graph": "^1.85.0"
"microsoft/microsoft-graph": "^1.86.0"
}
}
```

View File

@ -0,0 +1,57 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AccountTargetContent File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* AccountTargetContent class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class AccountTargetContent extends Entity
{
/**
* Gets the type
*
* @return AccountTargetContentType|null The type
*/
public function getType()
{
if (array_key_exists("type", $this->_propDict)) {
if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\AccountTargetContentType") || is_null($this->_propDict["type"])) {
return $this->_propDict["type"];
} else {
$this->_propDict["type"] = new AccountTargetContentType($this->_propDict["type"]);
return $this->_propDict["type"];
}
}
return null;
}
/**
* Sets the type
*
* @param AccountTargetContentType $val The value to assign to the type
*
* @return AccountTargetContent The AccountTargetContent
*/
public function setType($val)
{
$this->_propDict["type"] = $val;
return $this;
}
}

View File

@ -0,0 +1,36 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AccountTargetContentType File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* AccountTargetContentType class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class AccountTargetContentType extends Enum
{
/**
* The Enum AccountTargetContentType
*/
const UNKNOWN = "unknown";
const INCLUDE_ALL = "includeAll";
const ADDRESS_BOOK = "addressBook";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,52 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AddressBookAccountTargetContent File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* AddressBookAccountTargetContent class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class AddressBookAccountTargetContent extends AccountTargetContent
{
/**
* Gets the accountTargetEmails
*
* @return string|null The accountTargetEmails
*/
public function getAccountTargetEmails()
{
if (array_key_exists("accountTargetEmails", $this->_propDict)) {
return $this->_propDict["accountTargetEmails"];
} else {
return null;
}
}
/**
* Sets the accountTargetEmails
*
* @param string $val The value of the accountTargetEmails
*
* @return AddressBookAccountTargetContent
*/
public function setAccountTargetEmails($val)
{
$this->_propDict["accountTargetEmails"] = $val;
return $this;
}
}

View File

@ -297,6 +297,35 @@ class AndroidDeviceOwnerEnrollmentProfile extends Entity
return $this;
}
/**
* Gets the isTeamsDeviceProfile
* Boolean indicating if this profile is an Android AOSP for Teams device profile.
*
* @return bool|null The isTeamsDeviceProfile
*/
public function getIsTeamsDeviceProfile()
{
if (array_key_exists("isTeamsDeviceProfile", $this->_propDict)) {
return $this->_propDict["isTeamsDeviceProfile"];
} else {
return null;
}
}
/**
* Sets the isTeamsDeviceProfile
* Boolean indicating if this profile is an Android AOSP for Teams device profile.
*
* @param bool $val The isTeamsDeviceProfile
*
* @return AndroidDeviceOwnerEnrollmentProfile
*/
public function setIsTeamsDeviceProfile($val)
{
$this->_propDict["isTeamsDeviceProfile"] = boolval($val);
return $this;
}
/**
* Gets the lastModifiedDateTime
* Date time the enrollment profile was last modified.

View File

@ -25,7 +25,7 @@ class AndroidMinimumOperatingSystem extends Entity
{
/**
* Gets the v10_0
* Version 10.0 or later.
* When TRUE, only Version 10.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v10_0
*/
@ -40,7 +40,7 @@ class AndroidMinimumOperatingSystem extends Entity
/**
* Sets the v10_0
* Version 10.0 or later.
* When TRUE, only Version 10.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v10_0
*
@ -53,7 +53,7 @@ class AndroidMinimumOperatingSystem extends Entity
}
/**
* Gets the v11_0
* Version 11.0 or later.
* When TRUE, only Version 11.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v11_0
*/
@ -68,7 +68,7 @@ class AndroidMinimumOperatingSystem extends Entity
/**
* Sets the v11_0
* Version 11.0 or later.
* When TRUE, only Version 11.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v11_0
*
@ -81,7 +81,7 @@ class AndroidMinimumOperatingSystem extends Entity
}
/**
* Gets the v4_0
* Version 4.0 or later.
* When TRUE, only Version 4.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v4_0
*/
@ -96,7 +96,7 @@ class AndroidMinimumOperatingSystem extends Entity
/**
* Sets the v4_0
* Version 4.0 or later.
* When TRUE, only Version 4.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v4_0
*
@ -109,7 +109,7 @@ class AndroidMinimumOperatingSystem extends Entity
}
/**
* Gets the v4_0_3
* Version 4.0.3 or later.
* When TRUE, only Version 4.0.3 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v4_0_3
*/
@ -124,7 +124,7 @@ class AndroidMinimumOperatingSystem extends Entity
/**
* Sets the v4_0_3
* Version 4.0.3 or later.
* When TRUE, only Version 4.0.3 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v4_0_3
*
@ -137,7 +137,7 @@ class AndroidMinimumOperatingSystem extends Entity
}
/**
* Gets the v4_1
* Version 4.1 or later.
* When TRUE, only Version 4.1 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v4_1
*/
@ -152,7 +152,7 @@ class AndroidMinimumOperatingSystem extends Entity
/**
* Sets the v4_1
* Version 4.1 or later.
* When TRUE, only Version 4.1 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v4_1
*
@ -165,7 +165,7 @@ class AndroidMinimumOperatingSystem extends Entity
}
/**
* Gets the v4_2
* Version 4.2 or later.
* When TRUE, only Version 4.2 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v4_2
*/
@ -180,7 +180,7 @@ class AndroidMinimumOperatingSystem extends Entity
/**
* Sets the v4_2
* Version 4.2 or later.
* When TRUE, only Version 4.2 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v4_2
*
@ -193,7 +193,7 @@ class AndroidMinimumOperatingSystem extends Entity
}
/**
* Gets the v4_3
* Version 4.3 or later.
* When TRUE, only Version 4.3 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v4_3
*/
@ -208,7 +208,7 @@ class AndroidMinimumOperatingSystem extends Entity
/**
* Sets the v4_3
* Version 4.3 or later.
* When TRUE, only Version 4.3 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v4_3
*
@ -221,7 +221,7 @@ class AndroidMinimumOperatingSystem extends Entity
}
/**
* Gets the v4_4
* Version 4.4 or later.
* When TRUE, only Version 4.4 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v4_4
*/
@ -236,7 +236,7 @@ class AndroidMinimumOperatingSystem extends Entity
/**
* Sets the v4_4
* Version 4.4 or later.
* When TRUE, only Version 4.4 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v4_4
*
@ -249,7 +249,7 @@ class AndroidMinimumOperatingSystem extends Entity
}
/**
* Gets the v5_0
* Version 5.0 or later.
* When TRUE, only Version 5.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v5_0
*/
@ -264,7 +264,7 @@ class AndroidMinimumOperatingSystem extends Entity
/**
* Sets the v5_0
* Version 5.0 or later.
* When TRUE, only Version 5.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v5_0
*
@ -277,7 +277,7 @@ class AndroidMinimumOperatingSystem extends Entity
}
/**
* Gets the v5_1
* Version 5.1 or later.
* When TRUE, only Version 5.1 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v5_1
*/
@ -292,7 +292,7 @@ class AndroidMinimumOperatingSystem extends Entity
/**
* Sets the v5_1
* Version 5.1 or later.
* When TRUE, only Version 5.1 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v5_1
*
@ -305,7 +305,7 @@ class AndroidMinimumOperatingSystem extends Entity
}
/**
* Gets the v6_0
* Version 6.0 or later.
* When TRUE, only Version 6.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v6_0
*/
@ -320,7 +320,7 @@ class AndroidMinimumOperatingSystem extends Entity
/**
* Sets the v6_0
* Version 6.0 or later.
* When TRUE, only Version 6.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v6_0
*
@ -333,7 +333,7 @@ class AndroidMinimumOperatingSystem extends Entity
}
/**
* Gets the v7_0
* Version 7.0 or later.
* When TRUE, only Version 7.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v7_0
*/
@ -348,7 +348,7 @@ class AndroidMinimumOperatingSystem extends Entity
/**
* Sets the v7_0
* Version 7.0 or later.
* When TRUE, only Version 7.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v7_0
*
@ -361,7 +361,7 @@ class AndroidMinimumOperatingSystem extends Entity
}
/**
* Gets the v7_1
* Version 7.1 or later.
* When TRUE, only Version 7.1 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v7_1
*/
@ -376,7 +376,7 @@ class AndroidMinimumOperatingSystem extends Entity
/**
* Sets the v7_1
* Version 7.1 or later.
* When TRUE, only Version 7.1 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v7_1
*
@ -389,7 +389,7 @@ class AndroidMinimumOperatingSystem extends Entity
}
/**
* Gets the v8_0
* Version 8.0 or later.
* When TRUE, only Version 8.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v8_0
*/
@ -404,7 +404,7 @@ class AndroidMinimumOperatingSystem extends Entity
/**
* Sets the v8_0
* Version 8.0 or later.
* When TRUE, only Version 8.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v8_0
*
@ -417,7 +417,7 @@ class AndroidMinimumOperatingSystem extends Entity
}
/**
* Gets the v8_1
* Version 8.1 or later.
* When TRUE, only Version 8.1 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v8_1
*/
@ -432,7 +432,7 @@ class AndroidMinimumOperatingSystem extends Entity
/**
* Sets the v8_1
* Version 8.1 or later.
* When TRUE, only Version 8.1 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v8_1
*
@ -445,7 +445,7 @@ class AndroidMinimumOperatingSystem extends Entity
}
/**
* Gets the v9_0
* Version 9.0 or later.
* When TRUE, only Version 9.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v9_0
*/
@ -460,7 +460,7 @@ class AndroidMinimumOperatingSystem extends Entity
/**
* Sets the v9_0
* Version 9.0 or later.
* When TRUE, only Version 9.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v9_0
*

View File

@ -0,0 +1,34 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AssignmentScheduleFilterByCurrentUserOptions File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* AssignmentScheduleFilterByCurrentUserOptions class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class AssignmentScheduleFilterByCurrentUserOptions extends Enum
{
/**
* The Enum AssignmentScheduleFilterByCurrentUserOptions
*/
const PRINCIPAL = "principal";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,34 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AssignmentScheduleInstanceFilterByCurrentUserOptions File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* AssignmentScheduleInstanceFilterByCurrentUserOptions class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class AssignmentScheduleInstanceFilterByCurrentUserOptions extends Enum
{
/**
* The Enum AssignmentScheduleInstanceFilterByCurrentUserOptions
*/
const PRINCIPAL = "principal";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,36 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AssignmentScheduleRequestFilterByCurrentUserOptions File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* AssignmentScheduleRequestFilterByCurrentUserOptions class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class AssignmentScheduleRequestFilterByCurrentUserOptions extends Enum
{
/**
* The Enum AssignmentScheduleRequestFilterByCurrentUserOptions
*/
const PRINCIPAL = "principal";
const CREATED_BY = "createdBy";
const APPROVER = "approver";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,112 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AttackSimulationOperation File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* AttackSimulationOperation class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class AttackSimulationOperation extends LongRunningOperation
{
/**
* Gets the percentageCompleted
*
* @return int|null The percentageCompleted
*/
public function getPercentageCompleted()
{
if (array_key_exists("percentageCompleted", $this->_propDict)) {
return $this->_propDict["percentageCompleted"];
} else {
return null;
}
}
/**
* Sets the percentageCompleted
*
* @param int $val The percentageCompleted
*
* @return AttackSimulationOperation
*/
public function setPercentageCompleted($val)
{
$this->_propDict["percentageCompleted"] = intval($val);
return $this;
}
/**
* Gets the tenantId
*
* @return string|null The tenantId
*/
public function getTenantId()
{
if (array_key_exists("tenantId", $this->_propDict)) {
return $this->_propDict["tenantId"];
} else {
return null;
}
}
/**
* Sets the tenantId
*
* @param string $val The tenantId
*
* @return AttackSimulationOperation
*/
public function setTenantId($val)
{
$this->_propDict["tenantId"] = $val;
return $this;
}
/**
* Gets the type
*
* @return AttackSimulationOperationType|null The type
*/
public function getType()
{
if (array_key_exists("type", $this->_propDict)) {
if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\AttackSimulationOperationType") || is_null($this->_propDict["type"])) {
return $this->_propDict["type"];
} else {
$this->_propDict["type"] = new AttackSimulationOperationType($this->_propDict["type"]);
return $this->_propDict["type"];
}
}
return null;
}
/**
* Sets the type
*
* @param AttackSimulationOperationType $val The type
*
* @return AttackSimulationOperation
*/
public function setType($val)
{
$this->_propDict["type"] = $val;
return $this;
}
}

View File

@ -0,0 +1,35 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AttackSimulationOperationType File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* AttackSimulationOperationType class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class AttackSimulationOperationType extends Enum
{
/**
* The Enum AttackSimulationOperationType
*/
const CREATE_SIMUALATION = "createSimualation";
const UPDATE_SIMULATION = "updateSimulation";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -25,6 +25,62 @@ namespace Beta\Microsoft\Graph\Model;
class AttackSimulationRoot extends Entity
{
/**
* Gets the operations
*
* @return array|null The operations
*/
public function getOperations()
{
if (array_key_exists("operations", $this->_propDict)) {
return $this->_propDict["operations"];
} else {
return null;
}
}
/**
* Sets the operations
*
* @param AttackSimulationOperation[] $val The operations
*
* @return AttackSimulationRoot
*/
public function setOperations($val)
{
$this->_propDict["operations"] = $val;
return $this;
}
/**
* Gets the payloads
*
* @return array|null The payloads
*/
public function getPayloads()
{
if (array_key_exists("payloads", $this->_propDict)) {
return $this->_propDict["payloads"];
} else {
return null;
}
}
/**
* Sets the payloads
*
* @param Payload[] $val The payloads
*
* @return AttackSimulationRoot
*/
public function setPayloads($val)
{
$this->_propDict["payloads"] = $val;
return $this;
}
/**
* Gets the simulationAutomations
* Represents simulation automation created to run on a tenant.

View File

@ -109,32 +109,4 @@ class AuthenticationEventListener extends Entity
return $this;
}
/**
* Gets the tags
*
* @return array|null The tags
*/
public function getTags()
{
if (array_key_exists("tags", $this->_propDict)) {
return $this->_propDict["tags"];
} else {
return null;
}
}
/**
* Sets the tags
*
* @param KeyValuePair[] $val The tags
*
* @return AuthenticationEventListener
*/
public function setTags($val)
{
$this->_propDict["tags"] = $val;
return $this;
}
}

View File

@ -111,6 +111,37 @@ class BookingStaffMember extends BookingPerson
return $this;
}
/**
* Gets the membershipStatus
*
* @return BookingStaffMembershipStatus|null The membershipStatus
*/
public function getMembershipStatus()
{
if (array_key_exists("membershipStatus", $this->_propDict)) {
if (is_a($this->_propDict["membershipStatus"], "\Beta\Microsoft\Graph\Model\BookingStaffMembershipStatus") || is_null($this->_propDict["membershipStatus"])) {
return $this->_propDict["membershipStatus"];
} else {
$this->_propDict["membershipStatus"] = new BookingStaffMembershipStatus($this->_propDict["membershipStatus"]);
return $this->_propDict["membershipStatus"];
}
}
return null;
}
/**
* Sets the membershipStatus
*
* @param BookingStaffMembershipStatus $val The membershipStatus
*
* @return BookingStaffMember
*/
public function setMembershipStatus($val)
{
$this->_propDict["membershipStatus"] = $val;
return $this;
}
/**
* Gets the role
* The role of the staff member in the business. Possible values are: guest, administrator, viewer, externalGuest, unknownFutureValue, scheduler, teamMember. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: scheduler, teamMember. Required.

View File

@ -0,0 +1,36 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* BookingStaffMembershipStatus File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* BookingStaffMembershipStatus class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class BookingStaffMembershipStatus extends Enum
{
/**
* The Enum BookingStaffMembershipStatus
*/
const ACTIVE = "active";
const PENDING_ACCEPTANCE = "pendingAcceptance";
const REJECTED_BY_STAFF = "rejectedByStaff";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -26,6 +26,7 @@ class BusinessScenario extends Entity
{
/**
* Gets the createdBy
* The identity of the user who created the scenario.
*
* @return IdentitySet|null The createdBy
*/
@ -44,6 +45,7 @@ class BusinessScenario extends Entity
/**
* Sets the createdBy
* The identity of the user who created the scenario.
*
* @param IdentitySet $val The createdBy
*
@ -57,6 +59,7 @@ class BusinessScenario extends Entity
/**
* Gets the createdDateTime
* The date and time when the scenario was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @return \DateTime|null The createdDateTime
*/
@ -75,6 +78,7 @@ class BusinessScenario extends Entity
/**
* Sets the createdDateTime
* The date and time when the scenario was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @param \DateTime $val The createdDateTime
*
@ -88,6 +92,7 @@ class BusinessScenario extends Entity
/**
* Gets the displayName
* Display name of the scenario.
*
* @return string|null The displayName
*/
@ -102,6 +107,7 @@ class BusinessScenario extends Entity
/**
* Sets the displayName
* Display name of the scenario.
*
* @param string $val The displayName
*
@ -115,6 +121,7 @@ class BusinessScenario extends Entity
/**
* Gets the lastModifiedBy
* The identity of the user who last modified the scenario.
*
* @return IdentitySet|null The lastModifiedBy
*/
@ -133,6 +140,7 @@ class BusinessScenario extends Entity
/**
* Sets the lastModifiedBy
* The identity of the user who last modified the scenario.
*
* @param IdentitySet $val The lastModifiedBy
*
@ -146,6 +154,7 @@ class BusinessScenario extends Entity
/**
* Gets the lastModifiedDateTime
* The date and time when the scenario was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @return \DateTime|null The lastModifiedDateTime
*/
@ -164,6 +173,7 @@ class BusinessScenario extends Entity
/**
* Sets the lastModifiedDateTime
* The date and time when the scenario was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @param \DateTime $val The lastModifiedDateTime
*
@ -177,6 +187,7 @@ class BusinessScenario extends Entity
/**
* Gets the ownerAppIds
* Identifiers of applications that are authorized to work with this scenario.
*
* @return array|null The ownerAppIds
*/
@ -191,6 +202,7 @@ class BusinessScenario extends Entity
/**
* Sets the ownerAppIds
* Identifiers of applications that are authorized to work with this scenario.
*
* @param string[] $val The ownerAppIds
*
@ -204,6 +216,7 @@ class BusinessScenario extends Entity
/**
* Gets the uniqueName
* Unique name of the scenario. To avoid conflicts, the recommended value for the unique name is a reverse domain name format, owned by the author of the scenario. For example, a scenario authored by Contoso.com would have a unique name that starts with com.contoso.
*
* @return string|null The uniqueName
*/
@ -218,6 +231,7 @@ class BusinessScenario extends Entity
/**
* Sets the uniqueName
* Unique name of the scenario. To avoid conflicts, the recommended value for the unique name is a reverse domain name format, owned by the author of the scenario. For example, a scenario authored by Contoso.com would have a unique name that starts with com.contoso.
*
* @param string $val The uniqueName
*
@ -231,6 +245,7 @@ class BusinessScenario extends Entity
/**
* Gets the planner
* Planner content related to the scenario.
*
* @return BusinessScenarioPlanner|null The planner
*/
@ -249,6 +264,7 @@ class BusinessScenario extends Entity
/**
* Sets the planner
* Planner content related to the scenario.
*
* @param BusinessScenarioPlanner $val The planner
*

View File

@ -36,6 +36,7 @@ class BusinessScenarioGroupTarget extends BusinessScenarioTaskTargetBase
/**
* Gets the groupId
* The unique identifier for the group.
*
* @return string|null The groupId
*/
@ -50,6 +51,7 @@ class BusinessScenarioGroupTarget extends BusinessScenarioTaskTargetBase
/**
* Sets the groupId
* The unique identifier for the group.
*
* @param string $val The value of the groupId
*

View File

@ -26,6 +26,7 @@ class BusinessScenarioPlanReference extends Entity
{
/**
* Gets the title
* The title property of the plannerPlan.
*
* @return string|null The title
*/
@ -40,6 +41,7 @@ class BusinessScenarioPlanReference extends Entity
/**
* Sets the title
* The title property of the plannerPlan.
*
* @param string $val The title
*

View File

@ -26,6 +26,7 @@ class BusinessScenarioPlanner extends Entity
{
/**
* Gets the planConfiguration
* The configuration of Planner plans that will be created for the scenario.
*
* @return PlannerPlanConfiguration|null The planConfiguration
*/
@ -44,6 +45,7 @@ class BusinessScenarioPlanner extends Entity
/**
* Sets the planConfiguration
* The configuration of Planner plans that will be created for the scenario.
*
* @param PlannerPlanConfiguration $val The planConfiguration
*
@ -57,6 +59,7 @@ class BusinessScenarioPlanner extends Entity
/**
* Gets the taskConfiguration
* The configuration of Planner tasks that will be created for the scenario.
*
* @return PlannerTaskConfiguration|null The taskConfiguration
*/
@ -75,6 +78,7 @@ class BusinessScenarioPlanner extends Entity
/**
* Sets the taskConfiguration
* The configuration of Planner tasks that will be created for the scenario.
*
* @param PlannerTaskConfiguration $val The taskConfiguration
*
@ -89,6 +93,7 @@ class BusinessScenarioPlanner extends Entity
/**
* Gets the tasks
* The Planner tasks for the scenario.
*
* @return array|null The tasks
*/
@ -103,6 +108,7 @@ class BusinessScenarioPlanner extends Entity
/**
* Sets the tasks
* The Planner tasks for the scenario.
*
* @param BusinessScenarioTask[] $val The tasks
*

View File

@ -25,6 +25,7 @@ class BusinessScenarioProperties extends Entity
{
/**
* Gets the externalBucketId
* The identifier for the bucketDefinition configured in the plannerPlanConfiguration for the scenario. The task will be placed in the corresponding plannerBucket in the target plan. Required.
*
* @return string|null The externalBucketId
*/
@ -39,6 +40,7 @@ class BusinessScenarioProperties extends Entity
/**
* Sets the externalBucketId
* The identifier for the bucketDefinition configured in the plannerPlanConfiguration for the scenario. The task will be placed in the corresponding plannerBucket in the target plan. Required.
*
* @param string $val The value of the externalBucketId
*
@ -51,6 +53,7 @@ class BusinessScenarioProperties extends Entity
}
/**
* Gets the externalContextId
* The identifier for the context of the task. Context is an application controlled value, and tasks can be queried by their externalContextId. Optional.
*
* @return string|null The externalContextId
*/
@ -65,6 +68,7 @@ class BusinessScenarioProperties extends Entity
/**
* Sets the externalContextId
* The identifier for the context of the task. Context is an application controlled value, and tasks can be queried by their externalContextId. Optional.
*
* @param string $val The value of the externalContextId
*
@ -77,6 +81,7 @@ class BusinessScenarioProperties extends Entity
}
/**
* Gets the externalObjectId
* Application-specific identifier for the task. Every task for the same scenario must have a unique identifier specified for this property. Required.
*
* @return string|null The externalObjectId
*/
@ -91,6 +96,7 @@ class BusinessScenarioProperties extends Entity
/**
* Sets the externalObjectId
* Application-specific identifier for the task. Every task for the same scenario must have a unique identifier specified for this property. Required.
*
* @param string $val The value of the externalObjectId
*
@ -103,6 +109,7 @@ class BusinessScenarioProperties extends Entity
}
/**
* Gets the externalObjectVersion
* Application-specific version of the task. Optional.
*
* @return string|null The externalObjectVersion
*/
@ -117,6 +124,7 @@ class BusinessScenarioProperties extends Entity
/**
* Sets the externalObjectVersion
* Application-specific version of the task. Optional.
*
* @param string $val The value of the externalObjectVersion
*
@ -129,6 +137,7 @@ class BusinessScenarioProperties extends Entity
}
/**
* Gets the webUrl
* The URL to the application-specific experience for this task. Optional.
*
* @return string|null The webUrl
*/
@ -143,6 +152,7 @@ class BusinessScenarioProperties extends Entity
/**
* Sets the webUrl
* The URL to the application-specific experience for this task. Optional.
*
* @param string $val The value of the webUrl
*

View File

@ -26,6 +26,7 @@ class BusinessScenarioTask extends PlannerTask
{
/**
* Gets the businessScenarioProperties
* Scenario-specific properties of the task. externalObjectId and externalBucketId properties must be specified when creating a task.
*
* @return BusinessScenarioProperties|null The businessScenarioProperties
*/
@ -44,6 +45,7 @@ class BusinessScenarioTask extends PlannerTask
/**
* Sets the businessScenarioProperties
* Scenario-specific properties of the task. externalObjectId and externalBucketId properties must be specified when creating a task.
*
* @param BusinessScenarioProperties $val The businessScenarioProperties
*
@ -57,6 +59,7 @@ class BusinessScenarioTask extends PlannerTask
/**
* Gets the target
* Target of the task that specifies where the task should be placed. Must be specified when creating a task.
*
* @return BusinessScenarioTaskTargetBase|null The target
*/
@ -75,6 +78,7 @@ class BusinessScenarioTask extends PlannerTask
/**
* Sets the target
* Target of the task that specifies where the task should be placed. Must be specified when creating a task.
*
* @param BusinessScenarioTaskTargetBase $val The target
*

View File

@ -26,6 +26,7 @@ class BusinessScenarioTaskTargetBase extends Entity
/**
* Gets the taskTargetKind
* Represents the kind of the target. The possible values are: group, unknownFutureValue.
*
* @return PlannerTaskTargetKind|null The taskTargetKind
*/
@ -44,6 +45,7 @@ class BusinessScenarioTaskTargetBase extends Entity
/**
* Sets the taskTargetKind
* Represents the kind of the target. The possible values are: group, unknownFutureValue.
*
* @param PlannerTaskTargetKind $val The value to assign to the taskTargetKind
*

View File

@ -26,7 +26,7 @@ class CloudPcExportJob extends Entity
{
/**
* Gets the expirationDateTime
* The date time when the export job expires.
* The date and time when the export job expires.
*
* @return \DateTime|null The expirationDateTime
*/
@ -45,7 +45,7 @@ class CloudPcExportJob extends Entity
/**
* Sets the expirationDateTime
* The date time when the export job expires.
* The date and time when the export job expires.
*
* @param \DateTime $val The expirationDateTime
*
@ -59,7 +59,7 @@ class CloudPcExportJob extends Entity
/**
* Gets the exportJobStatus
* The status of the export job.The possible values are: notStarted, inProgress, completed, unknownFutureValue. Read-only.
* The status of the export job. The possible values are: notStarted, inProgress, completed, unknownFutureValue. Read-only.
*
* @return CloudPcExportJobStatus|null The exportJobStatus
*/
@ -78,7 +78,7 @@ class CloudPcExportJob extends Entity
/**
* Sets the exportJobStatus
* The status of the export job.The possible values are: notStarted, inProgress, completed, unknownFutureValue. Read-only.
* The status of the export job. The possible values are: notStarted, inProgress, completed, unknownFutureValue. Read-only.
*
* @param CloudPcExportJobStatus $val The exportJobStatus
*
@ -92,7 +92,7 @@ class CloudPcExportJob extends Entity
/**
* Gets the exportUrl
* The storage account url of the exported report, it can be used to download the file.
* The storage account URL of the exported report. It can be used to download the file.
*
* @return string|null The exportUrl
*/
@ -107,7 +107,7 @@ class CloudPcExportJob extends Entity
/**
* Sets the exportUrl
* The storage account url of the exported report, it can be used to download the file.
* The storage account URL of the exported report. It can be used to download the file.
*
* @param string $val The exportUrl
*
@ -179,7 +179,7 @@ class CloudPcExportJob extends Entity
/**
* Gets the reportName
* The report name.The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, unknownFutureValue.
* The report name. The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, unknownFutureValue.
*
* @return CloudPcReportName|null The reportName
*/
@ -198,7 +198,7 @@ class CloudPcExportJob extends Entity
/**
* Sets the reportName
* The report name.The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, unknownFutureValue.
* The report name. The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, unknownFutureValue.
*
* @param CloudPcReportName $val The reportName
*
@ -212,7 +212,7 @@ class CloudPcExportJob extends Entity
/**
* Gets the requestDateTime
* The date time when the export job was requested.
* The date and time when the export job was requested.
*
* @return \DateTime|null The requestDateTime
*/
@ -231,7 +231,7 @@ class CloudPcExportJob extends Entity
/**
* Sets the requestDateTime
* The date time when the export job was requested.
* The date and time when the export job was requested.
*
* @param \DateTime $val The requestDateTime
*

View File

@ -266,7 +266,7 @@ class CloudPcOnPremisesConnection extends Entity
/**
* Gets the managedBy
* Specifies which services manage the Azure network connection. Possible values are: windows365, devBox, unknownFutureValue. Read-only.
* Specifies which services manage the Azure network connection. Possible values are: windows365, devBox, rpaBox, unknownFutureValue. Read-only.
*
* @return CloudPcManagementService|null The managedBy
*/
@ -285,7 +285,7 @@ class CloudPcOnPremisesConnection extends Entity
/**
* Sets the managedBy
* Specifies which services manage the Azure network connection. Possible values are: windows365, devBox, unknownFutureValue. Read-only.
* Specifies which services manage the Azure network connection. Possible values are: windows365, devBox, rpaBox, unknownFutureValue. Read-only.
*
* @param CloudPcManagementService $val The managedBy
*

View File

@ -351,7 +351,7 @@ class CloudPcProvisioningPolicy extends Entity
/**
* Gets the managedBy
* Specifies which services manage the Azure network connection. Possible values are: windows365, devBox, unknownFutureValue. Read-only.
* Specifies which services manage the Azure network connection. Possible values are: windows365, devBox, rpaBox, unknownFutureValue. Read-only.
*
* @return CloudPcManagementService|null The managedBy
*/
@ -370,7 +370,7 @@ class CloudPcProvisioningPolicy extends Entity
/**
* Sets the managedBy
* Specifies which services manage the Azure network connection. Possible values are: windows365, devBox, unknownFutureValue. Read-only.
* Specifies which services manage the Azure network connection. Possible values are: windows365, devBox, rpaBox, unknownFutureValue. Read-only.
*
* @param CloudPcManagementService $val The managedBy
*

View File

@ -55,6 +55,7 @@ class CloudPcSupportedRegion extends Entity
/**
* Gets the regionGroup
* The geographic group this region belongs to. Multiple regions can belong to one region group. For example, the europeUnion region group contains the Northern Europe and Western Europe regions. A customer can select a region group when provisioning a Cloud PC; however, the Cloud PC will be put under one of the regions under the group based on resource capacity. The region with more quota will be chosen. Possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, norway, switzerlandsouthKorea, unknownFutureValue. Read-only.
*
* @return CloudPcRegionGroup|null The regionGroup
*/
@ -73,6 +74,7 @@ class CloudPcSupportedRegion extends Entity
/**
* Sets the regionGroup
* The geographic group this region belongs to. Multiple regions can belong to one region group. For example, the europeUnion region group contains the Northern Europe and Western Europe regions. A customer can select a region group when provisioning a Cloud PC; however, the Cloud PC will be put under one of the regions under the group based on resource capacity. The region with more quota will be chosen. Possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, norway, switzerlandsouthKorea, unknownFutureValue. Read-only.
*
* @param CloudPcRegionGroup $val The regionGroup
*
@ -119,7 +121,7 @@ class CloudPcSupportedRegion extends Entity
/**
* Gets the supportedSolution
* The supported service or solution for the region. The possible values are: windows365, devBox, unknownFutureValue. Read-only.
* The supported service or solution for the region. The possible values are: windows365, devBox, rpaBox, unknownFutureValue. Read-only.
*
* @return CloudPcManagementService|null The supportedSolution
*/
@ -138,7 +140,7 @@ class CloudPcSupportedRegion extends Entity
/**
* Sets the supportedSolution
* The supported service or solution for the region. The possible values are: windows365, devBox, unknownFutureValue. Read-only.
* The supported service or solution for the region. The possible values are: windows365, devBox, rpaBox, unknownFutureValue. Read-only.
*
* @param CloudPcManagementService $val The supportedSolution
*

View File

@ -0,0 +1,109 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CoachmarkLocation File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* CoachmarkLocation class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class CoachmarkLocation extends Entity
{
/**
* Gets the length
*
* @return int|null The length
*/
public function getLength()
{
if (array_key_exists("length", $this->_propDict)) {
return $this->_propDict["length"];
} else {
return null;
}
}
/**
* Sets the length
*
* @param int $val The value of the length
*
* @return CoachmarkLocation
*/
public function setLength($val)
{
$this->_propDict["length"] = $val;
return $this;
}
/**
* Gets the offset
*
* @return int|null The offset
*/
public function getOffset()
{
if (array_key_exists("offset", $this->_propDict)) {
return $this->_propDict["offset"];
} else {
return null;
}
}
/**
* Sets the offset
*
* @param int $val The value of the offset
*
* @return CoachmarkLocation
*/
public function setOffset($val)
{
$this->_propDict["offset"] = $val;
return $this;
}
/**
* Gets the type
*
* @return CoachmarkLocationType|null The type
*/
public function getType()
{
if (array_key_exists("type", $this->_propDict)) {
if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\CoachmarkLocationType") || is_null($this->_propDict["type"])) {
return $this->_propDict["type"];
} else {
$this->_propDict["type"] = new CoachmarkLocationType($this->_propDict["type"]);
return $this->_propDict["type"];
}
}
return null;
}
/**
* Sets the type
*
* @param CoachmarkLocationType $val The value to assign to the type
*
* @return CoachmarkLocation The CoachmarkLocation
*/
public function setType($val)
{
$this->_propDict["type"] = $val;
return $this;
}
}

View File

@ -0,0 +1,39 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CoachmarkLocationType File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* CoachmarkLocationType class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class CoachmarkLocationType extends Enum
{
/**
* The Enum CoachmarkLocationType
*/
const UNKNOWN = "unknown";
const FROM_EMAIL = "fromEmail";
const SUBJECT = "subject";
const EXTERNAL_TAG = "externalTag";
const DISPLAY_NAME = "displayName";
const MESSAGE_BODY = "messageBody";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -198,6 +198,35 @@ class DepEnrollmentBaseProfile extends EnrollmentProfile
return $this;
}
/**
* Gets the enabledSkipKeys
* enabledSkipKeys contains all the enabled skip keys as strings
*
* @return array|null The enabledSkipKeys
*/
public function getEnabledSkipKeys()
{
if (array_key_exists("enabledSkipKeys", $this->_propDict)) {
return $this->_propDict["enabledSkipKeys"];
} else {
return null;
}
}
/**
* Sets the enabledSkipKeys
* enabledSkipKeys contains all the enabled skip keys as strings
*
* @param string[] $val The enabledSkipKeys
*
* @return DepEnrollmentBaseProfile
*/
public function setEnabledSkipKeys($val)
{
$this->_propDict["enabledSkipKeys"] = $val;
return $this;
}
/**
* Gets the isDefault
* Indicates if this is the default profile
@ -432,7 +461,7 @@ class DepEnrollmentBaseProfile extends EnrollmentProfile
/**
* Gets the supervisedModeEnabled
* Supervised mode, True to enable, false otherwise. See https://learn.microsoft.com/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information.
* Supervised mode, True to enable, false otherwise. See https://learn.microsoft.com/en-us/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information.
*
* @return bool|null The supervisedModeEnabled
*/
@ -447,7 +476,7 @@ class DepEnrollmentBaseProfile extends EnrollmentProfile
/**
* Sets the supervisedModeEnabled
* Supervised mode, True to enable, false otherwise. See https://learn.microsoft.com/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information.
* Supervised mode, True to enable, false otherwise. See https://learn.microsoft.com/en-us/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information.
*
* @param bool $val The supervisedModeEnabled
*

View File

@ -553,7 +553,7 @@ class DepEnrollmentProfile extends EnrollmentProfile
/**
* Gets the supervisedModeEnabled
* Supervised mode, True to enable, false otherwise. See https://learn.microsoft.com/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information.
* Supervised mode, True to enable, false otherwise. See https://learn.microsoft.com/en-us/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information.
*
* @return bool|null The supervisedModeEnabled
*/
@ -568,7 +568,7 @@ class DepEnrollmentProfile extends EnrollmentProfile
/**
* Sets the supervisedModeEnabled
* Supervised mode, True to enable, false otherwise. See https://learn.microsoft.com/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information.
* Supervised mode, True to enable, false otherwise. See https://learn.microsoft.com/en-us/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information.
*
* @param bool $val The supervisedModeEnabled
*

View File

@ -727,7 +727,7 @@ class DepIOSEnrollmentProfile extends DepEnrollmentBaseProfile
/**
* Gets the userlessSharedAadModeEnabled
* Indicates that this apple device is designated to support 'shared device mode' scenarios. This is distinct from the 'shared iPad' scenario. See https://learn.microsoft.com/mem/intune/enrollment/device-enrollment-shared-ios
* Indicates that this apple device is designated to support 'shared device mode' scenarios. This is distinct from the 'shared iPad' scenario. See https://learn.microsoft.com/en-us/mem/intune/enrollment/device-enrollment-shared-ios
*
* @return bool|null The userlessSharedAadModeEnabled
*/
@ -742,7 +742,7 @@ class DepIOSEnrollmentProfile extends DepEnrollmentBaseProfile
/**
* Sets the userlessSharedAadModeEnabled
* Indicates that this apple device is designated to support 'shared device mode' scenarios. This is distinct from the 'shared iPad' scenario. See https://learn.microsoft.com/mem/intune/enrollment/device-enrollment-shared-ios
* Indicates that this apple device is designated to support 'shared device mode' scenarios. This is distinct from the 'shared iPad' scenario. See https://learn.microsoft.com/en-us/mem/intune/enrollment/device-enrollment-shared-ios
*
* @param bool $val The userlessSharedAadModeEnabled
*

View File

@ -455,36 +455,6 @@ class DeviceAppManagement extends Entity
}
/**
* Gets the sideLoadingKeys
* Side Loading Keys that are required for the Windows 8 and 8.1 Apps installation.
*
* @return array|null The sideLoadingKeys
*/
public function getSideLoadingKeys()
{
if (array_key_exists("sideLoadingKeys", $this->_propDict)) {
return $this->_propDict["sideLoadingKeys"];
} else {
return null;
}
}
/**
* Sets the sideLoadingKeys
* Side Loading Keys that are required for the Windows 8 and 8.1 Apps installation.
*
* @param SideLoadingKey[] $val The sideLoadingKeys
*
* @return DeviceAppManagement
*/
public function setSideLoadingKeys($val)
{
$this->_propDict["sideLoadingKeys"] = $val;
return $this;
}
/**
* Gets the vppTokens
* List of Vpp tokens for this organization.

View File

@ -146,7 +146,7 @@ class DeviceEnrollmentNotificationConfiguration extends DeviceEnrollmentConfigur
/**
* Gets the platformType
* Platform type of the Enrollment Notification. Possible values are: allPlatforms, ios, windows, windowsPhone, android, androidForWork, mac.
* Platform type of the Enrollment Notification. Possible values are: allPlatforms, ios, windows, windowsPhone, android, androidForWork, mac, linux, unknownFutureValue.
*
* @return EnrollmentRestrictionPlatformType|null The platformType
*/
@ -165,7 +165,7 @@ class DeviceEnrollmentNotificationConfiguration extends DeviceEnrollmentConfigur
/**
* Sets the platformType
* Platform type of the Enrollment Notification. Possible values are: allPlatforms, ios, windows, windowsPhone, android, androidForWork, mac.
* Platform type of the Enrollment Notification. Possible values are: allPlatforms, ios, windows, windowsPhone, android, androidForWork, mac, linux, unknownFutureValue.
*
* @param EnrollmentRestrictionPlatformType $val The platformType
*

View File

@ -59,7 +59,7 @@ class DeviceEnrollmentPlatformRestrictionConfiguration extends DeviceEnrollmentC
/**
* Gets the platformType
* Type of platform for which this restriction applies. Possible values are: allPlatforms, ios, windows, windowsPhone, android, androidForWork, mac.
* Type of platform for which this restriction applies. Possible values are: allPlatforms, ios, windows, windowsPhone, android, androidForWork, mac, linux, unknownFutureValue.
*
* @return EnrollmentRestrictionPlatformType|null The platformType
*/
@ -78,7 +78,7 @@ class DeviceEnrollmentPlatformRestrictionConfiguration extends DeviceEnrollmentC
/**
* Sets the platformType
* Type of platform for which this restriction applies. Possible values are: allPlatforms, ios, windows, windowsPhone, android, androidForWork, mac.
* Type of platform for which this restriction applies. Possible values are: allPlatforms, ios, windows, windowsPhone, android, androidForWork, mac, linux, unknownFutureValue.
*
* @param EnrollmentRestrictionPlatformType $val The platformType
*

View File

@ -0,0 +1,39 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* DeviceEventLevel File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* DeviceEventLevel class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class DeviceEventLevel extends Enum
{
/**
* The Enum DeviceEventLevel
*/
const NONE = "none";
const VERBOSE = "verbose";
const INFORMATION = "information";
const WARNING = "warning";
const ERROR = "error";
const CRITICAL = "critical";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -3623,6 +3623,36 @@ class DeviceManagement extends Entity
}
/**
* Gets the userExperienceAnalyticsDeviceTimelineEvents
* The user experience analytics device events entity contains NRT device timeline events details.
*
* @return array|null The userExperienceAnalyticsDeviceTimelineEvents
*/
public function getUserExperienceAnalyticsDeviceTimelineEvents()
{
if (array_key_exists("userExperienceAnalyticsDeviceTimelineEvents", $this->_propDict)) {
return $this->_propDict["userExperienceAnalyticsDeviceTimelineEvents"];
} else {
return null;
}
}
/**
* Sets the userExperienceAnalyticsDeviceTimelineEvents
* The user experience analytics device events entity contains NRT device timeline events details.
*
* @param UserExperienceAnalyticsDeviceTimelineEvents[] $val The userExperienceAnalyticsDeviceTimelineEvents
*
* @return DeviceManagement
*/
public function setUserExperienceAnalyticsDeviceTimelineEvents($val)
{
$this->_propDict["userExperienceAnalyticsDeviceTimelineEvents"] = $val;
return $this;
}
/**
* Gets the userExperienceAnalyticsImpactingProcess
* User experience analytics impacting process

View File

@ -120,7 +120,7 @@ class DeviceManagementConfigurationSettingApplicability extends Entity
/**
* Gets the technologies
* Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue.
* Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
*
* @return DeviceManagementConfigurationTechnologies|null The technologies
*/
@ -139,7 +139,7 @@ class DeviceManagementConfigurationSettingApplicability extends Entity
/**
* Sets the technologies
* Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue.
* Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
*
* @param DeviceManagementConfigurationTechnologies $val The value to assign to the technologies
*

View File

@ -33,4 +33,5 @@ class EligibilityFilteringEnabledEntities extends Enum
const SWAP_REQUEST = "swapRequest";
const OFFER_SHIFT_REQUEST = "offerShiftRequest";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
const TIME_OFF_REASON = "timeOffReason";
}

View File

@ -0,0 +1,34 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* EligibilityScheduleFilterByCurrentUserOptions File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* EligibilityScheduleFilterByCurrentUserOptions class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class EligibilityScheduleFilterByCurrentUserOptions extends Enum
{
/**
* The Enum EligibilityScheduleFilterByCurrentUserOptions
*/
const PRINCIPAL = "principal";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,34 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* EligibilityScheduleInstanceFilterByCurrentUserOptions File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* EligibilityScheduleInstanceFilterByCurrentUserOptions class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class EligibilityScheduleInstanceFilterByCurrentUserOptions extends Enum
{
/**
* The Enum EligibilityScheduleInstanceFilterByCurrentUserOptions
*/
const PRINCIPAL = "principal";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,36 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* EligibilityScheduleRequestFilterByCurrentUserOptions File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* EligibilityScheduleRequestFilterByCurrentUserOptions class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class EligibilityScheduleRequestFilterByCurrentUserOptions extends Enum
{
/**
* The Enum EligibilityScheduleRequestFilterByCurrentUserOptions
*/
const PRINCIPAL = "principal";
const CREATED_BY = "createdBy";
const APPROVER = "approver";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,130 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* EmailPayloadDetail File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* EmailPayloadDetail class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class EmailPayloadDetail extends PayloadDetail
{
/**
* Gets the fromEmail
*
* @return string|null The fromEmail
*/
public function getFromEmail()
{
if (array_key_exists("fromEmail", $this->_propDict)) {
return $this->_propDict["fromEmail"];
} else {
return null;
}
}
/**
* Sets the fromEmail
*
* @param string $val The value of the fromEmail
*
* @return EmailPayloadDetail
*/
public function setFromEmail($val)
{
$this->_propDict["fromEmail"] = $val;
return $this;
}
/**
* Gets the fromName
*
* @return string|null The fromName
*/
public function getFromName()
{
if (array_key_exists("fromName", $this->_propDict)) {
return $this->_propDict["fromName"];
} else {
return null;
}
}
/**
* Sets the fromName
*
* @param string $val The value of the fromName
*
* @return EmailPayloadDetail
*/
public function setFromName($val)
{
$this->_propDict["fromName"] = $val;
return $this;
}
/**
* Gets the isExternalSender
*
* @return bool|null The isExternalSender
*/
public function getIsExternalSender()
{
if (array_key_exists("isExternalSender", $this->_propDict)) {
return $this->_propDict["isExternalSender"];
} else {
return null;
}
}
/**
* Sets the isExternalSender
*
* @param bool $val The value of the isExternalSender
*
* @return EmailPayloadDetail
*/
public function setIsExternalSender($val)
{
$this->_propDict["isExternalSender"] = $val;
return $this;
}
/**
* Gets the subject
*
* @return string|null The subject
*/
public function getSubject()
{
if (array_key_exists("subject", $this->_propDict)) {
return $this->_propDict["subject"];
} else {
return null;
}
}
/**
* Sets the subject
*
* @param string $val The value of the subject
*
* @return EmailPayloadDetail
*/
public function setSubject($val)
{
$this->_propDict["subject"] = $val;
return $this;
}
}

View File

@ -36,4 +36,6 @@ class EnrollmentRestrictionPlatformType extends Enum
const ANDROID = "android";
const ANDROID_FOR_WORK = "androidForWork";
const MAC = "mac";
const LINUX = "linux";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -59,7 +59,7 @@ class FileEncryptionInfo extends Entity
/**
* Gets the fileDigest
* The file digest prior to encryption.
* The file digest prior to encryption. ProfileVersion1 requires a non-null FileDigest.
*
* @return \GuzzleHttp\Psr7\Stream|null The fileDigest
*/
@ -78,7 +78,7 @@ class FileEncryptionInfo extends Entity
/**
* Sets the fileDigest
* The file digest prior to encryption.
* The file digest prior to encryption. ProfileVersion1 requires a non-null FileDigest.
*
* @param \GuzzleHttp\Psr7\Stream $val The value to assign to the fileDigest
*
@ -91,7 +91,7 @@ class FileEncryptionInfo extends Entity
}
/**
* Gets the fileDigestAlgorithm
* The file digest algorithm.
* The file digest algorithm. ProfileVersion1 currently only supports SHA256 for the FileDigestAlgorithm.
*
* @return string|null The fileDigestAlgorithm
*/
@ -106,7 +106,7 @@ class FileEncryptionInfo extends Entity
/**
* Sets the fileDigestAlgorithm
* The file digest algorithm.
* The file digest algorithm. ProfileVersion1 currently only supports SHA256 for the FileDigestAlgorithm.
*
* @param string $val The value of the fileDigestAlgorithm
*
@ -120,7 +120,7 @@ class FileEncryptionInfo extends Entity
/**
* Gets the initializationVector
* The initialization vector used for the encryption algorithm.
* The initialization vector (IV) used for the encryption algorithm. Must be 16 bytes.
*
* @return \GuzzleHttp\Psr7\Stream|null The initializationVector
*/
@ -139,7 +139,7 @@ class FileEncryptionInfo extends Entity
/**
* Sets the initializationVector
* The initialization vector used for the encryption algorithm.
* The initialization vector (IV) used for the encryption algorithm. Must be 16 bytes.
*
* @param \GuzzleHttp\Psr7\Stream $val The value to assign to the initializationVector
*
@ -153,7 +153,7 @@ class FileEncryptionInfo extends Entity
/**
* Gets the mac
* The hash of the encrypted file content + IV (content hash).
* The hash of the concatenation of the IV and encrypted file content. Must be 32 bytes.
*
* @return \GuzzleHttp\Psr7\Stream|null The mac
*/
@ -172,7 +172,7 @@ class FileEncryptionInfo extends Entity
/**
* Sets the mac
* The hash of the encrypted file content + IV (content hash).
* The hash of the concatenation of the IV and encrypted file content. Must be 32 bytes.
*
* @param \GuzzleHttp\Psr7\Stream $val The value to assign to the mac
*
@ -186,7 +186,7 @@ class FileEncryptionInfo extends Entity
/**
* Gets the macKey
* The key used to get mac.
* The key used to compute the message authentication code of the concatenation of the IV and encrypted file content. Must be 32 bytes.
*
* @return \GuzzleHttp\Psr7\Stream|null The macKey
*/
@ -205,7 +205,7 @@ class FileEncryptionInfo extends Entity
/**
* Sets the macKey
* The key used to get mac.
* The key used to compute the message authentication code of the concatenation of the IV and encrypted file content. Must be 32 bytes.
*
* @param \GuzzleHttp\Psr7\Stream $val The value to assign to the macKey
*
@ -218,7 +218,7 @@ class FileEncryptionInfo extends Entity
}
/**
* Gets the profileIdentifier
* The the profile identifier.
* The profile identifier. Maps to the strategy used to encrypt the file. Currently, only ProfileVersion1 is supported.
*
* @return string|null The profileIdentifier
*/
@ -233,7 +233,7 @@ class FileEncryptionInfo extends Entity
/**
* Sets the profileIdentifier
* The the profile identifier.
* The profile identifier. Maps to the strategy used to encrypt the file. Currently, only ProfileVersion1 is supported.
*
* @param string $val The value of the profileIdentifier
*

View File

@ -25,7 +25,7 @@ class Identity extends Entity
{
/**
* Gets the displayName
* The display name of the identity. This property is read-only.
* The display name of the identity. Note that this might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
*
* @return string|null The displayName
*/
@ -40,7 +40,7 @@ class Identity extends Entity
/**
* Sets the displayName
* The display name of the identity. This property is read-only.
* The display name of the identity. Note that this might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
*
* @param string $val The value of the displayName
*
@ -53,7 +53,7 @@ class Identity extends Entity
}
/**
* Gets the id
* The identifier of the identity. This property is read-only.
* Unique identifier for the identity.
*
* @return string|null The id
*/
@ -68,7 +68,7 @@ class Identity extends Entity
/**
* Sets the id
* The identifier of the identity. This property is read-only.
* Unique identifier for the identity.
*
* @param string $val The value of the id
*

View File

@ -210,6 +210,37 @@ class IdentityGovernance implements \JsonSerializable
return $this;
}
/**
* Gets the privilegedAccess
*
* @return PrivilegedAccessRoot|null The privilegedAccess
*/
public function getPrivilegedAccess()
{
if (array_key_exists("privilegedAccess", $this->_propDict)) {
if (is_a($this->_propDict["privilegedAccess"], "\Beta\Microsoft\Graph\Model\PrivilegedAccessRoot") || is_null($this->_propDict["privilegedAccess"])) {
return $this->_propDict["privilegedAccess"];
} else {
$this->_propDict["privilegedAccess"] = new PrivilegedAccessRoot($this->_propDict["privilegedAccess"]);
return $this->_propDict["privilegedAccess"];
}
}
return null;
}
/**
* Sets the privilegedAccess
*
* @param PrivilegedAccessRoot $val The privilegedAccess
*
* @return IdentityGovernance
*/
public function setPrivilegedAccess($val)
{
$this->_propDict["privilegedAccess"] = $val;
return $this;
}
/**
* Gets the ODataType
*

View File

@ -0,0 +1,26 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* IncludeAllAccountTargetContent File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* IncludeAllAccountTargetContent class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class IncludeAllAccountTargetContent extends AccountTargetContent
{
}

View File

@ -148,35 +148,6 @@ class IosLobApp extends MobileLobApp
return $this;
}
/**
* Gets the identityVersion
* The identity version. This property is being deprecated in 2211(November 2022)
*
* @return string|null The identityVersion
*/
public function getIdentityVersion()
{
if (array_key_exists("identityVersion", $this->_propDict)) {
return $this->_propDict["identityVersion"];
} else {
return null;
}
}
/**
* Sets the identityVersion
* The identity version. This property is being deprecated in 2211(November 2022)
*
* @param string $val The identityVersion
*
* @return IosLobApp
*/
public function setIdentityVersion($val)
{
$this->_propDict["identityVersion"] = $val;
return $this;
}
/**
* Gets the minimumSupportedOperatingSystem
* The value for the minimum applicable operating system.

View File

@ -25,7 +25,7 @@ class IosMinimumOperatingSystem extends Entity
{
/**
* Gets the v10_0
* Version 10.0 or later.
* When TRUE, only Version 10.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v10_0
*/
@ -40,7 +40,7 @@ class IosMinimumOperatingSystem extends Entity
/**
* Sets the v10_0
* Version 10.0 or later.
* When TRUE, only Version 10.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v10_0
*
@ -53,7 +53,7 @@ class IosMinimumOperatingSystem extends Entity
}
/**
* Gets the v11_0
* Version 11.0 or later.
* When TRUE, only Version 11.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v11_0
*/
@ -68,7 +68,7 @@ class IosMinimumOperatingSystem extends Entity
/**
* Sets the v11_0
* Version 11.0 or later.
* When TRUE, only Version 11.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v11_0
*
@ -81,7 +81,7 @@ class IosMinimumOperatingSystem extends Entity
}
/**
* Gets the v12_0
* Version 12.0 or later.
* When TRUE, only Version 12.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v12_0
*/
@ -96,7 +96,7 @@ class IosMinimumOperatingSystem extends Entity
/**
* Sets the v12_0
* Version 12.0 or later.
* When TRUE, only Version 12.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v12_0
*
@ -109,7 +109,7 @@ class IosMinimumOperatingSystem extends Entity
}
/**
* Gets the v13_0
* Version 13.0 or later.
* When TRUE, only Version 13.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v13_0
*/
@ -124,7 +124,7 @@ class IosMinimumOperatingSystem extends Entity
/**
* Sets the v13_0
* Version 13.0 or later.
* When TRUE, only Version 13.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v13_0
*
@ -137,7 +137,7 @@ class IosMinimumOperatingSystem extends Entity
}
/**
* Gets the v14_0
* Version 14.0 or later.
* When TRUE, only Version 14.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v14_0
*/
@ -152,7 +152,7 @@ class IosMinimumOperatingSystem extends Entity
/**
* Sets the v14_0
* Version 14.0 or later.
* When TRUE, only Version 14.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v14_0
*
@ -165,7 +165,7 @@ class IosMinimumOperatingSystem extends Entity
}
/**
* Gets the v15_0
* Version 15.0 or later.
* When TRUE, only Version 15.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v15_0
*/
@ -180,7 +180,7 @@ class IosMinimumOperatingSystem extends Entity
/**
* Sets the v15_0
* Version 15.0 or later.
* When TRUE, only Version 15.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v15_0
*
@ -193,7 +193,7 @@ class IosMinimumOperatingSystem extends Entity
}
/**
* Gets the v8_0
* Version 8.0 or later.
* When TRUE, only Version 8.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v8_0
*/
@ -208,7 +208,7 @@ class IosMinimumOperatingSystem extends Entity
/**
* Sets the v8_0
* Version 8.0 or later.
* When TRUE, only Version 8.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v8_0
*
@ -221,7 +221,7 @@ class IosMinimumOperatingSystem extends Entity
}
/**
* Gets the v9_0
* Version 9.0 or later.
* When TRUE, only Version 9.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @return bool|null The v9_0
*/
@ -236,7 +236,7 @@ class IosMinimumOperatingSystem extends Entity
/**
* Sets the v9_0
* Version 9.0 or later.
* When TRUE, only Version 9.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
*
* @param bool $val The value of the v9_0
*

View File

@ -36,7 +36,7 @@ class MacOsLobAppAssignmentSettings extends MobileAppAssignmentSettings
/**
* Gets the uninstallOnDeviceRemoval
* Whether or not to uninstall the app when device is removed from Intune.
* When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune.
*
* @return bool|null The uninstallOnDeviceRemoval
*/
@ -51,7 +51,7 @@ class MacOsLobAppAssignmentSettings extends MobileAppAssignmentSettings
/**
* Sets the uninstallOnDeviceRemoval
* Whether or not to uninstall the app when device is removed from Intune.
* When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune.
*
* @param bool $val The value of the uninstallOnDeviceRemoval
*

View File

@ -83,7 +83,7 @@ class ManagedDevice extends Entity
/**
* Gets the activationLockBypassCode
* Code that allows the Activation Lock on a device to be bypassed. This property is read-only.
* The code that allows the Activation Lock on managed device to be bypassed. Default, is Null (Non-Default property) for this property when returned as part of managedDevice entity in LIST call. Individual GET call with select query options is needed to retrieve actual values. Supports: $select. $Search is not supported. Read-only. This property is read-only.
*
* @return string|null The activationLockBypassCode
*/
@ -98,7 +98,7 @@ class ManagedDevice extends Entity
/**
* Sets the activationLockBypassCode
* Code that allows the Activation Lock on a device to be bypassed. This property is read-only.
* The code that allows the Activation Lock on managed device to be bypassed. Default, is Null (Non-Default property) for this property when returned as part of managedDevice entity in LIST call. Individual GET call with select query options is needed to retrieve actual values. Supports: $select. $Search is not supported. Read-only. This property is read-only.
*
* @param string $val The activationLockBypassCode
*
@ -945,7 +945,7 @@ class ManagedDevice extends Entity
/**
* Gets the ethernetMacAddress
* Ethernet MAC. This property is read-only.
* Ethernet MAC. Default, is Null (Non-Default property) for this property when returned as part of managedDevice entity. Individual get call with select query options is needed to retrieve actual values. Example: deviceManagement/managedDevices({managedDeviceId})?$select=ethernetMacAddress Supports: $select. $Search is not supported. Read-only. This property is read-only.
*
* @return string|null The ethernetMacAddress
*/
@ -960,7 +960,7 @@ class ManagedDevice extends Entity
/**
* Sets the ethernetMacAddress
* Ethernet MAC. This property is read-only.
* Ethernet MAC. Default, is Null (Non-Default property) for this property when returned as part of managedDevice entity. Individual get call with select query options is needed to retrieve actual values. Example: deviceManagement/managedDevices({managedDeviceId})?$select=ethernetMacAddress Supports: $select. $Search is not supported. Read-only. This property is read-only.
*
* @param string $val The ethernetMacAddress
*
@ -2144,7 +2144,7 @@ class ManagedDevice extends Entity
/**
* Gets the skuNumber
* Device sku number, see also: https://learn.microsoft.com/windows/win32/api/sysinfoapi/nf-sysinfoapi-getproductinfo. Valid values 0 to 2147483647. This property is read-only.
* Device sku number, see also: https://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-getproductinfo. Valid values 0 to 2147483647. This property is read-only.
*
* @return int|null The skuNumber
*/
@ -2159,7 +2159,7 @@ class ManagedDevice extends Entity
/**
* Sets the skuNumber
* Device sku number, see also: https://learn.microsoft.com/windows/win32/api/sysinfoapi/nf-sysinfoapi-getproductinfo. Valid values 0 to 2147483647. This property is read-only.
* Device sku number, see also: https://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-getproductinfo. Valid values 0 to 2147483647. This property is read-only.
*
* @param int $val The skuNumber
*

View File

@ -82,35 +82,6 @@ class MicrosoftTunnelSite extends Entity
return $this;
}
/**
* Gets the enableCertificatePinning
* When set to true, certificate pinning will be enforced on connections between the Microsoft Tunnel server and Microsoft Tunnel clients. When set to false, certificate pinning will be disabled.
*
* @return bool|null The enableCertificatePinning
*/
public function getEnableCertificatePinning()
{
if (array_key_exists("enableCertificatePinning", $this->_propDict)) {
return $this->_propDict["enableCertificatePinning"];
} else {
return null;
}
}
/**
* Sets the enableCertificatePinning
* When set to true, certificate pinning will be enforced on connections between the Microsoft Tunnel server and Microsoft Tunnel clients. When set to false, certificate pinning will be disabled.
*
* @param bool $val The enableCertificatePinning
*
* @return MicrosoftTunnelSite
*/
public function setEnableCertificatePinning($val)
{
$this->_propDict["enableCertificatePinning"] = boolval($val);
return $this;
}
/**
* Gets the internalNetworkProbeUrl
* The site's Internal Network Access Probe URL

View File

@ -53,7 +53,7 @@ class ObjectIdentity extends Entity
}
/**
* Gets the issuerAssignedId
* Specifies the unique identifier assigned to the user by the issuer. The combination of issuer and issuerAssignedId must be unique within the organization. Represents the sign-in name for the user, when signInType is set to emailAddress or userName (also known as local accounts).When signInType is set to: emailAddress, (or a custom string that starts with emailAddress like emailAddress1) issuerAssignedId must be a valid email addressuserName, issuerAssignedId must be a valid local part of an email addressSupports $filter. 100 character limit.
* Specifies the unique identifier assigned to the user by the issuer. The combination of issuer and issuerAssignedId must be unique within the organization. Represents the sign-in name for the user, when signInType is set to emailAddress or userName (also known as local accounts).When signInType is set to: emailAddress, (or a custom string that starts with emailAddress like emailAddress1) issuerAssignedId must be a valid email addressuserName, issuerAssignedId must begin with an alphabetical character or number, and can only contain alphanumeric characters and the following symbols: - or Supports $filter. 64 character limit.
*
* @return string|null The issuerAssignedId
*/
@ -68,7 +68,7 @@ class ObjectIdentity extends Entity
/**
* Sets the issuerAssignedId
* Specifies the unique identifier assigned to the user by the issuer. The combination of issuer and issuerAssignedId must be unique within the organization. Represents the sign-in name for the user, when signInType is set to emailAddress or userName (also known as local accounts).When signInType is set to: emailAddress, (or a custom string that starts with emailAddress like emailAddress1) issuerAssignedId must be a valid email addressuserName, issuerAssignedId must be a valid local part of an email addressSupports $filter. 100 character limit.
* Specifies the unique identifier assigned to the user by the issuer. The combination of issuer and issuerAssignedId must be unique within the organization. Represents the sign-in name for the user, when signInType is set to emailAddress or userName (also known as local accounts).When signInType is set to: emailAddress, (or a custom string that starts with emailAddress like emailAddress1) issuerAssignedId must be a valid email addressuserName, issuerAssignedId must begin with an alphabetical character or number, and can only contain alphanumeric characters and the following symbols: - or Supports $filter. 64 character limit.
*
* @param string $val The value of the issuerAssignedId
*

View File

@ -553,7 +553,7 @@ class OnlineMeeting extends Entity
/**
* Gets the joinMeetingIdSettings
* Specifies the joinMeetingId, the meeting passcode, and the requirement for the passcode.
* Specifies the joinMeetingId, the meeting passcode, and the requirement for the passcode. Once an onlineMeeting is created, the joinMeetingIdSettings cannot be modified. To make any changes to this property, the meeting needs to be canceled and a new one needs to be created.
*
* @return JoinMeetingIdSettings|null The joinMeetingIdSettings
*/
@ -572,7 +572,7 @@ class OnlineMeeting extends Entity
/**
* Sets the joinMeetingIdSettings
* Specifies the joinMeetingId, the meeting passcode, and the requirement for the passcode.
* Specifies the joinMeetingId, the meeting passcode, and the requirement for the passcode. Once an onlineMeeting is created, the joinMeetingIdSettings cannot be modified. To make any changes to this property, the meeting needs to be canceled and a new one needs to be created.
*
* @param JoinMeetingIdSettings $val The joinMeetingIdSettings
*
@ -859,6 +859,37 @@ class OnlineMeeting extends Entity
return $this;
}
/**
* Gets the watermarkProtection
*
* @return WatermarkProtectionValues|null The watermarkProtection
*/
public function getWatermarkProtection()
{
if (array_key_exists("watermarkProtection", $this->_propDict)) {
if (is_a($this->_propDict["watermarkProtection"], "\Beta\Microsoft\Graph\Model\WatermarkProtectionValues") || is_null($this->_propDict["watermarkProtection"])) {
return $this->_propDict["watermarkProtection"];
} else {
$this->_propDict["watermarkProtection"] = new WatermarkProtectionValues($this->_propDict["watermarkProtection"]);
return $this->_propDict["watermarkProtection"];
}
}
return null;
}
/**
* Sets the watermarkProtection
*
* @param WatermarkProtectionValues $val The watermarkProtection
*
* @return OnlineMeeting
*/
public function setWatermarkProtection($val)
{
$this->_propDict["watermarkProtection"] = $val;
return $this;
}
/**
* Gets the virtualAppointment
*

View File

@ -0,0 +1,34 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* OnlineMeetingContentSharingDisabledReason File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* OnlineMeetingContentSharingDisabledReason class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class OnlineMeetingContentSharingDisabledReason extends Enum
{
/**
* The Enum OnlineMeetingContentSharingDisabledReason
*/
const WATERMARK_PROTECTION = "watermarkProtection";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,88 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* OnlineMeetingRestricted File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* OnlineMeetingRestricted class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class OnlineMeetingRestricted extends Entity
{
/**
* Gets the contentSharingDisabled
*
* @return OnlineMeetingContentSharingDisabledReason|null The contentSharingDisabled
*/
public function getContentSharingDisabled()
{
if (array_key_exists("contentSharingDisabled", $this->_propDict)) {
if (is_a($this->_propDict["contentSharingDisabled"], "\Beta\Microsoft\Graph\Model\OnlineMeetingContentSharingDisabledReason") || is_null($this->_propDict["contentSharingDisabled"])) {
return $this->_propDict["contentSharingDisabled"];
} else {
$this->_propDict["contentSharingDisabled"] = new OnlineMeetingContentSharingDisabledReason($this->_propDict["contentSharingDisabled"]);
return $this->_propDict["contentSharingDisabled"];
}
}
return null;
}
/**
* Sets the contentSharingDisabled
*
* @param OnlineMeetingContentSharingDisabledReason $val The value to assign to the contentSharingDisabled
*
* @return OnlineMeetingRestricted The OnlineMeetingRestricted
*/
public function setContentSharingDisabled($val)
{
$this->_propDict["contentSharingDisabled"] = $val;
return $this;
}
/**
* Gets the videoDisabled
*
* @return OnlineMeetingVideoDisabledReason|null The videoDisabled
*/
public function getVideoDisabled()
{
if (array_key_exists("videoDisabled", $this->_propDict)) {
if (is_a($this->_propDict["videoDisabled"], "\Beta\Microsoft\Graph\Model\OnlineMeetingVideoDisabledReason") || is_null($this->_propDict["videoDisabled"])) {
return $this->_propDict["videoDisabled"];
} else {
$this->_propDict["videoDisabled"] = new OnlineMeetingVideoDisabledReason($this->_propDict["videoDisabled"]);
return $this->_propDict["videoDisabled"];
}
}
return null;
}
/**
* Sets the videoDisabled
*
* @param OnlineMeetingVideoDisabledReason $val The value to assign to the videoDisabled
*
* @return OnlineMeetingRestricted The OnlineMeetingRestricted
*/
public function setVideoDisabled($val)
{
$this->_propDict["videoDisabled"] = $val;
return $this;
}
}

View File

@ -0,0 +1,34 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* OnlineMeetingVideoDisabledReason File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* OnlineMeetingVideoDisabledReason class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class OnlineMeetingVideoDisabledReason extends Enum
{
/**
* The Enum OnlineMeetingVideoDisabledReason
*/
const WATERMARK_PROTECTION = "watermarkProtection";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -414,6 +414,37 @@ class Organization extends DirectoryObject
return $this;
}
/**
* Gets the partnerTenantType
*
* @return PartnerTenantType|null The partnerTenantType
*/
public function getPartnerTenantType()
{
if (array_key_exists("partnerTenantType", $this->_propDict)) {
if (is_a($this->_propDict["partnerTenantType"], "\Beta\Microsoft\Graph\Model\PartnerTenantType") || is_null($this->_propDict["partnerTenantType"])) {
return $this->_propDict["partnerTenantType"];
} else {
$this->_propDict["partnerTenantType"] = new PartnerTenantType($this->_propDict["partnerTenantType"]);
return $this->_propDict["partnerTenantType"];
}
}
return null;
}
/**
* Sets the partnerTenantType
*
* @param PartnerTenantType $val The partnerTenantType
*
* @return Organization
*/
public function setPartnerTenantType($val)
{
$this->_propDict["partnerTenantType"] = $val;
return $this;
}
/**
* Gets the postalCode
* Postal code of the address for the organization.

View File

@ -234,4 +234,35 @@ class Participant extends Entity
return $this;
}
/**
* Gets the restrictedExperience
*
* @return OnlineMeetingRestricted|null The restrictedExperience
*/
public function getRestrictedExperience()
{
if (array_key_exists("restrictedExperience", $this->_propDict)) {
if (is_a($this->_propDict["restrictedExperience"], "\Beta\Microsoft\Graph\Model\OnlineMeetingRestricted") || is_null($this->_propDict["restrictedExperience"])) {
return $this->_propDict["restrictedExperience"];
} else {
$this->_propDict["restrictedExperience"] = new OnlineMeetingRestricted($this->_propDict["restrictedExperience"]);
return $this->_propDict["restrictedExperience"];
}
}
return null;
}
/**
* Sets the restrictedExperience
*
* @param OnlineMeetingRestricted $val The restrictedExperience
*
* @return Participant
*/
public function setRestrictedExperience($val)
{
$this->_propDict["restrictedExperience"] = $val;
return $this;
}
}

View File

@ -0,0 +1,39 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PartnerTenantType File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* PartnerTenantType class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PartnerTenantType extends Enum
{
/**
* The Enum PartnerTenantType
*/
const MICROSOFT_SUPPORT = "microsoftSupport";
const SYNDICATE_PARTNER = "syndicatePartner";
const BREADTH_PARTNER = "breadthPartner";
const BREADTH_PARTNER_DELEGATED_ADMIN = "breadthPartnerDelegatedAdmin";
const RESELLER_PARTNER_DELEGATED_ADMIN = "resellerPartnerDelegatedAdmin";
const VALUE_ADDED_RESELLER_PARTNER_DELEGATED_ADMIN = "valueAddedResellerPartnerDelegatedAdmin";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -25,7 +25,7 @@ class PasswordProfile extends Entity
{
/**
* Gets the forceChangePasswordNextSignIn
* true if the user must change her password on the next login; otherwise false. If not set, default is false. NOTE: For Azure B2C tenants, set to false and instead use custom policies and user flows to force password reset at first sign in. See Force password reset at first logon.
* true if the user must change her password on the next login; otherwise false. If not set, default is false.
*
* @return bool|null The forceChangePasswordNextSignIn
*/
@ -40,7 +40,7 @@ class PasswordProfile extends Entity
/**
* Sets the forceChangePasswordNextSignIn
* true if the user must change her password on the next login; otherwise false. If not set, default is false. NOTE: For Azure B2C tenants, set to false and instead use custom policies and user flows to force password reset at first sign in. See Force password reset at first logon.
* true if the user must change her password on the next login; otherwise false. If not set, default is false.
*
* @param bool $val The value of the forceChangePasswordNextSignIn
*

View File

@ -0,0 +1,677 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* Payload File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* Payload class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class Payload extends Entity
{
/**
* Gets the brand
*
* @return PayloadBrand|null The brand
*/
public function getBrand()
{
if (array_key_exists("brand", $this->_propDict)) {
if (is_a($this->_propDict["brand"], "\Beta\Microsoft\Graph\Model\PayloadBrand") || is_null($this->_propDict["brand"])) {
return $this->_propDict["brand"];
} else {
$this->_propDict["brand"] = new PayloadBrand($this->_propDict["brand"]);
return $this->_propDict["brand"];
}
}
return null;
}
/**
* Sets the brand
*
* @param PayloadBrand $val The brand
*
* @return Payload
*/
public function setBrand($val)
{
$this->_propDict["brand"] = $val;
return $this;
}
/**
* Gets the complexity
*
* @return PayloadComplexity|null The complexity
*/
public function getComplexity()
{
if (array_key_exists("complexity", $this->_propDict)) {
if (is_a($this->_propDict["complexity"], "\Beta\Microsoft\Graph\Model\PayloadComplexity") || is_null($this->_propDict["complexity"])) {
return $this->_propDict["complexity"];
} else {
$this->_propDict["complexity"] = new PayloadComplexity($this->_propDict["complexity"]);
return $this->_propDict["complexity"];
}
}
return null;
}
/**
* Sets the complexity
*
* @param PayloadComplexity $val The complexity
*
* @return Payload
*/
public function setComplexity($val)
{
$this->_propDict["complexity"] = $val;
return $this;
}
/**
* Gets the createdBy
*
* @return EmailIdentity|null The createdBy
*/
public function getCreatedBy()
{
if (array_key_exists("createdBy", $this->_propDict)) {
if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\EmailIdentity") || is_null($this->_propDict["createdBy"])) {
return $this->_propDict["createdBy"];
} else {
$this->_propDict["createdBy"] = new EmailIdentity($this->_propDict["createdBy"]);
return $this->_propDict["createdBy"];
}
}
return null;
}
/**
* Sets the createdBy
*
* @param EmailIdentity $val The createdBy
*
* @return Payload
*/
public function setCreatedBy($val)
{
$this->_propDict["createdBy"] = $val;
return $this;
}
/**
* Gets the createdDateTime
*
* @return \DateTime|null The createdDateTime
*/
public function getCreatedDateTime()
{
if (array_key_exists("createdDateTime", $this->_propDict)) {
if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) {
return $this->_propDict["createdDateTime"];
} else {
$this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]);
return $this->_propDict["createdDateTime"];
}
}
return null;
}
/**
* Sets the createdDateTime
*
* @param \DateTime $val The createdDateTime
*
* @return Payload
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
}
/**
* Gets the description
*
* @return string|null The description
*/
public function getDescription()
{
if (array_key_exists("description", $this->_propDict)) {
return $this->_propDict["description"];
} else {
return null;
}
}
/**
* Sets the description
*
* @param string $val The description
*
* @return Payload
*/
public function setDescription($val)
{
$this->_propDict["description"] = $val;
return $this;
}
/**
* Gets the detail
*
* @return PayloadDetail|null The detail
*/
public function getDetail()
{
if (array_key_exists("detail", $this->_propDict)) {
if (is_a($this->_propDict["detail"], "\Beta\Microsoft\Graph\Model\PayloadDetail") || is_null($this->_propDict["detail"])) {
return $this->_propDict["detail"];
} else {
$this->_propDict["detail"] = new PayloadDetail($this->_propDict["detail"]);
return $this->_propDict["detail"];
}
}
return null;
}
/**
* Sets the detail
*
* @param PayloadDetail $val The detail
*
* @return Payload
*/
public function setDetail($val)
{
$this->_propDict["detail"] = $val;
return $this;
}
/**
* Gets the displayName
*
* @return string|null The displayName
*/
public function getDisplayName()
{
if (array_key_exists("displayName", $this->_propDict)) {
return $this->_propDict["displayName"];
} else {
return null;
}
}
/**
* Sets the displayName
*
* @param string $val The displayName
*
* @return Payload
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the industry
*
* @return PayloadIndustry|null The industry
*/
public function getIndustry()
{
if (array_key_exists("industry", $this->_propDict)) {
if (is_a($this->_propDict["industry"], "\Beta\Microsoft\Graph\Model\PayloadIndustry") || is_null($this->_propDict["industry"])) {
return $this->_propDict["industry"];
} else {
$this->_propDict["industry"] = new PayloadIndustry($this->_propDict["industry"]);
return $this->_propDict["industry"];
}
}
return null;
}
/**
* Sets the industry
*
* @param PayloadIndustry $val The industry
*
* @return Payload
*/
public function setIndustry($val)
{
$this->_propDict["industry"] = $val;
return $this;
}
/**
* Gets the isAutomated
*
* @return bool|null The isAutomated
*/
public function getIsAutomated()
{
if (array_key_exists("isAutomated", $this->_propDict)) {
return $this->_propDict["isAutomated"];
} else {
return null;
}
}
/**
* Sets the isAutomated
*
* @param bool $val The isAutomated
*
* @return Payload
*/
public function setIsAutomated($val)
{
$this->_propDict["isAutomated"] = boolval($val);
return $this;
}
/**
* Gets the isControversial
*
* @return bool|null The isControversial
*/
public function getIsControversial()
{
if (array_key_exists("isControversial", $this->_propDict)) {
return $this->_propDict["isControversial"];
} else {
return null;
}
}
/**
* Sets the isControversial
*
* @param bool $val The isControversial
*
* @return Payload
*/
public function setIsControversial($val)
{
$this->_propDict["isControversial"] = boolval($val);
return $this;
}
/**
* Gets the isCurrentEvent
*
* @return bool|null The isCurrentEvent
*/
public function getIsCurrentEvent()
{
if (array_key_exists("isCurrentEvent", $this->_propDict)) {
return $this->_propDict["isCurrentEvent"];
} else {
return null;
}
}
/**
* Sets the isCurrentEvent
*
* @param bool $val The isCurrentEvent
*
* @return Payload
*/
public function setIsCurrentEvent($val)
{
$this->_propDict["isCurrentEvent"] = boolval($val);
return $this;
}
/**
* Gets the language
*
* @return string|null The language
*/
public function getLanguage()
{
if (array_key_exists("language", $this->_propDict)) {
return $this->_propDict["language"];
} else {
return null;
}
}
/**
* Sets the language
*
* @param string $val The language
*
* @return Payload
*/
public function setLanguage($val)
{
$this->_propDict["language"] = $val;
return $this;
}
/**
* Gets the lastModifiedBy
*
* @return EmailIdentity|null The lastModifiedBy
*/
public function getLastModifiedBy()
{
if (array_key_exists("lastModifiedBy", $this->_propDict)) {
if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\EmailIdentity") || is_null($this->_propDict["lastModifiedBy"])) {
return $this->_propDict["lastModifiedBy"];
} else {
$this->_propDict["lastModifiedBy"] = new EmailIdentity($this->_propDict["lastModifiedBy"]);
return $this->_propDict["lastModifiedBy"];
}
}
return null;
}
/**
* Sets the lastModifiedBy
*
* @param EmailIdentity $val The lastModifiedBy
*
* @return Payload
*/
public function setLastModifiedBy($val)
{
$this->_propDict["lastModifiedBy"] = $val;
return $this;
}
/**
* Gets the lastModifiedDateTime
*
* @return \DateTime|null The lastModifiedDateTime
*/
public function getLastModifiedDateTime()
{
if (array_key_exists("lastModifiedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) {
return $this->_propDict["lastModifiedDateTime"];
} else {
$this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]);
return $this->_propDict["lastModifiedDateTime"];
}
}
return null;
}
/**
* Sets the lastModifiedDateTime
*
* @param \DateTime $val The lastModifiedDateTime
*
* @return Payload
*/
public function setLastModifiedDateTime($val)
{
$this->_propDict["lastModifiedDateTime"] = $val;
return $this;
}
/**
* Gets the payloadTags
*
* @return array|null The payloadTags
*/
public function getPayloadTags()
{
if (array_key_exists("payloadTags", $this->_propDict)) {
return $this->_propDict["payloadTags"];
} else {
return null;
}
}
/**
* Sets the payloadTags
*
* @param string[] $val The payloadTags
*
* @return Payload
*/
public function setPayloadTags($val)
{
$this->_propDict["payloadTags"] = $val;
return $this;
}
/**
* Gets the platform
*
* @return PayloadDeliveryPlatform|null The platform
*/
public function getPlatform()
{
if (array_key_exists("platform", $this->_propDict)) {
if (is_a($this->_propDict["platform"], "\Beta\Microsoft\Graph\Model\PayloadDeliveryPlatform") || is_null($this->_propDict["platform"])) {
return $this->_propDict["platform"];
} else {
$this->_propDict["platform"] = new PayloadDeliveryPlatform($this->_propDict["platform"]);
return $this->_propDict["platform"];
}
}
return null;
}
/**
* Sets the platform
*
* @param PayloadDeliveryPlatform $val The platform
*
* @return Payload
*/
public function setPlatform($val)
{
$this->_propDict["platform"] = $val;
return $this;
}
/**
* Gets the predictedCompromiseRate
*
* @return float|null The predictedCompromiseRate
*/
public function getPredictedCompromiseRate()
{
if (array_key_exists("predictedCompromiseRate", $this->_propDict)) {
return $this->_propDict["predictedCompromiseRate"];
} else {
return null;
}
}
/**
* Sets the predictedCompromiseRate
*
* @param float $val The predictedCompromiseRate
*
* @return Payload
*/
public function setPredictedCompromiseRate($val)
{
$this->_propDict["predictedCompromiseRate"] = floatval($val);
return $this;
}
/**
* Gets the simulationAttackType
*
* @return SimulationAttackType|null The simulationAttackType
*/
public function getSimulationAttackType()
{
if (array_key_exists("simulationAttackType", $this->_propDict)) {
if (is_a($this->_propDict["simulationAttackType"], "\Beta\Microsoft\Graph\Model\SimulationAttackType") || is_null($this->_propDict["simulationAttackType"])) {
return $this->_propDict["simulationAttackType"];
} else {
$this->_propDict["simulationAttackType"] = new SimulationAttackType($this->_propDict["simulationAttackType"]);
return $this->_propDict["simulationAttackType"];
}
}
return null;
}
/**
* Sets the simulationAttackType
*
* @param SimulationAttackType $val The simulationAttackType
*
* @return Payload
*/
public function setSimulationAttackType($val)
{
$this->_propDict["simulationAttackType"] = $val;
return $this;
}
/**
* Gets the source
*
* @return SimulationContentSource|null The source
*/
public function getSource()
{
if (array_key_exists("source", $this->_propDict)) {
if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\SimulationContentSource") || is_null($this->_propDict["source"])) {
return $this->_propDict["source"];
} else {
$this->_propDict["source"] = new SimulationContentSource($this->_propDict["source"]);
return $this->_propDict["source"];
}
}
return null;
}
/**
* Sets the source
*
* @param SimulationContentSource $val The source
*
* @return Payload
*/
public function setSource($val)
{
$this->_propDict["source"] = $val;
return $this;
}
/**
* Gets the status
*
* @return SimulationContentStatus|null The status
*/
public function getStatus()
{
if (array_key_exists("status", $this->_propDict)) {
if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\SimulationContentStatus") || is_null($this->_propDict["status"])) {
return $this->_propDict["status"];
} else {
$this->_propDict["status"] = new SimulationContentStatus($this->_propDict["status"]);
return $this->_propDict["status"];
}
}
return null;
}
/**
* Sets the status
*
* @param SimulationContentStatus $val The status
*
* @return Payload
*/
public function setStatus($val)
{
$this->_propDict["status"] = $val;
return $this;
}
/**
* Gets the technique
*
* @return SimulationAttackTechnique|null The technique
*/
public function getTechnique()
{
if (array_key_exists("technique", $this->_propDict)) {
if (is_a($this->_propDict["technique"], "\Beta\Microsoft\Graph\Model\SimulationAttackTechnique") || is_null($this->_propDict["technique"])) {
return $this->_propDict["technique"];
} else {
$this->_propDict["technique"] = new SimulationAttackTechnique($this->_propDict["technique"]);
return $this->_propDict["technique"];
}
}
return null;
}
/**
* Sets the technique
*
* @param SimulationAttackTechnique $val The technique
*
* @return Payload
*/
public function setTechnique($val)
{
$this->_propDict["technique"] = $val;
return $this;
}
/**
* Gets the theme
*
* @return PayloadTheme|null The theme
*/
public function getTheme()
{
if (array_key_exists("theme", $this->_propDict)) {
if (is_a($this->_propDict["theme"], "\Beta\Microsoft\Graph\Model\PayloadTheme") || is_null($this->_propDict["theme"])) {
return $this->_propDict["theme"];
} else {
$this->_propDict["theme"] = new PayloadTheme($this->_propDict["theme"]);
return $this->_propDict["theme"];
}
}
return null;
}
/**
* Sets the theme
*
* @param PayloadTheme $val The theme
*
* @return Payload
*/
public function setTheme($val)
{
$this->_propDict["theme"] = $val;
return $this;
}
}

View File

@ -0,0 +1,53 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PayloadBrand File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* PayloadBrand class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PayloadBrand extends Enum
{
/**
* The Enum PayloadBrand
*/
const UNKNOWN = "unknown";
const OTHER = "other";
const AMERICAN_EXPRESS = "americanExpress";
const CAPITAL_ONE = "capitalOne";
const DHL = "dhl";
const DOCU_SIGN = "docuSign";
const DROPBOX = "dropbox";
const FACEBOOK = "facebook";
const FIRST_AMERICAN = "firstAmerican";
const MICROSOFT = "microsoft";
const NETFLIX = "netflix";
const SCOTIABANK = "scotiabank";
const SEND_GRID = "sendGrid";
const STEWART_TITLE = "stewartTitle";
const TESCO = "tesco";
const WELLS_FARGO = "wellsFargo";
const SYRINX_CLOUD = "syrinxCloud";
const ADOBE = "adobe";
const TEAMS = "teams";
const ZOOM = "zoom";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,187 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PayloadCoachmark File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* PayloadCoachmark class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PayloadCoachmark extends Entity
{
/**
* Gets the coachmarkLocation
*
* @return CoachmarkLocation|null The coachmarkLocation
*/
public function getCoachmarkLocation()
{
if (array_key_exists("coachmarkLocation", $this->_propDict)) {
if (is_a($this->_propDict["coachmarkLocation"], "\Beta\Microsoft\Graph\Model\CoachmarkLocation") || is_null($this->_propDict["coachmarkLocation"])) {
return $this->_propDict["coachmarkLocation"];
} else {
$this->_propDict["coachmarkLocation"] = new CoachmarkLocation($this->_propDict["coachmarkLocation"]);
return $this->_propDict["coachmarkLocation"];
}
}
return null;
}
/**
* Sets the coachmarkLocation
*
* @param CoachmarkLocation $val The value to assign to the coachmarkLocation
*
* @return PayloadCoachmark The PayloadCoachmark
*/
public function setCoachmarkLocation($val)
{
$this->_propDict["coachmarkLocation"] = $val;
return $this;
}
/**
* Gets the description
*
* @return string|null The description
*/
public function getDescription()
{
if (array_key_exists("description", $this->_propDict)) {
return $this->_propDict["description"];
} else {
return null;
}
}
/**
* Sets the description
*
* @param string $val The value of the description
*
* @return PayloadCoachmark
*/
public function setDescription($val)
{
$this->_propDict["description"] = $val;
return $this;
}
/**
* Gets the indicator
*
* @return string|null The indicator
*/
public function getIndicator()
{
if (array_key_exists("indicator", $this->_propDict)) {
return $this->_propDict["indicator"];
} else {
return null;
}
}
/**
* Sets the indicator
*
* @param string $val The value of the indicator
*
* @return PayloadCoachmark
*/
public function setIndicator($val)
{
$this->_propDict["indicator"] = $val;
return $this;
}
/**
* Gets the isValid
*
* @return bool|null The isValid
*/
public function getIsValid()
{
if (array_key_exists("isValid", $this->_propDict)) {
return $this->_propDict["isValid"];
} else {
return null;
}
}
/**
* Sets the isValid
*
* @param bool $val The value of the isValid
*
* @return PayloadCoachmark
*/
public function setIsValid($val)
{
$this->_propDict["isValid"] = $val;
return $this;
}
/**
* Gets the language
*
* @return string|null The language
*/
public function getLanguage()
{
if (array_key_exists("language", $this->_propDict)) {
return $this->_propDict["language"];
} else {
return null;
}
}
/**
* Sets the language
*
* @param string $val The value of the language
*
* @return PayloadCoachmark
*/
public function setLanguage($val)
{
$this->_propDict["language"] = $val;
return $this;
}
/**
* Gets the order
*
* @return string|null The order
*/
public function getOrder()
{
if (array_key_exists("order", $this->_propDict)) {
return $this->_propDict["order"];
} else {
return null;
}
}
/**
* Sets the order
*
* @param string $val The value of the order
*
* @return PayloadCoachmark
*/
public function setOrder($val)
{
$this->_propDict["order"] = $val;
return $this;
}
}

View File

@ -0,0 +1,37 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PayloadComplexity File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* PayloadComplexity class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PayloadComplexity extends Enum
{
/**
* The Enum PayloadComplexity
*/
const UNKNOWN = "unknown";
const LOW = "low";
const MEDIUM = "medium";
const HIGH = "high";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,109 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PayloadDetail File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* PayloadDetail class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PayloadDetail extends Entity
{
/**
* Gets the coachmarks
*
* @return PayloadCoachmark|null The coachmarks
*/
public function getCoachmarks()
{
if (array_key_exists("coachmarks", $this->_propDict)) {
if (is_a($this->_propDict["coachmarks"], "\Beta\Microsoft\Graph\Model\PayloadCoachmark") || is_null($this->_propDict["coachmarks"])) {
return $this->_propDict["coachmarks"];
} else {
$this->_propDict["coachmarks"] = new PayloadCoachmark($this->_propDict["coachmarks"]);
return $this->_propDict["coachmarks"];
}
}
return null;
}
/**
* Sets the coachmarks
*
* @param PayloadCoachmark $val The value to assign to the coachmarks
*
* @return PayloadDetail The PayloadDetail
*/
public function setCoachmarks($val)
{
$this->_propDict["coachmarks"] = $val;
return $this;
}
/**
* Gets the content
*
* @return string|null The content
*/
public function getContent()
{
if (array_key_exists("content", $this->_propDict)) {
return $this->_propDict["content"];
} else {
return null;
}
}
/**
* Sets the content
*
* @param string $val The value of the content
*
* @return PayloadDetail
*/
public function setContent($val)
{
$this->_propDict["content"] = $val;
return $this;
}
/**
* Gets the phishingUrl
*
* @return string|null The phishingUrl
*/
public function getPhishingUrl()
{
if (array_key_exists("phishingUrl", $this->_propDict)) {
return $this->_propDict["phishingUrl"];
} else {
return null;
}
}
/**
* Sets the phishingUrl
*
* @param string $val The value of the phishingUrl
*
* @return PayloadDetail
*/
public function setPhishingUrl($val)
{
$this->_propDict["phishingUrl"] = $val;
return $this;
}
}

View File

@ -0,0 +1,54 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PayloadIndustry File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* PayloadIndustry class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PayloadIndustry extends Enum
{
/**
* The Enum PayloadIndustry
*/
const UNKNOWN = "unknown";
const OTHER = "other";
const BANKING = "banking";
const BUSINESS_SERVICES = "businessServices";
const CONSUMER_SERVICES = "consumerServices";
const EDUCATION = "education";
const ENERGY = "energy";
const CONSTRUCTION = "construction";
const CONSULTING = "consulting";
const FINANCIAL_SERVICES = "financialServices";
const GOVERNMENT = "government";
const HOSPITALITY = "hospitality";
const INSURANCE = "insurance";
const LEGAL = "legal";
const COURIER_SERVICES = "courierServices";
const IT = "iT";
const HEALTHCARE = "healthcare";
const MANUFACTURING = "manufacturing";
const RETAIL = "retail";
const TELECOM = "telecom";
const REAL_ESTATE = "realEstate";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,64 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PayloadTheme File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* PayloadTheme class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PayloadTheme extends Enum
{
/**
* The Enum PayloadTheme
*/
const UNKNOWN = "unknown";
const OTHER = "other";
const ACCOUNT_ACTIVATION = "accountActivation";
const ACCOUNT_VERIFICATION = "accountVerification";
const BILLING = "billing";
const CLEAN_UP_MAIL = "cleanUpMail";
const CONTROVERSIAL = "controversial";
const DOCUMENT_RECEIVED = "documentReceived";
const EXPENSE = "expense";
const FAX = "fax";
const FINANCE_REPORT = "financeReport";
const INCOMING_MESSAGES = "incomingMessages";
const INVOICE = "invoice";
const ITEM_RECEIVED = "itemReceived";
const LOGIN_ALERT = "loginAlert";
const MAIL_RECEIVED = "mailReceived";
const PASSWORD = "password";
const PAYMENT = "payment";
const PAYROLL = "payroll";
const PERSONALIZED_OFFER = "personalizedOffer";
const QUARANTINE = "quarantine";
const REMOTE_WORK = "remoteWork";
const REVIEW_MESSAGE = "reviewMessage";
const SECURITY_UPDATE = "securityUpdate";
const SERVICE_SUSPENDED = "serviceSuspended";
const SIGNATURE_REQUIRED = "signatureRequired";
const UPGRADE_MAILBOX_STORAGE = "upgradeMailboxStorage";
const VERIFY_MAILBOX = "verifyMailbox";
const VOICEMAIL = "voicemail";
const ADVERTISEMENT = "advertisement";
const EMPLOYEE_ENGAGEMENT = "employeeEngagement";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -25,6 +25,7 @@ class PlannerFieldRules extends Entity
{
/**
* Gets the defaultRules
* The default rules that apply if no override matches to the current data.
*
* @return string|null The defaultRules
*/
@ -39,6 +40,7 @@ class PlannerFieldRules extends Entity
/**
* Sets the defaultRules
* The default rules that apply if no override matches to the current data.
*
* @param string $val The value of the defaultRules
*
@ -52,6 +54,7 @@ class PlannerFieldRules extends Entity
/**
* Gets the overrides
* Overrides that specify different rules for specific data associated with the field.
*
* @return PlannerRuleOverride|null The overrides
*/
@ -70,6 +73,7 @@ class PlannerFieldRules extends Entity
/**
* Sets the overrides
* Overrides that specify different rules for specific data associated with the field.
*
* @param PlannerRuleOverride $val The value to assign to the overrides
*

View File

@ -27,6 +27,7 @@ class PlannerPlanConfiguration extends Entity
/**
* Gets the buckets
* List the buckets that should be created in the plan.
*
* @return array|null The buckets
*/
@ -41,6 +42,7 @@ class PlannerPlanConfiguration extends Entity
/**
* Sets the buckets
* List the buckets that should be created in the plan.
*
* @param PlannerPlanConfigurationBucketDefinition[] $val The buckets
*
@ -54,6 +56,7 @@ class PlannerPlanConfiguration extends Entity
/**
* Gets the createdBy
* The identity of the creator of the plan configuration.
*
* @return IdentitySet|null The createdBy
*/
@ -72,6 +75,7 @@ class PlannerPlanConfiguration extends Entity
/**
* Sets the createdBy
* The identity of the creator of the plan configuration.
*
* @param IdentitySet $val The createdBy
*
@ -85,6 +89,7 @@ class PlannerPlanConfiguration extends Entity
/**
* Gets the createdDateTime
* The date and time when the plan configuration was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @return \DateTime|null The createdDateTime
*/
@ -103,6 +108,7 @@ class PlannerPlanConfiguration extends Entity
/**
* Sets the createdDateTime
* The date and time when the plan configuration was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @param \DateTime $val The createdDateTime
*
@ -116,6 +122,7 @@ class PlannerPlanConfiguration extends Entity
/**
* Gets the defaultLanguage
* The language code for the default language to be used for the names of the objects created for the plan.
*
* @return string|null The defaultLanguage
*/
@ -130,6 +137,7 @@ class PlannerPlanConfiguration extends Entity
/**
* Sets the defaultLanguage
* The language code for the default language to be used for the names of the objects created for the plan.
*
* @param string $val The defaultLanguage
*
@ -143,6 +151,7 @@ class PlannerPlanConfiguration extends Entity
/**
* Gets the lastModifiedBy
* The identity of the user who last modified the plan configuration.
*
* @return IdentitySet|null The lastModifiedBy
*/
@ -161,6 +170,7 @@ class PlannerPlanConfiguration extends Entity
/**
* Sets the lastModifiedBy
* The identity of the user who last modified the plan configuration.
*
* @param IdentitySet $val The lastModifiedBy
*
@ -174,6 +184,7 @@ class PlannerPlanConfiguration extends Entity
/**
* Gets the lastModifiedDateTime
* The date and time when the plan configuration was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @return \DateTime|null The lastModifiedDateTime
*/
@ -192,6 +203,7 @@ class PlannerPlanConfiguration extends Entity
/**
* Sets the lastModifiedDateTime
* The date and time when the plan configuration was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @param \DateTime $val The lastModifiedDateTime
*
@ -206,6 +218,7 @@ class PlannerPlanConfiguration extends Entity
/**
* Gets the localizations
* Localized names for the plan configuration.
*
* @return array|null The localizations
*/
@ -220,6 +233,7 @@ class PlannerPlanConfiguration extends Entity
/**
* Sets the localizations
* Localized names for the plan configuration.
*
* @param PlannerPlanConfigurationLocalization[] $val The localizations
*

View File

@ -25,6 +25,7 @@ class PlannerPlanConfigurationBucketDefinition extends Entity
{
/**
* Gets the externalBucketId
* Application-specified identifier of the bucket.
*
* @return string|null The externalBucketId
*/
@ -39,6 +40,7 @@ class PlannerPlanConfigurationBucketDefinition extends Entity
/**
* Sets the externalBucketId
* Application-specified identifier of the bucket.
*
* @param string $val The value of the externalBucketId
*

View File

@ -25,6 +25,7 @@ class PlannerPlanConfigurationBucketLocalization extends Entity
{
/**
* Gets the externalBucketId
* Application-specified identifier of the bucket.
*
* @return string|null The externalBucketId
*/
@ -39,6 +40,7 @@ class PlannerPlanConfigurationBucketLocalization extends Entity
/**
* Sets the externalBucketId
* Application-specified identifier of the bucket.
*
* @param string $val The value of the externalBucketId
*
@ -51,6 +53,7 @@ class PlannerPlanConfigurationBucketLocalization extends Entity
}
/**
* Gets the name
* Name of the bucket.
*
* @return string|null The name
*/
@ -65,6 +68,7 @@ class PlannerPlanConfigurationBucketLocalization extends Entity
/**
* Sets the name
* Name of the bucket.
*
* @param string $val The value of the name
*

View File

@ -27,6 +27,7 @@ class PlannerPlanConfigurationLocalization extends Entity
/**
* Gets the buckets
* Localized names for configured buckets in the plan configuration.
*
* @return array|null The buckets
*/
@ -41,6 +42,7 @@ class PlannerPlanConfigurationLocalization extends Entity
/**
* Sets the buckets
* Localized names for configured buckets in the plan configuration.
*
* @param PlannerPlanConfigurationBucketLocalization[] $val The buckets
*
@ -54,6 +56,7 @@ class PlannerPlanConfigurationLocalization extends Entity
/**
* Gets the languageTag
* The language code associated with the localized names in this object.
*
* @return string|null The languageTag
*/
@ -68,6 +71,7 @@ class PlannerPlanConfigurationLocalization extends Entity
/**
* Sets the languageTag
* The language code associated with the localized names in this object.
*
* @param string $val The languageTag
*
@ -81,6 +85,7 @@ class PlannerPlanConfigurationLocalization extends Entity
/**
* Gets the planTitle
* Localized title of the plan.
*
* @return string|null The planTitle
*/
@ -95,6 +100,7 @@ class PlannerPlanConfigurationLocalization extends Entity
/**
* Sets the planTitle
* Localized title of the plan.
*
* @param string $val The planTitle
*

View File

@ -26,6 +26,7 @@ class PlannerPropertyRule extends Entity
/**
* Gets the ruleKind
* Identifies which type of property rules is represented by this instance. The possible values are: taskRule, bucketRule, planRule, unknownFutureValue.
*
* @return PlannerRuleKind|null The ruleKind
*/
@ -44,6 +45,7 @@ class PlannerPropertyRule extends Entity
/**
* Sets the ruleKind
* Identifies which type of property rules is represented by this instance. The possible values are: taskRule, bucketRule, planRule, unknownFutureValue.
*
* @param PlannerRuleKind $val The value to assign to the ruleKind
*

View File

@ -26,6 +26,7 @@ class PlannerRelationshipBasedUserType extends PlannerTaskConfigurationRoleBase
/**
* Gets the role
* Identifies the relationship of the caller to the task. The possible values are: defaultRules, groupOwners, groupMembers, taskAssignees, applications, unknownFutureValue.
*
* @return PlannerRelationshipUserRoles|null The role
*/
@ -44,6 +45,7 @@ class PlannerRelationshipBasedUserType extends PlannerTaskConfigurationRoleBase
/**
* Sets the role
* Identifies the relationship of the caller to the task. The possible values are: defaultRules, groupOwners, groupMembers, taskAssignees, applications, unknownFutureValue.
*
* @param PlannerRelationshipUserRoles $val The value to assign to the role
*

View File

@ -25,6 +25,7 @@ class PlannerRuleOverride extends Entity
{
/**
* Gets the name
* Name of the override. Allowed override values will be dependent on the property affected by the rule.
*
* @return string|null The name
*/
@ -39,6 +40,7 @@ class PlannerRuleOverride extends Entity
/**
* Sets the name
* Name of the override. Allowed override values will be dependent on the property affected by the rule.
*
* @param string $val The value of the name
*
@ -51,6 +53,7 @@ class PlannerRuleOverride extends Entity
}
/**
* Gets the rules
* Overridden rules. These are used as rules for the override instead of the default rules.
*
* @return string|null The rules
*/
@ -65,6 +68,7 @@ class PlannerRuleOverride extends Entity
/**
* Sets the rules
* Overridden rules. These are used as rules for the override instead of the default rules.
*
* @param string $val The value of the rules
*

View File

@ -26,6 +26,7 @@ class PlannerTaskConfiguration extends Entity
{
/**
* Gets the editPolicy
* Policy configuration for tasks created for the businessScenario when they are being changed outside of the scenario.
*
* @return PlannerTaskPolicy|null The editPolicy
*/
@ -44,6 +45,7 @@ class PlannerTaskConfiguration extends Entity
/**
* Sets the editPolicy
* Policy configuration for tasks created for the businessScenario when they are being changed outside of the scenario.
*
* @param PlannerTaskPolicy $val The editPolicy
*

View File

@ -26,6 +26,7 @@ class PlannerTaskConfigurationRoleBase extends Entity
/**
* Gets the roleKind
* Type of the role. The possible values are: relationship, unknownFutureValue.
*
* @return PlannerUserRoleKind|null The roleKind
*/
@ -44,6 +45,7 @@ class PlannerTaskConfigurationRoleBase extends Entity
/**
* Sets the roleKind
* Type of the role. The possible values are: relationship, unknownFutureValue.
*
* @param PlannerUserRoleKind $val The value to assign to the roleKind
*

View File

@ -26,6 +26,7 @@ class PlannerTaskPolicy extends Entity
/**
* Gets the rules
* The rules that should be enforced on the tasks when they are being changed outside of the scenario, based on the role of the caller.
*
* @return PlannerTaskRoleBasedRule|null The rules
*/
@ -44,6 +45,7 @@ class PlannerTaskPolicy extends Entity
/**
* Sets the rules
* The rules that should be enforced on the tasks when they are being changed outside of the scenario, based on the role of the caller.
*
* @param PlannerTaskRoleBasedRule $val The value to assign to the rules
*

View File

@ -26,6 +26,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
/**
* Gets the appliedCategories
* Rules and restrictions for applied categories. This value does not currently support overrides. Accepted values for the default rule and individual overrides are allow, block.
*
* @return PlannerFieldRules|null The appliedCategories
*/
@ -44,6 +45,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
/**
* Sets the appliedCategories
* Rules and restrictions for applied categories. This value does not currently support overrides. Accepted values for the default rule and individual overrides are allow, block.
*
* @param PlannerFieldRules $val The value to assign to the appliedCategories
*
@ -57,6 +59,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
/**
* Gets the assignments
* Rules and restrictions for assignments. Allowed overrides are userCreated and applicationCreated. Accepted values for the default rule and individual overrides are allow, add, addSelf, addOther, remove, removeSelf, removeOther, block.
*
* @return PlannerFieldRules|null The assignments
*/
@ -75,6 +78,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
/**
* Sets the assignments
* Rules and restrictions for assignments. Allowed overrides are userCreated and applicationCreated. Accepted values for the default rule and individual overrides are allow, add, addSelf, addOther, remove, removeSelf, removeOther, block.
*
* @param PlannerFieldRules $val The value to assign to the assignments
*
@ -88,6 +92,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
/**
* Gets the checkLists
* Rules and restrictions for checklist. Allowed overrides are userCreated and applicationCreated. Accepted values for the default rule and individual overrides are allow, add, remove, update, check, reorder, block.
*
* @return PlannerFieldRules|null The checkLists
*/
@ -106,6 +111,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
/**
* Sets the checkLists
* Rules and restrictions for checklist. Allowed overrides are userCreated and applicationCreated. Accepted values for the default rule and individual overrides are allow, add, remove, update, check, reorder, block.
*
* @param PlannerFieldRules $val The value to assign to the checkLists
*
@ -118,6 +124,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
}
/**
* Gets the delete
* Rules and restrictions for deleting the task. Accepted values are allow and block.
*
* @return string|null The delete
*/
@ -132,6 +139,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
/**
* Sets the delete
* Rules and restrictions for deleting the task. Accepted values are allow and block.
*
* @param string $val The value of the delete
*
@ -144,6 +152,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
}
/**
* Gets the dueDate
* Rules and restrictions for changing the due date of the task. Accepted values are allow and block.
*
* @return string|null The dueDate
*/
@ -158,6 +167,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
/**
* Sets the dueDate
* Rules and restrictions for changing the due date of the task. Accepted values are allow and block.
*
* @param string $val The value of the dueDate
*
@ -170,6 +180,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
}
/**
* Gets the move
* Rules and restrictions for moving the task between buckets or plans. Accepted values are allow, moveBetweenPlans, moveBetweenBuckets, and block.
*
* @return string|null The move
*/
@ -184,6 +195,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
/**
* Sets the move
* Rules and restrictions for moving the task between buckets or plans. Accepted values are allow, moveBetweenPlans, moveBetweenBuckets, and block.
*
* @param string $val The value of the move
*
@ -196,6 +208,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
}
/**
* Gets the notes
* Rules and restrictions for changing the notes of the task. Accepted values are allow and block.
*
* @return string|null The notes
*/
@ -210,6 +223,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
/**
* Sets the notes
* Rules and restrictions for changing the notes of the task. Accepted values are allow and block.
*
* @param string $val The value of the notes
*
@ -222,6 +236,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
}
/**
* Gets the order
* Rules and restrictions for changing the order of the task. Accepted values are allow and block.
*
* @return string|null The order
*/
@ -236,6 +251,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
/**
* Sets the order
* Rules and restrictions for changing the order of the task. Accepted values are allow and block.
*
* @param string $val The value of the order
*
@ -248,6 +264,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
}
/**
* Gets the percentComplete
* Rules and restrictions for changing the completion percentage of the task. Accepted values are allow, setToComplete, setToNotStarted, setToInProgress, and block.
*
* @return string|null The percentComplete
*/
@ -262,6 +279,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
/**
* Sets the percentComplete
* Rules and restrictions for changing the completion percentage of the task. Accepted values are allow, setToComplete, setToNotStarted, setToInProgress, and block.
*
* @param string $val The value of the percentComplete
*
@ -274,6 +292,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
}
/**
* Gets the previewType
* Rules and restrictions for changing the preview type of the task. Accepted values are allow and block.
*
* @return string|null The previewType
*/
@ -288,6 +307,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
/**
* Sets the previewType
* Rules and restrictions for changing the preview type of the task. Accepted values are allow and block.
*
* @param string $val The value of the previewType
*
@ -300,6 +320,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
}
/**
* Gets the priority
* Rules and restrictions for changing the priority of the task. Accepted values are allow and block.
*
* @return string|null The priority
*/
@ -314,6 +335,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
/**
* Sets the priority
* Rules and restrictions for changing the priority of the task. Accepted values are allow and block.
*
* @param string $val The value of the priority
*
@ -327,6 +349,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
/**
* Gets the references
* Rules and restrictions for references. Allowed overrides are userCreated and applicationCreated. Accepted values for the default rule and individual overrides are allow, add, remove, block.
*
* @return PlannerFieldRules|null The references
*/
@ -345,6 +368,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
/**
* Sets the references
* Rules and restrictions for references. Allowed overrides are userCreated and applicationCreated. Accepted values for the default rule and individual overrides are allow, add, remove, block.
*
* @param PlannerFieldRules $val The value to assign to the references
*
@ -357,6 +381,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
}
/**
* Gets the startDate
* Rules and restrictions for changing the start date of the task. Accepted values are allow and block.
*
* @return string|null The startDate
*/
@ -371,6 +396,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
/**
* Sets the startDate
* Rules and restrictions for changing the start date of the task. Accepted values are allow and block.
*
* @param string $val The value of the startDate
*
@ -383,6 +409,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
}
/**
* Gets the title
* Rules and restrictions for changing the title of the task. Accepted values are allow and block.
*
* @return string|null The title
*/
@ -397,6 +424,7 @@ class PlannerTaskPropertyRule extends PlannerPropertyRule
/**
* Sets the title
* Rules and restrictions for changing the title of the task. Accepted values are allow and block.
*
* @param string $val The value of the title
*

View File

@ -25,6 +25,7 @@ class PlannerTaskRoleBasedRule extends Entity
{
/**
* Gets the defaultRule
* Default rule that applies when a property or action-specific rule is not provided. Possible values are: Allow, Block
*
* @return string|null The defaultRule
*/
@ -39,6 +40,7 @@ class PlannerTaskRoleBasedRule extends Entity
/**
* Sets the defaultRule
* Default rule that applies when a property or action-specific rule is not provided. Possible values are: Allow, Block
*
* @param string $val The value of the defaultRule
*
@ -52,6 +54,7 @@ class PlannerTaskRoleBasedRule extends Entity
/**
* Gets the propertyRule
* Rules for specific properties and actions.
*
* @return PlannerTaskPropertyRule|null The propertyRule
*/
@ -70,6 +73,7 @@ class PlannerTaskRoleBasedRule extends Entity
/**
* Sets the propertyRule
* Rules for specific properties and actions.
*
* @param PlannerTaskPropertyRule $val The value to assign to the propertyRule
*
@ -83,6 +87,7 @@ class PlannerTaskRoleBasedRule extends Entity
/**
* Gets the role
* The role these rules apply to.
*
* @return PlannerTaskConfigurationRoleBase|null The role
*/
@ -101,6 +106,7 @@ class PlannerTaskRoleBasedRule extends Entity
/**
* Sets the role
* The role these rules apply to.
*
* @param PlannerTaskConfigurationRoleBase $val The value to assign to the role
*

View File

@ -0,0 +1,195 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PrivilegedAccessGroup File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* PrivilegedAccessGroup class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PrivilegedAccessGroup extends Entity
{
/**
* Gets the assignmentScheduleInstances
*
* @return array|null The assignmentScheduleInstances
*/
public function getAssignmentScheduleInstances()
{
if (array_key_exists("assignmentScheduleInstances", $this->_propDict)) {
return $this->_propDict["assignmentScheduleInstances"];
} else {
return null;
}
}
/**
* Sets the assignmentScheduleInstances
*
* @param PrivilegedAccessGroupAssignmentScheduleInstance[] $val The assignmentScheduleInstances
*
* @return PrivilegedAccessGroup
*/
public function setAssignmentScheduleInstances($val)
{
$this->_propDict["assignmentScheduleInstances"] = $val;
return $this;
}
/**
* Gets the assignmentScheduleRequests
*
* @return array|null The assignmentScheduleRequests
*/
public function getAssignmentScheduleRequests()
{
if (array_key_exists("assignmentScheduleRequests", $this->_propDict)) {
return $this->_propDict["assignmentScheduleRequests"];
} else {
return null;
}
}
/**
* Sets the assignmentScheduleRequests
*
* @param PrivilegedAccessGroupAssignmentScheduleRequest[] $val The assignmentScheduleRequests
*
* @return PrivilegedAccessGroup
*/
public function setAssignmentScheduleRequests($val)
{
$this->_propDict["assignmentScheduleRequests"] = $val;
return $this;
}
/**
* Gets the assignmentSchedules
*
* @return array|null The assignmentSchedules
*/
public function getAssignmentSchedules()
{
if (array_key_exists("assignmentSchedules", $this->_propDict)) {
return $this->_propDict["assignmentSchedules"];
} else {
return null;
}
}
/**
* Sets the assignmentSchedules
*
* @param PrivilegedAccessGroupAssignmentSchedule[] $val The assignmentSchedules
*
* @return PrivilegedAccessGroup
*/
public function setAssignmentSchedules($val)
{
$this->_propDict["assignmentSchedules"] = $val;
return $this;
}
/**
* Gets the eligibilityScheduleInstances
*
* @return array|null The eligibilityScheduleInstances
*/
public function getEligibilityScheduleInstances()
{
if (array_key_exists("eligibilityScheduleInstances", $this->_propDict)) {
return $this->_propDict["eligibilityScheduleInstances"];
} else {
return null;
}
}
/**
* Sets the eligibilityScheduleInstances
*
* @param PrivilegedAccessGroupEligibilityScheduleInstance[] $val The eligibilityScheduleInstances
*
* @return PrivilegedAccessGroup
*/
public function setEligibilityScheduleInstances($val)
{
$this->_propDict["eligibilityScheduleInstances"] = $val;
return $this;
}
/**
* Gets the eligibilityScheduleRequests
*
* @return array|null The eligibilityScheduleRequests
*/
public function getEligibilityScheduleRequests()
{
if (array_key_exists("eligibilityScheduleRequests", $this->_propDict)) {
return $this->_propDict["eligibilityScheduleRequests"];
} else {
return null;
}
}
/**
* Sets the eligibilityScheduleRequests
*
* @param PrivilegedAccessGroupEligibilityScheduleRequest[] $val The eligibilityScheduleRequests
*
* @return PrivilegedAccessGroup
*/
public function setEligibilityScheduleRequests($val)
{
$this->_propDict["eligibilityScheduleRequests"] = $val;
return $this;
}
/**
* Gets the eligibilitySchedules
*
* @return array|null The eligibilitySchedules
*/
public function getEligibilitySchedules()
{
if (array_key_exists("eligibilitySchedules", $this->_propDict)) {
return $this->_propDict["eligibilitySchedules"];
} else {
return null;
}
}
/**
* Sets the eligibilitySchedules
*
* @param PrivilegedAccessGroupEligibilitySchedule[] $val The eligibilitySchedules
*
* @return PrivilegedAccessGroup
*/
public function setEligibilitySchedules($val)
{
$this->_propDict["eligibilitySchedules"] = $val;
return $this;
}
}

View File

@ -0,0 +1,267 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PrivilegedAccessGroupAssignmentSchedule File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* PrivilegedAccessGroupAssignmentSchedule class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PrivilegedAccessGroupAssignmentSchedule extends PrivilegedAccessSchedule
{
/**
* Gets the accessId
*
* @return PrivilegedAccessGroupRelationships|null The accessId
*/
public function getAccessId()
{
if (array_key_exists("accessId", $this->_propDict)) {
if (is_a($this->_propDict["accessId"], "\Beta\Microsoft\Graph\Model\PrivilegedAccessGroupRelationships") || is_null($this->_propDict["accessId"])) {
return $this->_propDict["accessId"];
} else {
$this->_propDict["accessId"] = new PrivilegedAccessGroupRelationships($this->_propDict["accessId"]);
return $this->_propDict["accessId"];
}
}
return null;
}
/**
* Sets the accessId
*
* @param PrivilegedAccessGroupRelationships $val The accessId
*
* @return PrivilegedAccessGroupAssignmentSchedule
*/
public function setAccessId($val)
{
$this->_propDict["accessId"] = $val;
return $this;
}
/**
* Gets the assignmentType
*
* @return PrivilegedAccessGroupAssignmentType|null The assignmentType
*/
public function getAssignmentType()
{
if (array_key_exists("assignmentType", $this->_propDict)) {
if (is_a($this->_propDict["assignmentType"], "\Beta\Microsoft\Graph\Model\PrivilegedAccessGroupAssignmentType") || is_null($this->_propDict["assignmentType"])) {
return $this->_propDict["assignmentType"];
} else {
$this->_propDict["assignmentType"] = new PrivilegedAccessGroupAssignmentType($this->_propDict["assignmentType"]);
return $this->_propDict["assignmentType"];
}
}
return null;
}
/**
* Sets the assignmentType
*
* @param PrivilegedAccessGroupAssignmentType $val The assignmentType
*
* @return PrivilegedAccessGroupAssignmentSchedule
*/
public function setAssignmentType($val)
{
$this->_propDict["assignmentType"] = $val;
return $this;
}
/**
* Gets the groupId
*
* @return string|null The groupId
*/
public function getGroupId()
{
if (array_key_exists("groupId", $this->_propDict)) {
return $this->_propDict["groupId"];
} else {
return null;
}
}
/**
* Sets the groupId
*
* @param string $val The groupId
*
* @return PrivilegedAccessGroupAssignmentSchedule
*/
public function setGroupId($val)
{
$this->_propDict["groupId"] = $val;
return $this;
}
/**
* Gets the memberType
*
* @return PrivilegedAccessGroupMemberType|null The memberType
*/
public function getMemberType()
{
if (array_key_exists("memberType", $this->_propDict)) {
if (is_a($this->_propDict["memberType"], "\Beta\Microsoft\Graph\Model\PrivilegedAccessGroupMemberType") || is_null($this->_propDict["memberType"])) {
return $this->_propDict["memberType"];
} else {
$this->_propDict["memberType"] = new PrivilegedAccessGroupMemberType($this->_propDict["memberType"]);
return $this->_propDict["memberType"];
}
}
return null;
}
/**
* Sets the memberType
*
* @param PrivilegedAccessGroupMemberType $val The memberType
*
* @return PrivilegedAccessGroupAssignmentSchedule
*/
public function setMemberType($val)
{
$this->_propDict["memberType"] = $val;
return $this;
}
/**
* Gets the principalId
*
* @return string|null The principalId
*/
public function getPrincipalId()
{
if (array_key_exists("principalId", $this->_propDict)) {
return $this->_propDict["principalId"];
} else {
return null;
}
}
/**
* Sets the principalId
*
* @param string $val The principalId
*
* @return PrivilegedAccessGroupAssignmentSchedule
*/
public function setPrincipalId($val)
{
$this->_propDict["principalId"] = $val;
return $this;
}
/**
* Gets the activatedUsing
*
* @return PrivilegedAccessGroupEligibilitySchedule|null The activatedUsing
*/
public function getActivatedUsing()
{
if (array_key_exists("activatedUsing", $this->_propDict)) {
if (is_a($this->_propDict["activatedUsing"], "\Beta\Microsoft\Graph\Model\PrivilegedAccessGroupEligibilitySchedule") || is_null($this->_propDict["activatedUsing"])) {
return $this->_propDict["activatedUsing"];
} else {
$this->_propDict["activatedUsing"] = new PrivilegedAccessGroupEligibilitySchedule($this->_propDict["activatedUsing"]);
return $this->_propDict["activatedUsing"];
}
}
return null;
}
/**
* Sets the activatedUsing
*
* @param PrivilegedAccessGroupEligibilitySchedule $val The activatedUsing
*
* @return PrivilegedAccessGroupAssignmentSchedule
*/
public function setActivatedUsing($val)
{
$this->_propDict["activatedUsing"] = $val;
return $this;
}
/**
* Gets the group
*
* @return Group|null The group
*/
public function getGroup()
{
if (array_key_exists("group", $this->_propDict)) {
if (is_a($this->_propDict["group"], "\Beta\Microsoft\Graph\Model\Group") || is_null($this->_propDict["group"])) {
return $this->_propDict["group"];
} else {
$this->_propDict["group"] = new Group($this->_propDict["group"]);
return $this->_propDict["group"];
}
}
return null;
}
/**
* Sets the group
*
* @param Group $val The group
*
* @return PrivilegedAccessGroupAssignmentSchedule
*/
public function setGroup($val)
{
$this->_propDict["group"] = $val;
return $this;
}
/**
* Gets the principal
*
* @return DirectoryObject|null The principal
*/
public function getPrincipal()
{
if (array_key_exists("principal", $this->_propDict)) {
if (is_a($this->_propDict["principal"], "\Beta\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["principal"])) {
return $this->_propDict["principal"];
} else {
$this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]);
return $this->_propDict["principal"];
}
}
return null;
}
/**
* Sets the principal
*
* @param DirectoryObject $val The principal
*
* @return PrivilegedAccessGroupAssignmentSchedule
*/
public function setPrincipal($val)
{
$this->_propDict["principal"] = $val;
return $this;
}
}

View File

@ -0,0 +1,294 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PrivilegedAccessGroupAssignmentScheduleInstance File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* PrivilegedAccessGroupAssignmentScheduleInstance class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PrivilegedAccessGroupAssignmentScheduleInstance extends PrivilegedAccessScheduleInstance
{
/**
* Gets the accessId
*
* @return PrivilegedAccessGroupRelationships|null The accessId
*/
public function getAccessId()
{
if (array_key_exists("accessId", $this->_propDict)) {
if (is_a($this->_propDict["accessId"], "\Beta\Microsoft\Graph\Model\PrivilegedAccessGroupRelationships") || is_null($this->_propDict["accessId"])) {
return $this->_propDict["accessId"];
} else {
$this->_propDict["accessId"] = new PrivilegedAccessGroupRelationships($this->_propDict["accessId"]);
return $this->_propDict["accessId"];
}
}
return null;
}
/**
* Sets the accessId
*
* @param PrivilegedAccessGroupRelationships $val The accessId
*
* @return PrivilegedAccessGroupAssignmentScheduleInstance
*/
public function setAccessId($val)
{
$this->_propDict["accessId"] = $val;
return $this;
}
/**
* Gets the assignmentScheduleId
*
* @return string|null The assignmentScheduleId
*/
public function getAssignmentScheduleId()
{
if (array_key_exists("assignmentScheduleId", $this->_propDict)) {
return $this->_propDict["assignmentScheduleId"];
} else {
return null;
}
}
/**
* Sets the assignmentScheduleId
*
* @param string $val The assignmentScheduleId
*
* @return PrivilegedAccessGroupAssignmentScheduleInstance
*/
public function setAssignmentScheduleId($val)
{
$this->_propDict["assignmentScheduleId"] = $val;
return $this;
}
/**
* Gets the assignmentType
*
* @return PrivilegedAccessGroupAssignmentType|null The assignmentType
*/
public function getAssignmentType()
{
if (array_key_exists("assignmentType", $this->_propDict)) {
if (is_a($this->_propDict["assignmentType"], "\Beta\Microsoft\Graph\Model\PrivilegedAccessGroupAssignmentType") || is_null($this->_propDict["assignmentType"])) {
return $this->_propDict["assignmentType"];
} else {
$this->_propDict["assignmentType"] = new PrivilegedAccessGroupAssignmentType($this->_propDict["assignmentType"]);
return $this->_propDict["assignmentType"];
}
}
return null;
}
/**
* Sets the assignmentType
*
* @param PrivilegedAccessGroupAssignmentType $val The assignmentType
*
* @return PrivilegedAccessGroupAssignmentScheduleInstance
*/
public function setAssignmentType($val)
{
$this->_propDict["assignmentType"] = $val;
return $this;
}
/**
* Gets the groupId
*
* @return string|null The groupId
*/
public function getGroupId()
{
if (array_key_exists("groupId", $this->_propDict)) {
return $this->_propDict["groupId"];
} else {
return null;
}
}
/**
* Sets the groupId
*
* @param string $val The groupId
*
* @return PrivilegedAccessGroupAssignmentScheduleInstance
*/
public function setGroupId($val)
{
$this->_propDict["groupId"] = $val;
return $this;
}
/**
* Gets the memberType
*
* @return PrivilegedAccessGroupMemberType|null The memberType
*/
public function getMemberType()
{
if (array_key_exists("memberType", $this->_propDict)) {
if (is_a($this->_propDict["memberType"], "\Beta\Microsoft\Graph\Model\PrivilegedAccessGroupMemberType") || is_null($this->_propDict["memberType"])) {
return $this->_propDict["memberType"];
} else {
$this->_propDict["memberType"] = new PrivilegedAccessGroupMemberType($this->_propDict["memberType"]);
return $this->_propDict["memberType"];
}
}
return null;
}
/**
* Sets the memberType
*
* @param PrivilegedAccessGroupMemberType $val The memberType
*
* @return PrivilegedAccessGroupAssignmentScheduleInstance
*/
public function setMemberType($val)
{
$this->_propDict["memberType"] = $val;
return $this;
}
/**
* Gets the principalId
*
* @return string|null The principalId
*/
public function getPrincipalId()
{
if (array_key_exists("principalId", $this->_propDict)) {
return $this->_propDict["principalId"];
} else {
return null;
}
}
/**
* Sets the principalId
*
* @param string $val The principalId
*
* @return PrivilegedAccessGroupAssignmentScheduleInstance
*/
public function setPrincipalId($val)
{
$this->_propDict["principalId"] = $val;
return $this;
}
/**
* Gets the activatedUsing
*
* @return PrivilegedAccessGroupEligibilityScheduleInstance|null The activatedUsing
*/
public function getActivatedUsing()
{
if (array_key_exists("activatedUsing", $this->_propDict)) {
if (is_a($this->_propDict["activatedUsing"], "\Beta\Microsoft\Graph\Model\PrivilegedAccessGroupEligibilityScheduleInstance") || is_null($this->_propDict["activatedUsing"])) {
return $this->_propDict["activatedUsing"];
} else {
$this->_propDict["activatedUsing"] = new PrivilegedAccessGroupEligibilityScheduleInstance($this->_propDict["activatedUsing"]);
return $this->_propDict["activatedUsing"];
}
}
return null;
}
/**
* Sets the activatedUsing
*
* @param PrivilegedAccessGroupEligibilityScheduleInstance $val The activatedUsing
*
* @return PrivilegedAccessGroupAssignmentScheduleInstance
*/
public function setActivatedUsing($val)
{
$this->_propDict["activatedUsing"] = $val;
return $this;
}
/**
* Gets the group
*
* @return Group|null The group
*/
public function getGroup()
{
if (array_key_exists("group", $this->_propDict)) {
if (is_a($this->_propDict["group"], "\Beta\Microsoft\Graph\Model\Group") || is_null($this->_propDict["group"])) {
return $this->_propDict["group"];
} else {
$this->_propDict["group"] = new Group($this->_propDict["group"]);
return $this->_propDict["group"];
}
}
return null;
}
/**
* Sets the group
*
* @param Group $val The group
*
* @return PrivilegedAccessGroupAssignmentScheduleInstance
*/
public function setGroup($val)
{
$this->_propDict["group"] = $val;
return $this;
}
/**
* Gets the principal
*
* @return DirectoryObject|null The principal
*/
public function getPrincipal()
{
if (array_key_exists("principal", $this->_propDict)) {
if (is_a($this->_propDict["principal"], "\Beta\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["principal"])) {
return $this->_propDict["principal"];
} else {
$this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]);
return $this->_propDict["principal"];
}
}
return null;
}
/**
* Sets the principal
*
* @param DirectoryObject $val The principal
*
* @return PrivilegedAccessGroupAssignmentScheduleInstance
*/
public function setPrincipal($val)
{
$this->_propDict["principal"] = $val;
return $this;
}
}

View File

@ -0,0 +1,263 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PrivilegedAccessGroupAssignmentScheduleRequest File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* PrivilegedAccessGroupAssignmentScheduleRequest class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PrivilegedAccessGroupAssignmentScheduleRequest extends PrivilegedAccessScheduleRequest
{
/**
* Gets the accessId
*
* @return PrivilegedAccessGroupRelationships|null The accessId
*/
public function getAccessId()
{
if (array_key_exists("accessId", $this->_propDict)) {
if (is_a($this->_propDict["accessId"], "\Beta\Microsoft\Graph\Model\PrivilegedAccessGroupRelationships") || is_null($this->_propDict["accessId"])) {
return $this->_propDict["accessId"];
} else {
$this->_propDict["accessId"] = new PrivilegedAccessGroupRelationships($this->_propDict["accessId"]);
return $this->_propDict["accessId"];
}
}
return null;
}
/**
* Sets the accessId
*
* @param PrivilegedAccessGroupRelationships $val The accessId
*
* @return PrivilegedAccessGroupAssignmentScheduleRequest
*/
public function setAccessId($val)
{
$this->_propDict["accessId"] = $val;
return $this;
}
/**
* Gets the groupId
*
* @return string|null The groupId
*/
public function getGroupId()
{
if (array_key_exists("groupId", $this->_propDict)) {
return $this->_propDict["groupId"];
} else {
return null;
}
}
/**
* Sets the groupId
*
* @param string $val The groupId
*
* @return PrivilegedAccessGroupAssignmentScheduleRequest
*/
public function setGroupId($val)
{
$this->_propDict["groupId"] = $val;
return $this;
}
/**
* Gets the principalId
*
* @return string|null The principalId
*/
public function getPrincipalId()
{
if (array_key_exists("principalId", $this->_propDict)) {
return $this->_propDict["principalId"];
} else {
return null;
}
}
/**
* Sets the principalId
*
* @param string $val The principalId
*
* @return PrivilegedAccessGroupAssignmentScheduleRequest
*/
public function setPrincipalId($val)
{
$this->_propDict["principalId"] = $val;
return $this;
}
/**
* Gets the targetScheduleId
*
* @return string|null The targetScheduleId
*/
public function getTargetScheduleId()
{
if (array_key_exists("targetScheduleId", $this->_propDict)) {
return $this->_propDict["targetScheduleId"];
} else {
return null;
}
}
/**
* Sets the targetScheduleId
*
* @param string $val The targetScheduleId
*
* @return PrivilegedAccessGroupAssignmentScheduleRequest
*/
public function setTargetScheduleId($val)
{
$this->_propDict["targetScheduleId"] = $val;
return $this;
}
/**
* Gets the activatedUsing
*
* @return PrivilegedAccessGroupEligibilitySchedule|null The activatedUsing
*/
public function getActivatedUsing()
{
if (array_key_exists("activatedUsing", $this->_propDict)) {
if (is_a($this->_propDict["activatedUsing"], "\Beta\Microsoft\Graph\Model\PrivilegedAccessGroupEligibilitySchedule") || is_null($this->_propDict["activatedUsing"])) {
return $this->_propDict["activatedUsing"];
} else {
$this->_propDict["activatedUsing"] = new PrivilegedAccessGroupEligibilitySchedule($this->_propDict["activatedUsing"]);
return $this->_propDict["activatedUsing"];
}
}
return null;
}
/**
* Sets the activatedUsing
*
* @param PrivilegedAccessGroupEligibilitySchedule $val The activatedUsing
*
* @return PrivilegedAccessGroupAssignmentScheduleRequest
*/
public function setActivatedUsing($val)
{
$this->_propDict["activatedUsing"] = $val;
return $this;
}
/**
* Gets the group
*
* @return Group|null The group
*/
public function getGroup()
{
if (array_key_exists("group", $this->_propDict)) {
if (is_a($this->_propDict["group"], "\Beta\Microsoft\Graph\Model\Group") || is_null($this->_propDict["group"])) {
return $this->_propDict["group"];
} else {
$this->_propDict["group"] = new Group($this->_propDict["group"]);
return $this->_propDict["group"];
}
}
return null;
}
/**
* Sets the group
*
* @param Group $val The group
*
* @return PrivilegedAccessGroupAssignmentScheduleRequest
*/
public function setGroup($val)
{
$this->_propDict["group"] = $val;
return $this;
}
/**
* Gets the principal
*
* @return DirectoryObject|null The principal
*/
public function getPrincipal()
{
if (array_key_exists("principal", $this->_propDict)) {
if (is_a($this->_propDict["principal"], "\Beta\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["principal"])) {
return $this->_propDict["principal"];
} else {
$this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]);
return $this->_propDict["principal"];
}
}
return null;
}
/**
* Sets the principal
*
* @param DirectoryObject $val The principal
*
* @return PrivilegedAccessGroupAssignmentScheduleRequest
*/
public function setPrincipal($val)
{
$this->_propDict["principal"] = $val;
return $this;
}
/**
* Gets the targetSchedule
*
* @return PrivilegedAccessGroupEligibilitySchedule|null The targetSchedule
*/
public function getTargetSchedule()
{
if (array_key_exists("targetSchedule", $this->_propDict)) {
if (is_a($this->_propDict["targetSchedule"], "\Beta\Microsoft\Graph\Model\PrivilegedAccessGroupEligibilitySchedule") || is_null($this->_propDict["targetSchedule"])) {
return $this->_propDict["targetSchedule"];
} else {
$this->_propDict["targetSchedule"] = new PrivilegedAccessGroupEligibilitySchedule($this->_propDict["targetSchedule"]);
return $this->_propDict["targetSchedule"];
}
}
return null;
}
/**
* Sets the targetSchedule
*
* @param PrivilegedAccessGroupEligibilitySchedule $val The targetSchedule
*
* @return PrivilegedAccessGroupAssignmentScheduleRequest
*/
public function setTargetSchedule($val)
{
$this->_propDict["targetSchedule"] = $val;
return $this;
}
}

View File

@ -0,0 +1,35 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PrivilegedAccessGroupAssignmentType File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* PrivilegedAccessGroupAssignmentType class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PrivilegedAccessGroupAssignmentType extends Enum
{
/**
* The Enum PrivilegedAccessGroupAssignmentType
*/
const ASSIGNED = "assigned";
const ACTIVATED = "activated";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,205 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PrivilegedAccessGroupEligibilitySchedule File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* PrivilegedAccessGroupEligibilitySchedule class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PrivilegedAccessGroupEligibilitySchedule extends PrivilegedAccessSchedule
{
/**
* Gets the accessId
*
* @return PrivilegedAccessGroupRelationships|null The accessId
*/
public function getAccessId()
{
if (array_key_exists("accessId", $this->_propDict)) {
if (is_a($this->_propDict["accessId"], "\Beta\Microsoft\Graph\Model\PrivilegedAccessGroupRelationships") || is_null($this->_propDict["accessId"])) {
return $this->_propDict["accessId"];
} else {
$this->_propDict["accessId"] = new PrivilegedAccessGroupRelationships($this->_propDict["accessId"]);
return $this->_propDict["accessId"];
}
}
return null;
}
/**
* Sets the accessId
*
* @param PrivilegedAccessGroupRelationships $val The accessId
*
* @return PrivilegedAccessGroupEligibilitySchedule
*/
public function setAccessId($val)
{
$this->_propDict["accessId"] = $val;
return $this;
}
/**
* Gets the groupId
*
* @return string|null The groupId
*/
public function getGroupId()
{
if (array_key_exists("groupId", $this->_propDict)) {
return $this->_propDict["groupId"];
} else {
return null;
}
}
/**
* Sets the groupId
*
* @param string $val The groupId
*
* @return PrivilegedAccessGroupEligibilitySchedule
*/
public function setGroupId($val)
{
$this->_propDict["groupId"] = $val;
return $this;
}
/**
* Gets the memberType
*
* @return PrivilegedAccessGroupMemberType|null The memberType
*/
public function getMemberType()
{
if (array_key_exists("memberType", $this->_propDict)) {
if (is_a($this->_propDict["memberType"], "\Beta\Microsoft\Graph\Model\PrivilegedAccessGroupMemberType") || is_null($this->_propDict["memberType"])) {
return $this->_propDict["memberType"];
} else {
$this->_propDict["memberType"] = new PrivilegedAccessGroupMemberType($this->_propDict["memberType"]);
return $this->_propDict["memberType"];
}
}
return null;
}
/**
* Sets the memberType
*
* @param PrivilegedAccessGroupMemberType $val The memberType
*
* @return PrivilegedAccessGroupEligibilitySchedule
*/
public function setMemberType($val)
{
$this->_propDict["memberType"] = $val;
return $this;
}
/**
* Gets the principalId
*
* @return string|null The principalId
*/
public function getPrincipalId()
{
if (array_key_exists("principalId", $this->_propDict)) {
return $this->_propDict["principalId"];
} else {
return null;
}
}
/**
* Sets the principalId
*
* @param string $val The principalId
*
* @return PrivilegedAccessGroupEligibilitySchedule
*/
public function setPrincipalId($val)
{
$this->_propDict["principalId"] = $val;
return $this;
}
/**
* Gets the group
*
* @return Group|null The group
*/
public function getGroup()
{
if (array_key_exists("group", $this->_propDict)) {
if (is_a($this->_propDict["group"], "\Beta\Microsoft\Graph\Model\Group") || is_null($this->_propDict["group"])) {
return $this->_propDict["group"];
} else {
$this->_propDict["group"] = new Group($this->_propDict["group"]);
return $this->_propDict["group"];
}
}
return null;
}
/**
* Sets the group
*
* @param Group $val The group
*
* @return PrivilegedAccessGroupEligibilitySchedule
*/
public function setGroup($val)
{
$this->_propDict["group"] = $val;
return $this;
}
/**
* Gets the principal
*
* @return DirectoryObject|null The principal
*/
public function getPrincipal()
{
if (array_key_exists("principal", $this->_propDict)) {
if (is_a($this->_propDict["principal"], "\Beta\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["principal"])) {
return $this->_propDict["principal"];
} else {
$this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]);
return $this->_propDict["principal"];
}
}
return null;
}
/**
* Sets the principal
*
* @param DirectoryObject $val The principal
*
* @return PrivilegedAccessGroupEligibilitySchedule
*/
public function setPrincipal($val)
{
$this->_propDict["principal"] = $val;
return $this;
}
}

View File

@ -0,0 +1,232 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PrivilegedAccessGroupEligibilityScheduleInstance File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* PrivilegedAccessGroupEligibilityScheduleInstance class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PrivilegedAccessGroupEligibilityScheduleInstance extends PrivilegedAccessScheduleInstance
{
/**
* Gets the accessId
*
* @return PrivilegedAccessGroupRelationships|null The accessId
*/
public function getAccessId()
{
if (array_key_exists("accessId", $this->_propDict)) {
if (is_a($this->_propDict["accessId"], "\Beta\Microsoft\Graph\Model\PrivilegedAccessGroupRelationships") || is_null($this->_propDict["accessId"])) {
return $this->_propDict["accessId"];
} else {
$this->_propDict["accessId"] = new PrivilegedAccessGroupRelationships($this->_propDict["accessId"]);
return $this->_propDict["accessId"];
}
}
return null;
}
/**
* Sets the accessId
*
* @param PrivilegedAccessGroupRelationships $val The accessId
*
* @return PrivilegedAccessGroupEligibilityScheduleInstance
*/
public function setAccessId($val)
{
$this->_propDict["accessId"] = $val;
return $this;
}
/**
* Gets the eligibilityScheduleId
*
* @return string|null The eligibilityScheduleId
*/
public function getEligibilityScheduleId()
{
if (array_key_exists("eligibilityScheduleId", $this->_propDict)) {
return $this->_propDict["eligibilityScheduleId"];
} else {
return null;
}
}
/**
* Sets the eligibilityScheduleId
*
* @param string $val The eligibilityScheduleId
*
* @return PrivilegedAccessGroupEligibilityScheduleInstance
*/
public function setEligibilityScheduleId($val)
{
$this->_propDict["eligibilityScheduleId"] = $val;
return $this;
}
/**
* Gets the groupId
*
* @return string|null The groupId
*/
public function getGroupId()
{
if (array_key_exists("groupId", $this->_propDict)) {
return $this->_propDict["groupId"];
} else {
return null;
}
}
/**
* Sets the groupId
*
* @param string $val The groupId
*
* @return PrivilegedAccessGroupEligibilityScheduleInstance
*/
public function setGroupId($val)
{
$this->_propDict["groupId"] = $val;
return $this;
}
/**
* Gets the memberType
*
* @return PrivilegedAccessGroupMemberType|null The memberType
*/
public function getMemberType()
{
if (array_key_exists("memberType", $this->_propDict)) {
if (is_a($this->_propDict["memberType"], "\Beta\Microsoft\Graph\Model\PrivilegedAccessGroupMemberType") || is_null($this->_propDict["memberType"])) {
return $this->_propDict["memberType"];
} else {
$this->_propDict["memberType"] = new PrivilegedAccessGroupMemberType($this->_propDict["memberType"]);
return $this->_propDict["memberType"];
}
}
return null;
}
/**
* Sets the memberType
*
* @param PrivilegedAccessGroupMemberType $val The memberType
*
* @return PrivilegedAccessGroupEligibilityScheduleInstance
*/
public function setMemberType($val)
{
$this->_propDict["memberType"] = $val;
return $this;
}
/**
* Gets the principalId
*
* @return string|null The principalId
*/
public function getPrincipalId()
{
if (array_key_exists("principalId", $this->_propDict)) {
return $this->_propDict["principalId"];
} else {
return null;
}
}
/**
* Sets the principalId
*
* @param string $val The principalId
*
* @return PrivilegedAccessGroupEligibilityScheduleInstance
*/
public function setPrincipalId($val)
{
$this->_propDict["principalId"] = $val;
return $this;
}
/**
* Gets the group
*
* @return Group|null The group
*/
public function getGroup()
{
if (array_key_exists("group", $this->_propDict)) {
if (is_a($this->_propDict["group"], "\Beta\Microsoft\Graph\Model\Group") || is_null($this->_propDict["group"])) {
return $this->_propDict["group"];
} else {
$this->_propDict["group"] = new Group($this->_propDict["group"]);
return $this->_propDict["group"];
}
}
return null;
}
/**
* Sets the group
*
* @param Group $val The group
*
* @return PrivilegedAccessGroupEligibilityScheduleInstance
*/
public function setGroup($val)
{
$this->_propDict["group"] = $val;
return $this;
}
/**
* Gets the principal
*
* @return DirectoryObject|null The principal
*/
public function getPrincipal()
{
if (array_key_exists("principal", $this->_propDict)) {
if (is_a($this->_propDict["principal"], "\Beta\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["principal"])) {
return $this->_propDict["principal"];
} else {
$this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]);
return $this->_propDict["principal"];
}
}
return null;
}
/**
* Sets the principal
*
* @param DirectoryObject $val The principal
*
* @return PrivilegedAccessGroupEligibilityScheduleInstance
*/
public function setPrincipal($val)
{
$this->_propDict["principal"] = $val;
return $this;
}
}

View File

@ -0,0 +1,232 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PrivilegedAccessGroupEligibilityScheduleRequest File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* PrivilegedAccessGroupEligibilityScheduleRequest class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PrivilegedAccessGroupEligibilityScheduleRequest extends PrivilegedAccessScheduleRequest
{
/**
* Gets the accessId
*
* @return PrivilegedAccessGroupRelationships|null The accessId
*/
public function getAccessId()
{
if (array_key_exists("accessId", $this->_propDict)) {
if (is_a($this->_propDict["accessId"], "\Beta\Microsoft\Graph\Model\PrivilegedAccessGroupRelationships") || is_null($this->_propDict["accessId"])) {
return $this->_propDict["accessId"];
} else {
$this->_propDict["accessId"] = new PrivilegedAccessGroupRelationships($this->_propDict["accessId"]);
return $this->_propDict["accessId"];
}
}
return null;
}
/**
* Sets the accessId
*
* @param PrivilegedAccessGroupRelationships $val The accessId
*
* @return PrivilegedAccessGroupEligibilityScheduleRequest
*/
public function setAccessId($val)
{
$this->_propDict["accessId"] = $val;
return $this;
}
/**
* Gets the groupId
*
* @return string|null The groupId
*/
public function getGroupId()
{
if (array_key_exists("groupId", $this->_propDict)) {
return $this->_propDict["groupId"];
} else {
return null;
}
}
/**
* Sets the groupId
*
* @param string $val The groupId
*
* @return PrivilegedAccessGroupEligibilityScheduleRequest
*/
public function setGroupId($val)
{
$this->_propDict["groupId"] = $val;
return $this;
}
/**
* Gets the principalId
*
* @return string|null The principalId
*/
public function getPrincipalId()
{
if (array_key_exists("principalId", $this->_propDict)) {
return $this->_propDict["principalId"];
} else {
return null;
}
}
/**
* Sets the principalId
*
* @param string $val The principalId
*
* @return PrivilegedAccessGroupEligibilityScheduleRequest
*/
public function setPrincipalId($val)
{
$this->_propDict["principalId"] = $val;
return $this;
}
/**
* Gets the targetScheduleId
*
* @return string|null The targetScheduleId
*/
public function getTargetScheduleId()
{
if (array_key_exists("targetScheduleId", $this->_propDict)) {
return $this->_propDict["targetScheduleId"];
} else {
return null;
}
}
/**
* Sets the targetScheduleId
*
* @param string $val The targetScheduleId
*
* @return PrivilegedAccessGroupEligibilityScheduleRequest
*/
public function setTargetScheduleId($val)
{
$this->_propDict["targetScheduleId"] = $val;
return $this;
}
/**
* Gets the group
*
* @return Group|null The group
*/
public function getGroup()
{
if (array_key_exists("group", $this->_propDict)) {
if (is_a($this->_propDict["group"], "\Beta\Microsoft\Graph\Model\Group") || is_null($this->_propDict["group"])) {
return $this->_propDict["group"];
} else {
$this->_propDict["group"] = new Group($this->_propDict["group"]);
return $this->_propDict["group"];
}
}
return null;
}
/**
* Sets the group
*
* @param Group $val The group
*
* @return PrivilegedAccessGroupEligibilityScheduleRequest
*/
public function setGroup($val)
{
$this->_propDict["group"] = $val;
return $this;
}
/**
* Gets the principal
*
* @return DirectoryObject|null The principal
*/
public function getPrincipal()
{
if (array_key_exists("principal", $this->_propDict)) {
if (is_a($this->_propDict["principal"], "\Beta\Microsoft\Graph\Model\DirectoryObject") || is_null($this->_propDict["principal"])) {
return $this->_propDict["principal"];
} else {
$this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]);
return $this->_propDict["principal"];
}
}
return null;
}
/**
* Sets the principal
*
* @param DirectoryObject $val The principal
*
* @return PrivilegedAccessGroupEligibilityScheduleRequest
*/
public function setPrincipal($val)
{
$this->_propDict["principal"] = $val;
return $this;
}
/**
* Gets the targetSchedule
*
* @return PrivilegedAccessGroupEligibilitySchedule|null The targetSchedule
*/
public function getTargetSchedule()
{
if (array_key_exists("targetSchedule", $this->_propDict)) {
if (is_a($this->_propDict["targetSchedule"], "\Beta\Microsoft\Graph\Model\PrivilegedAccessGroupEligibilitySchedule") || is_null($this->_propDict["targetSchedule"])) {
return $this->_propDict["targetSchedule"];
} else {
$this->_propDict["targetSchedule"] = new PrivilegedAccessGroupEligibilitySchedule($this->_propDict["targetSchedule"]);
return $this->_propDict["targetSchedule"];
}
}
return null;
}
/**
* Sets the targetSchedule
*
* @param PrivilegedAccessGroupEligibilitySchedule $val The targetSchedule
*
* @return PrivilegedAccessGroupEligibilityScheduleRequest
*/
public function setTargetSchedule($val)
{
$this->_propDict["targetSchedule"] = $val;
return $this;
}
}

View File

@ -0,0 +1,35 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PrivilegedAccessGroupMemberType File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* PrivilegedAccessGroupMemberType class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PrivilegedAccessGroupMemberType extends Enum
{
/**
* The Enum PrivilegedAccessGroupMemberType
*/
const DIRECT = "direct";
const GROUP = "group";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,35 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PrivilegedAccessGroupRelationships File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* PrivilegedAccessGroupRelationships class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PrivilegedAccessGroupRelationships extends Enum
{
/**
* The Enum PrivilegedAccessGroupRelationships
*/
const OWNER = "owner";
const MEMBER = "member";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,58 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PrivilegedAccessRoot File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* PrivilegedAccessRoot class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PrivilegedAccessRoot extends Entity
{
/**
* Gets the group
*
* @return PrivilegedAccessGroup|null The group
*/
public function getGroup()
{
if (array_key_exists("group", $this->_propDict)) {
if (is_a($this->_propDict["group"], "\Beta\Microsoft\Graph\Model\PrivilegedAccessGroup") || is_null($this->_propDict["group"])) {
return $this->_propDict["group"];
} else {
$this->_propDict["group"] = new PrivilegedAccessGroup($this->_propDict["group"]);
return $this->_propDict["group"];
}
}
return null;
}
/**
* Sets the group
*
* @param PrivilegedAccessGroup $val The group
*
* @return PrivilegedAccessRoot
*/
public function setGroup($val)
{
$this->_propDict["group"] = $val;
return $this;
}
}

View File

@ -0,0 +1,174 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PrivilegedAccessSchedule File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* PrivilegedAccessSchedule class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PrivilegedAccessSchedule extends Entity
{
/**
* Gets the createdDateTime
*
* @return \DateTime|null The createdDateTime
*/
public function getCreatedDateTime()
{
if (array_key_exists("createdDateTime", $this->_propDict)) {
if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) {
return $this->_propDict["createdDateTime"];
} else {
$this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]);
return $this->_propDict["createdDateTime"];
}
}
return null;
}
/**
* Sets the createdDateTime
*
* @param \DateTime $val The createdDateTime
*
* @return PrivilegedAccessSchedule
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
}
/**
* Gets the createdUsing
*
* @return string|null The createdUsing
*/
public function getCreatedUsing()
{
if (array_key_exists("createdUsing", $this->_propDict)) {
return $this->_propDict["createdUsing"];
} else {
return null;
}
}
/**
* Sets the createdUsing
*
* @param string $val The createdUsing
*
* @return PrivilegedAccessSchedule
*/
public function setCreatedUsing($val)
{
$this->_propDict["createdUsing"] = $val;
return $this;
}
/**
* Gets the modifiedDateTime
*
* @return \DateTime|null The modifiedDateTime
*/
public function getModifiedDateTime()
{
if (array_key_exists("modifiedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["modifiedDateTime"], "\DateTime") || is_null($this->_propDict["modifiedDateTime"])) {
return $this->_propDict["modifiedDateTime"];
} else {
$this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]);
return $this->_propDict["modifiedDateTime"];
}
}
return null;
}
/**
* Sets the modifiedDateTime
*
* @param \DateTime $val The modifiedDateTime
*
* @return PrivilegedAccessSchedule
*/
public function setModifiedDateTime($val)
{
$this->_propDict["modifiedDateTime"] = $val;
return $this;
}
/**
* Gets the scheduleInfo
*
* @return RequestSchedule|null The scheduleInfo
*/
public function getScheduleInfo()
{
if (array_key_exists("scheduleInfo", $this->_propDict)) {
if (is_a($this->_propDict["scheduleInfo"], "\Beta\Microsoft\Graph\Model\RequestSchedule") || is_null($this->_propDict["scheduleInfo"])) {
return $this->_propDict["scheduleInfo"];
} else {
$this->_propDict["scheduleInfo"] = new RequestSchedule($this->_propDict["scheduleInfo"]);
return $this->_propDict["scheduleInfo"];
}
}
return null;
}
/**
* Sets the scheduleInfo
*
* @param RequestSchedule $val The scheduleInfo
*
* @return PrivilegedAccessSchedule
*/
public function setScheduleInfo($val)
{
$this->_propDict["scheduleInfo"] = $val;
return $this;
}
/**
* Gets the status
*
* @return string|null The status
*/
public function getStatus()
{
if (array_key_exists("status", $this->_propDict)) {
return $this->_propDict["status"];
} else {
return null;
}
}
/**
* Sets the status
*
* @param string $val The status
*
* @return PrivilegedAccessSchedule
*/
public function setStatus($val)
{
$this->_propDict["status"] = $val;
return $this;
}
}

View File

@ -0,0 +1,89 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PrivilegedAccessScheduleInstance File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* PrivilegedAccessScheduleInstance class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PrivilegedAccessScheduleInstance extends Entity
{
/**
* Gets the endDateTime
*
* @return \DateTime|null The endDateTime
*/
public function getEndDateTime()
{
if (array_key_exists("endDateTime", $this->_propDict)) {
if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) {
return $this->_propDict["endDateTime"];
} else {
$this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]);
return $this->_propDict["endDateTime"];
}
}
return null;
}
/**
* Sets the endDateTime
*
* @param \DateTime $val The endDateTime
*
* @return PrivilegedAccessScheduleInstance
*/
public function setEndDateTime($val)
{
$this->_propDict["endDateTime"] = $val;
return $this;
}
/**
* Gets the startDateTime
*
* @return \DateTime|null The startDateTime
*/
public function getStartDateTime()
{
if (array_key_exists("startDateTime", $this->_propDict)) {
if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) {
return $this->_propDict["startDateTime"];
} else {
$this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]);
return $this->_propDict["startDateTime"];
}
}
return null;
}
/**
* Sets the startDateTime
*
* @param \DateTime $val The startDateTime
*
* @return PrivilegedAccessScheduleInstance
*/
public function setStartDateTime($val)
{
$this->_propDict["startDateTime"] = $val;
return $this;
}
}

View File

@ -0,0 +1,174 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PrivilegedAccessScheduleRequest File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* PrivilegedAccessScheduleRequest class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PrivilegedAccessScheduleRequest extends Request
{
/**
* Gets the action
*
* @return ScheduleRequestActions|null The action
*/
public function getAction()
{
if (array_key_exists("action", $this->_propDict)) {
if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\ScheduleRequestActions") || is_null($this->_propDict["action"])) {
return $this->_propDict["action"];
} else {
$this->_propDict["action"] = new ScheduleRequestActions($this->_propDict["action"]);
return $this->_propDict["action"];
}
}
return null;
}
/**
* Sets the action
*
* @param ScheduleRequestActions $val The action
*
* @return PrivilegedAccessScheduleRequest
*/
public function setAction($val)
{
$this->_propDict["action"] = $val;
return $this;
}
/**
* Gets the isValidationOnly
*
* @return bool|null The isValidationOnly
*/
public function getIsValidationOnly()
{
if (array_key_exists("isValidationOnly", $this->_propDict)) {
return $this->_propDict["isValidationOnly"];
} else {
return null;
}
}
/**
* Sets the isValidationOnly
*
* @param bool $val The isValidationOnly
*
* @return PrivilegedAccessScheduleRequest
*/
public function setIsValidationOnly($val)
{
$this->_propDict["isValidationOnly"] = boolval($val);
return $this;
}
/**
* Gets the justification
*
* @return string|null The justification
*/
public function getJustification()
{
if (array_key_exists("justification", $this->_propDict)) {
return $this->_propDict["justification"];
} else {
return null;
}
}
/**
* Sets the justification
*
* @param string $val The justification
*
* @return PrivilegedAccessScheduleRequest
*/
public function setJustification($val)
{
$this->_propDict["justification"] = $val;
return $this;
}
/**
* Gets the scheduleInfo
*
* @return RequestSchedule|null The scheduleInfo
*/
public function getScheduleInfo()
{
if (array_key_exists("scheduleInfo", $this->_propDict)) {
if (is_a($this->_propDict["scheduleInfo"], "\Beta\Microsoft\Graph\Model\RequestSchedule") || is_null($this->_propDict["scheduleInfo"])) {
return $this->_propDict["scheduleInfo"];
} else {
$this->_propDict["scheduleInfo"] = new RequestSchedule($this->_propDict["scheduleInfo"]);
return $this->_propDict["scheduleInfo"];
}
}
return null;
}
/**
* Sets the scheduleInfo
*
* @param RequestSchedule $val The scheduleInfo
*
* @return PrivilegedAccessScheduleRequest
*/
public function setScheduleInfo($val)
{
$this->_propDict["scheduleInfo"] = $val;
return $this;
}
/**
* Gets the ticketInfo
*
* @return TicketInfo|null The ticketInfo
*/
public function getTicketInfo()
{
if (array_key_exists("ticketInfo", $this->_propDict)) {
if (is_a($this->_propDict["ticketInfo"], "\Beta\Microsoft\Graph\Model\TicketInfo") || is_null($this->_propDict["ticketInfo"])) {
return $this->_propDict["ticketInfo"];
} else {
$this->_propDict["ticketInfo"] = new TicketInfo($this->_propDict["ticketInfo"]);
return $this->_propDict["ticketInfo"];
}
}
return null;
}
/**
* Sets the ticketInfo
*
* @param TicketInfo $val The ticketInfo
*
* @return PrivilegedAccessScheduleRequest
*/
public function setTicketInfo($val)
{
$this->_propDict["ticketInfo"] = $val;
return $this;
}
}

View File

@ -0,0 +1,42 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ScheduleRequestActions File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* ScheduleRequestActions class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class ScheduleRequestActions extends Enum
{
/**
* The Enum ScheduleRequestActions
*/
const ADMIN_ASSIGN = "adminAssign";
const ADMIN_UPDATE = "adminUpdate";
const ADMIN_REMOVE = "adminRemove";
const SELF_ACTIVATE = "selfActivate";
const SELF_DEACTIVATE = "selfDeactivate";
const ADMIN_EXTEND = "adminExtend";
const ADMIN_RENEW = "adminRenew";
const SELF_EXTEND = "selfExtend";
const SELF_RENEW = "selfRenew";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -80,6 +80,32 @@ class SearchHit extends Entity
return $this;
}
/**
* Gets the isCollapsed
*
* @return bool|null The isCollapsed
*/
public function getIsCollapsed()
{
if (array_key_exists("isCollapsed", $this->_propDict)) {
return $this->_propDict["isCollapsed"];
} else {
return null;
}
}
/**
* Sets the isCollapsed
*
* @param bool $val The value of the isCollapsed
*
* @return SearchHit
*/
public function setIsCollapsed($val)
{
$this->_propDict["isCollapsed"] = $val;
return $this;
}
/**
* Gets the rank
* The rank or the order of the result.
*

Some files were not shown because too many files have changed in this diff Show More