1
0
Fork 0

Updating libraries

master
Brie Bruns 2022-10-24 14:01:01 -06:00
parent d7dc8335c5
commit 738f44f7f2
61 changed files with 2120 additions and 50 deletions

12
composer.lock generated
View File

@ -339,16 +339,16 @@
},
{
"name": "microsoft/microsoft-graph",
"version": "1.79.0",
"version": "1.80.0",
"source": {
"type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "c8317b06fbe0f431f421fb40ea0bd83650c2b7b5"
"reference": "37f763d047a9b1d37f755867731be91f4ddd0f1c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/c8317b06fbe0f431f421fb40ea0bd83650c2b7b5",
"reference": "c8317b06fbe0f431f421fb40ea0bd83650c2b7b5",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/37f763d047a9b1d37f755867731be91f4ddd0f1c",
"reference": "37f763d047a9b1d37f755867731be91f4ddd0f1c",
"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.79.0"
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.80.0"
},
"time": "2022-10-13T10:49:09+00:00"
"time": "2022-10-21T17:22:04+00:00"
},
{
"name": "psr/http-client",

View File

@ -342,17 +342,17 @@
},
{
"name": "microsoft/microsoft-graph",
"version": "1.79.0",
"version_normalized": "1.79.0.0",
"version": "1.80.0",
"version_normalized": "1.80.0.0",
"source": {
"type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "c8317b06fbe0f431f421fb40ea0bd83650c2b7b5"
"reference": "37f763d047a9b1d37f755867731be91f4ddd0f1c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/c8317b06fbe0f431f421fb40ea0bd83650c2b7b5",
"reference": "c8317b06fbe0f431f421fb40ea0bd83650c2b7b5",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/37f763d047a9b1d37f755867731be91f4ddd0f1c",
"reference": "37f763d047a9b1d37f755867731be91f4ddd0f1c",
"shasum": ""
},
"require": {
@ -366,7 +366,7 @@
"phpstan/phpstan": "^0.12.90 || ^1.0.0",
"phpunit/phpunit": "^8.0 || ^9.0"
},
"time": "2022-10-13T10:49:09+00:00",
"time": "2022-10-21T17:22:04+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.79.0"
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.80.0"
},
"install-path": "../microsoft/microsoft-graph"
},

View File

@ -5,7 +5,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => '683aae69e5dd138e4f6b8e7043f445f3ebf7ab18',
'reference' => 'd7dc8335c5af9ad135fb7e534dc5ccf4c3343d98',
'name' => '__root__',
'dev' => true,
),
@ -16,7 +16,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => '683aae69e5dd138e4f6b8e7043f445f3ebf7ab18',
'reference' => 'd7dc8335c5af9ad135fb7e534dc5ccf4c3343d98',
'dev_requirement' => false,
),
'guzzlehttp/guzzle' => array(
@ -47,12 +47,12 @@
'dev_requirement' => false,
),
'microsoft/microsoft-graph' => array(
'pretty_version' => '1.79.0',
'version' => '1.79.0.0',
'pretty_version' => '1.80.0',
'version' => '1.80.0.0',
'type' => 'library',
'install_path' => __DIR__ . '/../microsoft/microsoft-graph',
'aliases' => array(),
'reference' => 'c8317b06fbe0f431f421fb40ea0bd83650c2b7b5',
'reference' => '37f763d047a9b1d37f755867731be91f4ddd0f1c',
'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.79.0"
"microsoft/microsoft-graph": "^1.80.0"
}
}
```

View File

@ -26,6 +26,7 @@ class AlertImpact extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the aggregationType
* The aggregation type of the impact. The possible values are: count, percentage, affectedCloudPcCount, affectedCloudPcPercentage, unknownFutureValue.
*
* @return AggregationType|null The aggregationType
*/
@ -44,6 +45,7 @@ class AlertImpact extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the aggregationType
* The aggregation type of the impact. The possible values are: count, percentage, affectedCloudPcCount, affectedCloudPcPercentage, unknownFutureValue.
*
* @param AggregationType $val The value to assign to the aggregationType
*
@ -56,6 +58,7 @@ class AlertImpact extends \Beta\Microsoft\Graph\Model\Entity
}
/**
* Gets the value
* The number value of the impact.
*
* @return int|null The value
*/
@ -70,6 +73,7 @@ class AlertImpact extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the value
* The number value of the impact.
*
* @param int $val The value of the value
*

View File

@ -26,6 +26,7 @@ class AlertRecord extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the alertImpact
* The impact of the alert event. Consists of a number followed by the aggregation type. For example, 6 Count and 12 AffectedCloudPcPercentage.
*
* @return AlertImpact|null The alertImpact
*/
@ -44,6 +45,7 @@ class AlertRecord extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the alertImpact
* The impact of the alert event. Consists of a number followed by the aggregation type. For example, 6 Count and 12 AffectedCloudPcPercentage.
*
* @param AlertImpact $val The alertImpact
*
@ -57,6 +59,7 @@ class AlertRecord extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the alertRuleId
* The corresponding ID of the alert rule.
*
* @return string|null The alertRuleId
*/
@ -71,6 +74,7 @@ class AlertRecord extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the alertRuleId
* The corresponding ID of the alert rule.
*
* @param string $val The alertRuleId
*
@ -84,6 +88,7 @@ class AlertRecord extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the alertRuleTemplate
* The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue.
*
* @return AlertRuleTemplate|null The alertRuleTemplate
*/
@ -102,6 +107,7 @@ class AlertRecord extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the alertRuleTemplate
* The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue.
*
* @param AlertRuleTemplate $val The alertRuleTemplate
*
@ -115,6 +121,7 @@ class AlertRecord extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the detectedDateTime
* The date and time when the alert event was detected. The Timestamp type represents date and time information using ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @return \DateTime|null The detectedDateTime
*/
@ -133,6 +140,7 @@ class AlertRecord extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the detectedDateTime
* The date and time when the alert event was detected. The Timestamp type represents date and time information using ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @param \DateTime $val The detectedDateTime
*
@ -146,6 +154,7 @@ class AlertRecord extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the displayName
* The display name of the alert record.
*
* @return string|null The displayName
*/
@ -160,6 +169,7 @@ class AlertRecord extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the displayName
* The display name of the alert record.
*
* @param string $val The displayName
*
@ -173,6 +183,7 @@ class AlertRecord extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the lastUpdatedDateTime
* The date and time when the alert record was last updated. The Timestamp type represents date and time information using ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @return \DateTime|null The lastUpdatedDateTime
*/
@ -191,6 +202,7 @@ class AlertRecord extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the lastUpdatedDateTime
* The date and time when the alert record was last updated. The Timestamp type represents date and time information using ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @param \DateTime $val The lastUpdatedDateTime
*
@ -204,6 +216,7 @@ class AlertRecord extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the resolvedDateTime
* The date and time when the alert event was resolved. The Timestamp type represents date and time information using ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @return \DateTime|null The resolvedDateTime
*/
@ -222,6 +235,7 @@ class AlertRecord extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the resolvedDateTime
* The date and time when the alert event was resolved. The Timestamp type represents date and time information using ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @param \DateTime $val The resolvedDateTime
*
@ -235,6 +249,7 @@ class AlertRecord extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the severity
* The severity of the alert event. The possible values are: unknown, informational, warning, critical, unknownFutureValue.
*
* @return RuleSeverityType|null The severity
*/
@ -253,6 +268,7 @@ class AlertRecord extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the severity
* The severity of the alert event. The possible values are: unknown, informational, warning, critical, unknownFutureValue.
*
* @param RuleSeverityType $val The severity
*
@ -266,6 +282,7 @@ class AlertRecord extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the status
* The status of the alert record. The possible values are: active, resolved, unknownFutureValue.
*
* @return AlertStatusType|null The status
*/
@ -284,6 +301,7 @@ class AlertRecord extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the status
* The status of the alert record. The possible values are: active, resolved, unknownFutureValue.
*
* @param AlertStatusType $val The status
*

View File

@ -26,6 +26,7 @@ class AlertRule extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the alertRuleTemplate
* The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue.
*
* @return AlertRuleTemplate|null The alertRuleTemplate
*/
@ -44,6 +45,7 @@ class AlertRule extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the alertRuleTemplate
* The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue.
*
* @param AlertRuleTemplate $val The alertRuleTemplate
*
@ -57,6 +59,7 @@ class AlertRule extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the description
* The rule description.
*
* @return string|null The description
*/
@ -71,6 +74,7 @@ class AlertRule extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the description
* The rule description.
*
* @param string $val The description
*
@ -84,6 +88,7 @@ class AlertRule extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the displayName
* The display name of the rule.
*
* @return string|null The displayName
*/
@ -98,6 +103,7 @@ class AlertRule extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the displayName
* The display name of the rule.
*
* @param string $val The displayName
*
@ -111,6 +117,7 @@ class AlertRule extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the enabled
* The status of the rule that indicates whether the rule is enabled or disabled. If true, the rule is enabled; otherwise, the rule is disabled.
*
* @return bool|null The enabled
*/
@ -125,6 +132,7 @@ class AlertRule extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the enabled
* The status of the rule that indicates whether the rule is enabled or disabled. If true, the rule is enabled; otherwise, the rule is disabled.
*
* @param bool $val The enabled
*
@ -138,6 +146,7 @@ class AlertRule extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the isSystemRule
* Indicates whether the rule is a system rule. If true, the rule is a system rule; otherwise, the rule is a custom defined rule and can be edited. System rules are built-in and only
*
* @return bool|null The isSystemRule
*/
@ -152,6 +161,7 @@ class AlertRule extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the isSystemRule
* Indicates whether the rule is a system rule. If true, the rule is a system rule; otherwise, the rule is a custom defined rule and can be edited. System rules are built-in and only
*
* @param bool $val The isSystemRule
*

View File

@ -27,6 +27,7 @@ class Monitoring extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the alertRecords
* The collection of records of alert events.
*
* @return array|null The alertRecords
*/
@ -41,6 +42,7 @@ class Monitoring extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the alertRecords
* The collection of records of alert events.
*
* @param AlertRecord[] $val The alertRecords
*
@ -55,6 +57,7 @@ class Monitoring extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the alertRules
* The collection of alert rules.
*
* @return array|null The alertRules
*/
@ -69,6 +72,7 @@ class Monitoring extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the alertRules
* The collection of alert rules.
*
* @param AlertRule[] $val The alertRules
*

View File

@ -26,6 +26,7 @@ class NotificationChannel extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the notificationChannelType
* The type of the notification channel. The possible values are: portal, email, phoneCall, sms, unknownFutureValue.
*
* @return NotificationChannelType|null The notificationChannelType
*/
@ -44,6 +45,7 @@ class NotificationChannel extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the notificationChannelType
* The type of the notification channel. The possible values are: portal, email, phoneCall, sms, unknownFutureValue.
*
* @param NotificationChannelType $val The value to assign to the notificationChannelType
*
@ -57,6 +59,7 @@ class NotificationChannel extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the notificationReceivers
* Information about the notification receivers, such as locale and contact information. For example, en-us for locale and serena.davis@contoso.com for contact information.
*
* @return NotificationReceiver|null The notificationReceivers
*/
@ -75,6 +78,7 @@ class NotificationChannel extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the notificationReceivers
* Information about the notification receivers, such as locale and contact information. For example, en-us for locale and serena.davis@contoso.com for contact information.
*
* @param NotificationReceiver $val The value to assign to the notificationReceivers
*
@ -87,6 +91,7 @@ class NotificationChannel extends \Beta\Microsoft\Graph\Model\Entity
}
/**
* Gets the receivers
* The contact information about the notification receivers, such as email addresses. For portal notifications, receivers can be left blank. For email notifications, receivers consists of email addresses such as serena.davis@contoso.com.
*
* @return string|null The receivers
*/
@ -101,6 +106,7 @@ class NotificationChannel extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the receivers
* The contact information about the notification receivers, such as email addresses. For portal notifications, receivers can be left blank. For email notifications, receivers consists of email addresses such as serena.davis@contoso.com.
*
* @param string $val The value of the receivers
*

View File

@ -25,6 +25,7 @@ class NotificationReceiver extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the contactInformation
* The contact information about the notification receivers, such as an email address. Currently, only email and portal notifications are supported. For portal notifications, contactInformation can be left blank. For email notifications, contactInformation consists of an email address such as serena.davis@contoso.com.
*
* @return string|null The contactInformation
*/
@ -39,6 +40,7 @@ class NotificationReceiver extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the contactInformation
* The contact information about the notification receivers, such as an email address. Currently, only email and portal notifications are supported. For portal notifications, contactInformation can be left blank. For email notifications, contactInformation consists of an email address such as serena.davis@contoso.com.
*
* @param string $val The value of the contactInformation
*
@ -51,6 +53,7 @@ class NotificationReceiver extends \Beta\Microsoft\Graph\Model\Entity
}
/**
* Gets the locale
* Defines the language and format in which the notification will be sent. Supported locale values are: en-us, cs-cz, de-de, es-es, fr-fr, hu-hu, it-it, ja-jp, ko-kr, nl-nl, pl-pl, pt-br, pt-pt, ru-ru, sv-se, tr-tr, zh-cn, zh-tw.
*
* @return string|null The locale
*/
@ -65,6 +68,7 @@ class NotificationReceiver extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the locale
* Defines the language and format in which the notification will be sent. Supported locale values are: en-us, cs-cz, de-de, es-es, fr-fr, hu-hu, it-it, ja-jp, ko-kr, nl-nl, pl-pl, pt-br, pt-pt, ru-ru, sv-se, tr-tr, zh-cn, zh-tw.
*
* @param string $val The value of the locale
*

View File

@ -26,6 +26,7 @@ class PortalNotification extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the alertImpact
* The associated alert impact.
*
* @return AlertImpact|null The alertImpact
*/
@ -44,6 +45,7 @@ class PortalNotification extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the alertImpact
* The associated alert impact.
*
* @param AlertImpact $val The value to assign to the alertImpact
*
@ -56,6 +58,7 @@ class PortalNotification extends \Beta\Microsoft\Graph\Model\Entity
}
/**
* Gets the alertRecordId
* The associated alert record ID.
*
* @return string|null The alertRecordId
*/
@ -70,6 +73,7 @@ class PortalNotification extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the alertRecordId
* The associated alert record ID.
*
* @param string $val The value of the alertRecordId
*
@ -82,6 +86,7 @@ class PortalNotification extends \Beta\Microsoft\Graph\Model\Entity
}
/**
* Gets the alertRuleId
* The associated alert rule ID.
*
* @return string|null The alertRuleId
*/
@ -96,6 +101,7 @@ class PortalNotification extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the alertRuleId
* The associated alert rule ID.
*
* @param string $val The value of the alertRuleId
*
@ -108,6 +114,7 @@ class PortalNotification extends \Beta\Microsoft\Graph\Model\Entity
}
/**
* Gets the alertRuleName
* The associated alert rule name.
*
* @return string|null The alertRuleName
*/
@ -122,6 +129,7 @@ class PortalNotification extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the alertRuleName
* The associated alert rule name.
*
* @param string $val The value of the alertRuleName
*
@ -135,6 +143,7 @@ class PortalNotification extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the alertRuleTemplate
* The associated alert rule template. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue.
*
* @return AlertRuleTemplate|null The alertRuleTemplate
*/
@ -153,6 +162,7 @@ class PortalNotification extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the alertRuleTemplate
* The associated alert rule template. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue.
*
* @param AlertRuleTemplate $val The value to assign to the alertRuleTemplate
*
@ -165,6 +175,7 @@ class PortalNotification extends \Beta\Microsoft\Graph\Model\Entity
}
/**
* Gets the id
* The unique identifier for the portal notification.
*
* @return string|null The id
*/
@ -179,6 +190,7 @@ class PortalNotification extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the id
* The unique identifier for the portal notification.
*
* @param string $val The value of the id
*
@ -191,6 +203,7 @@ class PortalNotification extends \Beta\Microsoft\Graph\Model\Entity
}
/**
* Gets the isPortalNotificationSent
* If true, the portal notification has already been sent for the user; otherwise, the portal notification hasn't been sent yet.
*
* @return bool|null The isPortalNotificationSent
*/
@ -205,6 +218,7 @@ class PortalNotification extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the isPortalNotificationSent
* If true, the portal notification has already been sent for the user; otherwise, the portal notification hasn't been sent yet.
*
* @param bool $val The value of the isPortalNotificationSent
*
@ -218,6 +232,7 @@ class PortalNotification extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the severity
* The associated alert rule severity. The possible values are: unknown, informational, warning, critical, unknownFutureValue.
*
* @return RuleSeverityType|null The severity
*/
@ -236,6 +251,7 @@ class PortalNotification extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the severity
* The associated alert rule severity. The possible values are: unknown, informational, warning, critical, unknownFutureValue.
*
* @param RuleSeverityType $val The value to assign to the severity
*

View File

@ -26,6 +26,7 @@ class RuleThreshold extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the aggregation
* Indicates the built-in aggregation methods. The possible values are: count, percentage, affectedCloudPcCount, affectedCloudPcPercentage, unknownFutureValue.
*
* @return AggregationType|null The aggregation
*/
@ -44,6 +45,7 @@ class RuleThreshold extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the aggregation
* Indicates the built-in aggregation methods. The possible values are: count, percentage, affectedCloudPcCount, affectedCloudPcPercentage, unknownFutureValue.
*
* @param AggregationType $val The value to assign to the aggregation
*
@ -57,6 +59,7 @@ class RuleThreshold extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the operator
* Indicates the built-in operator. The possible values are: greaterOrEqual, equal, greater, less, lessOrEqual, notEqual, unknownFutureValue.
*
* @return OperatorType|null The operator
*/
@ -75,6 +78,7 @@ class RuleThreshold extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the operator
* Indicates the built-in operator. The possible values are: greaterOrEqual, equal, greater, less, lessOrEqual, notEqual, unknownFutureValue.
*
* @param OperatorType $val The value to assign to the operator
*
@ -87,6 +91,7 @@ class RuleThreshold extends \Beta\Microsoft\Graph\Model\Entity
}
/**
* Gets the target
* The target threshold value.
*
* @return int|null The target
*/
@ -101,6 +106,7 @@ class RuleThreshold extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the target
* The target threshold value.
*
* @param int $val The value of the target
*

View File

@ -25,7 +25,7 @@ class RuleBasedSubjectSet extends \Beta\Microsoft\Graph\Model\SubjectSet
{
/**
* Gets the rule
* The rule for the subject set.
* The rule for the subject set. Lifecycle Workflows supports a rich set of user properties for configuring the rules using $filter query expressions. For more information, see supported user and query parameters.
*
* @return string|null The rule
*/
@ -40,7 +40,7 @@ class RuleBasedSubjectSet extends \Beta\Microsoft\Graph\Model\SubjectSet
/**
* Sets the rule
* The rule for the subject set.
* The rule for the subject set. Lifecycle Workflows supports a rich set of user properties for configuring the rules using $filter query expressions. For more information, see supported user and query parameters.
*
* @param string $val The value of the rule
*

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. This is a multi-valued enumeration whose allowed combinations are joiner, joiner,leaver, or leaver. Supports $filter (eq).
* 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, has).
*
* @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. This is a multi-valued enumeration whose allowed combinations are joiner, joiner,leaver, or leaver. Supports $filter (eq).
* 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, has).
*
* @param LifecycleTaskCategory $val The category
*

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.
*
* AuthenticationAppAdminConfiguration 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;
/**
* AuthenticationAppAdminConfiguration 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 AuthenticationAppAdminConfiguration extends Enum
{
/**
* The Enum AuthenticationAppAdminConfiguration
*/
const NOT_APPLICABLE = "notApplicable";
const ENABLED = "enabled";
const DISABLED = "disabled";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,130 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AuthenticationAppDeviceDetails 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;
/**
* AuthenticationAppDeviceDetails 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 AuthenticationAppDeviceDetails extends Entity
{
/**
* Gets the appVersion
*
* @return string|null The appVersion
*/
public function getAppVersion()
{
if (array_key_exists("appVersion", $this->_propDict)) {
return $this->_propDict["appVersion"];
} else {
return null;
}
}
/**
* Sets the appVersion
*
* @param string $val The value of the appVersion
*
* @return AuthenticationAppDeviceDetails
*/
public function setAppVersion($val)
{
$this->_propDict["appVersion"] = $val;
return $this;
}
/**
* Gets the clientApp
*
* @return string|null The clientApp
*/
public function getClientApp()
{
if (array_key_exists("clientApp", $this->_propDict)) {
return $this->_propDict["clientApp"];
} else {
return null;
}
}
/**
* Sets the clientApp
*
* @param string $val The value of the clientApp
*
* @return AuthenticationAppDeviceDetails
*/
public function setClientApp($val)
{
$this->_propDict["clientApp"] = $val;
return $this;
}
/**
* Gets the deviceId
*
* @return string|null The deviceId
*/
public function getDeviceId()
{
if (array_key_exists("deviceId", $this->_propDict)) {
return $this->_propDict["deviceId"];
} else {
return null;
}
}
/**
* Sets the deviceId
*
* @param string $val The value of the deviceId
*
* @return AuthenticationAppDeviceDetails
*/
public function setDeviceId($val)
{
$this->_propDict["deviceId"] = $val;
return $this;
}
/**
* Gets the operatingSystem
*
* @return string|null The operatingSystem
*/
public function getOperatingSystem()
{
if (array_key_exists("operatingSystem", $this->_propDict)) {
return $this->_propDict["operatingSystem"];
} else {
return null;
}
}
/**
* Sets the operatingSystem
*
* @param string $val The value of the operatingSystem
*
* @return AuthenticationAppDeviceDetails
*/
public function setOperatingSystem($val)
{
$this->_propDict["operatingSystem"] = $val;
return $this;
}
}

View File

@ -0,0 +1,35 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AuthenticationAppEvaluation 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;
/**
* AuthenticationAppEvaluation 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 AuthenticationAppEvaluation extends Enum
{
/**
* The Enum AuthenticationAppEvaluation
*/
const SUCCESS = "success";
const FAILURE = "failure";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,145 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AuthenticationAppPolicyDetails 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;
/**
* AuthenticationAppPolicyDetails 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 AuthenticationAppPolicyDetails extends Entity
{
/**
* Gets the adminConfiguration
*
* @return AuthenticationAppAdminConfiguration|null The adminConfiguration
*/
public function getAdminConfiguration()
{
if (array_key_exists("adminConfiguration", $this->_propDict)) {
if (is_a($this->_propDict["adminConfiguration"], "\Beta\Microsoft\Graph\Model\AuthenticationAppAdminConfiguration") || is_null($this->_propDict["adminConfiguration"])) {
return $this->_propDict["adminConfiguration"];
} else {
$this->_propDict["adminConfiguration"] = new AuthenticationAppAdminConfiguration($this->_propDict["adminConfiguration"]);
return $this->_propDict["adminConfiguration"];
}
}
return null;
}
/**
* Sets the adminConfiguration
*
* @param AuthenticationAppAdminConfiguration $val The value to assign to the adminConfiguration
*
* @return AuthenticationAppPolicyDetails The AuthenticationAppPolicyDetails
*/
public function setAdminConfiguration($val)
{
$this->_propDict["adminConfiguration"] = $val;
return $this;
}
/**
* Gets the authenticationEvaluation
*
* @return AuthenticationAppEvaluation|null The authenticationEvaluation
*/
public function getAuthenticationEvaluation()
{
if (array_key_exists("authenticationEvaluation", $this->_propDict)) {
if (is_a($this->_propDict["authenticationEvaluation"], "\Beta\Microsoft\Graph\Model\AuthenticationAppEvaluation") || is_null($this->_propDict["authenticationEvaluation"])) {
return $this->_propDict["authenticationEvaluation"];
} else {
$this->_propDict["authenticationEvaluation"] = new AuthenticationAppEvaluation($this->_propDict["authenticationEvaluation"]);
return $this->_propDict["authenticationEvaluation"];
}
}
return null;
}
/**
* Sets the authenticationEvaluation
*
* @param AuthenticationAppEvaluation $val The value to assign to the authenticationEvaluation
*
* @return AuthenticationAppPolicyDetails The AuthenticationAppPolicyDetails
*/
public function setAuthenticationEvaluation($val)
{
$this->_propDict["authenticationEvaluation"] = $val;
return $this;
}
/**
* Gets the policyName
*
* @return string|null The policyName
*/
public function getPolicyName()
{
if (array_key_exists("policyName", $this->_propDict)) {
return $this->_propDict["policyName"];
} else {
return null;
}
}
/**
* Sets the policyName
*
* @param string $val The value of the policyName
*
* @return AuthenticationAppPolicyDetails
*/
public function setPolicyName($val)
{
$this->_propDict["policyName"] = $val;
return $this;
}
/**
* Gets the status
*
* @return AuthenticationAppPolicyStatus|null The status
*/
public function getStatus()
{
if (array_key_exists("status", $this->_propDict)) {
if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\AuthenticationAppPolicyStatus") || is_null($this->_propDict["status"])) {
return $this->_propDict["status"];
} else {
$this->_propDict["status"] = new AuthenticationAppPolicyStatus($this->_propDict["status"]);
return $this->_propDict["status"];
}
}
return null;
}
/**
* Sets the status
*
* @param AuthenticationAppPolicyStatus $val The value to assign to the status
*
* @return AuthenticationAppPolicyDetails The AuthenticationAppPolicyDetails
*/
public function setStatus($val)
{
$this->_propDict["status"] = $val;
return $this;
}
}

View File

@ -0,0 +1,50 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AuthenticationAppPolicyStatus 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;
/**
* AuthenticationAppPolicyStatus 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 AuthenticationAppPolicyStatus extends Enum
{
/**
* The Enum AuthenticationAppPolicyStatus
*/
const UNKNOWN = "unknown";
const APP_LOCK_OUT_OF_DATE = "appLockOutOfDate";
const APP_LOCK_ENABLED = "appLockEnabled";
const APP_LOCK_DISABLED = "appLockDisabled";
const APP_CONTEXT_OUT_OF_DATE = "appContextOutOfDate";
const APP_CONTEXT_SHOWN = "appContextShown";
const APP_CONTEXT_NOT_SHOWN = "appContextNotShown";
const LOCATION_CONTEXT_OUT_OF_DATE = "locationContextOutOfDate";
const LOCATION_CONTEXT_SHOWN = "locationContextShown";
const LOCATION_CONTEXT_NOT_SHOWN = "locationContextNotShown";
const NUMBER_MATCH_OUT_OF_DATE = "numberMatchOutOfDate";
const NUMBER_MATCH_CORRECT_NUMBER_ENTERED = "numberMatchCorrectNumberEntered";
const NUMBER_MATCH_INCORRECT_NUMBER_ENTERED = "numberMatchIncorrectNumberEntered";
const NUMBER_MATCH_DENY = "numberMatchDeny";
const TAMPER_RESISTANT_HARDWARE_OUT_OF_DATE = "tamperResistantHardwareOutOfDate";
const TAMPER_RESISTANT_HARDWARE_USED = "tamperResistantHardwareUsed";
const TAMPER_RESISTANT_HARDWARE_NOT_USED = "tamperResistantHardwareNotUsed";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -27,6 +27,7 @@ class AuthenticationCombinationConfiguration extends Entity
/**
* Gets the appliesToCombinations
* Which authentication method combinations this configuration applies to. Must be an allowedCombinations object that's defined for the authenticationStrengthPolicy. The only possible value for fido2combinationConfigurations is 'fido2'.
*
* @return array|null The appliesToCombinations
*/
@ -41,6 +42,7 @@ class AuthenticationCombinationConfiguration extends Entity
/**
* Sets the appliesToCombinations
* Which authentication method combinations this configuration applies to. Must be an allowedCombinations object that's defined for the authenticationStrengthPolicy. The only possible value for fido2combinationConfigurations is 'fido2'.
*
* @param AuthenticationMethodModes[] $val The appliesToCombinations
*

View File

@ -26,6 +26,7 @@ class AuthenticationMethodModeDetail extends Entity
{
/**
* Gets the authenticationMethod
* The authentication method that this mode modifies. The possible values are: password, voice, hardwareOath, softwareOath, sms, fido2, windowsHelloForBusiness, microsoftAuthenticator, temporaryAccessPass, email, x509Certificate, federation, unknownFutureValue.
*
* @return BaseAuthenticationMethod|null The authenticationMethod
*/
@ -44,6 +45,7 @@ class AuthenticationMethodModeDetail extends Entity
/**
* Sets the authenticationMethod
* The authentication method that this mode modifies. The possible values are: password, voice, hardwareOath, softwareOath, sms, fido2, windowsHelloForBusiness, microsoftAuthenticator, temporaryAccessPass, email, x509Certificate, federation, unknownFutureValue.
*
* @param BaseAuthenticationMethod $val The authenticationMethod
*
@ -57,6 +59,7 @@ class AuthenticationMethodModeDetail extends Entity
/**
* Gets the displayName
* The display name of this mode
*
* @return string|null The displayName
*/
@ -71,6 +74,7 @@ class AuthenticationMethodModeDetail extends Entity
/**
* Sets the displayName
* The display name of this mode
*
* @param string $val The displayName
*

View File

@ -27,6 +27,7 @@ class AuthenticationStrengthPolicy extends Entity
/**
* Gets the allowedCombinations
* A collection of authentication method modes that are required be used to satify this authentication strength.
*
* @return array|null The allowedCombinations
*/
@ -41,6 +42,7 @@ class AuthenticationStrengthPolicy extends Entity
/**
* Sets the allowedCombinations
* A collection of authentication method modes that are required be used to satify this authentication strength.
*
* @param AuthenticationMethodModes[] $val The allowedCombinations
*
@ -54,6 +56,7 @@ class AuthenticationStrengthPolicy extends Entity
/**
* Gets the createdDateTime
* The datetime when this policy was created.
*
* @return \DateTime|null The createdDateTime
*/
@ -72,6 +75,7 @@ class AuthenticationStrengthPolicy extends Entity
/**
* Sets the createdDateTime
* The datetime when this policy was created.
*
* @param \DateTime $val The createdDateTime
*
@ -85,6 +89,7 @@ class AuthenticationStrengthPolicy extends Entity
/**
* Gets the description
* The human-readable description of this policy.
*
* @return string|null The description
*/
@ -99,6 +104,7 @@ class AuthenticationStrengthPolicy extends Entity
/**
* Sets the description
* The human-readable description of this policy.
*
* @param string $val The description
*
@ -112,6 +118,7 @@ class AuthenticationStrengthPolicy extends Entity
/**
* Gets the displayName
* The human-readable display name of this policy. Supports $filter (eq, ne, not , and in).
*
* @return string|null The displayName
*/
@ -126,6 +133,7 @@ class AuthenticationStrengthPolicy extends Entity
/**
* Sets the displayName
* The human-readable display name of this policy. Supports $filter (eq, ne, not , and in).
*
* @param string $val The displayName
*
@ -139,6 +147,7 @@ class AuthenticationStrengthPolicy extends Entity
/**
* Gets the modifiedDateTime
* The datetime when this policy was last modified.
*
* @return \DateTime|null The modifiedDateTime
*/
@ -157,6 +166,7 @@ class AuthenticationStrengthPolicy extends Entity
/**
* Sets the modifiedDateTime
* The datetime when this policy was last modified.
*
* @param \DateTime $val The modifiedDateTime
*
@ -170,6 +180,7 @@ class AuthenticationStrengthPolicy extends Entity
/**
* Gets the policyType
* A descriptor of whether this policy is built into Azure AD or created by an admin for the tenant. The possible values are: builtIn, custom, unknownFutureValue. Supports $filter (eq, ne, not , and in).
*
* @return AuthenticationStrengthPolicyType|null The policyType
*/
@ -188,6 +199,7 @@ class AuthenticationStrengthPolicy extends Entity
/**
* Sets the policyType
* A descriptor of whether this policy is built into Azure AD or created by an admin for the tenant. The possible values are: builtIn, custom, unknownFutureValue. Supports $filter (eq, ne, not , and in).
*
* @param AuthenticationStrengthPolicyType $val The policyType
*
@ -201,6 +213,7 @@ class AuthenticationStrengthPolicy extends Entity
/**
* Gets the requirementsSatisfied
* A descriptor of whether this authentication strength grants the MFA claim upon successful satisfaction. The possible values are: none, mfa, unknownFutureValue.
*
* @return AuthenticationStrengthRequirements|null The requirementsSatisfied
*/
@ -219,6 +232,7 @@ class AuthenticationStrengthPolicy extends Entity
/**
* Sets the requirementsSatisfied
* A descriptor of whether this authentication strength grants the MFA claim upon successful satisfaction. The possible values are: none, mfa, unknownFutureValue.
*
* @param AuthenticationStrengthRequirements $val The requirementsSatisfied
*
@ -233,6 +247,7 @@ class AuthenticationStrengthPolicy extends Entity
/**
* Gets the combinationConfigurations
* Settings that may be used to require specific types or instances of an authentication method to be used when authenticating with a specified combination of authentication methods.
*
* @return array|null The combinationConfigurations
*/
@ -247,6 +262,7 @@ class AuthenticationStrengthPolicy extends Entity
/**
* Sets the combinationConfigurations
* Settings that may be used to require specific types or instances of an authentication method to be used when authenticating with a specified combination of authentication methods.
*
* @param AuthenticationCombinationConfiguration[] $val The combinationConfigurations
*

View File

@ -27,6 +27,7 @@ class AuthenticationStrengthRoot extends Entity
/**
* Gets the authenticationCombinations
* A collection of all valid authentication method combinations in the system.
*
* @return array|null The authenticationCombinations
*/
@ -41,6 +42,7 @@ class AuthenticationStrengthRoot extends Entity
/**
* Sets the authenticationCombinations
* A collection of all valid authentication method combinations in the system.
*
* @param AuthenticationMethodModes[] $val The authenticationCombinations
*
@ -55,6 +57,7 @@ class AuthenticationStrengthRoot extends Entity
/**
* Gets the authenticationMethodModes
* Names and descriptions of all valid authentication method modes in the system.
*
* @return array|null The authenticationMethodModes
*/
@ -69,6 +72,7 @@ class AuthenticationStrengthRoot extends Entity
/**
* Sets the authenticationMethodModes
* Names and descriptions of all valid authentication method modes in the system.
*
* @param AuthenticationMethodModeDetail[] $val The authenticationMethodModes
*
@ -83,6 +87,7 @@ class AuthenticationStrengthRoot extends Entity
/**
* Gets the policies
* A collection of authentication strength policies that exist for this tenant, including both built-in and custom policies.
*
* @return array|null The policies
*/
@ -97,6 +102,7 @@ class AuthenticationStrengthRoot extends Entity
/**
* Sets the policies
* A collection of authentication strength policies that exist for this tenant, including both built-in and custom policies.
*
* @param AuthenticationStrengthPolicy[] $val The policies
*

View File

@ -113,7 +113,7 @@ class AuthorizationPolicy extends PolicyBase
/**
* Gets the allowInvitesFrom
* Indicates who can invite external users to the organization. Possible values are: none, adminsAndGuestInviters, adminsGuestInvitersAndAllMembers, everyone. everyone is the default setting for all cloud environments except US Government. See more in the table below.
* Indicates who can invite external users to the organization. Possible values are: none, adminsAndGuestInviters, adminsGuestInvitersAndAllMembers, everyone. everyone is the default setting for all cloud environments except US Government. See more in the table below.
*
* @return AllowInvitesFrom|null The allowInvitesFrom
*/
@ -132,7 +132,7 @@ class AuthorizationPolicy extends PolicyBase
/**
* Sets the allowInvitesFrom
* Indicates who can invite external users to the organization. Possible values are: none, adminsAndGuestInviters, adminsGuestInvitersAndAllMembers, everyone. everyone is the default setting for all cloud environments except US Government. See more in the table below.
* Indicates who can invite external users to the organization. Possible values are: none, adminsAndGuestInviters, adminsGuestInvitersAndAllMembers, everyone. everyone is the default setting for all cloud environments except US Government. See more in the table below.
*
* @param AllowInvitesFrom $val The allowInvitesFrom
*
@ -146,6 +146,7 @@ class AuthorizationPolicy extends PolicyBase
/**
* Gets the allowUserConsentForRiskyApps
* Indicates whether user consent for risky apps is allowed. We recommend to keep this as false.
*
* @return bool|null The allowUserConsentForRiskyApps
*/
@ -160,6 +161,7 @@ class AuthorizationPolicy extends PolicyBase
/**
* Sets the allowUserConsentForRiskyApps
* Indicates whether user consent for risky apps is allowed. We recommend to keep this as false.
*
* @param bool $val The allowUserConsentForRiskyApps
*
@ -173,7 +175,7 @@ class AuthorizationPolicy extends PolicyBase
/**
* Gets the blockMsolPowerShell
* To disable the use of MSOL PowerShell set this property to true. This will also disable user-based access to the legacy service endpoint used by MSOL PowerShell. This does not affect Azure AD Connect or Microsoft Graph.
* To disable the use of the MSOnline PowerShell module set this property to true. This will also disable user-based access to the legacy service endpoint used by the MSOnline PowerShell module. This does not affect Azure AD Connect or Microsoft Graph.
*
* @return bool|null The blockMsolPowerShell
*/
@ -188,7 +190,7 @@ class AuthorizationPolicy extends PolicyBase
/**
* Sets the blockMsolPowerShell
* To disable the use of MSOL PowerShell set this property to true. This will also disable user-based access to the legacy service endpoint used by MSOL PowerShell. This does not affect Azure AD Connect or Microsoft Graph.
* To disable the use of the MSOnline PowerShell module set this property to true. This will also disable user-based access to the legacy service endpoint used by the MSOnline PowerShell module. This does not affect Azure AD Connect or Microsoft Graph.
*
* @param bool $val The blockMsolPowerShell
*

View File

@ -0,0 +1,56 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CloudPcCrossCloudGovernmentOrganizationMapping 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;
/**
* CloudPcCrossCloudGovernmentOrganizationMapping 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 CloudPcCrossCloudGovernmentOrganizationMapping extends Entity
{
/**
* Gets the organizationIdsInUSGovCloud
* The tenant ID in the Azure Government cloud corresponding to the GCC tenant in the public cloud. Currently, 1:1 mappings are supported, so this collection can only contain one tenant ID.
*
* @return string|null The organizationIdsInUSGovCloud
*/
public function getOrganizationIdsInUSGovCloud()
{
if (array_key_exists("organizationIdsInUSGovCloud", $this->_propDict)) {
return $this->_propDict["organizationIdsInUSGovCloud"];
} else {
return null;
}
}
/**
* Sets the organizationIdsInUSGovCloud
* The tenant ID in the Azure Government cloud corresponding to the GCC tenant in the public cloud. Currently, 1:1 mappings are supported, so this collection can only contain one tenant ID.
*
* @param string $val The organizationIdsInUSGovCloud
*
* @return CloudPcCrossCloudGovernmentOrganizationMapping
*/
public function setOrganizationIdsInUSGovCloud($val)
{
$this->_propDict["organizationIdsInUSGovCloud"] = $val;
return $this;
}
}

View File

@ -32,5 +32,6 @@ class CloudPcExportJobStatus extends Enum
const NOT_STARTED = "notStarted";
const IN_PROGRESS = "inProgress";
const COMPLETED = "completed";
const FAILED = "failed";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -26,6 +26,7 @@ class ConditionalAccessRoot extends Entity
{
/**
* Gets the authenticationStrengths
* Defines the authentication strength policies, valid authentication method combinations, and authentication method mode details that can be required by a conditional access policy .
*
* @return AuthenticationStrengthRoot|null The authenticationStrengths
*/
@ -44,6 +45,7 @@ class ConditionalAccessRoot extends Entity
/**
* Sets the authenticationStrengths
* Defines the authentication strength policies, valid authentication method combinations, and authentication method mode details that can be required by a conditional access policy .
*
* @param AuthenticationStrengthRoot $val The authenticationStrengths
*

View File

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

View File

@ -142,7 +142,7 @@ class DeviceManagementConfigurationStringSettingValueDefinition extends DeviceMa
}
/**
* Gets the maximumLength
* Maximum length of string. Valid values 0 to 87516
* Maximum length of string
*
* @return int|null The maximumLength
*/
@ -157,7 +157,7 @@ class DeviceManagementConfigurationStringSettingValueDefinition extends DeviceMa
/**
* Sets the maximumLength
* Maximum length of string. Valid values 0 to 87516
* Maximum length of string
*
* @param int $val The value of the maximumLength
*
@ -170,7 +170,7 @@ class DeviceManagementConfigurationStringSettingValueDefinition extends DeviceMa
}
/**
* Gets the minimumLength
* Minimum length of string. Valid values 0 to 87516
* Minimum length of string
*
* @return int|null The minimumLength
*/
@ -185,7 +185,7 @@ class DeviceManagementConfigurationStringSettingValueDefinition extends DeviceMa
/**
* Sets the minimumLength
* Minimum length of string. Valid values 0 to 87516
* Minimum length of string
*
* @param int $val The value of the minimumLength
*

View File

@ -26,6 +26,7 @@ class Fido2CombinationConfiguration extends AuthenticationCombinationConfigurati
{
/**
* Gets the allowedAAGUIDs
* A list of AAGUIDs allowed to be used as part of the specified authentication method combinations.
*
* @return string|null The allowedAAGUIDs
*/
@ -40,6 +41,7 @@ class Fido2CombinationConfiguration extends AuthenticationCombinationConfigurati
/**
* Sets the allowedAAGUIDs
* A list of AAGUIDs allowed to be used as part of the specified authentication method combinations.
*
* @param string $val The allowedAAGUIDs
*

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

View File

@ -0,0 +1,181 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* InformationProtectionConfigurations 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;
/**
* InformationProtectionConfigurations 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 InformationProtectionConfigurations extends Entity
{
/**
* Gets the endpoint
*
* @return InformationProtectionConfiguration|null The endpoint
*/
public function getEndpoint()
{
if (array_key_exists("endpoint", $this->_propDict)) {
if (is_a($this->_propDict["endpoint"], "\Beta\Microsoft\Graph\Model\InformationProtectionConfiguration") || is_null($this->_propDict["endpoint"])) {
return $this->_propDict["endpoint"];
} else {
$this->_propDict["endpoint"] = new InformationProtectionConfiguration($this->_propDict["endpoint"]);
return $this->_propDict["endpoint"];
}
}
return null;
}
/**
* Sets the endpoint
*
* @param InformationProtectionConfiguration $val The value to assign to the endpoint
*
* @return InformationProtectionConfigurations The InformationProtectionConfigurations
*/
public function setEndpoint($val)
{
$this->_propDict["endpoint"] = $val;
return $this;
}
/**
* Gets the exchange
*
* @return InformationProtectionConfiguration|null The exchange
*/
public function getExchange()
{
if (array_key_exists("exchange", $this->_propDict)) {
if (is_a($this->_propDict["exchange"], "\Beta\Microsoft\Graph\Model\InformationProtectionConfiguration") || is_null($this->_propDict["exchange"])) {
return $this->_propDict["exchange"];
} else {
$this->_propDict["exchange"] = new InformationProtectionConfiguration($this->_propDict["exchange"]);
return $this->_propDict["exchange"];
}
}
return null;
}
/**
* Sets the exchange
*
* @param InformationProtectionConfiguration $val The value to assign to the exchange
*
* @return InformationProtectionConfigurations The InformationProtectionConfigurations
*/
public function setExchange($val)
{
$this->_propDict["exchange"] = $val;
return $this;
}
/**
* Gets the oneDrive
*
* @return InformationProtectionConfiguration|null The oneDrive
*/
public function getOneDrive()
{
if (array_key_exists("oneDrive", $this->_propDict)) {
if (is_a($this->_propDict["oneDrive"], "\Beta\Microsoft\Graph\Model\InformationProtectionConfiguration") || is_null($this->_propDict["oneDrive"])) {
return $this->_propDict["oneDrive"];
} else {
$this->_propDict["oneDrive"] = new InformationProtectionConfiguration($this->_propDict["oneDrive"]);
return $this->_propDict["oneDrive"];
}
}
return null;
}
/**
* Sets the oneDrive
*
* @param InformationProtectionConfiguration $val The value to assign to the oneDrive
*
* @return InformationProtectionConfigurations The InformationProtectionConfigurations
*/
public function setOneDrive($val)
{
$this->_propDict["oneDrive"] = $val;
return $this;
}
/**
* Gets the sharePoint
*
* @return InformationProtectionConfiguration|null The sharePoint
*/
public function getSharePoint()
{
if (array_key_exists("sharePoint", $this->_propDict)) {
if (is_a($this->_propDict["sharePoint"], "\Beta\Microsoft\Graph\Model\InformationProtectionConfiguration") || is_null($this->_propDict["sharePoint"])) {
return $this->_propDict["sharePoint"];
} else {
$this->_propDict["sharePoint"] = new InformationProtectionConfiguration($this->_propDict["sharePoint"]);
return $this->_propDict["sharePoint"];
}
}
return null;
}
/**
* Sets the sharePoint
*
* @param InformationProtectionConfiguration $val The value to assign to the sharePoint
*
* @return InformationProtectionConfigurations The InformationProtectionConfigurations
*/
public function setSharePoint($val)
{
$this->_propDict["sharePoint"] = $val;
return $this;
}
/**
* Gets the teams
*
* @return InformationProtectionConfiguration|null The teams
*/
public function getTeams()
{
if (array_key_exists("teams", $this->_propDict)) {
if (is_a($this->_propDict["teams"], "\Beta\Microsoft\Graph\Model\InformationProtectionConfiguration") || is_null($this->_propDict["teams"])) {
return $this->_propDict["teams"];
} else {
$this->_propDict["teams"] = new InformationProtectionConfiguration($this->_propDict["teams"]);
return $this->_propDict["teams"];
}
}
return null;
}
/**
* Sets the teams
*
* @param InformationProtectionConfiguration $val The value to assign to the teams
*
* @return InformationProtectionConfigurations The InformationProtectionConfigurations
*/
public function setTeams($val)
{
$this->_propDict["teams"] = $val;
return $this;
}
}

View File

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

View File

@ -0,0 +1,52 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* OpticalCharacterRecognitionConfiguration 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;
/**
* OpticalCharacterRecognitionConfiguration 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 OpticalCharacterRecognitionConfiguration extends Entity
{
/**
* Gets the isEnabled
*
* @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
*
* @param bool $val The value of the isEnabled
*
* @return OpticalCharacterRecognitionConfiguration
*/
public function setIsEnabled($val)
{
$this->_propDict["isEnabled"] = $val;
return $this;
}
}

View File

@ -91,6 +91,7 @@ class PolicyRoot implements \JsonSerializable
/**
* Gets the authenticationStrengthPolicies
* The authentication method combinations that are to be used in scenarios defined by Azure AD Conditional Access.
*
* @return array|null The authenticationStrengthPolicies
*/
@ -105,6 +106,7 @@ class PolicyRoot implements \JsonSerializable
/**
* Sets the authenticationStrengthPolicies
* The authentication method combinations that are to be used in scenarios defined by Azure AD Conditional Access.
*
* @param AuthenticationStrengthPolicy[] $val The authenticationStrengthPolicies
*

View File

@ -373,7 +373,7 @@ class RiskDetection extends Entity
/**
* Gets the riskEventType
* The type of risk event detected. The possible values are unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic,adminConfirmedUserCompromised, mcasImpossibleTravel, mcasSuspiciousInboxManipulationRules, investigationsThreatIntelligenceSigninLinked, maliciousIPAddressValidCredentialsBlockedIP, and unknownFutureValue. For more information about each value, see riskEventType values.
* The type of risk event detected. The possible values are unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic,adminConfirmedUserCompromised, mcasImpossibleTravel, mcasSuspiciousInboxManipulationRules, investigationsThreatIntelligenceSigninLinked, maliciousIPAddressValidCredentialsBlockedIP, and anomalousUserActivity. For more information about each value, see riskEventType values.
*
* @return string|null The riskEventType
*/
@ -388,7 +388,7 @@ class RiskDetection extends Entity
/**
* Sets the riskEventType
* The type of risk event detected. The possible values are unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic,adminConfirmedUserCompromised, mcasImpossibleTravel, mcasSuspiciousInboxManipulationRules, investigationsThreatIntelligenceSigninLinked, maliciousIPAddressValidCredentialsBlockedIP, and unknownFutureValue. For more information about each value, see riskEventType values.
* The type of risk event detected. The possible values are unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic,adminConfirmedUserCompromised, mcasImpossibleTravel, mcasSuspiciousInboxManipulationRules, investigationsThreatIntelligenceSigninLinked, maliciousIPAddressValidCredentialsBlockedIP, and anomalousUserActivity. For more information about each value, see riskEventType values.
*
* @param string $val The riskEventType
*

View File

@ -140,6 +140,65 @@ class SignIn extends Entity
return $this;
}
/**
* Gets the authenticationAppDeviceDetails
*
* @return AuthenticationAppDeviceDetails|null The authenticationAppDeviceDetails
*/
public function getAuthenticationAppDeviceDetails()
{
if (array_key_exists("authenticationAppDeviceDetails", $this->_propDict)) {
if (is_a($this->_propDict["authenticationAppDeviceDetails"], "\Beta\Microsoft\Graph\Model\AuthenticationAppDeviceDetails") || is_null($this->_propDict["authenticationAppDeviceDetails"])) {
return $this->_propDict["authenticationAppDeviceDetails"];
} else {
$this->_propDict["authenticationAppDeviceDetails"] = new AuthenticationAppDeviceDetails($this->_propDict["authenticationAppDeviceDetails"]);
return $this->_propDict["authenticationAppDeviceDetails"];
}
}
return null;
}
/**
* Sets the authenticationAppDeviceDetails
*
* @param AuthenticationAppDeviceDetails $val The authenticationAppDeviceDetails
*
* @return SignIn
*/
public function setAuthenticationAppDeviceDetails($val)
{
$this->_propDict["authenticationAppDeviceDetails"] = $val;
return $this;
}
/**
* Gets the authenticationAppPolicyEvaluationDetails
*
* @return array|null The authenticationAppPolicyEvaluationDetails
*/
public function getAuthenticationAppPolicyEvaluationDetails()
{
if (array_key_exists("authenticationAppPolicyEvaluationDetails", $this->_propDict)) {
return $this->_propDict["authenticationAppPolicyEvaluationDetails"];
} else {
return null;
}
}
/**
* Sets the authenticationAppPolicyEvaluationDetails
*
* @param AuthenticationAppPolicyDetails[] $val The authenticationAppPolicyEvaluationDetails
*
* @return SignIn
*/
public function setAuthenticationAppPolicyEvaluationDetails($val)
{
$this->_propDict["authenticationAppPolicyEvaluationDetails"] = $val;
return $this;
}
/**
* Gets the authenticationContextClassReferences

View File

@ -38,4 +38,5 @@ class TeamworkUserIdentityType extends Enum
const PHONE_USER = "phoneUser";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
const EMAIL_USER = "emailUser";
const AZURE_COMMUNICATION_SERVICES_USER = "azureCommunicationServicesUser";
}

View File

@ -25,6 +25,7 @@ class UpdateAllowedCombinationsResult extends Entity
{
/**
* Gets the additionalInformation
* Information about why the updateAllowedCombinations action was successful or failed.
*
* @return string|null The additionalInformation
*/
@ -39,6 +40,7 @@ class UpdateAllowedCombinationsResult extends Entity
/**
* Sets the additionalInformation
* Information about why the updateAllowedCombinations action was successful or failed.
*
* @param string $val The value of the additionalInformation
*
@ -51,6 +53,7 @@ class UpdateAllowedCombinationsResult extends Entity
}
/**
* Gets the conditionalAccessReferences
* References to existing Conditional Access policies that use this authentication strength.
*
* @return string|null The conditionalAccessReferences
*/
@ -65,6 +68,7 @@ class UpdateAllowedCombinationsResult extends Entity
/**
* Sets the conditionalAccessReferences
* References to existing Conditional Access policies that use this authentication strength.
*
* @param string $val The value of the conditionalAccessReferences
*
@ -78,6 +82,7 @@ class UpdateAllowedCombinationsResult extends Entity
/**
* Gets the currentCombinations
* The list of current authentication method combinations allowed by the authentication strength.
*
* @return AuthenticationMethodModes|null The currentCombinations
*/
@ -96,6 +101,7 @@ class UpdateAllowedCombinationsResult extends Entity
/**
* Sets the currentCombinations
* The list of current authentication method combinations allowed by the authentication strength.
*
* @param AuthenticationMethodModes $val The value to assign to the currentCombinations
*
@ -109,6 +115,7 @@ class UpdateAllowedCombinationsResult extends Entity
/**
* Gets the previousCombinations
* The list of former authentication method combinations allowed by the authentication strength before they were updated through the updateAllowedCombinations action.
*
* @return AuthenticationMethodModes|null The previousCombinations
*/
@ -127,6 +134,7 @@ class UpdateAllowedCombinationsResult extends Entity
/**
* Sets the previousCombinations
* The list of former authentication method combinations allowed by the authentication strength before they were updated through the updateAllowedCombinations action.
*
* @param AuthenticationMethodModes $val The value to assign to the previousCombinations
*

View File

@ -84,6 +84,39 @@ class VirtualEndpoint extends Entity
return $this;
}
/**
* Gets the crossCloudGovernmentOrganizationMapping
* Cloud PC organization mapping between public and US Government Community Cloud (GCC) organizations.
*
* @return CloudPcCrossCloudGovernmentOrganizationMapping|null The crossCloudGovernmentOrganizationMapping
*/
public function getCrossCloudGovernmentOrganizationMapping()
{
if (array_key_exists("crossCloudGovernmentOrganizationMapping", $this->_propDict)) {
if (is_a($this->_propDict["crossCloudGovernmentOrganizationMapping"], "\Beta\Microsoft\Graph\Model\CloudPcCrossCloudGovernmentOrganizationMapping") || is_null($this->_propDict["crossCloudGovernmentOrganizationMapping"])) {
return $this->_propDict["crossCloudGovernmentOrganizationMapping"];
} else {
$this->_propDict["crossCloudGovernmentOrganizationMapping"] = new CloudPcCrossCloudGovernmentOrganizationMapping($this->_propDict["crossCloudGovernmentOrganizationMapping"]);
return $this->_propDict["crossCloudGovernmentOrganizationMapping"];
}
}
return null;
}
/**
* Sets the crossCloudGovernmentOrganizationMapping
* Cloud PC organization mapping between public and US Government Community Cloud (GCC) organizations.
*
* @param CloudPcCrossCloudGovernmentOrganizationMapping $val The crossCloudGovernmentOrganizationMapping
*
* @return VirtualEndpoint
*/
public function setCrossCloudGovernmentOrganizationMapping($val)
{
$this->_propDict["crossCloudGovernmentOrganizationMapping"] = $val;
return $this;
}
/**
* Gets the deviceImages

View File

@ -25,7 +25,7 @@ class AnalyzedMessageEvidence extends AlertEvidence
{
/**
* Gets the antiSpamDirection
* Direction of the email relative to your network. The possible values are: Inbound, Outbound or Intraorg.
* Direction of the email relative to your network. The possible values are: inbound, outbound or intraorg.
*
* @return string|null The antiSpamDirection
*/
@ -40,7 +40,7 @@ class AnalyzedMessageEvidence extends AlertEvidence
/**
* Sets the antiSpamDirection
* Direction of the email relative to your network. The possible values are: Inbound, Outbound or Intraorg.
* Direction of the email relative to your network. The possible values are: inbound, outbound or intraorg.
*
* @param string $val The value of the antiSpamDirection
*
@ -81,7 +81,7 @@ class AnalyzedMessageEvidence extends AlertEvidence
}
/**
* Gets the deliveryAction
* Delivery action of the email. The possible values are: Delivered, DeliveredAsSpam, Junked, Blocked, or Replaced.
* Delivery action of the email. The possible values are: delivered, deliveredAsSpam, junked, blocked, or replaced.
*
* @return string|null The deliveryAction
*/
@ -96,7 +96,7 @@ class AnalyzedMessageEvidence extends AlertEvidence
/**
* Sets the deliveryAction
* Delivery action of the email. The possible values are: Delivered, DeliveredAsSpam, Junked, Blocked, or Replaced.
* Delivery action of the email. The possible values are: delivered, deliveredAsSpam, junked, blocked, or replaced.
*
* @param string $val The value of the deliveryAction
*
@ -109,7 +109,7 @@ class AnalyzedMessageEvidence extends AlertEvidence
}
/**
* Gets the deliveryLocation
* Location where the email was delivered. The possible values are: Inbox, External, JunkFolder, Quarantine, Failed, Dropped, DeletedFolder or Forwarded.
* Location where the email was delivered. The possible values are: inbox, external, junkFolder, quarantine, failed, dropped, deletedFolder or forwarded.
*
* @return string|null The deliveryLocation
*/
@ -124,7 +124,7 @@ class AnalyzedMessageEvidence extends AlertEvidence
/**
* Sets the deliveryLocation
* Location where the email was delivered. The possible values are: Inbox, External, JunkFolder, Quarantine, Failed, Dropped, DeletedFolder or Forwarded.
* Location where the email was delivered. The possible values are: inbox, external, junkFolder, quarantine, failed, dropped, deletedFolder or forwarded.
*
* @param string $val The value of the deliveryLocation
*

View File

@ -26,6 +26,7 @@ class HuntingQueryResults extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the results
* The results of the hunting query.
*
* @return HuntingRowResult|null The results
*/
@ -44,6 +45,7 @@ class HuntingQueryResults extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the results
* The results of the hunting query.
*
* @param HuntingRowResult $val The value to assign to the results
*
@ -57,6 +59,7 @@ class HuntingQueryResults extends \Beta\Microsoft\Graph\Model\Entity
/**
* Gets the schema
* The schema for the response.
*
* @return SinglePropertySchema|null The schema
*/
@ -75,6 +78,7 @@ class HuntingQueryResults extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the schema
* The schema for the response.
*
* @param SinglePropertySchema $val The value to assign to the schema
*

View File

@ -25,6 +25,7 @@ class SinglePropertySchema extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the name
* The name of the property.
*
* @return string|null The name
*/
@ -39,6 +40,7 @@ class SinglePropertySchema extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the name
* The name of the property.
*
* @param string $val The value of the name
*
@ -51,6 +53,7 @@ class SinglePropertySchema extends \Beta\Microsoft\Graph\Model\Entity
}
/**
* Gets the type
* The type of the property.
*
* @return string|null The type
*/
@ -65,6 +68,7 @@ class SinglePropertySchema extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the type
* The type of the property.
*
* @param string $val The value of the type
*

View File

@ -23,7 +23,7 @@ final class GraphConstants
const REST_ENDPOINT = "https://graph.microsoft.com/";
// Define HTTP request constants
const SDK_VERSION = "1.79.0";
const SDK_VERSION = "1.80.0";
// Define error constants
const MAX_PAGE_SIZE = 999;

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.
*
* AuthenticationMethodFeatureConfiguration 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 Microsoft\Graph\Model;
/**
* AuthenticationMethodFeatureConfiguration 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 AuthenticationMethodFeatureConfiguration extends Entity
{
/**
* Gets the excludeTarget
* A single entity that is excluded from this feature.
*
* @return FeatureTarget|null The excludeTarget
*/
public function getExcludeTarget()
{
if (array_key_exists("excludeTarget", $this->_propDict)) {
if (is_a($this->_propDict["excludeTarget"], "\Microsoft\Graph\Model\FeatureTarget") || is_null($this->_propDict["excludeTarget"])) {
return $this->_propDict["excludeTarget"];
} else {
$this->_propDict["excludeTarget"] = new FeatureTarget($this->_propDict["excludeTarget"]);
return $this->_propDict["excludeTarget"];
}
}
return null;
}
/**
* Sets the excludeTarget
* A single entity that is excluded from this feature.
*
* @param FeatureTarget $val The value to assign to the excludeTarget
*
* @return AuthenticationMethodFeatureConfiguration The AuthenticationMethodFeatureConfiguration
*/
public function setExcludeTarget($val)
{
$this->_propDict["excludeTarget"] = $val;
return $this;
}
/**
* Gets the includeTarget
* A single entity that is included in this feature.
*
* @return FeatureTarget|null The includeTarget
*/
public function getIncludeTarget()
{
if (array_key_exists("includeTarget", $this->_propDict)) {
if (is_a($this->_propDict["includeTarget"], "\Microsoft\Graph\Model\FeatureTarget") || is_null($this->_propDict["includeTarget"])) {
return $this->_propDict["includeTarget"];
} else {
$this->_propDict["includeTarget"] = new FeatureTarget($this->_propDict["includeTarget"]);
return $this->_propDict["includeTarget"];
}
}
return null;
}
/**
* Sets the includeTarget
* A single entity that is included in this feature.
*
* @param FeatureTarget $val The value to assign to the includeTarget
*
* @return AuthenticationMethodFeatureConfiguration The AuthenticationMethodFeatureConfiguration
*/
public function setIncludeTarget($val)
{
$this->_propDict["includeTarget"] = $val;
return $this;
}
/**
* Gets the state
* Enable or disable the feature. Possible values are: default, enabled, disabled, unknownFutureValue. The default value is used when the configuration hasn't been explicitly set and uses the default behavior of Azure AD for the setting. The default value is disabled.
*
* @return AdvancedConfigState|null The state
*/
public function getState()
{
if (array_key_exists("state", $this->_propDict)) {
if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\AdvancedConfigState") || is_null($this->_propDict["state"])) {
return $this->_propDict["state"];
} else {
$this->_propDict["state"] = new AdvancedConfigState($this->_propDict["state"]);
return $this->_propDict["state"];
}
}
return null;
}
/**
* Sets the state
* Enable or disable the feature. Possible values are: default, enabled, disabled, unknownFutureValue. The default value is used when the configuration hasn't been explicitly set and uses the default behavior of Azure AD for the setting. The default value is disabled.
*
* @param AdvancedConfigState $val The value to assign to the state
*
* @return AuthenticationMethodFeatureConfiguration The AuthenticationMethodFeatureConfiguration
*/
public function setState($val)
{
$this->_propDict["state"] = $val;
return $this;
}
}

View File

@ -214,6 +214,39 @@ class Chat extends Entity
return $this;
}
/**
* Gets the viewpoint
* Represents caller-specific information about the chat, such as last message read date and time. This property is populated only when the request is made in a delegated context.
*
* @return ChatViewpoint|null The viewpoint
*/
public function getViewpoint()
{
if (array_key_exists("viewpoint", $this->_propDict)) {
if (is_a($this->_propDict["viewpoint"], "\Microsoft\Graph\Model\ChatViewpoint") || is_null($this->_propDict["viewpoint"])) {
return $this->_propDict["viewpoint"];
} else {
$this->_propDict["viewpoint"] = new ChatViewpoint($this->_propDict["viewpoint"]);
return $this->_propDict["viewpoint"];
}
}
return null;
}
/**
* Sets the viewpoint
* Represents caller-specific information about the chat, such as last message read date and time. This property is populated only when the request is made in a delegated context.
*
* @param ChatViewpoint $val The viewpoint
*
* @return Chat
*/
public function setViewpoint($val)
{
$this->_propDict["viewpoint"] = $val;
return $this;
}
/**
* Gets the webUrl
* The URL for the chat in Microsoft Teams. The URL should be treated as an opaque blob, and not parsed. Read-only.
@ -273,6 +306,39 @@ class Chat extends Entity
return $this;
}
/**
* Gets the lastMessagePreview
* Preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property.
*
* @return ChatMessageInfo|null The lastMessagePreview
*/
public function getLastMessagePreview()
{
if (array_key_exists("lastMessagePreview", $this->_propDict)) {
if (is_a($this->_propDict["lastMessagePreview"], "\Microsoft\Graph\Model\ChatMessageInfo") || is_null($this->_propDict["lastMessagePreview"])) {
return $this->_propDict["lastMessagePreview"];
} else {
$this->_propDict["lastMessagePreview"] = new ChatMessageInfo($this->_propDict["lastMessagePreview"]);
return $this->_propDict["lastMessagePreview"];
}
}
return null;
}
/**
* Sets the lastMessagePreview
* Preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property.
*
* @param ChatMessageInfo $val The lastMessagePreview
*
* @return Chat
*/
public function setLastMessagePreview($val)
{
$this->_propDict["lastMessagePreview"] = $val;
return $this;
}
/**
* Gets the members

View File

@ -0,0 +1,221 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ChatMessageInfo 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 Microsoft\Graph\Model;
/**
* ChatMessageInfo 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 ChatMessageInfo extends Entity
{
/**
* Gets the body
* Body of the chatMessage. This will still contain markers for @mentions and attachments even though the object does not return @mentions and attachments.
*
* @return ItemBody|null The body
*/
public function getBody()
{
if (array_key_exists("body", $this->_propDict)) {
if (is_a($this->_propDict["body"], "\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["body"])) {
return $this->_propDict["body"];
} else {
$this->_propDict["body"] = new ItemBody($this->_propDict["body"]);
return $this->_propDict["body"];
}
}
return null;
}
/**
* Sets the body
* Body of the chatMessage. This will still contain markers for @mentions and attachments even though the object does not return @mentions and attachments.
*
* @param ItemBody $val The body
*
* @return ChatMessageInfo
*/
public function setBody($val)
{
$this->_propDict["body"] = $val;
return $this;
}
/**
* Gets the createdDateTime
* Date time object representing the time at which message was created.
*
* @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
* Date time object representing the time at which message was created.
*
* @param \DateTime $val The createdDateTime
*
* @return ChatMessageInfo
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
}
/**
* Gets the eventDetail
* Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, members were added, and so on. For event messages, the messageType property will be set to systemEventMessage.
*
* @return EventMessageDetail|null The eventDetail
*/
public function getEventDetail()
{
if (array_key_exists("eventDetail", $this->_propDict)) {
if (is_a($this->_propDict["eventDetail"], "\Microsoft\Graph\Model\EventMessageDetail") || is_null($this->_propDict["eventDetail"])) {
return $this->_propDict["eventDetail"];
} else {
$this->_propDict["eventDetail"] = new EventMessageDetail($this->_propDict["eventDetail"]);
return $this->_propDict["eventDetail"];
}
}
return null;
}
/**
* Sets the eventDetail
* Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, members were added, and so on. For event messages, the messageType property will be set to systemEventMessage.
*
* @param EventMessageDetail $val The eventDetail
*
* @return ChatMessageInfo
*/
public function setEventDetail($val)
{
$this->_propDict["eventDetail"] = $val;
return $this;
}
/**
* Gets the from
* Information about the sender of the message.
*
* @return ChatMessageFromIdentitySet|null The from
*/
public function getFrom()
{
if (array_key_exists("from", $this->_propDict)) {
if (is_a($this->_propDict["from"], "\Microsoft\Graph\Model\ChatMessageFromIdentitySet") || is_null($this->_propDict["from"])) {
return $this->_propDict["from"];
} else {
$this->_propDict["from"] = new ChatMessageFromIdentitySet($this->_propDict["from"]);
return $this->_propDict["from"];
}
}
return null;
}
/**
* Sets the from
* Information about the sender of the message.
*
* @param ChatMessageFromIdentitySet $val The from
*
* @return ChatMessageInfo
*/
public function setFrom($val)
{
$this->_propDict["from"] = $val;
return $this;
}
/**
* Gets the isDeleted
* If set to true, the original message has been deleted.
*
* @return bool|null The isDeleted
*/
public function getIsDeleted()
{
if (array_key_exists("isDeleted", $this->_propDict)) {
return $this->_propDict["isDeleted"];
} else {
return null;
}
}
/**
* Sets the isDeleted
* If set to true, the original message has been deleted.
*
* @param bool $val The isDeleted
*
* @return ChatMessageInfo
*/
public function setIsDeleted($val)
{
$this->_propDict["isDeleted"] = boolval($val);
return $this;
}
/**
* Gets the messageType
* The type of chat message. The possible values are: message, unknownFutureValue, systemEventMessage.
*
* @return ChatMessageType|null The messageType
*/
public function getMessageType()
{
if (array_key_exists("messageType", $this->_propDict)) {
if (is_a($this->_propDict["messageType"], "\Microsoft\Graph\Model\ChatMessageType") || is_null($this->_propDict["messageType"])) {
return $this->_propDict["messageType"];
} else {
$this->_propDict["messageType"] = new ChatMessageType($this->_propDict["messageType"]);
return $this->_propDict["messageType"];
}
}
return null;
}
/**
* Sets the messageType
* The type of chat message. The possible values are: message, unknownFutureValue, systemEventMessage.
*
* @param ChatMessageType $val The messageType
*
* @return ChatMessageInfo
*/
public function setMessageType($val)
{
$this->_propDict["messageType"] = $val;
return $this;
}
}

View File

@ -0,0 +1,87 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ChatViewpoint 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 Microsoft\Graph\Model;
/**
* ChatViewpoint 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 ChatViewpoint extends Entity
{
/**
* Gets the isHidden
* Indicates whether the chat is hidden for the current user.
*
* @return bool|null The isHidden
*/
public function getIsHidden()
{
if (array_key_exists("isHidden", $this->_propDict)) {
return $this->_propDict["isHidden"];
} else {
return null;
}
}
/**
* Sets the isHidden
* Indicates whether the chat is hidden for the current user.
*
* @param bool $val The value of the isHidden
*
* @return ChatViewpoint
*/
public function setIsHidden($val)
{
$this->_propDict["isHidden"] = $val;
return $this;
}
/**
* Gets the lastMessageReadDateTime
* Represents the dateTime up until which the current user has read chatMessages in a specific chat.
*
* @return \DateTime|null The lastMessageReadDateTime
*/
public function getLastMessageReadDateTime()
{
if (array_key_exists("lastMessageReadDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastMessageReadDateTime"], "\DateTime") || is_null($this->_propDict["lastMessageReadDateTime"])) {
return $this->_propDict["lastMessageReadDateTime"];
} else {
$this->_propDict["lastMessageReadDateTime"] = new \DateTime($this->_propDict["lastMessageReadDateTime"]);
return $this->_propDict["lastMessageReadDateTime"];
}
}
return null;
}
/**
* Sets the lastMessageReadDateTime
* Represents the dateTime up until which the current user has read chatMessages in a specific chat.
*
* @param \DateTime $val The value to assign to the lastMessageReadDateTime
*
* @return ChatViewpoint The ChatViewpoint
*/
public function setLastMessageReadDateTime($val)
{
$this->_propDict["lastMessageReadDateTime"] = $val;
return $this;
}
}

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 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"], "\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"], "\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"], "\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

@ -114,4 +114,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 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"], "\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"], "\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

@ -0,0 +1,87 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* FeatureTarget 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 Microsoft\Graph\Model;
/**
* FeatureTarget 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 FeatureTarget extends Entity
{
/**
* Gets the id
* The ID of the entity that's targeted in the include or exclude rule, or all_users to target all users.
*
* @return string|null The id
*/
public function getId()
{
if (array_key_exists("id", $this->_propDict)) {
return $this->_propDict["id"];
} else {
return null;
}
}
/**
* Sets the id
* The ID of the entity that's targeted in the include or exclude rule, or all_users to target all users.
*
* @param string $val The value of the id
*
* @return FeatureTarget
*/
public function setId($val)
{
$this->_propDict["id"] = $val;
return $this;
}
/**
* Gets the targetType
* The kind of entity that's targeted. The possible values are: group, administrativeUnit, role, unknownFutureValue.
*
* @return FeatureTargetType|null The targetType
*/
public function getTargetType()
{
if (array_key_exists("targetType", $this->_propDict)) {
if (is_a($this->_propDict["targetType"], "\Microsoft\Graph\Model\FeatureTargetType") || is_null($this->_propDict["targetType"])) {
return $this->_propDict["targetType"];
} else {
$this->_propDict["targetType"] = new FeatureTargetType($this->_propDict["targetType"]);
return $this->_propDict["targetType"];
}
}
return null;
}
/**
* Sets the targetType
* The kind of entity that's targeted. The possible values are: group, administrativeUnit, role, unknownFutureValue.
*
* @param FeatureTargetType $val The value to assign to the targetType
*
* @return FeatureTarget The FeatureTarget
*/
public function setTargetType($val)
{
$this->_propDict["targetType"] = $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.
*
* FeatureTargetType 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 Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* FeatureTargetType 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 FeatureTargetType extends Enum
{
/**
* The Enum FeatureTargetType
*/
const GROUP = "group";
const ADMINISTRATIVE_UNIT = "administrativeUnit";
const ROLE = "role";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -24,10 +24,43 @@ namespace Microsoft\Graph\Model;
*/
class MicrosoftAuthenticatorAuthenticationMethodConfiguration extends AuthenticationMethodConfiguration
{
/**
* Gets the featureSettings
* A collection of Microsoft Authenticator settings such as application context and location context, and whether they are enabled for all users or specific users only.
*
* @return MicrosoftAuthenticatorFeatureSettings|null The featureSettings
*/
public function getFeatureSettings()
{
if (array_key_exists("featureSettings", $this->_propDict)) {
if (is_a($this->_propDict["featureSettings"], "\Microsoft\Graph\Model\MicrosoftAuthenticatorFeatureSettings") || is_null($this->_propDict["featureSettings"])) {
return $this->_propDict["featureSettings"];
} else {
$this->_propDict["featureSettings"] = new MicrosoftAuthenticatorFeatureSettings($this->_propDict["featureSettings"]);
return $this->_propDict["featureSettings"];
}
}
return null;
}
/**
* Sets the featureSettings
* A collection of Microsoft Authenticator settings such as application context and location context, and whether they are enabled for all users or specific users only.
*
* @param MicrosoftAuthenticatorFeatureSettings $val The featureSettings
*
* @return MicrosoftAuthenticatorAuthenticationMethodConfiguration
*/
public function setFeatureSettings($val)
{
$this->_propDict["featureSettings"] = $val;
return $this;
}
/**
* Gets the includeTargets
* A collection of users or groups who are enabled to use the authentication method.
* A collection of users or groups who are enabled to use the authentication method. Expanded by default.
*
* @return array|null The includeTargets
*/
@ -42,7 +75,7 @@ class MicrosoftAuthenticatorAuthenticationMethodConfiguration extends Authentica
/**
* Sets the includeTargets
* A collection of users or groups who are enabled to use the authentication method.
* A collection of users or groups who are enabled to use the authentication method. Expanded by default.
*
* @param MicrosoftAuthenticatorAuthenticationMethodTarget[] $val The includeTargets
*

View File

@ -0,0 +1,92 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* MicrosoftAuthenticatorFeatureSettings 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 Microsoft\Graph\Model;
/**
* MicrosoftAuthenticatorFeatureSettings 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 MicrosoftAuthenticatorFeatureSettings extends Entity
{
/**
* Gets the displayAppInformationRequiredState
* Determines whether the user's Authenticator app will show them the client app they are signing into.
*
* @return AuthenticationMethodFeatureConfiguration|null The displayAppInformationRequiredState
*/
public function getDisplayAppInformationRequiredState()
{
if (array_key_exists("displayAppInformationRequiredState", $this->_propDict)) {
if (is_a($this->_propDict["displayAppInformationRequiredState"], "\Microsoft\Graph\Model\AuthenticationMethodFeatureConfiguration") || is_null($this->_propDict["displayAppInformationRequiredState"])) {
return $this->_propDict["displayAppInformationRequiredState"];
} else {
$this->_propDict["displayAppInformationRequiredState"] = new AuthenticationMethodFeatureConfiguration($this->_propDict["displayAppInformationRequiredState"]);
return $this->_propDict["displayAppInformationRequiredState"];
}
}
return null;
}
/**
* Sets the displayAppInformationRequiredState
* Determines whether the user's Authenticator app will show them the client app they are signing into.
*
* @param AuthenticationMethodFeatureConfiguration $val The value to assign to the displayAppInformationRequiredState
*
* @return MicrosoftAuthenticatorFeatureSettings The MicrosoftAuthenticatorFeatureSettings
*/
public function setDisplayAppInformationRequiredState($val)
{
$this->_propDict["displayAppInformationRequiredState"] = $val;
return $this;
}
/**
* Gets the displayLocationInformationRequiredState
* Determines whether the user's Authenticator app will show them the geographic location of where the authentication request originated from.
*
* @return AuthenticationMethodFeatureConfiguration|null The displayLocationInformationRequiredState
*/
public function getDisplayLocationInformationRequiredState()
{
if (array_key_exists("displayLocationInformationRequiredState", $this->_propDict)) {
if (is_a($this->_propDict["displayLocationInformationRequiredState"], "\Microsoft\Graph\Model\AuthenticationMethodFeatureConfiguration") || is_null($this->_propDict["displayLocationInformationRequiredState"])) {
return $this->_propDict["displayLocationInformationRequiredState"];
} else {
$this->_propDict["displayLocationInformationRequiredState"] = new AuthenticationMethodFeatureConfiguration($this->_propDict["displayLocationInformationRequiredState"]);
return $this->_propDict["displayLocationInformationRequiredState"];
}
}
return null;
}
/**
* Sets the displayLocationInformationRequiredState
* Determines whether the user's Authenticator app will show them the geographic location of where the authentication request originated from.
*
* @param AuthenticationMethodFeatureConfiguration $val The value to assign to the displayLocationInformationRequiredState
*
* @return MicrosoftAuthenticatorFeatureSettings The MicrosoftAuthenticatorFeatureSettings
*/
public function setDisplayLocationInformationRequiredState($val)
{
$this->_propDict["displayLocationInformationRequiredState"] = $val;
return $this;
}
}

View File

@ -373,7 +373,7 @@ class RiskDetection extends Entity
/**
* Gets the riskEventType
* The type of risk event detected. The possible values are unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic,adminConfirmedUserCompromised, passwordSpray, impossibleTravel, newCountry, anomalousToken, tokenIssuerAnomaly,suspiciousBrowser, riskyIPAddress, mcasSuspiciousInboxManipulationRules, suspiciousInboxForwarding, and unknownFutureValue. If the risk detection is a premium detection, will show generic. For more information about each value, see riskEventType values.
* The type of risk event detected. The possible values are unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic,adminConfirmedUserCompromised, passwordSpray, impossibleTravel, newCountry, anomalousToken, tokenIssuerAnomaly,suspiciousBrowser, riskyIPAddress, mcasSuspiciousInboxManipulationRules, suspiciousInboxForwarding, and anomalousUserActivity. If the risk detection is a premium detection, will show generic. For more information about each value, see riskEventType values.
*
* @return string|null The riskEventType
*/
@ -388,7 +388,7 @@ class RiskDetection extends Entity
/**
* Sets the riskEventType
* The type of risk event detected. The possible values are unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic,adminConfirmedUserCompromised, passwordSpray, impossibleTravel, newCountry, anomalousToken, tokenIssuerAnomaly,suspiciousBrowser, riskyIPAddress, mcasSuspiciousInboxManipulationRules, suspiciousInboxForwarding, and unknownFutureValue. If the risk detection is a premium detection, will show generic. For more information about each value, see riskEventType values.
* The type of risk event detected. The possible values are unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic,adminConfirmedUserCompromised, passwordSpray, impossibleTravel, newCountry, anomalousToken, tokenIssuerAnomaly,suspiciousBrowser, riskyIPAddress, mcasSuspiciousInboxManipulationRules, suspiciousInboxForwarding, and anomalousUserActivity. If the risk detection is a premium detection, will show generic. For more information about each value, see riskEventType values.
*
* @param string $val The riskEventType
*

View File

@ -0,0 +1,39 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* TemplateScenarios 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 Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* TemplateScenarios 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 TemplateScenarios extends Enum
{
/**
* The Enum TemplateScenarios
*/
const GRAPHNEW = "new";
const SECURE_FOUNDATION = "secureFoundation";
const ZERO_TRUST = "zeroTrust";
const REMOTE_WORK = "remoteWork";
const PROTECT_ADMINS = "protectAdmins";
const EMERGING_THREATS = "emergingThreats";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -26,6 +26,7 @@ class X509CertificateAuthenticationMethodConfiguration extends AuthenticationMet
{
/**
* Gets the authenticationModeConfiguration
* Defines strong authentication configurations. This configuration includes the default authentication mode and the different rules for strong authentication bindings.
*
* @return X509CertificateAuthenticationModeConfiguration|null The authenticationModeConfiguration
*/
@ -44,6 +45,7 @@ class X509CertificateAuthenticationMethodConfiguration extends AuthenticationMet
/**
* Sets the authenticationModeConfiguration
* Defines strong authentication configurations. This configuration includes the default authentication mode and the different rules for strong authentication bindings.
*
* @param X509CertificateAuthenticationModeConfiguration $val The authenticationModeConfiguration
*
@ -58,6 +60,7 @@ class X509CertificateAuthenticationMethodConfiguration extends AuthenticationMet
/**
* Gets the certificateUserBindings
* Defines fields in the X.509 certificate that map to attributes of the Azure AD user object in order to bind the certificate to the user. The priority of the object determines the order in which the binding is carried out. The first binding that matches will be used and the rest ignored.
*
* @return array|null The certificateUserBindings
*/
@ -72,6 +75,7 @@ class X509CertificateAuthenticationMethodConfiguration extends AuthenticationMet
/**
* Sets the certificateUserBindings
* Defines fields in the X.509 certificate that map to attributes of the Azure AD user object in order to bind the certificate to the user. The priority of the object determines the order in which the binding is carried out. The first binding that matches will be used and the rest ignored.
*
* @param X509CertificateUserBinding[] $val The certificateUserBindings
*
@ -86,6 +90,7 @@ class X509CertificateAuthenticationMethodConfiguration extends AuthenticationMet
/**
* Gets the includeTargets
* A collection of users or groups who are enabled to use the authentication method.
*
* @return array|null The includeTargets
*/
@ -100,6 +105,7 @@ class X509CertificateAuthenticationMethodConfiguration extends AuthenticationMet
/**
* Sets the includeTargets
* A collection of users or groups who are enabled to use the authentication method.
*
* @param AuthenticationMethodTarget[] $val The includeTargets
*

View File

@ -26,6 +26,7 @@ class X509CertificateAuthenticationModeConfiguration extends Entity
/**
* Gets the rules
* Rules are configured in addition to the authentication mode to bind a specific x509CertificateRuleType to an x509CertificateAuthenticationMode. For example, bind the policyOID with identifier 1.32.132.343 to x509CertificateMultiFactor authentication mode.
*
* @return X509CertificateRule|null The rules
*/
@ -44,6 +45,7 @@ class X509CertificateAuthenticationModeConfiguration extends Entity
/**
* Sets the rules
* Rules are configured in addition to the authentication mode to bind a specific x509CertificateRuleType to an x509CertificateAuthenticationMode. For example, bind the policyOID with identifier 1.32.132.343 to x509CertificateMultiFactor authentication mode.
*
* @param X509CertificateRule $val The value to assign to the rules
*
@ -57,6 +59,7 @@ class X509CertificateAuthenticationModeConfiguration extends Entity
/**
* Gets the x509CertificateAuthenticationDefaultMode
* The type of strong authentication mode. The possible values are: x509CertificateSingleFactor, x509CertificateMultiFactor, unknownFutureValue.
*
* @return X509CertificateAuthenticationMode|null The x509CertificateAuthenticationDefaultMode
*/
@ -75,6 +78,7 @@ class X509CertificateAuthenticationModeConfiguration extends Entity
/**
* Sets the x509CertificateAuthenticationDefaultMode
* The type of strong authentication mode. The possible values are: x509CertificateSingleFactor, x509CertificateMultiFactor, unknownFutureValue.
*
* @param X509CertificateAuthenticationMode $val The value to assign to the x509CertificateAuthenticationDefaultMode
*

View File

@ -25,6 +25,7 @@ class X509CertificateRule extends Entity
{
/**
* Gets the identifier
* The identifier of the X.509 certificate. Required.
*
* @return string|null The identifier
*/
@ -39,6 +40,7 @@ class X509CertificateRule extends Entity
/**
* Sets the identifier
* The identifier of the X.509 certificate. Required.
*
* @param string $val The value of the identifier
*
@ -52,6 +54,7 @@ class X509CertificateRule extends Entity
/**
* Gets the x509CertificateAuthenticationMode
* The type of strong authentication mode. The possible values are: x509CertificateSingleFactor, x509CertificateMultiFactor, unknownFutureValue. Required.
*
* @return X509CertificateAuthenticationMode|null The x509CertificateAuthenticationMode
*/
@ -70,6 +73,7 @@ class X509CertificateRule extends Entity
/**
* Sets the x509CertificateAuthenticationMode
* The type of strong authentication mode. The possible values are: x509CertificateSingleFactor, x509CertificateMultiFactor, unknownFutureValue. Required.
*
* @param X509CertificateAuthenticationMode $val The value to assign to the x509CertificateAuthenticationMode
*
@ -83,6 +87,7 @@ class X509CertificateRule extends Entity
/**
* Gets the x509CertificateRuleType
* The type of the X.509 certificate mode configuration rule. The possible values are: issuerSubject, policyOID, unknownFutureValue. Required.
*
* @return X509CertificateRuleType|null The x509CertificateRuleType
*/
@ -101,6 +106,7 @@ class X509CertificateRule extends Entity
/**
* Sets the x509CertificateRuleType
* The type of the X.509 certificate mode configuration rule. The possible values are: issuerSubject, policyOID, unknownFutureValue. Required.
*
* @param X509CertificateRuleType $val The value to assign to the x509CertificateRuleType
*

View File

@ -25,6 +25,7 @@ class X509CertificateUserBinding extends Entity
{
/**
* Gets the priority
* The priority of the binding. Azure AD uses the binding with the highest priority. This value must be a non-negative integer and unique in the collection of objects in the certificateUserBindings property of an x509CertificateAuthenticationMethodConfiguration object. Required
*
* @return int|null The priority
*/
@ -39,6 +40,7 @@ class X509CertificateUserBinding extends Entity
/**
* Sets the priority
* The priority of the binding. Azure AD uses the binding with the highest priority. This value must be a non-negative integer and unique in the collection of objects in the certificateUserBindings property of an x509CertificateAuthenticationMethodConfiguration object. Required
*
* @param int $val The value of the priority
*
@ -51,6 +53,7 @@ class X509CertificateUserBinding extends Entity
}
/**
* Gets the userProperty
* Defines the Azure AD user property of the user object to use for the binding. The possible values are: userPrincipalName, onPremisesUserPrincipalName, certificateUserIds. Required.
*
* @return string|null The userProperty
*/
@ -65,6 +68,7 @@ class X509CertificateUserBinding extends Entity
/**
* Sets the userProperty
* Defines the Azure AD user property of the user object to use for the binding. The possible values are: userPrincipalName, onPremisesUserPrincipalName, certificateUserIds. Required.
*
* @param string $val The value of the userProperty
*
@ -77,6 +81,7 @@ class X509CertificateUserBinding extends Entity
}
/**
* Gets the x509CertificateField
* The field on the X.509 certificate to use for the binding. The possible values are: PrincipalName, RFC822Name, SubjectKeyIdentifier, SHA1PublicKey.
*
* @return string|null The x509CertificateField
*/
@ -91,6 +96,7 @@ class X509CertificateUserBinding extends Entity
/**
* Sets the x509CertificateField
* The field on the X.509 certificate to use for the binding. The possible values are: PrincipalName, RFC822Name, SubjectKeyIdentifier, SHA1PublicKey.
*
* @param string $val The value of the x509CertificateField
*