1
0
Fork 0

Update libraries to latest

master
Brie Bruns 2023-07-12 10:55:49 -06:00
parent 316a84f891
commit 9de74f9b16
513 changed files with 42788 additions and 1569 deletions

12
composer.lock generated
View File

@ -333,16 +333,16 @@
},
{
"name": "microsoft/microsoft-graph",
"version": "1.99.0",
"version": "1.102.0",
"source": {
"type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "8f12e704b7b7eb29515993c21bac8c10285c53fb"
"reference": "4b450b06ac9df3868bbdbddb31bfcc4595f643bc"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/8f12e704b7b7eb29515993c21bac8c10285c53fb",
"reference": "8f12e704b7b7eb29515993c21bac8c10285c53fb",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/4b450b06ac9df3868bbdbddb31bfcc4595f643bc",
"reference": "4b450b06ac9df3868bbdbddb31bfcc4595f643bc",
"shasum": ""
},
"require": {
@ -379,9 +379,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.99.0"
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.102.0"
},
"time": "2023-06-13T15:53:55+00:00"
"time": "2023-07-05T13:07:19+00:00"
},
{
"name": "psr/http-client",

View File

@ -336,17 +336,17 @@
},
{
"name": "microsoft/microsoft-graph",
"version": "1.99.0",
"version_normalized": "1.99.0.0",
"version": "1.102.0",
"version_normalized": "1.102.0.0",
"source": {
"type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "8f12e704b7b7eb29515993c21bac8c10285c53fb"
"reference": "4b450b06ac9df3868bbdbddb31bfcc4595f643bc"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/8f12e704b7b7eb29515993c21bac8c10285c53fb",
"reference": "8f12e704b7b7eb29515993c21bac8c10285c53fb",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/4b450b06ac9df3868bbdbddb31bfcc4595f643bc",
"reference": "4b450b06ac9df3868bbdbddb31bfcc4595f643bc",
"shasum": ""
},
"require": {
@ -361,7 +361,7 @@
"phpstan/phpstan": "^0.12.90 || ^1.0.0",
"phpunit/phpunit": "^8.0 || ^9.0"
},
"time": "2023-06-13T15:53:55+00:00",
"time": "2023-07-05T13:07:19+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@ -385,7 +385,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.99.0"
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.102.0"
},
"install-path": "../microsoft/microsoft-graph"
},

View File

@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => 'b281994a9890fbe9d2700e89b279206f077b1816',
'reference' => '316a84f89194c86443930c36b7d2449440c9cc56',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => 'b281994a9890fbe9d2700e89b279206f077b1816',
'reference' => '316a84f89194c86443930c36b7d2449440c9cc56',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
@ -47,9 +47,9 @@
'dev_requirement' => false,
),
'microsoft/microsoft-graph' => array(
'pretty_version' => '1.99.0',
'version' => '1.99.0.0',
'reference' => '8f12e704b7b7eb29515993c21bac8c10285c53fb',
'pretty_version' => '1.102.0',
'version' => '1.102.0.0',
'reference' => '4b450b06ac9df3868bbdbddb31bfcc4595f643bc',
'type' => 'library',
'install_path' => __DIR__ . '/../microsoft/microsoft-graph',
'aliases' => 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.99.0"
"microsoft/microsoft-graph": "^1.102.0"
}
}
```

View File

@ -202,6 +202,118 @@ class PstnCallLogRow extends \Beta\Microsoft\Graph\Model\Entity
return $this;
}
/**
* Gets the clientLocalIpV4Address
* Local IPv4 of the client that is retrieved from the operating system of the client.
*
* @return string|null The clientLocalIpV4Address
*/
public function getClientLocalIpV4Address()
{
if (array_key_exists("clientLocalIpV4Address", $this->_propDict)) {
return $this->_propDict["clientLocalIpV4Address"];
} else {
return null;
}
}
/**
* Sets the clientLocalIpV4Address
* Local IPv4 of the client that is retrieved from the operating system of the client.
*
* @param string $val The value of the clientLocalIpV4Address
*
* @return PstnCallLogRow
*/
public function setClientLocalIpV4Address($val)
{
$this->_propDict["clientLocalIpV4Address"] = $val;
return $this;
}
/**
* Gets the clientLocalIpV6Address
* Local IPv6 of the client that is retrieved from the operating system of the client.
*
* @return string|null The clientLocalIpV6Address
*/
public function getClientLocalIpV6Address()
{
if (array_key_exists("clientLocalIpV6Address", $this->_propDict)) {
return $this->_propDict["clientLocalIpV6Address"];
} else {
return null;
}
}
/**
* Sets the clientLocalIpV6Address
* Local IPv6 of the client that is retrieved from the operating system of the client.
*
* @param string $val The value of the clientLocalIpV6Address
*
* @return PstnCallLogRow
*/
public function setClientLocalIpV6Address($val)
{
$this->_propDict["clientLocalIpV6Address"] = $val;
return $this;
}
/**
* Gets the clientPublicIpV4Address
* Public IPv4 of the client that can be used to determine the location of the client.
*
* @return string|null The clientPublicIpV4Address
*/
public function getClientPublicIpV4Address()
{
if (array_key_exists("clientPublicIpV4Address", $this->_propDict)) {
return $this->_propDict["clientPublicIpV4Address"];
} else {
return null;
}
}
/**
* Sets the clientPublicIpV4Address
* Public IPv4 of the client that can be used to determine the location of the client.
*
* @param string $val The value of the clientPublicIpV4Address
*
* @return PstnCallLogRow
*/
public function setClientPublicIpV4Address($val)
{
$this->_propDict["clientPublicIpV4Address"] = $val;
return $this;
}
/**
* Gets the clientPublicIpV6Address
* Public IPv6 of the client that can be used to determine the location of the client.
*
* @return string|null The clientPublicIpV6Address
*/
public function getClientPublicIpV6Address()
{
if (array_key_exists("clientPublicIpV6Address", $this->_propDict)) {
return $this->_propDict["clientPublicIpV6Address"];
} else {
return null;
}
}
/**
* Sets the clientPublicIpV6Address
* Public IPv6 of the client that can be used to determine the location of the client.
*
* @param string $val The value of the clientPublicIpV6Address
*
* @return PstnCallLogRow
*/
public function setClientPublicIpV6Address($val)
{
$this->_propDict["clientPublicIpV6Address"] = $val;
return $this;
}
/**
* Gets the conferenceId
* ID of the audio conference.
*

View File

@ -54,7 +54,7 @@ class TimeBasedAttributeTrigger extends WorkflowExecutionTrigger
/**
* Gets the timeBasedAttribute
* Determines which time-based identity property to reference. The possible values are: employeeHireDate, employeeLeaveDateTime, unknownFutureValue.
* Determines which time-based identity property to reference. The possible values are: employeeHireDate, employeeLeaveDateTime, createdDateTime, unknownFutureValue.
*
* @return WorkflowTriggerTimeBasedAttribute|null The timeBasedAttribute
*/
@ -73,7 +73,7 @@ class TimeBasedAttributeTrigger extends WorkflowExecutionTrigger
/**
* Sets the timeBasedAttribute
* Determines which time-based identity property to reference. The possible values are: employeeHireDate, employeeLeaveDateTime, unknownFutureValue.
* Determines which time-based identity property to reference. The possible values are: employeeHireDate, employeeLeaveDateTime, createdDateTime, unknownFutureValue.
*
* @param WorkflowTriggerTimeBasedAttribute $val The value to assign to the timeBasedAttribute
*

View File

@ -318,6 +318,33 @@ class CredentialUserRegistrationsSummary extends \Beta\Microsoft\Graph\Model\Ent
return $this;
}
/**
* Gets the tenantLicenseType
*
* @return string|null The tenantLicenseType
*/
public function getTenantLicenseType()
{
if (array_key_exists("tenantLicenseType", $this->_propDict)) {
return $this->_propDict["tenantLicenseType"];
} else {
return null;
}
}
/**
* Sets the tenantLicenseType
*
* @param string $val The tenantLicenseType
*
* @return CredentialUserRegistrationsSummary
*/
public function setTenantLicenseType($val)
{
$this->_propDict["tenantLicenseType"] = $val;
return $this;
}
/**
* Gets the totalUserCount
* The total number of users in the given managed tenant. Optional. Read-only.

View File

@ -26,6 +26,7 @@ class AccessPackageSubject extends Entity
{
/**
* Gets the altSecId
* Not Supported.
*
* @return string|null The altSecId
*/
@ -40,6 +41,7 @@ class AccessPackageSubject extends Entity
/**
* Sets the altSecId
* Not Supported.
*
* @param string $val The altSecId
*
@ -140,7 +142,7 @@ class AccessPackageSubject extends Entity
/**
* Gets the objectId
* The object identifier of the subject. null if the subject is not yet a user in the tenant.
* The object identifier of the subject. null if the subject is not yet a user in the tenant. Alternate key.
*
* @return string|null The objectId
*/
@ -155,7 +157,7 @@ class AccessPackageSubject extends Entity
/**
* Sets the objectId
* The object identifier of the subject. null if the subject is not yet a user in the tenant.
* The object identifier of the subject. null if the subject is not yet a user in the tenant. Alternate key.
*
* @param string $val The objectId
*
@ -225,6 +227,7 @@ class AccessPackageSubject extends Entity
/**
* Gets the subjectLifecycle
* The lifecycle of the subject user, if a guest. The possible values are: notDefined, notGoverned, governed, unknownFutureValue.
*
* @return AccessPackageSubjectLifecycle|null The subjectLifecycle
*/
@ -243,6 +246,7 @@ class AccessPackageSubject extends Entity
/**
* Sets the subjectLifecycle
* The lifecycle of the subject user, if a guest. The possible values are: notDefined, notGoverned, governed, unknownFutureValue.
*
* @param AccessPackageSubjectLifecycle $val The subjectLifecycle
*

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.
*
* AccountsWithAccess 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;
/**
* AccountsWithAccess 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 AccountsWithAccess extends Entity
{
}

View File

@ -0,0 +1,104 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ActionSummary 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;
/**
* ActionSummary 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 ActionSummary extends Entity
{
/**
* Gets the assigned
*
* @return int|null The assigned
*/
public function getAssigned()
{
if (array_key_exists("assigned", $this->_propDict)) {
return $this->_propDict["assigned"];
} else {
return null;
}
}
/**
* Sets the assigned
*
* @param int $val The value of the assigned
*
* @return ActionSummary
*/
public function setAssigned($val)
{
$this->_propDict["assigned"] = $val;
return $this;
}
/**
* Gets the available
*
* @return int|null The available
*/
public function getAvailable()
{
if (array_key_exists("available", $this->_propDict)) {
return $this->_propDict["available"];
} else {
return null;
}
}
/**
* Sets the available
*
* @param int $val The value of the available
*
* @return ActionSummary
*/
public function setAvailable($val)
{
$this->_propDict["available"] = $val;
return $this;
}
/**
* Gets the exercised
*
* @return int|null The exercised
*/
public function getExercised()
{
if (array_key_exists("exercised", $this->_propDict)) {
return $this->_propDict["exercised"];
} else {
return null;
}
}
/**
* Sets the exercised
*
* @param int $val The value of the exercised
*
* @return ActionSummary
*/
public function setExercised($val)
{
$this->_propDict["exercised"] = $val;
return $this;
}
}

View File

@ -185,6 +185,130 @@ class Admin implements \JsonSerializable
return $this;
}
/**
* Gets the appsAndServices
*
* @return AdminAppsAndServices|null The appsAndServices
*/
public function getAppsAndServices()
{
if (array_key_exists("appsAndServices", $this->_propDict)) {
if (is_a($this->_propDict["appsAndServices"], "\Beta\Microsoft\Graph\Model\AdminAppsAndServices") || is_null($this->_propDict["appsAndServices"])) {
return $this->_propDict["appsAndServices"];
} else {
$this->_propDict["appsAndServices"] = new AdminAppsAndServices($this->_propDict["appsAndServices"]);
return $this->_propDict["appsAndServices"];
}
}
return null;
}
/**
* Sets the appsAndServices
*
* @param AdminAppsAndServices $val The appsAndServices
*
* @return Admin
*/
public function setAppsAndServices($val)
{
$this->_propDict["appsAndServices"] = $val;
return $this;
}
/**
* Gets the dynamics
*
* @return AdminDynamics|null The dynamics
*/
public function getDynamics()
{
if (array_key_exists("dynamics", $this->_propDict)) {
if (is_a($this->_propDict["dynamics"], "\Beta\Microsoft\Graph\Model\AdminDynamics") || is_null($this->_propDict["dynamics"])) {
return $this->_propDict["dynamics"];
} else {
$this->_propDict["dynamics"] = new AdminDynamics($this->_propDict["dynamics"]);
return $this->_propDict["dynamics"];
}
}
return null;
}
/**
* Sets the dynamics
*
* @param AdminDynamics $val The dynamics
*
* @return Admin
*/
public function setDynamics($val)
{
$this->_propDict["dynamics"] = $val;
return $this;
}
/**
* Gets the forms
*
* @return AdminForms|null The forms
*/
public function getForms()
{
if (array_key_exists("forms", $this->_propDict)) {
if (is_a($this->_propDict["forms"], "\Beta\Microsoft\Graph\Model\AdminForms") || is_null($this->_propDict["forms"])) {
return $this->_propDict["forms"];
} else {
$this->_propDict["forms"] = new AdminForms($this->_propDict["forms"]);
return $this->_propDict["forms"];
}
}
return null;
}
/**
* Sets the forms
*
* @param AdminForms $val The forms
*
* @return Admin
*/
public function setForms($val)
{
$this->_propDict["forms"] = $val;
return $this;
}
/**
* Gets the todo
*
* @return AdminTodo|null The todo
*/
public function getTodo()
{
if (array_key_exists("todo", $this->_propDict)) {
if (is_a($this->_propDict["todo"], "\Beta\Microsoft\Graph\Model\AdminTodo") || is_null($this->_propDict["todo"])) {
return $this->_propDict["todo"];
} else {
$this->_propDict["todo"] = new AdminTodo($this->_propDict["todo"]);
return $this->_propDict["todo"];
}
}
return null;
}
/**
* Sets the todo
*
* @param AdminTodo $val The todo
*
* @return Admin
*/
public function setTodo($val)
{
$this->_propDict["todo"] = $val;
return $this;
}
/**
* Gets the windows
* A container for all Windows administrator functionalities. Read-only.

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.
*
* AdminAppsAndServices 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;
/**
* AdminAppsAndServices 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 AdminAppsAndServices extends Entity
{
/**
* Gets the settings
*
* @return AppsAndServicesSettings|null The settings
*/
public function getSettings()
{
if (array_key_exists("settings", $this->_propDict)) {
if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\AppsAndServicesSettings") || is_null($this->_propDict["settings"])) {
return $this->_propDict["settings"];
} else {
$this->_propDict["settings"] = new AppsAndServicesSettings($this->_propDict["settings"]);
return $this->_propDict["settings"];
}
}
return null;
}
/**
* Sets the settings
*
* @param AppsAndServicesSettings $val The settings
*
* @return AdminAppsAndServices
*/
public function setSettings($val)
{
$this->_propDict["settings"] = $val;
return $this;
}
}

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.
*
* AdminDynamics 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;
/**
* AdminDynamics 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 AdminDynamics extends Entity
{
/**
* Gets the customerVoice
*
* @return CustomerVoiceSettings|null The customerVoice
*/
public function getCustomerVoice()
{
if (array_key_exists("customerVoice", $this->_propDict)) {
if (is_a($this->_propDict["customerVoice"], "\Beta\Microsoft\Graph\Model\CustomerVoiceSettings") || is_null($this->_propDict["customerVoice"])) {
return $this->_propDict["customerVoice"];
} else {
$this->_propDict["customerVoice"] = new CustomerVoiceSettings($this->_propDict["customerVoice"]);
return $this->_propDict["customerVoice"];
}
}
return null;
}
/**
* Sets the customerVoice
*
* @param CustomerVoiceSettings $val The customerVoice
*
* @return AdminDynamics
*/
public function setCustomerVoice($val)
{
$this->_propDict["customerVoice"] = $val;
return $this;
}
}

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.
*
* AdminForms 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;
/**
* AdminForms 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 AdminForms extends Entity
{
/**
* Gets the settings
*
* @return FormsSettings|null The settings
*/
public function getSettings()
{
if (array_key_exists("settings", $this->_propDict)) {
if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\FormsSettings") || is_null($this->_propDict["settings"])) {
return $this->_propDict["settings"];
} else {
$this->_propDict["settings"] = new FormsSettings($this->_propDict["settings"]);
return $this->_propDict["settings"];
}
}
return null;
}
/**
* Sets the settings
*
* @param FormsSettings $val The settings
*
* @return AdminForms
*/
public function setSettings($val)
{
$this->_propDict["settings"] = $val;
return $this;
}
}

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.
*
* AdminTodo 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;
/**
* AdminTodo 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 AdminTodo extends Entity
{
/**
* Gets the settings
*
* @return TodoSettings|null The settings
*/
public function getSettings()
{
if (array_key_exists("settings", $this->_propDict)) {
if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\TodoSettings") || is_null($this->_propDict["settings"])) {
return $this->_propDict["settings"];
} else {
$this->_propDict["settings"] = new TodoSettings($this->_propDict["settings"]);
return $this->_propDict["settings"];
}
}
return null;
}
/**
* Sets the settings
*
* @param TodoSettings $val The settings
*
* @return AdminTodo
*/
public function setSettings($val)
{
$this->_propDict["settings"] = $val;
return $this;
}
}

View File

@ -84,7 +84,7 @@ class AdministrativeUnit extends DirectoryObject
/**
* Gets the isMemberManagementRestricted
* true if members of this administrative unit should be treated as sensitive, which requires specific permissions to manage. Default value is false. Use this property to define administrative units whose roles don't inherit from tenant-level administrators, and management of individual member objects is limited to administrators scoped to a restricted management administrative unit. Immutable, so cannot be changed later.
* true if members of this administrative unit should be treated as sensitive, which requires specific permissions to manage. Default value is false. Use this property to define administrative units whose roles don't inherit from tenant-level administrators, and management of individual member objects is limited to administrators scoped to a restricted management administrative unit. Immutable, so cannot be changed later. For more information about working with restricted management administrative units, see Restricted management administrative units in Azure Active Directory.
*
* @return bool|null The isMemberManagementRestricted
*/
@ -99,7 +99,7 @@ class AdministrativeUnit extends DirectoryObject
/**
* Sets the isMemberManagementRestricted
* true if members of this administrative unit should be treated as sensitive, which requires specific permissions to manage. Default value is false. Use this property to define administrative units whose roles don't inherit from tenant-level administrators, and management of individual member objects is limited to administrators scoped to a restricted management administrative unit. Immutable, so cannot be changed later.
* true if members of this administrative unit should be treated as sensitive, which requires specific permissions to manage. Default value is false. Use this property to define administrative units whose roles don't inherit from tenant-level administrators, and management of individual member objects is limited to administrators scoped to a restricted management administrative unit. Immutable, so cannot be changed later. For more information about working with restricted management administrative units, see Restricted management administrative units in Azure Active Directory.
*
* @param bool $val The isMemberManagementRestricted
*

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.
*
* AllAccountsWithAccess 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;
/**
* AllAccountsWithAccess 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 AllAccountsWithAccess extends AccountsWithAccess
{
}

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.
*
* AllDomains 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;
/**
* AllDomains 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 AllDomains extends ValidatingDomains
{
/**
* Set the @odata.type since this type is immediately descended from an abstract
* type that is referenced as the type in an entity.
* @param array $propDict The property dictionary
*/
public function __construct($propDict = array())
{
parent::__construct($propDict);
$this->setODataType("#microsoft.graph.allDomains");
}
}

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.
*
* AllInboundPorts 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;
/**
* AllInboundPorts 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 AllInboundPorts extends InboundPorts
{
}

View File

@ -25,7 +25,7 @@ class AlternativeSecurityId extends Entity
{
/**
* Gets the identityProvider
* For internal use only
* For internal use only.
*
* @return string|null The identityProvider
*/
@ -40,7 +40,7 @@ class AlternativeSecurityId extends Entity
/**
* Sets the identityProvider
* For internal use only
* For internal use only.
*
* @param string $val The value of the identityProvider
*
@ -54,7 +54,7 @@ class AlternativeSecurityId extends Entity
/**
* Gets the key
* For internal use only
* For internal use only.
*
* @return \GuzzleHttp\Psr7\Stream|null The key
*/
@ -73,7 +73,7 @@ class AlternativeSecurityId extends Entity
/**
* Sets the key
* For internal use only
* For internal use only.
*
* @param \GuzzleHttp\Psr7\Stream $val The value to assign to the key
*
@ -86,7 +86,7 @@ class AlternativeSecurityId extends Entity
}
/**
* Gets the type
* For internal use only
* For internal use only.
*
* @return int|null The type
*/
@ -101,7 +101,7 @@ class AlternativeSecurityId extends Entity
/**
* Sets the type
* For internal use only
* For internal use only.
*
* @param int $val The value of the type
*

View File

@ -379,6 +379,39 @@ class AndroidManagedAppProtection extends TargetedManagedAppProtection
return $this;
}
/**
* Gets the appActionIfSamsungKnoxAttestationRequired
* Defines the behavior of a managed app when Samsung Knox Attestation is required. Possible values are null, warn, block &amp; wipe. If the admin does not set this action, the default is null, which indicates this setting is not configured.
*
* @return ManagedAppRemediationAction|null The appActionIfSamsungKnoxAttestationRequired
*/
public function getAppActionIfSamsungKnoxAttestationRequired()
{
if (array_key_exists("appActionIfSamsungKnoxAttestationRequired", $this->_propDict)) {
if (is_a($this->_propDict["appActionIfSamsungKnoxAttestationRequired"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction") || is_null($this->_propDict["appActionIfSamsungKnoxAttestationRequired"])) {
return $this->_propDict["appActionIfSamsungKnoxAttestationRequired"];
} else {
$this->_propDict["appActionIfSamsungKnoxAttestationRequired"] = new ManagedAppRemediationAction($this->_propDict["appActionIfSamsungKnoxAttestationRequired"]);
return $this->_propDict["appActionIfSamsungKnoxAttestationRequired"];
}
}
return null;
}
/**
* Sets the appActionIfSamsungKnoxAttestationRequired
* Defines the behavior of a managed app when Samsung Knox Attestation is required. Possible values are null, warn, block &amp; wipe. If the admin does not set this action, the default is null, which indicates this setting is not configured.
*
* @param ManagedAppRemediationAction $val The appActionIfSamsungKnoxAttestationRequired
*
* @return AndroidManagedAppProtection
*/
public function setAppActionIfSamsungKnoxAttestationRequired($val)
{
$this->_propDict["appActionIfSamsungKnoxAttestationRequired"] = $val;
return $this;
}
/**
* Gets the approvedKeyboards

View File

@ -27,7 +27,7 @@ class AppConsentApprovalRoute extends Entity
/**
* Gets the appConsentRequests
* A collection of userConsentRequest objects for a specific application.
* A collection of appConsentRequest objects representing apps for which admin consent has been requested by one or more users.
*
* @return array|null The appConsentRequests
*/
@ -42,7 +42,7 @@ class AppConsentApprovalRoute extends Entity
/**
* Sets the appConsentRequests
* A collection of userConsentRequest objects for a specific application.
* A collection of appConsentRequest objects representing apps for which admin consent has been requested by one or more users.
*
* @param AppConsentRequest[] $val The appConsentRequests
*

View File

@ -0,0 +1,370 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AppCredentialSignInActivity 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;
/**
* AppCredentialSignInActivity 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 AppCredentialSignInActivity extends Entity
{
/**
* Gets the appId
* The globally unique appId (also called client ID on the Azure portal) of the credential application.
*
* @return string|null The appId
*/
public function getAppId()
{
if (array_key_exists("appId", $this->_propDict)) {
return $this->_propDict["appId"];
} else {
return null;
}
}
/**
* Sets the appId
* The globally unique appId (also called client ID on the Azure portal) of the credential application.
*
* @param string $val The appId
*
* @return AppCredentialSignInActivity
*/
public function setAppId($val)
{
$this->_propDict["appId"] = $val;
return $this;
}
/**
* Gets the appObjectId
* The ID of the credential application instance.
*
* @return string|null The appObjectId
*/
public function getAppObjectId()
{
if (array_key_exists("appObjectId", $this->_propDict)) {
return $this->_propDict["appObjectId"];
} else {
return null;
}
}
/**
* Sets the appObjectId
* The ID of the credential application instance.
*
* @param string $val The appObjectId
*
* @return AppCredentialSignInActivity
*/
public function setAppObjectId($val)
{
$this->_propDict["appObjectId"] = $val;
return $this;
}
/**
* Gets the createdDateTime
* The date and time when the credential 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
*/
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
* The date and time when the credential 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
*
* @return AppCredentialSignInActivity
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
}
/**
* Gets the credentialOrigin
* The type the key credential originated from. Possible values are: application, servicePrincipal, unknownFutureValue.
*
* @return ApplicationKeyOrigin|null The credentialOrigin
*/
public function getCredentialOrigin()
{
if (array_key_exists("credentialOrigin", $this->_propDict)) {
if (is_a($this->_propDict["credentialOrigin"], "\Beta\Microsoft\Graph\Model\ApplicationKeyOrigin") || is_null($this->_propDict["credentialOrigin"])) {
return $this->_propDict["credentialOrigin"];
} else {
$this->_propDict["credentialOrigin"] = new ApplicationKeyOrigin($this->_propDict["credentialOrigin"]);
return $this->_propDict["credentialOrigin"];
}
}
return null;
}
/**
* Sets the credentialOrigin
* The type the key credential originated from. Possible values are: application, servicePrincipal, unknownFutureValue.
*
* @param ApplicationKeyOrigin $val The credentialOrigin
*
* @return AppCredentialSignInActivity
*/
public function setCredentialOrigin($val)
{
$this->_propDict["credentialOrigin"] = $val;
return $this;
}
/**
* Gets the expirationDateTime
* The date and time when the credential is set to expire. 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 expirationDateTime
*/
public function getExpirationDateTime()
{
if (array_key_exists("expirationDateTime", $this->_propDict)) {
if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) {
return $this->_propDict["expirationDateTime"];
} else {
$this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]);
return $this->_propDict["expirationDateTime"];
}
}
return null;
}
/**
* Sets the expirationDateTime
* The date and time when the credential is set to expire. 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 expirationDateTime
*
* @return AppCredentialSignInActivity
*/
public function setExpirationDateTime($val)
{
$this->_propDict["expirationDateTime"] = $val;
return $this;
}
/**
* Gets the keyId
* The key ID of the credential.
*
* @return string|null The keyId
*/
public function getKeyId()
{
if (array_key_exists("keyId", $this->_propDict)) {
return $this->_propDict["keyId"];
} else {
return null;
}
}
/**
* Sets the keyId
* The key ID of the credential.
*
* @param string $val The keyId
*
* @return AppCredentialSignInActivity
*/
public function setKeyId($val)
{
$this->_propDict["keyId"] = $val;
return $this;
}
/**
* Gets the keyType
* Specifies the key type. The possible values are: clientSecret, certificate, unknownFutureValue.
*
* @return ApplicationKeyType|null The keyType
*/
public function getKeyType()
{
if (array_key_exists("keyType", $this->_propDict)) {
if (is_a($this->_propDict["keyType"], "\Beta\Microsoft\Graph\Model\ApplicationKeyType") || is_null($this->_propDict["keyType"])) {
return $this->_propDict["keyType"];
} else {
$this->_propDict["keyType"] = new ApplicationKeyType($this->_propDict["keyType"]);
return $this->_propDict["keyType"];
}
}
return null;
}
/**
* Sets the keyType
* Specifies the key type. The possible values are: clientSecret, certificate, unknownFutureValue.
*
* @param ApplicationKeyType $val The keyType
*
* @return AppCredentialSignInActivity
*/
public function setKeyType($val)
{
$this->_propDict["keyType"] = $val;
return $this;
}
/**
* Gets the keyUsage
* Specifies what the key was used for. The possible values are: sign, verify, unknownFutureValue.
*
* @return ApplicationKeyUsage|null The keyUsage
*/
public function getKeyUsage()
{
if (array_key_exists("keyUsage", $this->_propDict)) {
if (is_a($this->_propDict["keyUsage"], "\Beta\Microsoft\Graph\Model\ApplicationKeyUsage") || is_null($this->_propDict["keyUsage"])) {
return $this->_propDict["keyUsage"];
} else {
$this->_propDict["keyUsage"] = new ApplicationKeyUsage($this->_propDict["keyUsage"]);
return $this->_propDict["keyUsage"];
}
}
return null;
}
/**
* Sets the keyUsage
* Specifies what the key was used for. The possible values are: sign, verify, unknownFutureValue.
*
* @param ApplicationKeyUsage $val The keyUsage
*
* @return AppCredentialSignInActivity
*/
public function setKeyUsage($val)
{
$this->_propDict["keyUsage"] = $val;
return $this;
}
/**
* Gets the resourceId
* The ID of the accessed resource.
*
* @return string|null The resourceId
*/
public function getResourceId()
{
if (array_key_exists("resourceId", $this->_propDict)) {
return $this->_propDict["resourceId"];
} else {
return null;
}
}
/**
* Sets the resourceId
* The ID of the accessed resource.
*
* @param string $val The resourceId
*
* @return AppCredentialSignInActivity
*/
public function setResourceId($val)
{
$this->_propDict["resourceId"] = $val;
return $this;
}
/**
* Gets the servicePrincipalObjectId
* The ID of the service principal.
*
* @return string|null The servicePrincipalObjectId
*/
public function getServicePrincipalObjectId()
{
if (array_key_exists("servicePrincipalObjectId", $this->_propDict)) {
return $this->_propDict["servicePrincipalObjectId"];
} else {
return null;
}
}
/**
* Sets the servicePrincipalObjectId
* The ID of the service principal.
*
* @param string $val The servicePrincipalObjectId
*
* @return AppCredentialSignInActivity
*/
public function setServicePrincipalObjectId($val)
{
$this->_propDict["servicePrincipalObjectId"] = $val;
return $this;
}
/**
* Gets the signInActivity
* The sign-in activity of the credential across all flows.
*
* @return SignInActivity|null The signInActivity
*/
public function getSignInActivity()
{
if (array_key_exists("signInActivity", $this->_propDict)) {
if (is_a($this->_propDict["signInActivity"], "\Beta\Microsoft\Graph\Model\SignInActivity") || is_null($this->_propDict["signInActivity"])) {
return $this->_propDict["signInActivity"];
} else {
$this->_propDict["signInActivity"] = new SignInActivity($this->_propDict["signInActivity"]);
return $this->_propDict["signInActivity"];
}
}
return null;
}
/**
* Sets the signInActivity
* The sign-in activity of the credential across all flows.
*
* @param SignInActivity $val The signInActivity
*
* @return AppCredentialSignInActivity
*/
public function setSignInActivity($val)
{
$this->_propDict["signInActivity"] = $val;
return $this;
}
}

View File

@ -118,6 +118,7 @@ class Application extends DirectoryObject
/**
* Gets the authenticationBehaviors
* The collection of authentication behaviors set for the application. Authentication behaviors are unset by default and must be explicitly enabled (or disabled). Returned only on $select. For more information about authentication behaviors, see Manage application authenticationBehaviors to avoid unverified use of email claims for user identification or authorization.
*
* @return AuthenticationBehaviors|null The authenticationBehaviors
*/
@ -136,6 +137,7 @@ class Application extends DirectoryObject
/**
* Sets the authenticationBehaviors
* The collection of authentication behaviors set for the application. Authentication behaviors are unset by default and must be explicitly enabled (or disabled). Returned only on $select. For more information about authentication behaviors, see Manage application authenticationBehaviors to avoid unverified use of email claims for user identification or authorization.
*
* @param AuthenticationBehaviors $val The authenticationBehaviors
*

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.
*
* ApplicationKeyOrigin 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;
/**
* ApplicationKeyOrigin 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 ApplicationKeyOrigin extends Enum
{
/**
* The Enum ApplicationKeyOrigin
*/
const APPLICATION = "application";
const SERVICE_PRINCIPAL = "servicePrincipal";
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.
*
* ApplicationKeyType 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;
/**
* ApplicationKeyType 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 ApplicationKeyType extends Enum
{
/**
* The Enum ApplicationKeyType
*/
const CLIENT_SECRET = "clientSecret";
const CERTIFICATE = "certificate";
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.
*
* ApplicationKeyUsage 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;
/**
* ApplicationKeyUsage 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 ApplicationKeyUsage extends Enum
{
/**
* The Enum ApplicationKeyUsage
*/
const SIGN = "sign";
const VERIFY = "verify";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,78 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AppsAndServicesSettings 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;
/**
* AppsAndServicesSettings 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 AppsAndServicesSettings extends Entity
{
/**
* Gets the isAppAndServicesTrialEnabled
*
* @return bool|null The isAppAndServicesTrialEnabled
*/
public function getIsAppAndServicesTrialEnabled()
{
if (array_key_exists("isAppAndServicesTrialEnabled", $this->_propDict)) {
return $this->_propDict["isAppAndServicesTrialEnabled"];
} else {
return null;
}
}
/**
* Sets the isAppAndServicesTrialEnabled
*
* @param bool $val The value of the isAppAndServicesTrialEnabled
*
* @return AppsAndServicesSettings
*/
public function setIsAppAndServicesTrialEnabled($val)
{
$this->_propDict["isAppAndServicesTrialEnabled"] = $val;
return $this;
}
/**
* Gets the isOfficeStoreEnabled
*
* @return bool|null The isOfficeStoreEnabled
*/
public function getIsOfficeStoreEnabled()
{
if (array_key_exists("isOfficeStoreEnabled", $this->_propDict)) {
return $this->_propDict["isOfficeStoreEnabled"];
} else {
return null;
}
}
/**
* Sets the isOfficeStoreEnabled
*
* @param bool $val The value of the isOfficeStoreEnabled
*
* @return AppsAndServicesSettings
*/
public function setIsOfficeStoreEnabled($val)
{
$this->_propDict["isOfficeStoreEnabled"] = $val;
return $this;
}
}

View File

@ -25,6 +25,90 @@ namespace Beta\Microsoft\Graph\Model;
class AttackSimulationRoot extends Entity
{
/**
* Gets the endUserNotifications
*
* @return array|null The endUserNotifications
*/
public function getEndUserNotifications()
{
if (array_key_exists("endUserNotifications", $this->_propDict)) {
return $this->_propDict["endUserNotifications"];
} else {
return null;
}
}
/**
* Sets the endUserNotifications
*
* @param EndUserNotification[] $val The endUserNotifications
*
* @return AttackSimulationRoot
*/
public function setEndUserNotifications($val)
{
$this->_propDict["endUserNotifications"] = $val;
return $this;
}
/**
* Gets the landingPages
*
* @return array|null The landingPages
*/
public function getLandingPages()
{
if (array_key_exists("landingPages", $this->_propDict)) {
return $this->_propDict["landingPages"];
} else {
return null;
}
}
/**
* Sets the landingPages
*
* @param LandingPage[] $val The landingPages
*
* @return AttackSimulationRoot
*/
public function setLandingPages($val)
{
$this->_propDict["landingPages"] = $val;
return $this;
}
/**
* Gets the loginPages
*
* @return array|null The loginPages
*/
public function getLoginPages()
{
if (array_key_exists("loginPages", $this->_propDict)) {
return $this->_propDict["loginPages"];
} else {
return null;
}
}
/**
* Sets the loginPages
*
* @param LoginPage[] $val The loginPages
*
* @return AttackSimulationRoot
*/
public function setLoginPages($val)
{
$this->_propDict["loginPages"] = $val;
return $this;
}
/**
* Gets the operations
* Represents an attack simulation training operation.
@ -144,4 +228,32 @@ class AttackSimulationRoot extends Entity
return $this;
}
/**
* Gets the trainings
*
* @return array|null The trainings
*/
public function getTrainings()
{
if (array_key_exists("trainings", $this->_propDict)) {
return $this->_propDict["trainings"];
} else {
return null;
}
}
/**
* Sets the trainings
*
* @param Training[] $val The trainings
*
* @return AttackSimulationRoot
*/
public function setTrainings($val)
{
$this->_propDict["trainings"] = $val;
return $this;
}
}

View File

@ -56,6 +56,34 @@ class AuditLogRoot implements \JsonSerializable
}
/**
* Gets the customSecurityAttributeAudits
*
* @return array|null The customSecurityAttributeAudits
*/
public function getCustomSecurityAttributeAudits()
{
if (array_key_exists("customSecurityAttributeAudits", $this->_propDict)) {
return $this->_propDict["customSecurityAttributeAudits"];
} else {
return null;
}
}
/**
* Sets the customSecurityAttributeAudits
*
* @param CustomSecurityAttributeAudit[] $val The customSecurityAttributeAudits
*
* @return AuditLogRoot
*/
public function setCustomSecurityAttributeAudits($val)
{
$this->_propDict["customSecurityAttributeAudits"] = $val;
return $this;
}
/**
* Gets the directoryAudits
*

View File

@ -25,6 +25,7 @@ class AuthenticationBehaviors extends Entity
{
/**
* Gets the removeUnverifiedEmailClaim
* Removes the email claim from tokens sent to an application when the email address's domain cannot be verified.
*
* @return bool|null The removeUnverifiedEmailClaim
*/
@ -39,6 +40,7 @@ class AuthenticationBehaviors extends Entity
/**
* Sets the removeUnverifiedEmailClaim
* Removes the email claim from tokens sent to an application when the email address's domain cannot be verified.
*
* @param bool $val The value of the removeUnverifiedEmailClaim
*

View File

@ -34,4 +34,5 @@ class AuthenticationMethodFeature extends Enum
const SSPR_CAPABLE = "ssprCapable";
const PASSWORDLESS_CAPABLE = "passwordlessCapable";
const MFA_CAPABLE = "mfaCapable";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -239,6 +239,39 @@ class AuthenticationMethodsPolicy extends Entity
return $this;
}
/**
* Gets the reportSuspiciousActivitySettings
* Enable users to report unexpected voice call or phone app notification multi-factor authentication prompts as suspicious.
*
* @return ReportSuspiciousActivitySettings|null The reportSuspiciousActivitySettings
*/
public function getReportSuspiciousActivitySettings()
{
if (array_key_exists("reportSuspiciousActivitySettings", $this->_propDict)) {
if (is_a($this->_propDict["reportSuspiciousActivitySettings"], "\Beta\Microsoft\Graph\Model\ReportSuspiciousActivitySettings") || is_null($this->_propDict["reportSuspiciousActivitySettings"])) {
return $this->_propDict["reportSuspiciousActivitySettings"];
} else {
$this->_propDict["reportSuspiciousActivitySettings"] = new ReportSuspiciousActivitySettings($this->_propDict["reportSuspiciousActivitySettings"]);
return $this->_propDict["reportSuspiciousActivitySettings"];
}
}
return null;
}
/**
* Sets the reportSuspiciousActivitySettings
* Enable users to report unexpected voice call or phone app notification multi-factor authentication prompts as suspicious.
*
* @param ReportSuspiciousActivitySettings $val The reportSuspiciousActivitySettings
*
* @return AuthenticationMethodsPolicy
*/
public function setReportSuspiciousActivitySettings($val)
{
$this->_propDict["reportSuspiciousActivitySettings"] = $val;
return $this;
}
/**
* Gets the systemCredentialPreferences
* Prompt users with their most-preferred credential for multifactor authentication.

View File

@ -0,0 +1,78 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AuthorizationSystemInfo 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;
/**
* AuthorizationSystemInfo 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 AuthorizationSystemInfo extends Entity
{
/**
* 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 value of the displayName
*
* @return AuthorizationSystemInfo
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the id
*
* @return string|null The id
*/
public function getId()
{
if (array_key_exists("id", $this->_propDict)) {
return $this->_propDict["id"];
} else {
return null;
}
}
/**
* Sets the id
*
* @param string $val The value of the id
*
* @return AuthorizationSystemInfo
*/
public function setId($val)
{
$this->_propDict["id"] = $val;
return $this;
}
}

View File

@ -0,0 +1,83 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* BaseEndUserNotification 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;
/**
* BaseEndUserNotification 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 BaseEndUserNotification extends Entity
{
/**
* Gets the defaultLanguage
*
* @return string|null The defaultLanguage
*/
public function getDefaultLanguage()
{
if (array_key_exists("defaultLanguage", $this->_propDict)) {
return $this->_propDict["defaultLanguage"];
} else {
return null;
}
}
/**
* Sets the defaultLanguage
*
* @param string $val The value of the defaultLanguage
*
* @return BaseEndUserNotification
*/
public function setDefaultLanguage($val)
{
$this->_propDict["defaultLanguage"] = $val;
return $this;
}
/**
* Gets the endUserNotification
*
* @return EndUserNotification|null The endUserNotification
*/
public function getEndUserNotification()
{
if (array_key_exists("endUserNotification", $this->_propDict)) {
if (is_a($this->_propDict["endUserNotification"], "\Beta\Microsoft\Graph\Model\EndUserNotification") || is_null($this->_propDict["endUserNotification"])) {
return $this->_propDict["endUserNotification"];
} else {
$this->_propDict["endUserNotification"] = new EndUserNotification($this->_propDict["endUserNotification"]);
return $this->_propDict["endUserNotification"];
}
}
return null;
}
/**
* Sets the endUserNotification
*
* @param EndUserNotification $val The value to assign to the endUserNotification
*
* @return BaseEndUserNotification The BaseEndUserNotification
*/
public function setEndUserNotification($val)
{
$this->_propDict["endUserNotification"] = $val;
return $this;
}
}

View File

@ -25,7 +25,7 @@ class CalculatedColumn extends Entity
{
/**
* Gets the format
* For dateTime output types, the format of the value. Must be one of dateOnly or dateTime.
* For dateTime output types, the format of the value. Possible values are: dateOnly or dateTime.
*
* @return string|null The format
*/
@ -40,7 +40,7 @@ class CalculatedColumn extends Entity
/**
* Sets the format
* For dateTime output types, the format of the value. Must be one of dateOnly or dateTime.
* For dateTime output types, the format of the value. Possible values are: dateOnly or dateTime.
*
* @param string $val The value of the format
*
@ -81,7 +81,7 @@ class CalculatedColumn extends Entity
}
/**
* Gets the outputType
* The output type used to format values in this column. Must be one of boolean, currency, dateTime, number, or text.
* The output type used to format values in this column. Possible values are: boolean, currency, dateTime, number, or text.
*
* @return string|null The outputType
*/
@ -96,7 +96,7 @@ class CalculatedColumn extends Entity
/**
* Sets the outputType
* The output type used to format values in this column. Must be one of boolean, currency, dateTime, number, or text.
* The output type used to format values in this column. Possible values are: boolean, currency, dateTime, number, or text.
*
* @param string $val The value of the outputType
*

View File

@ -241,6 +241,7 @@ class Channel extends Entity
/**
* Gets the summary
* Contains summary information about the channel, including number of guests, members, owners, and an indicator for members from other tenants. The summary property will only be returned if it is specified in the $select clause of the Get channel method.
*
* @return ChannelSummary|null The summary
*/
@ -259,6 +260,7 @@ class Channel extends Entity
/**
* Sets the summary
* Contains summary information about the channel, including number of guests, members, owners, and an indicator for members from other tenants. The summary property will only be returned if it is specified in the $select clause of the Get channel method.
*
* @param ChannelSummary $val The summary
*

View File

@ -25,6 +25,7 @@ class ChannelSummary extends Entity
{
/**
* Gets the guestsCount
* Count of guests in a channel.
*
* @return int|null The guestsCount
*/
@ -39,6 +40,7 @@ class ChannelSummary extends Entity
/**
* Sets the guestsCount
* Count of guests in a channel.
*
* @param int $val The value of the guestsCount
*
@ -51,6 +53,7 @@ class ChannelSummary extends Entity
}
/**
* Gets the hasMembersFromOtherTenants
* Indicates whether external members are included on the channel.
*
* @return bool|null The hasMembersFromOtherTenants
*/
@ -65,6 +68,7 @@ class ChannelSummary extends Entity
/**
* Sets the hasMembersFromOtherTenants
* Indicates whether external members are included on the channel.
*
* @param bool $val The value of the hasMembersFromOtherTenants
*
@ -77,6 +81,7 @@ class ChannelSummary extends Entity
}
/**
* Gets the membersCount
* Count of members in a channel.
*
* @return int|null The membersCount
*/
@ -91,6 +96,7 @@ class ChannelSummary extends Entity
/**
* Sets the membersCount
* Count of members in a channel.
*
* @param int $val The value of the membersCount
*
@ -103,6 +109,7 @@ class ChannelSummary extends Entity
}
/**
* Gets the ownersCount
* Count of owners in a channel.
*
* @return int|null The ownersCount
*/
@ -117,6 +124,7 @@ class ChannelSummary extends Entity
/**
* Sets the ownersCount
* Count of owners in a channel.
*
* @param int $val The value of the ownersCount
*

View File

@ -461,6 +461,7 @@ class CloudPC extends Entity
/**
* Gets the powerState
* The power state of a Cloud PC. The possible values are: running, poweredOff and unknown. This property only supports shift work Cloud PCs.
*
* @return CloudPcPowerState|null The powerState
*/
@ -479,6 +480,7 @@ class CloudPC extends Entity
/**
* Sets the powerState
* The power state of a Cloud PC. The possible values are: running, poweredOff and unknown. This property only supports shift work Cloud PCs.
*
* @param CloudPcPowerState $val The powerState
*

View File

@ -179,7 +179,7 @@ class CloudPcExportJob extends Entity
/**
* Gets the reportName
* The report name. The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, sharedUseLicenseUsageReport, sharedUseLicenseUsageRealTimeReport, or unknownFutureValue.
* The report name. The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, sharedUseLicenseUsageReport, sharedUseLicenseUsageRealTimeReport, unknownFutureValue, noLicenseAvailableConnectivityFailureReport. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: noLicenseAvailableConnectivityFailureReport.
*
* @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, sharedUseLicenseUsageReport, sharedUseLicenseUsageRealTimeReport, or unknownFutureValue.
* The report name. The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, sharedUseLicenseUsageReport, sharedUseLicenseUsageRealTimeReport, unknownFutureValue, noLicenseAvailableConnectivityFailureReport. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: noLicenseAvailableConnectivityFailureReport.
*
* @param CloudPcReportName $val The reportName
*

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.
*
* CloudPcPolicySettingType 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;
/**
* CloudPcPolicySettingType 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 CloudPcPolicySettingType extends Enum
{
/**
* The Enum CloudPcPolicySettingType
*/
const REGION = "region";
const SINGLE_SIGN_ON = "singleSignOn";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -25,6 +25,7 @@ class CloudPcResizeValidationResult extends Entity
{
/**
* Gets the cloudPcId
* The cloudPC id that corresponds to its unique identifier.
*
* @return string|null The cloudPcId
*/
@ -39,6 +40,7 @@ class CloudPcResizeValidationResult extends Entity
/**
* Sets the cloudPcId
* The cloudPC id that corresponds to its unique identifier.
*
* @param string $val The value of the cloudPcId
*
@ -52,6 +54,7 @@ class CloudPcResizeValidationResult extends Entity
/**
* Gets the validationResult
* Describes a list of the validation result for the Cloud PC resize action. The possible values are: success, cloudPcNotFound, operationCnflict, operationNotSupported, targetLicenseHasAssigned, internalServerError, and unknownFutureValue.
*
* @return CloudPcResizeValidationCode|null The validationResult
*/
@ -70,6 +73,7 @@ class CloudPcResizeValidationResult extends Entity
/**
* Sets the validationResult
* Describes a list of the validation result for the Cloud PC resize action. The possible values are: success, cloudPcNotFound, operationCnflict, operationNotSupported, targetLicenseHasAssigned, internalServerError, and unknownFutureValue.
*
* @param CloudPcResizeValidationCode $val The value to assign to the validationResult
*

View File

@ -0,0 +1,279 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CompanySubscription 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;
/**
* CompanySubscription 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 CompanySubscription 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 CompanySubscription
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
}
/**
* Gets the isTrial
*
* @return bool|null The isTrial
*/
public function getIsTrial()
{
if (array_key_exists("isTrial", $this->_propDict)) {
return $this->_propDict["isTrial"];
} else {
return null;
}
}
/**
* Sets the isTrial
*
* @param bool $val The isTrial
*
* @return CompanySubscription
*/
public function setIsTrial($val)
{
$this->_propDict["isTrial"] = boolval($val);
return $this;
}
/**
* Gets the nextLifecycleDateTime
*
* @return \DateTime|null The nextLifecycleDateTime
*/
public function getNextLifecycleDateTime()
{
if (array_key_exists("nextLifecycleDateTime", $this->_propDict)) {
if (is_a($this->_propDict["nextLifecycleDateTime"], "\DateTime") || is_null($this->_propDict["nextLifecycleDateTime"])) {
return $this->_propDict["nextLifecycleDateTime"];
} else {
$this->_propDict["nextLifecycleDateTime"] = new \DateTime($this->_propDict["nextLifecycleDateTime"]);
return $this->_propDict["nextLifecycleDateTime"];
}
}
return null;
}
/**
* Sets the nextLifecycleDateTime
*
* @param \DateTime $val The nextLifecycleDateTime
*
* @return CompanySubscription
*/
public function setNextLifecycleDateTime($val)
{
$this->_propDict["nextLifecycleDateTime"] = $val;
return $this;
}
/**
* Gets the ocpSubscriptionId
*
* @return string|null The ocpSubscriptionId
*/
public function getOcpSubscriptionId()
{
if (array_key_exists("ocpSubscriptionId", $this->_propDict)) {
return $this->_propDict["ocpSubscriptionId"];
} else {
return null;
}
}
/**
* Sets the ocpSubscriptionId
*
* @param string $val The ocpSubscriptionId
*
* @return CompanySubscription
*/
public function setOcpSubscriptionId($val)
{
$this->_propDict["ocpSubscriptionId"] = $val;
return $this;
}
/**
* Gets the serviceStatus
*
* @return array|null The serviceStatus
*/
public function getServiceStatus()
{
if (array_key_exists("serviceStatus", $this->_propDict)) {
return $this->_propDict["serviceStatus"];
} else {
return null;
}
}
/**
* Sets the serviceStatus
*
* @param ServicePlanInfo[] $val The serviceStatus
*
* @return CompanySubscription
*/
public function setServiceStatus($val)
{
$this->_propDict["serviceStatus"] = $val;
return $this;
}
/**
* Gets the skuId
*
* @return string|null The skuId
*/
public function getSkuId()
{
if (array_key_exists("skuId", $this->_propDict)) {
return $this->_propDict["skuId"];
} else {
return null;
}
}
/**
* Sets the skuId
*
* @param string $val The skuId
*
* @return CompanySubscription
*/
public function setSkuId($val)
{
$this->_propDict["skuId"] = $val;
return $this;
}
/**
* Gets the skuPartNumber
*
* @return string|null The skuPartNumber
*/
public function getSkuPartNumber()
{
if (array_key_exists("skuPartNumber", $this->_propDict)) {
return $this->_propDict["skuPartNumber"];
} else {
return null;
}
}
/**
* Sets the skuPartNumber
*
* @param string $val The skuPartNumber
*
* @return CompanySubscription
*/
public function setSkuPartNumber($val)
{
$this->_propDict["skuPartNumber"] = $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 CompanySubscription
*/
public function setStatus($val)
{
$this->_propDict["status"] = $val;
return $this;
}
/**
* Gets the totalLicenses
*
* @return int|null The totalLicenses
*/
public function getTotalLicenses()
{
if (array_key_exists("totalLicenses", $this->_propDict)) {
return $this->_propDict["totalLicenses"];
} else {
return null;
}
}
/**
* Sets the totalLicenses
*
* @param int $val The totalLicenses
*
* @return CompanySubscription
*/
public function setTotalLicenses($val)
{
$this->_propDict["totalLicenses"] = intval($val);
return $this;
}
}

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.
*
* ConditionalAccessAuthenticationFlows 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;
/**
* ConditionalAccessAuthenticationFlows 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 ConditionalAccessAuthenticationFlows extends Entity
{
}

View File

@ -26,6 +26,7 @@ class ContentCustomization extends Entity
/**
* Gets the attributeCollection
* Represents the content options of External Identities to be customized throughout the authentication flow for a tenant.
*
* @return KeyValue|null The attributeCollection
*/
@ -44,6 +45,7 @@ class ContentCustomization extends Entity
/**
* Sets the attributeCollection
* Represents the content options of External Identities to be customized throughout the authentication flow for a tenant.
*
* @param KeyValue $val The value to assign to the attributeCollection
*
@ -56,6 +58,7 @@ class ContentCustomization extends Entity
}
/**
* Gets the attributeCollectionRelativeUrl
* A relative URL for the content options of External Identities to be customized throughout the authentication flow for a tenant.
*
* @return string|null The attributeCollectionRelativeUrl
*/
@ -70,6 +73,7 @@ class ContentCustomization extends Entity
/**
* Sets the attributeCollectionRelativeUrl
* A relative URL for the content options of External Identities to be customized throughout the authentication flow for a tenant.
*
* @param string $val The value of the attributeCollectionRelativeUrl
*

View File

@ -25,7 +25,7 @@ class ContentTypeInfo extends Entity
{
/**
* Gets the id
* The id of the content type.
* The ID of the content type.
*
* @return string|null The id
*/
@ -40,7 +40,7 @@ class ContentTypeInfo extends Entity
/**
* Sets the id
* The id of the content type.
* The ID of the content type.
*
* @param string $val The value of the id
*

View File

@ -25,7 +25,7 @@ class ContentTypeOrder extends Entity
{
/**
* Gets the default
* Whether this is the default Content Type
* Indicates whether this is the default content type.
*
* @return bool|null The default
*/
@ -40,7 +40,7 @@ class ContentTypeOrder extends Entity
/**
* Sets the default
* Whether this is the default Content Type
* Indicates whether this is the default content type.
*
* @param bool $val The value of the default
*
@ -53,7 +53,7 @@ class ContentTypeOrder extends Entity
}
/**
* Gets the position
* Specifies the position in which the Content Type appears in the selection UI.
* Specifies the position in which the content type appears in the selection UI.
*
* @return int|null The position
*/
@ -68,7 +68,7 @@ class ContentTypeOrder extends Entity
/**
* Sets the position
* Specifies the position in which the Content Type appears in the selection UI.
* Specifies the position in which the content type appears in the selection UI.
*
* @param int $val The value of the position
*

View File

@ -0,0 +1,365 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CustomSecurityAttributeAudit 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;
/**
* CustomSecurityAttributeAudit 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 CustomSecurityAttributeAudit extends Entity
{
/**
* Gets the activityDateTime
*
* @return \DateTime|null The activityDateTime
*/
public function getActivityDateTime()
{
if (array_key_exists("activityDateTime", $this->_propDict)) {
if (is_a($this->_propDict["activityDateTime"], "\DateTime") || is_null($this->_propDict["activityDateTime"])) {
return $this->_propDict["activityDateTime"];
} else {
$this->_propDict["activityDateTime"] = new \DateTime($this->_propDict["activityDateTime"]);
return $this->_propDict["activityDateTime"];
}
}
return null;
}
/**
* Sets the activityDateTime
*
* @param \DateTime $val The activityDateTime
*
* @return CustomSecurityAttributeAudit
*/
public function setActivityDateTime($val)
{
$this->_propDict["activityDateTime"] = $val;
return $this;
}
/**
* Gets the activityDisplayName
*
* @return string|null The activityDisplayName
*/
public function getActivityDisplayName()
{
if (array_key_exists("activityDisplayName", $this->_propDict)) {
return $this->_propDict["activityDisplayName"];
} else {
return null;
}
}
/**
* Sets the activityDisplayName
*
* @param string $val The activityDisplayName
*
* @return CustomSecurityAttributeAudit
*/
public function setActivityDisplayName($val)
{
$this->_propDict["activityDisplayName"] = $val;
return $this;
}
/**
* Gets the additionalDetails
*
* @return array|null The additionalDetails
*/
public function getAdditionalDetails()
{
if (array_key_exists("additionalDetails", $this->_propDict)) {
return $this->_propDict["additionalDetails"];
} else {
return null;
}
}
/**
* Sets the additionalDetails
*
* @param KeyValue[] $val The additionalDetails
*
* @return CustomSecurityAttributeAudit
*/
public function setAdditionalDetails($val)
{
$this->_propDict["additionalDetails"] = $val;
return $this;
}
/**
* Gets the category
*
* @return string|null The category
*/
public function getCategory()
{
if (array_key_exists("category", $this->_propDict)) {
return $this->_propDict["category"];
} else {
return null;
}
}
/**
* Sets the category
*
* @param string $val The category
*
* @return CustomSecurityAttributeAudit
*/
public function setCategory($val)
{
$this->_propDict["category"] = $val;
return $this;
}
/**
* Gets the correlationId
*
* @return string|null The correlationId
*/
public function getCorrelationId()
{
if (array_key_exists("correlationId", $this->_propDict)) {
return $this->_propDict["correlationId"];
} else {
return null;
}
}
/**
* Sets the correlationId
*
* @param string $val The correlationId
*
* @return CustomSecurityAttributeAudit
*/
public function setCorrelationId($val)
{
$this->_propDict["correlationId"] = $val;
return $this;
}
/**
* Gets the initiatedBy
*
* @return AuditActivityInitiator|null The initiatedBy
*/
public function getInitiatedBy()
{
if (array_key_exists("initiatedBy", $this->_propDict)) {
if (is_a($this->_propDict["initiatedBy"], "\Beta\Microsoft\Graph\Model\AuditActivityInitiator") || is_null($this->_propDict["initiatedBy"])) {
return $this->_propDict["initiatedBy"];
} else {
$this->_propDict["initiatedBy"] = new AuditActivityInitiator($this->_propDict["initiatedBy"]);
return $this->_propDict["initiatedBy"];
}
}
return null;
}
/**
* Sets the initiatedBy
*
* @param AuditActivityInitiator $val The initiatedBy
*
* @return CustomSecurityAttributeAudit
*/
public function setInitiatedBy($val)
{
$this->_propDict["initiatedBy"] = $val;
return $this;
}
/**
* Gets the loggedByService
*
* @return string|null The loggedByService
*/
public function getLoggedByService()
{
if (array_key_exists("loggedByService", $this->_propDict)) {
return $this->_propDict["loggedByService"];
} else {
return null;
}
}
/**
* Sets the loggedByService
*
* @param string $val The loggedByService
*
* @return CustomSecurityAttributeAudit
*/
public function setLoggedByService($val)
{
$this->_propDict["loggedByService"] = $val;
return $this;
}
/**
* Gets the operationType
*
* @return string|null The operationType
*/
public function getOperationType()
{
if (array_key_exists("operationType", $this->_propDict)) {
return $this->_propDict["operationType"];
} else {
return null;
}
}
/**
* Sets the operationType
*
* @param string $val The operationType
*
* @return CustomSecurityAttributeAudit
*/
public function setOperationType($val)
{
$this->_propDict["operationType"] = $val;
return $this;
}
/**
* Gets the result
*
* @return OperationResult|null The result
*/
public function getResult()
{
if (array_key_exists("result", $this->_propDict)) {
if (is_a($this->_propDict["result"], "\Beta\Microsoft\Graph\Model\OperationResult") || is_null($this->_propDict["result"])) {
return $this->_propDict["result"];
} else {
$this->_propDict["result"] = new OperationResult($this->_propDict["result"]);
return $this->_propDict["result"];
}
}
return null;
}
/**
* Sets the result
*
* @param OperationResult $val The result
*
* @return CustomSecurityAttributeAudit
*/
public function setResult($val)
{
$this->_propDict["result"] = $val;
return $this;
}
/**
* Gets the resultReason
*
* @return string|null The resultReason
*/
public function getResultReason()
{
if (array_key_exists("resultReason", $this->_propDict)) {
return $this->_propDict["resultReason"];
} else {
return null;
}
}
/**
* Sets the resultReason
*
* @param string $val The resultReason
*
* @return CustomSecurityAttributeAudit
*/
public function setResultReason($val)
{
$this->_propDict["resultReason"] = $val;
return $this;
}
/**
* Gets the targetResources
*
* @return array|null The targetResources
*/
public function getTargetResources()
{
if (array_key_exists("targetResources", $this->_propDict)) {
return $this->_propDict["targetResources"];
} else {
return null;
}
}
/**
* Sets the targetResources
*
* @param TargetResource[] $val The targetResources
*
* @return CustomSecurityAttributeAudit
*/
public function setTargetResources($val)
{
$this->_propDict["targetResources"] = $val;
return $this;
}
/**
* Gets the userAgent
*
* @return string|null The userAgent
*/
public function getUserAgent()
{
if (array_key_exists("userAgent", $this->_propDict)) {
return $this->_propDict["userAgent"];
} else {
return null;
}
}
/**
* Sets the userAgent
*
* @param string $val The userAgent
*
* @return CustomSecurityAttributeAudit
*/
public function setUserAgent($val)
{
$this->_propDict["userAgent"] = $val;
return $this;
}
}

View File

@ -0,0 +1,172 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CustomTrainingSetting 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;
/**
* CustomTrainingSetting 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 CustomTrainingSetting extends TrainingSetting
{
/**
* Set the @odata.type since this type is immediately descended from an abstract
* type that is referenced as the type in an entity.
* @param array $propDict The property dictionary
*/
public function __construct($propDict = array())
{
parent::__construct($propDict);
$this->setODataType("#microsoft.graph.customTrainingSetting");
}
/**
* Gets the assignedTo
*
* @return TrainingAssignedTo|null The assignedTo
*/
public function getAssignedTo()
{
if (array_key_exists("assignedTo", $this->_propDict)) {
if (is_a($this->_propDict["assignedTo"], "\Beta\Microsoft\Graph\Model\TrainingAssignedTo") || is_null($this->_propDict["assignedTo"])) {
return $this->_propDict["assignedTo"];
} else {
$this->_propDict["assignedTo"] = new TrainingAssignedTo($this->_propDict["assignedTo"]);
return $this->_propDict["assignedTo"];
}
}
return null;
}
/**
* Sets the assignedTo
*
* @param TrainingAssignedTo $val The value to assign to the assignedTo
*
* @return CustomTrainingSetting The CustomTrainingSetting
*/
public function setAssignedTo($val)
{
$this->_propDict["assignedTo"] = $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 CustomTrainingSetting
*/
public function setDescription($val)
{
$this->_propDict["description"] = $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 value of the displayName
*
* @return CustomTrainingSetting
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the durationInMinutes
*
* @return string|null The durationInMinutes
*/
public function getDurationInMinutes()
{
if (array_key_exists("durationInMinutes", $this->_propDict)) {
return $this->_propDict["durationInMinutes"];
} else {
return null;
}
}
/**
* Sets the durationInMinutes
*
* @param string $val The value of the durationInMinutes
*
* @return CustomTrainingSetting
*/
public function setDurationInMinutes($val)
{
$this->_propDict["durationInMinutes"] = $val;
return $this;
}
/**
* Gets the url
*
* @return string|null The url
*/
public function getUrl()
{
if (array_key_exists("url", $this->_propDict)) {
return $this->_propDict["url"];
} else {
return null;
}
}
/**
* Sets the url
*
* @param string $val The value of the url
*
* @return CustomTrainingSetting
*/
public function setUrl($val)
{
$this->_propDict["url"] = $val;
return $this;
}
}

View File

@ -0,0 +1,104 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CustomerVoiceSettings 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;
/**
* CustomerVoiceSettings 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 CustomerVoiceSettings extends Entity
{
/**
* Gets the isInOrgFormsPhishingScanEnabled
*
* @return bool|null The isInOrgFormsPhishingScanEnabled
*/
public function getIsInOrgFormsPhishingScanEnabled()
{
if (array_key_exists("isInOrgFormsPhishingScanEnabled", $this->_propDict)) {
return $this->_propDict["isInOrgFormsPhishingScanEnabled"];
} else {
return null;
}
}
/**
* Sets the isInOrgFormsPhishingScanEnabled
*
* @param bool $val The value of the isInOrgFormsPhishingScanEnabled
*
* @return CustomerVoiceSettings
*/
public function setIsInOrgFormsPhishingScanEnabled($val)
{
$this->_propDict["isInOrgFormsPhishingScanEnabled"] = $val;
return $this;
}
/**
* Gets the isRecordIdentityByDefaultEnabled
*
* @return bool|null The isRecordIdentityByDefaultEnabled
*/
public function getIsRecordIdentityByDefaultEnabled()
{
if (array_key_exists("isRecordIdentityByDefaultEnabled", $this->_propDict)) {
return $this->_propDict["isRecordIdentityByDefaultEnabled"];
} else {
return null;
}
}
/**
* Sets the isRecordIdentityByDefaultEnabled
*
* @param bool $val The value of the isRecordIdentityByDefaultEnabled
*
* @return CustomerVoiceSettings
*/
public function setIsRecordIdentityByDefaultEnabled($val)
{
$this->_propDict["isRecordIdentityByDefaultEnabled"] = $val;
return $this;
}
/**
* Gets the isRestrictedSurveyAccessEnabled
*
* @return bool|null The isRestrictedSurveyAccessEnabled
*/
public function getIsRestrictedSurveyAccessEnabled()
{
if (array_key_exists("isRestrictedSurveyAccessEnabled", $this->_propDict)) {
return $this->_propDict["isRestrictedSurveyAccessEnabled"];
} else {
return null;
}
}
/**
* Sets the isRestrictedSurveyAccessEnabled
*
* @param bool $val The value of the isRestrictedSurveyAccessEnabled
*
* @return CustomerVoiceSettings
*/
public function setIsRestrictedSurveyAccessEnabled($val)
{
$this->_propDict["isRestrictedSurveyAccessEnabled"] = $val;
return $this;
}
}

View File

@ -25,7 +25,7 @@ class DefaultColumnValue extends Entity
{
/**
* Gets the formula
* The formula used to compute the default value for this column.
* The formula used to compute the default value for the column.
*
* @return string|null The formula
*/
@ -40,7 +40,7 @@ class DefaultColumnValue extends Entity
/**
* Sets the formula
* The formula used to compute the default value for this column.
* The formula used to compute the default value for the column.
*
* @param string $val The value of the formula
*
@ -53,7 +53,7 @@ class DefaultColumnValue extends Entity
}
/**
* Gets the value
* The direct value to use as the default value for this column.
* The direct value to use as the default value for the column.
*
* @return string|null The value
*/
@ -68,7 +68,7 @@ class DefaultColumnValue extends Entity
/**
* Sets the value
* The direct value to use as the default value for this column.
* The direct value to use as the default value for the column.
*
* @param string $val The value of the value
*

View File

@ -113,7 +113,7 @@ class DefaultManagedAppProtection extends ManagedAppProtection
/**
* Gets the appActionIfAccountIsClockedOut
* Defines a managed app behavior, either block or warn, if the user is clocked out (non-working time).
* Defines a managed app behavior, either block or warn, if the user is clocked out (non-working time). Possible values are: block, wipe, warn.
*
* @return ManagedAppRemediationAction|null The appActionIfAccountIsClockedOut
*/
@ -132,7 +132,7 @@ class DefaultManagedAppProtection extends ManagedAppProtection
/**
* Sets the appActionIfAccountIsClockedOut
* Defines a managed app behavior, either block or warn, if the user is clocked out (non-working time).
* Defines a managed app behavior, either block or warn, if the user is clocked out (non-working time). Possible values are: block, wipe, warn.
*
* @param ManagedAppRemediationAction $val The appActionIfAccountIsClockedOut
*

View File

@ -0,0 +1,27 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* DeletedChat 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;
/**
* DeletedChat 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 DeletedChat extends Entity
{
}

View File

@ -227,6 +227,35 @@ class DepEnrollmentBaseProfile extends EnrollmentProfile
return $this;
}
/**
* Gets the enrollmentTimeAzureAdGroupIds
* EnrollmentTimeAzureAdGroupIds contains list of enrollment time Azure Group Ids to be associated with profile
*
* @return array|null The enrollmentTimeAzureAdGroupIds
*/
public function getEnrollmentTimeAzureAdGroupIds()
{
if (array_key_exists("enrollmentTimeAzureAdGroupIds", $this->_propDict)) {
return $this->_propDict["enrollmentTimeAzureAdGroupIds"];
} else {
return null;
}
}
/**
* Sets the enrollmentTimeAzureAdGroupIds
* EnrollmentTimeAzureAdGroupIds contains list of enrollment time Azure Group Ids to be associated with profile
*
* @param string[] $val The enrollmentTimeAzureAdGroupIds
*
* @return DepEnrollmentBaseProfile
*/
public function setEnrollmentTimeAzureAdGroupIds($val)
{
$this->_propDict["enrollmentTimeAzureAdGroupIds"] = $val;
return $this;
}
/**
* Gets the isDefault
* Indicates if this is the default profile

View File

@ -140,6 +140,35 @@ class DepMacOSEnrollmentProfile extends DepEnrollmentBaseProfile
return $this;
}
/**
* Gets the autoAdvanceSetupEnabled
* Indicates if Setup Assistant will automatically advance through its screen
*
* @return bool|null The autoAdvanceSetupEnabled
*/
public function getAutoAdvanceSetupEnabled()
{
if (array_key_exists("autoAdvanceSetupEnabled", $this->_propDict)) {
return $this->_propDict["autoAdvanceSetupEnabled"];
} else {
return null;
}
}
/**
* Sets the autoAdvanceSetupEnabled
* Indicates if Setup Assistant will automatically advance through its screen
*
* @param bool $val The autoAdvanceSetupEnabled
*
* @return DepMacOSEnrollmentProfile
*/
public function setAutoAdvanceSetupEnabled($val)
{
$this->_propDict["autoAdvanceSetupEnabled"] = boolval($val);
return $this;
}
/**
* Gets the autoUnlockWithWatchDisabled
* Indicates if UnlockWithWatch screen is disabled

View File

@ -532,7 +532,7 @@ class Device extends DirectoryObject
/**
* Gets the isManagementRestricted
* true if the device is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. Default value is false. Read-only.
* true if the device is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. Default value is false. Read-only. To manage a device that's a member of a restricted administrative unit, the calling app must be assigned the Directory.Write.Restricted permission. For delegated scenarios, the administrators must also be explicitly assigned supported roles at the restricted administrative unit scope.
*
* @return bool|null The isManagementRestricted
*/
@ -547,7 +547,7 @@ class Device extends DirectoryObject
/**
* Sets the isManagementRestricted
* true if the device is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. Default value is false. Read-only.
* true if the device is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. Default value is false. Read-only. To manage a device that's a member of a restricted administrative unit, the calling app must be assigned the Directory.Write.Restricted permission. For delegated scenarios, the administrators must also be explicitly assigned supported roles at the restricted administrative unit scope.
*
* @param bool $val The isManagementRestricted
*

View File

@ -26,7 +26,7 @@ class DeviceManagementConfigurationChoiceSettingCollectionDefinition extends Dev
{
/**
* Gets the maximumCount
* Maximum number of choices in the collection. Valid values 1 to 100
* Maximum number of choices in the collection
*
* @return int|null The maximumCount
*/
@ -41,7 +41,7 @@ class DeviceManagementConfigurationChoiceSettingCollectionDefinition extends Dev
/**
* Sets the maximumCount
* Maximum number of choices in the collection. Valid values 1 to 100
* Maximum number of choices in the collection
*
* @param int $val The maximumCount
*
@ -55,7 +55,7 @@ class DeviceManagementConfigurationChoiceSettingCollectionDefinition extends Dev
/**
* Gets the minimumCount
* Minimum number of choices in the collection. Valid values 1 to 100
* Minimum number of choices in the collection
*
* @return int|null The minimumCount
*/
@ -70,7 +70,7 @@ class DeviceManagementConfigurationChoiceSettingCollectionDefinition extends Dev
/**
* Sets the minimumCount
* Minimum number of choices in the collection. Valid values 1 to 100
* Minimum number of choices in the collection
*
* @param int $val The minimumCount
*

View File

@ -299,7 +299,7 @@ class DeviceManagementConfigurationPolicyTemplate extends Entity
/**
* Gets the templateFamily
* TemplateFamily for this template. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, endpointSecurityEndpointPrivilegeManagement, enrollmentConfiguration, appQuietTime, baseline, unknownFutureValue, deviceConfigurationScripts.
* TemplateFamily for this template. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, endpointSecurityEndpointPrivilegeManagement, enrollmentConfiguration, appQuietTime, baseline, unknownFutureValue, deviceConfigurationScripts, deviceConfigurationPolicies.
*
* @return DeviceManagementConfigurationTemplateFamily|null The templateFamily
*/
@ -318,7 +318,7 @@ class DeviceManagementConfigurationPolicyTemplate extends Entity
/**
* Sets the templateFamily
* TemplateFamily for this template. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, endpointSecurityEndpointPrivilegeManagement, enrollmentConfiguration, appQuietTime, baseline, unknownFutureValue, deviceConfigurationScripts.
* TemplateFamily for this template. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, endpointSecurityEndpointPrivilegeManagement, enrollmentConfiguration, appQuietTime, baseline, unknownFutureValue, deviceConfigurationScripts, deviceConfigurationPolicies.
*
* @param DeviceManagementConfigurationTemplateFamily $val The templateFamily
*

View File

@ -82,7 +82,7 @@ class DeviceManagementConfigurationPolicyTemplateReference extends Entity
/**
* Gets the templateFamily
* Template Family of the referenced Template. This property is read-only. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, endpointSecurityEndpointPrivilegeManagement, enrollmentConfiguration, appQuietTime, baseline, unknownFutureValue, deviceConfigurationScripts.
* Template Family of the referenced Template. This property is read-only. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, endpointSecurityEndpointPrivilegeManagement, enrollmentConfiguration, appQuietTime, baseline, unknownFutureValue, deviceConfigurationScripts, deviceConfigurationPolicies.
*
* @return DeviceManagementConfigurationTemplateFamily|null The templateFamily
*/
@ -101,7 +101,7 @@ class DeviceManagementConfigurationPolicyTemplateReference extends Entity
/**
* Sets the templateFamily
* Template Family of the referenced Template. This property is read-only. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, endpointSecurityEndpointPrivilegeManagement, enrollmentConfiguration, appQuietTime, baseline, unknownFutureValue, deviceConfigurationScripts.
* Template Family of the referenced Template. This property is read-only. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, endpointSecurityEndpointPrivilegeManagement, enrollmentConfiguration, appQuietTime, baseline, unknownFutureValue, deviceConfigurationScripts, deviceConfigurationPolicies.
*
* @param DeviceManagementConfigurationTemplateFamily $val The value to assign to the templateFamily
*

View File

@ -87,7 +87,7 @@ class DeviceManagementConfigurationSettingApplicability extends Entity
/**
* Gets the platform
* Platform setting can be applied on. Posible values are: none, android, androidEnterprise, iOs, macOs, windows10X, windows10, aosp, and linux. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue.
* Platform setting can be applied on. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue.
*
* @return DeviceManagementConfigurationPlatforms|null The platform
*/
@ -106,7 +106,7 @@ class DeviceManagementConfigurationSettingApplicability extends Entity
/**
* Sets the platform
* Platform setting can be applied on. Posible values are: none, android, androidEnterprise, iOs, macOs, windows10X, windows10, aosp, and linux. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue.
* Platform setting can be applied on. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue.
*
* @param DeviceManagementConfigurationPlatforms $val The value to assign to the platform
*
@ -120,7 +120,7 @@ class DeviceManagementConfigurationSettingApplicability extends Entity
/**
* Gets the technologies
* Which technology channels this setting can be deployed through. Posible values are: none, mdm, configManager, intuneManagementExtension, thirdParty, documentGateway, appleRemoteManagement, microsoftSense, exchangeOnline, edgeMam, linuxMdm, extensibility, enrollment, endpointPrivilegeManagement. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, mobileApplicationManagement, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
* Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, 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. Posible values are: none, mdm, configManager, intuneManagementExtension, thirdParty, documentGateway, appleRemoteManagement, microsoftSense, exchangeOnline, edgeMam, linuxMdm, extensibility, enrollment, endpointPrivilegeManagement. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, mobileApplicationManagement, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
* Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue.
*
* @param DeviceManagementConfigurationTechnologies $val The value to assign to the technologies
*

View File

@ -59,7 +59,7 @@ class DeviceManagementConfigurationSettingDefinition extends Entity
/**
* Gets the applicability
* Details which device setting is applicable on. Supports: $filters.
* Details which device setting is applicable on
*
* @return DeviceManagementConfigurationSettingApplicability|null The applicability
*/
@ -78,7 +78,7 @@ class DeviceManagementConfigurationSettingDefinition extends Entity
/**
* Sets the applicability
* Details which device setting is applicable on. Supports: $filters.
* Details which device setting is applicable on
*
* @param DeviceManagementConfigurationSettingApplicability $val The applicability
*
@ -121,7 +121,7 @@ class DeviceManagementConfigurationSettingDefinition extends Entity
/**
* Gets the categoryId
* Specify category in which the setting is under. Support $filters.
* Specifies the area group under which the setting is configured in a specified configuration service provider (CSP)
*
* @return string|null The categoryId
*/
@ -136,7 +136,7 @@ class DeviceManagementConfigurationSettingDefinition extends Entity
/**
* Sets the categoryId
* Specify category in which the setting is under. Support $filters.
* Specifies the area group under which the setting is configured in a specified configuration service provider (CSP)
*
* @param string $val The categoryId
*
@ -150,7 +150,7 @@ class DeviceManagementConfigurationSettingDefinition extends Entity
/**
* Gets the description
* Description of the setting.
* Description of the item
*
* @return string|null The description
*/
@ -165,7 +165,7 @@ class DeviceManagementConfigurationSettingDefinition extends Entity
/**
* Sets the description
* Description of the setting.
* Description of the item
*
* @param string $val The description
*
@ -179,7 +179,7 @@ class DeviceManagementConfigurationSettingDefinition extends Entity
/**
* Gets the displayName
* Name of the setting. For example: Allow Toast.
* Display name of the item
*
* @return string|null The displayName
*/
@ -194,7 +194,7 @@ class DeviceManagementConfigurationSettingDefinition extends Entity
/**
* Sets the displayName
* Name of the setting. For example: Allow Toast.
* Display name of the item
*
* @param string $val The displayName
*
@ -208,7 +208,7 @@ class DeviceManagementConfigurationSettingDefinition extends Entity
/**
* Gets the helpText
* Help text of the setting. Give more details of the setting.
* Help text of the item
*
* @return string|null The helpText
*/
@ -223,7 +223,7 @@ class DeviceManagementConfigurationSettingDefinition extends Entity
/**
* Sets the helpText
* Help text of the setting. Give more details of the setting.
* Help text of the item
*
* @param string $val The helpText
*
@ -237,7 +237,7 @@ class DeviceManagementConfigurationSettingDefinition extends Entity
/**
* Gets the infoUrls
* List of links more info for the setting can be found at.
* List of links more info for the setting can be found at
*
* @return array|null The infoUrls
*/
@ -252,7 +252,7 @@ class DeviceManagementConfigurationSettingDefinition extends Entity
/**
* Sets the infoUrls
* List of links more info for the setting can be found at.
* List of links more info for the setting can be found at
*
* @param string[] $val The infoUrls
*
@ -416,7 +416,7 @@ class DeviceManagementConfigurationSettingDefinition extends Entity
/**
* Gets the rootDefinitionId
* Root setting definition id if the setting is a child setting.
* Root setting definition if the setting is a child setting.
*
* @return string|null The rootDefinitionId
*/
@ -431,7 +431,7 @@ class DeviceManagementConfigurationSettingDefinition extends Entity
/**
* Sets the rootDefinitionId
* Root setting definition id if the setting is a child setting.
* Root setting definition if the setting is a child setting.
*
* @param string $val The rootDefinitionId
*
@ -445,7 +445,7 @@ class DeviceManagementConfigurationSettingDefinition extends Entity
/**
* Gets the settingUsage
* Indicate setting type for the setting. Possible values are: configuration, compliance, reusableSetting. Each setting usage has separate API end-point to call. Possible values are: none, configuration, compliance, unknownFutureValue.
* Setting type, for example, configuration and compliance. Possible values are: none, configuration, compliance.
*
* @return DeviceManagementConfigurationSettingUsage|null The settingUsage
*/
@ -464,7 +464,7 @@ class DeviceManagementConfigurationSettingDefinition extends Entity
/**
* Sets the settingUsage
* Indicate setting type for the setting. Possible values are: configuration, compliance, reusableSetting. Each setting usage has separate API end-point to call. Possible values are: none, configuration, compliance, unknownFutureValue.
* Setting type, for example, configuration and compliance. Possible values are: none, configuration, compliance.
*
* @param DeviceManagementConfigurationSettingUsage $val The settingUsage
*
@ -478,7 +478,7 @@ class DeviceManagementConfigurationSettingDefinition extends Entity
/**
* Gets the uxBehavior
* Setting control type representation in the UX. Possible values are: default, dropdown, smallTextBox, largeTextBox, toggle, multiheaderGrid, contextPane. Possible values are: default, dropdown, smallTextBox, largeTextBox, toggle, multiheaderGrid, contextPane, unknownFutureValue.
* Setting control type representation in the UX. Possible values are: default, dropdown, smallTextBox, largeTextBox, toggle, multiheaderGrid, contextPane.
*
* @return DeviceManagementConfigurationControlType|null The uxBehavior
*/
@ -497,7 +497,7 @@ class DeviceManagementConfigurationSettingDefinition extends Entity
/**
* Sets the uxBehavior
* Setting control type representation in the UX. Possible values are: default, dropdown, smallTextBox, largeTextBox, toggle, multiheaderGrid, contextPane. Possible values are: default, dropdown, smallTextBox, largeTextBox, toggle, multiheaderGrid, contextPane, unknownFutureValue.
* Setting control type representation in the UX. Possible values are: default, dropdown, smallTextBox, largeTextBox, toggle, multiheaderGrid, contextPane.
*
* @param DeviceManagementConfigurationControlType $val The uxBehavior
*
@ -540,7 +540,7 @@ class DeviceManagementConfigurationSettingDefinition extends Entity
/**
* Gets the visibility
* Setting visibility scope to UX. Possible values are: none, settingsCatalog, template. Possible values are: none, settingsCatalog, template, unknownFutureValue.
* Setting visibility scope to UX. Possible values are: none, settingsCatalog, template.
*
* @return DeviceManagementConfigurationSettingVisibility|null The visibility
*/
@ -559,7 +559,7 @@ class DeviceManagementConfigurationSettingDefinition extends Entity
/**
* Sets the visibility
* Setting visibility scope to UX. Possible values are: none, settingsCatalog, template. Possible values are: none, settingsCatalog, template, unknownFutureValue.
* Setting visibility scope to UX. Possible values are: none, settingsCatalog, template.
*
* @param DeviceManagementConfigurationSettingVisibility $val The visibility
*

View File

@ -26,7 +26,7 @@ class DeviceManagementConfigurationSettingGroupCollectionDefinition extends Devi
{
/**
* Gets the maximumCount
* Maximum number of setting group count in the collection
* Maximum number of setting group count in the collection. Valid values 1 to 100
*
* @return int|null The maximumCount
*/
@ -41,7 +41,7 @@ class DeviceManagementConfigurationSettingGroupCollectionDefinition extends Devi
/**
* Sets the maximumCount
* Maximum number of setting group count in the collection
* Maximum number of setting group count in the collection. Valid values 1 to 100
*
* @param int $val The maximumCount
*
@ -55,7 +55,7 @@ class DeviceManagementConfigurationSettingGroupCollectionDefinition extends Devi
/**
* Gets the minimumCount
* Minimum number of setting group count in the collection
* Minimum number of setting group count in the collection. Valid values 1 to 100
*
* @return int|null The minimumCount
*/
@ -70,7 +70,7 @@ class DeviceManagementConfigurationSettingGroupCollectionDefinition extends Devi
/**
* Sets the minimumCount
* Minimum number of setting group count in the collection
* Minimum number of setting group count in the collection. Valid values 1 to 100
*
* @param int $val The minimumCount
*

View File

@ -26,7 +26,7 @@ class DeviceManagementConfigurationSimpleSettingDefinition extends DeviceManagem
{
/**
* Gets the defaultValue
* Default setting value for this setting.
* Default setting value for this setting
*
* @return DeviceManagementConfigurationSettingValue|null The defaultValue
*/
@ -45,7 +45,7 @@ class DeviceManagementConfigurationSimpleSettingDefinition extends DeviceManagem
/**
* Sets the defaultValue
* Default setting value for this setting.
* Default setting value for this setting
*
* @param DeviceManagementConfigurationSettingValue $val The defaultValue
*
@ -60,7 +60,7 @@ class DeviceManagementConfigurationSimpleSettingDefinition extends DeviceManagem
/**
* Gets the dependedOnBy
* list of child settings that depend on this setting.
* list of child settings that depend on this setting
*
* @return array|null The dependedOnBy
*/
@ -75,7 +75,7 @@ class DeviceManagementConfigurationSimpleSettingDefinition extends DeviceManagem
/**
* Sets the dependedOnBy
* list of child settings that depend on this setting.
* list of child settings that depend on this setting
*
* @param DeviceManagementConfigurationSettingDependedOnBy[] $val The dependedOnBy
*
@ -90,7 +90,7 @@ class DeviceManagementConfigurationSimpleSettingDefinition extends DeviceManagem
/**
* Gets the dependentOn
* list of parent settings this setting is dependent on.
* list of parent settings this setting is dependent on
*
* @return array|null The dependentOn
*/
@ -105,7 +105,7 @@ class DeviceManagementConfigurationSimpleSettingDefinition extends DeviceManagem
/**
* Sets the dependentOn
* list of parent settings this setting is dependent on.
* list of parent settings this setting is dependent on
*
* @param DeviceManagementConfigurationDependentOn[] $val The dependentOn
*
@ -119,7 +119,7 @@ class DeviceManagementConfigurationSimpleSettingDefinition extends DeviceManagem
/**
* Gets the valueDefinition
* Definition of the value for this setting.
* Definition of the value for this setting
*
* @return DeviceManagementConfigurationSettingValueDefinition|null The valueDefinition
*/
@ -138,7 +138,7 @@ class DeviceManagementConfigurationSimpleSettingDefinition extends DeviceManagem
/**
* Sets the valueDefinition
* Definition of the value for this setting.
* Definition of the value for this setting
*
* @param DeviceManagementConfigurationSettingValueDefinition $val The valueDefinition
*

View File

@ -25,7 +25,7 @@ class DeviceProtectionOverview extends Entity
{
/**
* Gets the cleanDeviceCount
* Clean device count.
* Indicates number of devices reporting as clean
*
* @return int|null The cleanDeviceCount
*/
@ -40,7 +40,7 @@ class DeviceProtectionOverview extends Entity
/**
* Sets the cleanDeviceCount
* Clean device count.
* Indicates number of devices reporting as clean
*
* @param int $val The value of the cleanDeviceCount
*
@ -53,7 +53,7 @@ class DeviceProtectionOverview extends Entity
}
/**
* Gets the criticalFailuresDeviceCount
* Critical failures device count.
* Indicates number of devices with critical failures
*
* @return int|null The criticalFailuresDeviceCount
*/
@ -68,7 +68,7 @@ class DeviceProtectionOverview extends Entity
/**
* Sets the criticalFailuresDeviceCount
* Critical failures device count.
* Indicates number of devices with critical failures
*
* @param int $val The value of the criticalFailuresDeviceCount
*
@ -81,7 +81,7 @@ class DeviceProtectionOverview extends Entity
}
/**
* Gets the inactiveThreatAgentDeviceCount
* Device with inactive threat agent count
* Indicates number of devices with inactive threat agent
*
* @return int|null The inactiveThreatAgentDeviceCount
*/
@ -96,7 +96,7 @@ class DeviceProtectionOverview extends Entity
/**
* Sets the inactiveThreatAgentDeviceCount
* Device with inactive threat agent count
* Indicates number of devices with inactive threat agent
*
* @param int $val The value of the inactiveThreatAgentDeviceCount
*
@ -109,7 +109,7 @@ class DeviceProtectionOverview extends Entity
}
/**
* Gets the pendingFullScanDeviceCount
* Pending full scan device count.
* Indicates number of devices pending full scan
*
* @return int|null The pendingFullScanDeviceCount
*/
@ -124,7 +124,7 @@ class DeviceProtectionOverview extends Entity
/**
* Sets the pendingFullScanDeviceCount
* Pending full scan device count.
* Indicates number of devices pending full scan
*
* @param int $val The value of the pendingFullScanDeviceCount
*
@ -137,7 +137,7 @@ class DeviceProtectionOverview extends Entity
}
/**
* Gets the pendingManualStepsDeviceCount
* Pending manual steps device count.
* Indicates number of devices with pending manual steps
*
* @return int|null The pendingManualStepsDeviceCount
*/
@ -152,7 +152,7 @@ class DeviceProtectionOverview extends Entity
/**
* Sets the pendingManualStepsDeviceCount
* Pending manual steps device count.
* Indicates number of devices with pending manual steps
*
* @param int $val The value of the pendingManualStepsDeviceCount
*
@ -165,7 +165,7 @@ class DeviceProtectionOverview extends Entity
}
/**
* Gets the pendingOfflineScanDeviceCount
* Pending offline scan device count.
* Indicates number of pending offline scan devices
*
* @return int|null The pendingOfflineScanDeviceCount
*/
@ -180,7 +180,7 @@ class DeviceProtectionOverview extends Entity
/**
* Sets the pendingOfflineScanDeviceCount
* Pending offline scan device count.
* Indicates number of pending offline scan devices
*
* @param int $val The value of the pendingOfflineScanDeviceCount
*
@ -193,7 +193,7 @@ class DeviceProtectionOverview extends Entity
}
/**
* Gets the pendingQuickScanDeviceCount
* Pending quick scan device count. Valid values -2147483648 to 2147483647
* Indicates the number of devices that have a pending full scan. Valid values -2147483648 to 2147483647
*
* @return int|null The pendingQuickScanDeviceCount
*/
@ -208,7 +208,7 @@ class DeviceProtectionOverview extends Entity
/**
* Sets the pendingQuickScanDeviceCount
* Pending quick scan device count. Valid values -2147483648 to 2147483647
* Indicates the number of devices that have a pending full scan. Valid values -2147483648 to 2147483647
*
* @param int $val The value of the pendingQuickScanDeviceCount
*
@ -221,7 +221,7 @@ class DeviceProtectionOverview extends Entity
}
/**
* Gets the pendingRestartDeviceCount
* Pending restart device count.
* Indicates number of devices pending restart
*
* @return int|null The pendingRestartDeviceCount
*/
@ -236,7 +236,7 @@ class DeviceProtectionOverview extends Entity
/**
* Sets the pendingRestartDeviceCount
* Pending restart device count.
* Indicates number of devices pending restart
*
* @param int $val The value of the pendingRestartDeviceCount
*
@ -249,7 +249,7 @@ class DeviceProtectionOverview extends Entity
}
/**
* Gets the pendingSignatureUpdateDeviceCount
* Device with old signature count.
* Indicates number of devices with an old signature
*
* @return int|null The pendingSignatureUpdateDeviceCount
*/
@ -264,7 +264,7 @@ class DeviceProtectionOverview extends Entity
/**
* Sets the pendingSignatureUpdateDeviceCount
* Device with old signature count.
* Indicates number of devices with an old signature
*
* @param int $val The value of the pendingSignatureUpdateDeviceCount
*
@ -305,7 +305,7 @@ class DeviceProtectionOverview extends Entity
}
/**
* Gets the unknownStateThreatAgentDeviceCount
* Device with threat agent state as unknown count.
* Indicates number of devices with threat agent state as unknown
*
* @return int|null The unknownStateThreatAgentDeviceCount
*/
@ -320,7 +320,7 @@ class DeviceProtectionOverview extends Entity
/**
* Sets the unknownStateThreatAgentDeviceCount
* Device with threat agent state as unknown count.
* Indicates number of devices with threat agent state as unknown
*
* @param int $val The value of the unknownStateThreatAgentDeviceCount
*

View File

@ -378,6 +378,34 @@ class Directory extends Entity
}
/**
* Gets the subscriptions
*
* @return array|null The subscriptions
*/
public function getSubscriptions()
{
if (array_key_exists("subscriptions", $this->_propDict)) {
return $this->_propDict["subscriptions"];
} else {
return null;
}
}
/**
* Sets the subscriptions
*
* @param CompanySubscription[] $val The subscriptions
*
* @return Directory
*/
public function setSubscriptions($val)
{
$this->_propDict["subscriptions"] = $val;
return $this;
}
/**
* Gets the featureRolloutPolicies
*

View File

@ -0,0 +1,353 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* EndUserNotification 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;
/**
* EndUserNotification 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 EndUserNotification extends Entity
{
/**
* 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 EndUserNotification
*/
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 EndUserNotification
*/
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 EndUserNotification
*/
public function setDescription($val)
{
$this->_propDict["description"] = $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 EndUserNotification
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $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 EndUserNotification
*/
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 EndUserNotification
*/
public function setLastModifiedDateTime($val)
{
$this->_propDict["lastModifiedDateTime"] = $val;
return $this;
}
/**
* Gets the notificationType
*
* @return EndUserNotificationType|null The notificationType
*/
public function getNotificationType()
{
if (array_key_exists("notificationType", $this->_propDict)) {
if (is_a($this->_propDict["notificationType"], "\Beta\Microsoft\Graph\Model\EndUserNotificationType") || is_null($this->_propDict["notificationType"])) {
return $this->_propDict["notificationType"];
} else {
$this->_propDict["notificationType"] = new EndUserNotificationType($this->_propDict["notificationType"]);
return $this->_propDict["notificationType"];
}
}
return null;
}
/**
* Sets the notificationType
*
* @param EndUserNotificationType $val The notificationType
*
* @return EndUserNotification
*/
public function setNotificationType($val)
{
$this->_propDict["notificationType"] = $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 EndUserNotification
*/
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 EndUserNotification
*/
public function setStatus($val)
{
$this->_propDict["status"] = $val;
return $this;
}
/**
* Gets the supportedLocales
*
* @return array|null The supportedLocales
*/
public function getSupportedLocales()
{
if (array_key_exists("supportedLocales", $this->_propDict)) {
return $this->_propDict["supportedLocales"];
} else {
return null;
}
}
/**
* Sets the supportedLocales
*
* @param string[] $val The supportedLocales
*
* @return EndUserNotification
*/
public function setSupportedLocales($val)
{
$this->_propDict["supportedLocales"] = $val;
return $this;
}
/**
* Gets the details
*
* @return array|null The details
*/
public function getDetails()
{
if (array_key_exists("details", $this->_propDict)) {
return $this->_propDict["details"];
} else {
return null;
}
}
/**
* Sets the details
*
* @param EndUserNotificationDetail[] $val The details
*
* @return EndUserNotification
*/
public function setDetails($val)
{
$this->_propDict["details"] = $val;
return $this;
}
}

View File

@ -0,0 +1,193 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* EndUserNotificationDetail 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;
/**
* EndUserNotificationDetail 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 EndUserNotificationDetail extends Entity
{
/**
* Gets the emailContent
*
* @return string|null The emailContent
*/
public function getEmailContent()
{
if (array_key_exists("emailContent", $this->_propDict)) {
return $this->_propDict["emailContent"];
} else {
return null;
}
}
/**
* Sets the emailContent
*
* @param string $val The emailContent
*
* @return EndUserNotificationDetail
*/
public function setEmailContent($val)
{
$this->_propDict["emailContent"] = $val;
return $this;
}
/**
* Gets the isDefaultLangauge
*
* @return bool|null The isDefaultLangauge
*/
public function getIsDefaultLangauge()
{
if (array_key_exists("isDefaultLangauge", $this->_propDict)) {
return $this->_propDict["isDefaultLangauge"];
} else {
return null;
}
}
/**
* Sets the isDefaultLangauge
*
* @param bool $val The isDefaultLangauge
*
* @return EndUserNotificationDetail
*/
public function setIsDefaultLangauge($val)
{
$this->_propDict["isDefaultLangauge"] = 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 EndUserNotificationDetail
*/
public function setLanguage($val)
{
$this->_propDict["language"] = $val;
return $this;
}
/**
* Gets the locale
*
* @return string|null The locale
*/
public function getLocale()
{
if (array_key_exists("locale", $this->_propDict)) {
return $this->_propDict["locale"];
} else {
return null;
}
}
/**
* Sets the locale
*
* @param string $val The locale
*
* @return EndUserNotificationDetail
*/
public function setLocale($val)
{
$this->_propDict["locale"] = $val;
return $this;
}
/**
* Gets the sentFrom
*
* @return EmailIdentity|null The sentFrom
*/
public function getSentFrom()
{
if (array_key_exists("sentFrom", $this->_propDict)) {
if (is_a($this->_propDict["sentFrom"], "\Beta\Microsoft\Graph\Model\EmailIdentity") || is_null($this->_propDict["sentFrom"])) {
return $this->_propDict["sentFrom"];
} else {
$this->_propDict["sentFrom"] = new EmailIdentity($this->_propDict["sentFrom"]);
return $this->_propDict["sentFrom"];
}
}
return null;
}
/**
* Sets the sentFrom
*
* @param EmailIdentity $val The sentFrom
*
* @return EndUserNotificationDetail
*/
public function setSentFrom($val)
{
$this->_propDict["sentFrom"] = $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 subject
*
* @return EndUserNotificationDetail
*/
public function setSubject($val)
{
$this->_propDict["subject"] = $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.
*
* EndUserNotificationPreference 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;
/**
* EndUserNotificationPreference 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 EndUserNotificationPreference extends Enum
{
/**
* The Enum EndUserNotificationPreference
*/
const UNKNOWN = "unknown";
const MICROSOFT = "microsoft";
const CUSTOM = "custom";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,119 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* EndUserNotificationSetting 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;
/**
* EndUserNotificationSetting 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 EndUserNotificationSetting extends Entity
{
/**
* Gets the notificationPreference
*
* @return EndUserNotificationPreference|null The notificationPreference
*/
public function getNotificationPreference()
{
if (array_key_exists("notificationPreference", $this->_propDict)) {
if (is_a($this->_propDict["notificationPreference"], "\Beta\Microsoft\Graph\Model\EndUserNotificationPreference") || is_null($this->_propDict["notificationPreference"])) {
return $this->_propDict["notificationPreference"];
} else {
$this->_propDict["notificationPreference"] = new EndUserNotificationPreference($this->_propDict["notificationPreference"]);
return $this->_propDict["notificationPreference"];
}
}
return null;
}
/**
* Sets the notificationPreference
*
* @param EndUserNotificationPreference $val The value to assign to the notificationPreference
*
* @return EndUserNotificationSetting The EndUserNotificationSetting
*/
public function setNotificationPreference($val)
{
$this->_propDict["notificationPreference"] = $val;
return $this;
}
/**
* Gets the positiveReinforcement
*
* @return PositiveReinforcementNotification|null The positiveReinforcement
*/
public function getPositiveReinforcement()
{
if (array_key_exists("positiveReinforcement", $this->_propDict)) {
if (is_a($this->_propDict["positiveReinforcement"], "\Beta\Microsoft\Graph\Model\PositiveReinforcementNotification") || is_null($this->_propDict["positiveReinforcement"])) {
return $this->_propDict["positiveReinforcement"];
} else {
$this->_propDict["positiveReinforcement"] = new PositiveReinforcementNotification($this->_propDict["positiveReinforcement"]);
return $this->_propDict["positiveReinforcement"];
}
}
return null;
}
/**
* Sets the positiveReinforcement
*
* @param PositiveReinforcementNotification $val The value to assign to the positiveReinforcement
*
* @return EndUserNotificationSetting The EndUserNotificationSetting
*/
public function setPositiveReinforcement($val)
{
$this->_propDict["positiveReinforcement"] = $val;
return $this;
}
/**
* Gets the settingType
*
* @return EndUserNotificationSettingType|null The settingType
*/
public function getSettingType()
{
if (array_key_exists("settingType", $this->_propDict)) {
if (is_a($this->_propDict["settingType"], "\Beta\Microsoft\Graph\Model\EndUserNotificationSettingType") || is_null($this->_propDict["settingType"])) {
return $this->_propDict["settingType"];
} else {
$this->_propDict["settingType"] = new EndUserNotificationSettingType($this->_propDict["settingType"]);
return $this->_propDict["settingType"];
}
}
return null;
}
/**
* Sets the settingType
*
* @param EndUserNotificationSettingType $val The value to assign to the settingType
*
* @return EndUserNotificationSetting The EndUserNotificationSetting
*/
public function setSettingType($val)
{
$this->_propDict["settingType"] = $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.
*
* EndUserNotificationSettingType 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;
/**
* EndUserNotificationSettingType 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 EndUserNotificationSettingType extends Enum
{
/**
* The Enum EndUserNotificationSettingType
*/
const UNKNOWN = "unknown";
const NO_TRAINING = "noTraining";
const TRAINING_SELECTED = "trainingSelected";
const NO_NOTIFICATION = "noNotification";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,38 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* EndUserNotificationType 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;
/**
* EndUserNotificationType 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 EndUserNotificationType extends Enum
{
/**
* The Enum EndUserNotificationType
*/
const UNKNOWN = "unknown";
const POSITIVE_REINFORCEMENT = "positiveReinforcement";
const NO_TRAINING = "noTraining";
const TRAINING_ASSIGNMENT = "trainingAssignment";
const TRAINING_REMINDER = "trainingReminder";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -418,6 +418,7 @@ class EntitlementManagement extends Entity
/**
* Gets the subjects
* Represents the subjects within entitlement management.
*
* @return array|null The subjects
*/
@ -432,6 +433,7 @@ class EntitlementManagement extends Entity
/**
* Sets the subjects
* Represents the subjects within entitlement management.
*
* @param AccessPackageSubject[] $val The subjects
*

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.
*
* EnumeratedAccountsWithAccess 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;
/**
* EnumeratedAccountsWithAccess 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 EnumeratedAccountsWithAccess extends AccountsWithAccess
{
}

View File

@ -0,0 +1,63 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* EnumeratedDomains 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;
/**
* EnumeratedDomains 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 EnumeratedDomains extends ValidatingDomains
{
/**
* Set the @odata.type since this type is immediately descended from an abstract
* type that is referenced as the type in an entity.
* @param array $propDict The property dictionary
*/
public function __construct($propDict = array())
{
parent::__construct($propDict);
$this->setODataType("#microsoft.graph.enumeratedDomains");
}
/**
* Gets the domainNames
*
* @return string|null The domainNames
*/
public function getDomainNames()
{
if (array_key_exists("domainNames", $this->_propDict)) {
return $this->_propDict["domainNames"];
} else {
return null;
}
}
/**
* Sets the domainNames
*
* @param string $val The value of the domainNames
*
* @return EnumeratedDomains
*/
public function setDomainNames($val)
{
$this->_propDict["domainNames"] = $val;
return $this;
}
}

View File

@ -2,7 +2,7 @@
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* FileContentProperties File
* EnumeratedInboundPorts File
* PHP version 7
*
* @category Library
@ -13,7 +13,7 @@
*/
namespace Beta\Microsoft\Graph\Model;
/**
* FileContentProperties class
* EnumeratedInboundPorts class
*
* @category Model
* @package Microsoft.Graph
@ -21,32 +21,32 @@ namespace Beta\Microsoft\Graph\Model;
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class FileContentProperties extends ContentProperties
class EnumeratedInboundPorts extends InboundPorts
{
/**
* Gets the isVisibleOnlyToOneDriveOwner
* Gets the ports
*
* @return bool|null The isVisibleOnlyToOneDriveOwner
* @return string|null The ports
*/
public function getIsVisibleOnlyToOneDriveOwner()
public function getPorts()
{
if (array_key_exists("isVisibleOnlyToOneDriveOwner", $this->_propDict)) {
return $this->_propDict["isVisibleOnlyToOneDriveOwner"];
if (array_key_exists("ports", $this->_propDict)) {
return $this->_propDict["ports"];
} else {
return null;
}
}
/**
* Sets the isVisibleOnlyToOneDriveOwner
* Sets the ports
*
* @param bool $val The value of the isVisibleOnlyToOneDriveOwner
* @param string $val The value of the ports
*
* @return FileContentProperties
* @return EnumeratedInboundPorts
*/
public function setIsVisibleOnlyToOneDriveOwner($val)
public function setPorts($val)
{
$this->_propDict["isVisibleOnlyToOneDriveOwner"] = $val;
$this->_propDict["ports"] = $val;
return $this;
}
}

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.
*
* FederatedTokenValidationPolicy 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;
/**
* FederatedTokenValidationPolicy 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 FederatedTokenValidationPolicy extends DirectoryObject
{
/**
* Gets the validatingDomains
*
* @return ValidatingDomains|null The validatingDomains
*/
public function getValidatingDomains()
{
if (array_key_exists("validatingDomains", $this->_propDict)) {
if (is_a($this->_propDict["validatingDomains"], "\Beta\Microsoft\Graph\Model\ValidatingDomains") || is_null($this->_propDict["validatingDomains"])) {
return $this->_propDict["validatingDomains"];
} else {
$this->_propDict["validatingDomains"] = new ValidatingDomains($this->_propDict["validatingDomains"]);
return $this->_propDict["validatingDomains"];
}
}
return null;
}
/**
* Sets the validatingDomains
*
* @param ValidatingDomains $val The validatingDomains
*
* @return FederatedTokenValidationPolicy
*/
public function setValidatingDomains($val)
{
$this->_propDict["validatingDomains"] = $val;
return $this;
}
}

View File

@ -0,0 +1,208 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* FormsSettings 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;
/**
* FormsSettings 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 FormsSettings extends Entity
{
/**
* Gets the isBingImageSearchEnabled
*
* @return bool|null The isBingImageSearchEnabled
*/
public function getIsBingImageSearchEnabled()
{
if (array_key_exists("isBingImageSearchEnabled", $this->_propDict)) {
return $this->_propDict["isBingImageSearchEnabled"];
} else {
return null;
}
}
/**
* Sets the isBingImageSearchEnabled
*
* @param bool $val The value of the isBingImageSearchEnabled
*
* @return FormsSettings
*/
public function setIsBingImageSearchEnabled($val)
{
$this->_propDict["isBingImageSearchEnabled"] = $val;
return $this;
}
/**
* Gets the isExternalSendFormEnabled
*
* @return bool|null The isExternalSendFormEnabled
*/
public function getIsExternalSendFormEnabled()
{
if (array_key_exists("isExternalSendFormEnabled", $this->_propDict)) {
return $this->_propDict["isExternalSendFormEnabled"];
} else {
return null;
}
}
/**
* Sets the isExternalSendFormEnabled
*
* @param bool $val The value of the isExternalSendFormEnabled
*
* @return FormsSettings
*/
public function setIsExternalSendFormEnabled($val)
{
$this->_propDict["isExternalSendFormEnabled"] = $val;
return $this;
}
/**
* Gets the isExternalShareCollaborationEnabled
*
* @return bool|null The isExternalShareCollaborationEnabled
*/
public function getIsExternalShareCollaborationEnabled()
{
if (array_key_exists("isExternalShareCollaborationEnabled", $this->_propDict)) {
return $this->_propDict["isExternalShareCollaborationEnabled"];
} else {
return null;
}
}
/**
* Sets the isExternalShareCollaborationEnabled
*
* @param bool $val The value of the isExternalShareCollaborationEnabled
*
* @return FormsSettings
*/
public function setIsExternalShareCollaborationEnabled($val)
{
$this->_propDict["isExternalShareCollaborationEnabled"] = $val;
return $this;
}
/**
* Gets the isExternalShareResultEnabled
*
* @return bool|null The isExternalShareResultEnabled
*/
public function getIsExternalShareResultEnabled()
{
if (array_key_exists("isExternalShareResultEnabled", $this->_propDict)) {
return $this->_propDict["isExternalShareResultEnabled"];
} else {
return null;
}
}
/**
* Sets the isExternalShareResultEnabled
*
* @param bool $val The value of the isExternalShareResultEnabled
*
* @return FormsSettings
*/
public function setIsExternalShareResultEnabled($val)
{
$this->_propDict["isExternalShareResultEnabled"] = $val;
return $this;
}
/**
* Gets the isExternalShareTemplateEnabled
*
* @return bool|null The isExternalShareTemplateEnabled
*/
public function getIsExternalShareTemplateEnabled()
{
if (array_key_exists("isExternalShareTemplateEnabled", $this->_propDict)) {
return $this->_propDict["isExternalShareTemplateEnabled"];
} else {
return null;
}
}
/**
* Sets the isExternalShareTemplateEnabled
*
* @param bool $val The value of the isExternalShareTemplateEnabled
*
* @return FormsSettings
*/
public function setIsExternalShareTemplateEnabled($val)
{
$this->_propDict["isExternalShareTemplateEnabled"] = $val;
return $this;
}
/**
* Gets the isInOrgFormsPhishingScanEnabled
*
* @return bool|null The isInOrgFormsPhishingScanEnabled
*/
public function getIsInOrgFormsPhishingScanEnabled()
{
if (array_key_exists("isInOrgFormsPhishingScanEnabled", $this->_propDict)) {
return $this->_propDict["isInOrgFormsPhishingScanEnabled"];
} else {
return null;
}
}
/**
* Sets the isInOrgFormsPhishingScanEnabled
*
* @param bool $val The value of the isInOrgFormsPhishingScanEnabled
*
* @return FormsSettings
*/
public function setIsInOrgFormsPhishingScanEnabled($val)
{
$this->_propDict["isInOrgFormsPhishingScanEnabled"] = $val;
return $this;
}
/**
* Gets the isRecordIdentityByDefaultEnabled
*
* @return bool|null The isRecordIdentityByDefaultEnabled
*/
public function getIsRecordIdentityByDefaultEnabled()
{
if (array_key_exists("isRecordIdentityByDefaultEnabled", $this->_propDict)) {
return $this->_propDict["isRecordIdentityByDefaultEnabled"];
} else {
return null;
}
}
/**
* Sets the isRecordIdentityByDefaultEnabled
*
* @param bool $val The value of the isRecordIdentityByDefaultEnabled
*
* @return FormsSettings
*/
public function setIsRecordIdentityByDefaultEnabled($val)
{
$this->_propDict["isRecordIdentityByDefaultEnabled"] = $val;
return $this;
}
}

View File

@ -384,7 +384,7 @@ class Group extends DirectoryObject
/**
* Gets the isManagementRestricted
* Indicates whether the group is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. Default value is false. Read-only.
* Indicates whether the group is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. Default value is false. Read-only. To manage a group that's a member of a restricted administrative unit, the calling app must be assigned the Directory.Write.Restricted permission. For delegated scenarios, the administrators must also be explicitly assigned supported roles at the restricted administrative unit scope.
*
* @return bool|null The isManagementRestricted
*/
@ -399,7 +399,7 @@ class Group extends DirectoryObject
/**
* Sets the isManagementRestricted
* Indicates whether the group is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. Default value is false. Read-only.
* Indicates whether the group is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. Default value is false. Read-only. To manage a group that's a member of a restricted administrative unit, the calling app must be assigned the Directory.Write.Restricted permission. For delegated scenarios, the administrators must also be explicitly assigned supported roles at the restricted administrative unit scope.
*
* @param bool $val The isManagementRestricted
*

View File

@ -1,161 +0,0 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* GroupPrintUsageSummary 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;
/**
* GroupPrintUsageSummary 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 GroupPrintUsageSummary extends Entity
{
/**
* Gets the completedJobCount
*
* @return int|null The completedJobCount
*/
public function getCompletedJobCount()
{
if (array_key_exists("completedJobCount", $this->_propDict)) {
return $this->_propDict["completedJobCount"];
} else {
return null;
}
}
/**
* Sets the completedJobCount
*
* @param int $val The value of the completedJobCount
*
* @return GroupPrintUsageSummary
*/
public function setCompletedJobCount($val)
{
$this->_propDict["completedJobCount"] = $val;
return $this;
}
/**
* Gets the group
*
* @return Identity|null The group
*/
public function getGroup()
{
if (array_key_exists("group", $this->_propDict)) {
if (is_a($this->_propDict["group"], "\Beta\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["group"])) {
return $this->_propDict["group"];
} else {
$this->_propDict["group"] = new Identity($this->_propDict["group"]);
return $this->_propDict["group"];
}
}
return null;
}
/**
* Sets the group
*
* @param Identity $val The value to assign to the group
*
* @return GroupPrintUsageSummary The GroupPrintUsageSummary
*/
public function setGroup($val)
{
$this->_propDict["group"] = $val;
return $this;
}
/**
* Gets the groupDisplayName
*
* @return string|null The groupDisplayName
*/
public function getGroupDisplayName()
{
if (array_key_exists("groupDisplayName", $this->_propDict)) {
return $this->_propDict["groupDisplayName"];
} else {
return null;
}
}
/**
* Sets the groupDisplayName
*
* @param string $val The value of the groupDisplayName
*
* @return GroupPrintUsageSummary
*/
public function setGroupDisplayName($val)
{
$this->_propDict["groupDisplayName"] = $val;
return $this;
}
/**
* Gets the groupMail
*
* @return string|null The groupMail
*/
public function getGroupMail()
{
if (array_key_exists("groupMail", $this->_propDict)) {
return $this->_propDict["groupMail"];
} else {
return null;
}
}
/**
* Sets the groupMail
*
* @param string $val The value of the groupMail
*
* @return GroupPrintUsageSummary
*/
public function setGroupMail($val)
{
$this->_propDict["groupMail"] = $val;
return $this;
}
/**
* Gets the incompleteJobCount
*
* @return int|null The incompleteJobCount
*/
public function getIncompleteJobCount()
{
if (array_key_exists("incompleteJobCount", $this->_propDict)) {
return $this->_propDict["incompleteJobCount"];
} else {
return null;
}
}
/**
* Sets the incompleteJobCount
*
* @param int $val The value of the incompleteJobCount
*
* @return GroupPrintUsageSummary
*/
public function setIncompleteJobCount($val)
{
$this->_propDict["incompleteJobCount"] = $val;
return $this;
}
}

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.
*
* InboundPorts 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;
/**
* InboundPorts 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 InboundPorts extends Entity
{
}

View File

@ -25,7 +25,7 @@ class InsightValueDouble extends UserExperienceAnalyticsInsightValue
{
/**
* Gets the value
* Not yet documented
* The double value of the user experience analytics insight.
*
* @return float|null The value
*/
@ -40,7 +40,7 @@ class InsightValueDouble extends UserExperienceAnalyticsInsightValue
/**
* Sets the value
* Not yet documented
* The double value of the user experience analytics insight.
*
* @param float $val The value of the value
*

View File

@ -25,7 +25,7 @@ class InsightValueInt extends UserExperienceAnalyticsInsightValue
{
/**
* Gets the value
* Not yet documented
* The int value of the user experience analytics insight.
*
* @return int|null The value
*/
@ -40,7 +40,7 @@ class InsightValueInt extends UserExperienceAnalyticsInsightValue
/**
* Sets the value
* Not yet documented
* The int value of the user experience analytics insight.
*
* @param int $val The value of the value
*

View File

@ -26,6 +26,7 @@ class InvalidLicenseAlertIncident extends UnifiedRoleManagementAlertIncident
{
/**
* Gets the tenantLicenseStatus
* Status of the tenant's Azure AD Premium P2 license.
*
* @return string|null The tenantLicenseStatus
*/
@ -40,6 +41,7 @@ class InvalidLicenseAlertIncident extends UnifiedRoleManagementAlertIncident
/**
* Sets the tenantLicenseStatus
* Status of the tenant's Azure AD Premium P2 license.
*
* @param string $val The tenantLicenseStatus
*

View File

@ -53,6 +53,122 @@ class IosiPadOSWebClip extends MobileApp
return $this;
}
/**
* Gets the fullScreenEnabled
* Whether or not to open the web clip as a full-screen web app. Defaults to false. If TRUE, opens the web clip as a full-screen web app. If FALSE, the web clip opens inside of another app, such as Safari or the app specified with targetApplicationBundleIdentifier.
*
* @return bool|null The fullScreenEnabled
*/
public function getFullScreenEnabled()
{
if (array_key_exists("fullScreenEnabled", $this->_propDict)) {
return $this->_propDict["fullScreenEnabled"];
} else {
return null;
}
}
/**
* Sets the fullScreenEnabled
* Whether or not to open the web clip as a full-screen web app. Defaults to false. If TRUE, opens the web clip as a full-screen web app. If FALSE, the web clip opens inside of another app, such as Safari or the app specified with targetApplicationBundleIdentifier.
*
* @param bool $val The fullScreenEnabled
*
* @return IosiPadOSWebClip
*/
public function setFullScreenEnabled($val)
{
$this->_propDict["fullScreenEnabled"] = boolval($val);
return $this;
}
/**
* Gets the ignoreManifestScope
* Whether or not a full screen web clip can navigate to an external web site without showing the Safari UI. Defaults to false. If FALSE, the Safari UI appears when navigating away. If TRUE, the Safari UI will not be shown.
*
* @return bool|null The ignoreManifestScope
*/
public function getIgnoreManifestScope()
{
if (array_key_exists("ignoreManifestScope", $this->_propDict)) {
return $this->_propDict["ignoreManifestScope"];
} else {
return null;
}
}
/**
* Sets the ignoreManifestScope
* Whether or not a full screen web clip can navigate to an external web site without showing the Safari UI. Defaults to false. If FALSE, the Safari UI appears when navigating away. If TRUE, the Safari UI will not be shown.
*
* @param bool $val The ignoreManifestScope
*
* @return IosiPadOSWebClip
*/
public function setIgnoreManifestScope($val)
{
$this->_propDict["ignoreManifestScope"] = boolval($val);
return $this;
}
/**
* Gets the preComposedIconEnabled
* Whether or not the icon for the app is precomosed. Defaults to false. If TRUE, prevents SpringBoard from adding "shine" to the icon. If FALSE, SpringBoard can add "shine".
*
* @return bool|null The preComposedIconEnabled
*/
public function getPreComposedIconEnabled()
{
if (array_key_exists("preComposedIconEnabled", $this->_propDict)) {
return $this->_propDict["preComposedIconEnabled"];
} else {
return null;
}
}
/**
* Sets the preComposedIconEnabled
* Whether or not the icon for the app is precomosed. Defaults to false. If TRUE, prevents SpringBoard from adding "shine" to the icon. If FALSE, SpringBoard can add "shine".
*
* @param bool $val The preComposedIconEnabled
*
* @return IosiPadOSWebClip
*/
public function setPreComposedIconEnabled($val)
{
$this->_propDict["preComposedIconEnabled"] = boolval($val);
return $this;
}
/**
* Gets the targetApplicationBundleIdentifier
* Specifies the application bundle identifier which opens the URL. Available in iOS 14 and later.
*
* @return string|null The targetApplicationBundleIdentifier
*/
public function getTargetApplicationBundleIdentifier()
{
if (array_key_exists("targetApplicationBundleIdentifier", $this->_propDict)) {
return $this->_propDict["targetApplicationBundleIdentifier"];
} else {
return null;
}
}
/**
* Sets the targetApplicationBundleIdentifier
* Specifies the application bundle identifier which opens the URL. Available in iOS 14 and later.
*
* @param string $val The targetApplicationBundleIdentifier
*
* @return IosiPadOSWebClip
*/
public function setTargetApplicationBundleIdentifier($val)
{
$this->_propDict["targetApplicationBundleIdentifier"] = $val;
return $this;
}
/**
* Gets the useManagedBrowser
* Whether or not to use managed browser. When TRUE, the app will be required to be opened in Microsoft Edge. When FALSE, the app will not be required to be opened in Microsoft Edge. By default, this property is set to FALSE.

View File

@ -25,7 +25,7 @@ class KeyValue extends Entity
{
/**
* Gets the key
* Contains the name of the field that a value is associated with. When a sign in or domain hint is included in the sign-in request, corresponding fields are included as key-value pairs. Possible keys: Login hint present, Domain hint present.
* Key.
*
* @return string|null The key
*/
@ -40,7 +40,7 @@ class KeyValue extends Entity
/**
* Sets the key
* Contains the name of the field that a value is associated with. When a sign in or domain hint is included in the sign-in request, corresponding fields are included as key-value pairs. Possible keys: Login hint present, Domain hint present.
* Key.
*
* @param string $val The value of the key
*
@ -53,7 +53,7 @@ class KeyValue extends Entity
}
/**
* Gets the value
* Contains the corresponding value for the specified key. The value is true if a sign in hint was included in the sign-in request; otherwise false. The value is true if a domain hint was included in the sign-in request; otherwise false.
* Value.
*
* @return string|null The value
*/
@ -68,7 +68,7 @@ class KeyValue extends Entity
/**
* Sets the value
* Contains the corresponding value for the specified key. The value is true if a sign in hint was included in the sign-in request; otherwise false. The value is true if a domain hint was included in the sign-in request; otherwise false.
* Value.
*
* @param string $val The value of the value
*

View File

@ -0,0 +1,349 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* LandingPage 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;
/**
* LandingPage 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 LandingPage extends Entity
{
/**
* 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 LandingPage
*/
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 LandingPage
*/
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 LandingPage
*/
public function setDescription($val)
{
$this->_propDict["description"] = $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 LandingPage
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $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 LandingPage
*/
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 LandingPage
*/
public function setLastModifiedDateTime($val)
{
$this->_propDict["lastModifiedDateTime"] = $val;
return $this;
}
/**
* Gets the locale
*
* @return string|null The locale
*/
public function getLocale()
{
if (array_key_exists("locale", $this->_propDict)) {
return $this->_propDict["locale"];
} else {
return null;
}
}
/**
* Sets the locale
*
* @param string $val The locale
*
* @return LandingPage
*/
public function setLocale($val)
{
$this->_propDict["locale"] = $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 LandingPage
*/
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 LandingPage
*/
public function setStatus($val)
{
$this->_propDict["status"] = $val;
return $this;
}
/**
* Gets the supportedLocales
*
* @return array|null The supportedLocales
*/
public function getSupportedLocales()
{
if (array_key_exists("supportedLocales", $this->_propDict)) {
return $this->_propDict["supportedLocales"];
} else {
return null;
}
}
/**
* Sets the supportedLocales
*
* @param string[] $val The supportedLocales
*
* @return LandingPage
*/
public function setSupportedLocales($val)
{
$this->_propDict["supportedLocales"] = $val;
return $this;
}
/**
* Gets the details
*
* @return array|null The details
*/
public function getDetails()
{
if (array_key_exists("details", $this->_propDict)) {
return $this->_propDict["details"];
} else {
return null;
}
}
/**
* Sets the details
*
* @param LandingPageDetail[] $val The details
*
* @return LandingPage
*/
public function setDetails($val)
{
$this->_propDict["details"] = $val;
return $this;
}
}

View File

@ -0,0 +1,108 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* LandingPageDetail 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;
/**
* LandingPageDetail 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 LandingPageDetail extends Entity
{
/**
* 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 content
*
* @return LandingPageDetail
*/
public function setContent($val)
{
$this->_propDict["content"] = $val;
return $this;
}
/**
* Gets the isDefaultLangauge
*
* @return bool|null The isDefaultLangauge
*/
public function getIsDefaultLangauge()
{
if (array_key_exists("isDefaultLangauge", $this->_propDict)) {
return $this->_propDict["isDefaultLangauge"];
} else {
return null;
}
}
/**
* Sets the isDefaultLangauge
*
* @param bool $val The isDefaultLangauge
*
* @return LandingPageDetail
*/
public function setIsDefaultLangauge($val)
{
$this->_propDict["isDefaultLangauge"] = 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 LandingPageDetail
*/
public function setLanguage($val)
{
$this->_propDict["language"] = $val;
return $this;
}
}

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.
*
* LastSignIn 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;
/**
* LastSignIn 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 LastSignIn extends Entity
{
/**
* Gets the interactiveDateTime
*
* @return \DateTime|null The interactiveDateTime
*/
public function getInteractiveDateTime()
{
if (array_key_exists("interactiveDateTime", $this->_propDict)) {
if (is_a($this->_propDict["interactiveDateTime"], "\DateTime") || is_null($this->_propDict["interactiveDateTime"])) {
return $this->_propDict["interactiveDateTime"];
} else {
$this->_propDict["interactiveDateTime"] = new \DateTime($this->_propDict["interactiveDateTime"]);
return $this->_propDict["interactiveDateTime"];
}
}
return null;
}
/**
* Sets the interactiveDateTime
*
* @param \DateTime $val The value to assign to the interactiveDateTime
*
* @return LastSignIn The LastSignIn
*/
public function setInteractiveDateTime($val)
{
$this->_propDict["interactiveDateTime"] = $val;
return $this;
}
/**
* Gets the nonInteractiveDateTime
*
* @return \DateTime|null The nonInteractiveDateTime
*/
public function getNonInteractiveDateTime()
{
if (array_key_exists("nonInteractiveDateTime", $this->_propDict)) {
if (is_a($this->_propDict["nonInteractiveDateTime"], "\DateTime") || is_null($this->_propDict["nonInteractiveDateTime"])) {
return $this->_propDict["nonInteractiveDateTime"];
} else {
$this->_propDict["nonInteractiveDateTime"] = new \DateTime($this->_propDict["nonInteractiveDateTime"]);
return $this->_propDict["nonInteractiveDateTime"];
}
}
return null;
}
/**
* Sets the nonInteractiveDateTime
*
* @param \DateTime $val The value to assign to the nonInteractiveDateTime
*
* @return LastSignIn The LastSignIn
*/
public function setNonInteractiveDateTime($val)
{
$this->_propDict["nonInteractiveDateTime"] = $val;
return $this;
}
}

View File

@ -0,0 +1,321 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* LoginPage 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;
/**
* LoginPage 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 LoginPage extends Entity
{
/**
* 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 content
*
* @return LoginPage
*/
public function setContent($val)
{
$this->_propDict["content"] = $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 LoginPage
*/
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 LoginPage
*/
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 LoginPage
*/
public function setDescription($val)
{
$this->_propDict["description"] = $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 LoginPage
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $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 LoginPage
*/
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 LoginPage
*/
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 LoginPage
*/
public function setLastModifiedDateTime($val)
{
$this->_propDict["lastModifiedDateTime"] = $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 LoginPage
*/
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 LoginPage
*/
public function setStatus($val)
{
$this->_propDict["status"] = $val;
return $this;
}
}

View File

@ -36,7 +36,7 @@ class MacOsLobAppAssignmentSettings extends MobileAppAssignmentSettings
/**
* Gets the uninstallOnDeviceRemoval
* 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.
* Whether or not to uninstall the app when device is removed from Intune.
*
* @return bool|null The uninstallOnDeviceRemoval
*/
@ -51,7 +51,7 @@ class MacOsLobAppAssignmentSettings extends MobileAppAssignmentSettings
/**
* Sets the uninstallOnDeviceRemoval
* 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.
* Whether or not to uninstall the app when device is removed from Intune.
*
* @param bool $val The value of the uninstallOnDeviceRemoval
*

View File

@ -26,7 +26,7 @@ class MalwareStateForWindowsDevice extends Entity
{
/**
* Gets the detectionCount
* Number of times the malware is detected
* Indicates the number of times the malware is detected
*
* @return int|null The detectionCount
*/
@ -41,7 +41,7 @@ class MalwareStateForWindowsDevice extends Entity
/**
* Sets the detectionCount
* Number of times the malware is detected
* Indicates the number of times the malware is detected
*
* @param int $val The detectionCount
*
@ -55,7 +55,7 @@ class MalwareStateForWindowsDevice extends Entity
/**
* Gets the deviceName
* Device name
* Indicates the name of the device being evaluated for malware state
*
* @return string|null The deviceName
*/
@ -70,7 +70,7 @@ class MalwareStateForWindowsDevice extends Entity
/**
* Sets the deviceName
* Device name
* Indicates the name of the device being evaluated for malware state
*
* @param string $val The deviceName
*
@ -84,7 +84,7 @@ class MalwareStateForWindowsDevice extends Entity
/**
* Gets the executionState
* Execution status of the malware like blocked/executing etc. Possible values are: unknown, blocked, allowed, running, notRunning.
* Indicates execution status of the malware. Possible values are: unknown, blocked, allowed, running, notRunning. Defaults to unknown. Possible values are: unknown, blocked, allowed, running, notRunning.
*
* @return WindowsMalwareExecutionState|null The executionState
*/
@ -103,7 +103,7 @@ class MalwareStateForWindowsDevice extends Entity
/**
* Sets the executionState
* Execution status of the malware like blocked/executing etc. Possible values are: unknown, blocked, allowed, running, notRunning.
* Indicates execution status of the malware. Possible values are: unknown, blocked, allowed, running, notRunning. Defaults to unknown. Possible values are: unknown, blocked, allowed, running, notRunning.
*
* @param WindowsMalwareExecutionState $val The executionState
*
@ -183,7 +183,7 @@ class MalwareStateForWindowsDevice extends Entity
/**
* Gets the threatState
* Threat status of the malware like cleaned/quarantined/allowed etc. Possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared.
* Indicates threat status of the malware. Possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. defaults to noStatusCleared. Possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared.
*
* @return WindowsMalwareThreatState|null The threatState
*/
@ -202,7 +202,7 @@ class MalwareStateForWindowsDevice extends Entity
/**
* Sets the threatState
* Threat status of the malware like cleaned/quarantined/allowed etc. Possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared.
* Indicates threat status of the malware. Possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared. defaults to noStatusCleared. Possible values are: active, actionFailed, manualStepsRequired, fullScanRequired, rebootRequired, remediatedWithNonCriticalFailures, quarantined, removed, cleaned, allowed, noStatusCleared.
*
* @param WindowsMalwareThreatState $val The threatState
*

View File

@ -47,4 +47,5 @@ class ManagedDeviceRemoteAction extends Enum
const COLLECT_DIAGNOSTICS = "collectDiagnostics";
const INITIATE_MOBILE_DEVICE_MANAGEMENT_KEY_RECOVERY = "initiateMobileDeviceManagementKeyRecovery";
const INITIATE_ON_DEMAND_PROACTIVE_REMEDIATION = "initiateOnDemandProactiveRemediation";
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.
*
* MicrosoftCustomTrainingSetting 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;
/**
* MicrosoftCustomTrainingSetting 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 MicrosoftCustomTrainingSetting extends TrainingSetting
{
/**
* Set the @odata.type since this type is immediately descended from an abstract
* type that is referenced as the type in an entity.
* @param array $propDict The property dictionary
*/
public function __construct($propDict = array())
{
parent::__construct($propDict);
$this->setODataType("#microsoft.graph.microsoftCustomTrainingSetting");
}
/**
* Gets the completionDateTime
*
* @return \DateTime|null The completionDateTime
*/
public function getCompletionDateTime()
{
if (array_key_exists("completionDateTime", $this->_propDict)) {
if (is_a($this->_propDict["completionDateTime"], "\DateTime") || is_null($this->_propDict["completionDateTime"])) {
return $this->_propDict["completionDateTime"];
} else {
$this->_propDict["completionDateTime"] = new \DateTime($this->_propDict["completionDateTime"]);
return $this->_propDict["completionDateTime"];
}
}
return null;
}
/**
* Sets the completionDateTime
*
* @param \DateTime $val The value to assign to the completionDateTime
*
* @return MicrosoftCustomTrainingSetting The MicrosoftCustomTrainingSetting
*/
public function setCompletionDateTime($val)
{
$this->_propDict["completionDateTime"] = $val;
return $this;
}
/**
* Gets the trainingAssignmentMappings
*
* @return MicrosoftTrainingAssignmentMapping|null The trainingAssignmentMappings
*/
public function getTrainingAssignmentMappings()
{
if (array_key_exists("trainingAssignmentMappings", $this->_propDict)) {
if (is_a($this->_propDict["trainingAssignmentMappings"], "\Beta\Microsoft\Graph\Model\MicrosoftTrainingAssignmentMapping") || is_null($this->_propDict["trainingAssignmentMappings"])) {
return $this->_propDict["trainingAssignmentMappings"];
} else {
$this->_propDict["trainingAssignmentMappings"] = new MicrosoftTrainingAssignmentMapping($this->_propDict["trainingAssignmentMappings"]);
return $this->_propDict["trainingAssignmentMappings"];
}
}
return null;
}
/**
* Sets the trainingAssignmentMappings
*
* @param MicrosoftTrainingAssignmentMapping $val The value to assign to the trainingAssignmentMappings
*
* @return MicrosoftCustomTrainingSetting The MicrosoftCustomTrainingSetting
*/
public function setTrainingAssignmentMappings($val)
{
$this->_propDict["trainingAssignmentMappings"] = $val;
return $this;
}
/**
* Gets the trainingCompletionDuration
*
* @return TrainingCompletionDuration|null The trainingCompletionDuration
*/
public function getTrainingCompletionDuration()
{
if (array_key_exists("trainingCompletionDuration", $this->_propDict)) {
if (is_a($this->_propDict["trainingCompletionDuration"], "\Beta\Microsoft\Graph\Model\TrainingCompletionDuration") || is_null($this->_propDict["trainingCompletionDuration"])) {
return $this->_propDict["trainingCompletionDuration"];
} else {
$this->_propDict["trainingCompletionDuration"] = new TrainingCompletionDuration($this->_propDict["trainingCompletionDuration"]);
return $this->_propDict["trainingCompletionDuration"];
}
}
return null;
}
/**
* Sets the trainingCompletionDuration
*
* @param TrainingCompletionDuration $val The value to assign to the trainingCompletionDuration
*
* @return MicrosoftCustomTrainingSetting The MicrosoftCustomTrainingSetting
*/
public function setTrainingCompletionDuration($val)
{
$this->_propDict["trainingCompletionDuration"] = $val;
return $this;
}
}

View File

@ -0,0 +1,99 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* MicrosoftManagedTrainingSetting 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;
/**
* MicrosoftManagedTrainingSetting 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 MicrosoftManagedTrainingSetting extends TrainingSetting
{
/**
* Set the @odata.type since this type is immediately descended from an abstract
* type that is referenced as the type in an entity.
* @param array $propDict The property dictionary
*/
public function __construct($propDict = array())
{
parent::__construct($propDict);
$this->setODataType("#microsoft.graph.microsoftManagedTrainingSetting");
}
/**
* Gets the completionDateTime
*
* @return \DateTime|null The completionDateTime
*/
public function getCompletionDateTime()
{
if (array_key_exists("completionDateTime", $this->_propDict)) {
if (is_a($this->_propDict["completionDateTime"], "\DateTime") || is_null($this->_propDict["completionDateTime"])) {
return $this->_propDict["completionDateTime"];
} else {
$this->_propDict["completionDateTime"] = new \DateTime($this->_propDict["completionDateTime"]);
return $this->_propDict["completionDateTime"];
}
}
return null;
}
/**
* Sets the completionDateTime
*
* @param \DateTime $val The value to assign to the completionDateTime
*
* @return MicrosoftManagedTrainingSetting The MicrosoftManagedTrainingSetting
*/
public function setCompletionDateTime($val)
{
$this->_propDict["completionDateTime"] = $val;
return $this;
}
/**
* Gets the trainingCompletionDuration
*
* @return TrainingCompletionDuration|null The trainingCompletionDuration
*/
public function getTrainingCompletionDuration()
{
if (array_key_exists("trainingCompletionDuration", $this->_propDict)) {
if (is_a($this->_propDict["trainingCompletionDuration"], "\Beta\Microsoft\Graph\Model\TrainingCompletionDuration") || is_null($this->_propDict["trainingCompletionDuration"])) {
return $this->_propDict["trainingCompletionDuration"];
} else {
$this->_propDict["trainingCompletionDuration"] = new TrainingCompletionDuration($this->_propDict["trainingCompletionDuration"]);
return $this->_propDict["trainingCompletionDuration"];
}
}
return null;
}
/**
* Sets the trainingCompletionDuration
*
* @param TrainingCompletionDuration $val The value to assign to the trainingCompletionDuration
*
* @return MicrosoftManagedTrainingSetting The MicrosoftManagedTrainingSetting
*/
public function setTrainingCompletionDuration($val)
{
$this->_propDict["trainingCompletionDuration"] = $val;
return $this;
}
}

View File

@ -0,0 +1,99 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* MicrosoftTrainingAssignmentMapping 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;
/**
* MicrosoftTrainingAssignmentMapping 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 MicrosoftTrainingAssignmentMapping extends TrainingSetting
{
/**
* Set the @odata.type since this type is immediately descended from an abstract
* type that is referenced as the type in an entity.
* @param array $propDict The property dictionary
*/
public function __construct($propDict = array())
{
parent::__construct($propDict);
$this->setODataType("#microsoft.graph.microsoftTrainingAssignmentMapping");
}
/**
* Gets the assignedTo
*
* @return TrainingAssignedTo|null The assignedTo
*/
public function getAssignedTo()
{
if (array_key_exists("assignedTo", $this->_propDict)) {
if (is_a($this->_propDict["assignedTo"], "\Beta\Microsoft\Graph\Model\TrainingAssignedTo") || is_null($this->_propDict["assignedTo"])) {
return $this->_propDict["assignedTo"];
} else {
$this->_propDict["assignedTo"] = new TrainingAssignedTo($this->_propDict["assignedTo"]);
return $this->_propDict["assignedTo"];
}
}
return null;
}
/**
* Sets the assignedTo
*
* @param TrainingAssignedTo $val The value to assign to the assignedTo
*
* @return MicrosoftTrainingAssignmentMapping The MicrosoftTrainingAssignmentMapping
*/
public function setAssignedTo($val)
{
$this->_propDict["assignedTo"] = $val;
return $this;
}
/**
* Gets the training
*
* @return Training|null The training
*/
public function getTraining()
{
if (array_key_exists("training", $this->_propDict)) {
if (is_a($this->_propDict["training"], "\Beta\Microsoft\Graph\Model\Training") || is_null($this->_propDict["training"])) {
return $this->_propDict["training"];
} else {
$this->_propDict["training"] = new Training($this->_propDict["training"]);
return $this->_propDict["training"];
}
}
return null;
}
/**
* Sets the training
*
* @param Training $val The value to assign to the training
*
* @return MicrosoftTrainingAssignmentMapping The MicrosoftTrainingAssignmentMapping
*/
public function setTraining($val)
{
$this->_propDict["training"] = $val;
return $this;
}
}

View File

@ -26,6 +26,7 @@ class NoMfaOnRoleActivationAlertIncident extends UnifiedRoleManagementAlertIncid
{
/**
* Gets the roleDisplayName
* The name of the Azure AD directory role.
*
* @return string|null The roleDisplayName
*/
@ -40,6 +41,7 @@ class NoMfaOnRoleActivationAlertIncident extends UnifiedRoleManagementAlertIncid
/**
* Sets the roleDisplayName
* The name of the Azure AD directory role.
*
* @param string $val The roleDisplayName
*
@ -53,6 +55,7 @@ class NoMfaOnRoleActivationAlertIncident extends UnifiedRoleManagementAlertIncid
/**
* Gets the roleTemplateId
* The globally unique identifier for a directory role.
*
* @return string|null The roleTemplateId
*/
@ -67,6 +70,7 @@ class NoMfaOnRoleActivationAlertIncident extends UnifiedRoleManagementAlertIncid
/**
* Sets the roleTemplateId
* The globally unique identifier for a directory role.
*
* @param string $val The roleTemplateId
*

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.
*
* NoTrainingNotificationSetting 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;
/**
* NoTrainingNotificationSetting 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 NoTrainingNotificationSetting extends EndUserNotificationSetting
{
/**
* Gets the simulationNotification
*
* @return SimulationNotification|null The simulationNotification
*/
public function getSimulationNotification()
{
if (array_key_exists("simulationNotification", $this->_propDict)) {
if (is_a($this->_propDict["simulationNotification"], "\Beta\Microsoft\Graph\Model\SimulationNotification") || is_null($this->_propDict["simulationNotification"])) {
return $this->_propDict["simulationNotification"];
} else {
$this->_propDict["simulationNotification"] = new SimulationNotification($this->_propDict["simulationNotification"]);
return $this->_propDict["simulationNotification"];
}
}
return null;
}
/**
* Sets the simulationNotification
*
* @param SimulationNotification $val The value to assign to the simulationNotification
*
* @return NoTrainingNotificationSetting The NoTrainingNotificationSetting
*/
public function setSimulationNotification($val)
{
$this->_propDict["simulationNotification"] = $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.
*
* NoTrainingSetting 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;
/**
* NoTrainingSetting 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 NoTrainingSetting extends TrainingSetting
{
/**
* Set the @odata.type since this type is immediately descended from an abstract
* type that is referenced as the type in an entity.
* @param array $propDict The property dictionary
*/
public function __construct($propDict = array())
{
parent::__construct($propDict);
$this->setODataType("#microsoft.graph.noTrainingSetting");
}
}

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.
*
* NotificationDeliveryFrequency 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;
/**
* NotificationDeliveryFrequency 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 NotificationDeliveryFrequency extends Enum
{
/**
* The Enum NotificationDeliveryFrequency
*/
const UNKNOWN = "unknown";
const WEEKLY = "weekly";
const BI_WEEKLY = "biWeekly";
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.
*
* NotificationDeliveryPreference 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;
/**
* NotificationDeliveryPreference 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 NotificationDeliveryPreference extends Enum
{
/**
* The Enum NotificationDeliveryPreference
*/
const UNKNOWN = "unknown";
const DELIVER_IMMEDIETLY = "deliverImmedietly";
const DELIVER_AFTER_CAMPAIGN_END = "deliverAfterCampaignEnd";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

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