1
0
Fork 0
master
Brie Bruns 2022-10-18 09:40:06 -06:00
parent 683aae69e5
commit d7dc8335c5
177 changed files with 10668 additions and 279 deletions

12
composer.lock generated
View File

@ -339,16 +339,16 @@
},
{
"name": "microsoft/microsoft-graph",
"version": "1.77.0",
"version": "1.79.0",
"source": {
"type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "4e505f208c5d95d08560aaa8d4f6b8c81cd96222"
"reference": "c8317b06fbe0f431f421fb40ea0bd83650c2b7b5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/4e505f208c5d95d08560aaa8d4f6b8c81cd96222",
"reference": "4e505f208c5d95d08560aaa8d4f6b8c81cd96222",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/c8317b06fbe0f431f421fb40ea0bd83650c2b7b5",
"reference": "c8317b06fbe0f431f421fb40ea0bd83650c2b7b5",
"shasum": ""
},
"require": {
@ -384,9 +384,9 @@
"homepage": "https://developer.microsoft.com/en-us/graph",
"support": {
"issues": "https://github.com/microsoftgraph/msgraph-sdk-php/issues",
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.77.0"
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.79.0"
},
"time": "2022-09-28T09:07:44+00:00"
"time": "2022-10-13T10:49:09+00:00"
},
{
"name": "psr/http-client",

View File

@ -342,17 +342,17 @@
},
{
"name": "microsoft/microsoft-graph",
"version": "1.77.0",
"version_normalized": "1.77.0.0",
"version": "1.79.0",
"version_normalized": "1.79.0.0",
"source": {
"type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "4e505f208c5d95d08560aaa8d4f6b8c81cd96222"
"reference": "c8317b06fbe0f431f421fb40ea0bd83650c2b7b5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/4e505f208c5d95d08560aaa8d4f6b8c81cd96222",
"reference": "4e505f208c5d95d08560aaa8d4f6b8c81cd96222",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/c8317b06fbe0f431f421fb40ea0bd83650c2b7b5",
"reference": "c8317b06fbe0f431f421fb40ea0bd83650c2b7b5",
"shasum": ""
},
"require": {
@ -366,7 +366,7 @@
"phpstan/phpstan": "^0.12.90 || ^1.0.0",
"phpunit/phpunit": "^8.0 || ^9.0"
},
"time": "2022-09-28T09:07:44+00:00",
"time": "2022-10-13T10:49:09+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@ -390,7 +390,7 @@
"homepage": "https://developer.microsoft.com/en-us/graph",
"support": {
"issues": "https://github.com/microsoftgraph/msgraph-sdk-php/issues",
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.77.0"
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.79.0"
},
"install-path": "../microsoft/microsoft-graph"
},

View File

@ -5,7 +5,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => '7c7d2531cccacf74c6d4eb1ec7940cc47337ea7a',
'reference' => '683aae69e5dd138e4f6b8e7043f445f3ebf7ab18',
'name' => '__root__',
'dev' => true,
),
@ -16,7 +16,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => '7c7d2531cccacf74c6d4eb1ec7940cc47337ea7a',
'reference' => '683aae69e5dd138e4f6b8e7043f445f3ebf7ab18',
'dev_requirement' => false,
),
'guzzlehttp/guzzle' => array(
@ -47,12 +47,12 @@
'dev_requirement' => false,
),
'microsoft/microsoft-graph' => array(
'pretty_version' => '1.77.0',
'version' => '1.77.0.0',
'pretty_version' => '1.79.0',
'version' => '1.79.0.0',
'type' => 'library',
'install_path' => __DIR__ . '/../microsoft/microsoft-graph',
'aliases' => array(),
'reference' => '4e505f208c5d95d08560aaa8d4f6b8c81cd96222',
'reference' => 'c8317b06fbe0f431f421fb40ea0bd83650c2b7b5',
'dev_requirement' => false,
),
'psr/http-client' => array(

View File

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

View File

@ -26,6 +26,7 @@ class ComplianceSettings extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the eDiscoveryResultTemplates
* Enables the developer to define the appearance of the content and configure conditions that dictate when the template should be displayed. Maximum of two eDiscovery result templates per connection.
*
* @return DisplayTemplate|null The eDiscoveryResultTemplates
*/
@ -44,6 +45,7 @@ class ComplianceSettings extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the eDiscoveryResultTemplates
* Enables the developer to define the appearance of the content and configure conditions that dictate when the template should be displayed. Maximum of two eDiscovery result templates per connection.
*
* @param DisplayTemplate $val The value to assign to the eDiscoveryResultTemplates
*

View File

@ -59,6 +59,7 @@ class ExternalConnection extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the complianceSettings
* The settings required for the connection to participate in eDiscovery, such as the display templates for eDiscovery results.
*
* @return ComplianceSettings|null The complianceSettings
*/
@ -77,6 +78,7 @@ class ExternalConnection extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the complianceSettings
* The settings required for the connection to participate in eDiscovery, such as the display templates for eDiscovery results.
*
* @param ComplianceSettings $val The complianceSettings
*
@ -181,6 +183,7 @@ class ExternalConnection extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the enabledContentExperiences
* The list of content experiences the connection will participate in. Possible values are search and compliance.
*
* @return ContentExperienceType|null The enabledContentExperiences
*/
@ -199,6 +202,7 @@ class ExternalConnection extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the enabledContentExperiences
* The list of content experiences the connection will participate in. Possible values are search and compliance.
*
* @param ContentExperienceType $val The enabledContentExperiences
*

View File

@ -26,7 +26,7 @@ class LifecycleManagementSettings extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the workflowScheduleIntervalInHours
* The interval in hours at which all workflows running in the tenant should be scheduled for execution. This interval has a minimum value of 1 and a maximum value of 24.
* The interval in hours at which all workflows running in the tenant should be scheduled for execution. This interval has a minimum value of 1 and a maximum value of 24. The default value is 3 hours.
*
* @return int|null The workflowScheduleIntervalInHours
*/
@ -41,7 +41,7 @@ class LifecycleManagementSettings extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the workflowScheduleIntervalInHours
* The interval in hours at which all workflows running in the tenant should be scheduled for execution. This interval has a minimum value of 1 and a maximum value of 24.
* The interval in hours at which all workflows running in the tenant should be scheduled for execution. This interval has a minimum value of 1 and a maximum value of 24. The default value is 3 hours.
*
* @param int $val The workflowScheduleIntervalInHours
*

View File

@ -27,7 +27,7 @@ class Task extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the arguments
* Arguments included within the task.
* Arguments included within the task. For guidance to configure this property, see Configure the arguments for built-in Lifecycle Workflow tasks.
*
* @return array|null The arguments
*/
@ -42,7 +42,7 @@ class Task extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the arguments
* Arguments included within the task.
* Arguments included within the task. For guidance to configure this property, see Configure the arguments for built-in Lifecycle Workflow tasks.
*
* @param \Beta\Microsoft\Graph\Model\KeyValuePair[] $val The arguments
*

View File

@ -26,7 +26,7 @@ class TaskDefinition extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the category
* The category of the HR function that the tasks created using this definition can be used with. The possible values are: joiner, leaver.
* The category of the HR function that the tasks created using this definition can be used with. The possible values are: joiner, leaver. This is a multi-valued enumeration whose allowed combinations are joiner, joiner,leaver, or leaver. Supports $filter (eq).
*
* @return LifecycleTaskCategory|null The category
*/
@ -45,7 +45,7 @@ class TaskDefinition extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the category
* The category of the HR function that the tasks created using this definition can be used with. The possible values are: joiner, leaver.
* The category of the HR function that the tasks created using this definition can be used with. The possible values are: joiner, leaver. This is a multi-valued enumeration whose allowed combinations are joiner, joiner,leaver, or leaver. Supports $filter (eq).
*
* @param LifecycleTaskCategory $val The category
*
@ -115,7 +115,7 @@ class TaskDefinition extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the displayName
* The display name of the taskDefinition.
* The display name of the taskDefinition`.
*
* @return string|null The displayName
*/
@ -130,7 +130,7 @@ class TaskDefinition extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the displayName
* The display name of the taskDefinition.
* The display name of the taskDefinition`.
*
* @param string $val The displayName
*
@ -145,7 +145,7 @@ class TaskDefinition extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the parameters
* The parameters that must be supplied when creating a task.
* The parameters that must be supplied when creating a workflow task object.
*
* @return array|null The parameters
*/
@ -160,7 +160,7 @@ class TaskDefinition extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the parameters
* The parameters that must be supplied when creating a task.
* The parameters that must be supplied when creating a workflow task object.
*
* @param Parameter[] $val The parameters
*

View File

@ -25,7 +25,7 @@ class TimeBasedAttributeTrigger extends WorkflowExecutionTrigger
{
/**
* Gets the offsetInDays
* How many days before or after the time-based attribute specified the workflow should trigger. For example, if the attribute is employeeHireDate and offsetInDays is -1, then the workflow should trigger one day before the employee hire date.
* How many days before or after the time-based attribute specified the workflow should trigger. For example, if the attribute is employeeHireDate and offsetInDays is -1, then the workflow should trigger one day before the employee hire date. The value can range between -60 and 60 days.
*
* @return int|null The offsetInDays
*/
@ -40,7 +40,7 @@ class TimeBasedAttributeTrigger extends WorkflowExecutionTrigger
/**
* Sets the offsetInDays
* How many days before or after the time-based attribute specified the workflow should trigger. For example, if the attribute is employeeHireDate and offsetInDays is -1, then the workflow should trigger one day before the employee hire date.
* How many days before or after the time-based attribute specified the workflow should trigger. For example, if the attribute is employeeHireDate and offsetInDays is -1, then the workflow should trigger one day before the employee hire date. The value can range between -60 and 60 days.
*
* @param int $val The value of the offsetInDays
*

View File

@ -26,7 +26,7 @@ class Workflow extends WorkflowBase
{
/**
* Gets the deletedDateTime
* The time and date a workflow is deleted. Supports $filter(lt,gt) and $orderby.
* When the workflow was deleted. Supports $filter(lt,gt) and $orderBy.
*
* @return \DateTime|null The deletedDateTime
*/
@ -45,7 +45,7 @@ class Workflow extends WorkflowBase
/**
* Sets the deletedDateTime
* The time and date a workflow is deleted. Supports $filter(lt,gt) and $orderby.
* When the workflow was deleted. Supports $filter(lt,gt) and $orderBy.
*
* @param \DateTime $val The deletedDateTime
*
@ -59,7 +59,7 @@ class Workflow extends WorkflowBase
/**
* Gets the id
* Identifier used for individually addressing a specific workflow. Supports $filter(eq).
* Identifier used for individually addressing a specific workflow. Supports $filter(eq, ne).
*
* @return string|null The id
*/
@ -74,7 +74,7 @@ class Workflow extends WorkflowBase
/**
* Sets the id
* Identifier used for individually addressing a specific workflow. Supports $filter(eq).
* Identifier used for individually addressing a specific workflow. Supports $filter(eq, ne).
*
* @param string $val The id
*
@ -86,67 +86,9 @@ class Workflow extends WorkflowBase
return $this;
}
/**
* Gets the isEnabled
* If true, the workflow engine creates and processes taskProcessingResults on the users scoped to the workflow. Supports $filter(eq,ne) and orderby.
*
* @return bool|null The isEnabled
*/
public function getIsEnabled()
{
if (array_key_exists("isEnabled", $this->_propDict)) {
return $this->_propDict["isEnabled"];
} else {
return null;
}
}
/**
* Sets the isEnabled
* If true, the workflow engine creates and processes taskProcessingResults on the users scoped to the workflow. Supports $filter(eq,ne) and orderby.
*
* @param bool $val The isEnabled
*
* @return Workflow
*/
public function setIsEnabled($val)
{
$this->_propDict["isEnabled"] = boolval($val);
return $this;
}
/**
* Gets the isSchedulingEnabled
* If true, the workflow engine executes the workflow on the schedule defined by tenant settings.
*
* @return bool|null The isSchedulingEnabled
*/
public function getIsSchedulingEnabled()
{
if (array_key_exists("isSchedulingEnabled", $this->_propDict)) {
return $this->_propDict["isSchedulingEnabled"];
} else {
return null;
}
}
/**
* Sets the isSchedulingEnabled
* If true, the workflow engine executes the workflow on the schedule defined by tenant settings.
*
* @param bool $val The isSchedulingEnabled
*
* @return Workflow
*/
public function setIsSchedulingEnabled($val)
{
$this->_propDict["isSchedulingEnabled"] = boolval($val);
return $this;
}
/**
* Gets the nextScheduleRunDateTime
* The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderby.
* The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderBy.
*
* @return \DateTime|null The nextScheduleRunDateTime
*/
@ -165,7 +107,7 @@ class Workflow extends WorkflowBase
/**
* Sets the nextScheduleRunDateTime
* The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderby.
* The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderBy.
*
* @param \DateTime $val The nextScheduleRunDateTime
*
@ -179,7 +121,7 @@ class Workflow extends WorkflowBase
/**
* Gets the version
* The current version number of the workflow. Value is 1 when the workflow is first created. Supports $filter(eq).
* The current version number of the workflow. Value is 1 when the workflow is first created. Supports $filter(eq, ne).
*
* @return int|null The version
*/
@ -194,7 +136,7 @@ class Workflow extends WorkflowBase
/**
* Sets the version
* The current version number of the workflow. Value is 1 when the workflow is first created. Supports $filter(eq).
* The current version number of the workflow. Value is 1 when the workflow is first created. Supports $filter(eq, ne).
*
* @param int $val The version
*
@ -209,7 +151,7 @@ class Workflow extends WorkflowBase
/**
* Gets the executionScope
* The unique identifier of the Azure AD identity that last modified the workflow object..
* The unique identifier of the Azure AD identity that last modified the workflow object.
*
* @return array|null The executionScope
*/
@ -224,7 +166,7 @@ class Workflow extends WorkflowBase
/**
* Sets the executionScope
* The unique identifier of the Azure AD identity that last modified the workflow object..
* The unique identifier of the Azure AD identity that last modified the workflow object.
*
* @param \Beta\Microsoft\Graph\Model\User[] $val The executionScope
*

View File

@ -212,6 +212,64 @@ class WorkflowBase implements \JsonSerializable
return $this;
}
/**
* Gets the isEnabled
* Whether the workflow is enabled or disabled. If this setting is true, the workflow can be run on demand or on schedule when isSchedulingEnabled is true.
*
* @return bool|null The isEnabled
*/
public function getIsEnabled()
{
if (array_key_exists("isEnabled", $this->_propDict)) {
return $this->_propDict["isEnabled"];
} else {
return null;
}
}
/**
* Sets the isEnabled
* Whether the workflow is enabled or disabled. If this setting is true, the workflow can be run on demand or on schedule when isSchedulingEnabled is true.
*
* @param bool $val The isEnabled
*
* @return WorkflowBase
*/
public function setIsEnabled($val)
{
$this->_propDict["isEnabled"] = boolval($val);
return $this;
}
/**
* Gets the isSchedulingEnabled
* If true, the Lifecycle Workflow engine executes the workflow based on the schedule defined by tenant settings. Cannot be true for a disabled workflow (where isEnabled is false).
*
* @return bool|null The isSchedulingEnabled
*/
public function getIsSchedulingEnabled()
{
if (array_key_exists("isSchedulingEnabled", $this->_propDict)) {
return $this->_propDict["isSchedulingEnabled"];
} else {
return null;
}
}
/**
* Sets the isSchedulingEnabled
* If true, the Lifecycle Workflow engine executes the workflow based on the schedule defined by tenant settings. Cannot be true for a disabled workflow (where isEnabled is false).
*
* @param bool $val The isSchedulingEnabled
*
* @return WorkflowBase
*/
public function setIsSchedulingEnabled($val)
{
$this->_propDict["isSchedulingEnabled"] = boolval($val);
return $this;
}
/**
* Gets the lastModifiedDateTime
* When the workflow was last modified.

View File

@ -26,7 +26,7 @@ class WorkflowTemplate extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the category
* The category of the workflow template. The possible values are: joiner, leaver.
* The category of the workflow template. The possible values are: joiner, leaver. Supports $filter (eq).
*
* @return LifecycleWorkflowCategory|null The category
*/
@ -45,7 +45,7 @@ class WorkflowTemplate extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the category
* The category of the workflow template. The possible values are: joiner, leaver.
* The category of the workflow template. The possible values are: joiner, leaver. Supports $filter (eq).
*
* @param LifecycleWorkflowCategory $val The category
*

View File

@ -26,7 +26,7 @@ class WorkflowVersion extends WorkflowBase
{
/**
* Gets the versionNumber
* The version of the workflow.
* The version of the workflow.Supports $filter(eq, ne), orderby.
*
* @return int|null The versionNumber
*/
@ -41,7 +41,7 @@ class WorkflowVersion extends WorkflowBase
/**
* Sets the versionNumber
* The version of the workflow.
* The version of the workflow.Supports $filter(eq, ne), orderby.
*
* @param int $val The versionNumber
*

View File

@ -0,0 +1,52 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AddLogRequest 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\ManagedTenants\Model;
/**
* AddLogRequest 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 AddLogRequest extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the logInformation
*
* @return string|null The logInformation
*/
public function getLogInformation()
{
if (array_key_exists("logInformation", $this->_propDict)) {
return $this->_propDict["logInformation"];
} else {
return null;
}
}
/**
* Sets the logInformation
*
* @param string $val The value of the logInformation
*
* @return AddLogRequest
*/
public function setLogInformation($val)
{
$this->_propDict["logInformation"] = $val;
return $this;
}
}

View File

@ -0,0 +1,52 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AlertData 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\ManagedTenants\Model;
/**
* AlertData 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 AlertData extends \Beta\Microsoft\Graph\Model\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 AlertData
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
}

View File

@ -0,0 +1,52 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AlertDataReferenceString 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\ManagedTenants\Model;
/**
* AlertDataReferenceString 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 AlertDataReferenceString extends \Beta\Microsoft\Graph\Model\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 AlertDataReferenceString
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
}

View File

@ -0,0 +1,52 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AlertLogContent 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\ManagedTenants\Model;
/**
* AlertLogContent 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 AlertLogContent extends \Beta\Microsoft\Graph\Model\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 AlertLogContent
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
}

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.
*
* AlertRuleDefinitionTemplate 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\ManagedTenants\Model;
/**
* AlertRuleDefinitionTemplate 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 AlertRuleDefinitionTemplate extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the defaultSeverity
*
* @return AlertSeverity|null The defaultSeverity
*/
public function getDefaultSeverity()
{
if (array_key_exists("defaultSeverity", $this->_propDict)) {
if (is_a($this->_propDict["defaultSeverity"], "\Beta\Microsoft\Graph\ManagedTenants\Model\AlertSeverity") || is_null($this->_propDict["defaultSeverity"])) {
return $this->_propDict["defaultSeverity"];
} else {
$this->_propDict["defaultSeverity"] = new AlertSeverity($this->_propDict["defaultSeverity"]);
return $this->_propDict["defaultSeverity"];
}
}
return null;
}
/**
* Sets the defaultSeverity
*
* @param AlertSeverity $val The value to assign to the defaultSeverity
*
* @return AlertRuleDefinitionTemplate The AlertRuleDefinitionTemplate
*/
public function setDefaultSeverity($val)
{
$this->_propDict["defaultSeverity"] = $val;
return $this;
}
}

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.
*
* AlertSeverity 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\ManagedTenants\Model;
use Microsoft\Graph\Core\Enum;
/**
* AlertSeverity 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 AlertSeverity extends Enum
{
/**
* The Enum AlertSeverity
*/
const UNKNOWN = "unknown";
const INFORMATIONAL = "informational";
const LOW = "low";
const MEDIUM = "medium";
const HIGH = "high";
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.
*
* AlertStatus 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\ManagedTenants\Model;
use Microsoft\Graph\Core\Enum;
/**
* AlertStatus 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 AlertStatus extends Enum
{
/**
* The Enum AlertStatus
*/
const UNKNOWN = "unknown";
const NEW_ALERT = "newAlert";
const IN_PROGRESS = "inProgress";
const RESOLVED = "resolved";
const DISMISSED = "dismissed";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -55,6 +55,7 @@ class CloudPcDevice extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the deviceSpecification
* The specification of the cloud PC device. Required. Read-only.
*
* @return string|null The deviceSpecification
*/
@ -69,6 +70,7 @@ class CloudPcDevice extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the deviceSpecification
* The specification of the cloud PC device. Required. Read-only.
*
* @param string $val The deviceSpecification
*
@ -82,7 +84,7 @@ class CloudPcDevice extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the displayName
* The display name for the cloud PC. Required. Read-only.
* The display name of the cloud PC device. Required. Read-only.
*
* @return string|null The displayName
*/
@ -97,7 +99,7 @@ class CloudPcDevice extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the displayName
* The display name for the cloud PC. Required. Read-only.
* The display name of the cloud PC device. Required. Read-only.
*
* @param string $val The displayName
*
@ -144,7 +146,7 @@ class CloudPcDevice extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the managedDeviceId
* The managed device identifier for the cloud PC. Optional. Read-only.
* The managed device identifier of the cloud PC device. Optional. Read-only.
*
* @return string|null The managedDeviceId
*/
@ -159,7 +161,7 @@ class CloudPcDevice extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the managedDeviceId
* The managed device identifier for the cloud PC. Optional. Read-only.
* The managed device identifier of the cloud PC device. Optional. Read-only.
*
* @param string $val The managedDeviceId
*
@ -173,7 +175,7 @@ class CloudPcDevice extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the managedDeviceName
* The managed device display name for the cloud PC. Optional. Read-only.
* The managed device display name of the cloud PC device. Optional. Read-only.
*
* @return string|null The managedDeviceName
*/
@ -188,7 +190,7 @@ class CloudPcDevice extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the managedDeviceName
* The managed device display name for the cloud PC. Optional. Read-only.
* The managed device display name of the cloud PC device. Optional. Read-only.
*
* @param string $val The managedDeviceName
*
@ -202,7 +204,7 @@ class CloudPcDevice extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the provisioningPolicyId
* The provisioning policy identifier for the cloud PC. Required. Read-only.
* The provisioning policy identifier for the cloud PC device. Required. Read-only.
*
* @return string|null The provisioningPolicyId
*/
@ -217,7 +219,7 @@ class CloudPcDevice extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the provisioningPolicyId
* The provisioning policy identifier for the cloud PC. Required. Read-only.
* The provisioning policy identifier for the cloud PC device. Required. Read-only.
*
* @param string $val The provisioningPolicyId
*
@ -231,7 +233,7 @@ class CloudPcDevice extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the servicePlanName
* The service plan name for the cloud PC. Required. Read-only.
* The service plan name of the cloud PC device. Required. Read-only.
*
* @return string|null The servicePlanName
*/
@ -246,7 +248,7 @@ class CloudPcDevice extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the servicePlanName
* The service plan name for the cloud PC. Required. Read-only.
* The service plan name of the cloud PC device. Required. Read-only.
*
* @param string $val The servicePlanName
*
@ -260,6 +262,7 @@ class CloudPcDevice extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the servicePlanType
* The service plan type of the cloud PC device. Required. Read-only.
*
* @return string|null The servicePlanType
*/
@ -274,6 +277,7 @@ class CloudPcDevice extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the servicePlanType
* The service plan type of the cloud PC device. Required. Read-only.
*
* @param string $val The servicePlanType
*
@ -345,7 +349,7 @@ class CloudPcDevice extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the userPrincipalName
* The user principal name (UPN) of the user assigned to the cloud PC. Required. Read-only.
* The user principal name (UPN) of the user assigned to the cloud PC device. Required. Read-only.
*
* @return string|null The userPrincipalName
*/
@ -360,7 +364,7 @@ class CloudPcDevice extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the userPrincipalName
* The user principal name (UPN) of the user assigned to the cloud PC. Required. Read-only.
* The user principal name (UPN) of the user assigned to the cloud PC device. Required. Read-only.
*
* @param string $val The userPrincipalName
*

View File

@ -492,6 +492,7 @@ class CloudPcOverview extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the totalBusinessLicenses
* The total number of cloud PC devices that have the Business SKU. Optional. Read-only.
*
* @return int|null The totalBusinessLicenses
*/
@ -506,6 +507,7 @@ class CloudPcOverview extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the totalBusinessLicenses
* The total number of cloud PC devices that have the Business SKU. Optional. Read-only.
*
* @param int $val The totalBusinessLicenses
*
@ -577,6 +579,7 @@ class CloudPcOverview extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the totalEnterpriseLicenses
* The total number of cloud PC devices that have the Enterprise SKU. Optional. Read-only.
*
* @return int|null The totalEnterpriseLicenses
*/
@ -591,6 +594,7 @@ class CloudPcOverview extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the totalEnterpriseLicenses
* The total number of cloud PC devices that have the Enterprise SKU. Optional. Read-only.
*
* @param int $val The totalEnterpriseLicenses
*

View File

@ -0,0 +1,52 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* Email 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\ManagedTenants\Model;
/**
* Email 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 Email extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the emailAddress
*
* @return string|null The emailAddress
*/
public function getEmailAddress()
{
if (array_key_exists("emailAddress", $this->_propDict)) {
return $this->_propDict["emailAddress"];
} else {
return null;
}
}
/**
* Sets the emailAddress
*
* @param string $val The value of the emailAddress
*
* @return Email
*/
public function setEmailAddress($val)
{
$this->_propDict["emailAddress"] = $val;
return $this;
}
}

View File

@ -0,0 +1,568 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ManagedTenantAlert 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\ManagedTenants\Model;
/**
* ManagedTenantAlert 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 ManagedTenantAlert extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the alertData
*
* @return AlertData|null The alertData
*/
public function getAlertData()
{
if (array_key_exists("alertData", $this->_propDict)) {
if (is_a($this->_propDict["alertData"], "\Beta\Microsoft\Graph\ManagedTenants\Model\AlertData") || is_null($this->_propDict["alertData"])) {
return $this->_propDict["alertData"];
} else {
$this->_propDict["alertData"] = new AlertData($this->_propDict["alertData"]);
return $this->_propDict["alertData"];
}
}
return null;
}
/**
* Sets the alertData
*
* @param AlertData $val The alertData
*
* @return ManagedTenantAlert
*/
public function setAlertData($val)
{
$this->_propDict["alertData"] = $val;
return $this;
}
/**
* Gets the alertDataReferenceStrings
*
* @return array|null The alertDataReferenceStrings
*/
public function getAlertDataReferenceStrings()
{
if (array_key_exists("alertDataReferenceStrings", $this->_propDict)) {
return $this->_propDict["alertDataReferenceStrings"];
} else {
return null;
}
}
/**
* Sets the alertDataReferenceStrings
*
* @param AlertDataReferenceString[] $val The alertDataReferenceStrings
*
* @return ManagedTenantAlert
*/
public function setAlertDataReferenceStrings($val)
{
$this->_propDict["alertDataReferenceStrings"] = $val;
return $this;
}
/**
* Gets the alertRuleDisplayName
*
* @return string|null The alertRuleDisplayName
*/
public function getAlertRuleDisplayName()
{
if (array_key_exists("alertRuleDisplayName", $this->_propDict)) {
return $this->_propDict["alertRuleDisplayName"];
} else {
return null;
}
}
/**
* Sets the alertRuleDisplayName
*
* @param string $val The alertRuleDisplayName
*
* @return ManagedTenantAlert
*/
public function setAlertRuleDisplayName($val)
{
$this->_propDict["alertRuleDisplayName"] = $val;
return $this;
}
/**
* Gets the assignedToUserId
*
* @return string|null The assignedToUserId
*/
public function getAssignedToUserId()
{
if (array_key_exists("assignedToUserId", $this->_propDict)) {
return $this->_propDict["assignedToUserId"];
} else {
return null;
}
}
/**
* Sets the assignedToUserId
*
* @param string $val The assignedToUserId
*
* @return ManagedTenantAlert
*/
public function setAssignedToUserId($val)
{
$this->_propDict["assignedToUserId"] = $val;
return $this;
}
/**
* Gets the correlationCount
*
* @return int|null The correlationCount
*/
public function getCorrelationCount()
{
if (array_key_exists("correlationCount", $this->_propDict)) {
return $this->_propDict["correlationCount"];
} else {
return null;
}
}
/**
* Sets the correlationCount
*
* @param int $val The correlationCount
*
* @return ManagedTenantAlert
*/
public function setCorrelationCount($val)
{
$this->_propDict["correlationCount"] = intval($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 ManagedTenantAlert
*/
public function setCorrelationId($val)
{
$this->_propDict["correlationId"] = $val;
return $this;
}
/**
* Gets the createdByUserId
*
* @return string|null The createdByUserId
*/
public function getCreatedByUserId()
{
if (array_key_exists("createdByUserId", $this->_propDict)) {
return $this->_propDict["createdByUserId"];
} else {
return null;
}
}
/**
* Sets the createdByUserId
*
* @param string $val The createdByUserId
*
* @return ManagedTenantAlert
*/
public function setCreatedByUserId($val)
{
$this->_propDict["createdByUserId"] = $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 ManagedTenantAlert
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
}
/**
* Gets the lastActionByUserId
*
* @return string|null The lastActionByUserId
*/
public function getLastActionByUserId()
{
if (array_key_exists("lastActionByUserId", $this->_propDict)) {
return $this->_propDict["lastActionByUserId"];
} else {
return null;
}
}
/**
* Sets the lastActionByUserId
*
* @param string $val The lastActionByUserId
*
* @return ManagedTenantAlert
*/
public function setLastActionByUserId($val)
{
$this->_propDict["lastActionByUserId"] = $val;
return $this;
}
/**
* Gets the lastActionDateTime
*
* @return \DateTime|null The lastActionDateTime
*/
public function getLastActionDateTime()
{
if (array_key_exists("lastActionDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) {
return $this->_propDict["lastActionDateTime"];
} else {
$this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]);
return $this->_propDict["lastActionDateTime"];
}
}
return null;
}
/**
* Sets the lastActionDateTime
*
* @param \DateTime $val The lastActionDateTime
*
* @return ManagedTenantAlert
*/
public function setLastActionDateTime($val)
{
$this->_propDict["lastActionDateTime"] = $val;
return $this;
}
/**
* Gets the message
*
* @return string|null The message
*/
public function getMessage()
{
if (array_key_exists("message", $this->_propDict)) {
return $this->_propDict["message"];
} else {
return null;
}
}
/**
* Sets the message
*
* @param string $val The message
*
* @return ManagedTenantAlert
*/
public function setMessage($val)
{
$this->_propDict["message"] = $val;
return $this;
}
/**
* Gets the severity
*
* @return AlertSeverity|null The severity
*/
public function getSeverity()
{
if (array_key_exists("severity", $this->_propDict)) {
if (is_a($this->_propDict["severity"], "\Beta\Microsoft\Graph\ManagedTenants\Model\AlertSeverity") || is_null($this->_propDict["severity"])) {
return $this->_propDict["severity"];
} else {
$this->_propDict["severity"] = new AlertSeverity($this->_propDict["severity"]);
return $this->_propDict["severity"];
}
}
return null;
}
/**
* Sets the severity
*
* @param AlertSeverity $val The severity
*
* @return ManagedTenantAlert
*/
public function setSeverity($val)
{
$this->_propDict["severity"] = $val;
return $this;
}
/**
* Gets the status
*
* @return AlertStatus|null The status
*/
public function getStatus()
{
if (array_key_exists("status", $this->_propDict)) {
if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\ManagedTenants\Model\AlertStatus") || is_null($this->_propDict["status"])) {
return $this->_propDict["status"];
} else {
$this->_propDict["status"] = new AlertStatus($this->_propDict["status"]);
return $this->_propDict["status"];
}
}
return null;
}
/**
* Sets the status
*
* @param AlertStatus $val The status
*
* @return ManagedTenantAlert
*/
public function setStatus($val)
{
$this->_propDict["status"] = $val;
return $this;
}
/**
* Gets the tenantId
*
* @return string|null The tenantId
*/
public function getTenantId()
{
if (array_key_exists("tenantId", $this->_propDict)) {
return $this->_propDict["tenantId"];
} else {
return null;
}
}
/**
* Sets the tenantId
*
* @param string $val The tenantId
*
* @return ManagedTenantAlert
*/
public function setTenantId($val)
{
$this->_propDict["tenantId"] = $val;
return $this;
}
/**
* Gets the title
*
* @return string|null The title
*/
public function getTitle()
{
if (array_key_exists("title", $this->_propDict)) {
return $this->_propDict["title"];
} else {
return null;
}
}
/**
* Sets the title
*
* @param string $val The title
*
* @return ManagedTenantAlert
*/
public function setTitle($val)
{
$this->_propDict["title"] = $val;
return $this;
}
/**
* Gets the alertLogs
*
* @return array|null The alertLogs
*/
public function getAlertLogs()
{
if (array_key_exists("alertLogs", $this->_propDict)) {
return $this->_propDict["alertLogs"];
} else {
return null;
}
}
/**
* Sets the alertLogs
*
* @param ManagedTenantAlertLog[] $val The alertLogs
*
* @return ManagedTenantAlert
*/
public function setAlertLogs($val)
{
$this->_propDict["alertLogs"] = $val;
return $this;
}
/**
* Gets the alertRule
*
* @return ManagedTenantAlertRule|null The alertRule
*/
public function getAlertRule()
{
if (array_key_exists("alertRule", $this->_propDict)) {
if (is_a($this->_propDict["alertRule"], "\Beta\Microsoft\Graph\ManagedTenants\Model\ManagedTenantAlertRule") || is_null($this->_propDict["alertRule"])) {
return $this->_propDict["alertRule"];
} else {
$this->_propDict["alertRule"] = new ManagedTenantAlertRule($this->_propDict["alertRule"]);
return $this->_propDict["alertRule"];
}
}
return null;
}
/**
* Sets the alertRule
*
* @param ManagedTenantAlertRule $val The alertRule
*
* @return ManagedTenantAlert
*/
public function setAlertRule($val)
{
$this->_propDict["alertRule"] = $val;
return $this;
}
/**
* Gets the apiNotifications
*
* @return array|null The apiNotifications
*/
public function getApiNotifications()
{
if (array_key_exists("apiNotifications", $this->_propDict)) {
return $this->_propDict["apiNotifications"];
} else {
return null;
}
}
/**
* Sets the apiNotifications
*
* @param ManagedTenantApiNotification[] $val The apiNotifications
*
* @return ManagedTenantAlert
*/
public function setApiNotifications($val)
{
$this->_propDict["apiNotifications"] = $val;
return $this;
}
/**
* Gets the emailNotifications
*
* @return array|null The emailNotifications
*/
public function getEmailNotifications()
{
if (array_key_exists("emailNotifications", $this->_propDict)) {
return $this->_propDict["emailNotifications"];
} else {
return null;
}
}
/**
* Sets the emailNotifications
*
* @param ManagedTenantEmailNotification[] $val The emailNotifications
*
* @return ManagedTenantAlert
*/
public function setEmailNotifications($val)
{
$this->_propDict["emailNotifications"] = $val;
return $this;
}
}

View File

@ -0,0 +1,205 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ManagedTenantAlertLog 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\ManagedTenants\Model;
/**
* ManagedTenantAlertLog 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 ManagedTenantAlertLog extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the content
*
* @return AlertLogContent|null The content
*/
public function getContent()
{
if (array_key_exists("content", $this->_propDict)) {
if (is_a($this->_propDict["content"], "\Beta\Microsoft\Graph\ManagedTenants\Model\AlertLogContent") || is_null($this->_propDict["content"])) {
return $this->_propDict["content"];
} else {
$this->_propDict["content"] = new AlertLogContent($this->_propDict["content"]);
return $this->_propDict["content"];
}
}
return null;
}
/**
* Sets the content
*
* @param AlertLogContent $val The content
*
* @return ManagedTenantAlertLog
*/
public function setContent($val)
{
$this->_propDict["content"] = $val;
return $this;
}
/**
* Gets the createdByUserId
*
* @return string|null The createdByUserId
*/
public function getCreatedByUserId()
{
if (array_key_exists("createdByUserId", $this->_propDict)) {
return $this->_propDict["createdByUserId"];
} else {
return null;
}
}
/**
* Sets the createdByUserId
*
* @param string $val The createdByUserId
*
* @return ManagedTenantAlertLog
*/
public function setCreatedByUserId($val)
{
$this->_propDict["createdByUserId"] = $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 ManagedTenantAlertLog
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
}
/**
* Gets the lastActionByUserId
*
* @return string|null The lastActionByUserId
*/
public function getLastActionByUserId()
{
if (array_key_exists("lastActionByUserId", $this->_propDict)) {
return $this->_propDict["lastActionByUserId"];
} else {
return null;
}
}
/**
* Sets the lastActionByUserId
*
* @param string $val The lastActionByUserId
*
* @return ManagedTenantAlertLog
*/
public function setLastActionByUserId($val)
{
$this->_propDict["lastActionByUserId"] = $val;
return $this;
}
/**
* Gets the lastActionDateTime
*
* @return \DateTime|null The lastActionDateTime
*/
public function getLastActionDateTime()
{
if (array_key_exists("lastActionDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) {
return $this->_propDict["lastActionDateTime"];
} else {
$this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]);
return $this->_propDict["lastActionDateTime"];
}
}
return null;
}
/**
* Sets the lastActionDateTime
*
* @param \DateTime $val The lastActionDateTime
*
* @return ManagedTenantAlertLog
*/
public function setLastActionDateTime($val)
{
$this->_propDict["lastActionDateTime"] = $val;
return $this;
}
/**
* Gets the alert
*
* @return ManagedTenantAlert|null The alert
*/
public function getAlert()
{
if (array_key_exists("alert", $this->_propDict)) {
if (is_a($this->_propDict["alert"], "\Beta\Microsoft\Graph\ManagedTenants\Model\ManagedTenantAlert") || is_null($this->_propDict["alert"])) {
return $this->_propDict["alert"];
} else {
$this->_propDict["alert"] = new ManagedTenantAlert($this->_propDict["alert"]);
return $this->_propDict["alert"];
}
}
return null;
}
/**
* Sets the alert
*
* @param ManagedTenantAlert $val The alert
*
* @return ManagedTenantAlertLog
*/
public function setAlert($val)
{
$this->_propDict["alert"] = $val;
return $this;
}
}

View File

@ -0,0 +1,459 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ManagedTenantAlertRule 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\ManagedTenants\Model;
/**
* ManagedTenantAlertRule 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 ManagedTenantAlertRule extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the alertDisplayName
*
* @return string|null The alertDisplayName
*/
public function getAlertDisplayName()
{
if (array_key_exists("alertDisplayName", $this->_propDict)) {
return $this->_propDict["alertDisplayName"];
} else {
return null;
}
}
/**
* Sets the alertDisplayName
*
* @param string $val The alertDisplayName
*
* @return ManagedTenantAlertRule
*/
public function setAlertDisplayName($val)
{
$this->_propDict["alertDisplayName"] = $val;
return $this;
}
/**
* Gets the alertTTL
*
* @return int|null The alertTTL
*/
public function getAlertTTL()
{
if (array_key_exists("alertTTL", $this->_propDict)) {
return $this->_propDict["alertTTL"];
} else {
return null;
}
}
/**
* Sets the alertTTL
*
* @param int $val The alertTTL
*
* @return ManagedTenantAlertRule
*/
public function setAlertTTL($val)
{
$this->_propDict["alertTTL"] = intval($val);
return $this;
}
/**
* Gets the createdByUserId
*
* @return string|null The createdByUserId
*/
public function getCreatedByUserId()
{
if (array_key_exists("createdByUserId", $this->_propDict)) {
return $this->_propDict["createdByUserId"];
} else {
return null;
}
}
/**
* Sets the createdByUserId
*
* @param string $val The createdByUserId
*
* @return ManagedTenantAlertRule
*/
public function setCreatedByUserId($val)
{
$this->_propDict["createdByUserId"] = $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 ManagedTenantAlertRule
*/
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 ManagedTenantAlertRule
*/
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 ManagedTenantAlertRule
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the lastActionByUserId
*
* @return string|null The lastActionByUserId
*/
public function getLastActionByUserId()
{
if (array_key_exists("lastActionByUserId", $this->_propDict)) {
return $this->_propDict["lastActionByUserId"];
} else {
return null;
}
}
/**
* Sets the lastActionByUserId
*
* @param string $val The lastActionByUserId
*
* @return ManagedTenantAlertRule
*/
public function setLastActionByUserId($val)
{
$this->_propDict["lastActionByUserId"] = $val;
return $this;
}
/**
* Gets the lastActionDateTime
*
* @return \DateTime|null The lastActionDateTime
*/
public function getLastActionDateTime()
{
if (array_key_exists("lastActionDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) {
return $this->_propDict["lastActionDateTime"];
} else {
$this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]);
return $this->_propDict["lastActionDateTime"];
}
}
return null;
}
/**
* Sets the lastActionDateTime
*
* @param \DateTime $val The lastActionDateTime
*
* @return ManagedTenantAlertRule
*/
public function setLastActionDateTime($val)
{
$this->_propDict["lastActionDateTime"] = $val;
return $this;
}
/**
* Gets the lastRunDateTime
*
* @return \DateTime|null The lastRunDateTime
*/
public function getLastRunDateTime()
{
if (array_key_exists("lastRunDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastRunDateTime"], "\DateTime") || is_null($this->_propDict["lastRunDateTime"])) {
return $this->_propDict["lastRunDateTime"];
} else {
$this->_propDict["lastRunDateTime"] = new \DateTime($this->_propDict["lastRunDateTime"]);
return $this->_propDict["lastRunDateTime"];
}
}
return null;
}
/**
* Sets the lastRunDateTime
*
* @param \DateTime $val The lastRunDateTime
*
* @return ManagedTenantAlertRule
*/
public function setLastRunDateTime($val)
{
$this->_propDict["lastRunDateTime"] = $val;
return $this;
}
/**
* Gets the notificationFinalDestinations
*
* @return NotificationDestination|null The notificationFinalDestinations
*/
public function getNotificationFinalDestinations()
{
if (array_key_exists("notificationFinalDestinations", $this->_propDict)) {
if (is_a($this->_propDict["notificationFinalDestinations"], "\Beta\Microsoft\Graph\ManagedTenants\Model\NotificationDestination") || is_null($this->_propDict["notificationFinalDestinations"])) {
return $this->_propDict["notificationFinalDestinations"];
} else {
$this->_propDict["notificationFinalDestinations"] = new NotificationDestination($this->_propDict["notificationFinalDestinations"]);
return $this->_propDict["notificationFinalDestinations"];
}
}
return null;
}
/**
* Sets the notificationFinalDestinations
*
* @param NotificationDestination $val The notificationFinalDestinations
*
* @return ManagedTenantAlertRule
*/
public function setNotificationFinalDestinations($val)
{
$this->_propDict["notificationFinalDestinations"] = $val;
return $this;
}
/**
* Gets the severity
*
* @return AlertSeverity|null The severity
*/
public function getSeverity()
{
if (array_key_exists("severity", $this->_propDict)) {
if (is_a($this->_propDict["severity"], "\Beta\Microsoft\Graph\ManagedTenants\Model\AlertSeverity") || is_null($this->_propDict["severity"])) {
return $this->_propDict["severity"];
} else {
$this->_propDict["severity"] = new AlertSeverity($this->_propDict["severity"]);
return $this->_propDict["severity"];
}
}
return null;
}
/**
* Sets the severity
*
* @param AlertSeverity $val The severity
*
* @return ManagedTenantAlertRule
*/
public function setSeverity($val)
{
$this->_propDict["severity"] = $val;
return $this;
}
/**
* Gets the targets
*
* @return array|null The targets
*/
public function getTargets()
{
if (array_key_exists("targets", $this->_propDict)) {
return $this->_propDict["targets"];
} else {
return null;
}
}
/**
* Sets the targets
*
* @param NotificationTarget[] $val The targets
*
* @return ManagedTenantAlertRule
*/
public function setTargets($val)
{
$this->_propDict["targets"] = $val;
return $this;
}
/**
* Gets the tenantIds
*
* @return array|null The tenantIds
*/
public function getTenantIds()
{
if (array_key_exists("tenantIds", $this->_propDict)) {
return $this->_propDict["tenantIds"];
} else {
return null;
}
}
/**
* Sets the tenantIds
*
* @param TenantInfo[] $val The tenantIds
*
* @return ManagedTenantAlertRule
*/
public function setTenantIds($val)
{
$this->_propDict["tenantIds"] = $val;
return $this;
}
/**
* Gets the alerts
*
* @return array|null The alerts
*/
public function getAlerts()
{
if (array_key_exists("alerts", $this->_propDict)) {
return $this->_propDict["alerts"];
} else {
return null;
}
}
/**
* Sets the alerts
*
* @param ManagedTenantAlert[] $val The alerts
*
* @return ManagedTenantAlertRule
*/
public function setAlerts($val)
{
$this->_propDict["alerts"] = $val;
return $this;
}
/**
* Gets the ruleDefinition
*
* @return ManagedTenantAlertRuleDefinition|null The ruleDefinition
*/
public function getRuleDefinition()
{
if (array_key_exists("ruleDefinition", $this->_propDict)) {
if (is_a($this->_propDict["ruleDefinition"], "\Beta\Microsoft\Graph\ManagedTenants\Model\ManagedTenantAlertRuleDefinition") || is_null($this->_propDict["ruleDefinition"])) {
return $this->_propDict["ruleDefinition"];
} else {
$this->_propDict["ruleDefinition"] = new ManagedTenantAlertRuleDefinition($this->_propDict["ruleDefinition"]);
return $this->_propDict["ruleDefinition"];
}
}
return null;
}
/**
* Sets the ruleDefinition
*
* @param ManagedTenantAlertRuleDefinition $val The ruleDefinition
*
* @return ManagedTenantAlertRule
*/
public function setRuleDefinition($val)
{
$this->_propDict["ruleDefinition"] = $val;
return $this;
}
}

View File

@ -0,0 +1,229 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ManagedTenantAlertRuleDefinition 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\ManagedTenants\Model;
/**
* ManagedTenantAlertRuleDefinition 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 ManagedTenantAlertRuleDefinition extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the createdByUserId
*
* @return string|null The createdByUserId
*/
public function getCreatedByUserId()
{
if (array_key_exists("createdByUserId", $this->_propDict)) {
return $this->_propDict["createdByUserId"];
} else {
return null;
}
}
/**
* Sets the createdByUserId
*
* @param string $val The createdByUserId
*
* @return ManagedTenantAlertRuleDefinition
*/
public function setCreatedByUserId($val)
{
$this->_propDict["createdByUserId"] = $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 ManagedTenantAlertRuleDefinition
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
}
/**
* Gets the definitionTemplate
*
* @return AlertRuleDefinitionTemplate|null The definitionTemplate
*/
public function getDefinitionTemplate()
{
if (array_key_exists("definitionTemplate", $this->_propDict)) {
if (is_a($this->_propDict["definitionTemplate"], "\Beta\Microsoft\Graph\ManagedTenants\Model\AlertRuleDefinitionTemplate") || is_null($this->_propDict["definitionTemplate"])) {
return $this->_propDict["definitionTemplate"];
} else {
$this->_propDict["definitionTemplate"] = new AlertRuleDefinitionTemplate($this->_propDict["definitionTemplate"]);
return $this->_propDict["definitionTemplate"];
}
}
return null;
}
/**
* Sets the definitionTemplate
*
* @param AlertRuleDefinitionTemplate $val The definitionTemplate
*
* @return ManagedTenantAlertRuleDefinition
*/
public function setDefinitionTemplate($val)
{
$this->_propDict["definitionTemplate"] = $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 ManagedTenantAlertRuleDefinition
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the lastActionByUserId
*
* @return string|null The lastActionByUserId
*/
public function getLastActionByUserId()
{
if (array_key_exists("lastActionByUserId", $this->_propDict)) {
return $this->_propDict["lastActionByUserId"];
} else {
return null;
}
}
/**
* Sets the lastActionByUserId
*
* @param string $val The lastActionByUserId
*
* @return ManagedTenantAlertRuleDefinition
*/
public function setLastActionByUserId($val)
{
$this->_propDict["lastActionByUserId"] = $val;
return $this;
}
/**
* Gets the lastActionDateTime
*
* @return \DateTime|null The lastActionDateTime
*/
public function getLastActionDateTime()
{
if (array_key_exists("lastActionDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) {
return $this->_propDict["lastActionDateTime"];
} else {
$this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]);
return $this->_propDict["lastActionDateTime"];
}
}
return null;
}
/**
* Sets the lastActionDateTime
*
* @param \DateTime $val The lastActionDateTime
*
* @return ManagedTenantAlertRuleDefinition
*/
public function setLastActionDateTime($val)
{
$this->_propDict["lastActionDateTime"] = $val;
return $this;
}
/**
* Gets the alertRules
*
* @return array|null The alertRules
*/
public function getAlertRules()
{
if (array_key_exists("alertRules", $this->_propDict)) {
return $this->_propDict["alertRules"];
} else {
return null;
}
}
/**
* Sets the alertRules
*
* @param ManagedTenantAlertRule[] $val The alertRules
*
* @return ManagedTenantAlertRuleDefinition
*/
public function setAlertRules($val)
{
$this->_propDict["alertRules"] = $val;
return $this;
}
}

View File

@ -0,0 +1,282 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ManagedTenantApiNotification 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\ManagedTenants\Model;
/**
* ManagedTenantApiNotification 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 ManagedTenantApiNotification extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the createdByUserId
*
* @return string|null The createdByUserId
*/
public function getCreatedByUserId()
{
if (array_key_exists("createdByUserId", $this->_propDict)) {
return $this->_propDict["createdByUserId"];
} else {
return null;
}
}
/**
* Sets the createdByUserId
*
* @param string $val The createdByUserId
*
* @return ManagedTenantApiNotification
*/
public function setCreatedByUserId($val)
{
$this->_propDict["createdByUserId"] = $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 ManagedTenantApiNotification
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
}
/**
* Gets the isAcknowledged
*
* @return bool|null The isAcknowledged
*/
public function getIsAcknowledged()
{
if (array_key_exists("isAcknowledged", $this->_propDict)) {
return $this->_propDict["isAcknowledged"];
} else {
return null;
}
}
/**
* Sets the isAcknowledged
*
* @param bool $val The isAcknowledged
*
* @return ManagedTenantApiNotification
*/
public function setIsAcknowledged($val)
{
$this->_propDict["isAcknowledged"] = boolval($val);
return $this;
}
/**
* Gets the lastActionByUserId
*
* @return string|null The lastActionByUserId
*/
public function getLastActionByUserId()
{
if (array_key_exists("lastActionByUserId", $this->_propDict)) {
return $this->_propDict["lastActionByUserId"];
} else {
return null;
}
}
/**
* Sets the lastActionByUserId
*
* @param string $val The lastActionByUserId
*
* @return ManagedTenantApiNotification
*/
public function setLastActionByUserId($val)
{
$this->_propDict["lastActionByUserId"] = $val;
return $this;
}
/**
* Gets the lastActionDateTime
*
* @return \DateTime|null The lastActionDateTime
*/
public function getLastActionDateTime()
{
if (array_key_exists("lastActionDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) {
return $this->_propDict["lastActionDateTime"];
} else {
$this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]);
return $this->_propDict["lastActionDateTime"];
}
}
return null;
}
/**
* Sets the lastActionDateTime
*
* @param \DateTime $val The lastActionDateTime
*
* @return ManagedTenantApiNotification
*/
public function setLastActionDateTime($val)
{
$this->_propDict["lastActionDateTime"] = $val;
return $this;
}
/**
* Gets the message
*
* @return string|null The message
*/
public function getMessage()
{
if (array_key_exists("message", $this->_propDict)) {
return $this->_propDict["message"];
} else {
return null;
}
}
/**
* Sets the message
*
* @param string $val The message
*
* @return ManagedTenantApiNotification
*/
public function setMessage($val)
{
$this->_propDict["message"] = $val;
return $this;
}
/**
* Gets the title
*
* @return string|null The title
*/
public function getTitle()
{
if (array_key_exists("title", $this->_propDict)) {
return $this->_propDict["title"];
} else {
return null;
}
}
/**
* Sets the title
*
* @param string $val The title
*
* @return ManagedTenantApiNotification
*/
public function setTitle($val)
{
$this->_propDict["title"] = $val;
return $this;
}
/**
* Gets the userId
*
* @return string|null The userId
*/
public function getUserId()
{
if (array_key_exists("userId", $this->_propDict)) {
return $this->_propDict["userId"];
} else {
return null;
}
}
/**
* Sets the userId
*
* @param string $val The userId
*
* @return ManagedTenantApiNotification
*/
public function setUserId($val)
{
$this->_propDict["userId"] = $val;
return $this;
}
/**
* Gets the alert
*
* @return ManagedTenantAlert|null The alert
*/
public function getAlert()
{
if (array_key_exists("alert", $this->_propDict)) {
if (is_a($this->_propDict["alert"], "\Beta\Microsoft\Graph\ManagedTenants\Model\ManagedTenantAlert") || is_null($this->_propDict["alert"])) {
return $this->_propDict["alert"];
} else {
$this->_propDict["alert"] = new ManagedTenantAlert($this->_propDict["alert"]);
return $this->_propDict["alert"];
}
}
return null;
}
/**
* Sets the alert
*
* @param ManagedTenantAlert $val The alert
*
* @return ManagedTenantApiNotification
*/
public function setAlert($val)
{
$this->_propDict["alert"] = $val;
return $this;
}
}

View File

@ -0,0 +1,256 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ManagedTenantEmailNotification 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\ManagedTenants\Model;
/**
* ManagedTenantEmailNotification 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 ManagedTenantEmailNotification extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the createdByUserId
*
* @return string|null The createdByUserId
*/
public function getCreatedByUserId()
{
if (array_key_exists("createdByUserId", $this->_propDict)) {
return $this->_propDict["createdByUserId"];
} else {
return null;
}
}
/**
* Sets the createdByUserId
*
* @param string $val The createdByUserId
*
* @return ManagedTenantEmailNotification
*/
public function setCreatedByUserId($val)
{
$this->_propDict["createdByUserId"] = $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 ManagedTenantEmailNotification
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
}
/**
* Gets the emailAddresses
*
* @return array|null The emailAddresses
*/
public function getEmailAddresses()
{
if (array_key_exists("emailAddresses", $this->_propDict)) {
return $this->_propDict["emailAddresses"];
} else {
return null;
}
}
/**
* Sets the emailAddresses
*
* @param Email[] $val The emailAddresses
*
* @return ManagedTenantEmailNotification
*/
public function setEmailAddresses($val)
{
$this->_propDict["emailAddresses"] = $val;
return $this;
}
/**
* Gets the emailBody
*
* @return string|null The emailBody
*/
public function getEmailBody()
{
if (array_key_exists("emailBody", $this->_propDict)) {
return $this->_propDict["emailBody"];
} else {
return null;
}
}
/**
* Sets the emailBody
*
* @param string $val The emailBody
*
* @return ManagedTenantEmailNotification
*/
public function setEmailBody($val)
{
$this->_propDict["emailBody"] = $val;
return $this;
}
/**
* Gets the lastActionByUserId
*
* @return string|null The lastActionByUserId
*/
public function getLastActionByUserId()
{
if (array_key_exists("lastActionByUserId", $this->_propDict)) {
return $this->_propDict["lastActionByUserId"];
} else {
return null;
}
}
/**
* Sets the lastActionByUserId
*
* @param string $val The lastActionByUserId
*
* @return ManagedTenantEmailNotification
*/
public function setLastActionByUserId($val)
{
$this->_propDict["lastActionByUserId"] = $val;
return $this;
}
/**
* Gets the lastActionDateTime
*
* @return \DateTime|null The lastActionDateTime
*/
public function getLastActionDateTime()
{
if (array_key_exists("lastActionDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) {
return $this->_propDict["lastActionDateTime"];
} else {
$this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]);
return $this->_propDict["lastActionDateTime"];
}
}
return null;
}
/**
* Sets the lastActionDateTime
*
* @param \DateTime $val The lastActionDateTime
*
* @return ManagedTenantEmailNotification
*/
public function setLastActionDateTime($val)
{
$this->_propDict["lastActionDateTime"] = $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 ManagedTenantEmailNotification
*/
public function setSubject($val)
{
$this->_propDict["subject"] = $val;
return $this;
}
/**
* Gets the alert
*
* @return ManagedTenantAlert|null The alert
*/
public function getAlert()
{
if (array_key_exists("alert", $this->_propDict)) {
if (is_a($this->_propDict["alert"], "\Beta\Microsoft\Graph\ManagedTenants\Model\ManagedTenantAlert") || is_null($this->_propDict["alert"])) {
return $this->_propDict["alert"];
} else {
$this->_propDict["alert"] = new ManagedTenantAlert($this->_propDict["alert"]);
return $this->_propDict["alert"];
}
}
return null;
}
/**
* Sets the alert
*
* @param ManagedTenantAlert $val The alert
*
* @return ManagedTenantEmailNotification
*/
public function setAlert($val)
{
$this->_propDict["alert"] = $val;
return $this;
}
}

View File

@ -0,0 +1,224 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ManagedTenantTicketingEndpoint 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\ManagedTenants\Model;
/**
* ManagedTenantTicketingEndpoint 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 ManagedTenantTicketingEndpoint extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the createdByUserId
*
* @return string|null The createdByUserId
*/
public function getCreatedByUserId()
{
if (array_key_exists("createdByUserId", $this->_propDict)) {
return $this->_propDict["createdByUserId"];
} else {
return null;
}
}
/**
* Sets the createdByUserId
*
* @param string $val The createdByUserId
*
* @return ManagedTenantTicketingEndpoint
*/
public function setCreatedByUserId($val)
{
$this->_propDict["createdByUserId"] = $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 ManagedTenantTicketingEndpoint
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $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 ManagedTenantTicketingEndpoint
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the emailAddress
*
* @return string|null The emailAddress
*/
public function getEmailAddress()
{
if (array_key_exists("emailAddress", $this->_propDict)) {
return $this->_propDict["emailAddress"];
} else {
return null;
}
}
/**
* Sets the emailAddress
*
* @param string $val The emailAddress
*
* @return ManagedTenantTicketingEndpoint
*/
public function setEmailAddress($val)
{
$this->_propDict["emailAddress"] = $val;
return $this;
}
/**
* Gets the lastActionByUserId
*
* @return string|null The lastActionByUserId
*/
public function getLastActionByUserId()
{
if (array_key_exists("lastActionByUserId", $this->_propDict)) {
return $this->_propDict["lastActionByUserId"];
} else {
return null;
}
}
/**
* Sets the lastActionByUserId
*
* @param string $val The lastActionByUserId
*
* @return ManagedTenantTicketingEndpoint
*/
public function setLastActionByUserId($val)
{
$this->_propDict["lastActionByUserId"] = $val;
return $this;
}
/**
* Gets the lastActionDateTime
*
* @return \DateTime|null The lastActionDateTime
*/
public function getLastActionDateTime()
{
if (array_key_exists("lastActionDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) {
return $this->_propDict["lastActionDateTime"];
} else {
$this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]);
return $this->_propDict["lastActionDateTime"];
}
}
return null;
}
/**
* Sets the lastActionDateTime
*
* @param \DateTime $val The lastActionDateTime
*
* @return ManagedTenantTicketingEndpoint
*/
public function setLastActionDateTime($val)
{
$this->_propDict["lastActionDateTime"] = $val;
return $this;
}
/**
* Gets the phoneNumber
*
* @return string|null The phoneNumber
*/
public function getPhoneNumber()
{
if (array_key_exists("phoneNumber", $this->_propDict)) {
return $this->_propDict["phoneNumber"];
} else {
return null;
}
}
/**
* Sets the phoneNumber
*
* @param string $val The phoneNumber
*
* @return ManagedTenantTicketingEndpoint
*/
public function setPhoneNumber($val)
{
$this->_propDict["phoneNumber"] = $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.
*
* NotificationDestination 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\ManagedTenants\Model;
use Microsoft\Graph\Core\Enum;
/**
* NotificationDestination 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 NotificationDestination extends Enum
{
/**
* The Enum NotificationDestination
*/
const NONE = "none";
const API = "api";
const EMAIL = "email";
const SMS = "sms";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,52 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* NotificationTarget 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\ManagedTenants\Model;
/**
* NotificationTarget 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 NotificationTarget extends \Beta\Microsoft\Graph\Model\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 NotificationTarget
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
}

View File

@ -0,0 +1,52 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* Phone 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\ManagedTenants\Model;
/**
* Phone 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 Phone extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the phoneNumber
*
* @return string|null The phoneNumber
*/
public function getPhoneNumber()
{
if (array_key_exists("phoneNumber", $this->_propDict)) {
return $this->_propDict["phoneNumber"];
} else {
return null;
}
}
/**
* Sets the phoneNumber
*
* @param string $val The value of the phoneNumber
*
* @return Phone
*/
public function setPhoneNumber($val)
{
$this->_propDict["phoneNumber"] = $val;
return $this;
}
}

View File

@ -55,7 +55,7 @@ class AccessPackageResource extends Entity
/**
* Gets the addedOn
* 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
* 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. Read-only.
*
* @return \DateTime|null The addedOn
*/
@ -74,7 +74,7 @@ class AccessPackageResource extends Entity
/**
* Sets the addedOn
* 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
* 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. Read-only.
*
* @param \DateTime $val The addedOn
*
@ -176,7 +176,7 @@ class AccessPackageResource extends Entity
/**
* Gets the isPendingOnboarding
* True if the resource is not yet available for assignment.
* True if the resource is not yet available for assignment. Read-only.
*
* @return bool|null The isPendingOnboarding
*/
@ -191,7 +191,7 @@ class AccessPackageResource extends Entity
/**
* Sets the isPendingOnboarding
* True if the resource is not yet available for assignment.
* True if the resource is not yet available for assignment. Read-only.
*
* @param bool $val The isPendingOnboarding
*

View File

@ -229,7 +229,7 @@ class AccessPackageResourceRequest extends Entity
/**
* Gets the requestType
* Use AdminAdd to add a resource, if the caller is an administrator or resource owner, or AdminRemove to remove a resource.
* Use AdminAdd to add a resource, if the caller is an administrator or resource owner, AdminUpdate to update a resource, or AdminRemove to remove a resource.
*
* @return string|null The requestType
*/
@ -244,7 +244,7 @@ class AccessPackageResourceRequest extends Entity
/**
* Sets the requestType
* Use AdminAdd to add a resource, if the caller is an administrator or resource owner, or AdminRemove to remove a resource.
* Use AdminAdd to add a resource, if the caller is an administrator or resource owner, AdminUpdate to update a resource, or AdminRemove to remove a resource.
*
* @param string $val The requestType
*

View File

@ -380,6 +380,39 @@ class AndroidForWorkCompliancePolicy extends DeviceCompliancePolicy
return $this;
}
/**
* Gets the requiredPasswordComplexity
* Indicates the required device password complexity on Android. One of: NONE, LOW, MEDIUM, HIGH. This is a new API targeted to Android API 12+. Possible values are: none, low, medium, high.
*
* @return AndroidRequiredPasswordComplexity|null The requiredPasswordComplexity
*/
public function getRequiredPasswordComplexity()
{
if (array_key_exists("requiredPasswordComplexity", $this->_propDict)) {
if (is_a($this->_propDict["requiredPasswordComplexity"], "\Beta\Microsoft\Graph\Model\AndroidRequiredPasswordComplexity") || is_null($this->_propDict["requiredPasswordComplexity"])) {
return $this->_propDict["requiredPasswordComplexity"];
} else {
$this->_propDict["requiredPasswordComplexity"] = new AndroidRequiredPasswordComplexity($this->_propDict["requiredPasswordComplexity"]);
return $this->_propDict["requiredPasswordComplexity"];
}
}
return null;
}
/**
* Sets the requiredPasswordComplexity
* Indicates the required device password complexity on Android. One of: NONE, LOW, MEDIUM, HIGH. This is a new API targeted to Android API 12+. Possible values are: none, low, medium, high.
*
* @param AndroidRequiredPasswordComplexity $val The requiredPasswordComplexity
*
* @return AndroidForWorkCompliancePolicy
*/
public function setRequiredPasswordComplexity($val)
{
$this->_propDict["requiredPasswordComplexity"] = $val;
return $this;
}
/**
* Gets the securityBlockJailbrokenDevices
* Devices must not be jailbroken or rooted.

View File

@ -318,6 +318,39 @@ class AndroidForWorkGeneralDeviceConfiguration extends DeviceConfiguration
return $this;
}
/**
* Gets the requiredPasswordComplexity
* Indicates the required device password complexity on Android. One of: NONE, LOW, MEDIUM, HIGH. This is a new API targeted to Android 12+. Possible values are: none, low, medium, high.
*
* @return AndroidRequiredPasswordComplexity|null The requiredPasswordComplexity
*/
public function getRequiredPasswordComplexity()
{
if (array_key_exists("requiredPasswordComplexity", $this->_propDict)) {
if (is_a($this->_propDict["requiredPasswordComplexity"], "\Beta\Microsoft\Graph\Model\AndroidRequiredPasswordComplexity") || is_null($this->_propDict["requiredPasswordComplexity"])) {
return $this->_propDict["requiredPasswordComplexity"];
} else {
$this->_propDict["requiredPasswordComplexity"] = new AndroidRequiredPasswordComplexity($this->_propDict["requiredPasswordComplexity"]);
return $this->_propDict["requiredPasswordComplexity"];
}
}
return null;
}
/**
* Sets the requiredPasswordComplexity
* Indicates the required device password complexity on Android. One of: NONE, LOW, MEDIUM, HIGH. This is a new API targeted to Android 12+. Possible values are: none, low, medium, high.
*
* @param AndroidRequiredPasswordComplexity $val The requiredPasswordComplexity
*
* @return AndroidForWorkGeneralDeviceConfiguration
*/
public function setRequiredPasswordComplexity($val)
{
$this->_propDict["requiredPasswordComplexity"] = $val;
return $this;
}
/**
* Gets the securityRequireVerifyApps
* Require the Android Verify apps feature is turned on.
@ -1229,6 +1262,39 @@ class AndroidForWorkGeneralDeviceConfiguration extends DeviceConfiguration
return $this;
}
/**
* Gets the workProfileRequiredPasswordComplexity
* Indicates the required work profile password complexity on Android. One of: NONE, LOW, MEDIUM, HIGH. This is a new API targeted to Android 12+. Possible values are: none, low, medium, high.
*
* @return AndroidRequiredPasswordComplexity|null The workProfileRequiredPasswordComplexity
*/
public function getWorkProfileRequiredPasswordComplexity()
{
if (array_key_exists("workProfileRequiredPasswordComplexity", $this->_propDict)) {
if (is_a($this->_propDict["workProfileRequiredPasswordComplexity"], "\Beta\Microsoft\Graph\Model\AndroidRequiredPasswordComplexity") || is_null($this->_propDict["workProfileRequiredPasswordComplexity"])) {
return $this->_propDict["workProfileRequiredPasswordComplexity"];
} else {
$this->_propDict["workProfileRequiredPasswordComplexity"] = new AndroidRequiredPasswordComplexity($this->_propDict["workProfileRequiredPasswordComplexity"]);
return $this->_propDict["workProfileRequiredPasswordComplexity"];
}
}
return null;
}
/**
* Sets the workProfileRequiredPasswordComplexity
* Indicates the required work profile password complexity on Android. One of: NONE, LOW, MEDIUM, HIGH. This is a new API targeted to Android 12+. Possible values are: none, low, medium, high.
*
* @param AndroidRequiredPasswordComplexity $val The workProfileRequiredPasswordComplexity
*
* @return AndroidForWorkGeneralDeviceConfiguration
*/
public function setWorkProfileRequiredPasswordComplexity($val)
{
$this->_propDict["workProfileRequiredPasswordComplexity"] = $val;
return $this;
}
/**
* Gets the workProfileRequirePassword
* Password is required or not for work profile

View File

@ -413,6 +413,39 @@ class AndroidWorkProfileCompliancePolicy extends DeviceCompliancePolicy
return $this;
}
/**
* Gets the requiredPasswordComplexity
* Indicates the required device password complexity on Android. One of: NONE, LOW, MEDIUM, HIGH. This is a new API targeted to Android API 12+. Possible values are: none, low, medium, high.
*
* @return AndroidRequiredPasswordComplexity|null The requiredPasswordComplexity
*/
public function getRequiredPasswordComplexity()
{
if (array_key_exists("requiredPasswordComplexity", $this->_propDict)) {
if (is_a($this->_propDict["requiredPasswordComplexity"], "\Beta\Microsoft\Graph\Model\AndroidRequiredPasswordComplexity") || is_null($this->_propDict["requiredPasswordComplexity"])) {
return $this->_propDict["requiredPasswordComplexity"];
} else {
$this->_propDict["requiredPasswordComplexity"] = new AndroidRequiredPasswordComplexity($this->_propDict["requiredPasswordComplexity"]);
return $this->_propDict["requiredPasswordComplexity"];
}
}
return null;
}
/**
* Sets the requiredPasswordComplexity
* Indicates the required device password complexity on Android. One of: NONE, LOW, MEDIUM, HIGH. This is a new API targeted to Android API 12+. Possible values are: none, low, medium, high.
*
* @param AndroidRequiredPasswordComplexity $val The requiredPasswordComplexity
*
* @return AndroidWorkProfileCompliancePolicy
*/
public function setRequiredPasswordComplexity($val)
{
$this->_propDict["requiredPasswordComplexity"] = $val;
return $this;
}
/**
* Gets the securityBlockJailbrokenDevices
* Devices must not be jailbroken or rooted.

View File

@ -318,6 +318,39 @@ class AndroidWorkProfileGeneralDeviceConfiguration extends DeviceConfiguration
return $this;
}
/**
* Gets the requiredPasswordComplexity
* Indicates the required device password complexity on Android. One of: NONE, LOW, MEDIUM, HIGH. This is a new API targeted to Android 12+. Possible values are: none, low, medium, high.
*
* @return AndroidRequiredPasswordComplexity|null The requiredPasswordComplexity
*/
public function getRequiredPasswordComplexity()
{
if (array_key_exists("requiredPasswordComplexity", $this->_propDict)) {
if (is_a($this->_propDict["requiredPasswordComplexity"], "\Beta\Microsoft\Graph\Model\AndroidRequiredPasswordComplexity") || is_null($this->_propDict["requiredPasswordComplexity"])) {
return $this->_propDict["requiredPasswordComplexity"];
} else {
$this->_propDict["requiredPasswordComplexity"] = new AndroidRequiredPasswordComplexity($this->_propDict["requiredPasswordComplexity"]);
return $this->_propDict["requiredPasswordComplexity"];
}
}
return null;
}
/**
* Sets the requiredPasswordComplexity
* Indicates the required device password complexity on Android. One of: NONE, LOW, MEDIUM, HIGH. This is a new API targeted to Android 12+. Possible values are: none, low, medium, high.
*
* @param AndroidRequiredPasswordComplexity $val The requiredPasswordComplexity
*
* @return AndroidWorkProfileGeneralDeviceConfiguration
*/
public function setRequiredPasswordComplexity($val)
{
$this->_propDict["requiredPasswordComplexity"] = $val;
return $this;
}
/**
* Gets the securityRequireVerifyApps
* Require the Android Verify apps feature is turned on.
@ -1258,6 +1291,39 @@ class AndroidWorkProfileGeneralDeviceConfiguration extends DeviceConfiguration
return $this;
}
/**
* Gets the workProfileRequiredPasswordComplexity
* Indicates the required work profile password complexity on Android. One of: NONE, LOW, MEDIUM, HIGH. This is a new API targeted to Android 12+. Possible values are: none, low, medium, high.
*
* @return AndroidRequiredPasswordComplexity|null The workProfileRequiredPasswordComplexity
*/
public function getWorkProfileRequiredPasswordComplexity()
{
if (array_key_exists("workProfileRequiredPasswordComplexity", $this->_propDict)) {
if (is_a($this->_propDict["workProfileRequiredPasswordComplexity"], "\Beta\Microsoft\Graph\Model\AndroidRequiredPasswordComplexity") || is_null($this->_propDict["workProfileRequiredPasswordComplexity"])) {
return $this->_propDict["workProfileRequiredPasswordComplexity"];
} else {
$this->_propDict["workProfileRequiredPasswordComplexity"] = new AndroidRequiredPasswordComplexity($this->_propDict["workProfileRequiredPasswordComplexity"]);
return $this->_propDict["workProfileRequiredPasswordComplexity"];
}
}
return null;
}
/**
* Sets the workProfileRequiredPasswordComplexity
* Indicates the required work profile password complexity on Android. One of: NONE, LOW, MEDIUM, HIGH. This is a new API targeted to Android 12+. Possible values are: none, low, medium, high.
*
* @param AndroidRequiredPasswordComplexity $val The workProfileRequiredPasswordComplexity
*
* @return AndroidWorkProfileGeneralDeviceConfiguration
*/
public function setWorkProfileRequiredPasswordComplexity($val)
{
$this->_propDict["workProfileRequiredPasswordComplexity"] = $val;
return $this;
}
/**
* Gets the workProfileRequirePassword
* Password is required or not for work profile

View File

@ -33,4 +33,7 @@ class AppManagementLevel extends Enum
const UNMANAGED = "unmanaged";
const MDM = "mdm";
const ANDROID_ENTERPRISE = "androidEnterprise";
const ANDROID_ENTERPRISE_DEDICATED_DEVICES_WITH_AZURE_AD_SHARED_MODE = "androidEnterpriseDedicatedDevicesWithAzureAdSharedMode";
const ANDROID_OPEN_SOURCE_PROJECT_USER_ASSOCIATED = "androidOpenSourceProjectUserAssociated";
const ANDROID_OPEN_SOURCE_PROJECT_USERLESS = "androidOpenSourceProjectUserless";
}

View File

@ -818,6 +818,37 @@ class Application extends DirectoryObject
return $this;
}
/**
* Gets the servicePrincipalLockConfiguration
*
* @return ServicePrincipalLockConfiguration|null The servicePrincipalLockConfiguration
*/
public function getServicePrincipalLockConfiguration()
{
if (array_key_exists("servicePrincipalLockConfiguration", $this->_propDict)) {
if (is_a($this->_propDict["servicePrincipalLockConfiguration"], "\Beta\Microsoft\Graph\Model\ServicePrincipalLockConfiguration") || is_null($this->_propDict["servicePrincipalLockConfiguration"])) {
return $this->_propDict["servicePrincipalLockConfiguration"];
} else {
$this->_propDict["servicePrincipalLockConfiguration"] = new ServicePrincipalLockConfiguration($this->_propDict["servicePrincipalLockConfiguration"]);
return $this->_propDict["servicePrincipalLockConfiguration"];
}
}
return null;
}
/**
* Sets the servicePrincipalLockConfiguration
*
* @param ServicePrincipalLockConfiguration $val The servicePrincipalLockConfiguration
*
* @return Application
*/
public function setServicePrincipalLockConfiguration($val)
{
$this->_propDict["servicePrincipalLockConfiguration"] = $val;
return $this;
}
/**
* Gets the signInAudience
* Specifies the Microsoft accounts that are supported for the current application. The possible values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount (default), and PersonalMicrosoftAccount. See more in the table below. Supports $filter (eq, ne, not).

View File

@ -0,0 +1,44 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AssociatedAssignmentPayloadType 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;
/**
* AssociatedAssignmentPayloadType 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 AssociatedAssignmentPayloadType extends Enum
{
/**
* The Enum AssociatedAssignmentPayloadType
*/
const UNKNOWN = "unknown";
const DEVICE_CONFIGURATION_AND_COMPLIANCE = "deviceConfigurationAndCompliance";
const APPLICATION = "application";
const ANDROID_ENTERPRISE_APP = "androidEnterpriseApp";
const ENROLLMENT_CONFIGURATION = "enrollmentConfiguration";
const GROUP_POLICY_CONFIGURATION = "groupPolicyConfiguration";
const ZERO_TOUCH_DEPLOYMENT_DEVICE_CONFIG_PROFILE = "zeroTouchDeploymentDeviceConfigProfile";
const ANDROID_ENTERPRISE_CONFIGURATION = "androidEnterpriseConfiguration";
const DEVICE_FIRMWARE_CONFIGURATION_INTERFACE_POLICY = "deviceFirmwareConfigurationInterfacePolicy";
const RESOURCE_ACCESS_POLICY = "resourceAccessPolicy";
const WIN32APP = "win32app";
const DEVICE_MANAGMENT_CONFIGURATION_AND_COMPLIANCE_POLICY = "deviceManagmentConfigurationAndCompliancePolicy";
}

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.
*
* AttachmentContentProperties 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;
/**
* AttachmentContentProperties 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 AttachmentContentProperties extends ContentProperties
{
/**
* Gets the currentLabel
*
* @return CurrentLabel|null The currentLabel
*/
public function getCurrentLabel()
{
if (array_key_exists("currentLabel", $this->_propDict)) {
if (is_a($this->_propDict["currentLabel"], "\Beta\Microsoft\Graph\Model\CurrentLabel") || is_null($this->_propDict["currentLabel"])) {
return $this->_propDict["currentLabel"];
} else {
$this->_propDict["currentLabel"] = new CurrentLabel($this->_propDict["currentLabel"]);
return $this->_propDict["currentLabel"];
}
}
return null;
}
/**
* Sets the currentLabel
*
* @param CurrentLabel $val The value to assign to the currentLabel
*
* @return AttachmentContentProperties The AttachmentContentProperties
*/
public function setCurrentLabel($val)
{
$this->_propDict["currentLabel"] = $val;
return $this;
}
}

View File

@ -26,7 +26,7 @@ class AttackSimulationRepeatOffender extends Entity
/**
* Gets the attackSimulationUser
* User in an attack simulation and training campaign.
* The user in an attack simulation and training campaign.
*
* @return AttackSimulationUser|null The attackSimulationUser
*/
@ -45,7 +45,7 @@ class AttackSimulationRepeatOffender extends Entity
/**
* Sets the attackSimulationUser
* User in an attack simulation and training campaign.
* The user in an attack simulation and training campaign.
*
* @param AttackSimulationUser $val The value to assign to the attackSimulationUser
*

View File

@ -27,7 +27,7 @@ class AttackSimulationRoot extends Entity
/**
* Gets the simulationAutomations
* Represents simulation automations created to run on a tenant.
* Represents simulation automation created to run on a tenant.
*
* @return array|null The simulationAutomations
*/
@ -42,7 +42,7 @@ class AttackSimulationRoot extends Entity
/**
* Sets the simulationAutomations
* Represents simulation automations created to run on a tenant.
* Represents simulation automation created to run on a tenant.
*
* @param SimulationAutomation[] $val The simulationAutomations
*

View File

@ -115,7 +115,7 @@ class AttackSimulationSimulationUserCoverage extends Entity
/**
* Gets the latestSimulationDateTime
* Date and time of latest attack simulation and training campaign that the user was included in.
* Date and time of the latest attack simulation and training campaign that the user was included in.
*
* @return \DateTime|null The latestSimulationDateTime
*/
@ -134,7 +134,7 @@ class AttackSimulationSimulationUserCoverage extends Entity
/**
* Sets the latestSimulationDateTime
* Date and time of latest attack simulation and training campaign that the user was included in.
* Date and time of the latest attack simulation and training campaign that the user was included in.
*
* @param \DateTime $val The value to assign to the latestSimulationDateTime
*

View File

@ -59,7 +59,7 @@ class AttackSimulationTrainingUserCoverage extends Entity
/**
* Gets the userTrainings
* List of assigned trainings' and their statuses for the user.
* List of assigned trainings and their statuses for the user.
*
* @return UserTrainingStatusInfo|null The userTrainings
*/
@ -78,7 +78,7 @@ class AttackSimulationTrainingUserCoverage extends Entity
/**
* Sets the userTrainings
* List of assigned trainings' and their statuses for the user.
* List of assigned trainings and their statuses for the user.
*
* @param UserTrainingStatusInfo $val The value to assign to the userTrainings
*

View File

@ -81,7 +81,7 @@ class AttackSimulationUser extends Entity
}
/**
* Gets the userId
* This is the id property value of the user resource that represents the user in the Azure AD tenant.
* This is the id property value of the user resource that represents the user in the Azure Active Directory tenant.
*
* @return string|null The userId
*/
@ -96,7 +96,7 @@ class AttackSimulationUser extends Entity
/**
* Sets the userId
* This is the id property value of the user resource that represents the user in the Azure AD tenant.
* This is the id property value of the user resource that represents the user in the Azure Active Directory tenant.
*
* @param string $val The value of the userId
*

View File

@ -26,7 +26,7 @@ class AuthenticationContextClassReference extends Entity
{
/**
* Gets the description
* A short explanation of the policies that are enforced by authenticationContextClassReference. This value should be used to provide secondary text to describe the authentication context class reference when building user-facing admin experiences. For example, a selection UX.
* A short explanation of the policies that are enforced by authenticationContextClassReference. This value should be used to provide secondary text to describe the authentication context class reference when building user facing admin experiences. For example, selection UX.
*
* @return string|null The description
*/
@ -41,7 +41,7 @@ class AuthenticationContextClassReference extends Entity
/**
* Sets the description
* A short explanation of the policies that are enforced by authenticationContextClassReference. This value should be used to provide secondary text to describe the authentication context class reference when building user-facing admin experiences. For example, a selection UX.
* A short explanation of the policies that are enforced by authenticationContextClassReference. This value should be used to provide secondary text to describe the authentication context class reference when building user facing admin experiences. For example, selection UX.
*
* @param string $val The description
*
@ -84,7 +84,7 @@ class AuthenticationContextClassReference extends Entity
/**
* Gets the isAvailable
* Indicates whether the authenticationContextClassReference has been published by the security admin and is ready for use by apps. When it is set to false, it should not be shown in admin UX experiences because the value is not currently available for selection. Supports $filter (eq).
* Indicates whether the authenticationContextClassReference has been published by the security admin and is ready for use by apps. When it is set to false, it should not be shown in selection UX used to tag resources with authentication context class values. It will still be shown in the Conditionall Access policy authoring experience. Supports $filter (eq).
*
* @return bool|null The isAvailable
*/
@ -99,7 +99,7 @@ class AuthenticationContextClassReference extends Entity
/**
* Sets the isAvailable
* Indicates whether the authenticationContextClassReference has been published by the security admin and is ready for use by apps. When it is set to false, it should not be shown in admin UX experiences because the value is not currently available for selection. Supports $filter (eq).
* Indicates whether the authenticationContextClassReference has been published by the security admin and is ready for use by apps. When it is set to false, it should not be shown in selection UX used to tag resources with authentication context class values. It will still be shown in the Conditionall Access policy authoring experience. Supports $filter (eq).
*
* @param bool $val The isAvailable
*

View File

@ -25,6 +25,7 @@ class CallOptions extends Entity
{
/**
* Gets the hideBotAfterEscalation
* Indicates whether to hide the app after the call is escalated.
*
* @return bool|null The hideBotAfterEscalation
*/
@ -39,6 +40,7 @@ class CallOptions extends Entity
/**
* Sets the hideBotAfterEscalation
* Indicates whether to hide the app after the call is escalated.
*
* @param bool $val The value of the hideBotAfterEscalation
*

View File

@ -0,0 +1,259 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CloudPcExportJob 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;
/**
* CloudPcExportJob 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 CloudPcExportJob extends Entity
{
/**
* Gets the expirationDateTime
*
* @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
*
* @param \DateTime $val The expirationDateTime
*
* @return CloudPcExportJob
*/
public function setExpirationDateTime($val)
{
$this->_propDict["expirationDateTime"] = $val;
return $this;
}
/**
* Gets the exportJobStatus
*
* @return CloudPcExportJobStatus|null The exportJobStatus
*/
public function getExportJobStatus()
{
if (array_key_exists("exportJobStatus", $this->_propDict)) {
if (is_a($this->_propDict["exportJobStatus"], "\Beta\Microsoft\Graph\Model\CloudPcExportJobStatus") || is_null($this->_propDict["exportJobStatus"])) {
return $this->_propDict["exportJobStatus"];
} else {
$this->_propDict["exportJobStatus"] = new CloudPcExportJobStatus($this->_propDict["exportJobStatus"]);
return $this->_propDict["exportJobStatus"];
}
}
return null;
}
/**
* Sets the exportJobStatus
*
* @param CloudPcExportJobStatus $val The exportJobStatus
*
* @return CloudPcExportJob
*/
public function setExportJobStatus($val)
{
$this->_propDict["exportJobStatus"] = $val;
return $this;
}
/**
* Gets the exportUrl
*
* @return string|null The exportUrl
*/
public function getExportUrl()
{
if (array_key_exists("exportUrl", $this->_propDict)) {
return $this->_propDict["exportUrl"];
} else {
return null;
}
}
/**
* Sets the exportUrl
*
* @param string $val The exportUrl
*
* @return CloudPcExportJob
*/
public function setExportUrl($val)
{
$this->_propDict["exportUrl"] = $val;
return $this;
}
/**
* Gets the filter
*
* @return string|null The filter
*/
public function getFilter()
{
if (array_key_exists("filter", $this->_propDict)) {
return $this->_propDict["filter"];
} else {
return null;
}
}
/**
* Sets the filter
*
* @param string $val The filter
*
* @return CloudPcExportJob
*/
public function setFilter($val)
{
$this->_propDict["filter"] = $val;
return $this;
}
/**
* Gets the format
*
* @return string|null The format
*/
public function getFormat()
{
if (array_key_exists("format", $this->_propDict)) {
return $this->_propDict["format"];
} else {
return null;
}
}
/**
* Sets the format
*
* @param string $val The format
*
* @return CloudPcExportJob
*/
public function setFormat($val)
{
$this->_propDict["format"] = $val;
return $this;
}
/**
* Gets the reportName
*
* @return CloudPcReportName|null The reportName
*/
public function getReportName()
{
if (array_key_exists("reportName", $this->_propDict)) {
if (is_a($this->_propDict["reportName"], "\Beta\Microsoft\Graph\Model\CloudPcReportName") || is_null($this->_propDict["reportName"])) {
return $this->_propDict["reportName"];
} else {
$this->_propDict["reportName"] = new CloudPcReportName($this->_propDict["reportName"]);
return $this->_propDict["reportName"];
}
}
return null;
}
/**
* Sets the reportName
*
* @param CloudPcReportName $val The reportName
*
* @return CloudPcExportJob
*/
public function setReportName($val)
{
$this->_propDict["reportName"] = $val;
return $this;
}
/**
* Gets the requestDateTime
*
* @return \DateTime|null The requestDateTime
*/
public function getRequestDateTime()
{
if (array_key_exists("requestDateTime", $this->_propDict)) {
if (is_a($this->_propDict["requestDateTime"], "\DateTime") || is_null($this->_propDict["requestDateTime"])) {
return $this->_propDict["requestDateTime"];
} else {
$this->_propDict["requestDateTime"] = new \DateTime($this->_propDict["requestDateTime"]);
return $this->_propDict["requestDateTime"];
}
}
return null;
}
/**
* Sets the requestDateTime
*
* @param \DateTime $val The requestDateTime
*
* @return CloudPcExportJob
*/
public function setRequestDateTime($val)
{
$this->_propDict["requestDateTime"] = $val;
return $this;
}
/**
* Gets the select
*
* @return string|null The select
*/
public function getSelect()
{
if (array_key_exists("select", $this->_propDict)) {
return $this->_propDict["select"];
} else {
return null;
}
}
/**
* Sets the select
*
* @param string $val The select
*
* @return CloudPcExportJob
*/
public function setSelect($val)
{
$this->_propDict["select"] = $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.
*
* CloudPcExportJobStatus 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;
/**
* CloudPcExportJobStatus 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 CloudPcExportJobStatus extends Enum
{
/**
* The Enum CloudPcExportJobStatus
*/
const NOT_STARTED = "notStarted";
const IN_PROGRESS = "inProgress";
const COMPLETED = "completed";
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.
*
* CloudPcReportName 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;
/**
* CloudPcReportName 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 CloudPcReportName extends Enum
{
/**
* The Enum CloudPcReportName
*/
const REMOTE_CONNECTION_HISTORICAL_REPORTS = "remoteConnectionHistoricalReports";
const DAILY_AGGREGATED_REMOTE_CONNECTION_REPORTS = "dailyAggregatedRemoteConnectionReports";
const TOTAL_AGGREGATED_REMOTE_CONNECTION_REPORTS = "totalAggregatedRemoteConnectionReports";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,55 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CloudPcReports 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;
/**
* CloudPcReports 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 CloudPcReports extends Entity
{
/**
* Gets the exportJobs
*
* @return array|null The exportJobs
*/
public function getExportJobs()
{
if (array_key_exists("exportJobs", $this->_propDict)) {
return $this->_propDict["exportJobs"];
} else {
return null;
}
}
/**
* Sets the exportJobs
*
* @param CloudPcExportJob[] $val The exportJobs
*
* @return CloudPcReports
*/
public function setExportJobs($val)
{
$this->_propDict["exportJobs"] = $val;
return $this;
}
}

View File

@ -213,7 +213,7 @@ class CloudPcUserSetting extends Entity
/**
* Gets the assignments
* Represents the set of Microsoft 365 groups and security groups in Azure AD that have cloudPCUserSetting assigned. Returned only on $expand. For an example, see Get cloudPcUserSettingample.
* Represents the set of Microsoft 365 groups and security groups in Azure Active Directory that have cloudPCUserSetting assigned. Returned only on $expand. For an example, see Get cloudPcUserSettingample.
*
* @return array|null The assignments
*/
@ -228,7 +228,7 @@ class CloudPcUserSetting extends Entity
/**
* Sets the assignments
* Represents the set of Microsoft 365 groups and security groups in Azure AD that have cloudPCUserSetting assigned. Returned only on $expand. For an example, see Get cloudPcUserSettingample.
* Represents the set of Microsoft 365 groups and security groups in Azure Active Directory that have cloudPCUserSetting assigned. Returned only on $expand. For an example, see Get cloudPcUserSettingample.
*
* @param CloudPcUserSettingAssignment[] $val The assignments
*

View File

@ -25,6 +25,7 @@ class ConditionalAccessEnumeratedExternalTenants extends ConditionalAccessExtern
{
/**
* Gets the members
* Represents a collection of tenant ids in the scope of Conditional Access for guests and external users policy targeting.
*
* @return string|null The members
*/
@ -39,6 +40,7 @@ class ConditionalAccessEnumeratedExternalTenants extends ConditionalAccessExtern
/**
* Sets the members
* Represents a collection of tenant ids in the scope of Conditional Access for guests and external users policy targeting.
*
* @param string $val The value of the members
*

View File

@ -26,6 +26,7 @@ class ConditionalAccessExternalTenants extends Entity
/**
* Gets the membershipKind
* Represents the membership kind. The possible values are: all, enumerated, unknownFutureValue. enumerated references an object of conditionalAccessEnumeratedExternalTenants derived type.
*
* @return ConditionalAccessExternalTenantsMembershipKind|null The membershipKind
*/
@ -44,6 +45,7 @@ class ConditionalAccessExternalTenants extends Entity
/**
* Sets the membershipKind
* Represents the membership kind. The possible values are: all, enumerated, unknownFutureValue. enumerated references an object of conditionalAccessEnumeratedExternalTenants derived type.
*
* @param ConditionalAccessExternalTenantsMembershipKind $val The value to assign to the membershipKind
*

View File

@ -26,6 +26,7 @@ class ConditionalAccessGuestsOrExternalUsers extends Entity
/**
* Gets the externalTenants
* The tenant ids of the selected types of external users. It could be either all b2b tenant, or a collection of tenant ids. External tenants can be specified only when guestOrExternalUserTypes is not null or an empty string.
*
* @return ConditionalAccessExternalTenants|null The externalTenants
*/
@ -44,6 +45,7 @@ class ConditionalAccessGuestsOrExternalUsers extends Entity
/**
* Sets the externalTenants
* The tenant ids of the selected types of external users. It could be either all b2b tenant, or a collection of tenant ids. External tenants can be specified only when guestOrExternalUserTypes is not null or an empty string.
*
* @param ConditionalAccessExternalTenants $val The value to assign to the externalTenants
*
@ -57,6 +59,7 @@ class ConditionalAccessGuestsOrExternalUsers extends Entity
/**
* Gets the guestOrExternalUserTypes
* Represents internal guests or external user types. This is a multi-valued property. Supported values are: b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, internalGuest, OtherExternalUser, serviceProvider and unknownFutureValue.
*
* @return ConditionalAccessGuestOrExternalUserTypes|null The guestOrExternalUserTypes
*/
@ -75,6 +78,7 @@ class ConditionalAccessGuestsOrExternalUsers extends Entity
/**
* Sets the guestOrExternalUserTypes
* Represents internal guests or external user types. This is a multi-valued property. Supported values are: b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, internalGuest, OtherExternalUser, serviceProvider and unknownFutureValue.
*
* @param ConditionalAccessGuestOrExternalUserTypes $val The value to assign to the guestOrExternalUserTypes
*

View File

@ -0,0 +1,125 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ConditionalAccessPolicyDetail 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;
/**
* ConditionalAccessPolicyDetail 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 ConditionalAccessPolicyDetail extends Entity
{
/**
* Gets the conditions
* Represents the type of conditions that govern when the policy applies.
*
* @return ConditionalAccessConditionSet|null The conditions
*/
public function getConditions()
{
if (array_key_exists("conditions", $this->_propDict)) {
if (is_a($this->_propDict["conditions"], "\Beta\Microsoft\Graph\Model\ConditionalAccessConditionSet") || is_null($this->_propDict["conditions"])) {
return $this->_propDict["conditions"];
} else {
$this->_propDict["conditions"] = new ConditionalAccessConditionSet($this->_propDict["conditions"]);
return $this->_propDict["conditions"];
}
}
return null;
}
/**
* Sets the conditions
* Represents the type of conditions that govern when the policy applies.
*
* @param ConditionalAccessConditionSet $val The value to assign to the conditions
*
* @return ConditionalAccessPolicyDetail The ConditionalAccessPolicyDetail
*/
public function setConditions($val)
{
$this->_propDict["conditions"] = $val;
return $this;
}
/**
* Gets the grantControls
* Represents grant controls that must be fulfilled for the policy.
*
* @return ConditionalAccessGrantControls|null The grantControls
*/
public function getGrantControls()
{
if (array_key_exists("grantControls", $this->_propDict)) {
if (is_a($this->_propDict["grantControls"], "\Beta\Microsoft\Graph\Model\ConditionalAccessGrantControls") || is_null($this->_propDict["grantControls"])) {
return $this->_propDict["grantControls"];
} else {
$this->_propDict["grantControls"] = new ConditionalAccessGrantControls($this->_propDict["grantControls"]);
return $this->_propDict["grantControls"];
}
}
return null;
}
/**
* Sets the grantControls
* Represents grant controls that must be fulfilled for the policy.
*
* @param ConditionalAccessGrantControls $val The value to assign to the grantControls
*
* @return ConditionalAccessPolicyDetail The ConditionalAccessPolicyDetail
*/
public function setGrantControls($val)
{
$this->_propDict["grantControls"] = $val;
return $this;
}
/**
* Gets the sessionControls
* Represents a complex type of session controls that is enforced after sign-in.
*
* @return ConditionalAccessSessionControls|null The sessionControls
*/
public function getSessionControls()
{
if (array_key_exists("sessionControls", $this->_propDict)) {
if (is_a($this->_propDict["sessionControls"], "\Beta\Microsoft\Graph\Model\ConditionalAccessSessionControls") || is_null($this->_propDict["sessionControls"])) {
return $this->_propDict["sessionControls"];
} else {
$this->_propDict["sessionControls"] = new ConditionalAccessSessionControls($this->_propDict["sessionControls"]);
return $this->_propDict["sessionControls"];
}
}
return null;
}
/**
* Sets the sessionControls
* Represents a complex type of session controls that is enforced after sign-in.
*
* @param ConditionalAccessSessionControls $val The value to assign to the sessionControls
*
* @return ConditionalAccessPolicyDetail The ConditionalAccessPolicyDetail
*/
public function setSessionControls($val)
{
$this->_propDict["sessionControls"] = $val;
return $this;
}
}

View File

@ -145,4 +145,34 @@ class ConditionalAccessRoot extends Entity
return $this;
}
/**
* Gets the templates
* Read-only. Nullable. Returns a collection of the specified Conditional Access templates.
*
* @return array|null The templates
*/
public function getTemplates()
{
if (array_key_exists("templates", $this->_propDict)) {
return $this->_propDict["templates"];
} else {
return null;
}
}
/**
* Sets the templates
* Read-only. Nullable. Returns a collection of the specified Conditional Access templates.
*
* @param ConditionalAccessTemplate[] $val The templates
*
* @return ConditionalAccessRoot
*/
public function setTemplates($val)
{
$this->_propDict["templates"] = $val;
return $this;
}
}

View File

@ -0,0 +1,151 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ConditionalAccessTemplate 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;
/**
* ConditionalAccessTemplate 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 ConditionalAccessTemplate extends Entity
{
/**
* Gets the description
* The user-friendly name of the template.
*
* @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
* The user-friendly name of the template.
*
* @param string $val The description
*
* @return ConditionalAccessTemplate
*/
public function setDescription($val)
{
$this->_propDict["description"] = $val;
return $this;
}
/**
* Gets the details
* Complete list of policy details specific to the template. This property contains the JSON of policy settings for configuring a Conditional Access policy.
*
* @return ConditionalAccessPolicyDetail|null The details
*/
public function getDetails()
{
if (array_key_exists("details", $this->_propDict)) {
if (is_a($this->_propDict["details"], "\Beta\Microsoft\Graph\Model\ConditionalAccessPolicyDetail") || is_null($this->_propDict["details"])) {
return $this->_propDict["details"];
} else {
$this->_propDict["details"] = new ConditionalAccessPolicyDetail($this->_propDict["details"]);
return $this->_propDict["details"];
}
}
return null;
}
/**
* Sets the details
* Complete list of policy details specific to the template. This property contains the JSON of policy settings for configuring a Conditional Access policy.
*
* @param ConditionalAccessPolicyDetail $val The details
*
* @return ConditionalAccessTemplate
*/
public function setDetails($val)
{
$this->_propDict["details"] = $val;
return $this;
}
/**
* Gets the name
* The user-friendly name of the template.
*
* @return string|null The name
*/
public function getName()
{
if (array_key_exists("name", $this->_propDict)) {
return $this->_propDict["name"];
} else {
return null;
}
}
/**
* Sets the name
* The user-friendly name of the template.
*
* @param string $val The name
*
* @return ConditionalAccessTemplate
*/
public function setName($val)
{
$this->_propDict["name"] = $val;
return $this;
}
/**
* Gets the scenarios
* List of conditional access scenarios that the template is recommended for. The possible values are: new, secureFoundation, zeroTrust, remoteWork, protectAdmins, emergingThreats, unknownFutureValue. This is a multi-valued enum. Supports $filter (has).
*
* @return TemplateScenarios|null The scenarios
*/
public function getScenarios()
{
if (array_key_exists("scenarios", $this->_propDict)) {
if (is_a($this->_propDict["scenarios"], "\Beta\Microsoft\Graph\Model\TemplateScenarios") || is_null($this->_propDict["scenarios"])) {
return $this->_propDict["scenarios"];
} else {
$this->_propDict["scenarios"] = new TemplateScenarios($this->_propDict["scenarios"]);
return $this->_propDict["scenarios"];
}
}
return null;
}
/**
* Sets the scenarios
* List of conditional access scenarios that the template is recommended for. The possible values are: new, secureFoundation, zeroTrust, remoteWork, protectAdmins, emergingThreats, unknownFutureValue. This is a multi-valued enum. Supports $filter (has).
*
* @param TemplateScenarios $val The scenarios
*
* @return ConditionalAccessTemplate
*/
public function setScenarios($val)
{
$this->_propDict["scenarios"] = $val;
return $this;
}
}

View File

@ -54,6 +54,7 @@ class ConditionalAccessUsers extends Entity
/**
* Gets the excludeGuestsOrExternalUsers
* Internal guests or external users excluded in the policy scope. Optionally populated.
*
* @return ConditionalAccessGuestsOrExternalUsers|null The excludeGuestsOrExternalUsers
*/
@ -72,6 +73,7 @@ class ConditionalAccessUsers extends Entity
/**
* Sets the excludeGuestsOrExternalUsers
* Internal guests or external users excluded in the policy scope. Optionally populated.
*
* @param ConditionalAccessGuestsOrExternalUsers $val The value to assign to the excludeGuestsOrExternalUsers
*
@ -169,6 +171,7 @@ class ConditionalAccessUsers extends Entity
/**
* Gets the includeGuestsOrExternalUsers
* Internal guests or external users included in the policy scope. Optionally populated.
*
* @return ConditionalAccessGuestsOrExternalUsers|null The includeGuestsOrExternalUsers
*/
@ -187,6 +190,7 @@ class ConditionalAccessUsers extends Entity
/**
* Sets the includeGuestsOrExternalUsers
* Internal guests or external users included in the policy scope. Optionally populated.
*
* @param ConditionalAccessGuestsOrExternalUsers $val The value to assign to the includeGuestsOrExternalUsers
*

View File

@ -148,6 +148,36 @@ class DeviceAndAppManagementAssignmentFilter extends Entity
return $this;
}
/**
* Gets the payloads
* Associated assignments for a specific filter
*
* @return array|null The payloads
*/
public function getPayloads()
{
if (array_key_exists("payloads", $this->_propDict)) {
return $this->_propDict["payloads"];
} else {
return null;
}
}
/**
* Sets the payloads
* Associated assignments for a specific filter
*
* @param PayloadByFilter[] $val The payloads
*
* @return DeviceAndAppManagementAssignmentFilter
*/
public function setPayloads($val)
{
$this->_propDict["payloads"] = $val;
return $this;
}
/**
* Gets the platform
* Platform type of the devices on which the Assignment Filter will be applicable. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, unknown.

View File

@ -503,6 +503,39 @@ class DeviceManagement extends Entity
return $this;
}
/**
* Gets the userExperienceAnalyticsAnomalySeverityOverview
* The user experience analytics anomaly severity overview entity contains the count information for each severity of anomaly.
*
* @return UserExperienceAnalyticsAnomalySeverityOverview|null The userExperienceAnalyticsAnomalySeverityOverview
*/
public function getUserExperienceAnalyticsAnomalySeverityOverview()
{
if (array_key_exists("userExperienceAnalyticsAnomalySeverityOverview", $this->_propDict)) {
if (is_a($this->_propDict["userExperienceAnalyticsAnomalySeverityOverview"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsAnomalySeverityOverview") || is_null($this->_propDict["userExperienceAnalyticsAnomalySeverityOverview"])) {
return $this->_propDict["userExperienceAnalyticsAnomalySeverityOverview"];
} else {
$this->_propDict["userExperienceAnalyticsAnomalySeverityOverview"] = new UserExperienceAnalyticsAnomalySeverityOverview($this->_propDict["userExperienceAnalyticsAnomalySeverityOverview"]);
return $this->_propDict["userExperienceAnalyticsAnomalySeverityOverview"];
}
}
return null;
}
/**
* Sets the userExperienceAnalyticsAnomalySeverityOverview
* The user experience analytics anomaly severity overview entity contains the count information for each severity of anomaly.
*
* @param UserExperienceAnalyticsAnomalySeverityOverview $val The userExperienceAnalyticsAnomalySeverityOverview
*
* @return DeviceManagement
*/
public function setUserExperienceAnalyticsAnomalySeverityOverview($val)
{
$this->_propDict["userExperienceAnalyticsAnomalySeverityOverview"] = $val;
return $this;
}
/**
* Gets the userExperienceAnalyticsSettings
* User experience analytics device settings
@ -2648,6 +2681,66 @@ class DeviceManagement extends Entity
}
/**
* Gets the userExperienceAnalyticsAnomaly
* The user experience analytics anomaly entity contains anomaly details.
*
* @return array|null The userExperienceAnalyticsAnomaly
*/
public function getUserExperienceAnalyticsAnomaly()
{
if (array_key_exists("userExperienceAnalyticsAnomaly", $this->_propDict)) {
return $this->_propDict["userExperienceAnalyticsAnomaly"];
} else {
return null;
}
}
/**
* Sets the userExperienceAnalyticsAnomaly
* The user experience analytics anomaly entity contains anomaly details.
*
* @param UserExperienceAnalyticsAnomaly[] $val The userExperienceAnalyticsAnomaly
*
* @return DeviceManagement
*/
public function setUserExperienceAnalyticsAnomaly($val)
{
$this->_propDict["userExperienceAnalyticsAnomaly"] = $val;
return $this;
}
/**
* Gets the userExperienceAnalyticsAnomalyDevice
* The user experience analytics anomaly entity contains device details.
*
* @return array|null The userExperienceAnalyticsAnomalyDevice
*/
public function getUserExperienceAnalyticsAnomalyDevice()
{
if (array_key_exists("userExperienceAnalyticsAnomalyDevice", $this->_propDict)) {
return $this->_propDict["userExperienceAnalyticsAnomalyDevice"];
} else {
return null;
}
}
/**
* Sets the userExperienceAnalyticsAnomalyDevice
* The user experience analytics anomaly entity contains device details.
*
* @param UserExperienceAnalyticsAnomalyDevice[] $val The userExperienceAnalyticsAnomalyDevice
*
* @return DeviceManagement
*/
public function setUserExperienceAnalyticsAnomalyDevice($val)
{
$this->_propDict["userExperienceAnalyticsAnomalyDevice"] = $val;
return $this;
}
/**
* Gets the userExperienceAnalyticsAppHealthApplicationPerformance
* User experience analytics appHealth Application Performance

View File

@ -239,6 +239,39 @@ class DeviceManagementConfigurationPolicy extends Entity
return $this;
}
/**
* Gets the priorityMetaData
* Indicates the priority of each policies that are selected by the admin during enrollment process
*
* @return DeviceManagementPriorityMetaData|null The priorityMetaData
*/
public function getPriorityMetaData()
{
if (array_key_exists("priorityMetaData", $this->_propDict)) {
if (is_a($this->_propDict["priorityMetaData"], "\Beta\Microsoft\Graph\Model\DeviceManagementPriorityMetaData") || is_null($this->_propDict["priorityMetaData"])) {
return $this->_propDict["priorityMetaData"];
} else {
$this->_propDict["priorityMetaData"] = new DeviceManagementPriorityMetaData($this->_propDict["priorityMetaData"]);
return $this->_propDict["priorityMetaData"];
}
}
return null;
}
/**
* Sets the priorityMetaData
* Indicates the priority of each policies that are selected by the admin during enrollment process
*
* @param DeviceManagementPriorityMetaData $val The priorityMetaData
*
* @return DeviceManagementConfigurationPolicy
*/
public function setPriorityMetaData($val)
{
$this->_propDict["priorityMetaData"] = $val;
return $this;
}
/**
* Gets the roleScopeTagIds
* List of Scope Tags for this Entity instance.

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, baseline.
* TemplateFamily for this template. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, enrollmentConfiguration, baseline.
*
* @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, baseline.
* TemplateFamily for this template. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, enrollmentConfiguration, baseline.
*
* @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, baseline.
* Template Family of the referenced Template. This property is read-only. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, enrollmentConfiguration, baseline.
*
* @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, baseline.
* Template Family of the referenced Template. This property is read-only. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, enrollmentConfiguration, baseline.
*
* @param DeviceManagementConfigurationTemplateFamily $val The value to assign to the templateFamily
*

View File

@ -37,5 +37,6 @@ class DeviceManagementConfigurationTemplateFamily extends Enum
const ENDPOINT_SECURITY_ATTACK_SURFACE_REDUCTION = "endpointSecurityAttackSurfaceReduction";
const ENDPOINT_SECURITY_ACCOUNT_PROTECTION = "endpointSecurityAccountProtection";
const ENDPOINT_SECURITY_APPLICATION_CONTROL = "endpointSecurityApplicationControl";
const ENROLLMENT_CONFIGURATION = "enrollmentConfiguration";
const BASELINE = "baseline";
}

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

View File

@ -118,7 +118,7 @@ class DirectoryAudit extends Entity
/**
* Gets the category
* Indicates which resource category that's targeted by the activity. (For example: User Management, Group Management etc..)
* Indicates which resource category that's targeted by the activity. For example: UserManagement, GroupManagement, ApplicationManagement, RoleManagement.
*
* @return string|null The category
*/
@ -133,7 +133,7 @@ class DirectoryAudit extends Entity
/**
* Sets the category
* Indicates which resource category that's targeted by the activity. (For example: User Management, Group Management etc..)
* Indicates which resource category that's targeted by the activity. For example: UserManagement, GroupManagement, ApplicationManagement, RoleManagement.
*
* @param string $val The category
*

View File

@ -57,6 +57,7 @@ class Entity implements \JsonSerializable
/**
* Gets the id
* The unique identifier for an entity. Read-only.
*
* @return string|null The id
*/
@ -71,6 +72,7 @@ class Entity implements \JsonSerializable
/**
* Sets the id
* The unique identifier for an entity. Read-only.
*
* @param string $val The id
*

View File

@ -355,7 +355,7 @@ class Group extends DirectoryObject
/**
* Gets the isAssignableToRole
* Indicates whether this group can be assigned to an Azure Active Directory role. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true and the group cannot be a dynamic group (that is, groupTypes cannot contain DynamicMembership). Only callers in Global administrator and Privileged role administrator roles can set this property. The caller must be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Azure AD role assignmentsReturned by default. Supports $filter (eq, ne, not).
* Indicates whether this group can be assigned to an Azure Active Directory role. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true and the group cannot be a dynamic group (that is, groupTypes cannot contain DynamicMembership). Only callers in Global Administrator and Privileged Role Administrator roles can set this property. The caller must also be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Azure AD role assignmentsReturned by default. Supports $filter (eq, ne, not).
*
* @return bool|null The isAssignableToRole
*/
@ -370,7 +370,7 @@ class Group extends DirectoryObject
/**
* Sets the isAssignableToRole
* Indicates whether this group can be assigned to an Azure Active Directory role. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true and the group cannot be a dynamic group (that is, groupTypes cannot contain DynamicMembership). Only callers in Global administrator and Privileged role administrator roles can set this property. The caller must be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Azure AD role assignmentsReturned by default. Supports $filter (eq, ne, not).
* Indicates whether this group can be assigned to an Azure Active Directory role. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true and the group cannot be a dynamic group (that is, groupTypes cannot contain DynamicMembership). Only callers in Global Administrator and Privileged Role Administrator roles can set this property. The caller must also be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Azure AD role assignmentsReturned by default. Supports $filter (eq, ne, not).
*
* @param bool $val The isAssignableToRole
*

View File

@ -665,6 +665,34 @@ class IntuneBrand extends Entity
return $this;
}
/**
* Gets the showConfigurationManagerApps
* Boolean that indicates if ConfigurationManagerApps will be shown in Company Portal
*
* @return bool|null The showConfigurationManagerApps
*/
public function getShowConfigurationManagerApps()
{
if (array_key_exists("showConfigurationManagerApps", $this->_propDict)) {
return $this->_propDict["showConfigurationManagerApps"];
} else {
return null;
}
}
/**
* Sets the showConfigurationManagerApps
* Boolean that indicates if ConfigurationManagerApps will be shown in Company Portal
*
* @param bool $val The value of the showConfigurationManagerApps
*
* @return IntuneBrand
*/
public function setShowConfigurationManagerApps($val)
{
$this->_propDict["showConfigurationManagerApps"] = $val;
return $this;
}
/**
* Gets the showDisplayNameNextToLogo
* Boolean that represents whether the administrator-supplied display name will be shown next to the logo image.
*

View File

@ -83,31 +83,31 @@ class LearningContent extends Entity
}
/**
* Gets the contributor
* The author, creator, or contributor of the learning content. Optional.
* Gets the contributors
* The authors, creators, or contributors of the learning content. Optional.
*
* @return string|null The contributor
* @return string|null The contributors
*/
public function getContributor()
public function getContributors()
{
if (array_key_exists("contributor", $this->_propDict)) {
return $this->_propDict["contributor"];
if (array_key_exists("contributors", $this->_propDict)) {
return $this->_propDict["contributors"];
} else {
return null;
}
}
/**
* Sets the contributor
* The author, creator, or contributor of the learning content. Optional.
* Sets the contributors
* The authors, creators, or contributors of the learning content. Optional.
*
* @param string $val The contributor
* @param string $val The contributors
*
* @return LearningContent
*/
public function setContributor($val)
public function setContributors($val)
{
$this->_propDict["contributor"] = $val;
$this->_propDict["contributors"] = $val;
return $this;
}

View File

@ -25,7 +25,7 @@ class MacOSMinimumOperatingSystem extends Entity
{
/**
* Gets the v10_10
* Mac OS 10.10 or later.
* When TRUE, indicates macOS 10.10 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @return bool|null The v10_10
*/
@ -40,7 +40,7 @@ class MacOSMinimumOperatingSystem extends Entity
/**
* Sets the v10_10
* Mac OS 10.10 or later.
* When TRUE, indicates macOS 10.10 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @param bool $val The value of the v10_10
*
@ -53,7 +53,7 @@ class MacOSMinimumOperatingSystem extends Entity
}
/**
* Gets the v10_11
* Mac OS 10.11 or later.
* When TRUE, indicates macOS 10.11 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @return bool|null The v10_11
*/
@ -68,7 +68,7 @@ class MacOSMinimumOperatingSystem extends Entity
/**
* Sets the v10_11
* Mac OS 10.11 or later.
* When TRUE, indicates macOS 10.11 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @param bool $val The value of the v10_11
*
@ -81,7 +81,7 @@ class MacOSMinimumOperatingSystem extends Entity
}
/**
* Gets the v10_12
* Mac OS 10.12 or later.
* When TRUE, indicates macOS 10.12 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @return bool|null The v10_12
*/
@ -96,7 +96,7 @@ class MacOSMinimumOperatingSystem extends Entity
/**
* Sets the v10_12
* Mac OS 10.12 or later.
* When TRUE, indicates macOS 10.12 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @param bool $val The value of the v10_12
*
@ -109,7 +109,7 @@ class MacOSMinimumOperatingSystem extends Entity
}
/**
* Gets the v10_13
* Mac OS 10.13 or later.
* When TRUE, indicates macOS 10.13 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @return bool|null The v10_13
*/
@ -124,7 +124,7 @@ class MacOSMinimumOperatingSystem extends Entity
/**
* Sets the v10_13
* Mac OS 10.13 or later.
* When TRUE, indicates macOS 10.13 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @param bool $val The value of the v10_13
*
@ -137,7 +137,7 @@ class MacOSMinimumOperatingSystem extends Entity
}
/**
* Gets the v10_14
* Mac OS 10.14 or later.
* When TRUE, indicates macOS 10.14 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @return bool|null The v10_14
*/
@ -152,7 +152,7 @@ class MacOSMinimumOperatingSystem extends Entity
/**
* Sets the v10_14
* Mac OS 10.14 or later.
* When TRUE, indicates macOS 10.14 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @param bool $val The value of the v10_14
*
@ -165,7 +165,7 @@ class MacOSMinimumOperatingSystem extends Entity
}
/**
* Gets the v10_15
* Mac OS 10.15 or later.
* When TRUE, indicates macOS 10.15 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @return bool|null The v10_15
*/
@ -180,7 +180,7 @@ class MacOSMinimumOperatingSystem extends Entity
/**
* Sets the v10_15
* Mac OS 10.15 or later.
* When TRUE, indicates macOS 10.15 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @param bool $val The value of the v10_15
*
@ -193,7 +193,7 @@ class MacOSMinimumOperatingSystem extends Entity
}
/**
* Gets the v10_7
* Mac OS 10.7 or later.
* When TRUE, indicates macOS 10.7 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @return bool|null The v10_7
*/
@ -208,7 +208,7 @@ class MacOSMinimumOperatingSystem extends Entity
/**
* Sets the v10_7
* Mac OS 10.7 or later.
* When TRUE, indicates macOS 10.7 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @param bool $val The value of the v10_7
*
@ -221,7 +221,7 @@ class MacOSMinimumOperatingSystem extends Entity
}
/**
* Gets the v10_8
* Mac OS 10.8 or later.
* When TRUE, indicates macOS 10.8 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @return bool|null The v10_8
*/
@ -236,7 +236,7 @@ class MacOSMinimumOperatingSystem extends Entity
/**
* Sets the v10_8
* Mac OS 10.8 or later.
* When TRUE, indicates macOS 10.8 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @param bool $val The value of the v10_8
*
@ -249,7 +249,7 @@ class MacOSMinimumOperatingSystem extends Entity
}
/**
* Gets the v10_9
* Mac OS 10.9 or later.
* When TRUE, indicates macOS 10.9 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @return bool|null The v10_9
*/
@ -264,7 +264,7 @@ class MacOSMinimumOperatingSystem extends Entity
/**
* Sets the v10_9
* Mac OS 10.9 or later.
* When TRUE, indicates macOS 10.9 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @param bool $val The value of the v10_9
*
@ -277,7 +277,7 @@ class MacOSMinimumOperatingSystem extends Entity
}
/**
* Gets the v11_0
* Mac OS 11.0 or later.
* When TRUE, indicates macOS 11.0 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @return bool|null The v11_0
*/
@ -292,7 +292,7 @@ class MacOSMinimumOperatingSystem extends Entity
/**
* Sets the v11_0
* Mac OS 11.0 or later.
* When TRUE, indicates macOS 11.0 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @param bool $val The value of the v11_0
*
@ -305,7 +305,7 @@ class MacOSMinimumOperatingSystem extends Entity
}
/**
* Gets the v12_0
* Mac OS 12.0 or later.
* When TRUE, indicates macOS 12.0 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @return bool|null The v12_0
*/
@ -320,7 +320,7 @@ class MacOSMinimumOperatingSystem extends Entity
/**
* Sets the v12_0
* Mac OS 12.0 or later.
* When TRUE, indicates macOS 12.0 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @param bool $val The value of the v12_0
*
@ -331,4 +331,32 @@ class MacOSMinimumOperatingSystem extends Entity
$this->_propDict["v120"] = $val;
return $this;
}
/**
* Gets the v13_0
* When TRUE, indicates macOS 13.0 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @return bool|null The v13_0
*/
public function getV13_0()
{
if (array_key_exists("v130", $this->_propDict)) {
return $this->_propDict["v130"];
} else {
return null;
}
}
/**
* Sets the v13_0
* When TRUE, indicates macOS 13.0 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE.
*
* @param bool $val The value of the v13_0
*
* @return MacOSMinimumOperatingSystem
*/
public function setV13_0($val)
{
$this->_propDict["v130"] = $val;
return $this;
}
}

View File

@ -965,6 +965,39 @@ class ManagedAppProtection extends ManagedAppPolicy
return $this;
}
/**
* Gets the mobileThreatDefensePartnerPriority
* Indicates how to prioritize which Mobile Threat Defense (MTD) partner is enabled for a given platform, when more than one is enabled. An app can only be actively using a single Mobile Threat Defense partner. When NULL, Microsoft Defender will be given preference. Otherwise setting the value to defenderOverThirdPartyPartner or thirdPartyPartnerOverDefender will make explicit which partner to prioritize. Possible values are: null, defenderOverThirdPartyPartner, thirdPartyPartnerOverDefender and unknownFutureValue. Default value is null. Possible values are: defenderOverThirdPartyPartner, thirdPartyPartnerOverDefender, unknownFutureValue.
*
* @return MobileThreatDefensePartnerPriority|null The mobileThreatDefensePartnerPriority
*/
public function getMobileThreatDefensePartnerPriority()
{
if (array_key_exists("mobileThreatDefensePartnerPriority", $this->_propDict)) {
if (is_a($this->_propDict["mobileThreatDefensePartnerPriority"], "\Beta\Microsoft\Graph\Model\MobileThreatDefensePartnerPriority") || is_null($this->_propDict["mobileThreatDefensePartnerPriority"])) {
return $this->_propDict["mobileThreatDefensePartnerPriority"];
} else {
$this->_propDict["mobileThreatDefensePartnerPriority"] = new MobileThreatDefensePartnerPriority($this->_propDict["mobileThreatDefensePartnerPriority"]);
return $this->_propDict["mobileThreatDefensePartnerPriority"];
}
}
return null;
}
/**
* Sets the mobileThreatDefensePartnerPriority
* Indicates how to prioritize which Mobile Threat Defense (MTD) partner is enabled for a given platform, when more than one is enabled. An app can only be actively using a single Mobile Threat Defense partner. When NULL, Microsoft Defender will be given preference. Otherwise setting the value to defenderOverThirdPartyPartner or thirdPartyPartnerOverDefender will make explicit which partner to prioritize. Possible values are: null, defenderOverThirdPartyPartner, thirdPartyPartnerOverDefender and unknownFutureValue. Default value is null. Possible values are: defenderOverThirdPartyPartner, thirdPartyPartnerOverDefender, unknownFutureValue.
*
* @param MobileThreatDefensePartnerPriority $val The mobileThreatDefensePartnerPriority
*
* @return ManagedAppProtection
*/
public function setMobileThreatDefensePartnerPriority($val)
{
$this->_propDict["mobileThreatDefensePartnerPriority"] = $val;
return $this;
}
/**
* Gets the mobileThreatDefenseRemediationAction
* Determines what action to take if the mobile threat defense threat threshold isn't met. Warn isn't a supported value for this property. Possible values are: block, wipe, warn.

View File

@ -85,7 +85,7 @@ class MicrosoftTunnelConfiguration extends Entity
/**
* Gets the description
* The MicrosoftTunnelConfiguration's description
* The configuration's description (optional)
*
* @return string|null The description
*/
@ -100,7 +100,7 @@ class MicrosoftTunnelConfiguration extends Entity
/**
* Sets the description
* The MicrosoftTunnelConfiguration's description
* The configuration's description (optional)
*
* @param string $val The description
*
@ -114,7 +114,7 @@ class MicrosoftTunnelConfiguration extends Entity
/**
* Gets the disableUdpConnections
* When DisableUdpConnections is set, the clients and VPN server will not use DTLS connections to tansfer data.
* When DisableUdpConnections is set, the clients and VPN server will not use DTLS connections to transfer data.
*
* @return bool|null The disableUdpConnections
*/
@ -129,7 +129,7 @@ class MicrosoftTunnelConfiguration extends Entity
/**
* Sets the disableUdpConnections
* When DisableUdpConnections is set, the clients and VPN server will not use DTLS connections to tansfer data.
* When DisableUdpConnections is set, the clients and VPN server will not use DTLS connections to transfer data.
*
* @param bool $val The disableUdpConnections
*
@ -143,7 +143,7 @@ class MicrosoftTunnelConfiguration extends Entity
/**
* Gets the displayName
* The MicrosoftTunnelConfiguration's display name
* The display name for the server configuration. This property is required when a server is created.
*
* @return string|null The displayName
*/
@ -158,7 +158,7 @@ class MicrosoftTunnelConfiguration extends Entity
/**
* Sets the displayName
* The MicrosoftTunnelConfiguration's display name
* The display name for the server configuration. This property is required when a server is created.
*
* @param string $val The displayName
*
@ -201,7 +201,7 @@ class MicrosoftTunnelConfiguration extends Entity
/**
* Gets the lastUpdateDateTime
* When the MicrosoftTunnelConfiguration was last updated
* When the configuration was last updated
*
* @return \DateTime|null The lastUpdateDateTime
*/
@ -220,7 +220,7 @@ class MicrosoftTunnelConfiguration extends Entity
/**
* Sets the lastUpdateDateTime
* When the MicrosoftTunnelConfiguration was last updated
* When the configuration was last updated
*
* @param \DateTime $val The lastUpdateDateTime
*
@ -292,7 +292,7 @@ class MicrosoftTunnelConfiguration extends Entity
/**
* Gets the roleScopeTagIds
* List of Scope Tags for this Entity instance.
* List of Scope Tags for this Entity instance
*
* @return string|null The roleScopeTagIds
*/
@ -307,7 +307,7 @@ class MicrosoftTunnelConfiguration extends Entity
/**
* Sets the roleScopeTagIds
* List of Scope Tags for this Entity instance.
* List of Scope Tags for this Entity instance
*
* @param string $val The roleScopeTagIds
*
@ -320,9 +320,67 @@ class MicrosoftTunnelConfiguration extends Entity
}
/**
* Gets the routesExclude
* Gets the routeExcludes
* Subsets of the routes that will not be routed by the server
*
* @return string|null The routeExcludes
*/
public function getRouteExcludes()
{
if (array_key_exists("routeExcludes", $this->_propDict)) {
return $this->_propDict["routeExcludes"];
} else {
return null;
}
}
/**
* Sets the routeExcludes
* Subsets of the routes that will not be routed by the server
*
* @param string $val The routeExcludes
*
* @return MicrosoftTunnelConfiguration
*/
public function setRouteExcludes($val)
{
$this->_propDict["routeExcludes"] = $val;
return $this;
}
/**
* Gets the routeIncludes
* The routes that will be routed by the server
*
* @return string|null The routeIncludes
*/
public function getRouteIncludes()
{
if (array_key_exists("routeIncludes", $this->_propDict)) {
return $this->_propDict["routeIncludes"];
} else {
return null;
}
}
/**
* Sets the routeIncludes
* The routes that will be routed by the server
*
* @param string $val The routeIncludes
*
* @return MicrosoftTunnelConfiguration
*/
public function setRouteIncludes($val)
{
$this->_propDict["routeIncludes"] = $val;
return $this;
}
/**
* Gets the routesExclude
* Subsets of the routes that will not be routed by the server. This property is going to be deprecated with the option of using the new property, 'RouteExcludes'.
*
* @return string|null The routesExclude
*/
public function getRoutesExclude()
@ -336,7 +394,7 @@ class MicrosoftTunnelConfiguration extends Entity
/**
* Sets the routesExclude
* Subsets of the routes that will not be routed by the server
* Subsets of the routes that will not be routed by the server. This property is going to be deprecated with the option of using the new property, 'RouteExcludes'.
*
* @param string $val The routesExclude
*
@ -350,7 +408,7 @@ class MicrosoftTunnelConfiguration extends Entity
/**
* Gets the routesInclude
* The routs that will be routed by the server
* The routes that will be routed by the server. This property is going to be deprecated with the option of using the new property, 'RouteIncludes'.
*
* @return string|null The routesInclude
*/
@ -365,7 +423,7 @@ class MicrosoftTunnelConfiguration extends Entity
/**
* Sets the routesInclude
* The routs that will be routed by the server
* The routes that will be routed by the server. This property is going to be deprecated with the option of using the new property, 'RouteIncludes'.
*
* @param string $val The routesInclude
*

View File

@ -26,7 +26,7 @@ class MicrosoftTunnelHealthThreshold extends Entity
{
/**
* Gets the defaultHealthyThreshold
* The default threshold for being healthy
* The threshold for being healthy based on default health status metrics: CPU usage healthy &amp;lt; 50%, Memory usage healthy &amp;lt; 50%, Disk space healthy &amp;gt; 5GB, Latency healthy &amp;lt; 10ms, health metrics can be customized. Read-only.
*
* @return int|null The defaultHealthyThreshold
*/
@ -41,7 +41,7 @@ class MicrosoftTunnelHealthThreshold extends Entity
/**
* Sets the defaultHealthyThreshold
* The default threshold for being healthy
* The threshold for being healthy based on default health status metrics: CPU usage healthy &amp;lt; 50%, Memory usage healthy &amp;lt; 50%, Disk space healthy &amp;gt; 5GB, Latency healthy &amp;lt; 10ms, health metrics can be customized. Read-only.
*
* @param int $val The defaultHealthyThreshold
*
@ -55,7 +55,7 @@ class MicrosoftTunnelHealthThreshold extends Entity
/**
* Gets the defaultUnhealthyThreshold
* The default threshold for being unhealthy
* The threshold for being unhealthy based on default health status metrics: CPU usage unhealthy &amp;gt; 75%, Memory usage unhealthy &amp;gt; 75%, Disk space &amp;lt; 3GB, Latency unhealthy &amp;gt; 20ms, health metrics can be customized. Read-only.
*
* @return int|null The defaultUnhealthyThreshold
*/
@ -70,7 +70,7 @@ class MicrosoftTunnelHealthThreshold extends Entity
/**
* Sets the defaultUnhealthyThreshold
* The default threshold for being unhealthy
* The threshold for being unhealthy based on default health status metrics: CPU usage unhealthy &amp;gt; 75%, Memory usage unhealthy &amp;gt; 75%, Disk space &amp;lt; 3GB, Latency unhealthy &amp;gt; 20ms, health metrics can be customized. Read-only.
*
* @param int $val The defaultUnhealthyThreshold
*
@ -84,7 +84,7 @@ class MicrosoftTunnelHealthThreshold extends Entity
/**
* Gets the healthyThreshold
* The threshold for being healthy
* The threshold for being healthy based on default health status metrics: CPU usage healthy &amp;lt; 50%, Memory usage healthy &amp;lt; 50%, Disk space healthy &amp;gt; 5GB, Latency healthy &amp;lt; 10ms, health metrics can be customized.
*
* @return int|null The healthyThreshold
*/
@ -99,7 +99,7 @@ class MicrosoftTunnelHealthThreshold extends Entity
/**
* Sets the healthyThreshold
* The threshold for being healthy
* The threshold for being healthy based on default health status metrics: CPU usage healthy &amp;lt; 50%, Memory usage healthy &amp;lt; 50%, Disk space healthy &amp;gt; 5GB, Latency healthy &amp;lt; 10ms, health metrics can be customized.
*
* @param int $val The healthyThreshold
*
@ -113,7 +113,7 @@ class MicrosoftTunnelHealthThreshold extends Entity
/**
* Gets the unhealthyThreshold
* The threshold for being unhealthy
* The threshold for being unhealthy based on default health status metrics: CPU usage unhealthy &amp;gt; 75%, Memory usage unhealthy &amp;gt; 75%, Disk space &amp;lt; 3GB, Latency Unhealthy &amp;gt; 20ms, health metrics can be customized.
*
* @return int|null The unhealthyThreshold
*/
@ -128,7 +128,7 @@ class MicrosoftTunnelHealthThreshold extends Entity
/**
* Sets the unhealthyThreshold
* The threshold for being unhealthy
* The threshold for being unhealthy based on default health status metrics: CPU usage unhealthy &amp;gt; 75%, Memory usage unhealthy &amp;gt; 75%, Disk space &amp;lt; 3GB, Latency Unhealthy &amp;gt; 20ms, health metrics can be customized.
*
* @param int $val The unhealthyThreshold
*

View File

@ -32,4 +32,5 @@ class MicrosoftTunnelLogCollectionStatus extends Enum
const PENDING = "pending";
const COMPLETED = "completed";
const FAILED = "failed";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -55,7 +55,7 @@ class MicrosoftTunnelServer extends Entity
/**
* Gets the displayName
* The MicrosoftTunnelServer's display name
* The display name for the server. This property is required when a server is created and cannot be cleared during updates.
*
* @return string|null The displayName
*/
@ -70,7 +70,7 @@ class MicrosoftTunnelServer extends Entity
/**
* Sets the displayName
* The MicrosoftTunnelServer's display name
* The display name for the server. This property is required when a server is created and cannot be cleared during updates.
*
* @param string $val The displayName
*
@ -84,7 +84,7 @@ class MicrosoftTunnelServer extends Entity
/**
* Gets the lastCheckinDateTime
* When the MicrosoftTunnelServer last checked in
* Indicates when the server last checked in
*
* @return \DateTime|null The lastCheckinDateTime
*/
@ -103,7 +103,7 @@ class MicrosoftTunnelServer extends Entity
/**
* Sets the lastCheckinDateTime
* When the MicrosoftTunnelServer last checked in
* Indicates when the server last checked in
*
* @param \DateTime $val The lastCheckinDateTime
*
@ -146,7 +146,7 @@ class MicrosoftTunnelServer extends Entity
/**
* Gets the tunnelServerHealthStatus
* The MicrosoftTunnelServer's health status. Possible values are: unknown, healthy, unhealthy, warning, offline, upgradeInProgress, upgradeFailed.
* Indicates the server's health Status as of the last evaluation time. Health is evaluated every 60 seconds, and the possible values are: unknown, healthy, unhealthy, warning, offline, upgradeInProgress, upgradeFailed. Possible values are: unknown, healthy, unhealthy, warning, offline, upgradeInProgress, upgradeFailed, unknownFutureValue.
*
* @return MicrosoftTunnelServerHealthStatus|null The tunnelServerHealthStatus
*/
@ -165,7 +165,7 @@ class MicrosoftTunnelServer extends Entity
/**
* Sets the tunnelServerHealthStatus
* The MicrosoftTunnelServer's health status. Possible values are: unknown, healthy, unhealthy, warning, offline, upgradeInProgress, upgradeFailed.
* Indicates the server's health Status as of the last evaluation time. Health is evaluated every 60 seconds, and the possible values are: unknown, healthy, unhealthy, warning, offline, upgradeInProgress, upgradeFailed. Possible values are: unknown, healthy, unhealthy, warning, offline, upgradeInProgress, upgradeFailed, unknownFutureValue.
*
* @param MicrosoftTunnelServerHealthStatus $val The tunnelServerHealthStatus
*

View File

@ -36,4 +36,5 @@ class MicrosoftTunnelServerHealthStatus extends Enum
const OFFLINE = "offline";
const UPGRADE_IN_PROGRESS = "upgradeInProgress";
const UPGRADE_FAILED = "upgradeFailed";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -216,7 +216,7 @@ class MicrosoftTunnelServerLogCollectionResponse extends Entity
/**
* Gets the status
* The status of log collection. Possible values are: pending, completed, failed.
* The status of log collection. Possible values are: pending, completed, failed. Possible values are: pending, completed, failed, unknownFutureValue.
*
* @return MicrosoftTunnelLogCollectionStatus|null The status
*/
@ -235,7 +235,7 @@ class MicrosoftTunnelServerLogCollectionResponse extends Entity
/**
* Sets the status
* The status of log collection. Possible values are: pending, completed, failed.
* The status of log collection. Possible values are: pending, completed, failed. Possible values are: pending, completed, failed, unknownFutureValue.
*
* @param MicrosoftTunnelLogCollectionStatus $val The status
*

View File

@ -26,7 +26,7 @@ class MicrosoftTunnelSite extends Entity
{
/**
* Gets the description
* The MicrosoftTunnelSite's description
* The site's description (optional)
*
* @return string|null The description
*/
@ -41,7 +41,7 @@ class MicrosoftTunnelSite extends Entity
/**
* Sets the description
* The MicrosoftTunnelSite's description
* The site's description (optional)
*
* @param string $val The description
*
@ -55,7 +55,7 @@ class MicrosoftTunnelSite extends Entity
/**
* Gets the displayName
* The MicrosoftTunnelSite's display name
* The display name for the site. This property is required when a site is created.
*
* @return string|null The displayName
*/
@ -70,7 +70,7 @@ class MicrosoftTunnelSite extends Entity
/**
* Sets the displayName
* The MicrosoftTunnelSite's display name
* The display name for the site. This property is required when a site is created.
*
* @param string $val The displayName
*
@ -113,7 +113,7 @@ class MicrosoftTunnelSite extends Entity
/**
* Gets the internalNetworkProbeUrl
* The MicrosoftTunnelSite's Internal Network Access Probe URL
* The site's Internal Network Access Probe URL
*
* @return string|null The internalNetworkProbeUrl
*/
@ -128,7 +128,7 @@ class MicrosoftTunnelSite extends Entity
/**
* Sets the internalNetworkProbeUrl
* The MicrosoftTunnelSite's Internal Network Access Probe URL
* The site's Internal Network Access Probe URL
*
* @param string $val The internalNetworkProbeUrl
*
@ -142,7 +142,7 @@ class MicrosoftTunnelSite extends Entity
/**
* Gets the publicAddress
* The MicrosoftTunnelSite's public domain name or IP address
* The site's public domain name or IP address
*
* @return string|null The publicAddress
*/
@ -157,7 +157,7 @@ class MicrosoftTunnelSite extends Entity
/**
* Sets the publicAddress
* The MicrosoftTunnelSite's public domain name or IP address
* The site's public domain name or IP address
*
* @param string $val The publicAddress
*
@ -171,7 +171,7 @@ class MicrosoftTunnelSite extends Entity
/**
* Gets the roleScopeTagIds
* List of Scope Tags for this Entity instance.
* List of Scope Tags for this Entity instance
*
* @return string|null The roleScopeTagIds
*/
@ -186,7 +186,7 @@ class MicrosoftTunnelSite extends Entity
/**
* Sets the roleScopeTagIds
* List of Scope Tags for this Entity instance.
* List of Scope Tags for this Entity instance
*
* @param string $val The roleScopeTagIds
*
@ -229,7 +229,7 @@ class MicrosoftTunnelSite extends Entity
/**
* Gets the upgradeAvailable
* True if an upgrade is available
* The site provides the state of when an upgrade is available
*
* @return bool|null The upgradeAvailable
*/
@ -244,7 +244,7 @@ class MicrosoftTunnelSite extends Entity
/**
* Sets the upgradeAvailable
* True if an upgrade is available
* The site provides the state of when an upgrade is available
*
* @param bool $val The upgradeAvailable
*

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.
*
* MobileThreatDefensePartnerPriority 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;
/**
* MobileThreatDefensePartnerPriority 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 MobileThreatDefensePartnerPriority extends Enum
{
/**
* The Enum MobileThreatDefensePartnerPriority
*/
const DEFENDER_OVER_THIRD_PARTY_PARTNER = "defenderOverThirdPartyPartner";
const THIRD_PARTY_PARTNER_OVER_DEFENDER = "thirdPartyPartnerOverDefender";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -175,7 +175,7 @@ class OAuth2PermissionGrant extends Entity
/**
* Gets the scope
* A space-separated list of the claim values for delegated permissions which should be included in access tokens for the resource application (the API). For example, openid User.Read GroupMember.Read.All. Each claim value should match the value field of one of the delegated permissions defined by the API, listed in the publishedPermissionScopes property of the resource service principal.
* A space-separated list of the claim values for delegated permissions which should be included in access tokens for the resource application (the API). For example, openid User.Read GroupMember.Read.All. Each claim value should match the value field of one of the delegated permissions defined by the API, listed in the publishedPermissionScopes property of the resource service principal. Must not exceed 3850 characters in length.
*
* @return string|null The scope
*/
@ -190,7 +190,7 @@ class OAuth2PermissionGrant extends Entity
/**
* Sets the scope
* A space-separated list of the claim values for delegated permissions which should be included in access tokens for the resource application (the API). For example, openid User.Read GroupMember.Read.All. Each claim value should match the value field of one of the delegated permissions defined by the API, listed in the publishedPermissionScopes property of the resource service principal.
* A space-separated list of the claim values for delegated permissions which should be included in access tokens for the resource application (the API). For example, openid User.Read GroupMember.Read.All. Each claim value should match the value field of one of the delegated permissions defined by the API, listed in the publishedPermissionScopes property of the resource service principal. Must not exceed 3850 characters in length.
*
* @param string $val The scope
*

View File

@ -57,6 +57,7 @@ class OrganizationSettings extends Entity
/**
* Gets the contactInsights
* Contains the properties that are configured by an administrator as a tenant-level privacy control whether to identify duplicate contacts among a user's contacts list and suggest the user to merge those contacts to have a cleaner contacts list. List contactInsights returns the settings to display or return contact insights in an organization.
*
* @return InsightsSettings|null The contactInsights
*/
@ -75,6 +76,7 @@ class OrganizationSettings extends Entity
/**
* Sets the contactInsights
* Contains the properties that are configured by an administrator as a tenant-level privacy control whether to identify duplicate contacts among a user's contacts list and suggest the user to merge those contacts to have a cleaner contacts list. List contactInsights returns the settings to display or return contact insights in an organization.
*
* @param InsightsSettings $val The contactInsights
*

View File

@ -0,0 +1,54 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* OrganizationalMessageTenantConsent 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;
/**
* OrganizationalMessageTenantConsent 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 OrganizationalMessageTenantConsent extends Entity
{
/**
* Gets the firstPartyMessageAllowed
* Indicates if first party message is allowed
*
* @return bool|null The firstPartyMessageAllowed
*/
public function getFirstPartyMessageAllowed()
{
if (array_key_exists("firstPartyMessageAllowed", $this->_propDict)) {
return $this->_propDict["firstPartyMessageAllowed"];
} else {
return null;
}
}
/**
* Sets the firstPartyMessageAllowed
* Indicates if first party message is allowed
*
* @param bool $val The value of the firstPartyMessageAllowed
*
* @return OrganizationalMessageTenantConsent
*/
public function setFirstPartyMessageAllowed($val)
{
$this->_propDict["firstPartyMessageAllowed"] = $val;
return $this;
}
}

View File

@ -0,0 +1,148 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PayloadByFilter 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;
/**
* PayloadByFilter 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 PayloadByFilter extends Entity
{
/**
* Gets the assignmentFilterType
* An enum to indicate whether the filter is applied. Possible values are include,exclude,none.'include' means devices that match the filter conditions receive the app or policy. Devices that don't match the filter conditions don't receive the app or policy. 'exclude' means devices that match the filter conditions don't receive the app or policy. Devices that don't match the filter conditions receive the app or policy.'none' means no filter is assigned. Possible values are: none, include, exclude.
*
* @return DeviceAndAppManagementAssignmentFilterType|null The assignmentFilterType
*/
public function getAssignmentFilterType()
{
if (array_key_exists("assignmentFilterType", $this->_propDict)) {
if (is_a($this->_propDict["assignmentFilterType"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentFilterType") || is_null($this->_propDict["assignmentFilterType"])) {
return $this->_propDict["assignmentFilterType"];
} else {
$this->_propDict["assignmentFilterType"] = new DeviceAndAppManagementAssignmentFilterType($this->_propDict["assignmentFilterType"]);
return $this->_propDict["assignmentFilterType"];
}
}
return null;
}
/**
* Sets the assignmentFilterType
* An enum to indicate whether the filter is applied. Possible values are include,exclude,none.'include' means devices that match the filter conditions receive the app or policy. Devices that don't match the filter conditions don't receive the app or policy. 'exclude' means devices that match the filter conditions don't receive the app or policy. Devices that don't match the filter conditions receive the app or policy.'none' means no filter is assigned. Possible values are: none, include, exclude.
*
* @param DeviceAndAppManagementAssignmentFilterType $val The value to assign to the assignmentFilterType
*
* @return PayloadByFilter The PayloadByFilter
*/
public function setAssignmentFilterType($val)
{
$this->_propDict["assignmentFilterType"] = $val;
return $this;
}
/**
* Gets the groupId
* The Azure AD security group ID
*
* @return string|null The groupId
*/
public function getGroupId()
{
if (array_key_exists("groupId", $this->_propDict)) {
return $this->_propDict["groupId"];
} else {
return null;
}
}
/**
* Sets the groupId
* The Azure AD security group ID
*
* @param string $val The value of the groupId
*
* @return PayloadByFilter
*/
public function setGroupId($val)
{
$this->_propDict["groupId"] = $val;
return $this;
}
/**
* Gets the payloadId
* The policy identifier
*
* @return string|null The payloadId
*/
public function getPayloadId()
{
if (array_key_exists("payloadId", $this->_propDict)) {
return $this->_propDict["payloadId"];
} else {
return null;
}
}
/**
* Sets the payloadId
* The policy identifier
*
* @param string $val The value of the payloadId
*
* @return PayloadByFilter
*/
public function setPayloadId($val)
{
$this->_propDict["payloadId"] = $val;
return $this;
}
/**
* Gets the payloadType
* The policy type identifier. Possible values are unknown,settingsPolicy,application,microsoftApplicationManagementPolicy,androidForWorkApplication,enrollmentConfiguration,microsoftIntuneManagementExtension,groupPolicy,zeroTouchDeploymentDeviceConfigProfile,androidEnterprisePolicy,deviceFirmwareConfigurationInterfacePolicy,windowsUpdateProfile,resourceAccessPolicy,sidecarPolicy,deviceConfigurationPolicy,microsoftManagementPlatformCloud. Possible values are: unknown, deviceConfigurationAndCompliance, application, androidEnterpriseApp, enrollmentConfiguration, groupPolicyConfiguration, zeroTouchDeploymentDeviceConfigProfile, androidEnterpriseConfiguration, deviceFirmwareConfigurationInterfacePolicy, resourceAccessPolicy, win32app, deviceManagmentConfigurationAndCompliancePolicy.
*
* @return AssociatedAssignmentPayloadType|null The payloadType
*/
public function getPayloadType()
{
if (array_key_exists("payloadType", $this->_propDict)) {
if (is_a($this->_propDict["payloadType"], "\Beta\Microsoft\Graph\Model\AssociatedAssignmentPayloadType") || is_null($this->_propDict["payloadType"])) {
return $this->_propDict["payloadType"];
} else {
$this->_propDict["payloadType"] = new AssociatedAssignmentPayloadType($this->_propDict["payloadType"]);
return $this->_propDict["payloadType"];
}
}
return null;
}
/**
* Sets the payloadType
* The policy type identifier. Possible values are unknown,settingsPolicy,application,microsoftApplicationManagementPolicy,androidForWorkApplication,enrollmentConfiguration,microsoftIntuneManagementExtension,groupPolicy,zeroTouchDeploymentDeviceConfigProfile,androidEnterprisePolicy,deviceFirmwareConfigurationInterfacePolicy,windowsUpdateProfile,resourceAccessPolicy,sidecarPolicy,deviceConfigurationPolicy,microsoftManagementPlatformCloud. Possible values are: unknown, deviceConfigurationAndCompliance, application, androidEnterpriseApp, enrollmentConfiguration, groupPolicyConfiguration, zeroTouchDeploymentDeviceConfigProfile, androidEnterpriseConfiguration, deviceFirmwareConfigurationInterfacePolicy, resourceAccessPolicy, win32app, deviceManagmentConfigurationAndCompliancePolicy.
*
* @param AssociatedAssignmentPayloadType $val The value to assign to the payloadType
*
* @return PayloadByFilter The PayloadByFilter
*/
public function setPayloadType($val)
{
$this->_propDict["payloadType"] = $val;
return $this;
}
}

View File

@ -32,4 +32,5 @@ class PlannerContainerType extends Enum
const GROUP = "group";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
const ROSTER = "roster";
const PROJECT = "project";
}

View File

@ -54,7 +54,7 @@ class PlannerPlanContainer extends Entity
/**
* Gets the type
* The type of the resource that contains the plan. See the previous table for supported types. Possible values are: group, unknownFutureValue, roster. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster.
* The type of the resource that contains the plan. See the previous table for supported types. Possible values are: group, unknownFutureValue, roster and project. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster, project.
*
* @return PlannerContainerType|null The type
*/
@ -73,7 +73,7 @@ class PlannerPlanContainer extends Entity
/**
* Sets the type
* The type of the resource that contains the plan. See the previous table for supported types. Possible values are: group, unknownFutureValue, roster. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster.
* The type of the resource that contains the plan. See the previous table for supported types. Possible values are: group, unknownFutureValue, roster and project. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster, project.
*
* @param PlannerContainerType $val The value to assign to the type
*

View File

@ -34,4 +34,5 @@ class PlannerPlanContextType extends Enum
const MEETING_NOTES = "meetingNotes";
const OTHER = "other";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
const LOOP_PAGE = "loopPage";
}

View File

@ -88,6 +88,7 @@ class PlannerTaskDetails extends PlannerDelta
/**
* Gets the notes
* Rich text description of the task. To be used by HTML-aware clients. For backwards compatibility, a plain-text version of the HTML description will be synced to the 'description' field. If this field has not previously been set but 'description' has been, the existing description will be synchronized to 'notes' with minimal whitespace-preserving HTML markup. Setting both 'description' and 'notes' is an error and will result in an exception.
*
* @return ItemBody|null The notes
*/
@ -106,6 +107,7 @@ class PlannerTaskDetails extends PlannerDelta
/**
* Sets the notes
* Rich text description of the task. To be used by HTML-aware clients. For backwards compatibility, a plain-text version of the HTML description will be synced to the 'description' field. If this field has not previously been set but 'description' has been, the existing description will be synchronized to 'notes' with minimal whitespace-preserving HTML markup. Setting both 'description' and 'notes' is an error and will result in an exception.
*
* @param ItemBody $val The notes
*

View File

@ -88,6 +88,7 @@ class PrinterShare extends PrinterBase
/**
* Gets the viewPoint
* Additional data for a printer share as viewed by the signed-in user.
*
* @return PrinterShareViewpoint|null The viewPoint
*/
@ -106,6 +107,7 @@ class PrinterShare extends PrinterBase
/**
* Sets the viewPoint
* Additional data for a printer share as viewed by the signed-in user.
*
* @param PrinterShareViewpoint $val The viewPoint
*

View File

@ -26,6 +26,7 @@ class PrinterShareViewpoint extends Entity
/**
* Gets the lastUsedDateTime
* Date and time when the printer was last used by the signed-in user. 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 lastUsedDateTime
*/
@ -44,6 +45,7 @@ class PrinterShareViewpoint extends Entity
/**
* Sets the lastUsedDateTime
* Date and time when the printer was last used by the signed-in user. 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 value to assign to the lastUsedDateTime
*

View File

@ -53,7 +53,7 @@ class RecommendedAction extends Entity
}
/**
* Gets the potentialScoreImpact
* Potential improvement in security score of the tenant from the recommended action.
* Potential improvement in the tenant security score from the recommended action.
*
* @return float|null The potentialScoreImpact
*/
@ -68,7 +68,7 @@ class RecommendedAction extends Entity
/**
* Sets the potentialScoreImpact
* Potential improvement in security score of the tenant from the recommended action.
* Potential improvement in the tenant security score from the recommended action.
*
* @param float $val The value of the potentialScoreImpact
*

View File

@ -53,4 +53,8 @@ class RemoteAction extends Enum
const GET_FILE_VAULT_KEY = "getFileVaultKey";
const SET_DEVICE_NAME = "setDeviceName";
const ACTIVATE_DEVICE_ESIM = "activateDeviceEsim";
const DEPROVISION = "deprovision";
const DISABLE = "disable";
const REENABLE = "reenable";
const MOVE_DEVICE_TO_ORGANIZATIONAL_UNIT = "moveDeviceToOrganizationalUnit";
}

View File

@ -26,7 +26,7 @@ class RemoteActionAudit extends Entity
{
/**
* Gets the action
* The action name. Possible values are: unknown, factoryReset, removeCompanyData, resetPasscode, remoteLock, enableLostMode, disableLostMode, locateDevice, rebootNow, recoverPasscode, cleanWindowsDevice, logoutSharedAppleDeviceActiveUser, quickScan, fullScan, windowsDefenderUpdateSignatures, factoryResetKeepEnrollmentData, updateDeviceAccount, automaticRedeployment, shutDown, rotateBitLockerKeys, rotateFileVaultKey, getFileVaultKey, setDeviceName, activateDeviceEsim.
* The action name. Possible values are: unknown, factoryReset, removeCompanyData, resetPasscode, remoteLock, enableLostMode, disableLostMode, locateDevice, rebootNow, recoverPasscode, cleanWindowsDevice, logoutSharedAppleDeviceActiveUser, quickScan, fullScan, windowsDefenderUpdateSignatures, factoryResetKeepEnrollmentData, updateDeviceAccount, automaticRedeployment, shutDown, rotateBitLockerKeys, rotateFileVaultKey, getFileVaultKey, setDeviceName, activateDeviceEsim, deprovision, disable, reenable, moveDeviceToOrganizationalUnit.
*
* @return RemoteAction|null The action
*/
@ -45,7 +45,7 @@ class RemoteActionAudit extends Entity
/**
* Sets the action
* The action name. Possible values are: unknown, factoryReset, removeCompanyData, resetPasscode, remoteLock, enableLostMode, disableLostMode, locateDevice, rebootNow, recoverPasscode, cleanWindowsDevice, logoutSharedAppleDeviceActiveUser, quickScan, fullScan, windowsDefenderUpdateSignatures, factoryResetKeepEnrollmentData, updateDeviceAccount, automaticRedeployment, shutDown, rotateBitLockerKeys, rotateFileVaultKey, getFileVaultKey, setDeviceName, activateDeviceEsim.
* The action name. Possible values are: unknown, factoryReset, removeCompanyData, resetPasscode, remoteLock, enableLostMode, disableLostMode, locateDevice, rebootNow, recoverPasscode, cleanWindowsDevice, logoutSharedAppleDeviceActiveUser, quickScan, fullScan, windowsDefenderUpdateSignatures, factoryResetKeepEnrollmentData, updateDeviceAccount, automaticRedeployment, shutDown, rotateBitLockerKeys, rotateFileVaultKey, getFileVaultKey, setDeviceName, activateDeviceEsim, deprovision, disable, reenable, moveDeviceToOrganizationalUnit.
*
* @param RemoteAction $val The action
*

View File

@ -53,6 +53,35 @@ class RemoteAssistanceSettings extends Entity
return $this;
}
/**
* Gets the blockChat
* Indicates if sessions to block chat function. This setting is configurable by the admin. Default value is false.
*
* @return bool|null The blockChat
*/
public function getBlockChat()
{
if (array_key_exists("blockChat", $this->_propDict)) {
return $this->_propDict["blockChat"];
} else {
return null;
}
}
/**
* Sets the blockChat
* Indicates if sessions to block chat function. This setting is configurable by the admin. Default value is false.
*
* @param bool $val The blockChat
*
* @return RemoteAssistanceSettings
*/
public function setBlockChat($val)
{
$this->_propDict["blockChat"] = boolval($val);
return $this;
}
/**
* Gets the remoteAssistanceState
* The current state of remote assistance for the account. Possible values are: disabled, enabled. This setting is configurable by the admin. Remote assistance settings that have not yet been configured by the admin have a disabled state. Returned by default. Possible values are: disabled, enabled.

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.
*
* SearchContent 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;
/**
* SearchContent 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 SearchContent extends Enum
{
/**
* The Enum SearchContent
*/
const SHARED_CONTENT = "sharedContent";
const PRIVATE_CONTENT = "privateContent";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

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