diff --git a/README.md b/README.md index 28894260c2c..656793f5970 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ You can install the PHP SDK with Composer, either run `composer require microsof ``` { "require": { - "microsoft/microsoft-graph": "^1.107.0" + "microsoft/microsoft-graph": "^1.108.0" } } ``` diff --git a/src/Beta/Microsoft/Graph/CallRecords/Model/Session.php b/src/Beta/Microsoft/Graph/CallRecords/Model/Session.php index a0a896d8215..0a9b7397b31 100644 --- a/src/Beta/Microsoft/Graph/CallRecords/Model/Session.php +++ b/src/Beta/Microsoft/Graph/CallRecords/Model/Session.php @@ -217,7 +217,7 @@ public function setModalities($val) /** * Gets the startDateTime - * UTC fime when the first user joined the session. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * UTC time when the first user joined the session. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z * * @return \DateTime|null The startDateTime */ @@ -236,7 +236,7 @@ public function getStartDateTime() /** * Sets the startDateTime - * UTC fime when the first user joined the session. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + * UTC time when the first user joined the session. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z * * @param \DateTime $val The startDateTime * diff --git a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertImpact.php b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertImpact.php index fd13a28aa43..ead4dd5c9cd 100644 --- a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertImpact.php +++ b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/AlertImpact.php @@ -91,7 +91,7 @@ public function setAlertImpactDetails($val) } /** * Gets the value - * The number value of the impact. For the aggregation types of count and affectedCloudPcCount, the value indicates the number of affected instances. For example, 6 affectedCloudPcCount means that 6 Cloud PCs are affected. For the aggregation types of percentage and affectedCloudPcPercentage, the value indicates the percent of affected instances. For example, 12 affectedCloudPcPercentage means that 12% of Cloud PCs are affected. + * The number value of the impact. For the aggregation types of count and affectedCloudPcCount, the value indicates the number of affected instances. For example, 6 affectedCloudPcCount means that six Cloud PCs are affected. For the aggregation types of percentage and affectedCloudPcPercentage, the value indicates the percent of affected instances. For example, 12 affectedCloudPcPercentage means that 12% of Cloud PCs are affected. * * @return int|null The value */ @@ -106,7 +106,7 @@ public function getValue() /** * Sets the value - * The number value of the impact. For the aggregation types of count and affectedCloudPcCount, the value indicates the number of affected instances. For example, 6 affectedCloudPcCount means that 6 Cloud PCs are affected. For the aggregation types of percentage and affectedCloudPcPercentage, the value indicates the percent of affected instances. For example, 12 affectedCloudPcPercentage means that 12% of Cloud PCs are affected. + * The number value of the impact. For the aggregation types of count and affectedCloudPcCount, the value indicates the number of affected instances. For example, 6 affectedCloudPcCount means that six Cloud PCs are affected. For the aggregation types of percentage and affectedCloudPcPercentage, the value indicates the percent of affected instances. For example, 12 affectedCloudPcPercentage means that 12% of Cloud PCs are affected. * * @param int $val The value of the value * diff --git a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/NotificationChannel.php b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/NotificationChannel.php index 561b4f967d0..9f75b74eaa1 100644 --- a/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/NotificationChannel.php +++ b/src/Beta/Microsoft/Graph/DeviceManagementNamespace/Model/NotificationChannel.php @@ -89,32 +89,4 @@ public function setNotificationReceivers($val) $this->_propDict["notificationReceivers"] = $val; return $this; } - /** - * 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 - */ - public function getReceivers() - { - if (array_key_exists("receivers", $this->_propDict)) { - return $this->_propDict["receivers"]; - } else { - return null; - } - } - - /** - * 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 - * - * @return NotificationChannel - */ - public function setReceivers($val) - { - $this->_propDict["receivers"] = $val; - return $this; - } } diff --git a/src/Beta/Microsoft/Graph/Ediscovery/Model/CaseExportOperation.php b/src/Beta/Microsoft/Graph/Ediscovery/Model/CaseExportOperation.php index cb3d2b1b611..f7182af170f 100644 --- a/src/Beta/Microsoft/Graph/Ediscovery/Model/CaseExportOperation.php +++ b/src/Beta/Microsoft/Graph/Ediscovery/Model/CaseExportOperation.php @@ -113,7 +113,7 @@ public function setDescription($val) /** * Gets the exportOptions - * The options provided for the export. For more details, see reviewSet: export. Possible values are: originalFiles, text, pdfReplacement, fileInfo, tags. + * The options provided for the export. For more information, see reviewSet: export. Possible values are: originalFiles, text, pdfReplacement, fileInfo, tags. * * @return ExportOptions|null The exportOptions */ @@ -132,7 +132,7 @@ public function getExportOptions() /** * Sets the exportOptions - * The options provided for the export. For more details, see reviewSet: export. Possible values are: originalFiles, text, pdfReplacement, fileInfo, tags. + * The options provided for the export. For more information, see reviewSet: export. Possible values are: originalFiles, text, pdfReplacement, fileInfo, tags. * * @param ExportOptions $val The exportOptions * @@ -146,7 +146,7 @@ public function setExportOptions($val) /** * Gets the exportStructure - * The options provided that specify the structure of the export. For more details, see reviewSet: export. Possible values are: none, directory, pst. + * The options provided specify the structure of the export. For more information, see reviewSet: export. Possible values are: none, directory, pst. * * @return ExportFileStructure|null The exportStructure */ @@ -165,7 +165,7 @@ public function getExportStructure() /** * Sets the exportStructure - * The options provided that specify the structure of the export. For more details, see reviewSet: export. Possible values are: none, directory, pst. + * The options provided specify the structure of the export. For more information, see reviewSet: export. Possible values are: none, directory, pst. * * @param ExportFileStructure $val The exportStructure * diff --git a/src/Beta/Microsoft/Graph/Ediscovery/Model/SourceCollection.php b/src/Beta/Microsoft/Graph/Ediscovery/Model/SourceCollection.php index 51f50ce6ced..ea27adca03e 100644 --- a/src/Beta/Microsoft/Graph/Ediscovery/Model/SourceCollection.php +++ b/src/Beta/Microsoft/Graph/Ediscovery/Model/SourceCollection.php @@ -121,7 +121,7 @@ public function setCreatedDateTime($val) /** * Gets the dataSourceScopes - * When specified, the collection will span across a service for an entire workload. Possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources. + * When specified, the collection spans across a service for an entire workload. Possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources. * * @return DataSourceScopes|null The dataSourceScopes */ @@ -140,7 +140,7 @@ public function getDataSourceScopes() /** * Sets the dataSourceScopes - * When specified, the collection will span across a service for an entire workload. Possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources. + * When specified, the collection spans across a service for an entire workload. Possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources. * * @param DataSourceScopes $val The dataSourceScopes * diff --git a/src/Beta/Microsoft/Graph/ExternalConnectors/Model/Acl.php b/src/Beta/Microsoft/Graph/ExternalConnectors/Model/Acl.php index ef8cc95abce..18d3910c1d9 100644 --- a/src/Beta/Microsoft/Graph/ExternalConnectors/Model/Acl.php +++ b/src/Beta/Microsoft/Graph/ExternalConnectors/Model/Acl.php @@ -124,7 +124,7 @@ public function setType($val) } /** * Gets the value - * The unique identifer of the identity. In case of Azure Active Directory identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. In case of external groups value is set to the ID of the externalGroup. + * The unique identifer of the identity. For Azure Active Directory identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. For external groups, value is set to the ID of the externalGroup. * * @return string|null The value */ @@ -139,7 +139,7 @@ public function getValue() /** * Sets the value - * The unique identifer of the identity. In case of Azure Active Directory identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. In case of external groups value is set to the ID of the externalGroup. + * The unique identifer of the identity. For Azure Active Directory identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. For external groups, value is set to the ID of the externalGroup. * * @param string $val The value of the value * diff --git a/src/Beta/Microsoft/Graph/ExternalConnectors/Model/External.php b/src/Beta/Microsoft/Graph/ExternalConnectors/Model/External.php index c9edd4764cc..d757a4f3197 100644 --- a/src/Beta/Microsoft/Graph/ExternalConnectors/Model/External.php +++ b/src/Beta/Microsoft/Graph/ExternalConnectors/Model/External.php @@ -87,6 +87,34 @@ public function setIndustryData($val) } + /** + * Gets the authorizationSystems + * + * @return array|null The authorizationSystems + */ + public function getAuthorizationSystems() + { + if (array_key_exists("authorizationSystems", $this->_propDict)) { + return $this->_propDict["authorizationSystems"]; + } else { + return null; + } + } + + /** + * Sets the authorizationSystems + * + * @param \Beta\Microsoft\Graph\Model\AuthorizationSystem[] $val The authorizationSystems + * + * @return External + */ + public function setAuthorizationSystems($val) + { + $this->_propDict["authorizationSystems"] = $val; + return $this; + } + + /** * Gets the connections * diff --git a/src/Beta/Microsoft/Graph/ExternalConnectors/Model/Label.php b/src/Beta/Microsoft/Graph/ExternalConnectors/Model/Label.php index ea3df99cade..872e736d1a5 100644 --- a/src/Beta/Microsoft/Graph/ExternalConnectors/Model/Label.php +++ b/src/Beta/Microsoft/Graph/ExternalConnectors/Model/Label.php @@ -39,7 +39,7 @@ class Label extends Enum const FILE_NAME = "fileName"; const FILE_EXTENSION = "fileExtension"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; - const ICON_URL = "iconUrl"; const CONTAINER_NAME = "containerName"; const CONTAINER_URL = "containerUrl"; + const ICON_URL = "iconUrl"; } diff --git a/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantStatusInformation.php b/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantStatusInformation.php index 3921f9545b8..c51d9faede7 100644 --- a/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantStatusInformation.php +++ b/src/Beta/Microsoft/Graph/ManagedTenants/Model/TenantStatusInformation.php @@ -26,7 +26,7 @@ class TenantStatusInformation extends \Beta\Microsoft\Graph\Model\Entity /** * Gets the delegatedPrivilegeStatus - * The status of the delegated admin privilege relationship between the managing entity and the managed tenant. Possible values are: none, delegatedAdminPrivileges, unknownFutureValue, granularDelegatedAdminPrivileges, delegatedAndGranularDelegetedAdminPrivileges. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: granularDelegatedAdminPrivileges , delegatedAndGranularDelegetedAdminPrivileges. Optional. Read-only. + * The status of the delegated admin privilege relationship between the managing entity and the managed tenant. Possible values are: none, delegatedAdminPrivileges, unknownFutureValue, granularDelegatedAdminPrivileges, delegatedAndGranularDelegetedAdminPrivileges. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: granularDelegatedAdminPrivileges , delegatedAndGranularDelegetedAdminPrivileges. Optional. Read-only. * * @return DelegatedPrivilegeStatus|null The delegatedPrivilegeStatus */ @@ -45,7 +45,7 @@ public function getDelegatedPrivilegeStatus() /** * Sets the delegatedPrivilegeStatus - * The status of the delegated admin privilege relationship between the managing entity and the managed tenant. Possible values are: none, delegatedAdminPrivileges, unknownFutureValue, granularDelegatedAdminPrivileges, delegatedAndGranularDelegetedAdminPrivileges. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: granularDelegatedAdminPrivileges , delegatedAndGranularDelegetedAdminPrivileges. Optional. Read-only. + * The status of the delegated admin privilege relationship between the managing entity and the managed tenant. Possible values are: none, delegatedAdminPrivileges, unknownFutureValue, granularDelegatedAdminPrivileges, delegatedAndGranularDelegetedAdminPrivileges. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: granularDelegatedAdminPrivileges , delegatedAndGranularDelegetedAdminPrivileges. Optional. Read-only. * * @param DelegatedPrivilegeStatus $val The value to assign to the delegatedPrivilegeStatus * diff --git a/src/Beta/Microsoft/Graph/Model/AadSource.php b/src/Beta/Microsoft/Graph/Model/AadSource.php new file mode 100644 index 00000000000..09d6c8c8e3a --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AadSource.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["domain"]; + } else { + return null; + } + } + + /** + * Sets the domain + * + * @param string $val The value of the domain + * + * @return AadSource + */ + public function setDomain($val) + { + $this->_propDict["domain"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentRequestCallbackData.php b/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentRequestCallbackData.php index 057de164551..98805eb4614 100644 --- a/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentRequestCallbackData.php +++ b/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentRequestCallbackData.php @@ -82,7 +82,7 @@ public function setCustomExtensionStageInstanceId($val) /** * Gets the stage - * Indicates the stage at which the custom callout extension will be executed. The possible values are: assignmentRequestCreated, assignmentRequestApproved, assignmentRequestGranted, assignmentRequestRemoved, assignmentFourteenDaysBeforeExpiration, assignmentOneDayBeforeExpiration, unknownFutureValue. + * Indicates the stage at which the custom callout extension is executed. The possible values are: assignmentRequestCreated, assignmentRequestApproved, assignmentRequestGranted, assignmentRequestRemoved, assignmentFourteenDaysBeforeExpiration, assignmentOneDayBeforeExpiration, unknownFutureValue. * * @return AccessPackageCustomExtensionStage|null The stage */ @@ -101,7 +101,7 @@ public function getStage() /** * Sets the stage - * Indicates the stage at which the custom callout extension will be executed. The possible values are: assignmentRequestCreated, assignmentRequestApproved, assignmentRequestGranted, assignmentRequestRemoved, assignmentFourteenDaysBeforeExpiration, assignmentOneDayBeforeExpiration, unknownFutureValue. + * Indicates the stage at which the custom callout extension is executed. The possible values are: assignmentRequestCreated, assignmentRequestApproved, assignmentRequestGranted, assignmentRequestRemoved, assignmentFourteenDaysBeforeExpiration, assignmentOneDayBeforeExpiration, unknownFutureValue. * * @param AccessPackageCustomExtensionStage $val The value to assign to the stage * diff --git a/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentResourceRole.php b/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentResourceRole.php index 23e0210aa42..f70665c9b38 100644 --- a/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentResourceRole.php +++ b/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentResourceRole.php @@ -84,7 +84,7 @@ public function setOriginSystem($val) /** * Gets the status - * The value is PendingFulfillment when the access package assignment has not yet been delivered to the origin system, and Fulfilled when the access package assignment has been delivered to the origin system. + * The value is PendingFulfillment when the access package assignment hasn't yet been delivered to the origin system, and Fulfilled when the access package assignment has been delivered to the origin system. * * @return string|null The status */ @@ -99,7 +99,7 @@ public function getStatus() /** * Sets the status - * The value is PendingFulfillment when the access package assignment has not yet been delivered to the origin system, and Fulfilled when the access package assignment has been delivered to the origin system. + * The value is PendingFulfillment when the access package assignment hasn't yet been delivered to the origin system, and Fulfilled when the access package assignment has been delivered to the origin system. * * @param string $val The status * diff --git a/src/Beta/Microsoft/Graph/Model/AccessPackageSubject.php b/src/Beta/Microsoft/Graph/Model/AccessPackageSubject.php index 0e245a2b9a9..1cc6f3a4512 100644 --- a/src/Beta/Microsoft/Graph/Model/AccessPackageSubject.php +++ b/src/Beta/Microsoft/Graph/Model/AccessPackageSubject.php @@ -55,6 +55,7 @@ public function setAltSecId($val) /** * Gets the cleanupScheduledDateTime + * The date and time the subject is marked to be blocked from sign in or deleted. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. * * @return \DateTime|null The cleanupScheduledDateTime */ @@ -73,6 +74,7 @@ public function getCleanupScheduledDateTime() /** * Sets the cleanupScheduledDateTime + * The date and time the subject is marked to be blocked from sign in or deleted. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. * * @param \DateTime $val The cleanupScheduledDateTime * @@ -173,7 +175,7 @@ public function setEmail($val) /** * Gets the objectId - * The object identifier of the subject. null if the subject is not yet a user in the tenant. Alternate key. + * The object identifier of the subject. null if the subject isn't yet a user in the tenant. Alternate key. * * @return string|null The objectId */ @@ -188,7 +190,7 @@ public function getObjectId() /** * Sets the objectId - * The object identifier of the subject. null if the subject is not yet a user in the tenant. Alternate key. + * The object identifier of the subject. null if the subject isn't yet a user in the tenant. Alternate key. * * @param string $val The objectId * diff --git a/src/Beta/Microsoft/Graph/Model/AccessReviewHistoryScheduleSettings.php b/src/Beta/Microsoft/Graph/Model/AccessReviewHistoryScheduleSettings.php index 350f5b28c95..b110bffc379 100644 --- a/src/Beta/Microsoft/Graph/Model/AccessReviewHistoryScheduleSettings.php +++ b/src/Beta/Microsoft/Graph/Model/AccessReviewHistoryScheduleSettings.php @@ -58,7 +58,7 @@ public function setRecurrence($val) } /** * Gets the reportRange - * A duration string in ISO 8601 duration format specifying the lookback period of the generated review history data. For example, if a history definition is scheduled to run on the 1st of every month, the reportRange is P1M. In this case, on the first of every month, access review history data will be collected containing only the previous month's review data. Note: Only years, months, and days ISO 8601 properties are supported. Required. + * A duration string in ISO 8601 duration format specifying the lookback period of the generated review history data. For example, if a history definition is scheduled to run on the first of every month, the reportRange is P1M. In this case, on the first of every month, access review history data is collected containing only the previous month's review data. Note: Only years, months, and days ISO 8601 properties are supported. Required. * * @return string|null The reportRange */ @@ -73,7 +73,7 @@ public function getReportRange() /** * Sets the reportRange - * A duration string in ISO 8601 duration format specifying the lookback period of the generated review history data. For example, if a history definition is scheduled to run on the 1st of every month, the reportRange is P1M. In this case, on the first of every month, access review history data will be collected containing only the previous month's review data. Note: Only years, months, and days ISO 8601 properties are supported. Required. + * A duration string in ISO 8601 duration format specifying the lookback period of the generated review history data. For example, if a history definition is scheduled to run on the first of every month, the reportRange is P1M. In this case, on the first of every month, access review history data is collected containing only the previous month's review data. Note: Only years, months, and days ISO 8601 properties are supported. Required. * * @param string $val The value of the reportRange * diff --git a/src/Beta/Microsoft/Graph/Model/AccessReviewInstance.php b/src/Beta/Microsoft/Graph/Model/AccessReviewInstance.php index 0e780b08443..e656195831c 100644 --- a/src/Beta/Microsoft/Graph/Model/AccessReviewInstance.php +++ b/src/Beta/Microsoft/Graph/Model/AccessReviewInstance.php @@ -26,7 +26,7 @@ class AccessReviewInstance extends Entity { /** * Gets the endDateTime - * DateTime when review instance is scheduled to end.The DatetimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $select. Read-only. + * DateTime when review instance is scheduled to end. The DatetimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $select. Read-only. * * @return \DateTime|null The endDateTime */ @@ -45,7 +45,7 @@ public function getEndDateTime() /** * Sets the endDateTime - * DateTime when review instance is scheduled to end.The DatetimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $select. Read-only. + * DateTime when review instance is scheduled to end. The DatetimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $select. Read-only. * * @param \DateTime $val The endDateTime * @@ -90,7 +90,7 @@ public function setErrors($val) /** * Gets the fallbackReviewers - * This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers will be notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner does not exist, or manager is specified as reviewer but a user's manager does not exist. Supports $select. + * This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers are notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner doesn't exist, or manager is specified as reviewer but a user's manager doesn't exist. Supports $select. * * @return array|null The fallbackReviewers */ @@ -105,7 +105,7 @@ public function getFallbackReviewers() /** * Sets the fallbackReviewers - * This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers will be notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner does not exist, or manager is specified as reviewer but a user's manager does not exist. Supports $select. + * This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers are notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner doesn't exist, or manager is specified as reviewer but a user's manager doesn't exist. Supports $select. * * @param AccessReviewReviewerScope[] $val The fallbackReviewers * @@ -304,7 +304,7 @@ public function setDecisions($val) /** * Gets the definition - * There is exactly one accessReviewScheduleDefinition associated with each instance. It is the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. + * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * * @return AccessReviewScheduleDefinition|null The definition */ @@ -323,7 +323,7 @@ public function getDefinition() /** * Sets the definition - * There is exactly one accessReviewScheduleDefinition associated with each instance. It is the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. + * There's exactly one accessReviewScheduleDefinition associated with each instance. It's the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition. * * @param AccessReviewScheduleDefinition $val The definition * diff --git a/src/Beta/Microsoft/Graph/Model/AccessReviewRecurrenceSettings.php b/src/Beta/Microsoft/Graph/Model/AccessReviewRecurrenceSettings.php index b9b550779aa..c61edd34315 100644 --- a/src/Beta/Microsoft/Graph/Model/AccessReviewRecurrenceSettings.php +++ b/src/Beta/Microsoft/Graph/Model/AccessReviewRecurrenceSettings.php @@ -81,7 +81,7 @@ public function setRecurrenceCount($val) } /** * Gets the recurrenceEndType - * How the recurrence ends. Possible values: never, endBy, occurrences, or recurrenceCount. If it is never, then there is no explicit end of the recurrence series. If it is endBy, then the recurrence ends at a certain date. If it is occurrences, then the series ends after recurrenceCount instances of the review have completed. + * How the recurrence ends. Possible values: never, endBy, occurrences, or recurrenceCount. If it's never, then there's no explicit end of the recurrence series. If it's endBy, then the recurrence ends at a certain date. If it's occurrences, then the series ends after recurrenceCount instances of the review have completed. * * @return string|null The recurrenceEndType */ @@ -96,7 +96,7 @@ public function getRecurrenceEndType() /** * Sets the recurrenceEndType - * How the recurrence ends. Possible values: never, endBy, occurrences, or recurrenceCount. If it is never, then there is no explicit end of the recurrence series. If it is endBy, then the recurrence ends at a certain date. If it is occurrences, then the series ends after recurrenceCount instances of the review have completed. + * How the recurrence ends. Possible values: never, endBy, occurrences, or recurrenceCount. If it's never, then there's no explicit end of the recurrence series. If it's endBy, then the recurrence ends at a certain date. If it's occurrences, then the series ends after recurrenceCount instances of the review have completed. * * @param string $val The value of the recurrenceEndType * @@ -109,7 +109,7 @@ public function setRecurrenceEndType($val) } /** * Gets the recurrenceType - * The recurrence interval. Possible vaules: onetime, weekly, monthly, quarterly, halfyearly or annual. + * The recurrence interval. Possible values: onetime, weekly, monthly, quarterly, halfyearly or annual. * * @return string|null The recurrenceType */ @@ -124,7 +124,7 @@ public function getRecurrenceType() /** * Sets the recurrenceType - * The recurrence interval. Possible vaules: onetime, weekly, monthly, quarterly, halfyearly or annual. + * The recurrence interval. Possible values: onetime, weekly, monthly, quarterly, halfyearly or annual. * * @param string $val The value of the recurrenceType * diff --git a/src/Beta/Microsoft/Graph/Model/AdministrativeUnit.php b/src/Beta/Microsoft/Graph/Model/AdministrativeUnit.php index 7dee7b5b78d..3c7d3139165 100644 --- a/src/Beta/Microsoft/Graph/Model/AdministrativeUnit.php +++ b/src/Beta/Microsoft/Graph/Model/AdministrativeUnit.php @@ -84,7 +84,7 @@ public function setDisplayName($val) /** * Gets the isMemberManagementRestricted - * true if members of this administrative unit should be treated as sensitive, which requires specific permissions to manage. Default value is false. Use this property to define administrative units whose roles don't inherit from tenant-level administrators, and management of individual member objects is limited to administrators scoped to a restricted management administrative unit. Immutable, so cannot be changed later. For more information about working with restricted management administrative units, see Restricted management administrative units in Azure Active Directory. + * true if members of this administrative unit should be treated as sensitive, which requires specific permissions to manage. Default value is false. Use this property to define administrative units whose roles don't inherit from tenant-level administrators, and management of individual member objects is limited to administrators scoped to a restricted management administrative unit. Immutable, so can't be changed later. For more information about working with restricted management administrative units, see Restricted management administrative units in Azure Active Directory. * * @return bool|null The isMemberManagementRestricted */ @@ -99,7 +99,7 @@ public function getIsMemberManagementRestricted() /** * Sets the isMemberManagementRestricted - * true if members of this administrative unit should be treated as sensitive, which requires specific permissions to manage. Default value is false. Use this property to define administrative units whose roles don't inherit from tenant-level administrators, and management of individual member objects is limited to administrators scoped to a restricted management administrative unit. Immutable, so cannot be changed later. For more information about working with restricted management administrative units, see Restricted management administrative units in Azure Active Directory. + * true if members of this administrative unit should be treated as sensitive, which requires specific permissions to manage. Default value is false. Use this property to define administrative units whose roles don't inherit from tenant-level administrators, and management of individual member objects is limited to administrators scoped to a restricted management administrative unit. Immutable, so can't be changed later. For more information about working with restricted management administrative units, see Restricted management administrative units in Azure Active Directory. * * @param bool $val The isMemberManagementRestricted * diff --git a/src/Beta/Microsoft/Graph/Model/AggregationOption.php b/src/Beta/Microsoft/Graph/Model/AggregationOption.php index 0bb2a592110..5347013bad9 100644 --- a/src/Beta/Microsoft/Graph/Model/AggregationOption.php +++ b/src/Beta/Microsoft/Graph/Model/AggregationOption.php @@ -86,7 +86,7 @@ public function setField($val) } /** * Gets the size - * The number of searchBucket resources to be returned. This is not required when the range is provided manually in the search request. Optional. + * The number of searchBucket resources to be returned. This isn't required when the range is provided manually in the search request. Optional. * * @return int|null The size */ @@ -101,7 +101,7 @@ public function getSize() /** * Sets the size - * The number of searchBucket resources to be returned. This is not required when the range is provided manually in the search request. Optional. + * The number of searchBucket resources to be returned. This isn't required when the range is provided manually in the search request. Optional. * * @param int $val The value of the size * diff --git a/src/Beta/Microsoft/Graph/Model/AllowedValue.php b/src/Beta/Microsoft/Graph/Model/AllowedValue.php index 547c7c348d8..2fa49179b1e 100644 --- a/src/Beta/Microsoft/Graph/Model/AllowedValue.php +++ b/src/Beta/Microsoft/Graph/Model/AllowedValue.php @@ -26,7 +26,7 @@ class AllowedValue extends Entity { /** * Gets the isActive - * Indicates whether the predefined value is active or deactivated. If set to false, this predefined value cannot be assigned to any additional supported directory objects. + * Indicates whether the predefined value is active or deactivated. If set to false, this predefined value can't be assigned to any more supported directory objects. * * @return bool|null The isActive */ @@ -41,7 +41,7 @@ public function getIsActive() /** * Sets the isActive - * Indicates whether the predefined value is active or deactivated. If set to false, this predefined value cannot be assigned to any additional supported directory objects. + * Indicates whether the predefined value is active or deactivated. If set to false, this predefined value can't be assigned to any more supported directory objects. * * @param bool $val The isActive * diff --git a/src/Beta/Microsoft/Graph/Model/AppRole.php b/src/Beta/Microsoft/Graph/Model/AppRole.php index 4a53f3b63cc..b1d3ae28ad9 100644 --- a/src/Beta/Microsoft/Graph/Model/AppRole.php +++ b/src/Beta/Microsoft/Graph/Model/AppRole.php @@ -109,7 +109,7 @@ public function setDisplayName($val) } /** * Gets the id - * Unique role identifier inside the appRoles collection. When creating a new app role, a new GUID identifier must be provided. + * Unique role identifier inside the appRoles collection. You must specify a new GUID identifier when you create a new app role. * * @return string|null The id */ @@ -124,7 +124,7 @@ public function getId() /** * Sets the id - * Unique role identifier inside the appRoles collection. When creating a new app role, a new GUID identifier must be provided. + * Unique role identifier inside the appRoles collection. You must specify a new GUID identifier when you create a new app role. * * @param string $val The value of the id * @@ -193,7 +193,7 @@ public function setOrigin($val) } /** * Gets the value - * Specifies the value to include in the roles claim in ID tokens and access tokens authenticating an assigned user or service principal. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, as well as characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, are not allowed. May not begin with .. + * Specifies the value to include in the roles claim in ID tokens and access tokens authenticating an assigned user or service principal. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, and characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, aren't allowed. May not begin with .. * * @return string|null The value */ @@ -208,7 +208,7 @@ public function getValue() /** * Sets the value - * Specifies the value to include in the roles claim in ID tokens and access tokens authenticating an assigned user or service principal. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, as well as characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, are not allowed. May not begin with .. + * Specifies the value to include in the roles claim in ID tokens and access tokens authenticating an assigned user or service principal. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, and characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, aren't allowed. May not begin with .. * * @param string $val The value of the value * diff --git a/src/Beta/Microsoft/Graph/Model/AppleManagedIdentityProvider.php b/src/Beta/Microsoft/Graph/Model/AppleManagedIdentityProvider.php index 5d559b4f8a8..bf04db26ead 100644 --- a/src/Beta/Microsoft/Graph/Model/AppleManagedIdentityProvider.php +++ b/src/Beta/Microsoft/Graph/Model/AppleManagedIdentityProvider.php @@ -26,7 +26,7 @@ class AppleManagedIdentityProvider extends IdentityProviderBase { /** * Gets the certificateData - * The certificate data which is a long string of text from the certificate, can be null. + * The certificate data that is a long string of text from the certificate, can be null. * * @return string|null The certificateData */ @@ -41,7 +41,7 @@ public function getCertificateData() /** * Sets the certificateData - * The certificate data which is a long string of text from the certificate, can be null. + * The certificate data that is a long string of text from the certificate, can be null. * * @param string $val The certificateData * diff --git a/src/Beta/Microsoft/Graph/Model/AppliedConditionalAccessPolicy.php b/src/Beta/Microsoft/Graph/Model/AppliedConditionalAccessPolicy.php index 71f75adb123..763960c5509 100644 --- a/src/Beta/Microsoft/Graph/Model/AppliedConditionalAccessPolicy.php +++ b/src/Beta/Microsoft/Graph/Model/AppliedConditionalAccessPolicy.php @@ -59,7 +59,7 @@ public function setAuthenticationStrength($val) /** * Gets the conditionsNotSatisfied - * Refers to the conditional access policy conditions that are not satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk . Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list. + * Refers to the conditional access policy conditions that aren't satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk . You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list. * * @return ConditionalAccessConditions|null The conditionsNotSatisfied */ @@ -78,7 +78,7 @@ public function getConditionsNotSatisfied() /** * Sets the conditionsNotSatisfied - * Refers to the conditional access policy conditions that are not satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk . Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list. + * Refers to the conditional access policy conditions that aren't satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk . You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list. * * @param ConditionalAccessConditions $val The value to assign to the conditionsNotSatisfied * @@ -92,7 +92,7 @@ public function setConditionsNotSatisfied($val) /** * Gets the conditionsSatisfied - * Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list. + * Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list. * * @return ConditionalAccessConditions|null The conditionsSatisfied */ @@ -111,7 +111,7 @@ public function getConditionsSatisfied() /** * Sets the conditionsSatisfied - * Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list. + * Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list. * * @param ConditionalAccessConditions $val The value to assign to the conditionsSatisfied * @@ -303,7 +303,7 @@ public function setIncludeRulesSatisfied($val) /** * Gets the result - * Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (Policy isn't applied because policy conditions were not met),notEnabled (This is due to the policy in disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. + * Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (Policy isn't applied because policy conditions weren't met),notEnabled (This is due to the policy in disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. * * @return AppliedConditionalAccessPolicyResult|null The result */ @@ -322,7 +322,7 @@ public function getResult() /** * Sets the result - * Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (Policy isn't applied because policy conditions were not met),notEnabled (This is due to the policy in disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. + * Indicates the result of the CA policy that was triggered. Possible values are: success, failure, notApplied (Policy isn't applied because policy conditions weren't met),notEnabled (This is due to the policy in disabled state), unknown, unknownFutureValue, reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: reportOnlySuccess, reportOnlyFailure, reportOnlyNotApplied, reportOnlyInterrupted. * * @param AppliedConditionalAccessPolicyResult $val The value to assign to the result * @@ -335,7 +335,7 @@ public function setResult($val) } /** * Gets the sessionControlsNotSatisfied - * Refers to the session controls that a sign-in activity did not satisfy. (Example: Application enforced Restrictions). + * Refers to the session controls that a sign-in activity didn't satisfy. (Example: Application enforced Restrictions). * * @return string|null The sessionControlsNotSatisfied */ @@ -350,7 +350,7 @@ public function getSessionControlsNotSatisfied() /** * Sets the sessionControlsNotSatisfied - * Refers to the session controls that a sign-in activity did not satisfy. (Example: Application enforced Restrictions). + * Refers to the session controls that a sign-in activity didn't satisfy. (Example: Application enforced Restrictions). * * @param string $val The value of the sessionControlsNotSatisfied * diff --git a/src/Beta/Microsoft/Graph/Model/ApprovalStage.php b/src/Beta/Microsoft/Graph/Model/ApprovalStage.php index 3ba1a290f22..55d36b25b5c 100644 --- a/src/Beta/Microsoft/Graph/Model/ApprovalStage.php +++ b/src/Beta/Microsoft/Graph/Model/ApprovalStage.php @@ -25,7 +25,7 @@ class ApprovalStage extends Entity { /** * Gets the approvalStageTimeOutInDays - * The number of days that a request can be pending a response before it is automatically denied. + * The number of days that a request can be pending a response before it's automatically denied. * * @return int|null The approvalStageTimeOutInDays */ @@ -40,7 +40,7 @@ public function getApprovalStageTimeOutInDays() /** * Sets the approvalStageTimeOutInDays - * The number of days that a request can be pending a response before it is automatically denied. + * The number of days that a request can be pending a response before it's automatically denied. * * @param int $val The value of the approvalStageTimeOutInDays * @@ -54,7 +54,7 @@ public function setApprovalStageTimeOutInDays($val) /** * Gets the escalationApprovers - * If escalation is enabled and the primary approvers do not respond before the escalation time, the escalationApprovers are the users who will be asked to approve requests. This can be a collection of singleUser, groupMembers, requestorManager, internalSponsors and externalSponsors. When creating or updating a policy, if there are no escalation approvers, or escalation approvers are not required for the stage, the value of this property should be an empty collection. + * If escalation is enabled and the primary approvers don't respond before the escalation time, the escalationApprovers are the users who will be asked to approve requests. This can be a collection of singleUser, groupMembers, requestorManager, internalSponsors and externalSponsors. When creating or updating a policy, if there are no escalation approvers, or escalation approvers aren't required for the stage, the value of this property should be an empty collection. * * @return UserSet|null The escalationApprovers */ @@ -73,7 +73,7 @@ public function getEscalationApprovers() /** * Sets the escalationApprovers - * If escalation is enabled and the primary approvers do not respond before the escalation time, the escalationApprovers are the users who will be asked to approve requests. This can be a collection of singleUser, groupMembers, requestorManager, internalSponsors and externalSponsors. When creating or updating a policy, if there are no escalation approvers, or escalation approvers are not required for the stage, the value of this property should be an empty collection. + * If escalation is enabled and the primary approvers don't respond before the escalation time, the escalationApprovers are the users who will be asked to approve requests. This can be a collection of singleUser, groupMembers, requestorManager, internalSponsors and externalSponsors. When creating or updating a policy, if there are no escalation approvers, or escalation approvers aren't required for the stage, the value of this property should be an empty collection. * * @param UserSet $val The value to assign to the escalationApprovers * @@ -171,7 +171,7 @@ public function setIsEscalationEnabled($val) /** * Gets the primaryApprovers - * The users who will be asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors, externalSponsors and targetUserSponsors. When creating or updating a policy, include at least one userSet in this collection. + * The users who are asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors, externalSponsors and targetUserSponsors. When creating or updating a policy, include at least one userSet in this collection. * * @return UserSet|null The primaryApprovers */ @@ -190,7 +190,7 @@ public function getPrimaryApprovers() /** * Sets the primaryApprovers - * The users who will be asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors, externalSponsors and targetUserSponsors. When creating or updating a policy, include at least one userSet in this collection. + * The users who are asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors, externalSponsors and targetUserSponsors. When creating or updating a policy, include at least one userSet in this collection. * * @param UserSet $val The value to assign to the primaryApprovers * diff --git a/src/Beta/Microsoft/Graph/Model/AssignmentReviewSettings.php b/src/Beta/Microsoft/Graph/Model/AssignmentReviewSettings.php index 938e42f2e38..6d5ddb310df 100644 --- a/src/Beta/Microsoft/Graph/Model/AssignmentReviewSettings.php +++ b/src/Beta/Microsoft/Graph/Model/AssignmentReviewSettings.php @@ -26,7 +26,7 @@ class AssignmentReviewSettings extends Entity /** * Gets the accessReviewTimeoutBehavior - * The default decision to apply if the request is not reviewed within the period specified in durationInDays. The possible values are: acceptAccessRecommendation, keepAccess, removeAccess, and unknownFutureValue. + * The default decision to apply if the request isn't reviewed within the period specified in durationInDays. The possible values are: acceptAccessRecommendation, keepAccess, removeAccess, and unknownFutureValue. * * @return AccessReviewTimeoutBehavior|null The accessReviewTimeoutBehavior */ @@ -45,7 +45,7 @@ public function getAccessReviewTimeoutBehavior() /** * Sets the accessReviewTimeoutBehavior - * The default decision to apply if the request is not reviewed within the period specified in durationInDays. The possible values are: acceptAccessRecommendation, keepAccess, removeAccess, and unknownFutureValue. + * The default decision to apply if the request isn't reviewed within the period specified in durationInDays. The possible values are: acceptAccessRecommendation, keepAccess, removeAccess, and unknownFutureValue. * * @param AccessReviewTimeoutBehavior $val The value to assign to the accessReviewTimeoutBehavior * diff --git a/src/Beta/Microsoft/Graph/Model/AttachmentInfo.php b/src/Beta/Microsoft/Graph/Model/AttachmentInfo.php index 2ce46673943..f4b51f61750 100644 --- a/src/Beta/Microsoft/Graph/Model/AttachmentInfo.php +++ b/src/Beta/Microsoft/Graph/Model/AttachmentInfo.php @@ -86,7 +86,7 @@ public function setContentType($val) } /** * Gets the name - * The display name of the attachment. This can be a descriptive string and does not have to be the actual file name. Required. + * The display name of the attachment. This can be a descriptive string and doesn't have to be the actual file name. Required. * * @return string|null The name */ @@ -101,7 +101,7 @@ public function getName() /** * Sets the name - * The display name of the attachment. This can be a descriptive string and does not have to be the actual file name. Required. + * The display name of the attachment. This can be a descriptive string and doesn't have to be the actual file name. Required. * * @param string $val The value of the name * diff --git a/src/Beta/Microsoft/Graph/Model/AttachmentItem.php b/src/Beta/Microsoft/Graph/Model/AttachmentItem.php index e2e9a76dcee..2df3d917aaf 100644 --- a/src/Beta/Microsoft/Graph/Model/AttachmentItem.php +++ b/src/Beta/Microsoft/Graph/Model/AttachmentItem.php @@ -142,7 +142,7 @@ public function setIsInline($val) } /** * Gets the name - * The display name of the attachment. This can be a descriptive string and does not have to be the actual file name. Required. + * The display name of the attachment. This can be a descriptive string and doesn't have to be the actual file name. Required. * * @return string|null The name */ @@ -157,7 +157,7 @@ public function getName() /** * Sets the name - * The display name of the attachment. This can be a descriptive string and does not have to be the actual file name. Required. + * The display name of the attachment. This can be a descriptive string and doesn't have to be the actual file name. Required. * * @param string $val The value of the name * diff --git a/src/Beta/Microsoft/Graph/Model/AttackSimulationRoot.php b/src/Beta/Microsoft/Graph/Model/AttackSimulationRoot.php index be07084b9ad..b9655d138cf 100644 --- a/src/Beta/Microsoft/Graph/Model/AttackSimulationRoot.php +++ b/src/Beta/Microsoft/Graph/Model/AttackSimulationRoot.php @@ -27,6 +27,7 @@ class AttackSimulationRoot extends Entity /** * Gets the endUserNotifications + * Represents an end user's notification for an attack simulation training. * * @return array|null The endUserNotifications */ @@ -41,6 +42,7 @@ public function getEndUserNotifications() /** * Sets the endUserNotifications + * Represents an end user's notification for an attack simulation training. * * @param EndUserNotification[] $val The endUserNotifications * @@ -55,6 +57,7 @@ public function setEndUserNotifications($val) /** * Gets the landingPages + * Represents an attack simulation training landing page. * * @return array|null The landingPages */ @@ -69,6 +72,7 @@ public function getLandingPages() /** * Sets the landingPages + * Represents an attack simulation training landing page. * * @param LandingPage[] $val The landingPages * @@ -83,6 +87,7 @@ public function setLandingPages($val) /** * Gets the loginPages + * Represents an attack simulation training login page. * * @return array|null The loginPages */ @@ -97,6 +102,7 @@ public function getLoginPages() /** * Sets the loginPages + * Represents an attack simulation training login page. * * @param LoginPage[] $val The loginPages * @@ -231,6 +237,7 @@ public function setSimulations($val) /** * Gets the trainings + * Represents details about attack simulation trainings. * * @return array|null The trainings */ @@ -245,6 +252,7 @@ public function getTrainings() /** * Sets the trainings + * Represents details about attack simulation trainings. * * @param Training[] $val The trainings * diff --git a/src/Beta/Microsoft/Graph/Model/AuthenticationAttributeCollectionInputConfiguration.php b/src/Beta/Microsoft/Graph/Model/AuthenticationAttributeCollectionInputConfiguration.php index 8c57f382ab1..6a9ccbf1773 100644 --- a/src/Beta/Microsoft/Graph/Model/AuthenticationAttributeCollectionInputConfiguration.php +++ b/src/Beta/Microsoft/Graph/Model/AuthenticationAttributeCollectionInputConfiguration.php @@ -170,7 +170,7 @@ public function setInputType($val) } /** * Gets the label - * The label of the attribute field that will be displayed to end user, unless overridden. + * The label of the attribute field that is displayed to end user, unless overridden. * * @return string|null The label */ @@ -185,7 +185,7 @@ public function getLabel() /** * Sets the label - * The label of the attribute field that will be displayed to end user, unless overridden. + * The label of the attribute field that is displayed to end user, unless overridden. * * @param string $val The value of the label * @@ -287,7 +287,7 @@ public function setValidationRegEx($val) } /** * Gets the writeToDirectory - * Whether the value collected will be stored. + * Whether the value collected is stored. * * @return bool|null The writeToDirectory */ @@ -302,7 +302,7 @@ public function getWriteToDirectory() /** * Sets the writeToDirectory - * Whether the value collected will be stored. + * Whether the value collected is stored. * * @param bool $val The value of the writeToDirectory * diff --git a/src/Beta/Microsoft/Graph/Model/AuthenticationDetail.php b/src/Beta/Microsoft/Graph/Model/AuthenticationDetail.php index 9600c776dd5..ed2d5420ccd 100644 --- a/src/Beta/Microsoft/Graph/Model/AuthenticationDetail.php +++ b/src/Beta/Microsoft/Graph/Model/AuthenticationDetail.php @@ -53,7 +53,7 @@ public function setAuthenticationMethod($val) } /** * Gets the authenticationMethodDetail - * Details about the authentication method used to perform this authentication step. For example, phone number (for SMS and voice), device name (for Authenticator app), and password source (e.g. cloud, AD FS, PTA, PHS). + * Details about the authentication method used to perform this authentication step. For example, phone number (for SMS and voice), device name (for Authenticator app), and password source (for example, cloud, AD FS, PTA, PHS). * * @return string|null The authenticationMethodDetail */ @@ -68,7 +68,7 @@ public function getAuthenticationMethodDetail() /** * Sets the authenticationMethodDetail - * Details about the authentication method used to perform this authentication step. For example, phone number (for SMS and voice), device name (for Authenticator app), and password source (e.g. cloud, AD FS, PTA, PHS). + * Details about the authentication method used to perform this authentication step. For example, phone number (for SMS and voice), device name (for Authenticator app), and password source (for example, cloud, AD FS, PTA, PHS). * * @param string $val The value of the authenticationMethodDetail * @@ -114,7 +114,7 @@ public function setAuthenticationStepDateTime($val) } /** * Gets the authenticationStepRequirement - * The step of authentication that this satisfied. For example, primary authentication, or multi-factor authentication. + * The step of authentication that this satisfied. For example, primary authentication, or multifactor authentication. * * @return string|null The authenticationStepRequirement */ @@ -129,7 +129,7 @@ public function getAuthenticationStepRequirement() /** * Sets the authenticationStepRequirement - * The step of authentication that this satisfied. For example, primary authentication, or multi-factor authentication. + * The step of authentication that this satisfied. For example, primary authentication, or multifactor authentication. * * @param string $val The value of the authenticationStepRequirement * diff --git a/src/Beta/Microsoft/Graph/Model/AuthenticationEventsFlow.php b/src/Beta/Microsoft/Graph/Model/AuthenticationEventsFlow.php index ad8747469f2..d43ac6cecae 100644 --- a/src/Beta/Microsoft/Graph/Model/AuthenticationEventsFlow.php +++ b/src/Beta/Microsoft/Graph/Model/AuthenticationEventsFlow.php @@ -26,7 +26,7 @@ class AuthenticationEventsFlow extends Entity { /** * Gets the conditions - * The conditions representing the context of the authentication request which will be used to decide whether the events policy will be invoked. + * The conditions representing the context of the authentication request that will be used to decide whether the events policy will be invoked. * * @return AuthenticationConditions|null The conditions */ @@ -45,7 +45,7 @@ public function getConditions() /** * Sets the conditions - * The conditions representing the context of the authentication request which will be used to decide whether the events policy will be invoked. + * The conditions representing the context of the authentication request that will be used to decide whether the events policy will be invoked. * * @param AuthenticationConditions $val The conditions * diff --git a/src/Beta/Microsoft/Graph/Model/AuthenticationListener.php b/src/Beta/Microsoft/Graph/Model/AuthenticationListener.php index c8ff3c6b127..9e23cc8ab3d 100644 --- a/src/Beta/Microsoft/Graph/Model/AuthenticationListener.php +++ b/src/Beta/Microsoft/Graph/Model/AuthenticationListener.php @@ -55,7 +55,7 @@ public function setPriority($val) /** * Gets the sourceFilter - * Filter based on the source of the authentication that is used to determine whether the listener is evaluated. This is currently limited to evaluations based on application the user is authenticating to. + * Filter based on the source of the authentication that is used to determine whether the listener is evaluated, and is currently limited to evaluations based on application the user is authenticating to. * * @return AuthenticationSourceFilter|null The sourceFilter */ @@ -74,7 +74,7 @@ public function getSourceFilter() /** * Sets the sourceFilter - * Filter based on the source of the authentication that is used to determine whether the listener is evaluated. This is currently limited to evaluations based on application the user is authenticating to. + * Filter based on the source of the authentication that is used to determine whether the listener is evaluated, and is currently limited to evaluations based on application the user is authenticating to. * * @param AuthenticationSourceFilter $val The sourceFilter * diff --git a/src/Beta/Microsoft/Graph/Model/AuthenticationMethodsPolicy.php b/src/Beta/Microsoft/Graph/Model/AuthenticationMethodsPolicy.php index ca69d4d2d4b..c4c3d1932af 100644 --- a/src/Beta/Microsoft/Graph/Model/AuthenticationMethodsPolicy.php +++ b/src/Beta/Microsoft/Graph/Model/AuthenticationMethodsPolicy.php @@ -117,7 +117,7 @@ public function setLastModifiedDateTime($val) /** * Gets the policyMigrationState - * The state of migration of the authentication methods policy from the legacy multifactor authentication and self-service password reset (SSPR) policies. The possible values are: premigration - means the authentication methods policy is used for authentication only, legacy policies are respected. migrationInProgress - means the authentication methods policy is used for both authenication and SSPR, legacy policies are respected. migrationComplete - means the authentication methods policy is used for authentication and SSPR, legacy policies are ignored. unknownFutureValue - Evolvable enumeration sentinel value. Do not use. + * The state of migration of the authentication methods policy from the legacy multifactor authentication and self-service password reset (SSPR) policies. The possible values are: premigration - means the authentication methods policy is used for authentication only, legacy policies are respected. migrationInProgress - means the authentication methods policy is used for both authentication and SSPR, legacy policies are respected. migrationComplete - means the authentication methods policy is used for authentication and SSPR, legacy policies are ignored. unknownFutureValue - Evolvable enumeration sentinel value. Don't use. * * @return AuthenticationMethodsPolicyMigrationState|null The policyMigrationState */ @@ -136,7 +136,7 @@ public function getPolicyMigrationState() /** * Sets the policyMigrationState - * The state of migration of the authentication methods policy from the legacy multifactor authentication and self-service password reset (SSPR) policies. The possible values are: premigration - means the authentication methods policy is used for authentication only, legacy policies are respected. migrationInProgress - means the authentication methods policy is used for both authenication and SSPR, legacy policies are respected. migrationComplete - means the authentication methods policy is used for authentication and SSPR, legacy policies are ignored. unknownFutureValue - Evolvable enumeration sentinel value. Do not use. + * The state of migration of the authentication methods policy from the legacy multifactor authentication and self-service password reset (SSPR) policies. The possible values are: premigration - means the authentication methods policy is used for authentication only, legacy policies are respected. migrationInProgress - means the authentication methods policy is used for both authentication and SSPR, legacy policies are respected. migrationComplete - means the authentication methods policy is used for authentication and SSPR, legacy policies are ignored. unknownFutureValue - Evolvable enumeration sentinel value. Don't use. * * @param AuthenticationMethodsPolicyMigrationState $val The policyMigrationState * diff --git a/src/Beta/Microsoft/Graph/Model/AuthenticationMethodsRoot.php b/src/Beta/Microsoft/Graph/Model/AuthenticationMethodsRoot.php index fff94906a4e..1c54ff18ecc 100644 --- a/src/Beta/Microsoft/Graph/Model/AuthenticationMethodsRoot.php +++ b/src/Beta/Microsoft/Graph/Model/AuthenticationMethodsRoot.php @@ -27,7 +27,7 @@ class AuthenticationMethodsRoot extends Entity /** * Gets the userRegistrationDetails - * Represents the state of a user's authentication methods, including which methods are registered and which features the user is registered and capable of (such as multi-factor authentication, self-service password reset, and passwordless authentication). + * Represents the state of a user's authentication methods, including which methods are registered and which features the user is registered and capable of (such as multifactor authentication, self-service password reset, and passwordless authentication). * * @return array|null The userRegistrationDetails */ @@ -42,7 +42,7 @@ public function getUserRegistrationDetails() /** * Sets the userRegistrationDetails - * Represents the state of a user's authentication methods, including which methods are registered and which features the user is registered and capable of (such as multi-factor authentication, self-service password reset, and passwordless authentication). + * Represents the state of a user's authentication methods, including which methods are registered and which features the user is registered and capable of (such as multifactor authentication, self-service password reset, and passwordless authentication). * * @param UserRegistrationDetails[] $val The userRegistrationDetails * diff --git a/src/Beta/Microsoft/Graph/Model/AuthorizationPolicy.php b/src/Beta/Microsoft/Graph/Model/AuthorizationPolicy.php index 3b0e130139a..f117db6d9f9 100644 --- a/src/Beta/Microsoft/Graph/Model/AuthorizationPolicy.php +++ b/src/Beta/Microsoft/Graph/Model/AuthorizationPolicy.php @@ -113,7 +113,7 @@ public function setAllowEmailVerifiedUsersToJoinOrganization($val) /** * 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 guests 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 @@ public function getAllowInvitesFrom() /** * 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 guests 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 * @@ -266,7 +266,7 @@ public function setEnabledPreviewFeatures($val) /** * Gets the guestUserRoleId - * Represents role templateId for the role that should be granted to guest user. Refer to List unifiedRoleDefinitions to find the list of available role templates. Currently following roles are supported: User (a0b1b346-4d3e-4e8b-98f8-753987be4970), Guest User (10dae51f-b6af-4016-8d66-8c2a99b929b3), and Restricted Guest User (2af84b1e-32c8-42b7-82bc-daa82404023b). + * Represents role templateId for the role that should be granted to guests. Refer to List unifiedRoleDefinitions to find the list of available role templates. Currently following roles are supported: User (a0b1b346-4d3e-4e8b-98f8-753987be4970), Guest User (10dae51f-b6af-4016-8d66-8c2a99b929b3), and Restricted Guest User (2af84b1e-32c8-42b7-82bc-daa82404023b). * * @return string|null The guestUserRoleId */ @@ -281,7 +281,7 @@ public function getGuestUserRoleId() /** * Sets the guestUserRoleId - * Represents role templateId for the role that should be granted to guest user. Refer to List unifiedRoleDefinitions to find the list of available role templates. Currently following roles are supported: User (a0b1b346-4d3e-4e8b-98f8-753987be4970), Guest User (10dae51f-b6af-4016-8d66-8c2a99b929b3), and Restricted Guest User (2af84b1e-32c8-42b7-82bc-daa82404023b). + * Represents role templateId for the role that should be granted to guests. Refer to List unifiedRoleDefinitions to find the list of available role templates. Currently following roles are supported: User (a0b1b346-4d3e-4e8b-98f8-753987be4970), Guest User (10dae51f-b6af-4016-8d66-8c2a99b929b3), and Restricted Guest User (2af84b1e-32c8-42b7-82bc-daa82404023b). * * @param string $val The guestUserRoleId * diff --git a/src/Beta/Microsoft/Graph/Model/AuthorizationSystem.php b/src/Beta/Microsoft/Graph/Model/AuthorizationSystem.php new file mode 100644 index 00000000000..123a5ee046c --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AuthorizationSystem.php @@ -0,0 +1,139 @@ +_propDict)) { + return $this->_propDict["authorizationSystemId"]; + } else { + return null; + } + } + + /** + * Sets the authorizationSystemId + * + * @param string $val The authorizationSystemId + * + * @return AuthorizationSystem + */ + public function setAuthorizationSystemId($val) + { + $this->_propDict["authorizationSystemId"] = $val; + return $this; + } + + /** + * Gets the authorizationSystemName + * + * @return string|null The authorizationSystemName + */ + public function getAuthorizationSystemName() + { + if (array_key_exists("authorizationSystemName", $this->_propDict)) { + return $this->_propDict["authorizationSystemName"]; + } else { + return null; + } + } + + /** + * Sets the authorizationSystemName + * + * @param string $val The authorizationSystemName + * + * @return AuthorizationSystem + */ + public function setAuthorizationSystemName($val) + { + $this->_propDict["authorizationSystemName"] = $val; + return $this; + } + + /** + * Gets the authorizationSystemType + * + * @return string|null The authorizationSystemType + */ + public function getAuthorizationSystemType() + { + if (array_key_exists("authorizationSystemType", $this->_propDict)) { + return $this->_propDict["authorizationSystemType"]; + } else { + return null; + } + } + + /** + * Sets the authorizationSystemType + * + * @param string $val The authorizationSystemType + * + * @return AuthorizationSystem + */ + public function setAuthorizationSystemType($val) + { + $this->_propDict["authorizationSystemType"] = $val; + return $this; + } + + /** + * Gets the dataCollectionInfo + * + * @return DataCollectionInfo|null The dataCollectionInfo + */ + public function getDataCollectionInfo() + { + if (array_key_exists("dataCollectionInfo", $this->_propDict)) { + if (is_a($this->_propDict["dataCollectionInfo"], "\Beta\Microsoft\Graph\Model\DataCollectionInfo") || is_null($this->_propDict["dataCollectionInfo"])) { + return $this->_propDict["dataCollectionInfo"]; + } else { + $this->_propDict["dataCollectionInfo"] = new DataCollectionInfo($this->_propDict["dataCollectionInfo"]); + return $this->_propDict["dataCollectionInfo"]; + } + } + return null; + } + + /** + * Sets the dataCollectionInfo + * + * @param DataCollectionInfo $val The dataCollectionInfo + * + * @return AuthorizationSystem + */ + public function setDataCollectionInfo($val) + { + $this->_propDict["dataCollectionInfo"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/AuthorizationSystemActionSeverity.php b/src/Beta/Microsoft/Graph/Model/AuthorizationSystemActionSeverity.php new file mode 100644 index 00000000000..c17b8b4ab37 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AuthorizationSystemActionSeverity.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The displayName + * + * @return AuthorizationSystemIdentity + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the externalId + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * + * @param string $val The externalId + * + * @return AuthorizationSystemIdentity + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + /** + * Gets the source + * + * @return AuthorizationSystemIdentitySource|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\AuthorizationSystemIdentitySource") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new AuthorizationSystemIdentitySource($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * + * @param AuthorizationSystemIdentitySource $val The source + * + * @return AuthorizationSystemIdentity + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + + /** + * Gets the authorizationSystem + * + * @return AuthorizationSystem|null The authorizationSystem + */ + public function getAuthorizationSystem() + { + if (array_key_exists("authorizationSystem", $this->_propDict)) { + if (is_a($this->_propDict["authorizationSystem"], "\Beta\Microsoft\Graph\Model\AuthorizationSystem") || is_null($this->_propDict["authorizationSystem"])) { + return $this->_propDict["authorizationSystem"]; + } else { + $this->_propDict["authorizationSystem"] = new AuthorizationSystem($this->_propDict["authorizationSystem"]); + return $this->_propDict["authorizationSystem"]; + } + } + return null; + } + + /** + * Sets the authorizationSystem + * + * @param AuthorizationSystem $val The authorizationSystem + * + * @return AuthorizationSystemIdentity + */ + public function setAuthorizationSystem($val) + { + $this->_propDict["authorizationSystem"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/AuthorizationSystemIdentitySource.php b/src/Beta/Microsoft/Graph/Model/AuthorizationSystemIdentitySource.php new file mode 100644 index 00000000000..9e57021844f --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AuthorizationSystemIdentitySource.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["identityProviderType"]; + } else { + return null; + } + } + + /** + * Sets the identityProviderType + * + * @param string $val The value of the identityProviderType + * + * @return AuthorizationSystemIdentitySource + */ + public function setIdentityProviderType($val) + { + $this->_propDict["identityProviderType"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/AuthorizationSystemResource.php b/src/Beta/Microsoft/Graph/Model/AuthorizationSystemResource.php new file mode 100644 index 00000000000..bfda36d8208 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AuthorizationSystemResource.php @@ -0,0 +1,139 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The displayName + * + * @return AuthorizationSystemResource + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the externalId + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * + * @param string $val The externalId + * + * @return AuthorizationSystemResource + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + /** + * Gets the resourceType + * + * @return string|null The resourceType + */ + public function getResourceType() + { + if (array_key_exists("resourceType", $this->_propDict)) { + return $this->_propDict["resourceType"]; + } else { + return null; + } + } + + /** + * Sets the resourceType + * + * @param string $val The resourceType + * + * @return AuthorizationSystemResource + */ + public function setResourceType($val) + { + $this->_propDict["resourceType"] = $val; + return $this; + } + + /** + * Gets the authorizationSystem + * + * @return AuthorizationSystem|null The authorizationSystem + */ + public function getAuthorizationSystem() + { + if (array_key_exists("authorizationSystem", $this->_propDict)) { + if (is_a($this->_propDict["authorizationSystem"], "\Beta\Microsoft\Graph\Model\AuthorizationSystem") || is_null($this->_propDict["authorizationSystem"])) { + return $this->_propDict["authorizationSystem"]; + } else { + $this->_propDict["authorizationSystem"] = new AuthorizationSystem($this->_propDict["authorizationSystem"]); + return $this->_propDict["authorizationSystem"]; + } + } + return null; + } + + /** + * Sets the authorizationSystem + * + * @param AuthorizationSystem $val The authorizationSystem + * + * @return AuthorizationSystemResource + */ + public function setAuthorizationSystem($val) + { + $this->_propDict["authorizationSystem"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/AuthorizationSystemTypeAction.php b/src/Beta/Microsoft/Graph/Model/AuthorizationSystemTypeAction.php new file mode 100644 index 00000000000..84716ed1c52 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AuthorizationSystemTypeAction.php @@ -0,0 +1,143 @@ +_propDict)) { + if (is_a($this->_propDict["actionType"], "\Beta\Microsoft\Graph\Model\AuthorizationSystemActionType") || is_null($this->_propDict["actionType"])) { + return $this->_propDict["actionType"]; + } else { + $this->_propDict["actionType"] = new AuthorizationSystemActionType($this->_propDict["actionType"]); + return $this->_propDict["actionType"]; + } + } + return null; + } + + /** + * Sets the actionType + * + * @param AuthorizationSystemActionType $val The actionType + * + * @return AuthorizationSystemTypeAction + */ + public function setActionType($val) + { + $this->_propDict["actionType"] = $val; + return $this; + } + + /** + * Gets the externalId + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * + * @param string $val The externalId + * + * @return AuthorizationSystemTypeAction + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + /** + * Gets the resourceTypes + * + * @return array|null The resourceTypes + */ + public function getResourceTypes() + { + if (array_key_exists("resourceTypes", $this->_propDict)) { + return $this->_propDict["resourceTypes"]; + } else { + return null; + } + } + + /** + * Sets the resourceTypes + * + * @param string[] $val The resourceTypes + * + * @return AuthorizationSystemTypeAction + */ + public function setResourceTypes($val) + { + $this->_propDict["resourceTypes"] = $val; + return $this; + } + + /** + * Gets the severity + * + * @return AuthorizationSystemActionSeverity|null The severity + */ + public function getSeverity() + { + if (array_key_exists("severity", $this->_propDict)) { + if (is_a($this->_propDict["severity"], "\Beta\Microsoft\Graph\Model\AuthorizationSystemActionSeverity") || is_null($this->_propDict["severity"])) { + return $this->_propDict["severity"]; + } else { + $this->_propDict["severity"] = new AuthorizationSystemActionSeverity($this->_propDict["severity"]); + return $this->_propDict["severity"]; + } + } + return null; + } + + /** + * Sets the severity + * + * @param AuthorizationSystemActionSeverity $val The severity + * + * @return AuthorizationSystemTypeAction + */ + public function setSeverity($val) + { + $this->_propDict["severity"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/AuthorizationSystemTypeService.php b/src/Beta/Microsoft/Graph/Model/AuthorizationSystemTypeService.php new file mode 100644 index 00000000000..7302daa282a --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AuthorizationSystemTypeService.php @@ -0,0 +1,55 @@ +_propDict)) { + return $this->_propDict["actions"]; + } else { + return null; + } + } + + /** + * Sets the actions + * + * @param AuthorizationSystemTypeAction[] $val The actions + * + * @return AuthorizationSystemTypeService + */ + public function setActions($val) + { + $this->_propDict["actions"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/AvailabilityItem.php b/src/Beta/Microsoft/Graph/Model/AvailabilityItem.php index fffe4131118..78a9facc6e1 100644 --- a/src/Beta/Microsoft/Graph/Model/AvailabilityItem.php +++ b/src/Beta/Microsoft/Graph/Model/AvailabilityItem.php @@ -58,7 +58,7 @@ public function setEndDateTime($val) } /** * Gets the serviceId - * Indicates the service ID in case of 1:n appointments. If the appointment is of type 1:n, this field will be present, otherwise, null. + * Indicates the service ID for 1:n appointments. If the appointment is of type 1:n, this field is present, otherwise, null. * * @return string|null The serviceId */ @@ -73,7 +73,7 @@ public function getServiceId() /** * Sets the serviceId - * Indicates the service ID in case of 1:n appointments. If the appointment is of type 1:n, this field will be present, otherwise, null. + * Indicates the service ID for 1:n appointments. If the appointment is of type 1:n, this field is present, otherwise, null. * * @param string $val The value of the serviceId * diff --git a/src/Beta/Microsoft/Graph/Model/AwsActionsPermissionsDefinitionAction.php b/src/Beta/Microsoft/Graph/Model/AwsActionsPermissionsDefinitionAction.php new file mode 100644 index 00000000000..6389100b285 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AwsActionsPermissionsDefinitionAction.php @@ -0,0 +1,83 @@ +_propDict)) { + return $this->_propDict["assignToRoleId"]; + } else { + return null; + } + } + + /** + * Sets the assignToRoleId + * + * @param string $val The value of the assignToRoleId + * + * @return AwsActionsPermissionsDefinitionAction + */ + public function setAssignToRoleId($val) + { + $this->_propDict["assignToRoleId"] = $val; + return $this; + } + + /** + * Gets the statements + * + * @return AwsStatement|null The statements + */ + public function getStatements() + { + if (array_key_exists("statements", $this->_propDict)) { + if (is_a($this->_propDict["statements"], "\Beta\Microsoft\Graph\Model\AwsStatement") || is_null($this->_propDict["statements"])) { + return $this->_propDict["statements"]; + } else { + $this->_propDict["statements"] = new AwsStatement($this->_propDict["statements"]); + return $this->_propDict["statements"]; + } + } + return null; + } + + /** + * Sets the statements + * + * @param AwsStatement $val The value to assign to the statements + * + * @return AwsActionsPermissionsDefinitionAction The AwsActionsPermissionsDefinitionAction + */ + public function setStatements($val) + { + $this->_propDict["statements"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/AwsAssociatedIdentities.php b/src/Beta/Microsoft/Graph/Model/AwsAssociatedIdentities.php new file mode 100644 index 00000000000..1f4aca2c54e --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AwsAssociatedIdentities.php @@ -0,0 +1,119 @@ +_propDict)) { + if (is_a($this->_propDict["all"], "\Beta\Microsoft\Graph\Model\AwsIdentity") || is_null($this->_propDict["all"])) { + return $this->_propDict["all"]; + } else { + $this->_propDict["all"] = new AwsIdentity($this->_propDict["all"]); + return $this->_propDict["all"]; + } + } + return null; + } + + /** + * Sets the all + * + * @param AwsIdentity $val The value to assign to the all + * + * @return AwsAssociatedIdentities The AwsAssociatedIdentities + */ + public function setAll($val) + { + $this->_propDict["all"] = $val; + return $this; + } + + /** + * Gets the roles + * + * @return AwsRole|null The roles + */ + public function getRoles() + { + if (array_key_exists("roles", $this->_propDict)) { + if (is_a($this->_propDict["roles"], "\Beta\Microsoft\Graph\Model\AwsRole") || is_null($this->_propDict["roles"])) { + return $this->_propDict["roles"]; + } else { + $this->_propDict["roles"] = new AwsRole($this->_propDict["roles"]); + return $this->_propDict["roles"]; + } + } + return null; + } + + /** + * Sets the roles + * + * @param AwsRole $val The value to assign to the roles + * + * @return AwsAssociatedIdentities The AwsAssociatedIdentities + */ + public function setRoles($val) + { + $this->_propDict["roles"] = $val; + return $this; + } + + /** + * Gets the users + * + * @return AwsUser|null The users + */ + public function getUsers() + { + if (array_key_exists("users", $this->_propDict)) { + if (is_a($this->_propDict["users"], "\Beta\Microsoft\Graph\Model\AwsUser") || is_null($this->_propDict["users"])) { + return $this->_propDict["users"]; + } else { + $this->_propDict["users"] = new AwsUser($this->_propDict["users"]); + return $this->_propDict["users"]; + } + } + return null; + } + + /** + * Sets the users + * + * @param AwsUser $val The value to assign to the users + * + * @return AwsAssociatedIdentities The AwsAssociatedIdentities + */ + public function setUsers($val) + { + $this->_propDict["users"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/AwsAuthorizationSystem.php b/src/Beta/Microsoft/Graph/Model/AwsAuthorizationSystem.php new file mode 100644 index 00000000000..5a6cbe04514 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AwsAuthorizationSystem.php @@ -0,0 +1,170 @@ +_propDict)) { + if (is_a($this->_propDict["associatedIdentities"], "\Beta\Microsoft\Graph\Model\AwsAssociatedIdentities") || is_null($this->_propDict["associatedIdentities"])) { + return $this->_propDict["associatedIdentities"]; + } else { + $this->_propDict["associatedIdentities"] = new AwsAssociatedIdentities($this->_propDict["associatedIdentities"]); + return $this->_propDict["associatedIdentities"]; + } + } + return null; + } + + /** + * Sets the associatedIdentities + * + * @param AwsAssociatedIdentities $val The associatedIdentities + * + * @return AwsAuthorizationSystem + */ + public function setAssociatedIdentities($val) + { + $this->_propDict["associatedIdentities"] = $val; + return $this; + } + + + /** + * Gets the actions + * + * @return array|null The actions + */ + public function getActions() + { + if (array_key_exists("actions", $this->_propDict)) { + return $this->_propDict["actions"]; + } else { + return null; + } + } + + /** + * Sets the actions + * + * @param AwsAuthorizationSystemTypeAction[] $val The actions + * + * @return AwsAuthorizationSystem + */ + public function setActions($val) + { + $this->_propDict["actions"] = $val; + return $this; + } + + + /** + * Gets the policies + * + * @return array|null The policies + */ + public function getPolicies() + { + if (array_key_exists("policies", $this->_propDict)) { + return $this->_propDict["policies"]; + } else { + return null; + } + } + + /** + * Sets the policies + * + * @param AwsPolicy[] $val The policies + * + * @return AwsAuthorizationSystem + */ + public function setPolicies($val) + { + $this->_propDict["policies"] = $val; + return $this; + } + + + /** + * Gets the resources + * + * @return array|null The resources + */ + public function getResources() + { + if (array_key_exists("resources", $this->_propDict)) { + return $this->_propDict["resources"]; + } else { + return null; + } + } + + /** + * Sets the resources + * + * @param AwsAuthorizationSystemResource[] $val The resources + * + * @return AwsAuthorizationSystem + */ + public function setResources($val) + { + $this->_propDict["resources"] = $val; + return $this; + } + + + /** + * Gets the services + * + * @return array|null The services + */ + public function getServices() + { + if (array_key_exists("services", $this->_propDict)) { + return $this->_propDict["services"]; + } else { + return null; + } + } + + /** + * Sets the services + * + * @param AuthorizationSystemTypeService[] $val The services + * + * @return AwsAuthorizationSystem + */ + public function setServices($val) + { + $this->_propDict["services"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/AwsAuthorizationSystemResource.php b/src/Beta/Microsoft/Graph/Model/AwsAuthorizationSystemResource.php new file mode 100644 index 00000000000..83ae40a5a2e --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AwsAuthorizationSystemResource.php @@ -0,0 +1,58 @@ +_propDict)) { + if (is_a($this->_propDict["service"], "\Beta\Microsoft\Graph\Model\AuthorizationSystemTypeService") || is_null($this->_propDict["service"])) { + return $this->_propDict["service"]; + } else { + $this->_propDict["service"] = new AuthorizationSystemTypeService($this->_propDict["service"]); + return $this->_propDict["service"]; + } + } + return null; + } + + /** + * Sets the service + * + * @param AuthorizationSystemTypeService $val The service + * + * @return AwsAuthorizationSystemResource + */ + public function setService($val) + { + $this->_propDict["service"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/AwsAuthorizationSystemTypeAction.php b/src/Beta/Microsoft/Graph/Model/AwsAuthorizationSystemTypeAction.php new file mode 100644 index 00000000000..0137f2da5f0 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AwsAuthorizationSystemTypeAction.php @@ -0,0 +1,58 @@ +_propDict)) { + if (is_a($this->_propDict["service"], "\Beta\Microsoft\Graph\Model\AuthorizationSystemTypeService") || is_null($this->_propDict["service"])) { + return $this->_propDict["service"]; + } else { + $this->_propDict["service"] = new AuthorizationSystemTypeService($this->_propDict["service"]); + return $this->_propDict["service"]; + } + } + return null; + } + + /** + * Sets the service + * + * @param AuthorizationSystemTypeService $val The service + * + * @return AwsAuthorizationSystemTypeAction + */ + public function setService($val) + { + $this->_propDict["service"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/AwsCondition.php b/src/Beta/Microsoft/Graph/Model/AwsCondition.php new file mode 100644 index 00000000000..b551afed004 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AwsCondition.php @@ -0,0 +1,26 @@ +setODataType("#microsoft.graph.awsIdentitySource"); + } + + + /** + * Gets the authorizationSystemInfo + * + * @return PermissionsDefinitionAuthorizationSystem|null The authorizationSystemInfo + */ + public function getAuthorizationSystemInfo() + { + if (array_key_exists("authorizationSystemInfo", $this->_propDict)) { + if (is_a($this->_propDict["authorizationSystemInfo"], "\Beta\Microsoft\Graph\Model\PermissionsDefinitionAuthorizationSystem") || is_null($this->_propDict["authorizationSystemInfo"])) { + return $this->_propDict["authorizationSystemInfo"]; + } else { + $this->_propDict["authorizationSystemInfo"] = new PermissionsDefinitionAuthorizationSystem($this->_propDict["authorizationSystemInfo"]); + return $this->_propDict["authorizationSystemInfo"]; + } + } + return null; + } + + /** + * Sets the authorizationSystemInfo + * + * @param PermissionsDefinitionAuthorizationSystem $val The value to assign to the authorizationSystemInfo + * + * @return AwsIdentitySource The AwsIdentitySource + */ + public function setAuthorizationSystemInfo($val) + { + $this->_propDict["authorizationSystemInfo"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/AwsPermissionsDefinition.php b/src/Beta/Microsoft/Graph/Model/AwsPermissionsDefinition.php new file mode 100644 index 00000000000..2f56f96f956 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AwsPermissionsDefinition.php @@ -0,0 +1,68 @@ +setODataType("#microsoft.graph.awsPermissionsDefinition"); + } + + + /** + * Gets the actionInfo + * + * @return AwsPermissionsDefinitionAction|null The actionInfo + */ + public function getActionInfo() + { + if (array_key_exists("actionInfo", $this->_propDict)) { + if (is_a($this->_propDict["actionInfo"], "\Beta\Microsoft\Graph\Model\AwsPermissionsDefinitionAction") || is_null($this->_propDict["actionInfo"])) { + return $this->_propDict["actionInfo"]; + } else { + $this->_propDict["actionInfo"] = new AwsPermissionsDefinitionAction($this->_propDict["actionInfo"]); + return $this->_propDict["actionInfo"]; + } + } + return null; + } + + /** + * Sets the actionInfo + * + * @param AwsPermissionsDefinitionAction $val The value to assign to the actionInfo + * + * @return AwsPermissionsDefinition The AwsPermissionsDefinition + */ + public function setActionInfo($val) + { + $this->_propDict["actionInfo"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/AwsPermissionsDefinitionAction.php b/src/Beta/Microsoft/Graph/Model/AwsPermissionsDefinitionAction.php new file mode 100644 index 00000000000..b6de2bd3b79 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AwsPermissionsDefinitionAction.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["awsPolicyType"], "\Beta\Microsoft\Graph\Model\AwsPolicyType") || is_null($this->_propDict["awsPolicyType"])) { + return $this->_propDict["awsPolicyType"]; + } else { + $this->_propDict["awsPolicyType"] = new AwsPolicyType($this->_propDict["awsPolicyType"]); + return $this->_propDict["awsPolicyType"]; + } + } + return null; + } + + /** + * Sets the awsPolicyType + * + * @param AwsPolicyType $val The awsPolicyType + * + * @return AwsPolicy + */ + public function setAwsPolicyType($val) + { + $this->_propDict["awsPolicyType"] = $val; + return $this; + } + + /** + * Gets the displayName + * + * @return string|null The displayName + */ + public function getDisplayName() + { + if (array_key_exists("displayName", $this->_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The displayName + * + * @return AwsPolicy + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the externalId + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * + * @param string $val The externalId + * + * @return AwsPolicy + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/AwsPolicyPermissionsDefinitionAction.php b/src/Beta/Microsoft/Graph/Model/AwsPolicyPermissionsDefinitionAction.php new file mode 100644 index 00000000000..9c7a9ea9a2f --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AwsPolicyPermissionsDefinitionAction.php @@ -0,0 +1,83 @@ +_propDict)) { + return $this->_propDict["assignToRoleId"]; + } else { + return null; + } + } + + /** + * Sets the assignToRoleId + * + * @param string $val The value of the assignToRoleId + * + * @return AwsPolicyPermissionsDefinitionAction + */ + public function setAssignToRoleId($val) + { + $this->_propDict["assignToRoleId"] = $val; + return $this; + } + + /** + * Gets the policies + * + * @return PermissionsDefinitionAwsPolicy|null The policies + */ + public function getPolicies() + { + if (array_key_exists("policies", $this->_propDict)) { + if (is_a($this->_propDict["policies"], "\Beta\Microsoft\Graph\Model\PermissionsDefinitionAwsPolicy") || is_null($this->_propDict["policies"])) { + return $this->_propDict["policies"]; + } else { + $this->_propDict["policies"] = new PermissionsDefinitionAwsPolicy($this->_propDict["policies"]); + return $this->_propDict["policies"]; + } + } + return null; + } + + /** + * Sets the policies + * + * @param PermissionsDefinitionAwsPolicy $val The value to assign to the policies + * + * @return AwsPolicyPermissionsDefinitionAction The AwsPolicyPermissionsDefinitionAction + */ + public function setPolicies($val) + { + $this->_propDict["policies"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/AwsPolicyType.php b/src/Beta/Microsoft/Graph/Model/AwsPolicyType.php new file mode 100644 index 00000000000..c58e5382a1d --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AwsPolicyType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["roleType"], "\Beta\Microsoft\Graph\Model\AwsRoleType") || is_null($this->_propDict["roleType"])) { + return $this->_propDict["roleType"]; + } else { + $this->_propDict["roleType"] = new AwsRoleType($this->_propDict["roleType"]); + return $this->_propDict["roleType"]; + } + } + return null; + } + + /** + * Sets the roleType + * + * @param AwsRoleType $val The roleType + * + * @return AwsRole + */ + public function setRoleType($val) + { + $this->_propDict["roleType"] = $val; + return $this; + } + + /** + * Gets the trustEntityType + * + * @return AwsRoleTrustEntityType|null The trustEntityType + */ + public function getTrustEntityType() + { + if (array_key_exists("trustEntityType", $this->_propDict)) { + if (is_a($this->_propDict["trustEntityType"], "\Beta\Microsoft\Graph\Model\AwsRoleTrustEntityType") || is_null($this->_propDict["trustEntityType"])) { + return $this->_propDict["trustEntityType"]; + } else { + $this->_propDict["trustEntityType"] = new AwsRoleTrustEntityType($this->_propDict["trustEntityType"]); + return $this->_propDict["trustEntityType"]; + } + } + return null; + } + + /** + * Sets the trustEntityType + * + * @param AwsRoleTrustEntityType $val The trustEntityType + * + * @return AwsRole + */ + public function setTrustEntityType($val) + { + $this->_propDict["trustEntityType"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/AwsRoleTrustEntityType.php b/src/Beta/Microsoft/Graph/Model/AwsRoleTrustEntityType.php new file mode 100644 index 00000000000..80f59aabc12 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AwsRoleTrustEntityType.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["accountId"]; + } else { + return null; + } + } + + /** + * Sets the accountId + * + * @param string $val The value of the accountId + * + * @return AwsSource + */ + public function setAccountId($val) + { + $this->_propDict["accountId"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/AwsStatement.php b/src/Beta/Microsoft/Graph/Model/AwsStatement.php new file mode 100644 index 00000000000..815d8c0d864 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AwsStatement.php @@ -0,0 +1,304 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the AwsStatement + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * Gets the actions + * + * @return array|null The actions + */ + public function getActions() + { + if (array_key_exists("actions", $this->_propDict)) { + return $this->_propDict["actions"]; + } else { + return null; + } + } + + /** + * Sets the actions + * + * @param string[] $val The actions + * + * @return AwsStatement + */ + public function setActions($val) + { + $this->_propDict["actions"] = $val; + return $this; + } + + /** + * Gets the condition + * + * @return AwsCondition|null The condition + */ + public function getCondition() + { + if (array_key_exists("condition", $this->_propDict)) { + if (is_a($this->_propDict["condition"], "\Beta\Microsoft\Graph\Model\AwsCondition") || is_null($this->_propDict["condition"])) { + return $this->_propDict["condition"]; + } else { + $this->_propDict["condition"] = new AwsCondition($this->_propDict["condition"]); + return $this->_propDict["condition"]; + } + } + return null; + } + + /** + * Sets the condition + * + * @param AwsCondition $val The condition + * + * @return AwsStatement + */ + public function setCondition($val) + { + $this->_propDict["condition"] = $val; + return $this; + } + + /** + * Gets the effect + * + * @return AwsStatementEffect|null The effect + */ + public function getEffect() + { + if (array_key_exists("effect", $this->_propDict)) { + if (is_a($this->_propDict["effect"], "\Beta\Microsoft\Graph\Model\AwsStatementEffect") || is_null($this->_propDict["effect"])) { + return $this->_propDict["effect"]; + } else { + $this->_propDict["effect"] = new AwsStatementEffect($this->_propDict["effect"]); + return $this->_propDict["effect"]; + } + } + return null; + } + + /** + * Sets the effect + * + * @param AwsStatementEffect $val The effect + * + * @return AwsStatement + */ + public function setEffect($val) + { + $this->_propDict["effect"] = $val; + return $this; + } + + /** + * Gets the notActions + * + * @return array|null The notActions + */ + public function getNotActions() + { + if (array_key_exists("notActions", $this->_propDict)) { + return $this->_propDict["notActions"]; + } else { + return null; + } + } + + /** + * Sets the notActions + * + * @param string[] $val The notActions + * + * @return AwsStatement + */ + public function setNotActions($val) + { + $this->_propDict["notActions"] = $val; + return $this; + } + + /** + * Gets the notResources + * + * @return array|null The notResources + */ + public function getNotResources() + { + if (array_key_exists("notResources", $this->_propDict)) { + return $this->_propDict["notResources"]; + } else { + return null; + } + } + + /** + * Sets the notResources + * + * @param string[] $val The notResources + * + * @return AwsStatement + */ + public function setNotResources($val) + { + $this->_propDict["notResources"] = $val; + return $this; + } + + /** + * Gets the resources + * + * @return array|null The resources + */ + public function getResources() + { + if (array_key_exists("resources", $this->_propDict)) { + return $this->_propDict["resources"]; + } else { + return null; + } + } + + /** + * Sets the resources + * + * @param string[] $val The resources + * + * @return AwsStatement + */ + public function setResources($val) + { + $this->_propDict["resources"] = $val; + return $this; + } + + /** + * Gets the statementId + * + * @return string|null The statementId + */ + public function getStatementId() + { + if (array_key_exists("statementId", $this->_propDict)) { + return $this->_propDict["statementId"]; + } else { + return null; + } + } + + /** + * Sets the statementId + * + * @param string $val The statementId + * + * @return AwsStatement + */ + public function setStatementId($val) + { + $this->_propDict["statementId"] = $val; + return $this; + } + + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return AwsStatement + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/AwsStatementEffect.php b/src/Beta/Microsoft/Graph/Model/AwsStatementEffect.php new file mode 100644 index 00000000000..c654458a45e --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AwsStatementEffect.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["assumableRoles"]; + } else { + return null; + } + } + + /** + * Sets the assumableRoles + * + * @param AwsRole[] $val The assumableRoles + * + * @return AwsUser + */ + public function setAssumableRoles($val) + { + $this->_propDict["assumableRoles"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/AzureActionPermissionsDefinitionAction.php b/src/Beta/Microsoft/Graph/Model/AzureActionPermissionsDefinitionAction.php new file mode 100644 index 00000000000..1dd0b3b1330 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AzureActionPermissionsDefinitionAction.php @@ -0,0 +1,52 @@ +_propDict)) { + return $this->_propDict["actions"]; + } else { + return null; + } + } + + /** + * Sets the actions + * + * @param string $val The value of the actions + * + * @return AzureActionPermissionsDefinitionAction + */ + public function setActions($val) + { + $this->_propDict["actions"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/AzureAssociatedIdentities.php b/src/Beta/Microsoft/Graph/Model/AzureAssociatedIdentities.php new file mode 100644 index 00000000000..69b822cc417 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AzureAssociatedIdentities.php @@ -0,0 +1,150 @@ +_propDict)) { + if (is_a($this->_propDict["all"], "\Beta\Microsoft\Graph\Model\AzureIdentity") || is_null($this->_propDict["all"])) { + return $this->_propDict["all"]; + } else { + $this->_propDict["all"] = new AzureIdentity($this->_propDict["all"]); + return $this->_propDict["all"]; + } + } + return null; + } + + /** + * Sets the all + * + * @param AzureIdentity $val The value to assign to the all + * + * @return AzureAssociatedIdentities The AzureAssociatedIdentities + */ + public function setAll($val) + { + $this->_propDict["all"] = $val; + return $this; + } + + /** + * Gets the managedIdentities + * + * @return AzureManagedIdentity|null The managedIdentities + */ + public function getManagedIdentities() + { + if (array_key_exists("managedIdentities", $this->_propDict)) { + if (is_a($this->_propDict["managedIdentities"], "\Beta\Microsoft\Graph\Model\AzureManagedIdentity") || is_null($this->_propDict["managedIdentities"])) { + return $this->_propDict["managedIdentities"]; + } else { + $this->_propDict["managedIdentities"] = new AzureManagedIdentity($this->_propDict["managedIdentities"]); + return $this->_propDict["managedIdentities"]; + } + } + return null; + } + + /** + * Sets the managedIdentities + * + * @param AzureManagedIdentity $val The value to assign to the managedIdentities + * + * @return AzureAssociatedIdentities The AzureAssociatedIdentities + */ + public function setManagedIdentities($val) + { + $this->_propDict["managedIdentities"] = $val; + return $this; + } + + /** + * Gets the servicePrincipals + * + * @return AzureServicePrincipal|null The servicePrincipals + */ + public function getServicePrincipals() + { + if (array_key_exists("servicePrincipals", $this->_propDict)) { + if (is_a($this->_propDict["servicePrincipals"], "\Beta\Microsoft\Graph\Model\AzureServicePrincipal") || is_null($this->_propDict["servicePrincipals"])) { + return $this->_propDict["servicePrincipals"]; + } else { + $this->_propDict["servicePrincipals"] = new AzureServicePrincipal($this->_propDict["servicePrincipals"]); + return $this->_propDict["servicePrincipals"]; + } + } + return null; + } + + /** + * Sets the servicePrincipals + * + * @param AzureServicePrincipal $val The value to assign to the servicePrincipals + * + * @return AzureAssociatedIdentities The AzureAssociatedIdentities + */ + public function setServicePrincipals($val) + { + $this->_propDict["servicePrincipals"] = $val; + return $this; + } + + /** + * Gets the users + * + * @return AzureUser|null The users + */ + public function getUsers() + { + if (array_key_exists("users", $this->_propDict)) { + if (is_a($this->_propDict["users"], "\Beta\Microsoft\Graph\Model\AzureUser") || is_null($this->_propDict["users"])) { + return $this->_propDict["users"]; + } else { + $this->_propDict["users"] = new AzureUser($this->_propDict["users"]); + return $this->_propDict["users"]; + } + } + return null; + } + + /** + * Sets the users + * + * @param AzureUser $val The value to assign to the users + * + * @return AzureAssociatedIdentities The AzureAssociatedIdentities + */ + public function setUsers($val) + { + $this->_propDict["users"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/AzureAuthorizationSystem.php b/src/Beta/Microsoft/Graph/Model/AzureAuthorizationSystem.php new file mode 100644 index 00000000000..85b75359648 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AzureAuthorizationSystem.php @@ -0,0 +1,170 @@ +_propDict)) { + if (is_a($this->_propDict["associatedIdentities"], "\Beta\Microsoft\Graph\Model\AzureAssociatedIdentities") || is_null($this->_propDict["associatedIdentities"])) { + return $this->_propDict["associatedIdentities"]; + } else { + $this->_propDict["associatedIdentities"] = new AzureAssociatedIdentities($this->_propDict["associatedIdentities"]); + return $this->_propDict["associatedIdentities"]; + } + } + return null; + } + + /** + * Sets the associatedIdentities + * + * @param AzureAssociatedIdentities $val The associatedIdentities + * + * @return AzureAuthorizationSystem + */ + public function setAssociatedIdentities($val) + { + $this->_propDict["associatedIdentities"] = $val; + return $this; + } + + + /** + * Gets the actions + * + * @return array|null The actions + */ + public function getActions() + { + if (array_key_exists("actions", $this->_propDict)) { + return $this->_propDict["actions"]; + } else { + return null; + } + } + + /** + * Sets the actions + * + * @param AzureAuthorizationSystemTypeAction[] $val The actions + * + * @return AzureAuthorizationSystem + */ + public function setActions($val) + { + $this->_propDict["actions"] = $val; + return $this; + } + + + /** + * Gets the resources + * + * @return array|null The resources + */ + public function getResources() + { + if (array_key_exists("resources", $this->_propDict)) { + return $this->_propDict["resources"]; + } else { + return null; + } + } + + /** + * Sets the resources + * + * @param AzureAuthorizationSystemResource[] $val The resources + * + * @return AzureAuthorizationSystem + */ + public function setResources($val) + { + $this->_propDict["resources"] = $val; + return $this; + } + + + /** + * Gets the roleDefinitions + * + * @return array|null The roleDefinitions + */ + public function getRoleDefinitions() + { + if (array_key_exists("roleDefinitions", $this->_propDict)) { + return $this->_propDict["roleDefinitions"]; + } else { + return null; + } + } + + /** + * Sets the roleDefinitions + * + * @param AzureRoleDefinition[] $val The roleDefinitions + * + * @return AzureAuthorizationSystem + */ + public function setRoleDefinitions($val) + { + $this->_propDict["roleDefinitions"] = $val; + return $this; + } + + + /** + * Gets the services + * + * @return array|null The services + */ + public function getServices() + { + if (array_key_exists("services", $this->_propDict)) { + return $this->_propDict["services"]; + } else { + return null; + } + } + + /** + * Sets the services + * + * @param AuthorizationSystemTypeService[] $val The services + * + * @return AzureAuthorizationSystem + */ + public function setServices($val) + { + $this->_propDict["services"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/AzureAuthorizationSystemResource.php b/src/Beta/Microsoft/Graph/Model/AzureAuthorizationSystemResource.php new file mode 100644 index 00000000000..94d259c791e --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AzureAuthorizationSystemResource.php @@ -0,0 +1,58 @@ +_propDict)) { + if (is_a($this->_propDict["service"], "\Beta\Microsoft\Graph\Model\AuthorizationSystemTypeService") || is_null($this->_propDict["service"])) { + return $this->_propDict["service"]; + } else { + $this->_propDict["service"] = new AuthorizationSystemTypeService($this->_propDict["service"]); + return $this->_propDict["service"]; + } + } + return null; + } + + /** + * Sets the service + * + * @param AuthorizationSystemTypeService $val The service + * + * @return AzureAuthorizationSystemResource + */ + public function setService($val) + { + $this->_propDict["service"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/AzureAuthorizationSystemTypeAction.php b/src/Beta/Microsoft/Graph/Model/AzureAuthorizationSystemTypeAction.php new file mode 100644 index 00000000000..a775f578b08 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AzureAuthorizationSystemTypeAction.php @@ -0,0 +1,58 @@ +_propDict)) { + if (is_a($this->_propDict["service"], "\Beta\Microsoft\Graph\Model\AuthorizationSystemTypeService") || is_null($this->_propDict["service"])) { + return $this->_propDict["service"]; + } else { + $this->_propDict["service"] = new AuthorizationSystemTypeService($this->_propDict["service"]); + return $this->_propDict["service"]; + } + } + return null; + } + + /** + * Sets the service + * + * @param AuthorizationSystemTypeService $val The service + * + * @return AzureAuthorizationSystemTypeAction + */ + public function setService($val) + { + $this->_propDict["service"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/AzureIdentity.php b/src/Beta/Microsoft/Graph/Model/AzureIdentity.php new file mode 100644 index 00000000000..ebdc62433e1 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AzureIdentity.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["assignableScopes"]; + } else { + return null; + } + } + + /** + * Sets the assignableScopes + * + * @param string[] $val The assignableScopes + * + * @return AzureRoleDefinition + */ + public function setAssignableScopes($val) + { + $this->_propDict["assignableScopes"] = $val; + return $this; + } + + /** + * Gets the azureRoleDefinitionType + * + * @return AzureRoleDefinitionType|null The azureRoleDefinitionType + */ + public function getAzureRoleDefinitionType() + { + if (array_key_exists("azureRoleDefinitionType", $this->_propDict)) { + if (is_a($this->_propDict["azureRoleDefinitionType"], "\Beta\Microsoft\Graph\Model\AzureRoleDefinitionType") || is_null($this->_propDict["azureRoleDefinitionType"])) { + return $this->_propDict["azureRoleDefinitionType"]; + } else { + $this->_propDict["azureRoleDefinitionType"] = new AzureRoleDefinitionType($this->_propDict["azureRoleDefinitionType"]); + return $this->_propDict["azureRoleDefinitionType"]; + } + } + return null; + } + + /** + * Sets the azureRoleDefinitionType + * + * @param AzureRoleDefinitionType $val The azureRoleDefinitionType + * + * @return AzureRoleDefinition + */ + public function setAzureRoleDefinitionType($val) + { + $this->_propDict["azureRoleDefinitionType"] = $val; + return $this; + } + + /** + * Gets the displayName + * + * @return string|null The displayName + */ + public function getDisplayName() + { + if (array_key_exists("displayName", $this->_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The displayName + * + * @return AzureRoleDefinition + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the externalId + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * + * @param string $val The externalId + * + * @return AzureRoleDefinition + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/AzureRoleDefinitionType.php b/src/Beta/Microsoft/Graph/Model/AzureRoleDefinitionType.php new file mode 100644 index 00000000000..264626131f0 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AzureRoleDefinitionType.php @@ -0,0 +1,35 @@ +_propDict)) { + if (is_a($this->_propDict["roles"], "\Beta\Microsoft\Graph\Model\PermissionsDefinitionAzureRole") || is_null($this->_propDict["roles"])) { + return $this->_propDict["roles"]; + } else { + $this->_propDict["roles"] = new PermissionsDefinitionAzureRole($this->_propDict["roles"]); + return $this->_propDict["roles"]; + } + } + return null; + } + + /** + * Sets the roles + * + * @param PermissionsDefinitionAzureRole $val The value to assign to the roles + * + * @return AzureRolePermissionsDefinitionAction The AzureRolePermissionsDefinitionAction + */ + public function setRoles($val) + { + $this->_propDict["roles"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/AzureServicePrincipal.php b/src/Beta/Microsoft/Graph/Model/AzureServicePrincipal.php new file mode 100644 index 00000000000..dba5ea0c334 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AzureServicePrincipal.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["subscriptionId"]; + } else { + return null; + } + } + + /** + * Sets the subscriptionId + * + * @param string $val The value of the subscriptionId + * + * @return AzureSource + */ + public function setSubscriptionId($val) + { + $this->_propDict["subscriptionId"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/AzureUser.php b/src/Beta/Microsoft/Graph/Model/AzureUser.php new file mode 100644 index 00000000000..6b11509351c --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/AzureUser.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["errorMessage"]; + } else { + return null; + } + } + + /** + * Sets the errorMessage + * + * @param string $val The value of the errorMessage + * + * @return CloudPcPartnerAgentInstallResult + */ + public function setErrorMessage($val) + { + $this->_propDict["errorMessage"] = $val; + return $this; + } /** * Gets the installStatus diff --git a/src/Beta/Microsoft/Graph/Model/CompanySubscription.php b/src/Beta/Microsoft/Graph/Model/CompanySubscription.php index e67d9658088..c1c535951bf 100644 --- a/src/Beta/Microsoft/Graph/Model/CompanySubscription.php +++ b/src/Beta/Microsoft/Graph/Model/CompanySubscription.php @@ -352,7 +352,7 @@ public function setSkuPartNumber($val) /** * Gets the status - * The status of this subscription. Possible values are: Enabled, Expired, Suspended, Warning, LockedOut. + * The status of this subscription. Possible values are: Enabled, Deleted, Suspended, Warning, LockedOut. * * @return string|null The status */ @@ -367,7 +367,7 @@ public function getStatus() /** * Sets the status - * The status of this subscription. Possible values are: Enabled, Expired, Suspended, Warning, LockedOut. + * The status of this subscription. Possible values are: Enabled, Deleted, Suspended, Warning, LockedOut. * * @param string $val The status * diff --git a/src/Beta/Microsoft/Graph/Model/ConditionalAccessSessionControls.php b/src/Beta/Microsoft/Graph/Model/ConditionalAccessSessionControls.php index 7c47c329ec6..6bd52f1e764 100644 --- a/src/Beta/Microsoft/Graph/Model/ConditionalAccessSessionControls.php +++ b/src/Beta/Microsoft/Graph/Model/ConditionalAccessSessionControls.php @@ -124,7 +124,7 @@ public function setContinuousAccessEvaluation($val) } /** * Gets the disableResilienceDefaults - * Session control that determines whether it is acceptable for Azure AD to extend existing sessions based on information collected prior to an outage or not. + * Session control that determines whether it's acceptable for Azure AD to extend existing sessions based on information collected prior to an outage or not. * * @return bool|null The disableResilienceDefaults */ @@ -139,7 +139,7 @@ public function getDisableResilienceDefaults() /** * Sets the disableResilienceDefaults - * Session control that determines whether it is acceptable for Azure AD to extend existing sessions based on information collected prior to an outage or not. + * Session control that determines whether it's acceptable for Azure AD to extend existing sessions based on information collected prior to an outage or not. * * @param bool $val The value of the disableResilienceDefaults * diff --git a/src/Beta/Microsoft/Graph/Model/ConvertIdResult.php b/src/Beta/Microsoft/Graph/Model/ConvertIdResult.php index 5e1dc862e03..beeeccface2 100644 --- a/src/Beta/Microsoft/Graph/Model/ConvertIdResult.php +++ b/src/Beta/Microsoft/Graph/Model/ConvertIdResult.php @@ -26,7 +26,7 @@ class ConvertIdResult extends Entity /** * Gets the errorDetails - * An error object indicating the reason for the conversion failure. This value is not present if the conversion succeeded. + * An error object indicating the reason for the conversion failure. This value isn't present if the conversion succeeded. * * @return GenericError|null The errorDetails */ @@ -45,7 +45,7 @@ public function getErrorDetails() /** * Sets the errorDetails - * An error object indicating the reason for the conversion failure. This value is not present if the conversion succeeded. + * An error object indicating the reason for the conversion failure. This value isn't present if the conversion succeeded. * * @param GenericError $val The value to assign to the errorDetails * @@ -58,7 +58,7 @@ public function setErrorDetails($val) } /** * Gets the sourceId - * The identifier that was converted. This value is the original, un-converted identifier. + * The identifier that was converted. This value is the original, unconverted identifier. * * @return string|null The sourceId */ @@ -73,7 +73,7 @@ public function getSourceId() /** * Sets the sourceId - * The identifier that was converted. This value is the original, un-converted identifier. + * The identifier that was converted. This value is the original, unconverted identifier. * * @param string $val The value of the sourceId * @@ -86,7 +86,7 @@ public function setSourceId($val) } /** * Gets the targetId - * The converted identifier. This value is not present if the conversion failed. + * The converted identifier. This value isn't present if the conversion failed. * * @return string|null The targetId */ @@ -101,7 +101,7 @@ public function getTargetId() /** * Sets the targetId - * The converted identifier. This value is not present if the conversion failed. + * The converted identifier. This value isn't present if the conversion failed. * * @param string $val The value of the targetId * diff --git a/src/Beta/Microsoft/Graph/Model/CreateRemoteHelpSessionResponse.php b/src/Beta/Microsoft/Graph/Model/CreateRemoteHelpSessionResponse.php index f86bb62f78e..e60fcbd4456 100644 --- a/src/Beta/Microsoft/Graph/Model/CreateRemoteHelpSessionResponse.php +++ b/src/Beta/Microsoft/Graph/Model/CreateRemoteHelpSessionResponse.php @@ -12,7 +12,6 @@ * @link https://graph.microsoft.com */ namespace Beta\Microsoft\Graph\Model; - /** * CreateRemoteHelpSessionResponse class * @@ -22,39 +21,8 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class CreateRemoteHelpSessionResponse implements \JsonSerializable +class CreateRemoteHelpSessionResponse extends Entity { - /** - * The array of properties available - * to the model - * - * @var array $_propDict - */ - protected $_propDict; - - /** - * Construct a new CreateRemoteHelpSessionResponse - * - * @param array $propDict A list of properties to set - */ - function __construct($propDict = array()) - { - if (!is_array($propDict)) { - $propDict = array(); - } - $this->_propDict = $propDict; - } - - /** - * Gets the property dictionary of the CreateRemoteHelpSessionResponse - * - * @return array The list of properties - */ - public function getProperties() - { - return $this->_propDict; - } - /** * Gets the sessionKey * The unique identifier for a session @@ -74,7 +42,7 @@ public function getSessionKey() * Sets the sessionKey * The unique identifier for a session * - * @param string $val The sessionKey + * @param string $val The value of the sessionKey * * @return CreateRemoteHelpSessionResponse */ @@ -83,54 +51,4 @@ public function setSessionKey($val) $this->_propDict["sessionKey"] = $val; return $this; } - - /** - * Gets the ODataType - * - * @return string|null The ODataType - */ - public function getODataType() - { - if (array_key_exists('@odata.type', $this->_propDict)) { - return $this->_propDict["@odata.type"]; - } - return null; - } - - /** - * Sets the ODataType - * - * @param string $val The ODataType - * - * @return CreateRemoteHelpSessionResponse - */ - public function setODataType($val) - { - $this->_propDict["@odata.type"] = $val; - return $this; - } - - /** - * Serializes the object by property array - * Manually serialize DateTime into RFC3339 format - * - * @return array The list of properties - */ - #[\ReturnTypeWillChange] - public function jsonSerialize() - { - $serializableProperties = $this->getProperties(); - foreach ($serializableProperties as $property => $val) { - if (is_a($val, "\DateTime")) { - $serializableProperties[$property] = $val->format(\DateTime::RFC3339); - } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { - $serializableProperties[$property] = $val->value(); - } else if (is_a($val, "\Entity")) { - $serializableProperties[$property] = $val->jsonSerialize(); - } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { - $serializableProperties[$property] = (string) $val; - } - } - return $serializableProperties; - } } diff --git a/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicy.php b/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicy.php index b5aeef33308..128cd644de1 100644 --- a/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicy.php +++ b/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicy.php @@ -116,4 +116,37 @@ public function setPartners($val) return $this; } + /** + * Gets the templates + * Represents the base policy in the directory for multi-tenant organization settings. + * + * @return PolicyTemplate|null The templates + */ + public function getTemplates() + { + if (array_key_exists("templates", $this->_propDict)) { + if (is_a($this->_propDict["templates"], "\Beta\Microsoft\Graph\Model\PolicyTemplate") || is_null($this->_propDict["templates"])) { + return $this->_propDict["templates"]; + } else { + $this->_propDict["templates"] = new PolicyTemplate($this->_propDict["templates"]); + return $this->_propDict["templates"]; + } + } + return null; + } + + /** + * Sets the templates + * Represents the base policy in the directory for multi-tenant organization settings. + * + * @param PolicyTemplate $val The templates + * + * @return CrossTenantAccessPolicy + */ + public function setTemplates($val) + { + $this->_propDict["templates"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationPartner.php b/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationPartner.php index 345d7af4c4e..40ba4807abd 100644 --- a/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationPartner.php +++ b/src/Beta/Microsoft/Graph/Model/CrossTenantAccessPolicyConfigurationPartner.php @@ -57,7 +57,7 @@ public function getProperties() /** * Gets the automaticUserConsentSettings - * Determines the partner-specific configuration for automatic user consent settings. Unless specifically configured, the inboundAllowed and outboundAllowed properties are null and inherit from the default settings, which is always false. + * Determines the partner-specific configuration for automatic user consent settings. Unless configured, the inboundAllowed and outboundAllowed properties are null and inherit from the default settings, which is always false. * * @return InboundOutboundPolicyConfiguration|null The automaticUserConsentSettings */ @@ -76,7 +76,7 @@ public function getAutomaticUserConsentSettings() /** * Sets the automaticUserConsentSettings - * Determines the partner-specific configuration for automatic user consent settings. Unless specifically configured, the inboundAllowed and outboundAllowed properties are null and inherit from the default settings, which is always false. + * Determines the partner-specific configuration for automatic user consent settings. Unless configured, the inboundAllowed and outboundAllowed properties are null and inherit from the default settings, which is always false. * * @param InboundOutboundPolicyConfiguration $val The automaticUserConsentSettings * @@ -255,7 +255,7 @@ public function setInboundTrust($val) /** * Gets the isInMultiTenantOrganization - * Identifies whether a tenant is a member of a multi-tenant organization. + * Identifies whether a tenant is a member of a multitenant organization. * * @return bool|null The isInMultiTenantOrganization */ @@ -270,7 +270,7 @@ public function getIsInMultiTenantOrganization() /** * Sets the isInMultiTenantOrganization - * Identifies whether a tenant is a member of a multi-tenant organization. + * Identifies whether a tenant is a member of a multitenant organization. * * @param bool $val The isInMultiTenantOrganization * @@ -342,7 +342,7 @@ public function setTenantId($val) /** * Gets the tenantRestrictions - * Defines the partner-specific tenant restrictions configuration for your organization users accessing a partner organization using partner supplied idenities on your network or devices. + * Defines the partner-specific tenant restrictions configuration for your organization users accessing a partner organization using partner supplied identities on your network or devices. * * @return CrossTenantAccessPolicyTenantRestrictions|null The tenantRestrictions */ @@ -361,7 +361,7 @@ public function getTenantRestrictions() /** * Sets the tenantRestrictions - * Defines the partner-specific tenant restrictions configuration for your organization users accessing a partner organization using partner supplied idenities on your network or devices. + * Defines the partner-specific tenant restrictions configuration for your organization users accessing a partner organization using partner supplied identities on your network or devices. * * @param CrossTenantAccessPolicyTenantRestrictions $val The tenantRestrictions * @@ -375,7 +375,7 @@ public function setTenantRestrictions($val) /** * Gets the identitySynchronization - * Defines the cross-tenant policy for the synchronization of users from a partner tenant. Use this user synchronization policy to streamline collaboration between users in a multi-tenant organization by automating the creation, update, and deletion of users from one tenant to another. + * Defines the cross-tenant policy for the synchronization of users from a partner tenant. Use this user synchronization policy to streamline collaboration between users in a multitenant organization by automating the creation, update, and deletion of users from one tenant to another. * * @return CrossTenantIdentitySyncPolicyPartner|null The identitySynchronization */ @@ -394,7 +394,7 @@ public function getIdentitySynchronization() /** * Sets the identitySynchronization - * Defines the cross-tenant policy for the synchronization of users from a partner tenant. Use this user synchronization policy to streamline collaboration between users in a multi-tenant organization by automating the creation, update, and deletion of users from one tenant to another. + * Defines the cross-tenant policy for the synchronization of users from a partner tenant. Use this user synchronization policy to streamline collaboration between users in a multitenant organization by automating the creation, update, and deletion of users from one tenant to another. * * @param CrossTenantIdentitySyncPolicyPartner $val The identitySynchronization * diff --git a/src/Beta/Microsoft/Graph/Model/CustomExtensionClientConfiguration.php b/src/Beta/Microsoft/Graph/Model/CustomExtensionClientConfiguration.php index cdf6d2adb88..fe4d7c00a8a 100644 --- a/src/Beta/Microsoft/Graph/Model/CustomExtensionClientConfiguration.php +++ b/src/Beta/Microsoft/Graph/Model/CustomExtensionClientConfiguration.php @@ -25,7 +25,7 @@ class CustomExtensionClientConfiguration extends Entity { /** * Gets the maximumRetries - * The max number of retries that Azure AD will make to the external API. Values of 0 or 1 are supported. If null, the default for the service will apply. + * The max number of retries that Azure AD makes to the external API. Values of 0 or 1 are supported. If null, the default for the service applies. * * @return int|null The maximumRetries */ @@ -40,7 +40,7 @@ public function getMaximumRetries() /** * Sets the maximumRetries - * The max number of retries that Azure AD will make to the external API. Values of 0 or 1 are supported. If null, the default for the service will apply. + * The max number of retries that Azure AD makes to the external API. Values of 0 or 1 are supported. If null, the default for the service applies. * * @param int $val The value of the maximumRetries * @@ -53,7 +53,7 @@ public function setMaximumRetries($val) } /** * Gets the timeoutInMilliseconds - * The max duration in milliseconds that Azure AD will wait for a response from the external app before it shuts down the connection. The valid range is between 200 and 2000 milliseconds. If null, the default for the service will apply. + * The max duration in milliseconds that Azure AD waits for a response from the external app before it shuts down the connection. The valid range is between 200 and 2000 milliseconds. If null, the default for the service applies. * * @return int|null The timeoutInMilliseconds */ @@ -68,7 +68,7 @@ public function getTimeoutInMilliseconds() /** * Sets the timeoutInMilliseconds - * The max duration in milliseconds that Azure AD will wait for a response from the external app before it shuts down the connection. The valid range is between 200 and 2000 milliseconds. If null, the default for the service will apply. + * The max duration in milliseconds that Azure AD waits for a response from the external app before it shuts down the connection. The valid range is between 200 and 2000 milliseconds. If null, the default for the service applies. * * @param int $val The value of the timeoutInMilliseconds * diff --git a/src/Beta/Microsoft/Graph/Model/CustomTrainingSetting.php b/src/Beta/Microsoft/Graph/Model/CustomTrainingSetting.php index fc63e54acf9..101ea88b689 100644 --- a/src/Beta/Microsoft/Graph/Model/CustomTrainingSetting.php +++ b/src/Beta/Microsoft/Graph/Model/CustomTrainingSetting.php @@ -37,6 +37,7 @@ public function __construct($propDict = array()) /** * Gets the assignedTo + * A user collection that specifies to whom the training should be assigned. Possible values are: none, allUsers, clickedPayload, compromised, reportedPhish, readButNotClicked, didNothing, unknownFutureValue. * * @return TrainingAssignedTo|null The assignedTo */ @@ -55,6 +56,7 @@ public function getAssignedTo() /** * Sets the assignedTo + * A user collection that specifies to whom the training should be assigned. Possible values are: none, allUsers, clickedPayload, compromised, reportedPhish, readButNotClicked, didNothing, unknownFutureValue. * * @param TrainingAssignedTo $val The value to assign to the assignedTo * @@ -67,6 +69,7 @@ public function setAssignedTo($val) } /** * Gets the description + * The description of the custom training setting. * * @return string|null The description */ @@ -81,6 +84,7 @@ public function getDescription() /** * Sets the description + * The description of the custom training setting. * * @param string $val The value of the description * @@ -93,6 +97,7 @@ public function setDescription($val) } /** * Gets the displayName + * The display name of the custom training setting. * * @return string|null The displayName */ @@ -107,6 +112,7 @@ public function getDisplayName() /** * Sets the displayName + * The display name of the custom training setting. * * @param string $val The value of the displayName * @@ -119,8 +125,9 @@ public function setDisplayName($val) } /** * Gets the durationInMinutes + * Training duration. * - * @return string|null The durationInMinutes + * @return int|null The durationInMinutes */ public function getDurationInMinutes() { @@ -133,8 +140,9 @@ public function getDurationInMinutes() /** * Sets the durationInMinutes + * Training duration. * - * @param string $val The value of the durationInMinutes + * @param int $val The value of the durationInMinutes * * @return CustomTrainingSetting */ @@ -145,6 +153,7 @@ public function setDurationInMinutes($val) } /** * Gets the url + * The training URL. * * @return string|null The url */ @@ -159,6 +168,7 @@ public function getUrl() /** * Sets the url + * The training URL. * * @param string $val The value of the url * diff --git a/src/Beta/Microsoft/Graph/Model/DataCollectionInfo.php b/src/Beta/Microsoft/Graph/Model/DataCollectionInfo.php new file mode 100644 index 00000000000..4e8f419a6f3 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/DataCollectionInfo.php @@ -0,0 +1,58 @@ +_propDict)) { + if (is_a($this->_propDict["entitlements"], "\Beta\Microsoft\Graph\Model\EntitlementsDataCollectionInfo") || is_null($this->_propDict["entitlements"])) { + return $this->_propDict["entitlements"]; + } else { + $this->_propDict["entitlements"] = new EntitlementsDataCollectionInfo($this->_propDict["entitlements"]); + return $this->_propDict["entitlements"]; + } + } + return null; + } + + /** + * Sets the entitlements + * + * @param EntitlementsDataCollectionInfo $val The entitlements + * + * @return DataCollectionInfo + */ + public function setEntitlements($val) + { + $this->_propDict["entitlements"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/DataCollectionStatus.php b/src/Beta/Microsoft/Graph/Model/DataCollectionStatus.php new file mode 100644 index 00000000000..833f9961ef4 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/DataCollectionStatus.php @@ -0,0 +1,35 @@ +setODataType("#microsoft.graph.edIdentitySource"); + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/EducationAssignmentDefaults.php b/src/Beta/Microsoft/Graph/Model/EducationAssignmentDefaults.php index 989770252e0..d34ce9541eb 100644 --- a/src/Beta/Microsoft/Graph/Model/EducationAssignmentDefaults.php +++ b/src/Beta/Microsoft/Graph/Model/EducationAssignmentDefaults.php @@ -59,7 +59,7 @@ public function setAddedStudentAction($val) /** * Gets the addToCalendarAction - * Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: studentsOnly. The default value is none. + * Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: studentsOnly. The default value is none. * * @return EducationAddToCalendarOptions|null The addToCalendarAction */ @@ -78,7 +78,7 @@ public function getAddToCalendarAction() /** * Sets the addToCalendarAction - * Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: studentsOnly. The default value is none. + * Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: studentsOnly. The default value is none. * * @param EducationAddToCalendarOptions $val The addToCalendarAction * diff --git a/src/Beta/Microsoft/Graph/Model/EducationResource.php b/src/Beta/Microsoft/Graph/Model/EducationResource.php index d10ff3d330c..c25db899517 100644 --- a/src/Beta/Microsoft/Graph/Model/EducationResource.php +++ b/src/Beta/Microsoft/Graph/Model/EducationResource.php @@ -26,7 +26,7 @@ class EducationResource extends Entity /** * Gets the createdBy - * Who created the resource. + * Who created the resource? * * @return IdentitySet|null The createdBy */ @@ -45,7 +45,7 @@ public function getCreatedBy() /** * Sets the createdBy - * Who created the resource. + * Who created the resource? * * @param IdentitySet $val The value to assign to the createdBy * @@ -120,7 +120,7 @@ public function setDisplayName($val) /** * Gets the lastModifiedBy - * Who was the last user to modify the resource. + * Who was the last user to modify the resource? * * @return IdentitySet|null The lastModifiedBy */ @@ -139,7 +139,7 @@ public function getLastModifiedBy() /** * Sets the lastModifiedBy - * Who was the last user to modify the resource. + * Who was the last user to modify the resource? * * @param IdentitySet $val The value to assign to the lastModifiedBy * diff --git a/src/Beta/Microsoft/Graph/Model/EmailFileAssessmentRequest.php b/src/Beta/Microsoft/Graph/Model/EmailFileAssessmentRequest.php index 8b33011b735..1987b3f76b9 100644 --- a/src/Beta/Microsoft/Graph/Model/EmailFileAssessmentRequest.php +++ b/src/Beta/Microsoft/Graph/Model/EmailFileAssessmentRequest.php @@ -26,7 +26,7 @@ class EmailFileAssessmentRequest extends ThreatAssessmentRequest { /** * Gets the contentData - * Base64 encoded .eml email file content. The file content cannot fetch back because it isn't stored. + * Base64 encoded .eml email file content. The file content can't fetch back because it isn't stored. * * @return string|null The contentData */ @@ -41,7 +41,7 @@ public function getContentData() /** * Sets the contentData - * Base64 encoded .eml email file content. The file content cannot fetch back because it isn't stored. + * Base64 encoded .eml email file content. The file content can't fetch back because it isn't stored. * * @param string $val The contentData * diff --git a/src/Beta/Microsoft/Graph/Model/EndUserNotification.php b/src/Beta/Microsoft/Graph/Model/EndUserNotification.php index e185df4b564..84bc419c1b0 100644 --- a/src/Beta/Microsoft/Graph/Model/EndUserNotification.php +++ b/src/Beta/Microsoft/Graph/Model/EndUserNotification.php @@ -26,6 +26,7 @@ class EndUserNotification extends Entity { /** * Gets the createdBy + * Identity of the user who created the notification. * * @return EmailIdentity|null The createdBy */ @@ -44,6 +45,7 @@ public function getCreatedBy() /** * Sets the createdBy + * Identity of the user who created the notification. * * @param EmailIdentity $val The createdBy * @@ -57,6 +59,7 @@ public function setCreatedBy($val) /** * Gets the createdDateTime + * Date and time when the notification was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @return \DateTime|null The createdDateTime */ @@ -75,6 +78,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime + * Date and time when the notification was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The createdDateTime * @@ -88,6 +92,7 @@ public function setCreatedDateTime($val) /** * Gets the description + * Description of the notification as defined by the user. * * @return string|null The description */ @@ -102,6 +107,7 @@ public function getDescription() /** * Sets the description + * Description of the notification as defined by the user. * * @param string $val The description * @@ -115,6 +121,7 @@ public function setDescription($val) /** * Gets the displayName + * Name of the notification as defined by the user. * * @return string|null The displayName */ @@ -129,6 +136,7 @@ public function getDisplayName() /** * Sets the displayName + * Name of the notification as defined by the user. * * @param string $val The displayName * @@ -142,6 +150,7 @@ public function setDisplayName($val) /** * Gets the lastModifiedBy + * Identity of the user who last modified the notification. * * @return EmailIdentity|null The lastModifiedBy */ @@ -160,6 +169,7 @@ public function getLastModifiedBy() /** * Sets the lastModifiedBy + * Identity of the user who last modified the notification. * * @param EmailIdentity $val The lastModifiedBy * @@ -173,6 +183,7 @@ public function setLastModifiedBy($val) /** * Gets the lastModifiedDateTime + * Date and time when the notification was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @return \DateTime|null The lastModifiedDateTime */ @@ -191,6 +202,7 @@ public function getLastModifiedDateTime() /** * Sets the lastModifiedDateTime + * Date and time when the notification was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The lastModifiedDateTime * @@ -204,6 +216,7 @@ public function setLastModifiedDateTime($val) /** * Gets the notificationType + * Type of notification. Possible values are: unknown, positiveReinforcement, noTraining, trainingAssignment, trainingReminder, unknownFutureValue. * * @return EndUserNotificationType|null The notificationType */ @@ -222,6 +235,7 @@ public function getNotificationType() /** * Sets the notificationType + * Type of notification. Possible values are: unknown, positiveReinforcement, noTraining, trainingAssignment, trainingReminder, unknownFutureValue. * * @param EndUserNotificationType $val The notificationType * @@ -235,6 +249,7 @@ public function setNotificationType($val) /** * Gets the source + * The source of the content. Possible values are: unknown, global, tenant, unknownFutureValue. * * @return SimulationContentSource|null The source */ @@ -253,6 +268,7 @@ public function getSource() /** * Sets the source + * The source of the content. Possible values are: unknown, global, tenant, unknownFutureValue. * * @param SimulationContentSource $val The source * @@ -266,6 +282,7 @@ public function setSource($val) /** * Gets the status + * The status of the notification. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. * * @return SimulationContentStatus|null The status */ @@ -284,6 +301,7 @@ public function getStatus() /** * Sets the status + * The status of the notification. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. * * @param SimulationContentStatus $val The status * @@ -297,6 +315,7 @@ public function setStatus($val) /** * Gets the supportedLocales + * Supported locales for endUserNotification content. * * @return array|null The supportedLocales */ @@ -311,6 +330,7 @@ public function getSupportedLocales() /** * Sets the supportedLocales + * Supported locales for endUserNotification content. * * @param string[] $val The supportedLocales * diff --git a/src/Beta/Microsoft/Graph/Model/EndUserNotificationDetail.php b/src/Beta/Microsoft/Graph/Model/EndUserNotificationDetail.php index 7d22601352c..c4af44c6684 100644 --- a/src/Beta/Microsoft/Graph/Model/EndUserNotificationDetail.php +++ b/src/Beta/Microsoft/Graph/Model/EndUserNotificationDetail.php @@ -26,6 +26,7 @@ class EndUserNotificationDetail extends Entity { /** * Gets the emailContent + * Email HTML content. * * @return string|null The emailContent */ @@ -40,6 +41,7 @@ public function getEmailContent() /** * Sets the emailContent + * Email HTML content. * * @param string $val The emailContent * @@ -53,6 +55,7 @@ public function setEmailContent($val) /** * Gets the isDefaultLangauge + * Indicates whether this language is default. * * @return bool|null The isDefaultLangauge */ @@ -67,6 +70,7 @@ public function getIsDefaultLangauge() /** * Sets the isDefaultLangauge + * Indicates whether this language is default. * * @param bool $val The isDefaultLangauge * @@ -80,6 +84,7 @@ public function setIsDefaultLangauge($val) /** * Gets the language + * Notification language. * * @return string|null The language */ @@ -94,6 +99,7 @@ public function getLanguage() /** * Sets the language + * Notification language. * * @param string $val The language * @@ -107,6 +113,7 @@ public function setLanguage($val) /** * Gets the locale + * Notification locale. * * @return string|null The locale */ @@ -121,6 +128,7 @@ public function getLocale() /** * Sets the locale + * Notification locale. * * @param string $val The locale * @@ -134,6 +142,7 @@ public function setLocale($val) /** * Gets the sentFrom + * Email details of the sender. * * @return EmailIdentity|null The sentFrom */ @@ -152,6 +161,7 @@ public function getSentFrom() /** * Sets the sentFrom + * Email details of the sender. * * @param EmailIdentity $val The sentFrom * @@ -165,6 +175,7 @@ public function setSentFrom($val) /** * Gets the subject + * Mail subject. * * @return string|null The subject */ @@ -179,6 +190,7 @@ public function getSubject() /** * Sets the subject + * Mail subject. * * @param string $val The subject * diff --git a/src/Beta/Microsoft/Graph/Model/EndUserNotificationSetting.php b/src/Beta/Microsoft/Graph/Model/EndUserNotificationSetting.php index a1ae91d65b7..3502a6c77f7 100644 --- a/src/Beta/Microsoft/Graph/Model/EndUserNotificationSetting.php +++ b/src/Beta/Microsoft/Graph/Model/EndUserNotificationSetting.php @@ -26,6 +26,7 @@ class EndUserNotificationSetting extends Entity /** * Gets the notificationPreference + * Notification preference. Possible values are: unknown, microsoft, custom, unknownFutureValue. * * @return EndUserNotificationPreference|null The notificationPreference */ @@ -44,6 +45,7 @@ public function getNotificationPreference() /** * Sets the notificationPreference + * Notification preference. Possible values are: unknown, microsoft, custom, unknownFutureValue. * * @param EndUserNotificationPreference $val The value to assign to the notificationPreference * @@ -57,6 +59,7 @@ public function setNotificationPreference($val) /** * Gets the positiveReinforcement + * Positive reinforcement detail. * * @return PositiveReinforcementNotification|null The positiveReinforcement */ @@ -75,6 +78,7 @@ public function getPositiveReinforcement() /** * Sets the positiveReinforcement + * Positive reinforcement detail. * * @param PositiveReinforcementNotification $val The value to assign to the positiveReinforcement * @@ -88,6 +92,7 @@ public function setPositiveReinforcement($val) /** * Gets the settingType + * End user notification type. Possible values are: unknown, noTraining, trainingSelected, noNotification, unknownFutureValue. * * @return EndUserNotificationSettingType|null The settingType */ @@ -106,6 +111,7 @@ public function getSettingType() /** * Sets the settingType + * End user notification type. Possible values are: unknown, noTraining, trainingSelected, noNotification, unknownFutureValue. * * @param EndUserNotificationSettingType $val The value to assign to the settingType * diff --git a/src/Beta/Microsoft/Graph/Model/EntitlementsDataCollection.php b/src/Beta/Microsoft/Graph/Model/EntitlementsDataCollection.php new file mode 100644 index 00000000000..5b9cd0b5d2b --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/EntitlementsDataCollection.php @@ -0,0 +1,130 @@ +setODataType("#microsoft.graph.entitlementsDataCollection"); + } + + + /** + * Gets the lastCollectionDateTime + * + * @return \DateTime|null The lastCollectionDateTime + */ + public function getLastCollectionDateTime() + { + if (array_key_exists("lastCollectionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastCollectionDateTime"], "\DateTime") || is_null($this->_propDict["lastCollectionDateTime"])) { + return $this->_propDict["lastCollectionDateTime"]; + } else { + $this->_propDict["lastCollectionDateTime"] = new \DateTime($this->_propDict["lastCollectionDateTime"]); + return $this->_propDict["lastCollectionDateTime"]; + } + } + return null; + } + + /** + * Sets the lastCollectionDateTime + * + * @param \DateTime $val The value to assign to the lastCollectionDateTime + * + * @return EntitlementsDataCollection The EntitlementsDataCollection + */ + public function setLastCollectionDateTime($val) + { + $this->_propDict["lastCollectionDateTime"] = $val; + return $this; + } + + /** + * Gets the permissionsModificationCapability + * + * @return PermissionsModificationCapability|null The permissionsModificationCapability + */ + public function getPermissionsModificationCapability() + { + if (array_key_exists("permissionsModificationCapability", $this->_propDict)) { + if (is_a($this->_propDict["permissionsModificationCapability"], "\Beta\Microsoft\Graph\Model\PermissionsModificationCapability") || is_null($this->_propDict["permissionsModificationCapability"])) { + return $this->_propDict["permissionsModificationCapability"]; + } else { + $this->_propDict["permissionsModificationCapability"] = new PermissionsModificationCapability($this->_propDict["permissionsModificationCapability"]); + return $this->_propDict["permissionsModificationCapability"]; + } + } + return null; + } + + /** + * Sets the permissionsModificationCapability + * + * @param PermissionsModificationCapability $val The value to assign to the permissionsModificationCapability + * + * @return EntitlementsDataCollection The EntitlementsDataCollection + */ + public function setPermissionsModificationCapability($val) + { + $this->_propDict["permissionsModificationCapability"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return DataCollectionStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\DataCollectionStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new DataCollectionStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param DataCollectionStatus $val The value to assign to the status + * + * @return EntitlementsDataCollection The EntitlementsDataCollection + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/EntitlementsDataCollectionInfo.php b/src/Beta/Microsoft/Graph/Model/EntitlementsDataCollectionInfo.php new file mode 100644 index 00000000000..5ef1d157abf --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/EntitlementsDataCollectionInfo.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["accounts"], "\Beta\Microsoft\Graph\Model\AuthorizationSystem") || is_null($this->_propDict["accounts"])) { + return $this->_propDict["accounts"]; + } else { + $this->_propDict["accounts"] = new AuthorizationSystem($this->_propDict["accounts"]); + return $this->_propDict["accounts"]; + } + } + return null; + } + + /** + * Sets the accounts + * + * @param AuthorizationSystem $val The value to assign to the accounts + * + * @return EnumeratedAccountsWithAccess The EnumeratedAccountsWithAccess + */ + public function setAccounts($val) + { + $this->_propDict["accounts"] = $val; + return $this; + } } diff --git a/src/Beta/Microsoft/Graph/Model/EvaluateDynamicMembershipResult.php b/src/Beta/Microsoft/Graph/Model/EvaluateDynamicMembershipResult.php index 3846e4ad810..a8e70dd68b6 100644 --- a/src/Beta/Microsoft/Graph/Model/EvaluateDynamicMembershipResult.php +++ b/src/Beta/Microsoft/Graph/Model/EvaluateDynamicMembershipResult.php @@ -25,7 +25,7 @@ class EvaluateDynamicMembershipResult extends Entity { /** * Gets the membershipRule - * If a group ID is provided, the value is the membership rule for the group. If a group ID is not provided, the value is the membership rule that was provided as a parameter. For more information, see Dynamic membership rules for groups in Azure Active Directory. + * If a group ID is provided, the value is the membership rule for the group. If a group ID isn't provided, the value is the membership rule that was provided as a parameter. For more information, see Dynamic membership rules for groups in Azure Active Directory. * * @return string|null The membershipRule */ @@ -40,7 +40,7 @@ public function getMembershipRule() /** * Sets the membershipRule - * If a group ID is provided, the value is the membership rule for the group. If a group ID is not provided, the value is the membership rule that was provided as a parameter. For more information, see Dynamic membership rules for groups in Azure Active Directory. + * If a group ID is provided, the value is the membership rule for the group. If a group ID isn't provided, the value is the membership rule that was provided as a parameter. For more information, see Dynamic membership rules for groups in Azure Active Directory. * * @param string $val The value of the membershipRule * @@ -54,7 +54,7 @@ public function setMembershipRule($val) /** * Gets the membershipRuleEvaluationDetails - * Provides a detailed anaylsis of the membership evaluation result. + * Provides a detailed analysis of the membership evaluation result. * * @return ExpressionEvaluationDetails|null The membershipRuleEvaluationDetails */ @@ -73,7 +73,7 @@ public function getMembershipRuleEvaluationDetails() /** * Sets the membershipRuleEvaluationDetails - * Provides a detailed anaylsis of the membership evaluation result. + * Provides a detailed analysis of the membership evaluation result. * * @param ExpressionEvaluationDetails $val The value to assign to the membershipRuleEvaluationDetails * diff --git a/src/Beta/Microsoft/Graph/Model/ExtendRemoteHelpSessionResponse.php b/src/Beta/Microsoft/Graph/Model/ExtendRemoteHelpSessionResponse.php index 9f535366700..628887a5509 100644 --- a/src/Beta/Microsoft/Graph/Model/ExtendRemoteHelpSessionResponse.php +++ b/src/Beta/Microsoft/Graph/Model/ExtendRemoteHelpSessionResponse.php @@ -12,7 +12,6 @@ * @link https://graph.microsoft.com */ namespace Beta\Microsoft\Graph\Model; - /** * ExtendRemoteHelpSessionResponse class * @@ -22,39 +21,8 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class ExtendRemoteHelpSessionResponse implements \JsonSerializable +class ExtendRemoteHelpSessionResponse extends Entity { - /** - * The array of properties available - * to the model - * - * @var array $_propDict - */ - protected $_propDict; - - /** - * Construct a new ExtendRemoteHelpSessionResponse - * - * @param array $propDict A list of properties to set - */ - function __construct($propDict = array()) - { - if (!is_array($propDict)) { - $propDict = array(); - } - $this->_propDict = $propDict; - } - - /** - * Gets the property dictionary of the ExtendRemoteHelpSessionResponse - * - * @return array The list of properties - */ - public function getProperties() - { - return $this->_propDict; - } - /** * Gets the acsHelperUserToken * Helper ACS User Token @@ -74,7 +42,7 @@ public function getAcsHelperUserToken() * Sets the acsHelperUserToken * Helper ACS User Token * - * @param string $val The acsHelperUserToken + * @param string $val The value of the acsHelperUserToken * * @return ExtendRemoteHelpSessionResponse */ @@ -83,7 +51,6 @@ public function setAcsHelperUserToken($val) $this->_propDict["acsHelperUserToken"] = $val; return $this; } - /** * Gets the pubSubHelperAccessUri * Azure Pubsub Group Id @@ -103,7 +70,7 @@ public function getPubSubHelperAccessUri() * Sets the pubSubHelperAccessUri * Azure Pubsub Group Id * - * @param string $val The pubSubHelperAccessUri + * @param string $val The value of the pubSubHelperAccessUri * * @return ExtendRemoteHelpSessionResponse */ @@ -136,16 +103,15 @@ public function getSessionExpirationDateTime() * Sets the sessionExpirationDateTime * Azure Pubsub Session Expiration Date Time. * - * @param \DateTime $val The sessionExpirationDateTime + * @param \DateTime $val The value to assign to the sessionExpirationDateTime * - * @return ExtendRemoteHelpSessionResponse + * @return ExtendRemoteHelpSessionResponse The ExtendRemoteHelpSessionResponse */ public function setSessionExpirationDateTime($val) { $this->_propDict["sessionExpirationDateTime"] = $val; - return $this; + return $this; } - /** * Gets the sessionKey * The unique identifier for a session @@ -165,7 +131,7 @@ public function getSessionKey() * Sets the sessionKey * The unique identifier for a session * - * @param string $val The sessionKey + * @param string $val The value of the sessionKey * * @return ExtendRemoteHelpSessionResponse */ @@ -174,54 +140,4 @@ public function setSessionKey($val) $this->_propDict["sessionKey"] = $val; return $this; } - - /** - * Gets the ODataType - * - * @return string|null The ODataType - */ - public function getODataType() - { - if (array_key_exists('@odata.type', $this->_propDict)) { - return $this->_propDict["@odata.type"]; - } - return null; - } - - /** - * Sets the ODataType - * - * @param string $val The ODataType - * - * @return ExtendRemoteHelpSessionResponse - */ - public function setODataType($val) - { - $this->_propDict["@odata.type"] = $val; - return $this; - } - - /** - * Serializes the object by property array - * Manually serialize DateTime into RFC3339 format - * - * @return array The list of properties - */ - #[\ReturnTypeWillChange] - public function jsonSerialize() - { - $serializableProperties = $this->getProperties(); - foreach ($serializableProperties as $property => $val) { - if (is_a($val, "\DateTime")) { - $serializableProperties[$property] = $val->format(\DateTime::RFC3339); - } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { - $serializableProperties[$property] = $val->value(); - } else if (is_a($val, "\Entity")) { - $serializableProperties[$property] = $val->jsonSerialize(); - } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { - $serializableProperties[$property] = (string) $val; - } - } - return $serializableProperties; - } } diff --git a/src/Beta/Microsoft/Graph/Model/FileAssessmentRequest.php b/src/Beta/Microsoft/Graph/Model/FileAssessmentRequest.php index 3c8a92e3dc3..b21213fb47f 100644 --- a/src/Beta/Microsoft/Graph/Model/FileAssessmentRequest.php +++ b/src/Beta/Microsoft/Graph/Model/FileAssessmentRequest.php @@ -26,7 +26,7 @@ class FileAssessmentRequest extends ThreatAssessmentRequest { /** * Gets the contentData - * Base64 encoded file content. The file content cannot fetch back because it isn't stored. + * Base64 encoded file content. The file content can't fetch back because it isn't stored. * * @return string|null The contentData */ @@ -41,7 +41,7 @@ public function getContentData() /** * Sets the contentData - * Base64 encoded file content. The file content cannot fetch back because it isn't stored. + * Base64 encoded file content. The file content can't fetch back because it isn't stored. * * @param string $val The contentData * diff --git a/src/Beta/Microsoft/Graph/Model/Filter.php b/src/Beta/Microsoft/Graph/Model/Filter.php index 9ba1da0531c..bd3ad744032 100644 --- a/src/Beta/Microsoft/Graph/Model/Filter.php +++ b/src/Beta/Microsoft/Graph/Model/Filter.php @@ -59,7 +59,7 @@ public function setCategoryFilterGroups($val) /** * Gets the groups - * Filter group set used to decide whether given object is in scope for provisioning. This is the filter which should be used in most cases. If an object used to satisfy this filter at a given moment, and then the object or the filter was changed so that filter is not satisfied any longer, such object will get de-provisioned'. An object is considered in scope if ANY of the groups in the collection is evaluated to true. + * Filter group set used to decide whether given object is in scope for provisioning. This is the filter which should be used in most cases. If an object used to satisfy this filter at a given moment, and then the object or the filter was changed so that filter isn't satisfied any longer, such object will get de-provisioned'. An object is considered in scope if ANY of the groups in the collection is evaluated to true. * * @return FilterGroup|null The groups */ @@ -78,7 +78,7 @@ public function getGroups() /** * Sets the groups - * Filter group set used to decide whether given object is in scope for provisioning. This is the filter which should be used in most cases. If an object used to satisfy this filter at a given moment, and then the object or the filter was changed so that filter is not satisfied any longer, such object will get de-provisioned'. An object is considered in scope if ANY of the groups in the collection is evaluated to true. + * Filter group set used to decide whether given object is in scope for provisioning. This is the filter which should be used in most cases. If an object used to satisfy this filter at a given moment, and then the object or the filter was changed so that filter isn't satisfied any longer, such object will get de-provisioned'. An object is considered in scope if ANY of the groups in the collection is evaluated to true. * * @param FilterGroup $val The value to assign to the groups * @@ -92,7 +92,7 @@ public function setGroups($val) /** * Gets the inputFilterGroups - * *Experimental* Filter group set used to filter out objects at the early stage of reading them from the directory. If an object doesn't satisfy this filter it will not be processed further. Important to understand is that if an object used to satisfy this filter at a given moment, and then the object or the filter was changed so that filter is no longer satisfied, such object will NOT get de-provisioned. An object is considered in scope if ANY of the groups in the collection is evaluated to true. + * *Experimental* Filter group set used to filter out objects at the early stage of reading them from the directory. If an object doesn't satisfy this filter, it will not be processed further. Important to understand is that if an object used to satisfy this filter at a given moment, and then the object or the filter was changed so that filter is no longer satisfied, such object will NOT get de-provisioned. An object is considered in scope if ANY of the groups in the collection is evaluated to true. * * @return FilterGroup|null The inputFilterGroups */ @@ -111,7 +111,7 @@ public function getInputFilterGroups() /** * Sets the inputFilterGroups - * *Experimental* Filter group set used to filter out objects at the early stage of reading them from the directory. If an object doesn't satisfy this filter it will not be processed further. Important to understand is that if an object used to satisfy this filter at a given moment, and then the object or the filter was changed so that filter is no longer satisfied, such object will NOT get de-provisioned. An object is considered in scope if ANY of the groups in the collection is evaluated to true. + * *Experimental* Filter group set used to filter out objects at the early stage of reading them from the directory. If an object doesn't satisfy this filter, it will not be processed further. Important to understand is that if an object used to satisfy this filter at a given moment, and then the object or the filter was changed so that filter is no longer satisfied, such object will NOT get de-provisioned. An object is considered in scope if ANY of the groups in the collection is evaluated to true. * * @param FilterGroup $val The value to assign to the inputFilterGroups * diff --git a/src/Beta/Microsoft/Graph/Model/FrontlineCloudPcAccessState.php b/src/Beta/Microsoft/Graph/Model/FrontlineCloudPcAccessState.php new file mode 100644 index 00000000000..4076ed5428d --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/FrontlineCloudPcAccessState.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["actions"]; + } else { + return null; + } + } + + /** + * Sets the actions + * + * @param string $val The value of the actions + * + * @return GcpActionPermissionsDefinitionAction + */ + public function setActions($val) + { + $this->_propDict["actions"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/GcpAssociatedIdentities.php b/src/Beta/Microsoft/Graph/Model/GcpAssociatedIdentities.php new file mode 100644 index 00000000000..55c1ab8a9c7 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/GcpAssociatedIdentities.php @@ -0,0 +1,119 @@ +_propDict)) { + if (is_a($this->_propDict["all"], "\Beta\Microsoft\Graph\Model\GcpIdentity") || is_null($this->_propDict["all"])) { + return $this->_propDict["all"]; + } else { + $this->_propDict["all"] = new GcpIdentity($this->_propDict["all"]); + return $this->_propDict["all"]; + } + } + return null; + } + + /** + * Sets the all + * + * @param GcpIdentity $val The value to assign to the all + * + * @return GcpAssociatedIdentities The GcpAssociatedIdentities + */ + public function setAll($val) + { + $this->_propDict["all"] = $val; + return $this; + } + + /** + * Gets the serviceAccounts + * + * @return GcpServiceAccount|null The serviceAccounts + */ + public function getServiceAccounts() + { + if (array_key_exists("serviceAccounts", $this->_propDict)) { + if (is_a($this->_propDict["serviceAccounts"], "\Beta\Microsoft\Graph\Model\GcpServiceAccount") || is_null($this->_propDict["serviceAccounts"])) { + return $this->_propDict["serviceAccounts"]; + } else { + $this->_propDict["serviceAccounts"] = new GcpServiceAccount($this->_propDict["serviceAccounts"]); + return $this->_propDict["serviceAccounts"]; + } + } + return null; + } + + /** + * Sets the serviceAccounts + * + * @param GcpServiceAccount $val The value to assign to the serviceAccounts + * + * @return GcpAssociatedIdentities The GcpAssociatedIdentities + */ + public function setServiceAccounts($val) + { + $this->_propDict["serviceAccounts"] = $val; + return $this; + } + + /** + * Gets the users + * + * @return GcpUser|null The users + */ + public function getUsers() + { + if (array_key_exists("users", $this->_propDict)) { + if (is_a($this->_propDict["users"], "\Beta\Microsoft\Graph\Model\GcpUser") || is_null($this->_propDict["users"])) { + return $this->_propDict["users"]; + } else { + $this->_propDict["users"] = new GcpUser($this->_propDict["users"]); + return $this->_propDict["users"]; + } + } + return null; + } + + /** + * Sets the users + * + * @param GcpUser $val The value to assign to the users + * + * @return GcpAssociatedIdentities The GcpAssociatedIdentities + */ + public function setUsers($val) + { + $this->_propDict["users"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/GcpAuthorizationSystem.php b/src/Beta/Microsoft/Graph/Model/GcpAuthorizationSystem.php new file mode 100644 index 00000000000..c59786c4309 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/GcpAuthorizationSystem.php @@ -0,0 +1,170 @@ +_propDict)) { + if (is_a($this->_propDict["associatedIdentities"], "\Beta\Microsoft\Graph\Model\GcpAssociatedIdentities") || is_null($this->_propDict["associatedIdentities"])) { + return $this->_propDict["associatedIdentities"]; + } else { + $this->_propDict["associatedIdentities"] = new GcpAssociatedIdentities($this->_propDict["associatedIdentities"]); + return $this->_propDict["associatedIdentities"]; + } + } + return null; + } + + /** + * Sets the associatedIdentities + * + * @param GcpAssociatedIdentities $val The associatedIdentities + * + * @return GcpAuthorizationSystem + */ + public function setAssociatedIdentities($val) + { + $this->_propDict["associatedIdentities"] = $val; + return $this; + } + + + /** + * Gets the actions + * + * @return array|null The actions + */ + public function getActions() + { + if (array_key_exists("actions", $this->_propDict)) { + return $this->_propDict["actions"]; + } else { + return null; + } + } + + /** + * Sets the actions + * + * @param GcpAuthorizationSystemTypeAction[] $val The actions + * + * @return GcpAuthorizationSystem + */ + public function setActions($val) + { + $this->_propDict["actions"] = $val; + return $this; + } + + + /** + * Gets the resources + * + * @return array|null The resources + */ + public function getResources() + { + if (array_key_exists("resources", $this->_propDict)) { + return $this->_propDict["resources"]; + } else { + return null; + } + } + + /** + * Sets the resources + * + * @param GcpAuthorizationSystemResource[] $val The resources + * + * @return GcpAuthorizationSystem + */ + public function setResources($val) + { + $this->_propDict["resources"] = $val; + return $this; + } + + + /** + * Gets the roles + * + * @return array|null The roles + */ + public function getRoles() + { + if (array_key_exists("roles", $this->_propDict)) { + return $this->_propDict["roles"]; + } else { + return null; + } + } + + /** + * Sets the roles + * + * @param GcpRole[] $val The roles + * + * @return GcpAuthorizationSystem + */ + public function setRoles($val) + { + $this->_propDict["roles"] = $val; + return $this; + } + + + /** + * Gets the services + * + * @return array|null The services + */ + public function getServices() + { + if (array_key_exists("services", $this->_propDict)) { + return $this->_propDict["services"]; + } else { + return null; + } + } + + /** + * Sets the services + * + * @param AuthorizationSystemTypeService[] $val The services + * + * @return GcpAuthorizationSystem + */ + public function setServices($val) + { + $this->_propDict["services"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/GcpAuthorizationSystemResource.php b/src/Beta/Microsoft/Graph/Model/GcpAuthorizationSystemResource.php new file mode 100644 index 00000000000..37160ac6ae0 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/GcpAuthorizationSystemResource.php @@ -0,0 +1,58 @@ +_propDict)) { + if (is_a($this->_propDict["service"], "\Beta\Microsoft\Graph\Model\AuthorizationSystemTypeService") || is_null($this->_propDict["service"])) { + return $this->_propDict["service"]; + } else { + $this->_propDict["service"] = new AuthorizationSystemTypeService($this->_propDict["service"]); + return $this->_propDict["service"]; + } + } + return null; + } + + /** + * Sets the service + * + * @param AuthorizationSystemTypeService $val The service + * + * @return GcpAuthorizationSystemResource + */ + public function setService($val) + { + $this->_propDict["service"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/GcpAuthorizationSystemTypeAction.php b/src/Beta/Microsoft/Graph/Model/GcpAuthorizationSystemTypeAction.php new file mode 100644 index 00000000000..f479d2542e4 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/GcpAuthorizationSystemTypeAction.php @@ -0,0 +1,58 @@ +_propDict)) { + if (is_a($this->_propDict["service"], "\Beta\Microsoft\Graph\Model\AuthorizationSystemTypeService") || is_null($this->_propDict["service"])) { + return $this->_propDict["service"]; + } else { + $this->_propDict["service"] = new AuthorizationSystemTypeService($this->_propDict["service"]); + return $this->_propDict["service"]; + } + } + return null; + } + + /** + * Sets the service + * + * @param AuthorizationSystemTypeService $val The service + * + * @return GcpAuthorizationSystemTypeAction + */ + public function setService($val) + { + $this->_propDict["service"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/GcpIdentity.php b/src/Beta/Microsoft/Graph/Model/GcpIdentity.php new file mode 100644 index 00000000000..3e68f479dd7 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/GcpIdentity.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The displayName + * + * @return GcpRole + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the externalId + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * + * @param string $val The externalId + * + * @return GcpRole + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + /** + * Gets the gcpRoleType + * + * @return GcpRoleType|null The gcpRoleType + */ + public function getGcpRoleType() + { + if (array_key_exists("gcpRoleType", $this->_propDict)) { + if (is_a($this->_propDict["gcpRoleType"], "\Beta\Microsoft\Graph\Model\GcpRoleType") || is_null($this->_propDict["gcpRoleType"])) { + return $this->_propDict["gcpRoleType"]; + } else { + $this->_propDict["gcpRoleType"] = new GcpRoleType($this->_propDict["gcpRoleType"]); + return $this->_propDict["gcpRoleType"]; + } + } + return null; + } + + /** + * Sets the gcpRoleType + * + * @param GcpRoleType $val The gcpRoleType + * + * @return GcpRole + */ + public function setGcpRoleType($val) + { + $this->_propDict["gcpRoleType"] = $val; + return $this; + } + + + /** + * Gets the scopes + * + * @return array|null The scopes + */ + public function getScopes() + { + if (array_key_exists("scopes", $this->_propDict)) { + return $this->_propDict["scopes"]; + } else { + return null; + } + } + + /** + * Sets the scopes + * + * @param GcpScope[] $val The scopes + * + * @return GcpRole + */ + public function setScopes($val) + { + $this->_propDict["scopes"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/GcpRolePermissionsDefinitionAction.php b/src/Beta/Microsoft/Graph/Model/GcpRolePermissionsDefinitionAction.php new file mode 100644 index 00000000000..7a1df9154fb --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/GcpRolePermissionsDefinitionAction.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["roles"], "\Beta\Microsoft\Graph\Model\PermissionsDefinitionGcpRole") || is_null($this->_propDict["roles"])) { + return $this->_propDict["roles"]; + } else { + $this->_propDict["roles"] = new PermissionsDefinitionGcpRole($this->_propDict["roles"]); + return $this->_propDict["roles"]; + } + } + return null; + } + + /** + * Sets the roles + * + * @param PermissionsDefinitionGcpRole $val The value to assign to the roles + * + * @return GcpRolePermissionsDefinitionAction The GcpRolePermissionsDefinitionAction + */ + public function setRoles($val) + { + $this->_propDict["roles"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/GcpRoleType.php b/src/Beta/Microsoft/Graph/Model/GcpRoleType.php new file mode 100644 index 00000000000..913eb78462f --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/GcpRoleType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["resourceType"]; + } else { + return null; + } + } + + /** + * Sets the resourceType + * + * @param string $val The value of the resourceType + * + * @return GcpScope + */ + public function setResourceType($val) + { + $this->_propDict["resourceType"] = $val; + return $this; + } + + /** + * Gets the service + * + * @return AuthorizationSystemTypeService|null The service + */ + public function getService() + { + if (array_key_exists("service", $this->_propDict)) { + if (is_a($this->_propDict["service"], "\Beta\Microsoft\Graph\Model\AuthorizationSystemTypeService") || is_null($this->_propDict["service"])) { + return $this->_propDict["service"]; + } else { + $this->_propDict["service"] = new AuthorizationSystemTypeService($this->_propDict["service"]); + return $this->_propDict["service"]; + } + } + return null; + } + + /** + * Sets the service + * + * @param AuthorizationSystemTypeService $val The value to assign to the service + * + * @return GcpScope The GcpScope + */ + public function setService($val) + { + $this->_propDict["service"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/GcpServiceAccount.php b/src/Beta/Microsoft/Graph/Model/GcpServiceAccount.php new file mode 100644 index 00000000000..202d5bc0f74 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/GcpServiceAccount.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["domain"]; + } else { + return null; + } + } + + /** + * Sets the domain + * + * @param string $val The value of the domain + * + * @return GsuiteSource + */ + public function setDomain($val) + { + $this->_propDict["domain"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/Identity.php b/src/Beta/Microsoft/Graph/Model/Identity.php index 03a9de8a01b..d7f7a83f49d 100644 --- a/src/Beta/Microsoft/Graph/Model/Identity.php +++ b/src/Beta/Microsoft/Graph/Model/Identity.php @@ -25,7 +25,7 @@ class Identity extends Entity { /** * Gets the displayName - * The display name of the identity. This property is read-only. + * The display name of the identity. This might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. * * @return string|null The displayName */ @@ -40,7 +40,7 @@ public function getDisplayName() /** * Sets the displayName - * The display name of the identity. This property is read-only. + * The display name of the identity. This might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. * * @param string $val The value of the displayName * @@ -53,7 +53,7 @@ public function setDisplayName($val) } /** * Gets the id - * The identifier of the identity. This property is read-only. + * Unique identifier for the identity. * * @return string|null The id */ @@ -68,7 +68,7 @@ public function getId() /** * Sets the id - * The identifier of the identity. This property is read-only. + * Unique identifier for the identity. * * @param string $val The value of the id * diff --git a/src/Beta/Microsoft/Graph/Model/IdentityGovernance.php b/src/Beta/Microsoft/Graph/Model/IdentityGovernance.php index 794a9a44866..7e4071c2088 100644 --- a/src/Beta/Microsoft/Graph/Model/IdentityGovernance.php +++ b/src/Beta/Microsoft/Graph/Model/IdentityGovernance.php @@ -210,6 +210,37 @@ public function setEntitlementManagement($val) return $this; } + /** + * Gets the permissionsManagement + * + * @return PermissionsManagement|null The permissionsManagement + */ + public function getPermissionsManagement() + { + if (array_key_exists("permissionsManagement", $this->_propDict)) { + if (is_a($this->_propDict["permissionsManagement"], "\Beta\Microsoft\Graph\Model\PermissionsManagement") || is_null($this->_propDict["permissionsManagement"])) { + return $this->_propDict["permissionsManagement"]; + } else { + $this->_propDict["permissionsManagement"] = new PermissionsManagement($this->_propDict["permissionsManagement"]); + return $this->_propDict["permissionsManagement"]; + } + } + return null; + } + + /** + * Sets the permissionsManagement + * + * @param PermissionsManagement $val The permissionsManagement + * + * @return IdentityGovernance + */ + public function setPermissionsManagement($val) + { + $this->_propDict["permissionsManagement"] = $val; + return $this; + } + /** * Gets the privilegedAccess * diff --git a/src/Beta/Microsoft/Graph/Model/IdentitySecurityDefaultsEnforcementPolicy.php b/src/Beta/Microsoft/Graph/Model/IdentitySecurityDefaultsEnforcementPolicy.php index 5ff2f82c487..25b37f77ae7 100644 --- a/src/Beta/Microsoft/Graph/Model/IdentitySecurityDefaultsEnforcementPolicy.php +++ b/src/Beta/Microsoft/Graph/Model/IdentitySecurityDefaultsEnforcementPolicy.php @@ -26,7 +26,7 @@ class IdentitySecurityDefaultsEnforcementPolicy extends PolicyBase { /** * Gets the isEnabled - * If set to true, Azure Active Directory security defaults is enabled for the tenant. + * If set to true, Azure Active Directory security defaults are enabled for the tenant. * * @return bool|null The isEnabled */ @@ -41,7 +41,7 @@ public function getIsEnabled() /** * Sets the isEnabled - * If set to true, Azure Active Directory security defaults is enabled for the tenant. + * If set to true, Azure Active Directory security defaults are enabled for the tenant. * * @param bool $val The isEnabled * diff --git a/src/Beta/Microsoft/Graph/Model/IdentityUserFlowAttribute.php b/src/Beta/Microsoft/Graph/Model/IdentityUserFlowAttribute.php index 8f59a222bd0..30c3d50f715 100644 --- a/src/Beta/Microsoft/Graph/Model/IdentityUserFlowAttribute.php +++ b/src/Beta/Microsoft/Graph/Model/IdentityUserFlowAttribute.php @@ -26,7 +26,7 @@ class IdentityUserFlowAttribute extends Entity { /** * Gets the dataType - * The data type of the user flow attribute. This cannot be modified after the custom user flow attribute is created. The supported values for dataType are: string , boolean , int64 , stringCollection , dateTime, unknownFutureValue. Supports $filter (eq, ne). + * The data type of the user flow attribute. This can't be modified after the custom user flow attribute is created. The supported values for dataType are: string , boolean , int64 , stringCollection , dateTime, unknownFutureValue. Supports $filter (eq, ne). * * @return IdentityUserFlowAttributeDataType|null The dataType */ @@ -45,7 +45,7 @@ public function getDataType() /** * Sets the dataType - * The data type of the user flow attribute. This cannot be modified after the custom user flow attribute is created. The supported values for dataType are: string , boolean , int64 , stringCollection , dateTime, unknownFutureValue. Supports $filter (eq, ne). + * The data type of the user flow attribute. This can't be modified after the custom user flow attribute is created. The supported values for dataType are: string , boolean , int64 , stringCollection , dateTime, unknownFutureValue. Supports $filter (eq, ne). * * @param IdentityUserFlowAttributeDataType $val The dataType * @@ -117,7 +117,7 @@ public function setDisplayName($val) /** * Gets the userFlowAttributeType - * The type of the user flow attribute. This is a read-only attribute that is automatically set. Depending on the type of attribute, the values for this property will be builtIn, custom, required, unknownFutureValue. Supports $filter (eq, ne). + * The type of the user flow attribute. This is a read-only attribute that is automatically set. Depending on the type of attribute, the values for this property are builtIn, custom, required, unknownFutureValue. Supports $filter (eq, ne). * * @return IdentityUserFlowAttributeType|null The userFlowAttributeType */ @@ -136,7 +136,7 @@ public function getUserFlowAttributeType() /** * Sets the userFlowAttributeType - * The type of the user flow attribute. This is a read-only attribute that is automatically set. Depending on the type of attribute, the values for this property will be builtIn, custom, required, unknownFutureValue. Supports $filter (eq, ne). + * The type of the user flow attribute. This is a read-only attribute that is automatically set. Depending on the type of attribute, the values for this property are builtIn, custom, required, unknownFutureValue. Supports $filter (eq, ne). * * @param IdentityUserFlowAttributeType $val The userFlowAttributeType * diff --git a/src/Beta/Microsoft/Graph/Model/IdentityUserFlowAttributeAssignment.php b/src/Beta/Microsoft/Graph/Model/IdentityUserFlowAttributeAssignment.php index 60d953b658a..7e4a92b5c5f 100644 --- a/src/Beta/Microsoft/Graph/Model/IdentityUserFlowAttributeAssignment.php +++ b/src/Beta/Microsoft/Graph/Model/IdentityUserFlowAttributeAssignment.php @@ -55,7 +55,7 @@ public function setDisplayName($val) /** * Gets the isOptional - * Determines whether the identityUserFlowAttribute is optional. true means the user doesn't have to provide a value. false means the user cannot complete sign-up without providing a value. + * Determines whether the identityUserFlowAttribute is optional. true means the user doesn't have to provide a value. false means the user can't complete sign-up without providing a value. * * @return bool|null The isOptional */ @@ -70,7 +70,7 @@ public function getIsOptional() /** * Sets the isOptional - * Determines whether the identityUserFlowAttribute is optional. true means the user doesn't have to provide a value. false means the user cannot complete sign-up without providing a value. + * Determines whether the identityUserFlowAttribute is optional. true means the user doesn't have to provide a value. false means the user can't complete sign-up without providing a value. * * @param bool $val The isOptional * diff --git a/src/Beta/Microsoft/Graph/Model/InboundSharedUserProfile.php b/src/Beta/Microsoft/Graph/Model/InboundSharedUserProfile.php index e16d7109d44..cb250f0d209 100644 --- a/src/Beta/Microsoft/Graph/Model/InboundSharedUserProfile.php +++ b/src/Beta/Microsoft/Graph/Model/InboundSharedUserProfile.php @@ -57,7 +57,7 @@ public function getProperties() /** * Gets the displayName - * The name displayed in the address book for teh user at the time when the sharing record was created. Read-only. + * The name displayed in the address book for the user at the time when the sharing record was created. Read-only. * * @return string|null The displayName */ @@ -72,7 +72,7 @@ public function getDisplayName() /** * Sets the displayName - * The name displayed in the address book for teh user at the time when the sharing record was created. Read-only. + * The name displayed in the address book for the user at the time when the sharing record was created. Read-only. * * @param string $val The displayName * diff --git a/src/Beta/Microsoft/Graph/Model/InternalDomainFederation.php b/src/Beta/Microsoft/Graph/Model/InternalDomainFederation.php index ea354d0688d..7641c32482d 100644 --- a/src/Beta/Microsoft/Graph/Model/InternalDomainFederation.php +++ b/src/Beta/Microsoft/Graph/Model/InternalDomainFederation.php @@ -88,7 +88,7 @@ public function setFederatedIdpMfaBehavior($val) /** * Gets the isSignedAuthenticationRequestRequired - * If true, when SAML authentication requests are sent to the federated SAML IdP, Azure AD will sign those requests using the OrgID signing key. If false (default), the SAML authentication requests sent to the federated IdP are not signed. + * If true, when SAML authentication requests are sent to the federated SAML IdP, Azure AD will sign those requests using the OrgID signing key. If false (default), the SAML authentication requests sent to the federated IdP aren't signed. * * @return bool|null The isSignedAuthenticationRequestRequired */ @@ -103,7 +103,7 @@ public function getIsSignedAuthenticationRequestRequired() /** * Sets the isSignedAuthenticationRequestRequired - * If true, when SAML authentication requests are sent to the federated SAML IdP, Azure AD will sign those requests using the OrgID signing key. If false (default), the SAML authentication requests sent to the federated IdP are not signed. + * If true, when SAML authentication requests are sent to the federated SAML IdP, Azure AD will sign those requests using the OrgID signing key. If false (default), the SAML authentication requests sent to the federated IdP aren't signed. * * @param bool $val The isSignedAuthenticationRequestRequired * @@ -117,7 +117,7 @@ public function setIsSignedAuthenticationRequestRequired($val) /** * Gets the nextSigningCertificate - * Fallback token signing certificate that is used to sign tokens when the primary signing certificate expires. Formatted as Base64 encoded strings of the public portion of the federated IdP's token signing certificate. Needs to be compatible with the X509Certificate2 class. Much like the signingCertificate, the nextSigningCertificate property is used if a rollover is required outside of the auto-rollover update, a new federation service is being set up, or if the new token signing certificate is not present in the federation properties after the federation service certificate has been updated. + * Fallback token signing certificate that is used to sign tokens when the primary signing certificate expires. Formatted as Base64 encoded strings of the public portion of the federated IdP's token signing certificate. Needs to be compatible with the X509Certificate2 class. Much like the signingCertificate, the nextSigningCertificate property is used if a rollover is required outside of the auto-rollover update, a new federation service is being set up, or if the new token signing certificate isn't present in the federation properties after the federation service certificate has been updated. * * @return string|null The nextSigningCertificate */ @@ -132,7 +132,7 @@ public function getNextSigningCertificate() /** * Sets the nextSigningCertificate - * Fallback token signing certificate that is used to sign tokens when the primary signing certificate expires. Formatted as Base64 encoded strings of the public portion of the federated IdP's token signing certificate. Needs to be compatible with the X509Certificate2 class. Much like the signingCertificate, the nextSigningCertificate property is used if a rollover is required outside of the auto-rollover update, a new federation service is being set up, or if the new token signing certificate is not present in the federation properties after the federation service certificate has been updated. + * Fallback token signing certificate that is used to sign tokens when the primary signing certificate expires. Formatted as Base64 encoded strings of the public portion of the federated IdP's token signing certificate. Needs to be compatible with the X509Certificate2 class. Much like the signingCertificate, the nextSigningCertificate property is used if a rollover is required outside of the auto-rollover update, a new federation service is being set up, or if the new token signing certificate isn't present in the federation properties after the federation service certificate has been updated. * * @param string $val The nextSigningCertificate * diff --git a/src/Beta/Microsoft/Graph/Model/IosMinimumOperatingSystem.php b/src/Beta/Microsoft/Graph/Model/IosMinimumOperatingSystem.php index bf6903116a1..f5ace051860 100644 --- a/src/Beta/Microsoft/Graph/Model/IosMinimumOperatingSystem.php +++ b/src/Beta/Microsoft/Graph/Model/IosMinimumOperatingSystem.php @@ -220,6 +220,34 @@ public function setV16_0($val) return $this; } /** + * Gets the v17_0 + * When TRUE, only Version 17.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. + * + * @return bool|null The v17_0 + */ + public function getV17_0() + { + if (array_key_exists("v170", $this->_propDict)) { + return $this->_propDict["v170"]; + } else { + return null; + } + } + + /** + * Sets the v17_0 + * When TRUE, only Version 17.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. + * + * @param bool $val The value of the v17_0 + * + * @return IosMinimumOperatingSystem + */ + public function setV17_0($val) + { + $this->_propDict["v170"] = $val; + return $this; + } + /** * Gets the v8_0 * When TRUE, only Version 8.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. * diff --git a/src/Beta/Microsoft/Graph/Model/IpNamedLocation.php b/src/Beta/Microsoft/Graph/Model/IpNamedLocation.php index f79e46116f6..035ac10c3a7 100644 --- a/src/Beta/Microsoft/Graph/Model/IpNamedLocation.php +++ b/src/Beta/Microsoft/Graph/Model/IpNamedLocation.php @@ -27,7 +27,7 @@ class IpNamedLocation extends NamedLocation /** * Gets the ipRanges - * List of IP address ranges in IPv4 CIDR format (e.g. 1.2.3.4/32) or any allowable IPv6 format from IETF RFC5969. Required. + * List of IP address ranges in IPv4 CIDR format (for example, 1.2.3.4/32) or any allowable IPv6 format from IETF RFC5969. Required. * * @return array|null The ipRanges */ @@ -42,7 +42,7 @@ public function getIpRanges() /** * Sets the ipRanges - * List of IP address ranges in IPv4 CIDR format (e.g. 1.2.3.4/32) or any allowable IPv6 format from IETF RFC5969. Required. + * List of IP address ranges in IPv4 CIDR format (for example, 1.2.3.4/32) or any allowable IPv6 format from IETF RFC5969. Required. * * @param IpRange[] $val The ipRanges * diff --git a/src/Beta/Microsoft/Graph/Model/KeyCredentialConfiguration.php b/src/Beta/Microsoft/Graph/Model/KeyCredentialConfiguration.php index bd7af503024..92679661d48 100644 --- a/src/Beta/Microsoft/Graph/Model/KeyCredentialConfiguration.php +++ b/src/Beta/Microsoft/Graph/Model/KeyCredentialConfiguration.php @@ -25,6 +25,7 @@ class KeyCredentialConfiguration extends Entity { /** * Gets the certificateBasedApplicationConfigurationIds + * Collection of GUIDs that point to the certificateBasedApplicationConfiguration that contains the collection of allowed root and intermediate certificate authorities. * * @return string|null The certificateBasedApplicationConfigurationIds */ @@ -39,6 +40,7 @@ public function getCertificateBasedApplicationConfigurationIds() /** * Sets the certificateBasedApplicationConfigurationIds + * Collection of GUIDs that point to the certificateBasedApplicationConfiguration that contains the collection of allowed root and intermediate certificate authorities. * * @param string $val The value of the certificateBasedApplicationConfigurationIds * diff --git a/src/Beta/Microsoft/Graph/Model/LandingPage.php b/src/Beta/Microsoft/Graph/Model/LandingPage.php index 3f99c81504f..f4d30fce42e 100644 --- a/src/Beta/Microsoft/Graph/Model/LandingPage.php +++ b/src/Beta/Microsoft/Graph/Model/LandingPage.php @@ -26,6 +26,7 @@ class LandingPage extends Entity { /** * Gets the createdBy + * Identity of the user who created the landing page. * * @return EmailIdentity|null The createdBy */ @@ -44,6 +45,7 @@ public function getCreatedBy() /** * Sets the createdBy + * Identity of the user who created the landing page. * * @param EmailIdentity $val The createdBy * @@ -57,6 +59,7 @@ public function setCreatedBy($val) /** * Gets the createdDateTime + * Date and time when the landing page was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @return \DateTime|null The createdDateTime */ @@ -75,6 +78,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime + * Date and time when the landing page was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The createdDateTime * @@ -88,6 +92,7 @@ public function setCreatedDateTime($val) /** * Gets the description + * Description of the landing page as defined by the user. * * @return string|null The description */ @@ -102,6 +107,7 @@ public function getDescription() /** * Sets the description + * Description of the landing page as defined by the user. * * @param string $val The description * @@ -115,6 +121,7 @@ public function setDescription($val) /** * Gets the displayName + * The display name of the landing page. * * @return string|null The displayName */ @@ -129,6 +136,7 @@ public function getDisplayName() /** * Sets the displayName + * The display name of the landing page. * * @param string $val The displayName * @@ -142,6 +150,7 @@ public function setDisplayName($val) /** * Gets the lastModifiedBy + * Email identity of the user who last modified the landing page. * * @return EmailIdentity|null The lastModifiedBy */ @@ -160,6 +169,7 @@ public function getLastModifiedBy() /** * Sets the lastModifiedBy + * Email identity of the user who last modified the landing page. * * @param EmailIdentity $val The lastModifiedBy * @@ -173,6 +183,7 @@ public function setLastModifiedBy($val) /** * Gets the lastModifiedDateTime + * Date and time when the landing page was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @return \DateTime|null The lastModifiedDateTime */ @@ -191,6 +202,7 @@ public function getLastModifiedDateTime() /** * Sets the lastModifiedDateTime + * Date and time when the landing page was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The lastModifiedDateTime * @@ -204,6 +216,7 @@ public function setLastModifiedDateTime($val) /** * Gets the locale + * Content locale. * * @return string|null The locale */ @@ -218,6 +231,7 @@ public function getLocale() /** * Sets the locale + * Content locale. * * @param string $val The locale * @@ -231,6 +245,7 @@ public function setLocale($val) /** * Gets the source + * The source of the content. Possible values are: unknown, global, tenant, unknownFutureValue. * * @return SimulationContentSource|null The source */ @@ -249,6 +264,7 @@ public function getSource() /** * Sets the source + * The source of the content. Possible values are: unknown, global, tenant, unknownFutureValue. * * @param SimulationContentSource $val The source * @@ -262,6 +278,7 @@ public function setSource($val) /** * Gets the status + * The status of the simulation. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. * * @return SimulationContentStatus|null The status */ @@ -280,6 +297,7 @@ public function getStatus() /** * Sets the status + * The status of the simulation. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. * * @param SimulationContentStatus $val The status * @@ -293,6 +311,7 @@ public function setStatus($val) /** * Gets the supportedLocales + * Supported locales. * * @return array|null The supportedLocales */ @@ -307,6 +326,7 @@ public function getSupportedLocales() /** * Sets the supportedLocales + * Supported locales. * * @param string[] $val The supportedLocales * diff --git a/src/Beta/Microsoft/Graph/Model/LandingPageDetail.php b/src/Beta/Microsoft/Graph/Model/LandingPageDetail.php index 7c3d6505ff4..db975511260 100644 --- a/src/Beta/Microsoft/Graph/Model/LandingPageDetail.php +++ b/src/Beta/Microsoft/Graph/Model/LandingPageDetail.php @@ -26,6 +26,7 @@ class LandingPageDetail extends Entity { /** * Gets the content + * Landing page detail content. * * @return string|null The content */ @@ -40,6 +41,7 @@ public function getContent() /** * Sets the content + * Landing page detail content. * * @param string $val The content * @@ -53,6 +55,7 @@ public function setContent($val) /** * Gets the isDefaultLangauge + * Indicates whether this language detail is default for the landing page. * * @return bool|null The isDefaultLangauge */ @@ -67,6 +70,7 @@ public function getIsDefaultLangauge() /** * Sets the isDefaultLangauge + * Indicates whether this language detail is default for the landing page. * * @param bool $val The isDefaultLangauge * @@ -80,6 +84,7 @@ public function setIsDefaultLangauge($val) /** * Gets the language + * The content language for the landing page. * * @return string|null The language */ @@ -94,6 +99,7 @@ public function getLanguage() /** * Sets the language + * The content language for the landing page. * * @param string $val The language * diff --git a/src/Beta/Microsoft/Graph/Model/ListInfo.php b/src/Beta/Microsoft/Graph/Model/ListInfo.php index 1da42e928f8..6d8c2675155 100644 --- a/src/Beta/Microsoft/Graph/Model/ListInfo.php +++ b/src/Beta/Microsoft/Graph/Model/ListInfo.php @@ -53,7 +53,7 @@ public function setContentTypesEnabled($val) } /** * Gets the hidden - * If true, indicates that the list is not normally visible in the SharePoint user experience. + * If true, indicates that the list isn't normally visible in the SharePoint user experience. * * @return bool|null The hidden */ @@ -68,7 +68,7 @@ public function getHidden() /** * Sets the hidden - * If true, indicates that the list is not normally visible in the SharePoint user experience. + * If true, indicates that the list isn't normally visible in the SharePoint user experience. * * @param bool $val The value of the hidden * diff --git a/src/Beta/Microsoft/Graph/Model/LocalIdentitySource.php b/src/Beta/Microsoft/Graph/Model/LocalIdentitySource.php new file mode 100644 index 00000000000..ae8c085b0c8 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/LocalIdentitySource.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.localIdentitySource"); + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/LocationConstraint.php b/src/Beta/Microsoft/Graph/Model/LocationConstraint.php index d77f743aba1..5f73a113bbf 100644 --- a/src/Beta/Microsoft/Graph/Model/LocationConstraint.php +++ b/src/Beta/Microsoft/Graph/Model/LocationConstraint.php @@ -25,7 +25,7 @@ class LocationConstraint extends Entity { /** * Gets the isRequired - * The client requests the service to include in the response a meeting location for the meeting. If this is true and all the resources are busy, findMeetingTimes will not return any meeting time suggestions. If this is false and all the resources are busy, findMeetingTimes would still look for meeting times without locations. + * The client requests the service to include in the response a meeting location for the meeting. If this is true and all the resources are busy, findMeetingTimes won't return any meeting time suggestions. If this is false and all the resources are busy, findMeetingTimes would still look for meeting times without locations. * * @return bool|null The isRequired */ @@ -40,7 +40,7 @@ public function getIsRequired() /** * Sets the isRequired - * The client requests the service to include in the response a meeting location for the meeting. If this is true and all the resources are busy, findMeetingTimes will not return any meeting time suggestions. If this is false and all the resources are busy, findMeetingTimes would still look for meeting times without locations. + * The client requests the service to include in the response a meeting location for the meeting. If this is true and all the resources are busy, findMeetingTimes won't return any meeting time suggestions. If this is false and all the resources are busy, findMeetingTimes would still look for meeting times without locations. * * @param bool $val The value of the isRequired * diff --git a/src/Beta/Microsoft/Graph/Model/LoginPage.php b/src/Beta/Microsoft/Graph/Model/LoginPage.php index 1157334c2c4..d023e0c77e0 100644 --- a/src/Beta/Microsoft/Graph/Model/LoginPage.php +++ b/src/Beta/Microsoft/Graph/Model/LoginPage.php @@ -26,6 +26,7 @@ class LoginPage extends Entity { /** * Gets the content + * The HTML content of the login page. * * @return string|null The content */ @@ -40,6 +41,7 @@ public function getContent() /** * Sets the content + * The HTML content of the login page. * * @param string $val The content * @@ -53,6 +55,7 @@ public function setContent($val) /** * Gets the createdBy + * Identity of the user who created the login page. * * @return EmailIdentity|null The createdBy */ @@ -71,6 +74,7 @@ public function getCreatedBy() /** * Sets the createdBy + * Identity of the user who created the login page. * * @param EmailIdentity $val The createdBy * @@ -84,6 +88,7 @@ public function setCreatedBy($val) /** * Gets the createdDateTime + * Date and time when the login page was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @return \DateTime|null The createdDateTime */ @@ -102,6 +107,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime + * Date and time when the login page was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The createdDateTime * @@ -115,6 +121,7 @@ public function setCreatedDateTime($val) /** * Gets the description + * Description about the login page. * * @return string|null The description */ @@ -129,6 +136,7 @@ public function getDescription() /** * Sets the description + * Description about the login page. * * @param string $val The description * @@ -142,6 +150,7 @@ public function setDescription($val) /** * Gets the displayName + * Display name of the login page. * * @return string|null The displayName */ @@ -156,6 +165,7 @@ public function getDisplayName() /** * Sets the displayName + * Display name of the login page. * * @param string $val The displayName * @@ -169,6 +179,7 @@ public function setDisplayName($val) /** * Gets the language + * The content language of the login page. * * @return string|null The language */ @@ -183,6 +194,7 @@ public function getLanguage() /** * Sets the language + * The content language of the login page. * * @param string $val The language * @@ -196,6 +208,7 @@ public function setLanguage($val) /** * Gets the lastModifiedBy + * Identity of the user who last modified the login page. * * @return EmailIdentity|null The lastModifiedBy */ @@ -214,6 +227,7 @@ public function getLastModifiedBy() /** * Sets the lastModifiedBy + * Identity of the user who last modified the login page. * * @param EmailIdentity $val The lastModifiedBy * @@ -227,6 +241,7 @@ public function setLastModifiedBy($val) /** * Gets the lastModifiedDateTime + * Date and time when the login page was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @return \DateTime|null The lastModifiedDateTime */ @@ -245,6 +260,7 @@ public function getLastModifiedDateTime() /** * Sets the lastModifiedDateTime + * Date and time when the login page was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The lastModifiedDateTime * @@ -258,6 +274,7 @@ public function setLastModifiedDateTime($val) /** * Gets the source + * The source of the content. Possible values are: unknown, global, tenant, unknownFutureValue. * * @return SimulationContentSource|null The source */ @@ -276,6 +293,7 @@ public function getSource() /** * Sets the source + * The source of the content. Possible values are: unknown, global, tenant, unknownFutureValue. * * @param SimulationContentSource $val The source * @@ -289,6 +307,7 @@ public function setSource($val) /** * Gets the status + * The login page status. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. * * @return SimulationContentStatus|null The status */ @@ -307,6 +326,7 @@ public function getStatus() /** * Sets the status + * The login page status. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue. * * @param SimulationContentStatus $val The status * diff --git a/src/Beta/Microsoft/Graph/Model/MacOSAppScript.php b/src/Beta/Microsoft/Graph/Model/MacOSAppScript.php new file mode 100644 index 00000000000..18dcd1b5cae --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/MacOSAppScript.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["scriptContent"]; + } else { + return null; + } + } + + /** + * Sets the scriptContent + * The base64 encoded shell script (.sh) that assists managing macOS apps. + * + * @param string $val The value of the scriptContent + * + * @return MacOSAppScript + */ + public function setScriptContent($val) + { + $this->_propDict["scriptContent"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/MacOSMinimumOperatingSystem.php b/src/Beta/Microsoft/Graph/Model/MacOSMinimumOperatingSystem.php index bb852bf3bac..811d3ec8664 100644 --- a/src/Beta/Microsoft/Graph/Model/MacOSMinimumOperatingSystem.php +++ b/src/Beta/Microsoft/Graph/Model/MacOSMinimumOperatingSystem.php @@ -359,4 +359,32 @@ public function setV13_0($val) $this->_propDict["v130"] = $val; return $this; } + /** + * Gets the v14_0 + * When TRUE, indicates macOS 14.0 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + * + * @return bool|null The v14_0 + */ + public function getV14_0() + { + if (array_key_exists("v140", $this->_propDict)) { + return $this->_propDict["v140"]; + } else { + return null; + } + } + + /** + * Sets the v14_0 + * When TRUE, indicates macOS 14.0 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + * + * @param bool $val The value of the v14_0 + * + * @return MacOSMinimumOperatingSystem + */ + public function setV14_0($val) + { + $this->_propDict["v140"] = $val; + return $this; + } } diff --git a/src/Beta/Microsoft/Graph/Model/MacOSPkgApp.php b/src/Beta/Microsoft/Graph/Model/MacOSPkgApp.php index 9eb51ac3ea4..b1cfd6c0605 100644 --- a/src/Beta/Microsoft/Graph/Model/MacOSPkgApp.php +++ b/src/Beta/Microsoft/Graph/Model/MacOSPkgApp.php @@ -116,6 +116,72 @@ public function setMinimumSupportedOperatingSystem($val) return $this; } + /** + * Gets the postInstallScript + * ComplexType macOSAppScript the contains the post-install script for the app. This will execute on the macOS device after the app is installed. + * + * @return MacOSAppScript|null The postInstallScript + */ + public function getPostInstallScript() + { + if (array_key_exists("postInstallScript", $this->_propDict)) { + if (is_a($this->_propDict["postInstallScript"], "\Beta\Microsoft\Graph\Model\MacOSAppScript") || is_null($this->_propDict["postInstallScript"])) { + return $this->_propDict["postInstallScript"]; + } else { + $this->_propDict["postInstallScript"] = new MacOSAppScript($this->_propDict["postInstallScript"]); + return $this->_propDict["postInstallScript"]; + } + } + return null; + } + + /** + * Sets the postInstallScript + * ComplexType macOSAppScript the contains the post-install script for the app. This will execute on the macOS device after the app is installed. + * + * @param MacOSAppScript $val The postInstallScript + * + * @return MacOSPkgApp + */ + public function setPostInstallScript($val) + { + $this->_propDict["postInstallScript"] = $val; + return $this; + } + + /** + * Gets the preInstallScript + * ComplexType macOSAppScript the contains the post-install script for the app. This will execute on the macOS device after the app is installed. + * + * @return MacOSAppScript|null The preInstallScript + */ + public function getPreInstallScript() + { + if (array_key_exists("preInstallScript", $this->_propDict)) { + if (is_a($this->_propDict["preInstallScript"], "\Beta\Microsoft\Graph\Model\MacOSAppScript") || is_null($this->_propDict["preInstallScript"])) { + return $this->_propDict["preInstallScript"]; + } else { + $this->_propDict["preInstallScript"] = new MacOSAppScript($this->_propDict["preInstallScript"]); + return $this->_propDict["preInstallScript"]; + } + } + return null; + } + + /** + * Sets the preInstallScript + * ComplexType macOSAppScript the contains the post-install script for the app. This will execute on the macOS device after the app is installed. + * + * @param MacOSAppScript $val The preInstallScript + * + * @return MacOSPkgApp + */ + public function setPreInstallScript($val) + { + $this->_propDict["preInstallScript"] = $val; + return $this; + } + /** * Gets the primaryBundleId * The primary CFBundleIdentifier of the .pkg. diff --git a/src/Beta/Microsoft/Graph/Model/MalwareState.php b/src/Beta/Microsoft/Graph/Model/MalwareState.php index e031c17e2c1..99c94af53cd 100644 --- a/src/Beta/Microsoft/Graph/Model/MalwareState.php +++ b/src/Beta/Microsoft/Graph/Model/MalwareState.php @@ -53,7 +53,7 @@ public function setCategory($val) } /** * Gets the family - * Provider-generated malware family (for example, 'wannacry', 'notpetya', etc.). + * Provider-generated malware family (for example, 'wannacry,' 'notpetya,' etc.). * * @return string|null The family */ @@ -68,7 +68,7 @@ public function getFamily() /** * Sets the family - * Provider-generated malware family (for example, 'wannacry', 'notpetya', etc.). + * Provider-generated malware family (for example, 'wannacry,' 'notpetya,' etc.). * * @param string $val The value of the family * diff --git a/src/Beta/Microsoft/Graph/Model/MediaInfo.php b/src/Beta/Microsoft/Graph/Model/MediaInfo.php index a6249d9b782..eb319b467f6 100644 --- a/src/Beta/Microsoft/Graph/Model/MediaInfo.php +++ b/src/Beta/Microsoft/Graph/Model/MediaInfo.php @@ -25,7 +25,7 @@ class MediaInfo extends Entity { /** * Gets the resourceId - * Optional, used to uniquely identity the resource. If passed the prompt uri will be cached against this resourceId as key. + * Optional, used to uniquely identity the resource. If passed, the prompt uri is cached against this resourceId as key. * * @return string|null The resourceId */ @@ -40,7 +40,7 @@ public function getResourceId() /** * Sets the resourceId - * Optional, used to uniquely identity the resource. If passed the prompt uri will be cached against this resourceId as key. + * Optional, used to uniquely identity the resource. If passed, the prompt uri is cached against this resourceId as key. * * @param string $val The value of the resourceId * @@ -53,7 +53,7 @@ public function setResourceId($val) } /** * Gets the uri - * Path to the prompt to be played. Currently only Wave file (.wav) format, single-channel, 16-bit samples with a 16,000 (16KHz) sampling rate is only supported. + * Path to the prompt to be played. Currently only Wave file (.wav) format, single-channel, 16-bit samples with a 16,000 (16 KHz) sampling rate is only supported. * * @return string|null The uri */ @@ -68,7 +68,7 @@ public function getUri() /** * Sets the uri - * Path to the prompt to be played. Currently only Wave file (.wav) format, single-channel, 16-bit samples with a 16,000 (16KHz) sampling rate is only supported. + * Path to the prompt to be played. Currently only Wave file (.wav) format, single-channel, 16-bit samples with a 16,000 (16 KHz) sampling rate is only supported. * * @param string $val The value of the uri * diff --git a/src/Beta/Microsoft/Graph/Model/MediaStream.php b/src/Beta/Microsoft/Graph/Model/MediaStream.php index f25be1160ca..a33ce05085d 100644 --- a/src/Beta/Microsoft/Graph/Model/MediaStream.php +++ b/src/Beta/Microsoft/Graph/Model/MediaStream.php @@ -87,7 +87,7 @@ public function setLabel($val) /** * Gets the mediaType - * The media type. The possible value are unknown, audio, video, videoBasedScreenSharing, data. + * The media type. The possible values are unknown, audio, video, videoBasedScreenSharing, data. * * @return Modality|null The mediaType */ @@ -106,7 +106,7 @@ public function getMediaType() /** * Sets the mediaType - * The media type. The possible value are unknown, audio, video, videoBasedScreenSharing, data. + * The media type. The possible values are unknown, audio, video, videoBasedScreenSharing, data. * * @param Modality $val The value to assign to the mediaType * @@ -119,7 +119,7 @@ public function setMediaType($val) } /** * Gets the serverMuted - * Indicates whether the media is muted by the server. + * Indicates whether the server has muted the media. * * @return bool|null The serverMuted */ @@ -134,7 +134,7 @@ public function getServerMuted() /** * Sets the serverMuted - * Indicates whether the media is muted by the server. + * Indicates whether the server has muted the media. * * @param bool $val The value of the serverMuted * diff --git a/src/Beta/Microsoft/Graph/Model/MicrosoftCustomTrainingSetting.php b/src/Beta/Microsoft/Graph/Model/MicrosoftCustomTrainingSetting.php index 8152ad3c48b..a6c9a7b5e1b 100644 --- a/src/Beta/Microsoft/Graph/Model/MicrosoftCustomTrainingSetting.php +++ b/src/Beta/Microsoft/Graph/Model/MicrosoftCustomTrainingSetting.php @@ -37,6 +37,7 @@ public function __construct($propDict = array()) /** * Gets the completionDateTime + * The completion date and time of the training. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @return \DateTime|null The completionDateTime */ @@ -55,6 +56,7 @@ public function getCompletionDateTime() /** * Sets the completionDateTime + * The completion date and time of the training. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The value to assign to the completionDateTime * @@ -68,6 +70,7 @@ public function setCompletionDateTime($val) /** * Gets the trainingAssignmentMappings + * The mapping details of the associated training. * * @return MicrosoftTrainingAssignmentMapping|null The trainingAssignmentMappings */ @@ -86,6 +89,7 @@ public function getTrainingAssignmentMappings() /** * Sets the trainingAssignmentMappings + * The mapping details of the associated training. * * @param MicrosoftTrainingAssignmentMapping $val The value to assign to the trainingAssignmentMappings * @@ -99,6 +103,7 @@ public function setTrainingAssignmentMappings($val) /** * Gets the trainingCompletionDuration + * The training completion duration that needs to be provided before scheduling the training. Possible values are: week, fortnite, month, unknownFutureValue. * * @return TrainingCompletionDuration|null The trainingCompletionDuration */ @@ -117,6 +122,7 @@ public function getTrainingCompletionDuration() /** * Sets the trainingCompletionDuration + * The training completion duration that needs to be provided before scheduling the training. Possible values are: week, fortnite, month, unknownFutureValue. * * @param TrainingCompletionDuration $val The value to assign to the trainingCompletionDuration * diff --git a/src/Beta/Microsoft/Graph/Model/MicrosoftManagedTrainingSetting.php b/src/Beta/Microsoft/Graph/Model/MicrosoftManagedTrainingSetting.php index a9b832a4b7b..d25ba8bee35 100644 --- a/src/Beta/Microsoft/Graph/Model/MicrosoftManagedTrainingSetting.php +++ b/src/Beta/Microsoft/Graph/Model/MicrosoftManagedTrainingSetting.php @@ -37,6 +37,7 @@ public function __construct($propDict = array()) /** * Gets the completionDateTime + * The completion date for the training. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @return \DateTime|null The completionDateTime */ @@ -55,6 +56,7 @@ public function getCompletionDateTime() /** * Sets the completionDateTime + * The completion date for the training. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The value to assign to the completionDateTime * @@ -68,6 +70,7 @@ public function setCompletionDateTime($val) /** * Gets the trainingCompletionDuration + * The training completion duration that needs to be provided before scheduling the training. The possible values are: week, fortnite, month, unknownFutureValue. * * @return TrainingCompletionDuration|null The trainingCompletionDuration */ @@ -86,6 +89,7 @@ public function getTrainingCompletionDuration() /** * Sets the trainingCompletionDuration + * The training completion duration that needs to be provided before scheduling the training. The possible values are: week, fortnite, month, unknownFutureValue. * * @param TrainingCompletionDuration $val The value to assign to the trainingCompletionDuration * diff --git a/src/Beta/Microsoft/Graph/Model/MicrosoftTrainingAssignmentMapping.php b/src/Beta/Microsoft/Graph/Model/MicrosoftTrainingAssignmentMapping.php index e51c0046a0e..7040b180503 100644 --- a/src/Beta/Microsoft/Graph/Model/MicrosoftTrainingAssignmentMapping.php +++ b/src/Beta/Microsoft/Graph/Model/MicrosoftTrainingAssignmentMapping.php @@ -37,6 +37,7 @@ public function __construct($propDict = array()) /** * Gets the assignedTo + * A user collection that specifies to whom the training should be assigned. Possible values are: none, allUsers, clickedPayload, compromised, reportedPhish, readButNotClicked, didNothing, unknownFutureValue. * * @return TrainingAssignedTo|null The assignedTo */ @@ -55,6 +56,7 @@ public function getAssignedTo() /** * Sets the assignedTo + * A user collection that specifies to whom the training should be assigned. Possible values are: none, allUsers, clickedPayload, compromised, reportedPhish, readButNotClicked, didNothing, unknownFutureValue. * * @param TrainingAssignedTo $val The value to assign to the assignedTo * diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganization.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganization.php index 6da3db37e85..bb72eeb1387 100644 --- a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganization.php +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganization.php @@ -26,7 +26,7 @@ class MultiTenantOrganization extends Entity { /** * Gets the createdDateTime - * Date when multi-tenant organization was created. Read-only. + * Date when multitenant organization was created. Read-only. * * @return \DateTime|null The createdDateTime */ @@ -45,7 +45,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime - * Date when multi-tenant organization was created. Read-only. + * Date when multitenant organization was created. Read-only. * * @param \DateTime $val The createdDateTime * @@ -59,7 +59,7 @@ public function setCreatedDateTime($val) /** * Gets the description - * Description of the multi-tenant organization. + * Description of the multitenant organization. * * @return string|null The description */ @@ -74,7 +74,7 @@ public function getDescription() /** * Sets the description - * Description of the multi-tenant organization. + * Description of the multitenant organization. * * @param string $val The description * @@ -88,7 +88,7 @@ public function setDescription($val) /** * Gets the displayName - * Display name of the multi-tenant organization. + * Display name of the multitenant organization. * * @return string|null The displayName */ @@ -103,7 +103,7 @@ public function getDisplayName() /** * Sets the displayName - * Display name of the multi-tenant organization. + * Display name of the multitenant organization. * * @param string $val The displayName * @@ -117,7 +117,7 @@ public function setDisplayName($val) /** * Gets the state - * State of the multi-tenant organization. The possible values are: active, inactive, unknownFutureValue. active indicates the multi-tenant organization is created. inactive indicates the multi-tenant organization is not created. Read-only. + * State of the multitenant organization. The possible values are: active, inactive, unknownFutureValue. active indicates the multitenant organization is created. inactive indicates the multitenant organization isn't created. Read-only. * * @return MultiTenantOrganizationState|null The state */ @@ -136,7 +136,7 @@ public function getState() /** * Sets the state - * State of the multi-tenant organization. The possible values are: active, inactive, unknownFutureValue. active indicates the multi-tenant organization is created. inactive indicates the multi-tenant organization is not created. Read-only. + * State of the multitenant organization. The possible values are: active, inactive, unknownFutureValue. active indicates the multitenant organization is created. inactive indicates the multitenant organization isn't created. Read-only. * * @param MultiTenantOrganizationState $val The state * @@ -150,7 +150,7 @@ public function setState($val) /** * Gets the joinRequest - * Defines the status of a tenant joining a multi-tenant organization. + * Defines the status of a tenant joining a multitenant organization. * * @return MultiTenantOrganizationJoinRequestRecord|null The joinRequest */ @@ -169,7 +169,7 @@ public function getJoinRequest() /** * Sets the joinRequest - * Defines the status of a tenant joining a multi-tenant organization. + * Defines the status of a tenant joining a multitenant organization. * * @param MultiTenantOrganizationJoinRequestRecord $val The joinRequest * @@ -184,7 +184,7 @@ public function setJoinRequest($val) /** * Gets the tenants - * Defines tenants added to a multi-tenant organization. + * Defines tenants added to a multitenant organization. * * @return array|null The tenants */ @@ -199,7 +199,7 @@ public function getTenants() /** * Sets the tenants - * Defines tenants added to a multi-tenant organization. + * Defines tenants added to a multitenant organization. * * @param MultiTenantOrganizationMember[] $val The tenants * diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationIdentitySyncPolicyTemplate.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationIdentitySyncPolicyTemplate.php index a32ba03ffc4..6417f8f87a5 100644 --- a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationIdentitySyncPolicyTemplate.php +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationIdentitySyncPolicyTemplate.php @@ -26,7 +26,7 @@ class MultiTenantOrganizationIdentitySyncPolicyTemplate extends Entity { /** * Gets the templateApplicationLevel - * Specifies whether the template will be applied to user synchronization settings of certain tenants. The possible values are: none, newPartners, existingPartners, unknownFutureValue. You can also specify multiple values like newPartners,existingPartners (default). none indicates the template is not applied to any new or existing partner tenants. newPartners indicates the template is applied to new partner tenants. existingPartners indicates the template is applied to existing partner tenants, those who already had partner-specific user synchronization settings in place. + * Specifies whether the template will be applied to user synchronization settings of certain tenants. The possible values are: none, newPartners, existingPartners, unknownFutureValue. You can also specify multiple values like newPartners,existingPartners (default). none indicates the template isn't applied to any new or existing partner tenants. newPartners indicates the template is applied to new partner tenants. existingPartners indicates the template is applied to existing partner tenants, those who already had partner-specific user synchronization settings in place. * * @return TemplateApplicationLevel|null The templateApplicationLevel */ @@ -45,7 +45,7 @@ public function getTemplateApplicationLevel() /** * Sets the templateApplicationLevel - * Specifies whether the template will be applied to user synchronization settings of certain tenants. The possible values are: none, newPartners, existingPartners, unknownFutureValue. You can also specify multiple values like newPartners,existingPartners (default). none indicates the template is not applied to any new or existing partner tenants. newPartners indicates the template is applied to new partner tenants. existingPartners indicates the template is applied to existing partner tenants, those who already had partner-specific user synchronization settings in place. + * Specifies whether the template will be applied to user synchronization settings of certain tenants. The possible values are: none, newPartners, existingPartners, unknownFutureValue. You can also specify multiple values like newPartners,existingPartners (default). none indicates the template isn't applied to any new or existing partner tenants. newPartners indicates the template is applied to new partner tenants. existingPartners indicates the template is applied to existing partner tenants, those who already had partner-specific user synchronization settings in place. * * @param TemplateApplicationLevel $val The templateApplicationLevel * diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestTransitionDetails.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestTransitionDetails.php index 6d6cee6bdf2..d80c18c2cd7 100644 --- a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestTransitionDetails.php +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationJoinRequestTransitionDetails.php @@ -26,7 +26,7 @@ class MultiTenantOrganizationJoinRequestTransitionDetails extends Entity /** * Gets the desiredMemberState - * State of the tenant in the multi-tenant organization currently being processed. The possible values are: pending, active, removed, unknownFutureValue. Read-only. + * State of the tenant in the multitenant organization currently being processed. The possible values are: pending, active, removed, unknownFutureValue. Read-only. * * @return MultiTenantOrganizationMemberState|null The desiredMemberState */ @@ -45,7 +45,7 @@ public function getDesiredMemberState() /** * Sets the desiredMemberState - * State of the tenant in the multi-tenant organization currently being processed. The possible values are: pending, active, removed, unknownFutureValue. Read-only. + * State of the tenant in the multitenant organization currently being processed. The possible values are: pending, active, removed, unknownFutureValue. Read-only. * * @param MultiTenantOrganizationMemberState $val The value to assign to the desiredMemberState * diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMember.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMember.php index 1fcd9ecc80d..e6e234012c8 100644 --- a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMember.php +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMember.php @@ -26,7 +26,7 @@ class MultiTenantOrganizationMember extends DirectoryObject { /** * Gets the addedByTenantId - * Tenant ID of the tenant that added the tenant to the multi-tenant organization. Read-only. + * Tenant ID of the tenant that added the tenant to the multitenant organization. Read-only. * * @return string|null The addedByTenantId */ @@ -41,7 +41,7 @@ public function getAddedByTenantId() /** * Sets the addedByTenantId - * Tenant ID of the tenant that added the tenant to the multi-tenant organization. Read-only. + * Tenant ID of the tenant that added the tenant to the multitenant organization. Read-only. * * @param string $val The addedByTenantId * @@ -55,7 +55,7 @@ public function setAddedByTenantId($val) /** * Gets the addedDateTime - * Date and time when the tenant was added to the multi-tenant organization. Read-only. + * Date and time when the tenant was added to the multitenant organization. Read-only. * * @return \DateTime|null The addedDateTime */ @@ -74,7 +74,7 @@ public function getAddedDateTime() /** * Sets the addedDateTime - * Date and time when the tenant was added to the multi-tenant organization. Read-only. + * Date and time when the tenant was added to the multitenant organization. Read-only. * * @param \DateTime $val The addedDateTime * @@ -88,7 +88,7 @@ public function setAddedDateTime($val) /** * Gets the displayName - * Display name of the tenant added to the multi-tenant organization. + * Display name of the tenant added to the multitenant organization. * * @return string|null The displayName */ @@ -103,7 +103,7 @@ public function getDisplayName() /** * Sets the displayName - * Display name of the tenant added to the multi-tenant organization. + * Display name of the tenant added to the multitenant organization. * * @param string $val The displayName * @@ -117,7 +117,7 @@ public function setDisplayName($val) /** * Gets the joinedDateTime - * Date and time when the tenant joined the multi-tenant organization. Read-only. + * Date and time when the tenant joined the multitenant organization. Read-only. * * @return \DateTime|null The joinedDateTime */ @@ -136,7 +136,7 @@ public function getJoinedDateTime() /** * Sets the joinedDateTime - * Date and time when the tenant joined the multi-tenant organization. Read-only. + * Date and time when the tenant joined the multitenant organization. Read-only. * * @param \DateTime $val The joinedDateTime * @@ -150,7 +150,7 @@ public function setJoinedDateTime($val) /** * Gets the role - * Role of the tenant in the multi-tenant organization. The possible values are: owner, member (default), unknownFutureValue. Tenants with the owner role can manage the multi-tenant organization but tenants with the member role can only participate in a multi-tenant organization. There can be multiple tenants with the owner role in a multi-tenant organization. + * Role of the tenant in the multitenant organization. The possible values are: owner, member (default), unknownFutureValue. Tenants with the owner role can manage the multitenant organization but tenants with the member role can only participate in a multitenant organization. There can be multiple tenants with the owner role in a multitenant organization. * * @return MultiTenantOrganizationMemberRole|null The role */ @@ -169,7 +169,7 @@ public function getRole() /** * Sets the role - * Role of the tenant in the multi-tenant organization. The possible values are: owner, member (default), unknownFutureValue. Tenants with the owner role can manage the multi-tenant organization but tenants with the member role can only participate in a multi-tenant organization. There can be multiple tenants with the owner role in a multi-tenant organization. + * Role of the tenant in the multitenant organization. The possible values are: owner, member (default), unknownFutureValue. Tenants with the owner role can manage the multitenant organization but tenants with the member role can only participate in a multitenant organization. There can be multiple tenants with the owner role in a multitenant organization. * * @param MultiTenantOrganizationMemberRole $val The role * @@ -183,7 +183,7 @@ public function setRole($val) /** * Gets the state - * State of the tenant in the multi-tenant organization. The possible values are: pending, active, removed, unknownFutureValue. Tenants in the pending state must join the multi-tenant organization to participate in the multi-tenant organization. Tenants in the active state can participate in the multi-tenant organization. Tenants in the removed state are in the process of being removed from the multi-tenant organization. Read-only. + * State of the tenant in the multitenant organization. The possible values are: pending, active, removed, unknownFutureValue. Tenants in the pending state must join the multitenant organization to participate in the multitenant organization. Tenants in the active state can participate in the multitenant organization. Tenants in the removed state are in the process of being removed from the multitenant organization. Read-only. * * @return MultiTenantOrganizationMemberState|null The state */ @@ -202,7 +202,7 @@ public function getState() /** * Sets the state - * State of the tenant in the multi-tenant organization. The possible values are: pending, active, removed, unknownFutureValue. Tenants in the pending state must join the multi-tenant organization to participate in the multi-tenant organization. Tenants in the active state can participate in the multi-tenant organization. Tenants in the removed state are in the process of being removed from the multi-tenant organization. Read-only. + * State of the tenant in the multitenant organization. The possible values are: pending, active, removed, unknownFutureValue. Tenants in the pending state must join the multitenant organization to participate in the multitenant organization. Tenants in the active state can participate in the multitenant organization. Tenants in the removed state are in the process of being removed from the multitenant organization. Read-only. * * @param MultiTenantOrganizationMemberState $val The state * @@ -216,7 +216,7 @@ public function setState($val) /** * Gets the tenantId - * Tenant ID of the Azure Active Directory tenant added to the multi-tenant organization. Set at the time tenant is added.Supports $filter. Key. + * Tenant ID of the Azure Active Directory tenant added to the multitenant organization. Set at the time tenant is added.Supports $filter. Key. * * @return string|null The tenantId */ @@ -231,7 +231,7 @@ public function getTenantId() /** * Sets the tenantId - * Tenant ID of the Azure Active Directory tenant added to the multi-tenant organization. Set at the time tenant is added.Supports $filter. Key. + * Tenant ID of the Azure Active Directory tenant added to the multitenant organization. Set at the time tenant is added.Supports $filter. Key. * * @param string $val The tenantId * @@ -245,7 +245,7 @@ public function setTenantId($val) /** * Gets the transitionDetails - * Details of the processing status for a tenant in a multi-tenant organization. Read-only. Nullable. + * Details of the processing status for a tenant in a multitenant organization. Read-only. Nullable. * * @return MultiTenantOrganizationMemberTransitionDetails|null The transitionDetails */ @@ -264,7 +264,7 @@ public function getTransitionDetails() /** * Sets the transitionDetails - * Details of the processing status for a tenant in a multi-tenant organization. Read-only. Nullable. + * Details of the processing status for a tenant in a multitenant organization. Read-only. Nullable. * * @param MultiTenantOrganizationMemberTransitionDetails $val The transitionDetails * diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMemberTransitionDetails.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMemberTransitionDetails.php index 8f61371fd32..db7d414eeb5 100644 --- a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMemberTransitionDetails.php +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationMemberTransitionDetails.php @@ -26,7 +26,7 @@ class MultiTenantOrganizationMemberTransitionDetails extends Entity /** * Gets the desiredRole - * Role of the tenant in the multi-tenant organization. The possible values are: owner, member, unknownFutureValue. + * Role of the tenant in the multitenant organization. The possible values are: owner, member, unknownFutureValue. * * @return MultiTenantOrganizationMemberRole|null The desiredRole */ @@ -45,7 +45,7 @@ public function getDesiredRole() /** * Sets the desiredRole - * Role of the tenant in the multi-tenant organization. The possible values are: owner, member, unknownFutureValue. + * Role of the tenant in the multitenant organization. The possible values are: owner, member, unknownFutureValue. * * @param MultiTenantOrganizationMemberRole $val The value to assign to the desiredRole * @@ -59,7 +59,7 @@ public function setDesiredRole($val) /** * Gets the desiredState - * State of the tenant in the multi-tenant organization currently being processed. The possible values are: pending, active, removed, unknownFutureValue. Read-only. + * State of the tenant in the multitenant organization currently being processed. The possible values are: pending, active, removed, unknownFutureValue. Read-only. * * @return MultiTenantOrganizationMemberState|null The desiredState */ @@ -78,7 +78,7 @@ public function getDesiredState() /** * Sets the desiredState - * State of the tenant in the multi-tenant organization currently being processed. The possible values are: pending, active, removed, unknownFutureValue. Read-only. + * State of the tenant in the multitenant organization currently being processed. The possible values are: pending, active, removed, unknownFutureValue. Read-only. * * @param MultiTenantOrganizationMemberState $val The value to assign to the desiredState * diff --git a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationPartnerConfigurationTemplate.php b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationPartnerConfigurationTemplate.php index 4d7f8a0ce20..af0eb91cf34 100644 --- a/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationPartnerConfigurationTemplate.php +++ b/src/Beta/Microsoft/Graph/Model/MultiTenantOrganizationPartnerConfigurationTemplate.php @@ -26,7 +26,7 @@ class MultiTenantOrganizationPartnerConfigurationTemplate extends Entity { /** * Gets the automaticUserConsentSettings - * Determines the partner-specific configuration for automatic user consent settings. Unless specifically configured, the inboundAllowed and outboundAllowed properties are null and inherit from the default settings, which is always false. + * Determines the partner-specific configuration for automatic user consent settings. Unless configured, the inboundAllowed and outboundAllowed properties are null and inherit from the default settings, which is always false. * * @return InboundOutboundPolicyConfiguration|null The automaticUserConsentSettings */ @@ -45,7 +45,7 @@ public function getAutomaticUserConsentSettings() /** * Sets the automaticUserConsentSettings - * Determines the partner-specific configuration for automatic user consent settings. Unless specifically configured, the inboundAllowed and outboundAllowed properties are null and inherit from the default settings, which is always false. + * Determines the partner-specific configuration for automatic user consent settings. Unless configured, the inboundAllowed and outboundAllowed properties are null and inherit from the default settings, which is always false. * * @param InboundOutboundPolicyConfiguration $val The automaticUserConsentSettings * @@ -224,7 +224,7 @@ public function setInboundTrust($val) /** * Gets the templateApplicationLevel - * Specifies whether the template will be applied to partner configuration settings of certain tenants. The possible values are: none, newPartners, existingPartners, unknownFutureValue. You can also specify multiple values like newPartners,existingPartners (default). none indicates the template is not applied to any new or existing partner tenants. newPartners indicates the template is applied to new partner tenants. existingPartners indicates the template is applied to existing partner tenants, those who already had partner-specific partner configurations in place. + * Specifies whether the template will be applied to partner configuration settings of certain tenants. The possible values are: none, newPartners, existingPartners, unknownFutureValue. You can also specify multiple values like newPartners,existingPartners (default). none indicates the template isn't applied to any new or existing partner tenants. newPartners indicates the template is applied to new partner tenants. existingPartners indicates the template is applied to existing partner tenants, those who already had partner-specific partner configurations in place. * * @return TemplateApplicationLevel|null The templateApplicationLevel */ @@ -243,7 +243,7 @@ public function getTemplateApplicationLevel() /** * Sets the templateApplicationLevel - * Specifies whether the template will be applied to partner configuration settings of certain tenants. The possible values are: none, newPartners, existingPartners, unknownFutureValue. You can also specify multiple values like newPartners,existingPartners (default). none indicates the template is not applied to any new or existing partner tenants. newPartners indicates the template is applied to new partner tenants. existingPartners indicates the template is applied to existing partner tenants, those who already had partner-specific partner configurations in place. + * Specifies whether the template will be applied to partner configuration settings of certain tenants. The possible values are: none, newPartners, existingPartners, unknownFutureValue. You can also specify multiple values like newPartners,existingPartners (default). none indicates the template isn't applied to any new or existing partner tenants. newPartners indicates the template is applied to new partner tenants. existingPartners indicates the template is applied to existing partner tenants, those who already had partner-specific partner configurations in place. * * @param TemplateApplicationLevel $val The templateApplicationLevel * diff --git a/src/Beta/Microsoft/Graph/Model/NoEntitlementsDataCollection.php b/src/Beta/Microsoft/Graph/Model/NoEntitlementsDataCollection.php new file mode 100644 index 00000000000..cdaf193d461 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/NoEntitlementsDataCollection.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.noEntitlementsDataCollection"); + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/NoTrainingNotificationSetting.php b/src/Beta/Microsoft/Graph/Model/NoTrainingNotificationSetting.php index 3fef0a5ccdd..3e647069d70 100644 --- a/src/Beta/Microsoft/Graph/Model/NoTrainingNotificationSetting.php +++ b/src/Beta/Microsoft/Graph/Model/NoTrainingNotificationSetting.php @@ -26,6 +26,7 @@ class NoTrainingNotificationSetting extends EndUserNotificationSetting /** * Gets the simulationNotification + * The notification for the user who is part of the simulation. * * @return SimulationNotification|null The simulationNotification */ @@ -44,6 +45,7 @@ public function getSimulationNotification() /** * Sets the simulationNotification + * The notification for the user who is part of the simulation. * * @param SimulationNotification $val The value to assign to the simulationNotification * diff --git a/src/Beta/Microsoft/Graph/Model/Notification.php b/src/Beta/Microsoft/Graph/Model/Notification.php index 0360554f76a..f2653c429b5 100644 --- a/src/Beta/Microsoft/Graph/Model/Notification.php +++ b/src/Beta/Microsoft/Graph/Model/Notification.php @@ -26,7 +26,7 @@ class Notification extends Entity { /** * Gets the displayTimeToLive - * Sets how long (in seconds) this notification content will stay in each platform's notification viewer. For example, when the notification is delivered to a Windows device, the value of this property is passed on to ToastNotification.ExpirationTime, which determines how long the toast notification will stay in the user's Windows Action Center. + * Sets how long (in seconds) this notification content stays in each platform's notification viewer. For example, when the notification is delivered to a Windows device, the value of this property is passed on to ToastNotification.ExpirationTime, which determines how long the toast notification stays in the user's Windows Action Center. * * @return int|null The displayTimeToLive */ @@ -41,7 +41,7 @@ public function getDisplayTimeToLive() /** * Sets the displayTimeToLive - * Sets how long (in seconds) this notification content will stay in each platform's notification viewer. For example, when the notification is delivered to a Windows device, the value of this property is passed on to ToastNotification.ExpirationTime, which determines how long the toast notification will stay in the user's Windows Action Center. + * Sets how long (in seconds) this notification content stays in each platform's notification viewer. For example, when the notification is delivered to a Windows device, the value of this property is passed on to ToastNotification.ExpirationTime, which determines how long the toast notification stays in the user's Windows Action Center. * * @param int $val The displayTimeToLive * @@ -88,7 +88,7 @@ public function setExpirationDateTime($val) /** * Gets the groupName - * The name of the group that this notification belongs to. It is set by the developer for the purpose of grouping notifications together. + * The name of the group that this notification belongs to. It is set by the developer for grouping notifications together. * * @return string|null The groupName */ @@ -103,7 +103,7 @@ public function getGroupName() /** * Sets the groupName - * The name of the group that this notification belongs to. It is set by the developer for the purpose of grouping notifications together. + * The name of the group that this notification belongs to. It is set by the developer for grouping notifications together. * * @param string $val The groupName * diff --git a/src/Beta/Microsoft/Graph/Model/OAuth2PermissionGrant.php b/src/Beta/Microsoft/Graph/Model/OAuth2PermissionGrant.php index cd0ec10a3d6..2bf394d263c 100644 --- a/src/Beta/Microsoft/Graph/Model/OAuth2PermissionGrant.php +++ b/src/Beta/Microsoft/Graph/Model/OAuth2PermissionGrant.php @@ -26,7 +26,7 @@ class OAuth2PermissionGrant extends Entity { /** * Gets the clientId - * The object id (not appId) of the client service principal for the application which is authorized to act on behalf of a signed-in user when accessing an API. Required. Supports $filter (eq only). + * The object id (not appId) of the client service principal for the application that is authorized to act on behalf of a signed-in user when accessing an API. Required. Supports $filter (eq only). * * @return string|null The clientId */ @@ -41,7 +41,7 @@ public function getClientId() /** * Sets the clientId - * The object id (not appId) of the client service principal for the application which is authorized to act on behalf of a signed-in user when accessing an API. Required. Supports $filter (eq only). + * The object id (not appId) of the client service principal for the application that is authorized to act on behalf of a signed-in user when accessing an API. Required. Supports $filter (eq only). * * @param string $val The clientId * @@ -55,7 +55,7 @@ public function setClientId($val) /** * Gets the consentType - * Indicates whether authorization is granted for the client application to impersonate all users or only a specific user. AllPrincipals indicates authorization to impersonate all users. Principal indicates authorization to impersonate a specific user. Consent on behalf of all users can be granted by an administrator. Non-admin users may be authorized to consent on behalf of themselves in some cases, for some delegated permissions. Required. Supports $filter (eq only). + * Indicates whether authorization is granted for the client application to impersonate all users or only a specific user. AllPrincipals indicates authorization to impersonate all users. Principal indicates authorization to impersonate a specific user. Consent on behalf of all users can be granted by an administrator. Nonadmin users may be authorized to consent on behalf of themselves in some cases, for some delegated permissions. Required. Supports $filter (eq only). * * @return string|null The consentType */ @@ -70,7 +70,7 @@ public function getConsentType() /** * Sets the consentType - * Indicates whether authorization is granted for the client application to impersonate all users or only a specific user. AllPrincipals indicates authorization to impersonate all users. Principal indicates authorization to impersonate a specific user. Consent on behalf of all users can be granted by an administrator. Non-admin users may be authorized to consent on behalf of themselves in some cases, for some delegated permissions. Required. Supports $filter (eq only). + * Indicates whether authorization is granted for the client application to impersonate all users or only a specific user. AllPrincipals indicates authorization to impersonate all users. Principal indicates authorization to impersonate a specific user. Consent on behalf of all users can be granted by an administrator. Nonadmin users may be authorized to consent on behalf of themselves in some cases, for some delegated permissions. Required. Supports $filter (eq only). * * @param string $val The consentType * @@ -146,7 +146,7 @@ public function setPrincipalId($val) /** * Gets the resourceId - * The id of the resource service principal to which access is authorized. This identifies the API which the client is authorized to attempt to call on behalf of a signed-in user. Supports $filter (eq only). + * The id of the resource service principal to which access is authorized. This identifies the API that the client is authorized to attempt to call on behalf of a signed-in user. Supports $filter (eq only). * * @return string|null The resourceId */ @@ -161,7 +161,7 @@ public function getResourceId() /** * Sets the resourceId - * The id of the resource service principal to which access is authorized. This identifies the API which the client is authorized to attempt to call on behalf of a signed-in user. Supports $filter (eq only). + * The id of the resource service principal to which access is authorized. This identifies the API that the client is authorized to attempt to call on behalf of a signed-in user. Supports $filter (eq only). * * @param string $val The resourceId * @@ -175,7 +175,7 @@ public function setResourceId($val) /** * Gets the scope - * A space-separated list of the claim values for delegated permissions which should be included in access tokens for the resource application (the API). For example, openid User.Read GroupMember.Read.All. Each claim value should match the value field of one of the delegated permissions defined by the API, listed in the publishedPermissionScopes property of the resource service principal. Must not exceed 3850 characters in length. + * A space-separated list of the claim values for delegated permissions that should be included in access tokens for the resource application (the API). For example, openid User.Read GroupMember.Read.All. Each claim value should match the value field of one of the delegated permissions defined by the API, listed in the publishedPermissionScopes property of the resource service principal. Must not exceed 3850 characters in length. * * @return string|null The scope */ @@ -190,7 +190,7 @@ public function getScope() /** * Sets the scope - * A space-separated list of the claim values for delegated permissions which should be included in access tokens for the resource application (the API). For example, openid User.Read GroupMember.Read.All. Each claim value should match the value field of one of the delegated permissions defined by the API, listed in the publishedPermissionScopes property of the resource service principal. Must not exceed 3850 characters in length. + * A space-separated list of the claim values for delegated permissions that should be included in access tokens for the resource application (the API). For example, openid User.Read GroupMember.Read.All. Each claim value should match the value field of one of the delegated permissions defined by the API, listed in the publishedPermissionScopes property of the resource service principal. Must not exceed 3850 characters in length. * * @param string $val The scope * diff --git a/src/Beta/Microsoft/Graph/Model/OAuthConsentAppDetail.php b/src/Beta/Microsoft/Graph/Model/OAuthConsentAppDetail.php index ab8c2b95462..9c7ca6fdcea 100644 --- a/src/Beta/Microsoft/Graph/Model/OAuthConsentAppDetail.php +++ b/src/Beta/Microsoft/Graph/Model/OAuthConsentAppDetail.php @@ -26,6 +26,7 @@ class OAuthConsentAppDetail extends Entity /** * Gets the appScope + * App scope. Possible values are: unknown, readCalendar, readContact, readMail, readAllChat, readAllFile, readAndWriteMail, sendMail, unknownFutureValue. * * @return OAuthAppScope|null The appScope */ @@ -44,6 +45,7 @@ public function getAppScope() /** * Sets the appScope + * App scope. Possible values are: unknown, readCalendar, readContact, readMail, readAllChat, readAllFile, readAndWriteMail, sendMail, unknownFutureValue. * * @param OAuthAppScope $val The value to assign to the appScope * @@ -56,6 +58,7 @@ public function setAppScope($val) } /** * Gets the displayLogo + * App display logo. * * @return string|null The displayLogo */ @@ -70,6 +73,7 @@ public function getDisplayLogo() /** * Sets the displayLogo + * App display logo. * * @param string $val The value of the displayLogo * @@ -82,6 +86,7 @@ public function setDisplayLogo($val) } /** * Gets the displayName + * App name. * * @return string|null The displayName */ @@ -96,6 +101,7 @@ public function getDisplayName() /** * Sets the displayName + * App name. * * @param string $val The value of the displayName * diff --git a/src/Beta/Microsoft/Graph/Model/ObjectIdentity.php b/src/Beta/Microsoft/Graph/Model/ObjectIdentity.php index cf9e00d08d7..0fcfc830cff 100644 --- a/src/Beta/Microsoft/Graph/Model/ObjectIdentity.php +++ b/src/Beta/Microsoft/Graph/Model/ObjectIdentity.php @@ -25,7 +25,7 @@ class ObjectIdentity extends Entity { /** * Gets the issuer - * Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType isn't federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For external users from other Azure AD organization, this is the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit. + * Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType isn't federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For guests from other Azure AD organization, this is the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit. * * @return string|null The issuer */ @@ -40,7 +40,7 @@ public function getIssuer() /** * Sets the issuer - * Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType isn't federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For external users from other Azure AD organization, this is the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit. + * Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType isn't federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For guests from other Azure AD organization, this is the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit. * * @param string $val The value of the issuer * diff --git a/src/Beta/Microsoft/Graph/Model/Office365ActiveUserDetail.php b/src/Beta/Microsoft/Graph/Model/Office365ActiveUserDetail.php index 6ac68cd024c..15521ae7fbe 100644 --- a/src/Beta/Microsoft/Graph/Model/Office365ActiveUserDetail.php +++ b/src/Beta/Microsoft/Graph/Model/Office365ActiveUserDetail.php @@ -55,7 +55,7 @@ public function setAssignedProducts($val) /** * Gets the deletedDate - * The date when the delete operation happened. Default value is 'null' when the user has not been deleted. + * The date when the delete operation happened. Default value is 'null' when the user hasn't been deleted. * * @return \DateTime|null The deletedDate */ @@ -74,7 +74,7 @@ public function getDeletedDate() /** * Sets the deletedDate - * The date when the delete operation happened. Default value is 'null' when the user has not been deleted. + * The date when the delete operation happened. Default value is 'null' when the user hasn't been deleted. * * @param \DateTime $val The deletedDate * @@ -88,7 +88,7 @@ public function setDeletedDate($val) /** * Gets the displayName - * The name displayed in the address book for the user. This is usually the combination of the user's first name, middle initial, and last name. This property is required when a user is created and it cannot be cleared during updates. + * The name displayed in the address book for the user. This is usually the combination of the user's first name, middle initial, and last name. This property is required when a user is created and it can't be cleared during updates. * * @return string|null The displayName */ @@ -103,7 +103,7 @@ public function getDisplayName() /** * Sets the displayName - * The name displayed in the address book for the user. This is usually the combination of the user's first name, middle initial, and last name. This property is required when a user is created and it cannot be cleared during updates. + * The name displayed in the address book for the user. This is usually the combination of the user's first name, middle initial, and last name. This property is required when a user is created and it can't be cleared during updates. * * @param string $val The displayName * diff --git a/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityDetail.php b/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityDetail.php index 294c83445a6..eb2dd3e7c34 100644 --- a/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityDetail.php +++ b/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityDetail.php @@ -84,7 +84,7 @@ public function setExchangeMailboxTotalItemCount($val) /** * Gets the exchangeReceivedEmailCount - * The number of email that the group mailbox received. + * The number of emails that the group mailbox received. * * @return int|null The exchangeReceivedEmailCount */ @@ -99,7 +99,7 @@ public function getExchangeReceivedEmailCount() /** * Sets the exchangeReceivedEmailCount - * The number of email that the group mailbox received. + * The number of emails that the group mailbox received. * * @param int $val The exchangeReceivedEmailCount * diff --git a/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityGroupCounts.php b/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityGroupCounts.php index 34b07bb599f..3cc20a6126d 100644 --- a/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityGroupCounts.php +++ b/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityGroupCounts.php @@ -26,7 +26,7 @@ class Office365GroupsActivityGroupCounts extends Entity { /** * Gets the active - * The number of active groups. A group is considered active if any of the following occurred: group mailbox received email; user viewed, edited, shared, or synced files in SharePoint document library; user viewed SharePoint pages; user posted, read, or liked messages in Yammer groups. + * The number of active groups. A group is considered active if any of the following occurred: group mailbox received email, or a user viewed, edited, shared, or synced files in SharePoint document library, or a user viewed SharePoint pages, or a user posted, read, or liked messages in Yammer groups. * * @return int|null The active */ @@ -41,7 +41,7 @@ public function getActive() /** * Sets the active - * The number of active groups. A group is considered active if any of the following occurred: group mailbox received email; user viewed, edited, shared, or synced files in SharePoint document library; user viewed SharePoint pages; user posted, read, or liked messages in Yammer groups. + * The number of active groups. A group is considered active if any of the following occurred: group mailbox received email, or a user viewed, edited, shared, or synced files in SharePoint document library, or a user viewed SharePoint pages, or a user posted, read, or liked messages in Yammer groups. * * @param int $val The active * @@ -55,7 +55,7 @@ public function setActive($val) /** * Gets the reportDate - * The date on which a number of groups were active. + * The date on which groups were active. * * @return \DateTime|null The reportDate */ @@ -74,7 +74,7 @@ public function getReportDate() /** * Sets the reportDate - * The date on which a number of groups were active. + * The date on which groups were active. * * @param \DateTime $val The reportDate * diff --git a/src/Beta/Microsoft/Graph/Model/OnAttributeCollectionListener.php b/src/Beta/Microsoft/Graph/Model/OnAttributeCollectionListener.php index f1261b41c5c..94388b5f496 100644 --- a/src/Beta/Microsoft/Graph/Model/OnAttributeCollectionListener.php +++ b/src/Beta/Microsoft/Graph/Model/OnAttributeCollectionListener.php @@ -26,7 +26,7 @@ class OnAttributeCollectionListener extends AuthenticationEventListener { /** * Gets the handler - * Required. Configuration for what to invoke if the event resolves to this listener. This lets us define potential handler configurations per-event. + * Required. Configuration for what to invoke if the event resolves to this listener. * * @return OnAttributeCollectionHandler|null The handler */ @@ -45,7 +45,7 @@ public function getHandler() /** * Sets the handler - * Required. Configuration for what to invoke if the event resolves to this listener. This lets us define potential handler configurations per-event. + * Required. Configuration for what to invoke if the event resolves to this listener. * * @param OnAttributeCollectionHandler $val The handler * diff --git a/src/Beta/Microsoft/Graph/Model/OnPremisesAgent.php b/src/Beta/Microsoft/Graph/Model/OnPremisesAgent.php index 5eb9c3a6412..3b047c4d6f9 100644 --- a/src/Beta/Microsoft/Graph/Model/OnPremisesAgent.php +++ b/src/Beta/Microsoft/Graph/Model/OnPremisesAgent.php @@ -55,7 +55,7 @@ public function setExternalIp($val) /** * Gets the machineName - * The name of the machine that the aggent is running on. Read-only + * The name of the machine that the agent is running on. Read-only * * @return string|null The machineName */ @@ -70,7 +70,7 @@ public function getMachineName() /** * Sets the machineName - * The name of the machine that the aggent is running on. Read-only + * The name of the machine that the agent is running on. Read-only * * @param string $val The machineName * diff --git a/src/Beta/Microsoft/Graph/Model/Onenote.php b/src/Beta/Microsoft/Graph/Model/Onenote.php index ec675021a59..73c4f39ac47 100644 --- a/src/Beta/Microsoft/Graph/Model/Onenote.php +++ b/src/Beta/Microsoft/Graph/Model/Onenote.php @@ -57,7 +57,7 @@ public function setNotebooks($val) /** * Gets the operations - * The status of OneNote operations. Getting an operations collection is not supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. + * The status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. * * @return array|null The operations */ @@ -72,7 +72,7 @@ public function getOperations() /** * Sets the operations - * The status of OneNote operations. Getting an operations collection is not supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. + * The status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. * * @param OnenoteOperation[] $val The operations * @@ -117,7 +117,7 @@ public function setPages($val) /** * Gets the resources - * The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. + * The image and other file resources in OneNote pages. Getting a resources collection isn't supported, but you can get the binary content of a specific resource. Read-only. Nullable. * * @return array|null The resources */ @@ -132,7 +132,7 @@ public function getResources() /** * Sets the resources - * The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. + * The image and other file resources in OneNote pages. Getting a resources collection isn't supported, but you can get the binary content of a specific resource. Read-only. Nullable. * * @param OnenoteResource[] $val The resources * diff --git a/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php b/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php index eb95ee578e0..a435e64555e 100644 --- a/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php +++ b/src/Beta/Microsoft/Graph/Model/OnlineMeeting.php @@ -266,7 +266,6 @@ public function setAllowTranscription($val) /** * Gets the alternativeRecording - * The content stream of the alternative recording of a Microsoft Teams live event. Read-only. * * @return \GuzzleHttp\Psr7\Stream|null The alternativeRecording */ @@ -285,7 +284,6 @@ public function getAlternativeRecording() /** * Sets the alternativeRecording - * The content stream of the alternative recording of a Microsoft Teams live event. Read-only. * * @param \GuzzleHttp\Psr7\Stream $val The alternativeRecording * @@ -329,7 +327,6 @@ public function setAnonymizeIdentityForRoles($val) /** * Gets the attendeeReport - * The content stream of the attendee report of a Teams live event. Read-only. * * @return \GuzzleHttp\Psr7\Stream|null The attendeeReport */ @@ -348,7 +345,6 @@ public function getAttendeeReport() /** * Sets the attendeeReport - * The content stream of the attendee report of a Teams live event. Read-only. * * @param \GuzzleHttp\Psr7\Stream $val The attendeeReport * @@ -426,7 +422,6 @@ public function setBroadcastRecording($val) /** * Gets the broadcastSettings - * Settings related to a live event. * * @return BroadcastMeetingSettings|null The broadcastSettings */ @@ -445,7 +440,6 @@ public function getBroadcastSettings() /** * Sets the broadcastSettings - * Settings related to a live event. * * @param BroadcastMeetingSettings $val The broadcastSettings * @@ -646,7 +640,6 @@ public function setExternalId($val) /** * Gets the isBroadcast - * Indicates whether this is a Teams live event. * * @return bool|null The isBroadcast */ @@ -661,7 +654,6 @@ public function getIsBroadcast() /** * Sets the isBroadcast - * Indicates whether this is a Teams live event. * * @param bool $val The isBroadcast * @@ -673,6 +665,33 @@ public function setIsBroadcast($val) return $this; } + /** + * Gets the isEndToEndEncryptionEnabled + * + * @return bool|null The isEndToEndEncryptionEnabled + */ + public function getIsEndToEndEncryptionEnabled() + { + if (array_key_exists("isEndToEndEncryptionEnabled", $this->_propDict)) { + return $this->_propDict["isEndToEndEncryptionEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEndToEndEncryptionEnabled + * + * @param bool $val The isEndToEndEncryptionEnabled + * + * @return OnlineMeeting + */ + public function setIsEndToEndEncryptionEnabled($val) + { + $this->_propDict["isEndToEndEncryptionEnabled"] = boolval($val); + return $this; + } + /** * Gets the isEntryExitAnnounced * Indicates whether to announce when callers join or leave. @@ -921,7 +940,6 @@ public function setRecordAutomatically($val) /** * Gets the recording - * The content stream of the recording of a Teams live event. Read-only. * * @return \GuzzleHttp\Psr7\Stream|null The recording */ @@ -940,7 +958,6 @@ public function getRecording() /** * Sets the recording - * The content stream of the recording of a Teams live event. Read-only. * * @param \GuzzleHttp\Psr7\Stream $val The recording * diff --git a/src/Beta/Microsoft/Graph/Model/OpenIdConnectIdentityProvider.php b/src/Beta/Microsoft/Graph/Model/OpenIdConnectIdentityProvider.php index 3c7fcb78973..1b50c50931f 100644 --- a/src/Beta/Microsoft/Graph/Model/OpenIdConnectIdentityProvider.php +++ b/src/Beta/Microsoft/Graph/Model/OpenIdConnectIdentityProvider.php @@ -241,7 +241,7 @@ public function setResponseType($val) /** * Gets the scope - * Scope defines the information and permissions you are looking to gather from your custom identity provider. OpenID Connect requests must contain the openid scope value in order to receive the ID token from the identity provider. Without the ID token, users are not able to sign in to Azure AD B2C using the custom identity provider. Other scopes can be appended, separated by a space. For more details about the scope limitations see RFC6749 Section 3.3. Required. + * Scope defines the information and permissions you are looking to gather from your custom identity provider. OpenID Connect requests must contain the openid scope value in order to receive the ID token from the identity provider. Without the ID token, users are not able to sign in to Azure AD B2C using the custom identity provider. Other scopes can be appended, separated by a space. For more details about the scope limitations, see RFC6749 Section 3.3. Required. * * @return string|null The scope */ @@ -256,7 +256,7 @@ public function getScope() /** * Sets the scope - * Scope defines the information and permissions you are looking to gather from your custom identity provider. OpenID Connect requests must contain the openid scope value in order to receive the ID token from the identity provider. Without the ID token, users are not able to sign in to Azure AD B2C using the custom identity provider. Other scopes can be appended, separated by a space. For more details about the scope limitations see RFC6749 Section 3.3. Required. + * Scope defines the information and permissions you are looking to gather from your custom identity provider. OpenID Connect requests must contain the openid scope value in order to receive the ID token from the identity provider. Without the ID token, users are not able to sign in to Azure AD B2C using the custom identity provider. Other scopes can be appended, separated by a space. For more details about the scope limitations, see RFC6749 Section 3.3. Required. * * @param string $val The scope * diff --git a/src/Beta/Microsoft/Graph/Model/Participant.php b/src/Beta/Microsoft/Graph/Model/Participant.php index 620e6cdcc38..fd3093c5f7a 100644 --- a/src/Beta/Microsoft/Graph/Model/Participant.php +++ b/src/Beta/Microsoft/Graph/Model/Participant.php @@ -203,6 +203,7 @@ public function setMetadata($val) /** * Gets the preferredDisplayName + * The participant's preferred display name that overrides the original display name. * * @return string|null The preferredDisplayName */ @@ -217,6 +218,7 @@ public function getPreferredDisplayName() /** * Sets the preferredDisplayName + * The participant's preferred display name that overrides the original display name. * * @param string $val The preferredDisplayName * diff --git a/src/Beta/Microsoft/Graph/Model/ParticipantInfo.php b/src/Beta/Microsoft/Graph/Model/ParticipantInfo.php index 5e41fe303e2..30c8777296e 100644 --- a/src/Beta/Microsoft/Graph/Model/ParticipantInfo.php +++ b/src/Beta/Microsoft/Graph/Model/ParticipantInfo.php @@ -234,7 +234,7 @@ public function setPlatformId($val) } /** * Gets the region - * The home region of the participant. This can be a country, a continent, or a larger geographic region. This does not change based on the participant's current physical location, unlike countryCode. Read-only. + * The home region of the participant, and can be a country, a continent, or a larger geographic region. The region doesn't change based on the participant's current physical location, unlike countryCode. Read-only. * * @return string|null The region */ @@ -249,7 +249,7 @@ public function getRegion() /** * Sets the region - * The home region of the participant. This can be a country, a continent, or a larger geographic region. This does not change based on the participant's current physical location, unlike countryCode. Read-only. + * The home region of the participant, and can be a country, a continent, or a larger geographic region. The region doesn't change based on the participant's current physical location, unlike countryCode. Read-only. * * @param string $val The value of the region * diff --git a/src/Beta/Microsoft/Graph/Model/Permission.php b/src/Beta/Microsoft/Graph/Model/Permission.php index d06576bf909..75b2a65b237 100644 --- a/src/Beta/Microsoft/Graph/Model/Permission.php +++ b/src/Beta/Microsoft/Graph/Model/Permission.php @@ -26,7 +26,7 @@ class Permission extends Entity { /** * Gets the expirationDateTime - * A format of yyyy-MM-ddTHH:mm:ssZ of DateTimeOffset indicates the expiration time of the permission. DateTime.MinValue indicates there is no expiration set for this permission. Optional. + * A format of yyyy-MM-ddTHH:mm:ssZ of DateTimeOffset indicates the expiration time of the permission. DateTime.MinValue indicates there's no expiration set for this permission. Optional. * * @return \DateTime|null The expirationDateTime */ @@ -45,7 +45,7 @@ public function getExpirationDateTime() /** * Sets the expirationDateTime - * A format of yyyy-MM-ddTHH:mm:ssZ of DateTimeOffset indicates the expiration time of the permission. DateTime.MinValue indicates there is no expiration set for this permission. Optional. + * A format of yyyy-MM-ddTHH:mm:ssZ of DateTimeOffset indicates the expiration time of the permission. DateTime.MinValue indicates there's no expiration set for this permission. Optional. * * @param \DateTime $val The expirationDateTime * @@ -210,7 +210,7 @@ public function setHasPassword($val) /** * Gets the inheritedFrom - * Provides a reference to the ancestor of the current permission, if it is inherited from an ancestor. Read-only. + * Provides a reference to the ancestor of the current permission, if it's inherited from an ancestor. Read-only. * * @return ItemReference|null The inheritedFrom */ @@ -229,7 +229,7 @@ public function getInheritedFrom() /** * Sets the inheritedFrom - * Provides a reference to the ancestor of the current permission, if it is inherited from an ancestor. Read-only. + * Provides a reference to the ancestor of the current permission, if it's inherited from an ancestor. Read-only. * * @param ItemReference $val The inheritedFrom * @@ -276,7 +276,7 @@ public function setInvitation($val) /** * Gets the link - * Provides the link details of the current permission, if it is a link type permissions. Read-only. + * Provides the link details of the current permission, if it's a link type permission. Read-only. * * @return SharingLink|null The link */ @@ -295,7 +295,7 @@ public function getLink() /** * Sets the link - * Provides the link details of the current permission, if it is a link type permissions. Read-only. + * Provides the link details of the current permission, if it's a link type permission. Read-only. * * @param SharingLink $val The link * @@ -309,7 +309,7 @@ public function setLink($val) /** * Gets the roles - * The type of permission, for example, read. See below for the full list of roles. Read-only. + * The type of permission, for example, read. See the Roles property values section for the full list of roles. Read-only. * * @return array|null The roles */ @@ -324,7 +324,7 @@ public function getRoles() /** * Sets the roles - * The type of permission, for example, read. See below for the full list of roles. Read-only. + * The type of permission, for example, read. See the Roles property values section for the full list of roles. Read-only. * * @param string[] $val The roles * diff --git a/src/Beta/Microsoft/Graph/Model/PermissionGrantPolicy.php b/src/Beta/Microsoft/Graph/Model/PermissionGrantPolicy.php index e6da4420ded..36f1b89abb5 100644 --- a/src/Beta/Microsoft/Graph/Model/PermissionGrantPolicy.php +++ b/src/Beta/Microsoft/Graph/Model/PermissionGrantPolicy.php @@ -27,7 +27,7 @@ class PermissionGrantPolicy extends PolicyBase /** * Gets the excludes - * Condition sets which are excluded in this permission grant policy. Automatically expanded on GET. + * Condition sets that are excluded in this permission grant policy. Automatically expanded on GET. * * @return array|null The excludes */ @@ -42,7 +42,7 @@ public function getExcludes() /** * Sets the excludes - * Condition sets which are excluded in this permission grant policy. Automatically expanded on GET. + * Condition sets that are excluded in this permission grant policy. Automatically expanded on GET. * * @param PermissionGrantConditionSet[] $val The excludes * @@ -57,7 +57,7 @@ public function setExcludes($val) /** * Gets the includes - * Condition sets which are included in this permission grant policy. Automatically expanded on GET. + * Condition sets that are included in this permission grant policy. Automatically expanded on GET. * * @return array|null The includes */ @@ -72,7 +72,7 @@ public function getIncludes() /** * Sets the includes - * Condition sets which are included in this permission grant policy. Automatically expanded on GET. + * Condition sets that are included in this permission grant policy. Automatically expanded on GET. * * @param PermissionGrantConditionSet[] $val The includes * diff --git a/src/Beta/Microsoft/Graph/Model/PermissionsDefinition.php b/src/Beta/Microsoft/Graph/Model/PermissionsDefinition.php new file mode 100644 index 00000000000..186bb4689b0 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/PermissionsDefinition.php @@ -0,0 +1,88 @@ +_propDict)) { + if (is_a($this->_propDict["authorizationSystemInfo"], "\Beta\Microsoft\Graph\Model\PermissionsDefinitionAuthorizationSystem") || is_null($this->_propDict["authorizationSystemInfo"])) { + return $this->_propDict["authorizationSystemInfo"]; + } else { + $this->_propDict["authorizationSystemInfo"] = new PermissionsDefinitionAuthorizationSystem($this->_propDict["authorizationSystemInfo"]); + return $this->_propDict["authorizationSystemInfo"]; + } + } + return null; + } + + /** + * Sets the authorizationSystemInfo + * + * @param PermissionsDefinitionAuthorizationSystem $val The value to assign to the authorizationSystemInfo + * + * @return PermissionsDefinition The PermissionsDefinition + */ + public function setAuthorizationSystemInfo($val) + { + $this->_propDict["authorizationSystemInfo"] = $val; + return $this; + } + + /** + * Gets the identityInfo + * + * @return PermissionsDefinitionAuthorizationSystemIdentity|null The identityInfo + */ + public function getIdentityInfo() + { + if (array_key_exists("identityInfo", $this->_propDict)) { + if (is_a($this->_propDict["identityInfo"], "\Beta\Microsoft\Graph\Model\PermissionsDefinitionAuthorizationSystemIdentity") || is_null($this->_propDict["identityInfo"])) { + return $this->_propDict["identityInfo"]; + } else { + $this->_propDict["identityInfo"] = new PermissionsDefinitionAuthorizationSystemIdentity($this->_propDict["identityInfo"]); + return $this->_propDict["identityInfo"]; + } + } + return null; + } + + /** + * Sets the identityInfo + * + * @param PermissionsDefinitionAuthorizationSystemIdentity $val The value to assign to the identityInfo + * + * @return PermissionsDefinition The PermissionsDefinition + */ + public function setIdentityInfo($val) + { + $this->_propDict["identityInfo"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/PermissionsDefinitionAction.php b/src/Beta/Microsoft/Graph/Model/PermissionsDefinitionAction.php new file mode 100644 index 00000000000..ef27cb69a2f --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/PermissionsDefinitionAction.php @@ -0,0 +1,26 @@ +_propDict)) { + return $this->_propDict["authorizationSystemId"]; + } else { + return null; + } + } + + /** + * Sets the authorizationSystemId + * + * @param string $val The value of the authorizationSystemId + * + * @return PermissionsDefinitionAuthorizationSystem + */ + public function setAuthorizationSystemId($val) + { + $this->_propDict["authorizationSystemId"] = $val; + return $this; + } + /** + * Gets the authorizationSystemType + * + * @return string|null The authorizationSystemType + */ + public function getAuthorizationSystemType() + { + if (array_key_exists("authorizationSystemType", $this->_propDict)) { + return $this->_propDict["authorizationSystemType"]; + } else { + return null; + } + } + + /** + * Sets the authorizationSystemType + * + * @param string $val The value of the authorizationSystemType + * + * @return PermissionsDefinitionAuthorizationSystem + */ + public function setAuthorizationSystemType($val) + { + $this->_propDict["authorizationSystemType"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/PermissionsDefinitionAuthorizationSystemIdentity.php b/src/Beta/Microsoft/Graph/Model/PermissionsDefinitionAuthorizationSystemIdentity.php new file mode 100644 index 00000000000..abd59a5c50f --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/PermissionsDefinitionAuthorizationSystemIdentity.php @@ -0,0 +1,196 @@ +_propDict = $propDict; + } + + /** + * Gets the property dictionary of the PermissionsDefinitionAuthorizationSystemIdentity + * + * @return array The list of properties + */ + public function getProperties() + { + return $this->_propDict; + } + + /** + * Gets the externalId + * + * @return string|null The externalId + */ + public function getExternalId() + { + if (array_key_exists("externalId", $this->_propDict)) { + return $this->_propDict["externalId"]; + } else { + return null; + } + } + + /** + * Sets the externalId + * + * @param string $val The externalId + * + * @return PermissionsDefinitionAuthorizationSystemIdentity + */ + public function setExternalId($val) + { + $this->_propDict["externalId"] = $val; + return $this; + } + + /** + * Gets the identityType + * + * @return PermissionsDefinitionIdentityType|null The identityType + */ + public function getIdentityType() + { + if (array_key_exists("identityType", $this->_propDict)) { + if (is_a($this->_propDict["identityType"], "\Beta\Microsoft\Graph\Model\PermissionsDefinitionIdentityType") || is_null($this->_propDict["identityType"])) { + return $this->_propDict["identityType"]; + } else { + $this->_propDict["identityType"] = new PermissionsDefinitionIdentityType($this->_propDict["identityType"]); + return $this->_propDict["identityType"]; + } + } + return null; + } + + /** + * Sets the identityType + * + * @param PermissionsDefinitionIdentityType $val The identityType + * + * @return PermissionsDefinitionAuthorizationSystemIdentity + */ + public function setIdentityType($val) + { + $this->_propDict["identityType"] = $val; + return $this; + } + + /** + * Gets the source + * + * @return PermissionsDefinitionIdentitySource|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\PermissionsDefinitionIdentitySource") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new PermissionsDefinitionIdentitySource($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * + * @param PermissionsDefinitionIdentitySource $val The source + * + * @return PermissionsDefinitionAuthorizationSystemIdentity + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + + /** + * Gets the ODataType + * + * @return string|null The ODataType + */ + public function getODataType() + { + if (array_key_exists('@odata.type', $this->_propDict)) { + return $this->_propDict["@odata.type"]; + } + return null; + } + + /** + * Sets the ODataType + * + * @param string $val The ODataType + * + * @return PermissionsDefinitionAuthorizationSystemIdentity + */ + public function setODataType($val) + { + $this->_propDict["@odata.type"] = $val; + return $this; + } + + /** + * Serializes the object by property array + * Manually serialize DateTime into RFC3339 format + * + * @return array The list of properties + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + $serializableProperties = $this->getProperties(); + foreach ($serializableProperties as $property => $val) { + if (is_a($val, "\DateTime")) { + $serializableProperties[$property] = $val->format(\DateTime::RFC3339); + } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { + $serializableProperties[$property] = $val->value(); + } else if (is_a($val, "\Entity")) { + $serializableProperties[$property] = $val->jsonSerialize(); + } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { + $serializableProperties[$property] = (string) $val; + } + } + return $serializableProperties; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/PermissionsDefinitionAwsPolicy.php b/src/Beta/Microsoft/Graph/Model/PermissionsDefinitionAwsPolicy.php new file mode 100644 index 00000000000..0bdcdf1f0cc --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/PermissionsDefinitionAwsPolicy.php @@ -0,0 +1,27 @@ +_propDict)) { + return $this->_propDict["permissionsRequestChanges"]; + } else { + return null; + } + } + + /** + * Sets the permissionsRequestChanges + * + * @param PermissionsRequestChange[] $val The permissionsRequestChanges + * + * @return PermissionsManagement + */ + public function setPermissionsRequestChanges($val) + { + $this->_propDict["permissionsRequestChanges"] = $val; + return $this; + } + + + /** + * Gets the scheduledPermissionsRequests + * + * @return array|null The scheduledPermissionsRequests + */ + public function getScheduledPermissionsRequests() + { + if (array_key_exists("scheduledPermissionsRequests", $this->_propDict)) { + return $this->_propDict["scheduledPermissionsRequests"]; + } else { + return null; + } + } + + /** + * Sets the scheduledPermissionsRequests + * + * @param ScheduledPermissionsRequest[] $val The scheduledPermissionsRequests + * + * @return PermissionsManagement + */ + public function setScheduledPermissionsRequests($val) + { + $this->_propDict["scheduledPermissionsRequests"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/PermissionsModificationCapability.php b/src/Beta/Microsoft/Graph/Model/PermissionsModificationCapability.php new file mode 100644 index 00000000000..0f8f5d7f361 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/PermissionsModificationCapability.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["activeOccurrenceStatus"], "\Beta\Microsoft\Graph\Model\PermissionsRequestOccurrenceStatus") || is_null($this->_propDict["activeOccurrenceStatus"])) { + return $this->_propDict["activeOccurrenceStatus"]; + } else { + $this->_propDict["activeOccurrenceStatus"] = new PermissionsRequestOccurrenceStatus($this->_propDict["activeOccurrenceStatus"]); + return $this->_propDict["activeOccurrenceStatus"]; + } + } + return null; + } + + /** + * Sets the activeOccurrenceStatus + * + * @param PermissionsRequestOccurrenceStatus $val The activeOccurrenceStatus + * + * @return PermissionsRequestChange + */ + public function setActiveOccurrenceStatus($val) + { + $this->_propDict["activeOccurrenceStatus"] = $val; + return $this; + } + + /** + * Gets the modificationDateTime + * + * @return \DateTime|null The modificationDateTime + */ + public function getModificationDateTime() + { + if (array_key_exists("modificationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["modificationDateTime"], "\DateTime") || is_null($this->_propDict["modificationDateTime"])) { + return $this->_propDict["modificationDateTime"]; + } else { + $this->_propDict["modificationDateTime"] = new \DateTime($this->_propDict["modificationDateTime"]); + return $this->_propDict["modificationDateTime"]; + } + } + return null; + } + + /** + * Sets the modificationDateTime + * + * @param \DateTime $val The modificationDateTime + * + * @return PermissionsRequestChange + */ + public function setModificationDateTime($val) + { + $this->_propDict["modificationDateTime"] = $val; + return $this; + } + + /** + * Gets the permissionsRequestId + * + * @return string|null The permissionsRequestId + */ + public function getPermissionsRequestId() + { + if (array_key_exists("permissionsRequestId", $this->_propDict)) { + return $this->_propDict["permissionsRequestId"]; + } else { + return null; + } + } + + /** + * Sets the permissionsRequestId + * + * @param string $val The permissionsRequestId + * + * @return PermissionsRequestChange + */ + public function setPermissionsRequestId($val) + { + $this->_propDict["permissionsRequestId"] = $val; + return $this; + } + + /** + * Gets the statusDetail + * + * @return StatusDetail|null The statusDetail + */ + public function getStatusDetail() + { + if (array_key_exists("statusDetail", $this->_propDict)) { + if (is_a($this->_propDict["statusDetail"], "\Beta\Microsoft\Graph\Model\StatusDetail") || is_null($this->_propDict["statusDetail"])) { + return $this->_propDict["statusDetail"]; + } else { + $this->_propDict["statusDetail"] = new StatusDetail($this->_propDict["statusDetail"]); + return $this->_propDict["statusDetail"]; + } + } + return null; + } + + /** + * Sets the statusDetail + * + * @param StatusDetail $val The statusDetail + * + * @return PermissionsRequestChange + */ + public function setStatusDetail($val) + { + $this->_propDict["statusDetail"] = $val; + return $this; + } + + /** + * Gets the ticketId + * + * @return string|null The ticketId + */ + public function getTicketId() + { + if (array_key_exists("ticketId", $this->_propDict)) { + return $this->_propDict["ticketId"]; + } else { + return null; + } + } + + /** + * Sets the ticketId + * + * @param string $val The ticketId + * + * @return PermissionsRequestChange + */ + public function setTicketId($val) + { + $this->_propDict["ticketId"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/PermissionsRequestOccurrenceStatus.php b/src/Beta/Microsoft/Graph/Model/PermissionsRequestOccurrenceStatus.php new file mode 100644 index 00000000000..db9c641c636 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/PermissionsRequestOccurrenceStatus.php @@ -0,0 +1,39 @@ +_propDict)) { + return $this->_propDict["parentProcessName"]; + } else { + return null; + } + } + + /** + * Sets the parentProcessName + * The name of parent process associated with the elevated process. This is always populated for both parent and child process types + * + * @param string $val The parentProcessName + * + * @return PrivilegeManagementElevation + */ + public function setParentProcessName($val) + { + $this->_propDict["parentProcessName"] = $val; + return $this; + } + + /** + * Gets the policyId + * Unique Identifier of the policy configured to run the application with elevated access + * + * @return string|null The policyId + */ + public function getPolicyId() + { + if (array_key_exists("policyId", $this->_propDict)) { + return $this->_propDict["policyId"]; + } else { + return null; + } + } + + /** + * Sets the policyId + * Unique Identifier of the policy configured to run the application with elevated access + * + * @param string $val The policyId + * + * @return PrivilegeManagementElevation + */ + public function setPolicyId($val) + { + $this->_propDict["policyId"] = $val; + return $this; + } + + /** + * Gets the policyName + * The name of the policy configured to run the application in elevated access + * + * @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 + * The name of the policy configured to run the application in elevated access + * + * @param string $val The policyName + * + * @return PrivilegeManagementElevation + */ + public function setPolicyName($val) + { + $this->_propDict["policyName"] = $val; + return $this; + } + + /** + * Gets the processType + * Indicates the type of process that is elevated. Possible values are `undefined`, `parent` and `child` + * + * @return PrivilegeManagementProcessType|null The processType + */ + public function getProcessType() + { + if (array_key_exists("processType", $this->_propDict)) { + if (is_a($this->_propDict["processType"], "\Beta\Microsoft\Graph\Model\PrivilegeManagementProcessType") || is_null($this->_propDict["processType"])) { + return $this->_propDict["processType"]; + } else { + $this->_propDict["processType"] = new PrivilegeManagementProcessType($this->_propDict["processType"]); + return $this->_propDict["processType"]; + } + } + return null; + } + + /** + * Sets the processType + * Indicates the type of process that is elevated. Possible values are `undefined`, `parent` and `child` + * + * @param PrivilegeManagementProcessType $val The processType + * + * @return PrivilegeManagementElevation + */ + public function setProcessType($val) + { + $this->_propDict["processType"] = $val; + return $this; + } + /** * Gets the productName * The product name of the application. This value is set by the creator of the application. Example: `Visual Studio` @@ -438,6 +558,35 @@ public function setResult($val) return $this; } + /** + * Gets the ruleId + * Unique identifier of the rule configured to run the application with elevated access + * + * @return string|null The ruleId + */ + public function getRuleId() + { + if (array_key_exists("ruleId", $this->_propDict)) { + return $this->_propDict["ruleId"]; + } else { + return null; + } + } + + /** + * Sets the ruleId + * Unique identifier of the rule configured to run the application with elevated access + * + * @param string $val The ruleId + * + * @return PrivilegeManagementElevation + */ + public function setRuleId($val) + { + $this->_propDict["ruleId"] = $val; + return $this; + } + /** * Gets the upn * The User Principal Name of the user who performed the elevation. Example: `john@domain.com` diff --git a/src/Beta/Microsoft/Graph/Model/PrivilegeManagementProcessType.php b/src/Beta/Microsoft/Graph/Model/PrivilegeManagementProcessType.php new file mode 100644 index 00000000000..ee686addbb2 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/PrivilegeManagementProcessType.php @@ -0,0 +1,36 @@ +_propDict)) { + return $this->_propDict["items"]; + } else { + return null; + } + } + + /** + * Sets the items + * List of the recycleBinItems deleted by a user. + * + * @param RecycleBinItem[] $val The items + * + * @return RecycleBin + */ + public function setItems($val) + { + $this->_propDict["items"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/RecycleBinItem.php b/src/Beta/Microsoft/Graph/Model/RecycleBinItem.php new file mode 100644 index 00000000000..6d3c7c7014a --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/RecycleBinItem.php @@ -0,0 +1,118 @@ +_propDict)) { + if (is_a($this->_propDict["deletedDateTime"], "\DateTime") || is_null($this->_propDict["deletedDateTime"])) { + return $this->_propDict["deletedDateTime"]; + } else { + $this->_propDict["deletedDateTime"] = new \DateTime($this->_propDict["deletedDateTime"]); + return $this->_propDict["deletedDateTime"]; + } + } + return null; + } + + /** + * Sets the deletedDateTime + * Date and time when the item was deleted. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The deletedDateTime + * + * @return RecycleBinItem + */ + public function setDeletedDateTime($val) + { + $this->_propDict["deletedDateTime"] = $val; + return $this; + } + + /** + * Gets the deletedFromLocation + * Relative URL of the list or folder that originally contained the item. + * + * @return string|null The deletedFromLocation + */ + public function getDeletedFromLocation() + { + if (array_key_exists("deletedFromLocation", $this->_propDict)) { + return $this->_propDict["deletedFromLocation"]; + } else { + return null; + } + } + + /** + * Sets the deletedFromLocation + * Relative URL of the list or folder that originally contained the item. + * + * @param string $val The deletedFromLocation + * + * @return RecycleBinItem + */ + public function setDeletedFromLocation($val) + { + $this->_propDict["deletedFromLocation"] = $val; + return $this; + } + + /** + * Gets the size + * Size of the item in bytes. + * + * @return int|null The size + */ + public function getSize() + { + if (array_key_exists("size", $this->_propDict)) { + return $this->_propDict["size"]; + } else { + return null; + } + } + + /** + * Sets the size + * Size of the item in bytes. + * + * @param int $val The size + * + * @return RecycleBinItem + */ + public function setSize($val) + { + $this->_propDict["size"] = intval($val); + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/RegistrationEnforcement.php b/src/Beta/Microsoft/Graph/Model/RegistrationEnforcement.php index 5a14e4dc42f..3e7600226ea 100644 --- a/src/Beta/Microsoft/Graph/Model/RegistrationEnforcement.php +++ b/src/Beta/Microsoft/Graph/Model/RegistrationEnforcement.php @@ -26,7 +26,7 @@ class RegistrationEnforcement extends Entity /** * Gets the authenticationMethodsRegistrationCampaign - * Run campaigns to remind users to setup targeted authentication methods. + * Run campaigns to remind users to set up targeted authentication methods. * * @return AuthenticationMethodsRegistrationCampaign|null The authenticationMethodsRegistrationCampaign */ @@ -45,7 +45,7 @@ public function getAuthenticationMethodsRegistrationCampaign() /** * Sets the authenticationMethodsRegistrationCampaign - * Run campaigns to remind users to setup targeted authentication methods. + * Run campaigns to remind users to set up targeted authentication methods. * * @param AuthenticationMethodsRegistrationCampaign $val The value to assign to the authenticationMethodsRegistrationCampaign * diff --git a/src/Beta/Microsoft/Graph/Model/RemoteDesktopSecurityConfiguration.php b/src/Beta/Microsoft/Graph/Model/RemoteDesktopSecurityConfiguration.php new file mode 100644 index 00000000000..e98a7c9a31d --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/RemoteDesktopSecurityConfiguration.php @@ -0,0 +1,82 @@ +_propDict)) { + return $this->_propDict["isRemoteDesktopProtocolEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isRemoteDesktopProtocolEnabled + * + * @param bool $val The isRemoteDesktopProtocolEnabled + * + * @return RemoteDesktopSecurityConfiguration + */ + public function setIsRemoteDesktopProtocolEnabled($val) + { + $this->_propDict["isRemoteDesktopProtocolEnabled"] = boolval($val); + return $this; + } + + + /** + * Gets the targetDeviceGroups + * + * @return array|null The targetDeviceGroups + */ + public function getTargetDeviceGroups() + { + if (array_key_exists("targetDeviceGroups", $this->_propDict)) { + return $this->_propDict["targetDeviceGroups"]; + } else { + return null; + } + } + + /** + * Sets the targetDeviceGroups + * + * @param TargetDeviceGroup[] $val The targetDeviceGroups + * + * @return RemoteDesktopSecurityConfiguration + */ + public function setTargetDeviceGroups($val) + { + $this->_propDict["targetDeviceGroups"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/ReportSuspiciousActivitySettings.php b/src/Beta/Microsoft/Graph/Model/ReportSuspiciousActivitySettings.php index 58d0ef9deb0..369b597653f 100644 --- a/src/Beta/Microsoft/Graph/Model/ReportSuspiciousActivitySettings.php +++ b/src/Beta/Microsoft/Graph/Model/ReportSuspiciousActivitySettings.php @@ -59,7 +59,7 @@ public function setIncludeTarget($val) /** * Gets the state - * Specifies the state of the reportSuspiciousActivitySettings object. The possible values are: default, enabled, disabled, unknownFutureValue. Setting to default will result in a disabled state. + * Specifies the state of the reportSuspiciousActivitySettings object. The possible values are: default, enabled, disabled, unknownFutureValue. Setting to default results in a disabled state. * * @return AdvancedConfigState|null The state */ @@ -78,7 +78,7 @@ public function getState() /** * Sets the state - * Specifies the state of the reportSuspiciousActivitySettings object. The possible values are: default, enabled, disabled, unknownFutureValue. Setting to default will result in a disabled state. + * Specifies the state of the reportSuspiciousActivitySettings object. The possible values are: default, enabled, disabled, unknownFutureValue. Setting to default results in a disabled state. * * @param AdvancedConfigState $val The value to assign to the state * @@ -91,7 +91,7 @@ public function setState($val) } /** * Gets the voiceReportingCode - * Specifies the number the user will enter on their phone to report the MFA prompt as suspicious. + * Specifies the number the user enters on their phone to report the MFA prompt as suspicious. * * @return int|null The voiceReportingCode */ @@ -106,7 +106,7 @@ public function getVoiceReportingCode() /** * Sets the voiceReportingCode - * Specifies the number the user will enter on their phone to report the MFA prompt as suspicious. + * Specifies the number the user enters on their phone to report the MFA prompt as suspicious. * * @param int $val The value of the voiceReportingCode * diff --git a/src/Beta/Microsoft/Graph/Model/RequestRemoteHelpSessionAccessResponse.php b/src/Beta/Microsoft/Graph/Model/RequestRemoteHelpSessionAccessResponse.php index 148057d5242..3fcca32a421 100644 --- a/src/Beta/Microsoft/Graph/Model/RequestRemoteHelpSessionAccessResponse.php +++ b/src/Beta/Microsoft/Graph/Model/RequestRemoteHelpSessionAccessResponse.php @@ -12,7 +12,6 @@ * @link https://graph.microsoft.com */ namespace Beta\Microsoft\Graph\Model; - /** * RequestRemoteHelpSessionAccessResponse class * @@ -22,39 +21,8 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class RequestRemoteHelpSessionAccessResponse implements \JsonSerializable +class RequestRemoteHelpSessionAccessResponse extends Entity { - /** - * The array of properties available - * to the model - * - * @var array $_propDict - */ - protected $_propDict; - - /** - * Construct a new RequestRemoteHelpSessionAccessResponse - * - * @param array $propDict A list of properties to set - */ - function __construct($propDict = array()) - { - if (!is_array($propDict)) { - $propDict = array(); - } - $this->_propDict = $propDict; - } - - /** - * Gets the property dictionary of the RequestRemoteHelpSessionAccessResponse - * - * @return array The list of properties - */ - public function getProperties() - { - return $this->_propDict; - } - /** * Gets the pubSubEncryption * AES encryption Initialization Vector for encrypting client messages sent to PubSub @@ -74,7 +42,7 @@ public function getPubSubEncryption() * Sets the pubSubEncryption * AES encryption Initialization Vector for encrypting client messages sent to PubSub * - * @param string $val The pubSubEncryption + * @param string $val The value of the pubSubEncryption * * @return RequestRemoteHelpSessionAccessResponse */ @@ -83,7 +51,6 @@ public function setPubSubEncryption($val) $this->_propDict["pubSubEncryption"] = $val; return $this; } - /** * Gets the pubSubEncryptionKey * The unique identifier for encrypting client messages sent to PubSub @@ -103,7 +70,7 @@ public function getPubSubEncryptionKey() * Sets the pubSubEncryptionKey * The unique identifier for encrypting client messages sent to PubSub * - * @param string $val The pubSubEncryptionKey + * @param string $val The value of the pubSubEncryptionKey * * @return RequestRemoteHelpSessionAccessResponse */ @@ -112,7 +79,6 @@ public function setPubSubEncryptionKey($val) $this->_propDict["pubSubEncryptionKey"] = $val; return $this; } - /** * Gets the sessionKey * The unique identifier for a session @@ -132,7 +98,7 @@ public function getSessionKey() * Sets the sessionKey * The unique identifier for a session * - * @param string $val The sessionKey + * @param string $val The value of the sessionKey * * @return RequestRemoteHelpSessionAccessResponse */ @@ -141,54 +107,4 @@ public function setSessionKey($val) $this->_propDict["sessionKey"] = $val; return $this; } - - /** - * Gets the ODataType - * - * @return string|null The ODataType - */ - public function getODataType() - { - if (array_key_exists('@odata.type', $this->_propDict)) { - return $this->_propDict["@odata.type"]; - } - return null; - } - - /** - * Sets the ODataType - * - * @param string $val The ODataType - * - * @return RequestRemoteHelpSessionAccessResponse - */ - public function setODataType($val) - { - $this->_propDict["@odata.type"] = $val; - return $this; - } - - /** - * Serializes the object by property array - * Manually serialize DateTime into RFC3339 format - * - * @return array The list of properties - */ - #[\ReturnTypeWillChange] - public function jsonSerialize() - { - $serializableProperties = $this->getProperties(); - foreach ($serializableProperties as $property => $val) { - if (is_a($val, "\DateTime")) { - $serializableProperties[$property] = $val->format(\DateTime::RFC3339); - } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { - $serializableProperties[$property] = $val->value(); - } else if (is_a($val, "\Entity")) { - $serializableProperties[$property] = $val->jsonSerialize(); - } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { - $serializableProperties[$property] = (string) $val; - } - } - return $serializableProperties; - } } diff --git a/src/Beta/Microsoft/Graph/Model/ResourceVisualization.php b/src/Beta/Microsoft/Graph/Model/ResourceVisualization.php index d5c592dc012..8ea8761166c 100644 --- a/src/Beta/Microsoft/Graph/Model/ResourceVisualization.php +++ b/src/Beta/Microsoft/Graph/Model/ResourceVisualization.php @@ -109,7 +109,7 @@ public function setContainerWebUrl($val) } /** * Gets the mediaType - * The item's media type. Can be used for filtering for a specific type of file based on supported IANA Media Mime Types. Note that not all Media Mime Types are supported. + * The item's media type. Can be used for filtering for a specific type of file based on supported IANA Media Mime Types. Not all Media Mime Types are supported. * * @return string|null The mediaType */ @@ -124,7 +124,7 @@ public function getMediaType() /** * Sets the mediaType - * The item's media type. Can be used for filtering for a specific type of file based on supported IANA Media Mime Types. Note that not all Media Mime Types are supported. + * The item's media type. Can be used for filtering for a specific type of file based on supported IANA Media Mime Types. Not all Media Mime Types are supported. * * @param string $val The value of the mediaType * @@ -221,7 +221,7 @@ public function setTitle($val) } /** * Gets the type - * The item's media type. Can be used for filtering for a specific file based on a specific type. See below for supported types. + * The item's media type. Can be used for filtering for a specific file based on a specific type. See the Type property values section, for supported types. * * @return string|null The type */ @@ -236,7 +236,7 @@ public function getType() /** * Sets the type - * The item's media type. Can be used for filtering for a specific file based on a specific type. See below for supported types. + * The item's media type. Can be used for filtering for a specific file based on a specific type. See the Type property values section, for supported types. * * @param string $val The value of the type * diff --git a/src/Beta/Microsoft/Graph/Model/RetrieveRemoteHelpSessionResponse.php b/src/Beta/Microsoft/Graph/Model/RetrieveRemoteHelpSessionResponse.php index aa02fa7d620..e0af074c7c3 100644 --- a/src/Beta/Microsoft/Graph/Model/RetrieveRemoteHelpSessionResponse.php +++ b/src/Beta/Microsoft/Graph/Model/RetrieveRemoteHelpSessionResponse.php @@ -12,7 +12,6 @@ * @link https://graph.microsoft.com */ namespace Beta\Microsoft\Graph\Model; - /** * RetrieveRemoteHelpSessionResponse class * @@ -22,39 +21,8 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class RetrieveRemoteHelpSessionResponse implements \JsonSerializable +class RetrieveRemoteHelpSessionResponse extends Entity { - /** - * The array of properties available - * to the model - * - * @var array $_propDict - */ - protected $_propDict; - - /** - * Construct a new RetrieveRemoteHelpSessionResponse - * - * @param array $propDict A list of properties to set - */ - function __construct($propDict = array()) - { - if (!is_array($propDict)) { - $propDict = array(); - } - $this->_propDict = $propDict; - } - - /** - * Gets the property dictionary of the RetrieveRemoteHelpSessionResponse - * - * @return array The list of properties - */ - public function getProperties() - { - return $this->_propDict; - } - /** * Gets the acsGroupId * ACS Group Id @@ -74,7 +42,7 @@ public function getAcsGroupId() * Sets the acsGroupId * ACS Group Id * - * @param string $val The acsGroupId + * @param string $val The value of the acsGroupId * * @return RetrieveRemoteHelpSessionResponse */ @@ -83,7 +51,6 @@ public function setAcsGroupId($val) $this->_propDict["acsGroupId"] = $val; return $this; } - /** * Gets the acsHelperUserId * Helper ACS User Id @@ -103,7 +70,7 @@ public function getAcsHelperUserId() * Sets the acsHelperUserId * Helper ACS User Id * - * @param string $val The acsHelperUserId + * @param string $val The value of the acsHelperUserId * * @return RetrieveRemoteHelpSessionResponse */ @@ -112,7 +79,6 @@ public function setAcsHelperUserId($val) $this->_propDict["acsHelperUserId"] = $val; return $this; } - /** * Gets the acsHelperUserToken * Helper ACS User Token @@ -132,7 +98,7 @@ public function getAcsHelperUserToken() * Sets the acsHelperUserToken * Helper ACS User Token * - * @param string $val The acsHelperUserToken + * @param string $val The value of the acsHelperUserToken * * @return RetrieveRemoteHelpSessionResponse */ @@ -141,7 +107,6 @@ public function setAcsHelperUserToken($val) $this->_propDict["acsHelperUserToken"] = $val; return $this; } - /** * Gets the acsSharerUserId * Sharer ACS User Id @@ -161,7 +126,7 @@ public function getAcsSharerUserId() * Sets the acsSharerUserId * Sharer ACS User Id * - * @param string $val The acsSharerUserId + * @param string $val The value of the acsSharerUserId * * @return RetrieveRemoteHelpSessionResponse */ @@ -170,7 +135,6 @@ public function setAcsSharerUserId($val) $this->_propDict["acsSharerUserId"] = $val; return $this; } - /** * Gets the deviceName * Android Device Name @@ -190,7 +154,7 @@ public function getDeviceName() * Sets the deviceName * Android Device Name * - * @param string $val The deviceName + * @param string $val The value of the deviceName * * @return RetrieveRemoteHelpSessionResponse */ @@ -199,7 +163,6 @@ public function setDeviceName($val) $this->_propDict["deviceName"] = $val; return $this; } - /** * Gets the pubSubGroupId * Azure Pubsub Group Id @@ -219,7 +182,7 @@ public function getPubSubGroupId() * Sets the pubSubGroupId * Azure Pubsub Group Id * - * @param string $val The pubSubGroupId + * @param string $val The value of the pubSubGroupId * * @return RetrieveRemoteHelpSessionResponse */ @@ -228,7 +191,6 @@ public function setPubSubGroupId($val) $this->_propDict["pubSubGroupId"] = $val; return $this; } - /** * Gets the pubSubHelperAccessUri * Azure Pubsub Group Id @@ -248,7 +210,7 @@ public function getPubSubHelperAccessUri() * Sets the pubSubHelperAccessUri * Azure Pubsub Group Id * - * @param string $val The pubSubHelperAccessUri + * @param string $val The value of the pubSubHelperAccessUri * * @return RetrieveRemoteHelpSessionResponse */ @@ -281,16 +243,15 @@ public function getSessionExpirationDateTime() * Sets the sessionExpirationDateTime * Azure Pubsub Session Expiration Date Time. * - * @param \DateTime $val The sessionExpirationDateTime + * @param \DateTime $val The value to assign to the sessionExpirationDateTime * - * @return RetrieveRemoteHelpSessionResponse + * @return RetrieveRemoteHelpSessionResponse The RetrieveRemoteHelpSessionResponse */ public function setSessionExpirationDateTime($val) { $this->_propDict["sessionExpirationDateTime"] = $val; - return $this; + return $this; } - /** * Gets the sessionKey * The unique identifier for a session @@ -310,7 +271,7 @@ public function getSessionKey() * Sets the sessionKey * The unique identifier for a session * - * @param string $val The sessionKey + * @param string $val The value of the sessionKey * * @return RetrieveRemoteHelpSessionResponse */ @@ -319,54 +280,4 @@ public function setSessionKey($val) $this->_propDict["sessionKey"] = $val; return $this; } - - /** - * Gets the ODataType - * - * @return string|null The ODataType - */ - public function getODataType() - { - if (array_key_exists('@odata.type', $this->_propDict)) { - return $this->_propDict["@odata.type"]; - } - return null; - } - - /** - * Sets the ODataType - * - * @param string $val The ODataType - * - * @return RetrieveRemoteHelpSessionResponse - */ - public function setODataType($val) - { - $this->_propDict["@odata.type"] = $val; - return $this; - } - - /** - * Serializes the object by property array - * Manually serialize DateTime into RFC3339 format - * - * @return array The list of properties - */ - #[\ReturnTypeWillChange] - public function jsonSerialize() - { - $serializableProperties = $this->getProperties(); - foreach ($serializableProperties as $property => $val) { - if (is_a($val, "\DateTime")) { - $serializableProperties[$property] = $val->format(\DateTime::RFC3339); - } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { - $serializableProperties[$property] = $val->value(); - } else if (is_a($val, "\Entity")) { - $serializableProperties[$property] = $val->jsonSerialize(); - } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { - $serializableProperties[$property] = (string) $val; - } - } - return $serializableProperties; - } } diff --git a/src/Beta/Microsoft/Graph/Model/RubricLevel.php b/src/Beta/Microsoft/Graph/Model/RubricLevel.php index db7b8f6748a..b776cd4be7b 100644 --- a/src/Beta/Microsoft/Graph/Model/RubricLevel.php +++ b/src/Beta/Microsoft/Graph/Model/RubricLevel.php @@ -87,7 +87,7 @@ public function setDisplayName($val) /** * Gets the grading - * Null if this is a no-points rubric; educationAssignmentPointsGradeType if it is a points rubric. + * Null if this is a no-points rubric; educationAssignmentPointsGradeType if it's a points rubric. * * @return EducationAssignmentGradeType|null The grading */ @@ -106,7 +106,7 @@ public function getGrading() /** * Sets the grading - * Null if this is a no-points rubric; educationAssignmentPointsGradeType if it is a points rubric. + * Null if this is a no-points rubric; educationAssignmentPointsGradeType if it's a points rubric. * * @param EducationAssignmentGradeType $val The value to assign to the grading * diff --git a/src/Beta/Microsoft/Graph/Model/SamlIdentitySource.php b/src/Beta/Microsoft/Graph/Model/SamlIdentitySource.php new file mode 100644 index 00000000000..55bce48656a --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/SamlIdentitySource.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.samlIdentitySource"); + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/ScheduledPermissionsRequest.php b/src/Beta/Microsoft/Graph/Model/ScheduledPermissionsRequest.php new file mode 100644 index 00000000000..8a1c626b772 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/ScheduledPermissionsRequest.php @@ -0,0 +1,236 @@ +_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return ScheduledPermissionsRequest + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the justification + * + * @return string|null The justification + */ + public function getJustification() + { + if (array_key_exists("justification", $this->_propDict)) { + return $this->_propDict["justification"]; + } else { + return null; + } + } + + /** + * Sets the justification + * + * @param string $val The justification + * + * @return ScheduledPermissionsRequest + */ + public function setJustification($val) + { + $this->_propDict["justification"] = $val; + return $this; + } + + /** + * Gets the notes + * + * @return string|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + return $this->_propDict["notes"]; + } else { + return null; + } + } + + /** + * Sets the notes + * + * @param string $val The notes + * + * @return ScheduledPermissionsRequest + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } + + /** + * Gets the requestedPermissions + * + * @return PermissionsDefinition|null The requestedPermissions + */ + public function getRequestedPermissions() + { + if (array_key_exists("requestedPermissions", $this->_propDict)) { + if (is_a($this->_propDict["requestedPermissions"], "\Beta\Microsoft\Graph\Model\PermissionsDefinition") || is_null($this->_propDict["requestedPermissions"])) { + return $this->_propDict["requestedPermissions"]; + } else { + $this->_propDict["requestedPermissions"] = new PermissionsDefinition($this->_propDict["requestedPermissions"]); + return $this->_propDict["requestedPermissions"]; + } + } + return null; + } + + /** + * Sets the requestedPermissions + * + * @param PermissionsDefinition $val The requestedPermissions + * + * @return ScheduledPermissionsRequest + */ + public function setRequestedPermissions($val) + { + $this->_propDict["requestedPermissions"] = $val; + return $this; + } + + /** + * Gets the scheduleInfo + * + * @return RequestSchedule|null The scheduleInfo + */ + public function getScheduleInfo() + { + if (array_key_exists("scheduleInfo", $this->_propDict)) { + if (is_a($this->_propDict["scheduleInfo"], "\Beta\Microsoft\Graph\Model\RequestSchedule") || is_null($this->_propDict["scheduleInfo"])) { + return $this->_propDict["scheduleInfo"]; + } else { + $this->_propDict["scheduleInfo"] = new RequestSchedule($this->_propDict["scheduleInfo"]); + return $this->_propDict["scheduleInfo"]; + } + } + return null; + } + + /** + * Sets the scheduleInfo + * + * @param RequestSchedule $val The scheduleInfo + * + * @return ScheduledPermissionsRequest + */ + public function setScheduleInfo($val) + { + $this->_propDict["scheduleInfo"] = $val; + return $this; + } + + /** + * Gets the statusDetail + * + * @return StatusDetail|null The statusDetail + */ + public function getStatusDetail() + { + if (array_key_exists("statusDetail", $this->_propDict)) { + if (is_a($this->_propDict["statusDetail"], "\Beta\Microsoft\Graph\Model\StatusDetail") || is_null($this->_propDict["statusDetail"])) { + return $this->_propDict["statusDetail"]; + } else { + $this->_propDict["statusDetail"] = new StatusDetail($this->_propDict["statusDetail"]); + return $this->_propDict["statusDetail"]; + } + } + return null; + } + + /** + * Sets the statusDetail + * + * @param StatusDetail $val The statusDetail + * + * @return ScheduledPermissionsRequest + */ + public function setStatusDetail($val) + { + $this->_propDict["statusDetail"] = $val; + return $this; + } + + /** + * Gets the ticketInfo + * + * @return TicketInfo|null The ticketInfo + */ + public function getTicketInfo() + { + if (array_key_exists("ticketInfo", $this->_propDict)) { + if (is_a($this->_propDict["ticketInfo"], "\Beta\Microsoft\Graph\Model\TicketInfo") || is_null($this->_propDict["ticketInfo"])) { + return $this->_propDict["ticketInfo"]; + } else { + $this->_propDict["ticketInfo"] = new TicketInfo($this->_propDict["ticketInfo"]); + return $this->_propDict["ticketInfo"]; + } + } + return null; + } + + /** + * Sets the ticketInfo + * + * @param TicketInfo $val The ticketInfo + * + * @return ScheduledPermissionsRequest + */ + public function setTicketInfo($val) + { + $this->_propDict["ticketInfo"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/ServiceHealth.php b/src/Beta/Microsoft/Graph/Model/ServiceHealth.php index 62a212e274d..2775e819242 100644 --- a/src/Beta/Microsoft/Graph/Model/ServiceHealth.php +++ b/src/Beta/Microsoft/Graph/Model/ServiceHealth.php @@ -55,7 +55,7 @@ public function setService($val) /** * Gets the status - * Show the overall service health status. Possible values are: serviceOperational, investigating, restoringService, verifyingService, serviceRestored, postIncidentReviewPublished, serviceDegradation, serviceInterruption, extendedRecovery, falsePositive, investigationSuspended, resolved, mitigatedExternal, mitigated, resolvedExternal, confirmed, reported, unknownFutureValue. For more details, see serviceHealthStatus values. + * Show the overall service health status. Possible values are: serviceOperational, investigating, restoringService, verifyingService, serviceRestored, postIncidentReviewPublished, serviceDegradation, serviceInterruption, extendedRecovery, falsePositive, investigationSuspended, resolved, mitigatedExternal, mitigated, resolvedExternal, confirmed, reported, unknownFutureValue. For more information, see serviceHealthStatus values. * * @return ServiceHealthStatus|null The status */ @@ -74,7 +74,7 @@ public function getStatus() /** * Sets the status - * Show the overall service health status. Possible values are: serviceOperational, investigating, restoringService, verifyingService, serviceRestored, postIncidentReviewPublished, serviceDegradation, serviceInterruption, extendedRecovery, falsePositive, investigationSuspended, resolved, mitigatedExternal, mitigated, resolvedExternal, confirmed, reported, unknownFutureValue. For more details, see serviceHealthStatus values. + * Show the overall service health status. Possible values are: serviceOperational, investigating, restoringService, verifyingService, serviceRestored, postIncidentReviewPublished, serviceDegradation, serviceInterruption, extendedRecovery, falsePositive, investigationSuspended, resolved, mitigatedExternal, mitigated, resolvedExternal, confirmed, reported, unknownFutureValue. For more information, see serviceHealthStatus values. * * @param ServiceHealthStatus $val The status * diff --git a/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php b/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php index e1ddbecf177..f28879f9084 100644 --- a/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php +++ b/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php @@ -1571,6 +1571,37 @@ public function setOwners($val) return $this; } + /** + * Gets the remoteDesktopSecurityConfiguration + * + * @return RemoteDesktopSecurityConfiguration|null The remoteDesktopSecurityConfiguration + */ + public function getRemoteDesktopSecurityConfiguration() + { + if (array_key_exists("remoteDesktopSecurityConfiguration", $this->_propDict)) { + if (is_a($this->_propDict["remoteDesktopSecurityConfiguration"], "\Beta\Microsoft\Graph\Model\RemoteDesktopSecurityConfiguration") || is_null($this->_propDict["remoteDesktopSecurityConfiguration"])) { + return $this->_propDict["remoteDesktopSecurityConfiguration"]; + } else { + $this->_propDict["remoteDesktopSecurityConfiguration"] = new RemoteDesktopSecurityConfiguration($this->_propDict["remoteDesktopSecurityConfiguration"]); + return $this->_propDict["remoteDesktopSecurityConfiguration"]; + } + } + return null; + } + + /** + * Sets the remoteDesktopSecurityConfiguration + * + * @param RemoteDesktopSecurityConfiguration $val The remoteDesktopSecurityConfiguration + * + * @return ServicePrincipal + */ + public function setRemoteDesktopSecurityConfiguration($val) + { + $this->_propDict["remoteDesktopSecurityConfiguration"] = $val; + return $this; + } + /** * Gets the tokenIssuancePolicies diff --git a/src/Beta/Microsoft/Graph/Model/ServiceProvisioningError.php b/src/Beta/Microsoft/Graph/Model/ServiceProvisioningError.php index ae0b0b59710..8785b67ee5b 100644 --- a/src/Beta/Microsoft/Graph/Model/ServiceProvisioningError.php +++ b/src/Beta/Microsoft/Graph/Model/ServiceProvisioningError.php @@ -86,7 +86,7 @@ public function setIsResolved($val) } /** * Gets the serviceInstance - * Qualified service instance (e.g., 'SharePoint/Dublin') that published the service error information. + * Qualified service instance (for example, 'SharePoint/Dublin') that published the service error information. * * @return string|null The serviceInstance */ @@ -101,7 +101,7 @@ public function getServiceInstance() /** * Sets the serviceInstance - * Qualified service instance (e.g., 'SharePoint/Dublin') that published the service error information. + * Qualified service instance (for example, 'SharePoint/Dublin') that published the service error information. * * @param string $val The value of the serviceInstance * diff --git a/src/Beta/Microsoft/Graph/Model/Shift.php b/src/Beta/Microsoft/Graph/Model/Shift.php index 06683b086c6..dd22cd26724 100644 --- a/src/Beta/Microsoft/Graph/Model/Shift.php +++ b/src/Beta/Microsoft/Graph/Model/Shift.php @@ -86,6 +86,7 @@ public function setIsStagedForDeletion($val) /** * Gets the schedulingGroupId + * ID of the scheduling group the shift is part of. Required. * * @return string|null The schedulingGroupId */ @@ -100,6 +101,7 @@ public function getSchedulingGroupId() /** * Sets the schedulingGroupId + * ID of the scheduling group the shift is part of. Required. * * @param string $val The schedulingGroupId * @@ -113,6 +115,7 @@ public function setSchedulingGroupId($val) /** * Gets the sharedShift + * The shared version of this shift that is viewable by both employees and managers. Required. * * @return ShiftItem|null The sharedShift */ @@ -131,6 +134,7 @@ public function getSharedShift() /** * Sets the sharedShift + * The shared version of this shift that is viewable by both employees and managers. Required. * * @param ShiftItem $val The sharedShift * @@ -144,6 +148,7 @@ public function setSharedShift($val) /** * Gets the userId + * ID of the user assigned to the shift. Required. * * @return string|null The userId */ @@ -158,6 +163,7 @@ public function getUserId() /** * Sets the userId + * ID of the user assigned to the shift. Required. * * @param string $val The userId * diff --git a/src/Beta/Microsoft/Graph/Model/ShiftWorkCloudPcAccessState.php b/src/Beta/Microsoft/Graph/Model/ShiftWorkCloudPcAccessState.php index 306e293d5f9..2d98713e98c 100644 --- a/src/Beta/Microsoft/Graph/Model/ShiftWorkCloudPcAccessState.php +++ b/src/Beta/Microsoft/Graph/Model/ShiftWorkCloudPcAccessState.php @@ -34,7 +34,6 @@ class ShiftWorkCloudPcAccessState extends Enum const ACTIVATION_FAILED = "activationFailed"; const ACTIVE = "active"; const ACTIVATING = "activating"; - const WAITLISTED = "waitlisted"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; const STANDBY_MODE = "standbyMode"; } diff --git a/src/Beta/Microsoft/Graph/Model/Simulation.php b/src/Beta/Microsoft/Graph/Model/Simulation.php index f670bf6bc8b..874d9f3a68a 100644 --- a/src/Beta/Microsoft/Graph/Model/Simulation.php +++ b/src/Beta/Microsoft/Graph/Model/Simulation.php @@ -26,7 +26,7 @@ class Simulation extends Entity { /** * Gets the attackTechnique - * The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue. For more information on the types of social engineering attack techniques, see simulations. + * The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. * * @return SimulationAttackTechnique|null The attackTechnique */ @@ -45,7 +45,7 @@ public function getAttackTechnique() /** * Sets the attackTechnique - * The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue. For more information on the types of social engineering attack techniques, see simulations. + * The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. * * @param SimulationAttackTechnique $val The attackTechnique * @@ -307,6 +307,7 @@ public function setDurationInDays($val) /** * Gets the endUserNotificationSetting + * Details about the end user notification setting. * * @return EndUserNotificationSetting|null The endUserNotificationSetting */ @@ -325,6 +326,7 @@ public function getEndUserNotificationSetting() /** * Sets the endUserNotificationSetting + * Details about the end user notification setting. * * @param EndUserNotificationSetting $val The endUserNotificationSetting * @@ -532,6 +534,7 @@ public function setLaunchDateTime($val) /** * Gets the oAuthConsentAppDetail + * OAuth app details for the OAuth technique. * * @return OAuthConsentAppDetail|null The oAuthConsentAppDetail */ @@ -550,6 +553,7 @@ public function getOAuthConsentAppDetail() /** * Sets the oAuthConsentAppDetail + * OAuth app details for the OAuth technique. * * @param OAuthConsentAppDetail $val The oAuthConsentAppDetail * @@ -662,6 +666,7 @@ public function setStatus($val) /** * Gets the trainingSetting + * Details about the training settings for a simulation. * * @return TrainingSetting|null The trainingSetting */ @@ -680,6 +685,7 @@ public function getTrainingSetting() /** * Sets the trainingSetting + * Details about the training settings for a simulation. * * @param TrainingSetting $val The trainingSetting * @@ -693,6 +699,7 @@ public function setTrainingSetting($val) /** * Gets the landingPage + * The landing page associated with a simulation during its creation. * * @return LandingPage|null The landingPage */ @@ -711,6 +718,7 @@ public function getLandingPage() /** * Sets the landingPage + * The landing page associated with a simulation during its creation. * * @param LandingPage $val The landingPage * @@ -724,6 +732,7 @@ public function setLandingPage($val) /** * Gets the loginPage + * The login page associated with a simulation during its creation. * * @return LoginPage|null The loginPage */ @@ -742,6 +751,7 @@ public function getLoginPage() /** * Sets the loginPage + * The login page associated with a simulation during its creation. * * @param LoginPage $val The loginPage * diff --git a/src/Beta/Microsoft/Graph/Model/SimulationNotification.php b/src/Beta/Microsoft/Graph/Model/SimulationNotification.php index a3c92763c28..fa483799458 100644 --- a/src/Beta/Microsoft/Graph/Model/SimulationNotification.php +++ b/src/Beta/Microsoft/Graph/Model/SimulationNotification.php @@ -26,6 +26,7 @@ class SimulationNotification extends BaseEndUserNotification /** * Gets the targettedUserType + * Target user type. Possible values are: unknown, clicked, compromised, allUsers, unknownFutureValue. * * @return TargettedUserType|null The targettedUserType */ @@ -44,6 +45,7 @@ public function getTargettedUserType() /** * Sets the targettedUserType + * Target user type. Possible values are: unknown, clicked, compromised, allUsers, unknownFutureValue. * * @param TargettedUserType $val The value to assign to the targettedUserType * diff --git a/src/Beta/Microsoft/Graph/Model/SingleResourceAzurePermissionsDefinition.php b/src/Beta/Microsoft/Graph/Model/SingleResourceAzurePermissionsDefinition.php new file mode 100644 index 00000000000..64ad280ff7d --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/SingleResourceAzurePermissionsDefinition.php @@ -0,0 +1,94 @@ +setODataType("#microsoft.graph.singleResourceAzurePermissionsDefinition"); + } + + + /** + * Gets the actionInfo + * + * @return AzurePermissionsDefinitionAction|null The actionInfo + */ + public function getActionInfo() + { + if (array_key_exists("actionInfo", $this->_propDict)) { + if (is_a($this->_propDict["actionInfo"], "\Beta\Microsoft\Graph\Model\AzurePermissionsDefinitionAction") || is_null($this->_propDict["actionInfo"])) { + return $this->_propDict["actionInfo"]; + } else { + $this->_propDict["actionInfo"] = new AzurePermissionsDefinitionAction($this->_propDict["actionInfo"]); + return $this->_propDict["actionInfo"]; + } + } + return null; + } + + /** + * Sets the actionInfo + * + * @param AzurePermissionsDefinitionAction $val The value to assign to the actionInfo + * + * @return SingleResourceAzurePermissionsDefinition The SingleResourceAzurePermissionsDefinition + */ + public function setActionInfo($val) + { + $this->_propDict["actionInfo"] = $val; + return $this; + } + /** + * Gets the resourceId + * + * @return string|null The resourceId + */ + public function getResourceId() + { + if (array_key_exists("resourceId", $this->_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * + * @param string $val The value of the resourceId + * + * @return SingleResourceAzurePermissionsDefinition + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/SingleResourceGcpPermissionsDefinition.php b/src/Beta/Microsoft/Graph/Model/SingleResourceGcpPermissionsDefinition.php new file mode 100644 index 00000000000..73ca68ad307 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/SingleResourceGcpPermissionsDefinition.php @@ -0,0 +1,94 @@ +setODataType("#microsoft.graph.singleResourceGcpPermissionsDefinition"); + } + + + /** + * Gets the actionInfo + * + * @return GcpPermissionsDefinitionAction|null The actionInfo + */ + public function getActionInfo() + { + if (array_key_exists("actionInfo", $this->_propDict)) { + if (is_a($this->_propDict["actionInfo"], "\Beta\Microsoft\Graph\Model\GcpPermissionsDefinitionAction") || is_null($this->_propDict["actionInfo"])) { + return $this->_propDict["actionInfo"]; + } else { + $this->_propDict["actionInfo"] = new GcpPermissionsDefinitionAction($this->_propDict["actionInfo"]); + return $this->_propDict["actionInfo"]; + } + } + return null; + } + + /** + * Sets the actionInfo + * + * @param GcpPermissionsDefinitionAction $val The value to assign to the actionInfo + * + * @return SingleResourceGcpPermissionsDefinition The SingleResourceGcpPermissionsDefinition + */ + public function setActionInfo($val) + { + $this->_propDict["actionInfo"] = $val; + return $this; + } + /** + * Gets the resourceId + * + * @return string|null The resourceId + */ + public function getResourceId() + { + if (array_key_exists("resourceId", $this->_propDict)) { + return $this->_propDict["resourceId"]; + } else { + return null; + } + } + + /** + * Sets the resourceId + * + * @param string $val The value of the resourceId + * + * @return SingleResourceGcpPermissionsDefinition + */ + public function setResourceId($val) + { + $this->_propDict["resourceId"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/Site.php b/src/Beta/Microsoft/Graph/Model/Site.php index 36d036c31f8..1c3dc6c0635 100644 --- a/src/Beta/Microsoft/Graph/Model/Site.php +++ b/src/Beta/Microsoft/Graph/Model/Site.php @@ -610,6 +610,39 @@ public function setPermissions($val) return $this; } + /** + * Gets the recycleBin + * The collection of recycleBinItems under this site. + * + * @return RecycleBin|null The recycleBin + */ + public function getRecycleBin() + { + if (array_key_exists("recycleBin", $this->_propDict)) { + if (is_a($this->_propDict["recycleBin"], "\Beta\Microsoft\Graph\Model\RecycleBin") || is_null($this->_propDict["recycleBin"])) { + return $this->_propDict["recycleBin"]; + } else { + $this->_propDict["recycleBin"] = new RecycleBin($this->_propDict["recycleBin"]); + return $this->_propDict["recycleBin"]; + } + } + return null; + } + + /** + * Sets the recycleBin + * The collection of recycleBinItems under this site. + * + * @param RecycleBin $val The recycleBin + * + * @return Site + */ + public function setRecycleBin($val) + { + $this->_propDict["recycleBin"] = $val; + return $this; + } + /** * Gets the sites diff --git a/src/Beta/Microsoft/Graph/Model/StaleSignInAlertConfiguration.php b/src/Beta/Microsoft/Graph/Model/StaleSignInAlertConfiguration.php index 0092858977d..e0cf1066a66 100644 --- a/src/Beta/Microsoft/Graph/Model/StaleSignInAlertConfiguration.php +++ b/src/Beta/Microsoft/Graph/Model/StaleSignInAlertConfiguration.php @@ -26,7 +26,7 @@ class StaleSignInAlertConfiguration extends UnifiedRoleManagementAlertConfigurat { /** * Gets the duration - * The number of days to look back from current timestamp within which the account has not signed in. + * The number of days to look back from current timestamp within which the account hasn't signed in. * * @return \DateInterval|null The duration */ @@ -45,7 +45,7 @@ public function getDuration() /** * Sets the duration - * The number of days to look back from current timestamp within which the account has not signed in. + * The number of days to look back from current timestamp within which the account hasn't signed in. * * @param \DateInterval $val The duration * diff --git a/src/Beta/Microsoft/Graph/Model/StatusDetail.php b/src/Beta/Microsoft/Graph/Model/StatusDetail.php new file mode 100644 index 00000000000..4f32fe863f6 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/StatusDetail.php @@ -0,0 +1,38 @@ +_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The displayName + * + * @return TargetDeviceGroup + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/TeamsAppDefinition.php b/src/Beta/Microsoft/Graph/Model/TeamsAppDefinition.php index 015fe4117a3..a2c5ba194c5 100644 --- a/src/Beta/Microsoft/Graph/Model/TeamsAppDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/TeamsAppDefinition.php @@ -26,7 +26,7 @@ class TeamsAppDefinition extends Entity { /** * Gets the allowedInstallationScopes - * A collection of scopes where the Teams app can be installed. Possible values are:team — Indicates that the Teams app can be installed within a team and is authorized to access that team's data. groupChat — Indicates that the Teams app can be installed within a group chat and is authorized to access that group chat's data. personal — Indicates that the Teams app can be installed in the personal scope of a user and is authorized to access that user's data. + * A collection of scopes where the Teams app can be installed. Possible values are:team—Indicates that the Teams app can be installed within a team and is authorized to access that team's data. groupChat—Indicates that the Teams app can be installed within a group chat and is authorized to access that group chat's data. personal—Indicates that the Teams app can be installed in the personal scope of a user and is authorized to access that user's data. * * @return TeamsAppInstallationScopes|null The allowedInstallationScopes */ @@ -45,7 +45,7 @@ public function getAllowedInstallationScopes() /** * Sets the allowedInstallationScopes - * A collection of scopes where the Teams app can be installed. Possible values are:team — Indicates that the Teams app can be installed within a team and is authorized to access that team's data. groupChat — Indicates that the Teams app can be installed within a group chat and is authorized to access that group chat's data. personal — Indicates that the Teams app can be installed in the personal scope of a user and is authorized to access that user's data. + * A collection of scopes where the Teams app can be installed. Possible values are:team—Indicates that the Teams app can be installed within a team and is authorized to access that team's data. groupChat—Indicates that the Teams app can be installed within a group chat and is authorized to access that group chat's data. personal—Indicates that the Teams app can be installed in the personal scope of a user and is authorized to access that user's data. * * @param TeamsAppInstallationScopes $val The allowedInstallationScopes * @@ -239,7 +239,7 @@ public function setLastModifiedDateTime($val) /** * Gets the publishingState - * The published status of a specific version of a Teams app. Possible values are:submitted — The specific version of the Teams app has been submitted and is under review. published — The request to publish the specific version of the Teams app has been approved by the admin and the app is published. rejected — The request to publish the specific version of the Teams app was rejected by the admin. + * The published status of a specific version of a Teams app. Possible values are:submitted—The specific version of the Teams app has been submitted and is under review. published—The request to publish the specific version of the Teams app has been approved by the admin and the app is published. rejected — The request to publish the specific version of the Teams app was rejected by the admin. * * @return TeamsAppPublishingState|null The publishingState */ @@ -258,7 +258,7 @@ public function getPublishingState() /** * Sets the publishingState - * The published status of a specific version of a Teams app. Possible values are:submitted — The specific version of the Teams app has been submitted and is under review. published — The request to publish the specific version of the Teams app has been approved by the admin and the app is published. rejected — The request to publish the specific version of the Teams app was rejected by the admin. + * The published status of a specific version of a Teams app. Possible values are:submitted—The specific version of the Teams app has been submitted and is under review. published—The request to publish the specific version of the Teams app has been approved by the admin and the app is published. rejected — The request to publish the specific version of the Teams app was rejected by the admin. * * @param TeamsAppPublishingState $val The publishingState * diff --git a/src/Beta/Microsoft/Graph/Model/TeamworkActivityTopic.php b/src/Beta/Microsoft/Graph/Model/TeamworkActivityTopic.php index 571e4dcd0d1..df81347b329 100644 --- a/src/Beta/Microsoft/Graph/Model/TeamworkActivityTopic.php +++ b/src/Beta/Microsoft/Graph/Model/TeamworkActivityTopic.php @@ -58,7 +58,7 @@ public function setSource($val) } /** * Gets the value - * The topic value. If the value of the source property is entityUrl, this must be a Microsoft Graph URL. If the vaule is text, this must be a plain text value. + * The topic value. If the value of the source property is entityUrl, this must be a Microsoft Graph URL. If the value is text, this must be a plain text value. * * @return string|null The value */ @@ -73,7 +73,7 @@ public function getValue() /** * Sets the value - * The topic value. If the value of the source property is entityUrl, this must be a Microsoft Graph URL. If the vaule is text, this must be a plain text value. + * The topic value. If the value of the source property is entityUrl, this must be a Microsoft Graph URL. If the value is text, this must be a plain text value. * * @param string $val The value of the value * diff --git a/src/Beta/Microsoft/Graph/Model/TeamworkTag.php b/src/Beta/Microsoft/Graph/Model/TeamworkTag.php index 1812763f620..63b1bfb6e57 100644 --- a/src/Beta/Microsoft/Graph/Model/TeamworkTag.php +++ b/src/Beta/Microsoft/Graph/Model/TeamworkTag.php @@ -26,7 +26,7 @@ class TeamworkTag extends Entity { /** * Gets the description - * Tag description as it will appear to the user in Microsoft Teams. A teamworkTag can't have more than 200 teamworkTagMembers. + * Tag description as it appears to the user in Microsoft Teams. A teamworkTag can't have more than 200 teamworkTagMembers. * * @return string|null The description */ @@ -41,7 +41,7 @@ public function getDescription() /** * Sets the description - * Tag description as it will appear to the user in Microsoft Teams. A teamworkTag can't have more than 200 teamworkTagMembers. + * Tag description as it appears to the user in Microsoft Teams. A teamworkTag can't have more than 200 teamworkTagMembers. * * @param string $val The description * @@ -55,7 +55,7 @@ public function setDescription($val) /** * Gets the displayName - * Tag name as it will appear to the user in Microsoft Teams. + * Tag name as it appears to the user in Microsoft Teams. * * @return string|null The displayName */ @@ -70,7 +70,7 @@ public function getDisplayName() /** * Sets the displayName - * Tag name as it will appear to the user in Microsoft Teams. + * Tag name as it appears to the user in Microsoft Teams. * * @param string $val The displayName * diff --git a/src/Beta/Microsoft/Graph/Model/TermsExpiration.php b/src/Beta/Microsoft/Graph/Model/TermsExpiration.php index 528711a858a..224c225d236 100644 --- a/src/Beta/Microsoft/Graph/Model/TermsExpiration.php +++ b/src/Beta/Microsoft/Graph/Model/TermsExpiration.php @@ -26,7 +26,7 @@ class TermsExpiration extends Entity /** * Gets the frequency - * Represents the frequency at which the terms will expire, after its first expiration as set in startDateTime. The value is represented in ISO 8601 format for durations. For example, PT1M represents a time period of 1 month. + * Represents the frequency at which the terms will expire, after its first expiration as set in startDateTime. The value is represented in ISO 8601 format for durations. For example, PT1M represents a time period of one month. * * @return \DateInterval|null The frequency */ @@ -45,7 +45,7 @@ public function getFrequency() /** * Sets the frequency - * Represents the frequency at which the terms will expire, after its first expiration as set in startDateTime. The value is represented in ISO 8601 format for durations. For example, PT1M represents a time period of 1 month. + * Represents the frequency at which the terms will expire, after its first expiration as set in startDateTime. The value is represented in ISO 8601 format for durations. For example, PT1M represents a time period of one month. * * @param \DateInterval $val The value to assign to the frequency * diff --git a/src/Beta/Microsoft/Graph/Model/TicketInfo.php b/src/Beta/Microsoft/Graph/Model/TicketInfo.php index 1013501d9b4..ffd05bbda4e 100644 --- a/src/Beta/Microsoft/Graph/Model/TicketInfo.php +++ b/src/Beta/Microsoft/Graph/Model/TicketInfo.php @@ -23,6 +23,32 @@ */ class TicketInfo extends Entity { + /** + * Gets the ticketApproverIdentityId + * + * @return string|null The ticketApproverIdentityId + */ + public function getTicketApproverIdentityId() + { + if (array_key_exists("ticketApproverIdentityId", $this->_propDict)) { + return $this->_propDict["ticketApproverIdentityId"]; + } else { + return null; + } + } + + /** + * Sets the ticketApproverIdentityId + * + * @param string $val The value of the ticketApproverIdentityId + * + * @return TicketInfo + */ + public function setTicketApproverIdentityId($val) + { + $this->_propDict["ticketApproverIdentityId"] = $val; + return $this; + } /** * Gets the ticketNumber * The ticket number. @@ -52,6 +78,32 @@ public function setTicketNumber($val) return $this; } /** + * Gets the ticketSubmitterIdentityId + * + * @return string|null The ticketSubmitterIdentityId + */ + public function getTicketSubmitterIdentityId() + { + if (array_key_exists("ticketSubmitterIdentityId", $this->_propDict)) { + return $this->_propDict["ticketSubmitterIdentityId"]; + } else { + return null; + } + } + + /** + * Sets the ticketSubmitterIdentityId + * + * @param string $val The value of the ticketSubmitterIdentityId + * + * @return TicketInfo + */ + public function setTicketSubmitterIdentityId($val) + { + $this->_propDict["ticketSubmitterIdentityId"] = $val; + return $this; + } + /** * Gets the ticketSystem * The description of the ticket system. * diff --git a/src/Beta/Microsoft/Graph/Model/Training.php b/src/Beta/Microsoft/Graph/Model/Training.php index c7a3d46a345..698706c1531 100644 --- a/src/Beta/Microsoft/Graph/Model/Training.php +++ b/src/Beta/Microsoft/Graph/Model/Training.php @@ -26,6 +26,7 @@ class Training extends Entity { /** * Gets the availabilityStatus + * Training availability status.Possible values are: unknown, notAvailable, available, archive, delete, unknownFutureValue. * * @return TrainingAvailabilityStatus|null The availabilityStatus */ @@ -44,6 +45,7 @@ public function getAvailabilityStatus() /** * Sets the availabilityStatus + * Training availability status.Possible values are: unknown, notAvailable, available, archive, delete, unknownFutureValue. * * @param TrainingAvailabilityStatus $val The availabilityStatus * @@ -57,6 +59,7 @@ public function setAvailabilityStatus($val) /** * Gets the createdBy + * Identity of the user who created the training. * * @return EmailIdentity|null The createdBy */ @@ -75,6 +78,7 @@ public function getCreatedBy() /** * Sets the createdBy + * Identity of the user who created the training. * * @param EmailIdentity $val The createdBy * @@ -88,6 +92,7 @@ public function setCreatedBy($val) /** * Gets the createdDateTime + * Date and time when the training was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @return \DateTime|null The createdDateTime */ @@ -106,6 +111,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime + * Date and time when the training was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The createdDateTime * @@ -119,6 +125,7 @@ public function setCreatedDateTime($val) /** * Gets the description + * The description for the training. * * @return string|null The description */ @@ -133,6 +140,7 @@ public function getDescription() /** * Sets the description + * The description for the training. * * @param string $val The description * @@ -146,6 +154,7 @@ public function setDescription($val) /** * Gets the displayName + * The display name for the training. * * @return string|null The displayName */ @@ -160,6 +169,7 @@ public function getDisplayName() /** * Sets the displayName + * The display name for the training. * * @param string $val The displayName * @@ -173,6 +183,7 @@ public function setDisplayName($val) /** * Gets the durationInMinutes + * Training duration. * * @return int|null The durationInMinutes */ @@ -187,6 +198,7 @@ public function getDurationInMinutes() /** * Sets the durationInMinutes + * Training duration. * * @param int $val The durationInMinutes * @@ -200,6 +212,7 @@ public function setDurationInMinutes($val) /** * Gets the hasEvaluation + * Indicates whether the training has any evaluation. * * @return bool|null The hasEvaluation */ @@ -214,6 +227,7 @@ public function getHasEvaluation() /** * Sets the hasEvaluation + * Indicates whether the training has any evaluation. * * @param bool $val The hasEvaluation * @@ -227,6 +241,7 @@ public function setHasEvaluation($val) /** * Gets the lastModifiedBy + * Identity of the user who last modified the training. * * @return EmailIdentity|null The lastModifiedBy */ @@ -245,6 +260,7 @@ public function getLastModifiedBy() /** * Sets the lastModifiedBy + * Identity of the user who last modified the training. * * @param EmailIdentity $val The lastModifiedBy * @@ -258,6 +274,7 @@ public function setLastModifiedBy($val) /** * Gets the lastModifiedDateTime + * Date and time when the training was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @return \DateTime|null The lastModifiedDateTime */ @@ -276,6 +293,7 @@ public function getLastModifiedDateTime() /** * Sets the lastModifiedDateTime + * Date and time when the training was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The lastModifiedDateTime * @@ -289,6 +307,7 @@ public function setLastModifiedDateTime($val) /** * Gets the source + * Training content source. Possible values are: unknown, global, tenant, unknownFutureValue. * * @return SimulationContentSource|null The source */ @@ -307,6 +326,7 @@ public function getSource() /** * Sets the source + * Training content source. Possible values are: unknown, global, tenant, unknownFutureValue. * * @param SimulationContentSource $val The source * @@ -320,6 +340,7 @@ public function setSource($val) /** * Gets the supportedLocales + * Supported locales for content for the associated training. * * @return array|null The supportedLocales */ @@ -334,6 +355,7 @@ public function getSupportedLocales() /** * Sets the supportedLocales + * Supported locales for content for the associated training. * * @param string[] $val The supportedLocales * @@ -347,6 +369,7 @@ public function setSupportedLocales($val) /** * Gets the tags + * Training tags. * * @return array|null The tags */ @@ -361,6 +384,7 @@ public function getTags() /** * Sets the tags + * Training tags. * * @param string[] $val The tags * @@ -374,6 +398,7 @@ public function setTags($val) /** * Gets the type + * The type of training. Possible values are: unknown, phishing, unknownFutureValue. * * @return TrainingType|null The type */ @@ -392,6 +417,7 @@ public function getType() /** * Sets the type + * The type of training. Possible values are: unknown, phishing, unknownFutureValue. * * @param TrainingType $val The type * @@ -406,6 +432,7 @@ public function setType($val) /** * Gets the languageDetails + * Language specific details on a training. * * @return array|null The languageDetails */ @@ -420,6 +447,7 @@ public function getLanguageDetails() /** * Sets the languageDetails + * Language specific details on a training. * * @param TrainingLanguageDetail[] $val The languageDetails * diff --git a/src/Beta/Microsoft/Graph/Model/TrainingLanguageDetail.php b/src/Beta/Microsoft/Graph/Model/TrainingLanguageDetail.php index f44425530a7..744d73ce092 100644 --- a/src/Beta/Microsoft/Graph/Model/TrainingLanguageDetail.php +++ b/src/Beta/Microsoft/Graph/Model/TrainingLanguageDetail.php @@ -26,6 +26,7 @@ class TrainingLanguageDetail extends Entity { /** * Gets the content + * Language specific content for the training. * * @return string|null The content */ @@ -40,6 +41,7 @@ public function getContent() /** * Sets the content + * Language specific content for the training. * * @param string $val The content * @@ -53,6 +55,7 @@ public function setContent($val) /** * Gets the createdBy + * Identity of the user who created the language details. * * @return EmailIdentity|null The createdBy */ @@ -71,6 +74,7 @@ public function getCreatedBy() /** * Sets the createdBy + * Identity of the user who created the language details. * * @param EmailIdentity $val The createdBy * @@ -84,6 +88,7 @@ public function setCreatedBy($val) /** * Gets the createdDateTime + * Date and time when the language details were created. * * @return \DateTime|null The createdDateTime */ @@ -102,6 +107,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime + * Date and time when the language details were created. * * @param \DateTime $val The createdDateTime * @@ -115,6 +121,7 @@ public function setCreatedDateTime($val) /** * Gets the description + * Description as defined by the user. * * @return string|null The description */ @@ -129,6 +136,7 @@ public function getDescription() /** * Sets the description + * Description as defined by the user. * * @param string $val The description * @@ -142,6 +150,7 @@ public function setDescription($val) /** * Gets the displayName + * Display name as defined by the user. * * @return string|null The displayName */ @@ -156,6 +165,7 @@ public function getDisplayName() /** * Sets the displayName + * Display name as defined by the user. * * @param string $val The displayName * @@ -169,6 +179,7 @@ public function setDisplayName($val) /** * Gets the isDefaultLangauge + * Indicates whether the training has a default language. * * @return bool|null The isDefaultLangauge */ @@ -183,6 +194,7 @@ public function getIsDefaultLangauge() /** * Sets the isDefaultLangauge + * Indicates whether the training has a default language. * * @param bool $val The isDefaultLangauge * @@ -196,6 +208,7 @@ public function setIsDefaultLangauge($val) /** * Gets the lastModifiedBy + * Identity of the user who last modified the details. * * @return EmailIdentity|null The lastModifiedBy */ @@ -214,6 +227,7 @@ public function getLastModifiedBy() /** * Sets the lastModifiedBy + * Identity of the user who last modified the details. * * @param EmailIdentity $val The lastModifiedBy * @@ -227,6 +241,7 @@ public function setLastModifiedBy($val) /** * Gets the lastModifiedDateTime + * Date and time when the trainingLanguageDetail was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @return \DateTime|null The lastModifiedDateTime */ @@ -245,6 +260,7 @@ public function getLastModifiedDateTime() /** * Sets the lastModifiedDateTime + * Date and time when the trainingLanguageDetail was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The lastModifiedDateTime * @@ -258,6 +274,7 @@ public function setLastModifiedDateTime($val) /** * Gets the locale + * Content locale for the training detail. * * @return string|null The locale */ @@ -272,6 +289,7 @@ public function getLocale() /** * Sets the locale + * Content locale for the training detail. * * @param string $val The locale * diff --git a/src/Beta/Microsoft/Graph/Model/TrainingNotificationSetting.php b/src/Beta/Microsoft/Graph/Model/TrainingNotificationSetting.php index 64ccaa6b5e2..b9703612d99 100644 --- a/src/Beta/Microsoft/Graph/Model/TrainingNotificationSetting.php +++ b/src/Beta/Microsoft/Graph/Model/TrainingNotificationSetting.php @@ -26,6 +26,7 @@ class TrainingNotificationSetting extends EndUserNotificationSetting /** * Gets the trainingAssignment + * Training assignment details. * * @return BaseEndUserNotification|null The trainingAssignment */ @@ -44,6 +45,7 @@ public function getTrainingAssignment() /** * Sets the trainingAssignment + * Training assignment details. * * @param BaseEndUserNotification $val The value to assign to the trainingAssignment * @@ -57,6 +59,7 @@ public function setTrainingAssignment($val) /** * Gets the trainingReminder + * Training reminder details. * * @return TrainingReminderNotification|null The trainingReminder */ @@ -75,6 +78,7 @@ public function getTrainingReminder() /** * Sets the trainingReminder + * Training reminder details. * * @param TrainingReminderNotification $val The value to assign to the trainingReminder * diff --git a/src/Beta/Microsoft/Graph/Model/TrainingReminderNotification.php b/src/Beta/Microsoft/Graph/Model/TrainingReminderNotification.php index fc0b3e8b2cc..27a292fae05 100644 --- a/src/Beta/Microsoft/Graph/Model/TrainingReminderNotification.php +++ b/src/Beta/Microsoft/Graph/Model/TrainingReminderNotification.php @@ -26,6 +26,7 @@ class TrainingReminderNotification extends BaseEndUserNotification /** * Gets the deliveryFrequency + * Configurable frequency for the reminder email introduced during simulation creation. Possible values are: unknown, weekly, biWeekly, unknownFutureValue. * * @return NotificationDeliveryFrequency|null The deliveryFrequency */ @@ -44,6 +45,7 @@ public function getDeliveryFrequency() /** * Sets the deliveryFrequency + * Configurable frequency for the reminder email introduced during simulation creation. Possible values are: unknown, weekly, biWeekly, unknownFutureValue. * * @param NotificationDeliveryFrequency $val The value to assign to the deliveryFrequency * diff --git a/src/Beta/Microsoft/Graph/Model/TrainingSetting.php b/src/Beta/Microsoft/Graph/Model/TrainingSetting.php index b675afbb288..39994216fec 100644 --- a/src/Beta/Microsoft/Graph/Model/TrainingSetting.php +++ b/src/Beta/Microsoft/Graph/Model/TrainingSetting.php @@ -26,6 +26,7 @@ class TrainingSetting extends Entity /** * Gets the settingType + * Type of setting. Possible values are: microsoftCustom, microsoftManaged, noTraining, custom, unknownFutureValue. * * @return TrainingSettingType|null The settingType */ @@ -44,6 +45,7 @@ public function getSettingType() /** * Sets the settingType + * Type of setting. Possible values are: microsoftCustom, microsoftManaged, noTraining, custom, unknownFutureValue. * * @param TrainingSettingType $val The value to assign to the settingType * diff --git a/src/Beta/Microsoft/Graph/Model/TrustedCertificateAuthorityAsEntityBase.php b/src/Beta/Microsoft/Graph/Model/TrustedCertificateAuthorityAsEntityBase.php index d0ec4d8774d..f8f008dfae6 100644 --- a/src/Beta/Microsoft/Graph/Model/TrustedCertificateAuthorityAsEntityBase.php +++ b/src/Beta/Microsoft/Graph/Model/TrustedCertificateAuthorityAsEntityBase.php @@ -27,6 +27,7 @@ class TrustedCertificateAuthorityAsEntityBase extends DirectoryObject /** * Gets the trustedCertificateAuthorities + * Collection of trusted certificate authorities. * * @return array|null The trustedCertificateAuthorities */ @@ -41,6 +42,7 @@ public function getTrustedCertificateAuthorities() /** * Sets the trustedCertificateAuthorities + * Collection of trusted certificate authorities. * * @param CertificateAuthorityAsEntity[] $val The trustedCertificateAuthorities * diff --git a/src/Beta/Microsoft/Graph/Model/UnknownSource.php b/src/Beta/Microsoft/Graph/Model/UnknownSource.php new file mode 100644 index 00000000000..15c620c9328 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/UnknownSource.php @@ -0,0 +1,26 @@ +_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\AccountTargetContentType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new AccountTargetContentType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * + * @param AccountTargetContentType $val The value to assign to the type + * + * @return AccountTargetContent The AccountTargetContent + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/src/Model/AccountTargetContentType.php b/src/Model/AccountTargetContentType.php new file mode 100644 index 00000000000..87c3e6b6618 --- /dev/null +++ b/src/Model/AccountTargetContentType.php @@ -0,0 +1,36 @@ +setODataType("#microsoft.graph.addressBookAccountTargetContent"); + } + + /** + * Gets the accountTargetEmails + * + * @return string|null The accountTargetEmails + */ + public function getAccountTargetEmails() + { + if (array_key_exists("accountTargetEmails", $this->_propDict)) { + return $this->_propDict["accountTargetEmails"]; + } else { + return null; + } + } + + /** + * Sets the accountTargetEmails + * + * @param string $val The value of the accountTargetEmails + * + * @return AddressBookAccountTargetContent + */ + public function setAccountTargetEmails($val) + { + $this->_propDict["accountTargetEmails"] = $val; + return $this; + } +} diff --git a/src/Model/AggregationOption.php b/src/Model/AggregationOption.php index f70891e192d..64c8bb344c5 100644 --- a/src/Model/AggregationOption.php +++ b/src/Model/AggregationOption.php @@ -86,7 +86,7 @@ public function setField($val) } /** * Gets the size - * The number of searchBucket resources to be returned. This is not required when the range is provided manually in the search request. Optional. + * The number of searchBucket resources to be returned. This isn't required when the range is provided manually in the search request. Optional. * * @return int|null The size */ @@ -101,7 +101,7 @@ public function getSize() /** * Sets the size - * The number of searchBucket resources to be returned. This is not required when the range is provided manually in the search request. Optional. + * The number of searchBucket resources to be returned. This isn't required when the range is provided manually in the search request. Optional. * * @param int $val The value of the size * diff --git a/src/Model/AllowedValue.php b/src/Model/AllowedValue.php index e92a15686cd..1b57742e116 100644 --- a/src/Model/AllowedValue.php +++ b/src/Model/AllowedValue.php @@ -26,7 +26,7 @@ class AllowedValue extends Entity { /** * Gets the isActive - * Indicates whether the predefined value is active or deactivated. If set to false, this predefined value cannot be assigned to any additional supported directory objects. + * Indicates whether the predefined value is active or deactivated. If set to false, this predefined value can't be assigned to any other supported directory objects. * * @return bool|null The isActive */ @@ -41,7 +41,7 @@ public function getIsActive() /** * Sets the isActive - * Indicates whether the predefined value is active or deactivated. If set to false, this predefined value cannot be assigned to any additional supported directory objects. + * Indicates whether the predefined value is active or deactivated. If set to false, this predefined value can't be assigned to any other supported directory objects. * * @param bool $val The isActive * diff --git a/src/Model/AppRole.php b/src/Model/AppRole.php index 65ab0977eac..97fcd9f5836 100644 --- a/src/Model/AppRole.php +++ b/src/Model/AppRole.php @@ -193,7 +193,7 @@ public function setOrigin($val) } /** * Gets the value - * Specifies the value to include in the roles claim in ID tokens and access tokens authenticating an assigned user or service principal. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, as well as characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, are not allowed. May not begin with .. + * Specifies the value to include in the roles claim in ID tokens and access tokens authenticating an assigned user or service principal. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, and characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, aren't allowed. May not begin with .. * * @return string|null The value */ @@ -208,7 +208,7 @@ public function getValue() /** * Sets the value - * Specifies the value to include in the roles claim in ID tokens and access tokens authenticating an assigned user or service principal. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, as well as characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, are not allowed. May not begin with .. + * Specifies the value to include in the roles claim in ID tokens and access tokens authenticating an assigned user or service principal. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, and characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, aren't allowed. May not begin with .. * * @param string $val The value of the value * diff --git a/src/Model/AppliedConditionalAccessPolicy.php b/src/Model/AppliedConditionalAccessPolicy.php index fa5ecfc83c4..92999676b9f 100644 --- a/src/Model/AppliedConditionalAccessPolicy.php +++ b/src/Model/AppliedConditionalAccessPolicy.php @@ -53,7 +53,7 @@ public function setDisplayName($val) } /** * Gets the enforcedGrantControls - * Refers to the grant controls enforced by the conditional access policy (example: 'Require multi-factor authentication'). + * Refers to the grant controls enforced by the conditional access policy (example: 'Require multifactor authentication'). * * @return string|null The enforcedGrantControls */ @@ -68,7 +68,7 @@ public function getEnforcedGrantControls() /** * Sets the enforcedGrantControls - * Refers to the grant controls enforced by the conditional access policy (example: 'Require multi-factor authentication'). + * Refers to the grant controls enforced by the conditional access policy (example: 'Require multifactor authentication'). * * @param string $val The value of the enforcedGrantControls * diff --git a/src/Model/AttachmentInfo.php b/src/Model/AttachmentInfo.php index c88100080b5..54bab94784f 100644 --- a/src/Model/AttachmentInfo.php +++ b/src/Model/AttachmentInfo.php @@ -86,7 +86,7 @@ public function setContentType($val) } /** * Gets the name - * The display name of the attachment. This can be a descriptive string and does not have to be the actual file name. Required. + * The display name of the attachment. This can be a descriptive string and doesn't have to be the actual file name. Required. * * @return string|null The name */ @@ -101,7 +101,7 @@ public function getName() /** * Sets the name - * The display name of the attachment. This can be a descriptive string and does not have to be the actual file name. Required. + * The display name of the attachment. This can be a descriptive string and doesn't have to be the actual file name. Required. * * @param string $val The value of the name * diff --git a/src/Model/AttachmentItem.php b/src/Model/AttachmentItem.php index 98b9a1100d5..d949a861dcd 100644 --- a/src/Model/AttachmentItem.php +++ b/src/Model/AttachmentItem.php @@ -58,7 +58,7 @@ public function setAttachmentType($val) } /** * Gets the contentId - * The CID or Content-Id of the attachment for referencing in case of in-line attachments using <img src='cid:contentId'> tag in HTML messages. Optional. + * The CID or Content-Id of the attachment for referencing for the in-line attachments using the <img src='cid:contentId'> tag in HTML messages. Optional. * * @return string|null The contentId */ @@ -73,7 +73,7 @@ public function getContentId() /** * Sets the contentId - * The CID or Content-Id of the attachment for referencing in case of in-line attachments using <img src='cid:contentId'> tag in HTML messages. Optional. + * The CID or Content-Id of the attachment for referencing for the in-line attachments using the <img src='cid:contentId'> tag in HTML messages. Optional. * * @param string $val The value of the contentId * @@ -142,7 +142,7 @@ public function setIsInline($val) } /** * Gets the name - * The display name of the attachment. This can be a descriptive string and does not have to be the actual file name. Required. + * The display name of the attachment. This can be a descriptive string and doesn't have to be the actual file name. Required. * * @return string|null The name */ @@ -157,7 +157,7 @@ public function getName() /** * Sets the name - * The display name of the attachment. This can be a descriptive string and does not have to be the actual file name. Required. + * The display name of the attachment. This can be a descriptive string and doesn't have to be the actual file name. Required. * * @param string $val The value of the name * diff --git a/src/Model/AttackSimulationOperation.php b/src/Model/AttackSimulationOperation.php new file mode 100644 index 00000000000..6834a542e94 --- /dev/null +++ b/src/Model/AttackSimulationOperation.php @@ -0,0 +1,112 @@ +_propDict)) { + return $this->_propDict["percentageCompleted"]; + } else { + return null; + } + } + + /** + * Sets the percentageCompleted + * + * @param int $val The percentageCompleted + * + * @return AttackSimulationOperation + */ + public function setPercentageCompleted($val) + { + $this->_propDict["percentageCompleted"] = intval($val); + return $this; + } + + /** + * Gets the tenantId + * + * @return string|null The tenantId + */ + public function getTenantId() + { + if (array_key_exists("tenantId", $this->_propDict)) { + return $this->_propDict["tenantId"]; + } else { + return null; + } + } + + /** + * Sets the tenantId + * + * @param string $val The tenantId + * + * @return AttackSimulationOperation + */ + public function setTenantId($val) + { + $this->_propDict["tenantId"] = $val; + return $this; + } + + /** + * Gets the type + * + * @return AttackSimulationOperationType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\AttackSimulationOperationType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new AttackSimulationOperationType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * + * @param AttackSimulationOperationType $val The type + * + * @return AttackSimulationOperation + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + +} diff --git a/src/Model/AttackSimulationOperationType.php b/src/Model/AttackSimulationOperationType.php new file mode 100644 index 00000000000..a3befb7911c --- /dev/null +++ b/src/Model/AttackSimulationOperationType.php @@ -0,0 +1,35 @@ +_propDict)) { + return $this->_propDict["endUserNotifications"]; + } else { + return null; + } + } + + /** + * Sets the endUserNotifications + * + * @param EndUserNotification[] $val The endUserNotifications + * + * @return AttackSimulationRoot + */ + public function setEndUserNotifications($val) + { + $this->_propDict["endUserNotifications"] = $val; + return $this; + } + + + /** + * Gets the landingPages + * + * @return array|null The landingPages + */ + public function getLandingPages() + { + if (array_key_exists("landingPages", $this->_propDict)) { + return $this->_propDict["landingPages"]; + } else { + return null; + } + } + + /** + * Sets the landingPages + * + * @param LandingPage[] $val The landingPages + * + * @return AttackSimulationRoot + */ + public function setLandingPages($val) + { + $this->_propDict["landingPages"] = $val; + return $this; + } + + + /** + * Gets the loginPages + * + * @return array|null The loginPages + */ + public function getLoginPages() + { + if (array_key_exists("loginPages", $this->_propDict)) { + return $this->_propDict["loginPages"]; + } else { + return null; + } + } + + /** + * Sets the loginPages + * + * @param LoginPage[] $val The loginPages + * + * @return AttackSimulationRoot + */ + public function setLoginPages($val) + { + $this->_propDict["loginPages"] = $val; + return $this; + } + + + /** + * Gets the operations + * + * @return array|null The operations + */ + public function getOperations() + { + if (array_key_exists("operations", $this->_propDict)) { + return $this->_propDict["operations"]; + } else { + return null; + } + } + + /** + * Sets the operations + * + * @param AttackSimulationOperation[] $val The operations + * + * @return AttackSimulationRoot + */ + public function setOperations($val) + { + $this->_propDict["operations"] = $val; + return $this; + } + + + /** + * Gets the payloads + * + * @return array|null The payloads + */ + public function getPayloads() + { + if (array_key_exists("payloads", $this->_propDict)) { + return $this->_propDict["payloads"]; + } else { + return null; + } + } + + /** + * Sets the payloads + * + * @param Payload[] $val The payloads + * + * @return AttackSimulationRoot + */ + public function setPayloads($val) + { + $this->_propDict["payloads"] = $val; + return $this; + } + + /** * Gets the simulationAutomations * Represents simulation automation created to run on a tenant. @@ -84,4 +224,32 @@ public function setSimulations($val) return $this; } + + /** + * Gets the trainings + * + * @return array|null The trainings + */ + public function getTrainings() + { + if (array_key_exists("trainings", $this->_propDict)) { + return $this->_propDict["trainings"]; + } else { + return null; + } + } + + /** + * Sets the trainings + * + * @param Training[] $val The trainings + * + * @return AttackSimulationRoot + */ + public function setTrainings($val) + { + $this->_propDict["trainings"] = $val; + return $this; + } + } diff --git a/src/Model/AuthenticationMethodsRoot.php b/src/Model/AuthenticationMethodsRoot.php index 9d8eafa74ad..40148ac95b6 100644 --- a/src/Model/AuthenticationMethodsRoot.php +++ b/src/Model/AuthenticationMethodsRoot.php @@ -27,7 +27,7 @@ class AuthenticationMethodsRoot extends Entity /** * Gets the userRegistrationDetails - * Represents the state of a user's authentication methods, including which methods are registered and which features the user is registered and capable of (such as multi-factor authentication, self-service password reset, and passwordless authentication). + * Represents the state of a user's authentication methods, including which methods are registered and which features the user is registered and capable of (such as multifactor authentication, self-service password reset, and passwordless authentication). * * @return array|null The userRegistrationDetails */ @@ -42,7 +42,7 @@ public function getUserRegistrationDetails() /** * Sets the userRegistrationDetails - * Represents the state of a user's authentication methods, including which methods are registered and which features the user is registered and capable of (such as multi-factor authentication, self-service password reset, and passwordless authentication). + * Represents the state of a user's authentication methods, including which methods are registered and which features the user is registered and capable of (such as multifactor authentication, self-service password reset, and passwordless authentication). * * @param UserRegistrationDetails[] $val The userRegistrationDetails * diff --git a/src/Model/AvailabilityItem.php b/src/Model/AvailabilityItem.php index 2db9170c11a..2a984aa4436 100644 --- a/src/Model/AvailabilityItem.php +++ b/src/Model/AvailabilityItem.php @@ -58,7 +58,7 @@ public function setEndDateTime($val) } /** * Gets the serviceId - * Indicates the service ID in case of 1:n appointments. If the appointment is of type 1:n, this field will be present, otherwise, null. + * Indicates the service ID for 1:n appointments. If the appointment is of type 1:n, this field is present, otherwise, null. * * @return string|null The serviceId */ @@ -73,7 +73,7 @@ public function getServiceId() /** * Sets the serviceId - * Indicates the service ID in case of 1:n appointments. If the appointment is of type 1:n, this field will be present, otherwise, null. + * Indicates the service ID for 1:n appointments. If the appointment is of type 1:n, this field is present, otherwise, null. * * @param string $val The value of the serviceId * diff --git a/src/Model/BaseEndUserNotification.php b/src/Model/BaseEndUserNotification.php new file mode 100644 index 00000000000..ec1c6525706 --- /dev/null +++ b/src/Model/BaseEndUserNotification.php @@ -0,0 +1,83 @@ +_propDict)) { + return $this->_propDict["defaultLanguage"]; + } else { + return null; + } + } + + /** + * Sets the defaultLanguage + * + * @param string $val The value of the defaultLanguage + * + * @return BaseEndUserNotification + */ + public function setDefaultLanguage($val) + { + $this->_propDict["defaultLanguage"] = $val; + return $this; + } + + /** + * Gets the endUserNotification + * + * @return EndUserNotification|null The endUserNotification + */ + public function getEndUserNotification() + { + if (array_key_exists("endUserNotification", $this->_propDict)) { + if (is_a($this->_propDict["endUserNotification"], "\Microsoft\Graph\Model\EndUserNotification") || is_null($this->_propDict["endUserNotification"])) { + return $this->_propDict["endUserNotification"]; + } else { + $this->_propDict["endUserNotification"] = new EndUserNotification($this->_propDict["endUserNotification"]); + return $this->_propDict["endUserNotification"]; + } + } + return null; + } + + /** + * Sets the endUserNotification + * + * @param EndUserNotification $val The value to assign to the endUserNotification + * + * @return BaseEndUserNotification The BaseEndUserNotification + */ + public function setEndUserNotification($val) + { + $this->_propDict["endUserNotification"] = $val; + return $this; + } +} diff --git a/src/Model/BookingAppointment.php b/src/Model/BookingAppointment.php index 77878db59d4..5e461a47283 100644 --- a/src/Model/BookingAppointment.php +++ b/src/Model/BookingAppointment.php @@ -85,7 +85,7 @@ public function setAnonymousJoinWebUrl($val) /** * Gets the customers - * A collection of customer properties for an appointment. An appointment will contain a list of customer information and each unit will indicate the properties of a customer who is part of that appointment. Optional. + * A collection of customer properties for an appointment. An appointment contains a list of customer information and each unit will indicate the properties of a customer who is part of that appointment. Optional. * * @return array|null The customers */ @@ -100,7 +100,7 @@ public function getCustomers() /** * Sets the customers - * A collection of customer properties for an appointment. An appointment will contain a list of customer information and each unit will indicate the properties of a customer who is part of that appointment. Optional. + * A collection of customer properties for an appointment. An appointment contains a list of customer information and each unit will indicate the properties of a customer who is part of that appointment. Optional. * * @param BookingCustomerInformationBase[] $val The customers * @@ -325,7 +325,7 @@ public function setMaximumAttendeesCount($val) /** * Gets the optOutOfCustomerEmail - * If true indicates that the bookingCustomer for this appointment does not wish to receive a confirmation for this appointment. + * If true indicates that the bookingCustomer for this appointment doesn't wish to receive a confirmation for this appointment. * * @return bool|null The optOutOfCustomerEmail */ @@ -340,7 +340,7 @@ public function getOptOutOfCustomerEmail() /** * Sets the optOutOfCustomerEmail - * If true indicates that the bookingCustomer for this appointment does not wish to receive a confirmation for this appointment. + * If true indicates that the bookingCustomer for this appointment doesn't wish to receive a confirmation for this appointment. * * @param bool $val The optOutOfCustomerEmail * diff --git a/src/Model/BookingQuestionAssignment.php b/src/Model/BookingQuestionAssignment.php index 99e55d4e390..28c46ba86c4 100644 --- a/src/Model/BookingQuestionAssignment.php +++ b/src/Model/BookingQuestionAssignment.php @@ -53,7 +53,7 @@ public function setIsRequired($val) } /** * Gets the questionId - * Indicates whether it is mandatory to answer the custom question. + * Indicates whether it's mandatory to answer the custom question. * * @return string|null The questionId */ @@ -68,7 +68,7 @@ public function getQuestionId() /** * Sets the questionId - * Indicates whether it is mandatory to answer the custom question. + * Indicates whether it's mandatory to answer the custom question. * * @param string $val The value of the questionId * diff --git a/src/Model/Call.php b/src/Model/Call.php index 08a89b3a6c3..5085891d0c1 100644 --- a/src/Model/Call.php +++ b/src/Model/Call.php @@ -180,7 +180,7 @@ public function setChatInfo($val) /** * Gets the direction - * The direction of the call. The possible value are incoming or outgoing. Read-only. + * The direction of the call. The possible values are incoming or outgoing. Read-only. * * @return CallDirection|null The direction */ @@ -199,7 +199,7 @@ public function getDirection() /** * Sets the direction - * The direction of the call. The possible value are incoming or outgoing. Read-only. + * The direction of the call. The possible values are incoming or outgoing. Read-only. * * @param CallDirection $val The direction * @@ -402,7 +402,7 @@ public function setRequestedModalities($val) /** * Gets the resultInfo - * The result information. For example can hold termination reason. Read-only. + * The result information. For example, the result can hold termination reason. Read-only. * * @return ResultInfo|null The resultInfo */ @@ -421,7 +421,7 @@ public function getResultInfo() /** * Sets the resultInfo - * The result information. For example can hold termination reason. Read-only. + * The result information. For example, the result can hold termination reason. Read-only. * * @param ResultInfo $val The resultInfo * diff --git a/src/Model/CallTranscript.php b/src/Model/CallTranscript.php new file mode 100644 index 00000000000..8fd72472b8e --- /dev/null +++ b/src/Model/CallTranscript.php @@ -0,0 +1,217 @@ +_propDict)) { + if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["content"])) { + return $this->_propDict["content"]; + } else { + $this->_propDict["content"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["content"]); + return $this->_propDict["content"]; + } + } + return null; + } + + /** + * Sets the content + * The content of the transcript. Read-only. + * + * @param \GuzzleHttp\Psr7\Stream $val The content + * + * @return CallTranscript + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * Date and time at which the transcript was created. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + * + * @return \DateTime|null The 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 and time at which the transcript was created. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + * + * @param \DateTime $val The createdDateTime + * + * @return CallTranscript + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the meetingId + * The unique identifier of the online meeting related to this transcript. Read-only. + * + * @return string|null The meetingId + */ + public function getMeetingId() + { + if (array_key_exists("meetingId", $this->_propDict)) { + return $this->_propDict["meetingId"]; + } else { + return null; + } + } + + /** + * Sets the meetingId + * The unique identifier of the online meeting related to this transcript. Read-only. + * + * @param string $val The meetingId + * + * @return CallTranscript + */ + public function setMeetingId($val) + { + $this->_propDict["meetingId"] = $val; + return $this; + } + + /** + * Gets the meetingOrganizer + * The identity information of the organizer of the onlineMeeting related to this transcript. Read-only. + * + * @return IdentitySet|null The meetingOrganizer + */ + public function getMeetingOrganizer() + { + if (array_key_exists("meetingOrganizer", $this->_propDict)) { + if (is_a($this->_propDict["meetingOrganizer"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["meetingOrganizer"])) { + return $this->_propDict["meetingOrganizer"]; + } else { + $this->_propDict["meetingOrganizer"] = new IdentitySet($this->_propDict["meetingOrganizer"]); + return $this->_propDict["meetingOrganizer"]; + } + } + return null; + } + + /** + * Sets the meetingOrganizer + * The identity information of the organizer of the onlineMeeting related to this transcript. Read-only. + * + * @param IdentitySet $val The meetingOrganizer + * + * @return CallTranscript + */ + public function setMeetingOrganizer($val) + { + $this->_propDict["meetingOrganizer"] = $val; + return $this; + } + + /** + * Gets the metadataContent + * The time-aligned metadata of the utterances in the transcript. Read-only. + * + * @return \GuzzleHttp\Psr7\Stream|null The metadataContent + */ + public function getMetadataContent() + { + if (array_key_exists("metadataContent", $this->_propDict)) { + if (is_a($this->_propDict["metadataContent"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["metadataContent"])) { + return $this->_propDict["metadataContent"]; + } else { + $this->_propDict["metadataContent"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["metadataContent"]); + return $this->_propDict["metadataContent"]; + } + } + return null; + } + + /** + * Sets the metadataContent + * The time-aligned metadata of the utterances in the transcript. Read-only. + * + * @param \GuzzleHttp\Psr7\Stream $val The metadataContent + * + * @return CallTranscript + */ + public function setMetadataContent($val) + { + $this->_propDict["metadataContent"] = $val; + return $this; + } + + /** + * Gets the transcriptContentUrl + * The URL that can be used to access the content of the transcript. Read-only. + * + * @return string|null The transcriptContentUrl + */ + public function getTranscriptContentUrl() + { + if (array_key_exists("transcriptContentUrl", $this->_propDict)) { + return $this->_propDict["transcriptContentUrl"]; + } else { + return null; + } + } + + /** + * Sets the transcriptContentUrl + * The URL that can be used to access the content of the transcript. Read-only. + * + * @param string $val The transcriptContentUrl + * + * @return CallTranscript + */ + public function setTranscriptContentUrl($val) + { + $this->_propDict["transcriptContentUrl"] = $val; + return $this; + } + +} diff --git a/src/Model/Certification.php b/src/Model/Certification.php index 4070daf1ec5..808b56feea4 100644 --- a/src/Model/Certification.php +++ b/src/Model/Certification.php @@ -54,7 +54,7 @@ public function setCertificationDetailsUrl($val) /** * Gets the certificationExpirationDateTime - * The timestamp when the current certification for the application will expire. + * The timestamp when the current certification for the application expires. * * @return \DateTime|null The certificationExpirationDateTime */ @@ -73,7 +73,7 @@ public function getCertificationExpirationDateTime() /** * Sets the certificationExpirationDateTime - * The timestamp when the current certification for the application will expire. + * The timestamp when the current certification for the application expires. * * @param \DateTime $val The value to assign to the certificationExpirationDateTime * diff --git a/src/Model/CoachmarkLocation.php b/src/Model/CoachmarkLocation.php new file mode 100644 index 00000000000..6c1473b20d1 --- /dev/null +++ b/src/Model/CoachmarkLocation.php @@ -0,0 +1,109 @@ +_propDict)) { + return $this->_propDict["length"]; + } else { + return null; + } + } + + /** + * Sets the length + * + * @param int $val The value of the length + * + * @return CoachmarkLocation + */ + public function setLength($val) + { + $this->_propDict["length"] = $val; + return $this; + } + /** + * Gets the offset + * + * @return int|null The offset + */ + public function getOffset() + { + if (array_key_exists("offset", $this->_propDict)) { + return $this->_propDict["offset"]; + } else { + return null; + } + } + + /** + * Sets the offset + * + * @param int $val The value of the offset + * + * @return CoachmarkLocation + */ + public function setOffset($val) + { + $this->_propDict["offset"] = $val; + return $this; + } + + /** + * Gets the type + * + * @return CoachmarkLocationType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\CoachmarkLocationType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new CoachmarkLocationType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * + * @param CoachmarkLocationType $val The value to assign to the type + * + * @return CoachmarkLocation The CoachmarkLocation + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } +} diff --git a/src/Model/CoachmarkLocationType.php b/src/Model/CoachmarkLocationType.php new file mode 100644 index 00000000000..ffeb8c7c542 --- /dev/null +++ b/src/Model/CoachmarkLocationType.php @@ -0,0 +1,39 @@ +setODataType("#microsoft.graph.customTrainingSetting"); + } + + + /** + * Gets the assignedTo + * + * @return TrainingAssignedTo|null The assignedTo + */ + public function getAssignedTo() + { + if (array_key_exists("assignedTo", $this->_propDict)) { + if (is_a($this->_propDict["assignedTo"], "\Microsoft\Graph\Model\TrainingAssignedTo") || is_null($this->_propDict["assignedTo"])) { + return $this->_propDict["assignedTo"]; + } else { + $this->_propDict["assignedTo"] = new TrainingAssignedTo($this->_propDict["assignedTo"]); + return $this->_propDict["assignedTo"]; + } + } + return null; + } + + /** + * Sets the assignedTo + * + * @param TrainingAssignedTo $val The value to assign to the assignedTo + * + * @return CustomTrainingSetting The CustomTrainingSetting + */ + public function setAssignedTo($val) + { + $this->_propDict["assignedTo"] = $val; + return $this; + } + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The value of the description + * + * @return CustomTrainingSetting + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the displayName + * + * @return string|null The displayName + */ + public function getDisplayName() + { + if (array_key_exists("displayName", $this->_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The value of the displayName + * + * @return CustomTrainingSetting + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + /** + * Gets the durationInMinutes + * + * @return int|null The durationInMinutes + */ + public function getDurationInMinutes() + { + if (array_key_exists("durationInMinutes", $this->_propDict)) { + return $this->_propDict["durationInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the durationInMinutes + * + * @param int $val The value of the durationInMinutes + * + * @return CustomTrainingSetting + */ + public function setDurationInMinutes($val) + { + $this->_propDict["durationInMinutes"] = $val; + return $this; + } + /** + * Gets the url + * + * @return string|null The url + */ + public function getUrl() + { + if (array_key_exists("url", $this->_propDict)) { + return $this->_propDict["url"]; + } else { + return null; + } + } + + /** + * Sets the url + * + * @param string $val The value of the url + * + * @return CustomTrainingSetting + */ + public function setUrl($val) + { + $this->_propDict["url"] = $val; + return $this; + } +} diff --git a/src/Model/DirectoryDefinition.php b/src/Model/DirectoryDefinition.php index 5c63537e1f3..44a9433862d 100644 --- a/src/Model/DirectoryDefinition.php +++ b/src/Model/DirectoryDefinition.php @@ -180,7 +180,7 @@ public function setReadOnly($val) /** * Gets the version - * Read only value that indicates version discovered. null if discovery has not yet occurred. + * Read only value that indicates version discovered. null if discovery hasn't yet occurred. * * @return string|null The version */ @@ -195,7 +195,7 @@ public function getVersion() /** * Sets the version - * Read only value that indicates version discovered. null if discovery has not yet occurred. + * Read only value that indicates version discovered. null if discovery hasn't yet occurred. * * @param string $val The version * diff --git a/src/Model/EmailAuthenticationMethodConfiguration.php b/src/Model/EmailAuthenticationMethodConfiguration.php index 287770b4e01..eb3cd55cc70 100644 --- a/src/Model/EmailAuthenticationMethodConfiguration.php +++ b/src/Model/EmailAuthenticationMethodConfiguration.php @@ -26,7 +26,7 @@ class EmailAuthenticationMethodConfiguration extends AuthenticationMethodConfigu { /** * Gets the allowExternalIdToUseEmailOtp - * Determines whether email OTP is usable by external users for authentication. Possible values are: default, enabled, disabled, unknownFutureValue. Tenants in the default state who didn't use public preview will automatically have email OTP enabled beginning in October 2021. + * Determines whether email OTP is usable by external users for authentication. Possible values are: default, enabled, disabled, unknownFutureValue. Tenants in the default state who didn't use public preview have email OTP enabled beginning in October 2021. * * @return ExternalEmailOtpState|null The allowExternalIdToUseEmailOtp */ @@ -45,7 +45,7 @@ public function getAllowExternalIdToUseEmailOtp() /** * Sets the allowExternalIdToUseEmailOtp - * Determines whether email OTP is usable by external users for authentication. Possible values are: default, enabled, disabled, unknownFutureValue. Tenants in the default state who didn't use public preview will automatically have email OTP enabled beginning in October 2021. + * Determines whether email OTP is usable by external users for authentication. Possible values are: default, enabled, disabled, unknownFutureValue. Tenants in the default state who didn't use public preview have email OTP enabled beginning in October 2021. * * @param ExternalEmailOtpState $val The allowExternalIdToUseEmailOtp * diff --git a/src/Model/EmailFileAssessmentRequest.php b/src/Model/EmailFileAssessmentRequest.php index fed2e7e8189..7da8410ad4b 100644 --- a/src/Model/EmailFileAssessmentRequest.php +++ b/src/Model/EmailFileAssessmentRequest.php @@ -26,7 +26,7 @@ class EmailFileAssessmentRequest extends ThreatAssessmentRequest { /** * Gets the contentData - * Base64 encoded .eml email file content. The file content cannot fetch back because it isn't stored. + * Base64 encoded .eml email file content. The file content can't fetch back because it isn't stored. * * @return string|null The contentData */ @@ -41,7 +41,7 @@ public function getContentData() /** * Sets the contentData - * Base64 encoded .eml email file content. The file content cannot fetch back because it isn't stored. + * Base64 encoded .eml email file content. The file content can't fetch back because it isn't stored. * * @param string $val The contentData * diff --git a/src/Model/EmailPayloadDetail.php b/src/Model/EmailPayloadDetail.php new file mode 100644 index 00000000000..49c44a29a32 --- /dev/null +++ b/src/Model/EmailPayloadDetail.php @@ -0,0 +1,141 @@ +setODataType("#microsoft.graph.emailPayloadDetail"); + } + + /** + * Gets the fromEmail + * + * @return string|null The fromEmail + */ + public function getFromEmail() + { + if (array_key_exists("fromEmail", $this->_propDict)) { + return $this->_propDict["fromEmail"]; + } else { + return null; + } + } + + /** + * Sets the fromEmail + * + * @param string $val The value of the fromEmail + * + * @return EmailPayloadDetail + */ + public function setFromEmail($val) + { + $this->_propDict["fromEmail"] = $val; + return $this; + } + /** + * Gets the fromName + * + * @return string|null The fromName + */ + public function getFromName() + { + if (array_key_exists("fromName", $this->_propDict)) { + return $this->_propDict["fromName"]; + } else { + return null; + } + } + + /** + * Sets the fromName + * + * @param string $val The value of the fromName + * + * @return EmailPayloadDetail + */ + public function setFromName($val) + { + $this->_propDict["fromName"] = $val; + return $this; + } + /** + * Gets the isExternalSender + * + * @return bool|null The isExternalSender + */ + public function getIsExternalSender() + { + if (array_key_exists("isExternalSender", $this->_propDict)) { + return $this->_propDict["isExternalSender"]; + } else { + return null; + } + } + + /** + * Sets the isExternalSender + * + * @param bool $val The value of the isExternalSender + * + * @return EmailPayloadDetail + */ + public function setIsExternalSender($val) + { + $this->_propDict["isExternalSender"] = $val; + return $this; + } + /** + * Gets the subject + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * + * @param string $val The value of the subject + * + * @return EmailPayloadDetail + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } +} diff --git a/src/Model/EndUserNotification.php b/src/Model/EndUserNotification.php new file mode 100644 index 00000000000..f7ce2ad9717 --- /dev/null +++ b/src/Model/EndUserNotification.php @@ -0,0 +1,353 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\EmailIdentity") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new EmailIdentity($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * + * @param EmailIdentity $val The createdBy + * + * @return EndUserNotification + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return EndUserNotification + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return EndUserNotification + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * + * @return string|null The displayName + */ + public function getDisplayName() + { + if (array_key_exists("displayName", $this->_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The displayName + * + * @return EndUserNotification + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * + * @return EmailIdentity|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\EmailIdentity") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new EmailIdentity($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * + * @param EmailIdentity $val The lastModifiedBy + * + * @return EndUserNotification + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return EndUserNotification + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the notificationType + * + * @return EndUserNotificationType|null The notificationType + */ + public function getNotificationType() + { + if (array_key_exists("notificationType", $this->_propDict)) { + if (is_a($this->_propDict["notificationType"], "\Microsoft\Graph\Model\EndUserNotificationType") || is_null($this->_propDict["notificationType"])) { + return $this->_propDict["notificationType"]; + } else { + $this->_propDict["notificationType"] = new EndUserNotificationType($this->_propDict["notificationType"]); + return $this->_propDict["notificationType"]; + } + } + return null; + } + + /** + * Sets the notificationType + * + * @param EndUserNotificationType $val The notificationType + * + * @return EndUserNotification + */ + public function setNotificationType($val) + { + $this->_propDict["notificationType"] = $val; + return $this; + } + + /** + * Gets the source + * + * @return SimulationContentSource|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + if (is_a($this->_propDict["source"], "\Microsoft\Graph\Model\SimulationContentSource") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new SimulationContentSource($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * + * @param SimulationContentSource $val The source + * + * @return EndUserNotification + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return SimulationContentStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\SimulationContentStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new SimulationContentStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param SimulationContentStatus $val The status + * + * @return EndUserNotification + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the supportedLocales + * + * @return array|null The supportedLocales + */ + public function getSupportedLocales() + { + if (array_key_exists("supportedLocales", $this->_propDict)) { + return $this->_propDict["supportedLocales"]; + } else { + return null; + } + } + + /** + * Sets the supportedLocales + * + * @param string[] $val The supportedLocales + * + * @return EndUserNotification + */ + public function setSupportedLocales($val) + { + $this->_propDict["supportedLocales"] = $val; + return $this; + } + + + /** + * Gets the details + * + * @return array|null The details + */ + public function getDetails() + { + if (array_key_exists("details", $this->_propDict)) { + return $this->_propDict["details"]; + } else { + return null; + } + } + + /** + * Sets the details + * + * @param EndUserNotificationDetail[] $val The details + * + * @return EndUserNotification + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + +} diff --git a/src/Model/EndUserNotificationDetail.php b/src/Model/EndUserNotificationDetail.php new file mode 100644 index 00000000000..2c8472c13df --- /dev/null +++ b/src/Model/EndUserNotificationDetail.php @@ -0,0 +1,193 @@ +_propDict)) { + return $this->_propDict["emailContent"]; + } else { + return null; + } + } + + /** + * Sets the emailContent + * + * @param string $val The emailContent + * + * @return EndUserNotificationDetail + */ + public function setEmailContent($val) + { + $this->_propDict["emailContent"] = $val; + return $this; + } + + /** + * Gets the isDefaultLangauge + * + * @return bool|null The isDefaultLangauge + */ + public function getIsDefaultLangauge() + { + if (array_key_exists("isDefaultLangauge", $this->_propDict)) { + return $this->_propDict["isDefaultLangauge"]; + } else { + return null; + } + } + + /** + * Sets the isDefaultLangauge + * + * @param bool $val The isDefaultLangauge + * + * @return EndUserNotificationDetail + */ + public function setIsDefaultLangauge($val) + { + $this->_propDict["isDefaultLangauge"] = boolval($val); + return $this; + } + + /** + * Gets the language + * + * @return string|null The language + */ + public function getLanguage() + { + if (array_key_exists("language", $this->_propDict)) { + return $this->_propDict["language"]; + } else { + return null; + } + } + + /** + * Sets the language + * + * @param string $val The language + * + * @return EndUserNotificationDetail + */ + public function setLanguage($val) + { + $this->_propDict["language"] = $val; + return $this; + } + + /** + * Gets the locale + * + * @return string|null The locale + */ + public function getLocale() + { + if (array_key_exists("locale", $this->_propDict)) { + return $this->_propDict["locale"]; + } else { + return null; + } + } + + /** + * Sets the locale + * + * @param string $val The locale + * + * @return EndUserNotificationDetail + */ + public function setLocale($val) + { + $this->_propDict["locale"] = $val; + return $this; + } + + /** + * Gets the sentFrom + * + * @return EmailIdentity|null The sentFrom + */ + public function getSentFrom() + { + if (array_key_exists("sentFrom", $this->_propDict)) { + if (is_a($this->_propDict["sentFrom"], "\Microsoft\Graph\Model\EmailIdentity") || is_null($this->_propDict["sentFrom"])) { + return $this->_propDict["sentFrom"]; + } else { + $this->_propDict["sentFrom"] = new EmailIdentity($this->_propDict["sentFrom"]); + return $this->_propDict["sentFrom"]; + } + } + return null; + } + + /** + * Sets the sentFrom + * + * @param EmailIdentity $val The sentFrom + * + * @return EndUserNotificationDetail + */ + public function setSentFrom($val) + { + $this->_propDict["sentFrom"] = $val; + return $this; + } + + /** + * Gets the subject + * + * @return string|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + return $this->_propDict["subject"]; + } else { + return null; + } + } + + /** + * Sets the subject + * + * @param string $val The subject + * + * @return EndUserNotificationDetail + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + +} diff --git a/src/Model/EndUserNotificationPreference.php b/src/Model/EndUserNotificationPreference.php new file mode 100644 index 00000000000..760a08b45de --- /dev/null +++ b/src/Model/EndUserNotificationPreference.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["notificationPreference"], "\Microsoft\Graph\Model\EndUserNotificationPreference") || is_null($this->_propDict["notificationPreference"])) { + return $this->_propDict["notificationPreference"]; + } else { + $this->_propDict["notificationPreference"] = new EndUserNotificationPreference($this->_propDict["notificationPreference"]); + return $this->_propDict["notificationPreference"]; + } + } + return null; + } + + /** + * Sets the notificationPreference + * + * @param EndUserNotificationPreference $val The value to assign to the notificationPreference + * + * @return EndUserNotificationSetting The EndUserNotificationSetting + */ + public function setNotificationPreference($val) + { + $this->_propDict["notificationPreference"] = $val; + return $this; + } + + /** + * Gets the positiveReinforcement + * + * @return PositiveReinforcementNotification|null The positiveReinforcement + */ + public function getPositiveReinforcement() + { + if (array_key_exists("positiveReinforcement", $this->_propDict)) { + if (is_a($this->_propDict["positiveReinforcement"], "\Microsoft\Graph\Model\PositiveReinforcementNotification") || is_null($this->_propDict["positiveReinforcement"])) { + return $this->_propDict["positiveReinforcement"]; + } else { + $this->_propDict["positiveReinforcement"] = new PositiveReinforcementNotification($this->_propDict["positiveReinforcement"]); + return $this->_propDict["positiveReinforcement"]; + } + } + return null; + } + + /** + * Sets the positiveReinforcement + * + * @param PositiveReinforcementNotification $val The value to assign to the positiveReinforcement + * + * @return EndUserNotificationSetting The EndUserNotificationSetting + */ + public function setPositiveReinforcement($val) + { + $this->_propDict["positiveReinforcement"] = $val; + return $this; + } + + /** + * Gets the settingType + * + * @return EndUserNotificationSettingType|null The settingType + */ + public function getSettingType() + { + if (array_key_exists("settingType", $this->_propDict)) { + if (is_a($this->_propDict["settingType"], "\Microsoft\Graph\Model\EndUserNotificationSettingType") || is_null($this->_propDict["settingType"])) { + return $this->_propDict["settingType"]; + } else { + $this->_propDict["settingType"] = new EndUserNotificationSettingType($this->_propDict["settingType"]); + return $this->_propDict["settingType"]; + } + } + return null; + } + + /** + * Sets the settingType + * + * @param EndUserNotificationSettingType $val The value to assign to the settingType + * + * @return EndUserNotificationSetting The EndUserNotificationSetting + */ + public function setSettingType($val) + { + $this->_propDict["settingType"] = $val; + return $this; + } +} diff --git a/src/Model/EndUserNotificationSettingType.php b/src/Model/EndUserNotificationSettingType.php new file mode 100644 index 00000000000..2e6b6dde62b --- /dev/null +++ b/src/Model/EndUserNotificationSettingType.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.includeAllAccountTargetContent"); + } + +} diff --git a/src/Model/Invitation.php b/src/Model/Invitation.php index fd0c7257bd4..56215cf97e0 100644 --- a/src/Model/Invitation.php +++ b/src/Model/Invitation.php @@ -55,7 +55,7 @@ public function setInvitedUserDisplayName($val) /** * Gets the invitedUserEmailAddress - * The email address of the user being invited. Required. The following special characters are not permitted in the email address:Tilde (~)Exclamation point (!)Number sign (#)Dollar sign ($)Percent (%)Circumflex (^)Ampersand (&)Asterisk (*)Parentheses (( ))Plus sign (+)Equal sign (=)Brackets ([ ])Braces ({ })Backslash (/)Slash mark (/)Pipe (/|)Semicolon (;)Colon (:)Quotation marks (')Angle brackets (< >)Question mark (?)Comma (,)However, the following exceptions apply:A period (.) or a hyphen (-) is permitted anywhere in the user name, except at the beginning or end of the name.An underscore (_) is permitted anywhere in the user name. This includes at the beginning or end of the name. + * The email address of the user being invited. Required. The following special characters aren't permitted in the email address:Tilde (~)Exclamation point (!)Number sign (#)Dollar sign ($)Percent (%)Circumflex (^)Ampersand (&)Asterisk (*)Parentheses (( ))Plus sign (+)Equal sign (=)Brackets ([ ])Braces ({ })Backslash (/)Slash mark (/)Pipe (/|)Semicolon (;)Colon (:)Quotation marks (')Angle brackets (< >)Question mark (?)Comma (,)However, the following exceptions apply:A period (.) or a hyphen (-) is permitted anywhere in the user name, except at the beginning or end of the name.An underscore (_) is permitted anywhere in the user name. This includes at the beginning or end of the name. * * @return string|null The invitedUserEmailAddress */ @@ -70,7 +70,7 @@ public function getInvitedUserEmailAddress() /** * Sets the invitedUserEmailAddress - * The email address of the user being invited. Required. The following special characters are not permitted in the email address:Tilde (~)Exclamation point (!)Number sign (#)Dollar sign ($)Percent (%)Circumflex (^)Ampersand (&)Asterisk (*)Parentheses (( ))Plus sign (+)Equal sign (=)Brackets ([ ])Braces ({ })Backslash (/)Slash mark (/)Pipe (/|)Semicolon (;)Colon (:)Quotation marks (')Angle brackets (< >)Question mark (?)Comma (,)However, the following exceptions apply:A period (.) or a hyphen (-) is permitted anywhere in the user name, except at the beginning or end of the name.An underscore (_) is permitted anywhere in the user name. This includes at the beginning or end of the name. + * The email address of the user being invited. Required. The following special characters aren't permitted in the email address:Tilde (~)Exclamation point (!)Number sign (#)Dollar sign ($)Percent (%)Circumflex (^)Ampersand (&)Asterisk (*)Parentheses (( ))Plus sign (+)Equal sign (=)Brackets ([ ])Braces ({ })Backslash (/)Slash mark (/)Pipe (/|)Semicolon (;)Colon (:)Quotation marks (')Angle brackets (< >)Question mark (?)Comma (,)However, the following exceptions apply:A period (.) or a hyphen (-) is permitted anywhere in the user name, except at the beginning or end of the name.An underscore (_) is permitted anywhere in the user name. This includes at the beginning or end of the name. * * @param string $val The invitedUserEmailAddress * @@ -117,7 +117,7 @@ public function setInvitedUserMessageInfo($val) /** * Gets the invitedUserType - * The userType of the user being invited. By default, this is Guest. You can invite as Member if you are a company administrator. + * The userType of the user being invited. By default, this is Guest. You can invite as Member if you're a company administrator. * * @return string|null The invitedUserType */ @@ -132,7 +132,7 @@ public function getInvitedUserType() /** * Sets the invitedUserType - * The userType of the user being invited. By default, this is Guest. You can invite as Member if you are a company administrator. + * The userType of the user being invited. By default, this is Guest. You can invite as Member if you're a company administrator. * * @param string $val The invitedUserType * diff --git a/src/Model/IpNamedLocation.php b/src/Model/IpNamedLocation.php index 16ac1e33e79..f0ab3d58ed2 100644 --- a/src/Model/IpNamedLocation.php +++ b/src/Model/IpNamedLocation.php @@ -27,7 +27,7 @@ class IpNamedLocation extends NamedLocation /** * Gets the ipRanges - * List of IP address ranges in IPv4 CIDR format (e.g. 1.2.3.4/32) or any allowable IPv6 format from IETF RFC5969. Required. + * List of IP address ranges in IPv4 CIDR format (for example, 1.2.3.4/32) or any allowable IPv6 format from IETF RFC5969. Required. * * @return array|null The ipRanges */ @@ -42,7 +42,7 @@ public function getIpRanges() /** * Sets the ipRanges - * List of IP address ranges in IPv4 CIDR format (e.g. 1.2.3.4/32) or any allowable IPv6 format from IETF RFC5969. Required. + * List of IP address ranges in IPv4 CIDR format (for example, 1.2.3.4/32) or any allowable IPv6 format from IETF RFC5969. Required. * * @param IpRange[] $val The ipRanges * diff --git a/src/Model/LandingPage.php b/src/Model/LandingPage.php new file mode 100644 index 00000000000..3e848bfd9be --- /dev/null +++ b/src/Model/LandingPage.php @@ -0,0 +1,349 @@ +_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\EmailIdentity") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new EmailIdentity($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * + * @param EmailIdentity $val The createdBy + * + * @return LandingPage + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return LandingPage + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return LandingPage + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * + * @return string|null The displayName + */ + public function getDisplayName() + { + if (array_key_exists("displayName", $this->_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The displayName + * + * @return LandingPage + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * + * @return EmailIdentity|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\EmailIdentity") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new EmailIdentity($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * + * @param EmailIdentity $val The lastModifiedBy + * + * @return LandingPage + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return LandingPage + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the locale + * + * @return string|null The locale + */ + public function getLocale() + { + if (array_key_exists("locale", $this->_propDict)) { + return $this->_propDict["locale"]; + } else { + return null; + } + } + + /** + * Sets the locale + * + * @param string $val The locale + * + * @return LandingPage + */ + public function setLocale($val) + { + $this->_propDict["locale"] = $val; + return $this; + } + + /** + * Gets the source + * + * @return SimulationContentSource|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + if (is_a($this->_propDict["source"], "\Microsoft\Graph\Model\SimulationContentSource") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new SimulationContentSource($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * + * @param SimulationContentSource $val The source + * + * @return LandingPage + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return SimulationContentStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\SimulationContentStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new SimulationContentStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param SimulationContentStatus $val The status + * + * @return LandingPage + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the supportedLocales + * + * @return array|null The supportedLocales + */ + public function getSupportedLocales() + { + if (array_key_exists("supportedLocales", $this->_propDict)) { + return $this->_propDict["supportedLocales"]; + } else { + return null; + } + } + + /** + * Sets the supportedLocales + * + * @param string[] $val The supportedLocales + * + * @return LandingPage + */ + public function setSupportedLocales($val) + { + $this->_propDict["supportedLocales"] = $val; + return $this; + } + + + /** + * Gets the details + * + * @return array|null The details + */ + public function getDetails() + { + if (array_key_exists("details", $this->_propDict)) { + return $this->_propDict["details"]; + } else { + return null; + } + } + + /** + * Sets the details + * + * @param LandingPageDetail[] $val The details + * + * @return LandingPage + */ + public function setDetails($val) + { + $this->_propDict["details"] = $val; + return $this; + } + +} diff --git a/src/Model/LandingPageDetail.php b/src/Model/LandingPageDetail.php new file mode 100644 index 00000000000..51edd13d55b --- /dev/null +++ b/src/Model/LandingPageDetail.php @@ -0,0 +1,108 @@ +_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * + * @param string $val The content + * + * @return LandingPageDetail + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the isDefaultLangauge + * + * @return bool|null The isDefaultLangauge + */ + public function getIsDefaultLangauge() + { + if (array_key_exists("isDefaultLangauge", $this->_propDict)) { + return $this->_propDict["isDefaultLangauge"]; + } else { + return null; + } + } + + /** + * Sets the isDefaultLangauge + * + * @param bool $val The isDefaultLangauge + * + * @return LandingPageDetail + */ + public function setIsDefaultLangauge($val) + { + $this->_propDict["isDefaultLangauge"] = boolval($val); + return $this; + } + + /** + * Gets the language + * + * @return string|null The language + */ + public function getLanguage() + { + if (array_key_exists("language", $this->_propDict)) { + return $this->_propDict["language"]; + } else { + return null; + } + } + + /** + * Sets the language + * + * @param string $val The language + * + * @return LandingPageDetail + */ + public function setLanguage($val) + { + $this->_propDict["language"] = $val; + return $this; + } + +} diff --git a/src/Model/ListInfo.php b/src/Model/ListInfo.php index 382ff059b21..91d88ea9e62 100644 --- a/src/Model/ListInfo.php +++ b/src/Model/ListInfo.php @@ -53,7 +53,7 @@ public function setContentTypesEnabled($val) } /** * Gets the hidden - * If true, indicates that the list is not normally visible in the SharePoint user experience. + * If true, indicates that the list isn't normally visible in the SharePoint user experience. * * @return bool|null The hidden */ @@ -68,7 +68,7 @@ public function getHidden() /** * Sets the hidden - * If true, indicates that the list is not normally visible in the SharePoint user experience. + * If true, indicates that the list isn't normally visible in the SharePoint user experience. * * @param bool $val The value of the hidden * diff --git a/src/Model/LocationConstraint.php b/src/Model/LocationConstraint.php index ea57bfa90cf..caf8f07e495 100644 --- a/src/Model/LocationConstraint.php +++ b/src/Model/LocationConstraint.php @@ -25,7 +25,7 @@ class LocationConstraint extends Entity { /** * Gets the isRequired - * The client requests the service to include in the response a meeting location for the meeting. If this is true and all the resources are busy, findMeetingTimes will not return any meeting time suggestions. If this is false and all the resources are busy, findMeetingTimes would still look for meeting times without locations. + * The client requests the service to include in the response a meeting location for the meeting. If this is true and all the resources are busy, findMeetingTimes won't return any meeting time suggestions. If this is false and all the resources are busy, findMeetingTimes would still look for meeting times without locations. * * @return bool|null The isRequired */ @@ -40,7 +40,7 @@ public function getIsRequired() /** * Sets the isRequired - * The client requests the service to include in the response a meeting location for the meeting. If this is true and all the resources are busy, findMeetingTimes will not return any meeting time suggestions. If this is false and all the resources are busy, findMeetingTimes would still look for meeting times without locations. + * The client requests the service to include in the response a meeting location for the meeting. If this is true and all the resources are busy, findMeetingTimes won't return any meeting time suggestions. If this is false and all the resources are busy, findMeetingTimes would still look for meeting times without locations. * * @param bool $val The value of the isRequired * diff --git a/src/Model/LoginPage.php b/src/Model/LoginPage.php new file mode 100644 index 00000000000..a092f06c1ad --- /dev/null +++ b/src/Model/LoginPage.php @@ -0,0 +1,321 @@ +_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * + * @param string $val The content + * + * @return LoginPage + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the createdBy + * + * @return EmailIdentity|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\EmailIdentity") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new EmailIdentity($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * + * @param EmailIdentity $val The createdBy + * + * @return LoginPage + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return LoginPage + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return LoginPage + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * + * @return string|null The displayName + */ + public function getDisplayName() + { + if (array_key_exists("displayName", $this->_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The displayName + * + * @return LoginPage + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the language + * + * @return string|null The language + */ + public function getLanguage() + { + if (array_key_exists("language", $this->_propDict)) { + return $this->_propDict["language"]; + } else { + return null; + } + } + + /** + * Sets the language + * + * @param string $val The language + * + * @return LoginPage + */ + public function setLanguage($val) + { + $this->_propDict["language"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * + * @return EmailIdentity|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\EmailIdentity") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new EmailIdentity($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * + * @param EmailIdentity $val The lastModifiedBy + * + * @return LoginPage + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return LoginPage + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the source + * + * @return SimulationContentSource|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + if (is_a($this->_propDict["source"], "\Microsoft\Graph\Model\SimulationContentSource") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new SimulationContentSource($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * + * @param SimulationContentSource $val The source + * + * @return LoginPage + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return SimulationContentStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\SimulationContentStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new SimulationContentStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param SimulationContentStatus $val The status + * + * @return LoginPage + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/src/Model/MalwareState.php b/src/Model/MalwareState.php index df4b0ff4020..01c880e3ed7 100644 --- a/src/Model/MalwareState.php +++ b/src/Model/MalwareState.php @@ -53,7 +53,7 @@ public function setCategory($val) } /** * Gets the family - * Provider-generated malware family (for example, 'wannacry', 'notpetya', etc.). + * Provider-generated malware family (for example, 'wannacry,' 'notpetya,' etc.). * * @return string|null The family */ @@ -68,7 +68,7 @@ public function getFamily() /** * Sets the family - * Provider-generated malware family (for example, 'wannacry', 'notpetya', etc.). + * Provider-generated malware family (for example, 'wannacry,' 'notpetya,' etc.). * * @param string $val The value of the family * diff --git a/src/Model/MediaInfo.php b/src/Model/MediaInfo.php index 39cee59ac2d..76f4d081bab 100644 --- a/src/Model/MediaInfo.php +++ b/src/Model/MediaInfo.php @@ -25,7 +25,7 @@ class MediaInfo extends Entity { /** * Gets the resourceId - * Optional. Used to uniquely identity the resource. If passed in, the prompt uri will be cached against this resourceId as a key. + * Optional. Used to uniquely identity the resource. If passed in, the prompt uri is against this resourceId as a key. * * @return string|null The resourceId */ @@ -40,7 +40,7 @@ public function getResourceId() /** * Sets the resourceId - * Optional. Used to uniquely identity the resource. If passed in, the prompt uri will be cached against this resourceId as a key. + * Optional. Used to uniquely identity the resource. If passed in, the prompt uri is against this resourceId as a key. * * @param string $val The value of the resourceId * @@ -53,7 +53,7 @@ public function setResourceId($val) } /** * Gets the uri - * Path to the prompt that will be played. Currently supports only Wave file (.wav) format, single-channel, 16-bit samples with a 16,000 (16KHz) sampling rate. + * Path to the prompt that will be played. Currently supports only Wave file (.wav) format, single-channel, 16-bit samples with a 16,000 (16 KHz) sampling rate. * * @return string|null The uri */ @@ -68,7 +68,7 @@ public function getUri() /** * Sets the uri - * Path to the prompt that will be played. Currently supports only Wave file (.wav) format, single-channel, 16-bit samples with a 16,000 (16KHz) sampling rate. + * Path to the prompt that will be played. Currently supports only Wave file (.wav) format, single-channel, 16-bit samples with a 16,000 (16 KHz) sampling rate. * * @param string $val The value of the uri * diff --git a/src/Model/MicrosoftAuthenticatorAuthenticationMethod.php b/src/Model/MicrosoftAuthenticatorAuthenticationMethod.php index fc738ff3805..748e4768d7e 100644 --- a/src/Model/MicrosoftAuthenticatorAuthenticationMethod.php +++ b/src/Model/MicrosoftAuthenticatorAuthenticationMethod.php @@ -26,7 +26,7 @@ class MicrosoftAuthenticatorAuthenticationMethod extends AuthenticationMethod { /** * Gets the createdDateTime - * The date and time that this app was registered. This property is null if the device is not registered for passwordless Phone Sign-In. + * The date and time that this app was registered. This property is null if the device isn't registered for passwordless Phone Sign-In. * * @return \DateTime|null The createdDateTime */ @@ -45,7 +45,7 @@ public function getCreatedDateTime() /** * Sets the createdDateTime - * The date and time that this app was registered. This property is null if the device is not registered for passwordless Phone Sign-In. + * The date and time that this app was registered. This property is null if the device isn't registered for passwordless Phone Sign-In. * * @param \DateTime $val The createdDateTime * @@ -146,7 +146,7 @@ public function setPhoneAppVersion($val) /** * Gets the device - * The registered device on which Microsoft Authenticator resides. This property is null if the device is not registered for passwordless Phone Sign-In. + * The registered device on which Microsoft Authenticator resides. This property is null if the device isn't registered for passwordless Phone Sign-In. * * @return Device|null The device */ @@ -165,7 +165,7 @@ public function getDevice() /** * Sets the device - * The registered device on which Microsoft Authenticator resides. This property is null if the device is not registered for passwordless Phone Sign-In. + * The registered device on which Microsoft Authenticator resides. This property is null if the device isn't registered for passwordless Phone Sign-In. * * @param Device $val The device * diff --git a/src/Model/MicrosoftCustomTrainingSetting.php b/src/Model/MicrosoftCustomTrainingSetting.php new file mode 100644 index 00000000000..f9c5e7b9970 --- /dev/null +++ b/src/Model/MicrosoftCustomTrainingSetting.php @@ -0,0 +1,130 @@ +setODataType("#microsoft.graph.microsoftCustomTrainingSetting"); + } + + + /** + * Gets the completionDateTime + * + * @return \DateTime|null The completionDateTime + */ + public function getCompletionDateTime() + { + if (array_key_exists("completionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["completionDateTime"], "\DateTime") || is_null($this->_propDict["completionDateTime"])) { + return $this->_propDict["completionDateTime"]; + } else { + $this->_propDict["completionDateTime"] = new \DateTime($this->_propDict["completionDateTime"]); + return $this->_propDict["completionDateTime"]; + } + } + return null; + } + + /** + * Sets the completionDateTime + * + * @param \DateTime $val The value to assign to the completionDateTime + * + * @return MicrosoftCustomTrainingSetting The MicrosoftCustomTrainingSetting + */ + public function setCompletionDateTime($val) + { + $this->_propDict["completionDateTime"] = $val; + return $this; + } + + /** + * Gets the trainingAssignmentMappings + * + * @return MicrosoftTrainingAssignmentMapping|null The trainingAssignmentMappings + */ + public function getTrainingAssignmentMappings() + { + if (array_key_exists("trainingAssignmentMappings", $this->_propDict)) { + if (is_a($this->_propDict["trainingAssignmentMappings"], "\Microsoft\Graph\Model\MicrosoftTrainingAssignmentMapping") || is_null($this->_propDict["trainingAssignmentMappings"])) { + return $this->_propDict["trainingAssignmentMappings"]; + } else { + $this->_propDict["trainingAssignmentMappings"] = new MicrosoftTrainingAssignmentMapping($this->_propDict["trainingAssignmentMappings"]); + return $this->_propDict["trainingAssignmentMappings"]; + } + } + return null; + } + + /** + * Sets the trainingAssignmentMappings + * + * @param MicrosoftTrainingAssignmentMapping $val The value to assign to the trainingAssignmentMappings + * + * @return MicrosoftCustomTrainingSetting The MicrosoftCustomTrainingSetting + */ + public function setTrainingAssignmentMappings($val) + { + $this->_propDict["trainingAssignmentMappings"] = $val; + return $this; + } + + /** + * Gets the trainingCompletionDuration + * + * @return TrainingCompletionDuration|null The trainingCompletionDuration + */ + public function getTrainingCompletionDuration() + { + if (array_key_exists("trainingCompletionDuration", $this->_propDict)) { + if (is_a($this->_propDict["trainingCompletionDuration"], "\Microsoft\Graph\Model\TrainingCompletionDuration") || is_null($this->_propDict["trainingCompletionDuration"])) { + return $this->_propDict["trainingCompletionDuration"]; + } else { + $this->_propDict["trainingCompletionDuration"] = new TrainingCompletionDuration($this->_propDict["trainingCompletionDuration"]); + return $this->_propDict["trainingCompletionDuration"]; + } + } + return null; + } + + /** + * Sets the trainingCompletionDuration + * + * @param TrainingCompletionDuration $val The value to assign to the trainingCompletionDuration + * + * @return MicrosoftCustomTrainingSetting The MicrosoftCustomTrainingSetting + */ + public function setTrainingCompletionDuration($val) + { + $this->_propDict["trainingCompletionDuration"] = $val; + return $this; + } +} diff --git a/src/Model/MicrosoftManagedTrainingSetting.php b/src/Model/MicrosoftManagedTrainingSetting.php new file mode 100644 index 00000000000..440817369d1 --- /dev/null +++ b/src/Model/MicrosoftManagedTrainingSetting.php @@ -0,0 +1,99 @@ +setODataType("#microsoft.graph.microsoftManagedTrainingSetting"); + } + + + /** + * Gets the completionDateTime + * + * @return \DateTime|null The completionDateTime + */ + public function getCompletionDateTime() + { + if (array_key_exists("completionDateTime", $this->_propDict)) { + if (is_a($this->_propDict["completionDateTime"], "\DateTime") || is_null($this->_propDict["completionDateTime"])) { + return $this->_propDict["completionDateTime"]; + } else { + $this->_propDict["completionDateTime"] = new \DateTime($this->_propDict["completionDateTime"]); + return $this->_propDict["completionDateTime"]; + } + } + return null; + } + + /** + * Sets the completionDateTime + * + * @param \DateTime $val The value to assign to the completionDateTime + * + * @return MicrosoftManagedTrainingSetting The MicrosoftManagedTrainingSetting + */ + public function setCompletionDateTime($val) + { + $this->_propDict["completionDateTime"] = $val; + return $this; + } + + /** + * Gets the trainingCompletionDuration + * + * @return TrainingCompletionDuration|null The trainingCompletionDuration + */ + public function getTrainingCompletionDuration() + { + if (array_key_exists("trainingCompletionDuration", $this->_propDict)) { + if (is_a($this->_propDict["trainingCompletionDuration"], "\Microsoft\Graph\Model\TrainingCompletionDuration") || is_null($this->_propDict["trainingCompletionDuration"])) { + return $this->_propDict["trainingCompletionDuration"]; + } else { + $this->_propDict["trainingCompletionDuration"] = new TrainingCompletionDuration($this->_propDict["trainingCompletionDuration"]); + return $this->_propDict["trainingCompletionDuration"]; + } + } + return null; + } + + /** + * Sets the trainingCompletionDuration + * + * @param TrainingCompletionDuration $val The value to assign to the trainingCompletionDuration + * + * @return MicrosoftManagedTrainingSetting The MicrosoftManagedTrainingSetting + */ + public function setTrainingCompletionDuration($val) + { + $this->_propDict["trainingCompletionDuration"] = $val; + return $this; + } +} diff --git a/src/Model/MicrosoftTrainingAssignmentMapping.php b/src/Model/MicrosoftTrainingAssignmentMapping.php new file mode 100644 index 00000000000..28a1d37e1b2 --- /dev/null +++ b/src/Model/MicrosoftTrainingAssignmentMapping.php @@ -0,0 +1,99 @@ +setODataType("#microsoft.graph.microsoftTrainingAssignmentMapping"); + } + + + /** + * Gets the assignedTo + * + * @return TrainingAssignedTo|null The assignedTo + */ + public function getAssignedTo() + { + if (array_key_exists("assignedTo", $this->_propDict)) { + if (is_a($this->_propDict["assignedTo"], "\Microsoft\Graph\Model\TrainingAssignedTo") || is_null($this->_propDict["assignedTo"])) { + return $this->_propDict["assignedTo"]; + } else { + $this->_propDict["assignedTo"] = new TrainingAssignedTo($this->_propDict["assignedTo"]); + return $this->_propDict["assignedTo"]; + } + } + return null; + } + + /** + * Sets the assignedTo + * + * @param TrainingAssignedTo $val The value to assign to the assignedTo + * + * @return MicrosoftTrainingAssignmentMapping The MicrosoftTrainingAssignmentMapping + */ + public function setAssignedTo($val) + { + $this->_propDict["assignedTo"] = $val; + return $this; + } + + /** + * Gets the training + * + * @return Training|null The training + */ + public function getTraining() + { + if (array_key_exists("training", $this->_propDict)) { + if (is_a($this->_propDict["training"], "\Microsoft\Graph\Model\Training") || is_null($this->_propDict["training"])) { + return $this->_propDict["training"]; + } else { + $this->_propDict["training"] = new Training($this->_propDict["training"]); + return $this->_propDict["training"]; + } + } + return null; + } + + /** + * Sets the training + * + * @param Training $val The value to assign to the training + * + * @return MicrosoftTrainingAssignmentMapping The MicrosoftTrainingAssignmentMapping + */ + public function setTraining($val) + { + $this->_propDict["training"] = $val; + return $this; + } +} diff --git a/src/Model/NoTrainingNotificationSetting.php b/src/Model/NoTrainingNotificationSetting.php new file mode 100644 index 00000000000..a1e3ef6c85b --- /dev/null +++ b/src/Model/NoTrainingNotificationSetting.php @@ -0,0 +1,68 @@ +setODataType("#microsoft.graph.noTrainingNotificationSetting"); + } + + + /** + * Gets the simulationNotification + * + * @return SimulationNotification|null The simulationNotification + */ + public function getSimulationNotification() + { + if (array_key_exists("simulationNotification", $this->_propDict)) { + if (is_a($this->_propDict["simulationNotification"], "\Microsoft\Graph\Model\SimulationNotification") || is_null($this->_propDict["simulationNotification"])) { + return $this->_propDict["simulationNotification"]; + } else { + $this->_propDict["simulationNotification"] = new SimulationNotification($this->_propDict["simulationNotification"]); + return $this->_propDict["simulationNotification"]; + } + } + return null; + } + + /** + * Sets the simulationNotification + * + * @param SimulationNotification $val The value to assign to the simulationNotification + * + * @return NoTrainingNotificationSetting The NoTrainingNotificationSetting + */ + public function setSimulationNotification($val) + { + $this->_propDict["simulationNotification"] = $val; + return $this; + } +} diff --git a/src/Model/NoTrainingSetting.php b/src/Model/NoTrainingSetting.php new file mode 100644 index 00000000000..aadebf95d72 --- /dev/null +++ b/src/Model/NoTrainingSetting.php @@ -0,0 +1,37 @@ +setODataType("#microsoft.graph.noTrainingSetting"); + } + +} diff --git a/src/Model/NotificationDeliveryFrequency.php b/src/Model/NotificationDeliveryFrequency.php new file mode 100644 index 00000000000..3fd87ebf071 --- /dev/null +++ b/src/Model/NotificationDeliveryFrequency.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["appScope"], "\Microsoft\Graph\Model\OAuthAppScope") || is_null($this->_propDict["appScope"])) { + return $this->_propDict["appScope"]; + } else { + $this->_propDict["appScope"] = new OAuthAppScope($this->_propDict["appScope"]); + return $this->_propDict["appScope"]; + } + } + return null; + } + + /** + * Sets the appScope + * + * @param OAuthAppScope $val The value to assign to the appScope + * + * @return OAuthConsentAppDetail The OAuthConsentAppDetail + */ + public function setAppScope($val) + { + $this->_propDict["appScope"] = $val; + return $this; + } + /** + * Gets the displayLogo + * + * @return string|null The displayLogo + */ + public function getDisplayLogo() + { + if (array_key_exists("displayLogo", $this->_propDict)) { + return $this->_propDict["displayLogo"]; + } else { + return null; + } + } + + /** + * Sets the displayLogo + * + * @param string $val The value of the displayLogo + * + * @return OAuthConsentAppDetail + */ + public function setDisplayLogo($val) + { + $this->_propDict["displayLogo"] = $val; + return $this; + } + /** + * Gets the displayName + * + * @return string|null The displayName + */ + public function getDisplayName() + { + if (array_key_exists("displayName", $this->_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The value of the displayName + * + * @return OAuthConsentAppDetail + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } +} diff --git a/src/Model/ObjectIdentity.php b/src/Model/ObjectIdentity.php index 50bd184709d..0aa942b7b95 100644 --- a/src/Model/ObjectIdentity.php +++ b/src/Model/ObjectIdentity.php @@ -25,7 +25,7 @@ class ObjectIdentity extends Entity { /** * Gets the issuer - * Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType isn't federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For external users from other Azure AD organization, this is the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit. + * Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType isn't federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For guests from other Azure AD organization, this is the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit. * * @return string|null The issuer */ @@ -40,7 +40,7 @@ public function getIssuer() /** * Sets the issuer - * Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType isn't federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For external users from other Azure AD organization, this is the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit. + * Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType isn't federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For guests from other Azure AD organization, this is the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit. * * @param string $val The value of the issuer * diff --git a/src/Model/Onenote.php b/src/Model/Onenote.php index fa191a83a05..6077522f985 100644 --- a/src/Model/Onenote.php +++ b/src/Model/Onenote.php @@ -57,7 +57,7 @@ public function setNotebooks($val) /** * Gets the operations - * The status of OneNote operations. Getting an operations collection is not supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. + * The status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. * * @return array|null The operations */ @@ -72,7 +72,7 @@ public function getOperations() /** * Sets the operations - * The status of OneNote operations. Getting an operations collection is not supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. + * The status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. * * @param OnenoteOperation[] $val The operations * @@ -117,7 +117,7 @@ public function setPages($val) /** * Gets the resources - * The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. + * The image and other file resources in OneNote pages. Getting a resources collection isn't supported, but you can get the binary content of a specific resource. Read-only. Nullable. * * @return array|null The resources */ @@ -132,7 +132,7 @@ public function getResources() /** * Sets the resources - * The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. + * The image and other file resources in OneNote pages. Getting a resources collection isn't supported, but you can get the binary content of a specific resource. Read-only. Nullable. * * @param OnenoteResource[] $val The resources * diff --git a/src/Model/OnenoteEntityHierarchyModel.php b/src/Model/OnenoteEntityHierarchyModel.php index 4f23dec75f4..8979144a5fd 100644 --- a/src/Model/OnenoteEntityHierarchyModel.php +++ b/src/Model/OnenoteEntityHierarchyModel.php @@ -26,7 +26,7 @@ class OnenoteEntityHierarchyModel extends OnenoteEntitySchemaObjectModel { /** * Gets the createdBy - * Identity of the user, device, and application which created the item. Read-only. + * Identity of the user, device, and application that created the item. Read-only. * * @return IdentitySet|null The createdBy */ @@ -45,7 +45,7 @@ public function getCreatedBy() /** * Sets the createdBy - * Identity of the user, device, and application which created the item. Read-only. + * Identity of the user, device, and application that created the item. Read-only. * * @param IdentitySet $val The createdBy * @@ -88,7 +88,7 @@ public function setDisplayName($val) /** * Gets the lastModifiedBy - * Identity of the user, device, and application which created the item. Read-only. + * Identity of the user, device, and application that created the item. Read-only. * * @return IdentitySet|null The lastModifiedBy */ @@ -107,7 +107,7 @@ public function getLastModifiedBy() /** * Sets the lastModifiedBy - * Identity of the user, device, and application which created the item. Read-only. + * Identity of the user, device, and application that created the item. Read-only. * * @param IdentitySet $val The lastModifiedBy * diff --git a/src/Model/OnlineMeeting.php b/src/Model/OnlineMeeting.php index c50d26746a7..00bf6312341 100644 --- a/src/Model/OnlineMeeting.php +++ b/src/Model/OnlineMeeting.php @@ -208,7 +208,6 @@ public function setAllowTeamworkReactions($val) /** * Gets the attendeeReport - * The content stream of the attendee report of a Microsoft Teams live event. Read-only. * * @return \GuzzleHttp\Psr7\Stream|null The attendeeReport */ @@ -227,7 +226,6 @@ public function getAttendeeReport() /** * Sets the attendeeReport - * The content stream of the attendee report of a Microsoft Teams live event. Read-only. * * @param \GuzzleHttp\Psr7\Stream $val The attendeeReport * @@ -274,7 +272,6 @@ public function setAudioConferencing($val) /** * Gets the broadcastSettings - * Settings related to a live event. * * @return BroadcastMeetingSettings|null The broadcastSettings */ @@ -293,7 +290,6 @@ public function getBroadcastSettings() /** * Sets the broadcastSettings - * Settings related to a live event. * * @param BroadcastMeetingSettings $val The broadcastSettings * @@ -433,7 +429,6 @@ public function setExternalId($val) /** * Gets the isBroadcast - * Indicates if this is a Teams live event. * * @return bool|null The isBroadcast */ @@ -448,7 +443,6 @@ public function getIsBroadcast() /** * Sets the isBroadcast - * Indicates if this is a Teams live event. * * @param bool $val The isBroadcast * @@ -866,4 +860,34 @@ public function setAttendanceReports($val) return $this; } + + /** + * Gets the transcripts + * The transcripts of an online meeting. Read-only. + * + * @return array|null The transcripts + */ + public function getTranscripts() + { + if (array_key_exists("transcripts", $this->_propDict)) { + return $this->_propDict["transcripts"]; + } else { + return null; + } + } + + /** + * Sets the transcripts + * The transcripts of an online meeting. Read-only. + * + * @param CallTranscript[] $val The transcripts + * + * @return OnlineMeeting + */ + public function setTranscripts($val) + { + $this->_propDict["transcripts"] = $val; + return $this; + } + } diff --git a/src/Model/ParticipantInfo.php b/src/Model/ParticipantInfo.php index 34c2b1c4919..19c61aed88a 100644 --- a/src/Model/ParticipantInfo.php +++ b/src/Model/ParticipantInfo.php @@ -175,7 +175,7 @@ public function setParticipantId($val) } /** * Gets the region - * The home region of the participant. This can be a country, a continent, or a larger geographic region. This does not change based on the participant's current physical location. Read-only. + * The home region of the participant. This can be a country, a continent, or a larger geographic region. This doesn't change based on the participant's current physical location. Read-only. * * @return string|null The region */ @@ -190,7 +190,7 @@ public function getRegion() /** * Sets the region - * The home region of the participant. This can be a country, a continent, or a larger geographic region. This does not change based on the participant's current physical location. Read-only. + * The home region of the participant. This can be a country, a continent, or a larger geographic region. This doesn't change based on the participant's current physical location. Read-only. * * @param string $val The value of the region * diff --git a/src/Model/Payload.php b/src/Model/Payload.php new file mode 100644 index 00000000000..834fc036025 --- /dev/null +++ b/src/Model/Payload.php @@ -0,0 +1,677 @@ +_propDict)) { + if (is_a($this->_propDict["brand"], "\Microsoft\Graph\Model\PayloadBrand") || is_null($this->_propDict["brand"])) { + return $this->_propDict["brand"]; + } else { + $this->_propDict["brand"] = new PayloadBrand($this->_propDict["brand"]); + return $this->_propDict["brand"]; + } + } + return null; + } + + /** + * Sets the brand + * + * @param PayloadBrand $val The brand + * + * @return Payload + */ + public function setBrand($val) + { + $this->_propDict["brand"] = $val; + return $this; + } + + /** + * Gets the complexity + * + * @return PayloadComplexity|null The complexity + */ + public function getComplexity() + { + if (array_key_exists("complexity", $this->_propDict)) { + if (is_a($this->_propDict["complexity"], "\Microsoft\Graph\Model\PayloadComplexity") || is_null($this->_propDict["complexity"])) { + return $this->_propDict["complexity"]; + } else { + $this->_propDict["complexity"] = new PayloadComplexity($this->_propDict["complexity"]); + return $this->_propDict["complexity"]; + } + } + return null; + } + + /** + * Sets the complexity + * + * @param PayloadComplexity $val The complexity + * + * @return Payload + */ + public function setComplexity($val) + { + $this->_propDict["complexity"] = $val; + return $this; + } + + /** + * Gets the createdBy + * + * @return EmailIdentity|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\EmailIdentity") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new EmailIdentity($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * + * @param EmailIdentity $val The createdBy + * + * @return Payload + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return Payload + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return Payload + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the detail + * + * @return PayloadDetail|null The detail + */ + public function getDetail() + { + if (array_key_exists("detail", $this->_propDict)) { + if (is_a($this->_propDict["detail"], "\Microsoft\Graph\Model\PayloadDetail") || is_null($this->_propDict["detail"])) { + return $this->_propDict["detail"]; + } else { + $this->_propDict["detail"] = new PayloadDetail($this->_propDict["detail"]); + return $this->_propDict["detail"]; + } + } + return null; + } + + /** + * Sets the detail + * + * @param PayloadDetail $val The detail + * + * @return Payload + */ + public function setDetail($val) + { + $this->_propDict["detail"] = $val; + return $this; + } + + /** + * Gets the displayName + * + * @return string|null The displayName + */ + public function getDisplayName() + { + if (array_key_exists("displayName", $this->_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The displayName + * + * @return Payload + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the industry + * + * @return PayloadIndustry|null The industry + */ + public function getIndustry() + { + if (array_key_exists("industry", $this->_propDict)) { + if (is_a($this->_propDict["industry"], "\Microsoft\Graph\Model\PayloadIndustry") || is_null($this->_propDict["industry"])) { + return $this->_propDict["industry"]; + } else { + $this->_propDict["industry"] = new PayloadIndustry($this->_propDict["industry"]); + return $this->_propDict["industry"]; + } + } + return null; + } + + /** + * Sets the industry + * + * @param PayloadIndustry $val The industry + * + * @return Payload + */ + public function setIndustry($val) + { + $this->_propDict["industry"] = $val; + return $this; + } + + /** + * Gets the isAutomated + * + * @return bool|null The isAutomated + */ + public function getIsAutomated() + { + if (array_key_exists("isAutomated", $this->_propDict)) { + return $this->_propDict["isAutomated"]; + } else { + return null; + } + } + + /** + * Sets the isAutomated + * + * @param bool $val The isAutomated + * + * @return Payload + */ + public function setIsAutomated($val) + { + $this->_propDict["isAutomated"] = boolval($val); + return $this; + } + + /** + * Gets the isControversial + * + * @return bool|null The isControversial + */ + public function getIsControversial() + { + if (array_key_exists("isControversial", $this->_propDict)) { + return $this->_propDict["isControversial"]; + } else { + return null; + } + } + + /** + * Sets the isControversial + * + * @param bool $val The isControversial + * + * @return Payload + */ + public function setIsControversial($val) + { + $this->_propDict["isControversial"] = boolval($val); + return $this; + } + + /** + * Gets the isCurrentEvent + * + * @return bool|null The isCurrentEvent + */ + public function getIsCurrentEvent() + { + if (array_key_exists("isCurrentEvent", $this->_propDict)) { + return $this->_propDict["isCurrentEvent"]; + } else { + return null; + } + } + + /** + * Sets the isCurrentEvent + * + * @param bool $val The isCurrentEvent + * + * @return Payload + */ + public function setIsCurrentEvent($val) + { + $this->_propDict["isCurrentEvent"] = boolval($val); + return $this; + } + + /** + * Gets the language + * + * @return string|null The language + */ + public function getLanguage() + { + if (array_key_exists("language", $this->_propDict)) { + return $this->_propDict["language"]; + } else { + return null; + } + } + + /** + * Sets the language + * + * @param string $val The language + * + * @return Payload + */ + public function setLanguage($val) + { + $this->_propDict["language"] = $val; + return $this; + } + + /** + * Gets the lastModifiedBy + * + * @return EmailIdentity|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\EmailIdentity") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new EmailIdentity($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * + * @param EmailIdentity $val The lastModifiedBy + * + * @return Payload + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return Payload + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the payloadTags + * + * @return array|null The payloadTags + */ + public function getPayloadTags() + { + if (array_key_exists("payloadTags", $this->_propDict)) { + return $this->_propDict["payloadTags"]; + } else { + return null; + } + } + + /** + * Sets the payloadTags + * + * @param string[] $val The payloadTags + * + * @return Payload + */ + public function setPayloadTags($val) + { + $this->_propDict["payloadTags"] = $val; + return $this; + } + + /** + * Gets the platform + * + * @return PayloadDeliveryPlatform|null The platform + */ + public function getPlatform() + { + if (array_key_exists("platform", $this->_propDict)) { + if (is_a($this->_propDict["platform"], "\Microsoft\Graph\Model\PayloadDeliveryPlatform") || is_null($this->_propDict["platform"])) { + return $this->_propDict["platform"]; + } else { + $this->_propDict["platform"] = new PayloadDeliveryPlatform($this->_propDict["platform"]); + return $this->_propDict["platform"]; + } + } + return null; + } + + /** + * Sets the platform + * + * @param PayloadDeliveryPlatform $val The platform + * + * @return Payload + */ + public function setPlatform($val) + { + $this->_propDict["platform"] = $val; + return $this; + } + + /** + * Gets the predictedCompromiseRate + * + * @return float|null The predictedCompromiseRate + */ + public function getPredictedCompromiseRate() + { + if (array_key_exists("predictedCompromiseRate", $this->_propDict)) { + return $this->_propDict["predictedCompromiseRate"]; + } else { + return null; + } + } + + /** + * Sets the predictedCompromiseRate + * + * @param float $val The predictedCompromiseRate + * + * @return Payload + */ + public function setPredictedCompromiseRate($val) + { + $this->_propDict["predictedCompromiseRate"] = floatval($val); + return $this; + } + + /** + * Gets the simulationAttackType + * + * @return SimulationAttackType|null The simulationAttackType + */ + public function getSimulationAttackType() + { + if (array_key_exists("simulationAttackType", $this->_propDict)) { + if (is_a($this->_propDict["simulationAttackType"], "\Microsoft\Graph\Model\SimulationAttackType") || is_null($this->_propDict["simulationAttackType"])) { + return $this->_propDict["simulationAttackType"]; + } else { + $this->_propDict["simulationAttackType"] = new SimulationAttackType($this->_propDict["simulationAttackType"]); + return $this->_propDict["simulationAttackType"]; + } + } + return null; + } + + /** + * Sets the simulationAttackType + * + * @param SimulationAttackType $val The simulationAttackType + * + * @return Payload + */ + public function setSimulationAttackType($val) + { + $this->_propDict["simulationAttackType"] = $val; + return $this; + } + + /** + * Gets the source + * + * @return SimulationContentSource|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + if (is_a($this->_propDict["source"], "\Microsoft\Graph\Model\SimulationContentSource") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new SimulationContentSource($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * + * @param SimulationContentSource $val The source + * + * @return Payload + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + + /** + * Gets the status + * + * @return SimulationContentStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\SimulationContentStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new SimulationContentStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * + * @param SimulationContentStatus $val The status + * + * @return Payload + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + + /** + * Gets the technique + * + * @return SimulationAttackTechnique|null The technique + */ + public function getTechnique() + { + if (array_key_exists("technique", $this->_propDict)) { + if (is_a($this->_propDict["technique"], "\Microsoft\Graph\Model\SimulationAttackTechnique") || is_null($this->_propDict["technique"])) { + return $this->_propDict["technique"]; + } else { + $this->_propDict["technique"] = new SimulationAttackTechnique($this->_propDict["technique"]); + return $this->_propDict["technique"]; + } + } + return null; + } + + /** + * Sets the technique + * + * @param SimulationAttackTechnique $val The technique + * + * @return Payload + */ + public function setTechnique($val) + { + $this->_propDict["technique"] = $val; + return $this; + } + + /** + * Gets the theme + * + * @return PayloadTheme|null The theme + */ + public function getTheme() + { + if (array_key_exists("theme", $this->_propDict)) { + if (is_a($this->_propDict["theme"], "\Microsoft\Graph\Model\PayloadTheme") || is_null($this->_propDict["theme"])) { + return $this->_propDict["theme"]; + } else { + $this->_propDict["theme"] = new PayloadTheme($this->_propDict["theme"]); + return $this->_propDict["theme"]; + } + } + return null; + } + + /** + * Sets the theme + * + * @param PayloadTheme $val The theme + * + * @return Payload + */ + public function setTheme($val) + { + $this->_propDict["theme"] = $val; + return $this; + } + +} diff --git a/src/Model/PayloadBrand.php b/src/Model/PayloadBrand.php new file mode 100644 index 00000000000..10ce0a1d3c8 --- /dev/null +++ b/src/Model/PayloadBrand.php @@ -0,0 +1,53 @@ +_propDict)) { + if (is_a($this->_propDict["coachmarkLocation"], "\Microsoft\Graph\Model\CoachmarkLocation") || is_null($this->_propDict["coachmarkLocation"])) { + return $this->_propDict["coachmarkLocation"]; + } else { + $this->_propDict["coachmarkLocation"] = new CoachmarkLocation($this->_propDict["coachmarkLocation"]); + return $this->_propDict["coachmarkLocation"]; + } + } + return null; + } + + /** + * Sets the coachmarkLocation + * + * @param CoachmarkLocation $val The value to assign to the coachmarkLocation + * + * @return PayloadCoachmark The PayloadCoachmark + */ + public function setCoachmarkLocation($val) + { + $this->_propDict["coachmarkLocation"] = $val; + return $this; + } + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The value of the description + * + * @return PayloadCoachmark + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + /** + * Gets the indicator + * + * @return string|null The indicator + */ + public function getIndicator() + { + if (array_key_exists("indicator", $this->_propDict)) { + return $this->_propDict["indicator"]; + } else { + return null; + } + } + + /** + * Sets the indicator + * + * @param string $val The value of the indicator + * + * @return PayloadCoachmark + */ + public function setIndicator($val) + { + $this->_propDict["indicator"] = $val; + return $this; + } + /** + * Gets the isValid + * + * @return bool|null The isValid + */ + public function getIsValid() + { + if (array_key_exists("isValid", $this->_propDict)) { + return $this->_propDict["isValid"]; + } else { + return null; + } + } + + /** + * Sets the isValid + * + * @param bool $val The value of the isValid + * + * @return PayloadCoachmark + */ + public function setIsValid($val) + { + $this->_propDict["isValid"] = $val; + return $this; + } + /** + * Gets the language + * + * @return string|null The language + */ + public function getLanguage() + { + if (array_key_exists("language", $this->_propDict)) { + return $this->_propDict["language"]; + } else { + return null; + } + } + + /** + * Sets the language + * + * @param string $val The value of the language + * + * @return PayloadCoachmark + */ + public function setLanguage($val) + { + $this->_propDict["language"] = $val; + return $this; + } + /** + * Gets the order + * + * @return string|null The order + */ + public function getOrder() + { + if (array_key_exists("order", $this->_propDict)) { + return $this->_propDict["order"]; + } else { + return null; + } + } + + /** + * Sets the order + * + * @param string $val The value of the order + * + * @return PayloadCoachmark + */ + public function setOrder($val) + { + $this->_propDict["order"] = $val; + return $this; + } +} diff --git a/src/Model/PayloadComplexity.php b/src/Model/PayloadComplexity.php new file mode 100644 index 00000000000..00895252ffc --- /dev/null +++ b/src/Model/PayloadComplexity.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["coachmarks"], "\Microsoft\Graph\Model\PayloadCoachmark") || is_null($this->_propDict["coachmarks"])) { + return $this->_propDict["coachmarks"]; + } else { + $this->_propDict["coachmarks"] = new PayloadCoachmark($this->_propDict["coachmarks"]); + return $this->_propDict["coachmarks"]; + } + } + return null; + } + + /** + * Sets the coachmarks + * + * @param PayloadCoachmark $val The value to assign to the coachmarks + * + * @return PayloadDetail The PayloadDetail + */ + public function setCoachmarks($val) + { + $this->_propDict["coachmarks"] = $val; + return $this; + } + /** + * Gets the content + * + * @return string|null The content + */ + public function getContent() + { + if (array_key_exists("content", $this->_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * + * @param string $val The value of the content + * + * @return PayloadDetail + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + /** + * Gets the phishingUrl + * + * @return string|null The phishingUrl + */ + public function getPhishingUrl() + { + if (array_key_exists("phishingUrl", $this->_propDict)) { + return $this->_propDict["phishingUrl"]; + } else { + return null; + } + } + + /** + * Sets the phishingUrl + * + * @param string $val The value of the phishingUrl + * + * @return PayloadDetail + */ + public function setPhishingUrl($val) + { + $this->_propDict["phishingUrl"] = $val; + return $this; + } +} diff --git a/src/Model/PayloadIndustry.php b/src/Model/PayloadIndustry.php new file mode 100644 index 00000000000..4cf6a250370 --- /dev/null +++ b/src/Model/PayloadIndustry.php @@ -0,0 +1,54 @@ +_propDict)) { + if (is_a($this->_propDict["deliveryPreference"], "\Microsoft\Graph\Model\NotificationDeliveryPreference") || is_null($this->_propDict["deliveryPreference"])) { + return $this->_propDict["deliveryPreference"]; + } else { + $this->_propDict["deliveryPreference"] = new NotificationDeliveryPreference($this->_propDict["deliveryPreference"]); + return $this->_propDict["deliveryPreference"]; + } + } + return null; + } + + /** + * Sets the deliveryPreference + * + * @param NotificationDeliveryPreference $val The value to assign to the deliveryPreference + * + * @return PositiveReinforcementNotification The PositiveReinforcementNotification + */ + public function setDeliveryPreference($val) + { + $this->_propDict["deliveryPreference"] = $val; + return $this; + } +} diff --git a/src/Model/Presence.php b/src/Model/Presence.php index 08ecdbd1dff..f4358e153e7 100644 --- a/src/Model/Presence.php +++ b/src/Model/Presence.php @@ -84,6 +84,7 @@ public function setAvailability($val) /** * Gets the statusMessage + * The presence status message of a user. * * @return PresenceStatusMessage|null The statusMessage */ @@ -102,6 +103,7 @@ public function getStatusMessage() /** * Sets the statusMessage + * The presence status message of a user. * * @param PresenceStatusMessage $val The statusMessage * diff --git a/src/Model/PresenceStatusMessage.php b/src/Model/PresenceStatusMessage.php index 28ee8f927b3..07db2aeb867 100644 --- a/src/Model/PresenceStatusMessage.php +++ b/src/Model/PresenceStatusMessage.php @@ -26,6 +26,7 @@ class PresenceStatusMessage extends Entity /** * Gets the expiryDateTime + * Time in which the status message expires.If not provided, the status message doesn't expire.expiryDateTime.dateTime shouldn't include time zone.expiryDateTime isn't available when you request the presence of another user. * * @return DateTimeTimeZone|null The expiryDateTime */ @@ -44,6 +45,7 @@ public function getExpiryDateTime() /** * Sets the expiryDateTime + * Time in which the status message expires.If not provided, the status message doesn't expire.expiryDateTime.dateTime shouldn't include time zone.expiryDateTime isn't available when you request the presence of another user. * * @param DateTimeTimeZone $val The value to assign to the expiryDateTime * @@ -57,6 +59,7 @@ public function setExpiryDateTime($val) /** * Gets the message + * Status message item. The only supported format currently is message.contentType = 'text'. * * @return ItemBody|null The message */ @@ -75,6 +78,7 @@ public function getMessage() /** * Sets the message + * Status message item. The only supported format currently is message.contentType = 'text'. * * @param ItemBody $val The value to assign to the message * @@ -88,6 +92,7 @@ public function setMessage($val) /** * Gets the publishedDateTime + * Time in which the status message was published.Read-only.publishedDateTime isn't available when you request the presence of another user. * * @return \DateTime|null The publishedDateTime */ @@ -106,6 +111,7 @@ public function getPublishedDateTime() /** * Sets the publishedDateTime + * Time in which the status message was published.Read-only.publishedDateTime isn't available when you request the presence of another user. * * @param \DateTime $val The value to assign to the publishedDateTime * diff --git a/src/Model/ProvisioningErrorInfo.php b/src/Model/ProvisioningErrorInfo.php index f80692e608b..0e3df26358d 100644 --- a/src/Model/ProvisioningErrorInfo.php +++ b/src/Model/ProvisioningErrorInfo.php @@ -25,7 +25,7 @@ class ProvisioningErrorInfo extends Entity { /** * Gets the additionalDetails - * Additional details in case of error. + * Additional details if there's error. * * @return string|null The additionalDetails */ @@ -40,7 +40,7 @@ public function getAdditionalDetails() /** * Sets the additionalDetails - * Additional details in case of error. + * Additional details if there's error. * * @param string $val The value of the additionalDetails * diff --git a/src/Model/RubricLevel.php b/src/Model/RubricLevel.php index 5a40227e738..b006d026da6 100644 --- a/src/Model/RubricLevel.php +++ b/src/Model/RubricLevel.php @@ -87,7 +87,7 @@ public function setDisplayName($val) /** * Gets the grading - * Null if this is a no-points rubric; educationAssignmentPointsGradeType if it is a points rubric. + * Null if this is a no-points rubric; educationAssignmentPointsGradeType if it's a points rubric. * * @return EducationAssignmentGradeType|null The grading */ @@ -106,7 +106,7 @@ public function getGrading() /** * Sets the grading - * Null if this is a no-points rubric; educationAssignmentPointsGradeType if it is a points rubric. + * Null if this is a no-points rubric; educationAssignmentPointsGradeType if it's a points rubric. * * @param EducationAssignmentGradeType $val The value to assign to the grading * diff --git a/src/Model/SearchAlterationOptions.php b/src/Model/SearchAlterationOptions.php index 7157a5f9201..4ca2b0323fb 100644 --- a/src/Model/SearchAlterationOptions.php +++ b/src/Model/SearchAlterationOptions.php @@ -25,7 +25,7 @@ class SearchAlterationOptions extends Entity { /** * Gets the enableModification - * Indicates whether spelling modifications are enabled. If enabled, the user will get the search results for the corrected query in case of no results for the original query with typos. The response will also include the spelling modification information in the queryAlterationResponse property. Optional. + * Indicates whether spelling modifications are enabled. If enabled, the user gets the search results for the corrected query if there were no results for the original query with typos. The response will also include the spelling modification information in the queryAlterationResponse property. Optional. * * @return bool|null The enableModification */ @@ -40,7 +40,7 @@ public function getEnableModification() /** * Sets the enableModification - * Indicates whether spelling modifications are enabled. If enabled, the user will get the search results for the corrected query in case of no results for the original query with typos. The response will also include the spelling modification information in the queryAlterationResponse property. Optional. + * Indicates whether spelling modifications are enabled. If enabled, the user gets the search results for the corrected query if there were no results for the original query with typos. The response will also include the spelling modification information in the queryAlterationResponse property. Optional. * * @param bool $val The value of the enableModification * @@ -53,7 +53,7 @@ public function setEnableModification($val) } /** * Gets the enableSuggestion - * Indicates whether spelling suggestions are enabled. If enabled, the user will get the search results for the original search query and suggestions for spelling correction in the queryAlterationResponse property of the response for the typos in the query. Optional. + * Indicates whether spelling suggestions are enabled. If enabled, the user gets the search results for the original search query and suggestions for spelling correction in the queryAlterationResponse property of the response for the typos in the query. Optional. * * @return bool|null The enableSuggestion */ @@ -68,7 +68,7 @@ public function getEnableSuggestion() /** * Sets the enableSuggestion - * Indicates whether spelling suggestions are enabled. If enabled, the user will get the search results for the original search query and suggestions for spelling correction in the queryAlterationResponse property of the response for the typos in the query. Optional. + * Indicates whether spelling suggestions are enabled. If enabled, the user gets the search results for the original search query and suggestions for spelling correction in the queryAlterationResponse property of the response for the typos in the query. Optional. * * @param bool $val The value of the enableSuggestion * diff --git a/src/Model/SearchHitsContainer.php b/src/Model/SearchHitsContainer.php index 4b6976aeb59..5ebe06886f7 100644 --- a/src/Model/SearchHitsContainer.php +++ b/src/Model/SearchHitsContainer.php @@ -117,7 +117,7 @@ public function setMoreResultsAvailable($val) } /** * Gets the total - * The total number of results. Note this is not the number of results on the page, but the total number of results satisfying the query. + * The total number of results. Note this isn't the number of results on the page, but the total number of results satisfying the query. * * @return int|null The total */ @@ -132,7 +132,7 @@ public function getTotal() /** * Sets the total - * The total number of results. Note this is not the number of results on the page, but the total number of results satisfying the query. + * The total number of results. Note this isn't the number of results on the page, but the total number of results satisfying the query. * * @param int $val The value of the total * diff --git a/src/Model/SelfServiceSignUpAuthenticationFlowConfiguration.php b/src/Model/SelfServiceSignUpAuthenticationFlowConfiguration.php index 796e922739c..2c59e8c6358 100644 --- a/src/Model/SelfServiceSignUpAuthenticationFlowConfiguration.php +++ b/src/Model/SelfServiceSignUpAuthenticationFlowConfiguration.php @@ -25,7 +25,7 @@ class SelfServiceSignUpAuthenticationFlowConfiguration extends Entity { /** * Gets the isEnabled - * Indicates whether self-service sign-up flow is enabled or disabled. The default value is false. This property is not a key. Required. + * Indicates whether self-service sign-up flow is enabled or disabled. The default value is false. This property isn't a key. Required. * * @return bool|null The isEnabled */ @@ -40,7 +40,7 @@ public function getIsEnabled() /** * Sets the isEnabled - * Indicates whether self-service sign-up flow is enabled or disabled. The default value is false. This property is not a key. Required. + * Indicates whether self-service sign-up flow is enabled or disabled. The default value is false. This property isn't a key. Required. * * @param bool $val The value of the isEnabled * diff --git a/src/Model/Simulation.php b/src/Model/Simulation.php index f5ed4f81cab..3549d8393fe 100644 --- a/src/Model/Simulation.php +++ b/src/Model/Simulation.php @@ -276,6 +276,126 @@ public function setDisplayName($val) return $this; } + /** + * Gets the durationInDays + * + * @return int|null The durationInDays + */ + public function getDurationInDays() + { + if (array_key_exists("durationInDays", $this->_propDict)) { + return $this->_propDict["durationInDays"]; + } else { + return null; + } + } + + /** + * Sets the durationInDays + * + * @param int $val The durationInDays + * + * @return Simulation + */ + public function setDurationInDays($val) + { + $this->_propDict["durationInDays"] = intval($val); + return $this; + } + + /** + * Gets the endUserNotificationSetting + * + * @return EndUserNotificationSetting|null The endUserNotificationSetting + */ + public function getEndUserNotificationSetting() + { + if (array_key_exists("endUserNotificationSetting", $this->_propDict)) { + if (is_a($this->_propDict["endUserNotificationSetting"], "\Microsoft\Graph\Model\EndUserNotificationSetting") || is_null($this->_propDict["endUserNotificationSetting"])) { + return $this->_propDict["endUserNotificationSetting"]; + } else { + $this->_propDict["endUserNotificationSetting"] = new EndUserNotificationSetting($this->_propDict["endUserNotificationSetting"]); + return $this->_propDict["endUserNotificationSetting"]; + } + } + return null; + } + + /** + * Sets the endUserNotificationSetting + * + * @param EndUserNotificationSetting $val The endUserNotificationSetting + * + * @return Simulation + */ + public function setEndUserNotificationSetting($val) + { + $this->_propDict["endUserNotificationSetting"] = $val; + return $this; + } + + /** + * Gets the excludedAccountTarget + * + * @return AccountTargetContent|null The excludedAccountTarget + */ + public function getExcludedAccountTarget() + { + if (array_key_exists("excludedAccountTarget", $this->_propDict)) { + if (is_a($this->_propDict["excludedAccountTarget"], "\Microsoft\Graph\Model\AccountTargetContent") || is_null($this->_propDict["excludedAccountTarget"])) { + return $this->_propDict["excludedAccountTarget"]; + } else { + $this->_propDict["excludedAccountTarget"] = new AccountTargetContent($this->_propDict["excludedAccountTarget"]); + return $this->_propDict["excludedAccountTarget"]; + } + } + return null; + } + + /** + * Sets the excludedAccountTarget + * + * @param AccountTargetContent $val The excludedAccountTarget + * + * @return Simulation + */ + public function setExcludedAccountTarget($val) + { + $this->_propDict["excludedAccountTarget"] = $val; + return $this; + } + + /** + * Gets the includedAccountTarget + * + * @return AccountTargetContent|null The includedAccountTarget + */ + public function getIncludedAccountTarget() + { + if (array_key_exists("includedAccountTarget", $this->_propDict)) { + if (is_a($this->_propDict["includedAccountTarget"], "\Microsoft\Graph\Model\AccountTargetContent") || is_null($this->_propDict["includedAccountTarget"])) { + return $this->_propDict["includedAccountTarget"]; + } else { + $this->_propDict["includedAccountTarget"] = new AccountTargetContent($this->_propDict["includedAccountTarget"]); + return $this->_propDict["includedAccountTarget"]; + } + } + return null; + } + + /** + * Sets the includedAccountTarget + * + * @param AccountTargetContent $val The includedAccountTarget + * + * @return Simulation + */ + public function setIncludedAccountTarget($val) + { + $this->_propDict["includedAccountTarget"] = $val; + return $this; + } + /** * Gets the isAutomated * Flag that represents if the attack simulation and training campaign was created from a simulation automation flow. Supports $filter and $orderby. @@ -404,6 +524,37 @@ public function setLaunchDateTime($val) return $this; } + /** + * Gets the oAuthConsentAppDetail + * + * @return OAuthConsentAppDetail|null The oAuthConsentAppDetail + */ + public function getOAuthConsentAppDetail() + { + if (array_key_exists("oAuthConsentAppDetail", $this->_propDict)) { + if (is_a($this->_propDict["oAuthConsentAppDetail"], "\Microsoft\Graph\Model\OAuthConsentAppDetail") || is_null($this->_propDict["oAuthConsentAppDetail"])) { + return $this->_propDict["oAuthConsentAppDetail"]; + } else { + $this->_propDict["oAuthConsentAppDetail"] = new OAuthConsentAppDetail($this->_propDict["oAuthConsentAppDetail"]); + return $this->_propDict["oAuthConsentAppDetail"]; + } + } + return null; + } + + /** + * Sets the oAuthConsentAppDetail + * + * @param OAuthConsentAppDetail $val The oAuthConsentAppDetail + * + * @return Simulation + */ + public function setOAuthConsentAppDetail($val) + { + $this->_propDict["oAuthConsentAppDetail"] = $val; + return $this; + } + /** * Gets the payloadDeliveryPlatform * Method of delivery of the phishing payload used in the attack simulation and training campaign. Possible values are: unknown, sms, email, teams, unknownFutureValue. @@ -503,4 +654,128 @@ public function setStatus($val) return $this; } + /** + * Gets the trainingSetting + * + * @return TrainingSetting|null The trainingSetting + */ + public function getTrainingSetting() + { + if (array_key_exists("trainingSetting", $this->_propDict)) { + if (is_a($this->_propDict["trainingSetting"], "\Microsoft\Graph\Model\TrainingSetting") || is_null($this->_propDict["trainingSetting"])) { + return $this->_propDict["trainingSetting"]; + } else { + $this->_propDict["trainingSetting"] = new TrainingSetting($this->_propDict["trainingSetting"]); + return $this->_propDict["trainingSetting"]; + } + } + return null; + } + + /** + * Sets the trainingSetting + * + * @param TrainingSetting $val The trainingSetting + * + * @return Simulation + */ + public function setTrainingSetting($val) + { + $this->_propDict["trainingSetting"] = $val; + return $this; + } + + /** + * Gets the landingPage + * + * @return LandingPage|null The landingPage + */ + public function getLandingPage() + { + if (array_key_exists("landingPage", $this->_propDict)) { + if (is_a($this->_propDict["landingPage"], "\Microsoft\Graph\Model\LandingPage") || is_null($this->_propDict["landingPage"])) { + return $this->_propDict["landingPage"]; + } else { + $this->_propDict["landingPage"] = new LandingPage($this->_propDict["landingPage"]); + return $this->_propDict["landingPage"]; + } + } + return null; + } + + /** + * Sets the landingPage + * + * @param LandingPage $val The landingPage + * + * @return Simulation + */ + public function setLandingPage($val) + { + $this->_propDict["landingPage"] = $val; + return $this; + } + + /** + * Gets the loginPage + * + * @return LoginPage|null The loginPage + */ + public function getLoginPage() + { + if (array_key_exists("loginPage", $this->_propDict)) { + if (is_a($this->_propDict["loginPage"], "\Microsoft\Graph\Model\LoginPage") || is_null($this->_propDict["loginPage"])) { + return $this->_propDict["loginPage"]; + } else { + $this->_propDict["loginPage"] = new LoginPage($this->_propDict["loginPage"]); + return $this->_propDict["loginPage"]; + } + } + return null; + } + + /** + * Sets the loginPage + * + * @param LoginPage $val The loginPage + * + * @return Simulation + */ + public function setLoginPage($val) + { + $this->_propDict["loginPage"] = $val; + return $this; + } + + /** + * Gets the payload + * + * @return Payload|null The payload + */ + public function getPayload() + { + if (array_key_exists("payload", $this->_propDict)) { + if (is_a($this->_propDict["payload"], "\Microsoft\Graph\Model\Payload") || is_null($this->_propDict["payload"])) { + return $this->_propDict["payload"]; + } else { + $this->_propDict["payload"] = new Payload($this->_propDict["payload"]); + return $this->_propDict["payload"]; + } + } + return null; + } + + /** + * Sets the payload + * + * @param Payload $val The payload + * + * @return Simulation + */ + public function setPayload($val) + { + $this->_propDict["payload"] = $val; + return $this; + } + } diff --git a/src/Model/SimulationContentSource.php b/src/Model/SimulationContentSource.php new file mode 100644 index 00000000000..923600c8b5a --- /dev/null +++ b/src/Model/SimulationContentSource.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["targettedUserType"], "\Microsoft\Graph\Model\TargettedUserType") || is_null($this->_propDict["targettedUserType"])) { + return $this->_propDict["targettedUserType"]; + } else { + $this->_propDict["targettedUserType"] = new TargettedUserType($this->_propDict["targettedUserType"]); + return $this->_propDict["targettedUserType"]; + } + } + return null; + } + + /** + * Sets the targettedUserType + * + * @param TargettedUserType $val The value to assign to the targettedUserType + * + * @return SimulationNotification The SimulationNotification + */ + public function setTargettedUserType($val) + { + $this->_propDict["targettedUserType"] = $val; + return $this; + } +} diff --git a/src/Model/SubscribedSku.php b/src/Model/SubscribedSku.php index 218167aa7be..28b81cd0cc9 100644 --- a/src/Model/SubscribedSku.php +++ b/src/Model/SubscribedSku.php @@ -113,7 +113,7 @@ public function setAppliesTo($val) /** * Gets the capabilityStatus - * Enabled indicates that the prepaidUnits property has at least one unit that is enabled. LockedOut indicates that the customer cancelled their subscription. Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. + * Enabled indicates that the prepaidUnits property has at least one unit that is enabled. LockedOut indicates that the customer canceled their subscription. Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. * * @return string|null The capabilityStatus */ @@ -128,7 +128,7 @@ public function getCapabilityStatus() /** * Sets the capabilityStatus - * Enabled indicates that the prepaidUnits property has at least one unit that is enabled. LockedOut indicates that the customer cancelled their subscription. Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. + * Enabled indicates that the prepaidUnits property has at least one unit that is enabled. LockedOut indicates that the customer canceled their subscription. Possible values are: Enabled, Warning, Suspended, Deleted, LockedOut. * * @param string $val The capabilityStatus * diff --git a/src/Model/Subscription.php b/src/Model/Subscription.php index 9fc39c42fb2..c10e9a2b110 100644 --- a/src/Model/Subscription.php +++ b/src/Model/Subscription.php @@ -84,7 +84,7 @@ public function setChangeType($val) /** * Gets the clientState - * Required. Specifies the value of the clientState property sent by the service in each change notification. The maximum length is 128 characters. The client can check that the change notification came from the service by comparing the value of the clientState property sent with the subscription with the value of the clientState property received with each change notification. + * Optional. Specifies the value of the clientState property sent by the service in each change notification. The maximum length is 128 characters. The client can check that the change notification came from the service by comparing the value of the clientState property sent with the subscription with the value of the clientState property received with each change notification. * * @return string|null The clientState */ @@ -99,7 +99,7 @@ public function getClientState() /** * Sets the clientState - * Required. Specifies the value of the clientState property sent by the service in each change notification. The maximum length is 128 characters. The client can check that the change notification came from the service by comparing the value of the clientState property sent with the subscription with the value of the clientState property received with each change notification. + * Optional. Specifies the value of the clientState property sent by the service in each change notification. The maximum length is 128 characters. The client can check that the change notification came from the service by comparing the value of the clientState property sent with the subscription with the value of the clientState property received with each change notification. * * @param string $val The clientState * diff --git a/src/Model/Synchronization.php b/src/Model/Synchronization.php index a17488d4a1d..1c9059705c0 100644 --- a/src/Model/Synchronization.php +++ b/src/Model/Synchronization.php @@ -87,7 +87,7 @@ public function setJobs($val) /** * Gets the templates - * Pre-configured synchronization settings for a particular application. + * Preconfigured synchronization settings for a particular application. * * @return array|null The templates */ @@ -102,7 +102,7 @@ public function getTemplates() /** * Sets the templates - * Pre-configured synchronization settings for a particular application. + * Preconfigured synchronization settings for a particular application. * * @param SynchronizationTemplate[] $val The templates * diff --git a/src/Model/SynchronizationJobRestartCriteria.php b/src/Model/SynchronizationJobRestartCriteria.php index 82ddd7347aa..11693da52c7 100644 --- a/src/Model/SynchronizationJobRestartCriteria.php +++ b/src/Model/SynchronizationJobRestartCriteria.php @@ -26,7 +26,7 @@ class SynchronizationJobRestartCriteria extends Entity /** * Gets the resetScope - * Comma-separated combination of the following values: None, ConnectorDataStore, Escrows, Watermark, QuarantineState, Full, ForceDeletes. The property can also be empty. None: Starts a paused or quarantined provisioning job. DO NOT USE. Use the Start synchronizationJob API instead.ConnectorDataStore - Clears the underlying cache for all users. DO NOT USE. Contact Microsoft Support for guidance.Escrows - Provisioning failures are marked as escrows and retried. Clearing escrows will stop the service from retrying failures.Watermark - Removing the watermark causes the service to re-evaluate all the users again, rather than just processing changes.QuarantineState - Temporarily lifts the quarantine.Use Full if you want all of the options.ForceDeletes - Forces the system to delete the pending deleted users when using the accidental deletions prevention feature and the deletion threshold is exceeded. Leaving this property empty emulates the Restart provisioning option in the Microsoft Entra admin center. It is similar to setting the resetScope to include QuarantineState, Watermark, and Escrows. This option meets most customer needs. + * Comma-separated combination of the following values: None, ConnectorDataStore, Escrows, Watermark, QuarantineState, Full, ForceDeletes. The property can also be empty. None: Starts a paused or quarantined provisioning job. DO NOT USE. Use the Start synchronizationJob API instead.ConnectorDataStore - Clears the underlying cache for all users. DO NOT USE. Contact Microsoft Support for guidance.Escrows - Provisioning failures are marked as escrows and retried. Clearing escrows will stop the service from retrying failures.Watermark - Removing the watermark causes the service to reevaluate all the users again, rather than just processing changes.QuarantineState - Temporarily lifts the quarantine.Use Full if you want all of the options.ForceDeletes - Forces the system to delete the pending deleted users when using the accidental deletions prevention feature and the deletion threshold is exceeded. Leaving this property empty emulates the Restart provisioning option in the Microsoft Entra admin center. It is similar to setting the resetScope to include QuarantineState, Watermark, and Escrows. This option meets most customer needs. * * @return SynchronizationJobRestartScope|null The resetScope */ @@ -45,7 +45,7 @@ public function getResetScope() /** * Sets the resetScope - * Comma-separated combination of the following values: None, ConnectorDataStore, Escrows, Watermark, QuarantineState, Full, ForceDeletes. The property can also be empty. None: Starts a paused or quarantined provisioning job. DO NOT USE. Use the Start synchronizationJob API instead.ConnectorDataStore - Clears the underlying cache for all users. DO NOT USE. Contact Microsoft Support for guidance.Escrows - Provisioning failures are marked as escrows and retried. Clearing escrows will stop the service from retrying failures.Watermark - Removing the watermark causes the service to re-evaluate all the users again, rather than just processing changes.QuarantineState - Temporarily lifts the quarantine.Use Full if you want all of the options.ForceDeletes - Forces the system to delete the pending deleted users when using the accidental deletions prevention feature and the deletion threshold is exceeded. Leaving this property empty emulates the Restart provisioning option in the Microsoft Entra admin center. It is similar to setting the resetScope to include QuarantineState, Watermark, and Escrows. This option meets most customer needs. + * Comma-separated combination of the following values: None, ConnectorDataStore, Escrows, Watermark, QuarantineState, Full, ForceDeletes. The property can also be empty. None: Starts a paused or quarantined provisioning job. DO NOT USE. Use the Start synchronizationJob API instead.ConnectorDataStore - Clears the underlying cache for all users. DO NOT USE. Contact Microsoft Support for guidance.Escrows - Provisioning failures are marked as escrows and retried. Clearing escrows will stop the service from retrying failures.Watermark - Removing the watermark causes the service to reevaluate all the users again, rather than just processing changes.QuarantineState - Temporarily lifts the quarantine.Use Full if you want all of the options.ForceDeletes - Forces the system to delete the pending deleted users when using the accidental deletions prevention feature and the deletion threshold is exceeded. Leaving this property empty emulates the Restart provisioning option in the Microsoft Entra admin center. It is similar to setting the resetScope to include QuarantineState, Watermark, and Escrows. This option meets most customer needs. * * @param SynchronizationJobRestartScope $val The value to assign to the resetScope * diff --git a/src/Model/SynchronizationRule.php b/src/Model/SynchronizationRule.php index 5f997399c0e..6a5108bac4e 100644 --- a/src/Model/SynchronizationRule.php +++ b/src/Model/SynchronizationRule.php @@ -56,7 +56,7 @@ public function setContainerFilter($val) } /** * Gets the editable - * true if the synchronization rule can be customized; false if this rule is read-only and should not be changed. + * true if the synchronization rule can be customized; false if this rule is read-only and shouldn't be changed. * * @return bool|null The editable */ @@ -71,7 +71,7 @@ public function getEditable() /** * Sets the editable - * true if the synchronization rule can be customized; false if this rule is read-only and should not be changed. + * true if the synchronization rule can be customized; false if this rule is read-only and shouldn't be changed. * * @param bool $val The value of the editable * @@ -144,7 +144,7 @@ public function setId($val) /** * Gets the metadata - * Additional extension properties. Unless instructed explicitly by the support team, metadata values should not be changed. + * Additional extension properties. Unless instructed explicitly by the support team, metadata values shouldn't be changed. * * @return StringKeyStringValuePair|null The metadata */ @@ -163,7 +163,7 @@ public function getMetadata() /** * Sets the metadata - * Additional extension properties. Unless instructed explicitly by the support team, metadata values should not be changed. + * Additional extension properties. Unless instructed explicitly by the support team, metadata values shouldn't be changed. * * @param StringKeyStringValuePair $val The value to assign to the metadata * diff --git a/src/Model/SynchronizationSchedule.php b/src/Model/SynchronizationSchedule.php index a421a015996..bba3a3aa61a 100644 --- a/src/Model/SynchronizationSchedule.php +++ b/src/Model/SynchronizationSchedule.php @@ -26,7 +26,7 @@ class SynchronizationSchedule extends Entity /** * Gets the expiration - * Date and time when this job will expire. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Date and time when this job expires. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @return \DateTime|null The expiration */ @@ -45,7 +45,7 @@ public function getExpiration() /** * Sets the expiration - * Date and time when this job will expire. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Date and time when this job expires. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The value to assign to the expiration * @@ -59,7 +59,7 @@ public function setExpiration($val) /** * Gets the interval - * The interval between synchronization iterations. The value is represented in ISO 8601 format for durations. For example, PT1M represents a period of 1 month. + * The interval between synchronization iterations. The value is represented in ISO 8601 format for durations. For example, PT1M represents a period of one month. * * @return \DateInterval|null The interval */ @@ -78,7 +78,7 @@ public function getInterval() /** * Sets the interval - * The interval between synchronization iterations. The value is represented in ISO 8601 format for durations. For example, PT1M represents a period of 1 month. + * The interval between synchronization iterations. The value is represented in ISO 8601 format for durations. For example, PT1M represents a period of one month. * * @param \DateInterval $val The value to assign to the interval * diff --git a/src/Model/TargettedUserType.php b/src/Model/TargettedUserType.php new file mode 100644 index 00000000000..05d33449b1f --- /dev/null +++ b/src/Model/TargettedUserType.php @@ -0,0 +1,37 @@ +_propDict)) { + if (is_a($this->_propDict["availabilityStatus"], "\Microsoft\Graph\Model\TrainingAvailabilityStatus") || is_null($this->_propDict["availabilityStatus"])) { + return $this->_propDict["availabilityStatus"]; + } else { + $this->_propDict["availabilityStatus"] = new TrainingAvailabilityStatus($this->_propDict["availabilityStatus"]); + return $this->_propDict["availabilityStatus"]; + } + } + return null; + } + + /** + * Sets the availabilityStatus + * + * @param TrainingAvailabilityStatus $val The availabilityStatus + * + * @return Training + */ + public function setAvailabilityStatus($val) + { + $this->_propDict["availabilityStatus"] = $val; + return $this; + } + + /** + * Gets the createdBy + * + * @return EmailIdentity|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\EmailIdentity") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new EmailIdentity($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * + * @param EmailIdentity $val The createdBy + * + * @return Training + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return Training + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return Training + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * + * @return string|null The displayName + */ + public function getDisplayName() + { + if (array_key_exists("displayName", $this->_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The displayName + * + * @return Training + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the durationInMinutes + * + * @return int|null The durationInMinutes + */ + public function getDurationInMinutes() + { + if (array_key_exists("durationInMinutes", $this->_propDict)) { + return $this->_propDict["durationInMinutes"]; + } else { + return null; + } + } + + /** + * Sets the durationInMinutes + * + * @param int $val The durationInMinutes + * + * @return Training + */ + public function setDurationInMinutes($val) + { + $this->_propDict["durationInMinutes"] = intval($val); + return $this; + } + + /** + * Gets the hasEvaluation + * + * @return bool|null The hasEvaluation + */ + public function getHasEvaluation() + { + if (array_key_exists("hasEvaluation", $this->_propDict)) { + return $this->_propDict["hasEvaluation"]; + } else { + return null; + } + } + + /** + * Sets the hasEvaluation + * + * @param bool $val The hasEvaluation + * + * @return Training + */ + public function setHasEvaluation($val) + { + $this->_propDict["hasEvaluation"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedBy + * + * @return EmailIdentity|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\EmailIdentity") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new EmailIdentity($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * + * @param EmailIdentity $val The lastModifiedBy + * + * @return Training + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return Training + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the source + * + * @return SimulationContentSource|null The source + */ + public function getSource() + { + if (array_key_exists("source", $this->_propDict)) { + if (is_a($this->_propDict["source"], "\Microsoft\Graph\Model\SimulationContentSource") || is_null($this->_propDict["source"])) { + return $this->_propDict["source"]; + } else { + $this->_propDict["source"] = new SimulationContentSource($this->_propDict["source"]); + return $this->_propDict["source"]; + } + } + return null; + } + + /** + * Sets the source + * + * @param SimulationContentSource $val The source + * + * @return Training + */ + public function setSource($val) + { + $this->_propDict["source"] = $val; + return $this; + } + + /** + * Gets the supportedLocales + * + * @return array|null The supportedLocales + */ + public function getSupportedLocales() + { + if (array_key_exists("supportedLocales", $this->_propDict)) { + return $this->_propDict["supportedLocales"]; + } else { + return null; + } + } + + /** + * Sets the supportedLocales + * + * @param string[] $val The supportedLocales + * + * @return Training + */ + public function setSupportedLocales($val) + { + $this->_propDict["supportedLocales"] = $val; + return $this; + } + + /** + * Gets the tags + * + * @return array|null The tags + */ + public function getTags() + { + if (array_key_exists("tags", $this->_propDict)) { + return $this->_propDict["tags"]; + } else { + return null; + } + } + + /** + * Sets the tags + * + * @param string[] $val The tags + * + * @return Training + */ + public function setTags($val) + { + $this->_propDict["tags"] = $val; + return $this; + } + + /** + * Gets the type + * + * @return TrainingType|null The type + */ + public function getType() + { + if (array_key_exists("type", $this->_propDict)) { + if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\TrainingType") || is_null($this->_propDict["type"])) { + return $this->_propDict["type"]; + } else { + $this->_propDict["type"] = new TrainingType($this->_propDict["type"]); + return $this->_propDict["type"]; + } + } + return null; + } + + /** + * Sets the type + * + * @param TrainingType $val The type + * + * @return Training + */ + public function setType($val) + { + $this->_propDict["type"] = $val; + return $this; + } + + + /** + * Gets the languageDetails + * + * @return array|null The languageDetails + */ + public function getLanguageDetails() + { + if (array_key_exists("languageDetails", $this->_propDict)) { + return $this->_propDict["languageDetails"]; + } else { + return null; + } + } + + /** + * Sets the languageDetails + * + * @param TrainingLanguageDetail[] $val The languageDetails + * + * @return Training + */ + public function setLanguageDetails($val) + { + $this->_propDict["languageDetails"] = $val; + return $this; + } + +} diff --git a/src/Model/TrainingAssignedTo.php b/src/Model/TrainingAssignedTo.php new file mode 100644 index 00000000000..8a534289bba --- /dev/null +++ b/src/Model/TrainingAssignedTo.php @@ -0,0 +1,40 @@ +_propDict)) { + return $this->_propDict["content"]; + } else { + return null; + } + } + + /** + * Sets the content + * + * @param string $val The content + * + * @return TrainingLanguageDetail + */ + public function setContent($val) + { + $this->_propDict["content"] = $val; + return $this; + } + + /** + * Gets the createdBy + * + * @return EmailIdentity|null The createdBy + */ + public function getCreatedBy() + { + if (array_key_exists("createdBy", $this->_propDict)) { + if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\EmailIdentity") || is_null($this->_propDict["createdBy"])) { + return $this->_propDict["createdBy"]; + } else { + $this->_propDict["createdBy"] = new EmailIdentity($this->_propDict["createdBy"]); + return $this->_propDict["createdBy"]; + } + } + return null; + } + + /** + * Sets the createdBy + * + * @param EmailIdentity $val The createdBy + * + * @return TrainingLanguageDetail + */ + public function setCreatedBy($val) + { + $this->_propDict["createdBy"] = $val; + return $this; + } + + /** + * Gets the createdDateTime + * + * @return \DateTime|null The createdDateTime + */ + public function getCreatedDateTime() + { + if (array_key_exists("createdDateTime", $this->_propDict)) { + if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { + return $this->_propDict["createdDateTime"]; + } else { + $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); + return $this->_propDict["createdDateTime"]; + } + } + return null; + } + + /** + * Sets the createdDateTime + * + * @param \DateTime $val The createdDateTime + * + * @return TrainingLanguageDetail + */ + public function setCreatedDateTime($val) + { + $this->_propDict["createdDateTime"] = $val; + return $this; + } + + /** + * Gets the description + * + * @return string|null The description + */ + public function getDescription() + { + if (array_key_exists("description", $this->_propDict)) { + return $this->_propDict["description"]; + } else { + return null; + } + } + + /** + * Sets the description + * + * @param string $val The description + * + * @return TrainingLanguageDetail + */ + public function setDescription($val) + { + $this->_propDict["description"] = $val; + return $this; + } + + /** + * Gets the displayName + * + * @return string|null The displayName + */ + public function getDisplayName() + { + if (array_key_exists("displayName", $this->_propDict)) { + return $this->_propDict["displayName"]; + } else { + return null; + } + } + + /** + * Sets the displayName + * + * @param string $val The displayName + * + * @return TrainingLanguageDetail + */ + public function setDisplayName($val) + { + $this->_propDict["displayName"] = $val; + return $this; + } + + /** + * Gets the isDefaultLangauge + * + * @return bool|null The isDefaultLangauge + */ + public function getIsDefaultLangauge() + { + if (array_key_exists("isDefaultLangauge", $this->_propDict)) { + return $this->_propDict["isDefaultLangauge"]; + } else { + return null; + } + } + + /** + * Sets the isDefaultLangauge + * + * @param bool $val The isDefaultLangauge + * + * @return TrainingLanguageDetail + */ + public function setIsDefaultLangauge($val) + { + $this->_propDict["isDefaultLangauge"] = boolval($val); + return $this; + } + + /** + * Gets the lastModifiedBy + * + * @return EmailIdentity|null The lastModifiedBy + */ + public function getLastModifiedBy() + { + if (array_key_exists("lastModifiedBy", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\EmailIdentity") || is_null($this->_propDict["lastModifiedBy"])) { + return $this->_propDict["lastModifiedBy"]; + } else { + $this->_propDict["lastModifiedBy"] = new EmailIdentity($this->_propDict["lastModifiedBy"]); + return $this->_propDict["lastModifiedBy"]; + } + } + return null; + } + + /** + * Sets the lastModifiedBy + * + * @param EmailIdentity $val The lastModifiedBy + * + * @return TrainingLanguageDetail + */ + public function setLastModifiedBy($val) + { + $this->_propDict["lastModifiedBy"] = $val; + return $this; + } + + /** + * Gets the lastModifiedDateTime + * + * @return \DateTime|null The lastModifiedDateTime + */ + public function getLastModifiedDateTime() + { + if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { + return $this->_propDict["lastModifiedDateTime"]; + } else { + $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); + return $this->_propDict["lastModifiedDateTime"]; + } + } + return null; + } + + /** + * Sets the lastModifiedDateTime + * + * @param \DateTime $val The lastModifiedDateTime + * + * @return TrainingLanguageDetail + */ + public function setLastModifiedDateTime($val) + { + $this->_propDict["lastModifiedDateTime"] = $val; + return $this; + } + + /** + * Gets the locale + * + * @return string|null The locale + */ + public function getLocale() + { + if (array_key_exists("locale", $this->_propDict)) { + return $this->_propDict["locale"]; + } else { + return null; + } + } + + /** + * Sets the locale + * + * @param string $val The locale + * + * @return TrainingLanguageDetail + */ + public function setLocale($val) + { + $this->_propDict["locale"] = $val; + return $this; + } + +} diff --git a/src/Model/TrainingNotificationSetting.php b/src/Model/TrainingNotificationSetting.php new file mode 100644 index 00000000000..ac40630db21 --- /dev/null +++ b/src/Model/TrainingNotificationSetting.php @@ -0,0 +1,99 @@ +setODataType("#microsoft.graph.trainingNotificationSetting"); + } + + + /** + * Gets the trainingAssignment + * + * @return BaseEndUserNotification|null The trainingAssignment + */ + public function getTrainingAssignment() + { + if (array_key_exists("trainingAssignment", $this->_propDict)) { + if (is_a($this->_propDict["trainingAssignment"], "\Microsoft\Graph\Model\BaseEndUserNotification") || is_null($this->_propDict["trainingAssignment"])) { + return $this->_propDict["trainingAssignment"]; + } else { + $this->_propDict["trainingAssignment"] = new BaseEndUserNotification($this->_propDict["trainingAssignment"]); + return $this->_propDict["trainingAssignment"]; + } + } + return null; + } + + /** + * Sets the trainingAssignment + * + * @param BaseEndUserNotification $val The value to assign to the trainingAssignment + * + * @return TrainingNotificationSetting The TrainingNotificationSetting + */ + public function setTrainingAssignment($val) + { + $this->_propDict["trainingAssignment"] = $val; + return $this; + } + + /** + * Gets the trainingReminder + * + * @return TrainingReminderNotification|null The trainingReminder + */ + public function getTrainingReminder() + { + if (array_key_exists("trainingReminder", $this->_propDict)) { + if (is_a($this->_propDict["trainingReminder"], "\Microsoft\Graph\Model\TrainingReminderNotification") || is_null($this->_propDict["trainingReminder"])) { + return $this->_propDict["trainingReminder"]; + } else { + $this->_propDict["trainingReminder"] = new TrainingReminderNotification($this->_propDict["trainingReminder"]); + return $this->_propDict["trainingReminder"]; + } + } + return null; + } + + /** + * Sets the trainingReminder + * + * @param TrainingReminderNotification $val The value to assign to the trainingReminder + * + * @return TrainingNotificationSetting The TrainingNotificationSetting + */ + public function setTrainingReminder($val) + { + $this->_propDict["trainingReminder"] = $val; + return $this; + } +} diff --git a/src/Model/TrainingReminderNotification.php b/src/Model/TrainingReminderNotification.php new file mode 100644 index 00000000000..37c2b93db52 --- /dev/null +++ b/src/Model/TrainingReminderNotification.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["deliveryFrequency"], "\Microsoft\Graph\Model\NotificationDeliveryFrequency") || is_null($this->_propDict["deliveryFrequency"])) { + return $this->_propDict["deliveryFrequency"]; + } else { + $this->_propDict["deliveryFrequency"] = new NotificationDeliveryFrequency($this->_propDict["deliveryFrequency"]); + return $this->_propDict["deliveryFrequency"]; + } + } + return null; + } + + /** + * Sets the deliveryFrequency + * + * @param NotificationDeliveryFrequency $val The value to assign to the deliveryFrequency + * + * @return TrainingReminderNotification The TrainingReminderNotification + */ + public function setDeliveryFrequency($val) + { + $this->_propDict["deliveryFrequency"] = $val; + return $this; + } +} diff --git a/src/Model/TrainingSetting.php b/src/Model/TrainingSetting.php new file mode 100644 index 00000000000..882a332ea6e --- /dev/null +++ b/src/Model/TrainingSetting.php @@ -0,0 +1,57 @@ +_propDict)) { + if (is_a($this->_propDict["settingType"], "\Microsoft\Graph\Model\TrainingSettingType") || is_null($this->_propDict["settingType"])) { + return $this->_propDict["settingType"]; + } else { + $this->_propDict["settingType"] = new TrainingSettingType($this->_propDict["settingType"]); + return $this->_propDict["settingType"]; + } + } + return null; + } + + /** + * Sets the settingType + * + * @param TrainingSettingType $val The value to assign to the settingType + * + * @return TrainingSetting The TrainingSetting + */ + public function setSettingType($val) + { + $this->_propDict["settingType"] = $val; + return $this; + } +} diff --git a/src/Model/TrainingSettingType.php b/src/Model/TrainingSettingType.php new file mode 100644 index 00000000000..aa06420e4af --- /dev/null +++ b/src/Model/TrainingSettingType.php @@ -0,0 +1,37 @@ +_propDict)) { + return $this->_propDict["childHostPairs"]; + } else { + return null; + } + } + + /** + * Sets the childHostPairs + * The hostPairs that are resources associated with a host, where that host is the parentHost and has an outgoing pairing to a cihldHost. + * + * @param HostPair[] $val The childHostPairs + * + * @return Host + */ + public function setChildHostPairs($val) + { + $this->_propDict["childHostPairs"] = $val; + return $this; + } + + /** * Gets the components * The hostComponents that are associated with this host. @@ -151,6 +181,66 @@ public function setCookies($val) } + /** + * Gets the hostPairs + * The hostPairs that are associated with this host, where this host is either the parentHost or childHost. + * + * @return array|null The hostPairs + */ + public function getHostPairs() + { + if (array_key_exists("hostPairs", $this->_propDict)) { + return $this->_propDict["hostPairs"]; + } else { + return null; + } + } + + /** + * Sets the hostPairs + * The hostPairs that are associated with this host, where this host is either the parentHost or childHost. + * + * @param HostPair[] $val The hostPairs + * + * @return Host + */ + public function setHostPairs($val) + { + $this->_propDict["hostPairs"] = $val; + return $this; + } + + + /** + * Gets the parentHostPairs + * The hostPairs that are associated with a host, where that host is the childHost and has an incoming pairing with a parentHost. + * + * @return array|null The parentHostPairs + */ + public function getParentHostPairs() + { + if (array_key_exists("parentHostPairs", $this->_propDict)) { + return $this->_propDict["parentHostPairs"]; + } else { + return null; + } + } + + /** + * Sets the parentHostPairs + * The hostPairs that are associated with a host, where that host is the childHost and has an incoming pairing with a parentHost. + * + * @param HostPair[] $val The parentHostPairs + * + * @return Host + */ + public function setParentHostPairs($val) + { + $this->_propDict["parentHostPairs"] = $val; + return $this; + } + + /** * Gets the passiveDns * Passive DNS retrieval about this host. @@ -244,6 +334,66 @@ public function setReputation($val) } + /** + * Gets the sslCertificates + * The hostSslCertificates that are associated with this host. + * + * @return array|null The sslCertificates + */ + public function getSslCertificates() + { + if (array_key_exists("sslCertificates", $this->_propDict)) { + return $this->_propDict["sslCertificates"]; + } else { + return null; + } + } + + /** + * Sets the sslCertificates + * The hostSslCertificates that are associated with this host. + * + * @param HostSslCertificate[] $val The sslCertificates + * + * @return Host + */ + public function setSslCertificates($val) + { + $this->_propDict["sslCertificates"] = $val; + return $this; + } + + + /** + * Gets the subdomains + * The subdomains that are associated with this host. + * + * @return array|null The subdomains + */ + public function getSubdomains() + { + if (array_key_exists("subdomains", $this->_propDict)) { + return $this->_propDict["subdomains"]; + } else { + return null; + } + } + + /** + * Sets the subdomains + * The subdomains that are associated with this host. + * + * @param Subdomain[] $val The subdomains + * + * @return Host + */ + public function setSubdomains($val) + { + $this->_propDict["subdomains"] = $val; + return $this; + } + + /** * Gets the trackers * The hostTrackers that are associated with this host. @@ -273,4 +423,37 @@ public function setTrackers($val) return $this; } + /** + * Gets the whois + * The most recent whoisRecord for this host. + * + * @return WhoisRecord|null The whois + */ + public function getWhois() + { + if (array_key_exists("whois", $this->_propDict)) { + if (is_a($this->_propDict["whois"], "\Microsoft\Graph\SecurityNamespace\Model\WhoisRecord") || is_null($this->_propDict["whois"])) { + return $this->_propDict["whois"]; + } else { + $this->_propDict["whois"] = new WhoisRecord($this->_propDict["whois"]); + return $this->_propDict["whois"]; + } + } + return null; + } + + /** + * Sets the whois + * The most recent whoisRecord for this host. + * + * @param WhoisRecord $val The whois + * + * @return Host + */ + public function setWhois($val) + { + $this->_propDict["whois"] = $val; + return $this; + } + } diff --git a/src/SecurityNamespace/Model/HostComponent.php b/src/SecurityNamespace/Model/HostComponent.php index cd68546af39..206a44a1a9a 100644 --- a/src/SecurityNamespace/Model/HostComponent.php +++ b/src/SecurityNamespace/Model/HostComponent.php @@ -150,7 +150,7 @@ public function setName($val) /** * Gets the version - * The component version running on the artifact, for example, v8.5. This should not be assumed to be strictly numerical. + * The component version running on the artifact, for example, v8.5. This shouldn't be assumed to be strictly numerical. * * @return string|null The version */ @@ -165,7 +165,7 @@ public function getVersion() /** * Sets the version - * The component version running on the artifact, for example, v8.5. This should not be assumed to be strictly numerical. + * The component version running on the artifact, for example, v8.5. This shouldn't be assumed to be strictly numerical. * * @param string $val The version * diff --git a/src/SecurityNamespace/Model/HostPair.php b/src/SecurityNamespace/Model/HostPair.php new file mode 100644 index 00000000000..4446f91cdf5 --- /dev/null +++ b/src/SecurityNamespace/Model/HostPair.php @@ -0,0 +1,188 @@ +_propDict)) { + if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime") || is_null($this->_propDict["firstSeenDateTime"])) { + return $this->_propDict["firstSeenDateTime"]; + } else { + $this->_propDict["firstSeenDateTime"] = new \DateTime($this->_propDict["firstSeenDateTime"]); + return $this->_propDict["firstSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the firstSeenDateTime + * The date and time when Microsoft Defender Threat Intelligence first observed the hostPair. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The firstSeenDateTime + * + * @return HostPair + */ + public function setFirstSeenDateTime($val) + { + $this->_propDict["firstSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSeenDateTime + * The date and time when Microsoft Defender Threat Intelligence last observed the hostPair. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The lastSeenDateTime + */ + public function getLastSeenDateTime() + { + if (array_key_exists("lastSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { + return $this->_propDict["lastSeenDateTime"]; + } else { + $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); + return $this->_propDict["lastSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSeenDateTime + * The date and time when Microsoft Defender Threat Intelligence last observed the hostPair. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The lastSeenDateTime + * + * @return HostPair + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the linkKind + * The reason that two hosts are identified as hostPair. + * + * @return string|null The linkKind + */ + public function getLinkKind() + { + if (array_key_exists("linkKind", $this->_propDict)) { + return $this->_propDict["linkKind"]; + } else { + return null; + } + } + + /** + * Sets the linkKind + * The reason that two hosts are identified as hostPair. + * + * @param string $val The linkKind + * + * @return HostPair + */ + public function setLinkKind($val) + { + $this->_propDict["linkKind"] = $val; + return $this; + } + + /** + * Gets the childHost + * Host reached via the parentHost. + * + * @return Host|null The childHost + */ + public function getChildHost() + { + if (array_key_exists("childHost", $this->_propDict)) { + if (is_a($this->_propDict["childHost"], "\Microsoft\Graph\SecurityNamespace\Model\Host") || is_null($this->_propDict["childHost"])) { + return $this->_propDict["childHost"]; + } else { + $this->_propDict["childHost"] = new Host($this->_propDict["childHost"]); + return $this->_propDict["childHost"]; + } + } + return null; + } + + /** + * Sets the childHost + * Host reached via the parentHost. + * + * @param Host $val The childHost + * + * @return HostPair + */ + public function setChildHost($val) + { + $this->_propDict["childHost"] = $val; + return $this; + } + + /** + * Gets the parentHost + * Host used to reach the childHost. + * + * @return Host|null The parentHost + */ + public function getParentHost() + { + if (array_key_exists("parentHost", $this->_propDict)) { + if (is_a($this->_propDict["parentHost"], "\Microsoft\Graph\SecurityNamespace\Model\Host") || is_null($this->_propDict["parentHost"])) { + return $this->_propDict["parentHost"]; + } else { + $this->_propDict["parentHost"] = new Host($this->_propDict["parentHost"]); + return $this->_propDict["parentHost"]; + } + } + return null; + } + + /** + * Sets the parentHost + * Host used to reach the childHost. + * + * @param Host $val The parentHost + * + * @return HostPair + */ + public function setParentHost($val) + { + $this->_propDict["parentHost"] = $val; + return $this; + } + +} diff --git a/src/SecurityNamespace/Model/HostSslCertificate.php b/src/SecurityNamespace/Model/HostSslCertificate.php new file mode 100644 index 00000000000..94c5f3c216a --- /dev/null +++ b/src/SecurityNamespace/Model/HostSslCertificate.php @@ -0,0 +1,189 @@ +_propDict)) { + if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime") || is_null($this->_propDict["firstSeenDateTime"])) { + return $this->_propDict["firstSeenDateTime"]; + } else { + $this->_propDict["firstSeenDateTime"] = new \DateTime($this->_propDict["firstSeenDateTime"]); + return $this->_propDict["firstSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the firstSeenDateTime + * The first date and time when this hostSslCertificate was observed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The firstSeenDateTime + * + * @return HostSslCertificate + */ + public function setFirstSeenDateTime($val) + { + $this->_propDict["firstSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSeenDateTime + * The most recent date and time when this hostSslCertificate was observed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The lastSeenDateTime + */ + public function getLastSeenDateTime() + { + if (array_key_exists("lastSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { + return $this->_propDict["lastSeenDateTime"]; + } else { + $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); + return $this->_propDict["lastSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSeenDateTime + * The most recent date and time when this hostSslCertificate was observed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The lastSeenDateTime + * + * @return HostSslCertificate + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + + + /** + * Gets the ports + * The ports related with this hostSslCertificate. + * + * @return array|null The ports + */ + public function getPorts() + { + if (array_key_exists("ports", $this->_propDict)) { + return $this->_propDict["ports"]; + } else { + return null; + } + } + + /** + * Sets the ports + * The ports related with this hostSslCertificate. + * + * @param HostSslCertificatePort[] $val The ports + * + * @return HostSslCertificate + */ + public function setPorts($val) + { + $this->_propDict["ports"] = $val; + return $this; + } + + /** + * Gets the host + * The host for this hostSslCertificate. + * + * @return Host|null The host + */ + public function getHost() + { + if (array_key_exists("host", $this->_propDict)) { + if (is_a($this->_propDict["host"], "\Microsoft\Graph\SecurityNamespace\Model\Host") || is_null($this->_propDict["host"])) { + return $this->_propDict["host"]; + } else { + $this->_propDict["host"] = new Host($this->_propDict["host"]); + return $this->_propDict["host"]; + } + } + return null; + } + + /** + * Sets the host + * The host for this hostSslCertificate. + * + * @param Host $val The host + * + * @return HostSslCertificate + */ + public function setHost($val) + { + $this->_propDict["host"] = $val; + return $this; + } + + /** + * Gets the sslCertificate + * The sslCertificate for this hostSslCertificate. + * + * @return SslCertificate|null The sslCertificate + */ + public function getSslCertificate() + { + if (array_key_exists("sslCertificate", $this->_propDict)) { + if (is_a($this->_propDict["sslCertificate"], "\Microsoft\Graph\SecurityNamespace\Model\SslCertificate") || is_null($this->_propDict["sslCertificate"])) { + return $this->_propDict["sslCertificate"]; + } else { + $this->_propDict["sslCertificate"] = new SslCertificate($this->_propDict["sslCertificate"]); + return $this->_propDict["sslCertificate"]; + } + } + return null; + } + + /** + * Sets the sslCertificate + * The sslCertificate for this hostSslCertificate. + * + * @param SslCertificate $val The sslCertificate + * + * @return HostSslCertificate + */ + public function setSslCertificate($val) + { + $this->_propDict["sslCertificate"] = $val; + return $this; + } + +} diff --git a/src/SecurityNamespace/Model/HostSslCertificatePort.php b/src/SecurityNamespace/Model/HostSslCertificatePort.php new file mode 100644 index 00000000000..1a96bdce76a --- /dev/null +++ b/src/SecurityNamespace/Model/HostSslCertificatePort.php @@ -0,0 +1,120 @@ +_propDict)) { + if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime") || is_null($this->_propDict["firstSeenDateTime"])) { + return $this->_propDict["firstSeenDateTime"]; + } else { + $this->_propDict["firstSeenDateTime"] = new \DateTime($this->_propDict["firstSeenDateTime"]); + return $this->_propDict["firstSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the firstSeenDateTime + * The first date and time when this port was observed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The value to assign to the firstSeenDateTime + * + * @return HostSslCertificatePort The HostSslCertificatePort + */ + public function setFirstSeenDateTime($val) + { + $this->_propDict["firstSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSeenDateTime + * The most recent date and time when this port was observed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The lastSeenDateTime + */ + public function getLastSeenDateTime() + { + if (array_key_exists("lastSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { + return $this->_propDict["lastSeenDateTime"]; + } else { + $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); + return $this->_propDict["lastSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSeenDateTime + * The most recent date and time when this port was observed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The value to assign to the lastSeenDateTime + * + * @return HostSslCertificatePort The HostSslCertificatePort + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + /** + * Gets the port + * The port number. + * + * @return int|null The port + */ + public function getPort() + { + if (array_key_exists("port", $this->_propDict)) { + return $this->_propDict["port"]; + } else { + return null; + } + } + + /** + * Sets the port + * The port number. + * + * @param int $val The value of the port + * + * @return HostSslCertificatePort + */ + public function setPort($val) + { + $this->_propDict["port"] = $val; + return $this; + } +} diff --git a/src/SecurityNamespace/Model/IpAddress.php b/src/SecurityNamespace/Model/IpAddress.php index bfb67a65822..541033db530 100644 --- a/src/SecurityNamespace/Model/IpAddress.php +++ b/src/SecurityNamespace/Model/IpAddress.php @@ -59,7 +59,7 @@ public function setAutonomousSystem($val) /** * Gets the countryOrRegion - * The country or region for this IP address. + * The country/region for this IP address. * * @return string|null The countryOrRegion */ @@ -74,7 +74,7 @@ public function getCountryOrRegion() /** * Sets the countryOrRegion - * The country or region for this IP address. + * The country/region for this IP address. * * @param string $val The countryOrRegion * diff --git a/src/SecurityNamespace/Model/SslCertificate.php b/src/SecurityNamespace/Model/SslCertificate.php new file mode 100644 index 00000000000..575aff00f8d --- /dev/null +++ b/src/SecurityNamespace/Model/SslCertificate.php @@ -0,0 +1,342 @@ +_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * The date and time when a certificate expires. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The expirationDateTime + * + * @return SslCertificate + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the fingerprint + * A hash of the certificate calculated on the data and signature. + * + * @return string|null The fingerprint + */ + public function getFingerprint() + { + if (array_key_exists("fingerprint", $this->_propDict)) { + return $this->_propDict["fingerprint"]; + } else { + return null; + } + } + + /** + * Sets the fingerprint + * A hash of the certificate calculated on the data and signature. + * + * @param string $val The fingerprint + * + * @return SslCertificate + */ + public function setFingerprint($val) + { + $this->_propDict["fingerprint"] = $val; + return $this; + } + + /** + * Gets the firstSeenDateTime + * The first date and time when this sslCertificate was observed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The firstSeenDateTime + */ + public function getFirstSeenDateTime() + { + if (array_key_exists("firstSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime") || is_null($this->_propDict["firstSeenDateTime"])) { + return $this->_propDict["firstSeenDateTime"]; + } else { + $this->_propDict["firstSeenDateTime"] = new \DateTime($this->_propDict["firstSeenDateTime"]); + return $this->_propDict["firstSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the firstSeenDateTime + * The first date and time when this sslCertificate was observed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The firstSeenDateTime + * + * @return SslCertificate + */ + public function setFirstSeenDateTime($val) + { + $this->_propDict["firstSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the issueDateTime + * The date and time when a certificate was issued. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The issueDateTime + */ + public function getIssueDateTime() + { + if (array_key_exists("issueDateTime", $this->_propDict)) { + if (is_a($this->_propDict["issueDateTime"], "\DateTime") || is_null($this->_propDict["issueDateTime"])) { + return $this->_propDict["issueDateTime"]; + } else { + $this->_propDict["issueDateTime"] = new \DateTime($this->_propDict["issueDateTime"]); + return $this->_propDict["issueDateTime"]; + } + } + return null; + } + + /** + * Sets the issueDateTime + * The date and time when a certificate was issued. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The issueDateTime + * + * @return SslCertificate + */ + public function setIssueDateTime($val) + { + $this->_propDict["issueDateTime"] = $val; + return $this; + } + + /** + * Gets the issuer + * The entity that grants this certificate. + * + * @return SslCertificateEntity|null The issuer + */ + public function getIssuer() + { + if (array_key_exists("issuer", $this->_propDict)) { + if (is_a($this->_propDict["issuer"], "\Microsoft\Graph\SecurityNamespace\Model\SslCertificateEntity") || is_null($this->_propDict["issuer"])) { + return $this->_propDict["issuer"]; + } else { + $this->_propDict["issuer"] = new SslCertificateEntity($this->_propDict["issuer"]); + return $this->_propDict["issuer"]; + } + } + return null; + } + + /** + * Sets the issuer + * The entity that grants this certificate. + * + * @param SslCertificateEntity $val The issuer + * + * @return SslCertificate + */ + public function setIssuer($val) + { + $this->_propDict["issuer"] = $val; + return $this; + } + + /** + * Gets the lastSeenDateTime + * The most recent date and time when this sslCertificate was observed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The lastSeenDateTime + */ + public function getLastSeenDateTime() + { + if (array_key_exists("lastSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { + return $this->_propDict["lastSeenDateTime"]; + } else { + $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); + return $this->_propDict["lastSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSeenDateTime + * The most recent date and time when this sslCertificate was observed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The lastSeenDateTime + * + * @return SslCertificate + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the serialNumber + * The serial number associated with an SSL certificate. + * + * @return string|null The serialNumber + */ + public function getSerialNumber() + { + if (array_key_exists("serialNumber", $this->_propDict)) { + return $this->_propDict["serialNumber"]; + } else { + return null; + } + } + + /** + * Sets the serialNumber + * The serial number associated with an SSL certificate. + * + * @param string $val The serialNumber + * + * @return SslCertificate + */ + public function setSerialNumber($val) + { + $this->_propDict["serialNumber"] = $val; + return $this; + } + + /** + * Gets the sha1 + * A SHA-1 hash of the certificate. Note: This is not the signature. + * + * @return string|null The sha1 + */ + public function getSha1() + { + if (array_key_exists("sha1", $this->_propDict)) { + return $this->_propDict["sha1"]; + } else { + return null; + } + } + + /** + * Sets the sha1 + * A SHA-1 hash of the certificate. Note: This is not the signature. + * + * @param string $val The sha1 + * + * @return SslCertificate + */ + public function setSha1($val) + { + $this->_propDict["sha1"] = $val; + return $this; + } + + /** + * Gets the subject + * The person, site, machine, and so on, this certificate is for. + * + * @return SslCertificateEntity|null The subject + */ + public function getSubject() + { + if (array_key_exists("subject", $this->_propDict)) { + if (is_a($this->_propDict["subject"], "\Microsoft\Graph\SecurityNamespace\Model\SslCertificateEntity") || is_null($this->_propDict["subject"])) { + return $this->_propDict["subject"]; + } else { + $this->_propDict["subject"] = new SslCertificateEntity($this->_propDict["subject"]); + return $this->_propDict["subject"]; + } + } + return null; + } + + /** + * Sets the subject + * The person, site, machine, and so on, this certificate is for. + * + * @param SslCertificateEntity $val The subject + * + * @return SslCertificate + */ + public function setSubject($val) + { + $this->_propDict["subject"] = $val; + return $this; + } + + + /** + * Gets the relatedHosts + * The hosts related with this sslCertificate. + * + * @return array|null The relatedHosts + */ + public function getRelatedHosts() + { + if (array_key_exists("relatedHosts", $this->_propDict)) { + return $this->_propDict["relatedHosts"]; + } else { + return null; + } + } + + /** + * Sets the relatedHosts + * The hosts related with this sslCertificate. + * + * @param Host[] $val The relatedHosts + * + * @return SslCertificate + */ + public function setRelatedHosts($val) + { + $this->_propDict["relatedHosts"] = $val; + return $this; + } + +} diff --git a/src/SecurityNamespace/Model/SslCertificateEntity.php b/src/SecurityNamespace/Model/SslCertificateEntity.php new file mode 100644 index 00000000000..83ad73b78d2 --- /dev/null +++ b/src/SecurityNamespace/Model/SslCertificateEntity.php @@ -0,0 +1,283 @@ +_propDict)) { + if (is_a($this->_propDict["address"], "\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["address"])) { + return $this->_propDict["address"]; + } else { + $this->_propDict["address"] = new \Microsoft\Graph\Model\PhysicalAddress($this->_propDict["address"]); + return $this->_propDict["address"]; + } + } + return null; + } + + /** + * Sets the address + * A physical address of the entity. + * + * @param \Microsoft\Graph\Model\PhysicalAddress $val The value to assign to the address + * + * @return SslCertificateEntity The SslCertificateEntity + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + /** + * Gets the alternateNames + * Alternate names for this entity that are part of the certificate. + * + * @return string|null The alternateNames + */ + public function getAlternateNames() + { + if (array_key_exists("alternateNames", $this->_propDict)) { + return $this->_propDict["alternateNames"]; + } else { + return null; + } + } + + /** + * Sets the alternateNames + * Alternate names for this entity that are part of the certificate. + * + * @param string $val The value of the alternateNames + * + * @return SslCertificateEntity + */ + public function setAlternateNames($val) + { + $this->_propDict["alternateNames"] = $val; + return $this; + } + /** + * Gets the commonName + * A common name for this entity. + * + * @return string|null The commonName + */ + public function getCommonName() + { + if (array_key_exists("commonName", $this->_propDict)) { + return $this->_propDict["commonName"]; + } else { + return null; + } + } + + /** + * Sets the commonName + * A common name for this entity. + * + * @param string $val The value of the commonName + * + * @return SslCertificateEntity + */ + public function setCommonName($val) + { + $this->_propDict["commonName"] = $val; + return $this; + } + /** + * Gets the email + * An email for this entity. + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * An email for this entity. + * + * @param string $val The value of the email + * + * @return SslCertificateEntity + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + /** + * Gets the givenName + * If the entity is a person, this is the person's given name (first name). + * + * @return string|null The givenName + */ + public function getGivenName() + { + if (array_key_exists("givenName", $this->_propDict)) { + return $this->_propDict["givenName"]; + } else { + return null; + } + } + + /** + * Sets the givenName + * If the entity is a person, this is the person's given name (first name). + * + * @param string $val The value of the givenName + * + * @return SslCertificateEntity + */ + public function setGivenName($val) + { + $this->_propDict["givenName"] = $val; + return $this; + } + /** + * Gets the organizationName + * If the entity is an organization, this is the name of the organization. + * + * @return string|null The organizationName + */ + public function getOrganizationName() + { + if (array_key_exists("organizationName", $this->_propDict)) { + return $this->_propDict["organizationName"]; + } else { + return null; + } + } + + /** + * Sets the organizationName + * If the entity is an organization, this is the name of the organization. + * + * @param string $val The value of the organizationName + * + * @return SslCertificateEntity + */ + public function setOrganizationName($val) + { + $this->_propDict["organizationName"] = $val; + return $this; + } + /** + * Gets the organizationUnitName + * If the entity is an organization, this communicates if a unit in the organization is named on the entity. + * + * @return string|null The organizationUnitName + */ + public function getOrganizationUnitName() + { + if (array_key_exists("organizationUnitName", $this->_propDict)) { + return $this->_propDict["organizationUnitName"]; + } else { + return null; + } + } + + /** + * Sets the organizationUnitName + * If the entity is an organization, this communicates if a unit in the organization is named on the entity. + * + * @param string $val The value of the organizationUnitName + * + * @return SslCertificateEntity + */ + public function setOrganizationUnitName($val) + { + $this->_propDict["organizationUnitName"] = $val; + return $this; + } + /** + * Gets the serialNumber + * A serial number assigned to the entity; usually only available if the entity is the issuer. + * + * @return string|null The serialNumber + */ + public function getSerialNumber() + { + if (array_key_exists("serialNumber", $this->_propDict)) { + return $this->_propDict["serialNumber"]; + } else { + return null; + } + } + + /** + * Sets the serialNumber + * A serial number assigned to the entity; usually only available if the entity is the issuer. + * + * @param string $val The value of the serialNumber + * + * @return SslCertificateEntity + */ + public function setSerialNumber($val) + { + $this->_propDict["serialNumber"] = $val; + return $this; + } + /** + * Gets the surname + * If the entity is a person, this is the person's surname (last name). + * + * @return string|null The surname + */ + public function getSurname() + { + if (array_key_exists("surname", $this->_propDict)) { + return $this->_propDict["surname"]; + } else { + return null; + } + } + + /** + * Sets the surname + * If the entity is a person, this is the person's surname (last name). + * + * @param string $val The value of the surname + * + * @return SslCertificateEntity + */ + public function setSurname($val) + { + $this->_propDict["surname"] = $val; + return $this; + } +} diff --git a/src/SecurityNamespace/Model/Subdomain.php b/src/SecurityNamespace/Model/Subdomain.php new file mode 100644 index 00000000000..3e82c6db57c --- /dev/null +++ b/src/SecurityNamespace/Model/Subdomain.php @@ -0,0 +1,93 @@ +_propDict)) { + if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime") || is_null($this->_propDict["firstSeenDateTime"])) { + return $this->_propDict["firstSeenDateTime"]; + } else { + $this->_propDict["firstSeenDateTime"] = new \DateTime($this->_propDict["firstSeenDateTime"]); + return $this->_propDict["firstSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the firstSeenDateTime + * The date and time when Microsoft Defender Threat Intelligence first observed the subdomain. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The firstSeenDateTime + * + * @return Subdomain + */ + public function setFirstSeenDateTime($val) + { + $this->_propDict["firstSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the host + * The host of the subdomain. + * + * @return Host|null The host + */ + public function getHost() + { + if (array_key_exists("host", $this->_propDict)) { + if (is_a($this->_propDict["host"], "\Microsoft\Graph\SecurityNamespace\Model\Host") || is_null($this->_propDict["host"])) { + return $this->_propDict["host"]; + } else { + $this->_propDict["host"] = new Host($this->_propDict["host"]); + return $this->_propDict["host"]; + } + } + return null; + } + + /** + * Sets the host + * The host of the subdomain. + * + * @param Host $val The host + * + * @return Subdomain + */ + public function setHost($val) + { + $this->_propDict["host"] = $val; + return $this; + } + +} diff --git a/src/SecurityNamespace/Model/ThreatIntelligence.php b/src/SecurityNamespace/Model/ThreatIntelligence.php index e011fd2f769..88026770272 100644 --- a/src/SecurityNamespace/Model/ThreatIntelligence.php +++ b/src/SecurityNamespace/Model/ThreatIntelligence.php @@ -27,7 +27,7 @@ class ThreatIntelligence extends \Microsoft\Graph\Model\Entity /** * Gets the articleIndicators - * Refers to indicators of threat or compromise highlighted in an microsoft.graph.security.article.Note: List retrieval is not yet supported. + * Refers to indicators of threat or compromise highlighted in an article.Note: List retrieval is not yet supported. * * @return array|null The articleIndicators */ @@ -42,7 +42,7 @@ public function getArticleIndicators() /** * Sets the articleIndicators - * Refers to indicators of threat or compromise highlighted in an microsoft.graph.security.article.Note: List retrieval is not yet supported. + * Refers to indicators of threat or compromise highlighted in an article.Note: List retrieval is not yet supported. * * @param ArticleIndicator[] $val The articleIndicators * @@ -87,7 +87,7 @@ public function setArticles($val) /** * Gets the hostComponents - * Retrieve details about microsoft.graph.security.hostComponent objects.Note: List retrieval is not yet supported. + * Retrieve details about hostComponent objects.Note: List retrieval is not yet supported. * * @return array|null The hostComponents */ @@ -102,7 +102,7 @@ public function getHostComponents() /** * Sets the hostComponents - * Retrieve details about microsoft.graph.security.hostComponent objects.Note: List retrieval is not yet supported. + * Retrieve details about hostComponent objects.Note: List retrieval is not yet supported. * * @param HostComponent[] $val The hostComponents * @@ -117,7 +117,7 @@ public function setHostComponents($val) /** * Gets the hostCookies - * Retrieve details about microsoft.graph.security.hostCookie objects.Note: List retrieval is not yet supported. + * Retrieve details about hostCookie objects.Note: List retrieval is not yet supported. * * @return array|null The hostCookies */ @@ -132,7 +132,7 @@ public function getHostCookies() /** * Sets the hostCookies - * Retrieve details about microsoft.graph.security.hostCookie objects.Note: List retrieval is not yet supported. + * Retrieve details about hostCookie objects.Note: List retrieval is not yet supported. * * @param HostCookie[] $val The hostCookies * @@ -145,9 +145,39 @@ public function setHostCookies($val) } + /** + * Gets the hostPairs + * Retrieve details about hostTracker objects.Note: List retrieval is not yet supported. + * + * @return array|null The hostPairs + */ + public function getHostPairs() + { + if (array_key_exists("hostPairs", $this->_propDict)) { + return $this->_propDict["hostPairs"]; + } else { + return null; + } + } + + /** + * Sets the hostPairs + * Retrieve details about hostTracker objects.Note: List retrieval is not yet supported. + * + * @param HostPair[] $val The hostPairs + * + * @return ThreatIntelligence + */ + public function setHostPairs($val) + { + $this->_propDict["hostPairs"] = $val; + return $this; + } + + /** * Gets the hosts - * Refers to microsoft.graph.security.host objects that Microsoft Threat Intelligence has observed.Note: List retrieval is not yet supported. + * Refers to host objects that Microsoft Threat Intelligence has observed.Note: List retrieval is not yet supported. * * @return array|null The hosts */ @@ -162,7 +192,7 @@ public function getHosts() /** * Sets the hosts - * Refers to microsoft.graph.security.host objects that Microsoft Threat Intelligence has observed.Note: List retrieval is not yet supported. + * Refers to host objects that Microsoft Threat Intelligence has observed.Note: List retrieval is not yet supported. * * @param Host[] $val The hosts * @@ -175,9 +205,39 @@ public function setHosts($val) } + /** + * Gets the hostSslCertificates + * Retrieve details about hostSslCertificate objects.Note: List retrieval is not yet supported. + * + * @return array|null The hostSslCertificates + */ + public function getHostSslCertificates() + { + if (array_key_exists("hostSslCertificates", $this->_propDict)) { + return $this->_propDict["hostSslCertificates"]; + } else { + return null; + } + } + + /** + * Sets the hostSslCertificates + * Retrieve details about hostSslCertificate objects.Note: List retrieval is not yet supported. + * + * @param HostSslCertificate[] $val The hostSslCertificates + * + * @return ThreatIntelligence + */ + public function setHostSslCertificates($val) + { + $this->_propDict["hostSslCertificates"] = $val; + return $this; + } + + /** * Gets the hostTrackers - * Retrieve details about microsoft.graph.security.hostTracker objects.Note: List retrieval is not yet supported. + * Retrieve details about hostTracker objects.Note: List retrieval is not yet supported. * * @return array|null The hostTrackers */ @@ -192,7 +252,7 @@ public function getHostTrackers() /** * Sets the hostTrackers - * Retrieve details about microsoft.graph.security.hostTracker objects.Note: List retrieval is not yet supported. + * Retrieve details about hostTracker objects.Note: List retrieval is not yet supported. * * @param HostTracker[] $val The hostTrackers * @@ -265,7 +325,7 @@ public function setIntelProfiles($val) /** * Gets the passiveDnsRecords - * Retrieve details about microsoft.graph.security.passiveDnsRecord objects.Note: List retrieval is not yet supported. + * Retrieve details about passiveDnsRecord objects.Note: List retrieval is not yet supported. * * @return array|null The passiveDnsRecords */ @@ -280,7 +340,7 @@ public function getPassiveDnsRecords() /** * Sets the passiveDnsRecords - * Retrieve details about microsoft.graph.security.passiveDnsRecord objects.Note: List retrieval is not yet supported. + * Retrieve details about passiveDnsRecord objects.Note: List retrieval is not yet supported. * * @param PassiveDnsRecord[] $val The passiveDnsRecords * @@ -293,9 +353,69 @@ public function setPassiveDnsRecords($val) } + /** + * Gets the sslCertificates + * Retrieve details about sslCertificate objects.Note: List retrieval is not yet supported. + * + * @return array|null The sslCertificates + */ + public function getSslCertificates() + { + if (array_key_exists("sslCertificates", $this->_propDict)) { + return $this->_propDict["sslCertificates"]; + } else { + return null; + } + } + + /** + * Sets the sslCertificates + * Retrieve details about sslCertificate objects.Note: List retrieval is not yet supported. + * + * @param SslCertificate[] $val The sslCertificates + * + * @return ThreatIntelligence + */ + public function setSslCertificates($val) + { + $this->_propDict["sslCertificates"] = $val; + return $this; + } + + + /** + * Gets the subdomains + * Retrieve details about the subdomain.Note: List retrieval is not yet supported. + * + * @return array|null The subdomains + */ + public function getSubdomains() + { + if (array_key_exists("subdomains", $this->_propDict)) { + return $this->_propDict["subdomains"]; + } else { + return null; + } + } + + /** + * Sets the subdomains + * Retrieve details about the subdomain.Note: List retrieval is not yet supported. + * + * @param Subdomain[] $val The subdomains + * + * @return ThreatIntelligence + */ + public function setSubdomains($val) + { + $this->_propDict["subdomains"] = $val; + return $this; + } + + /** * Gets the vulnerabilities - * Retrieve details about microsoft.graph.security.vulnerabilities.Note: List retrieval is not yet supported. + * Retrieve details about vulnerabilities.Note: List retrieval is not yet supported. * * @return array|null The vulnerabilities */ @@ -310,7 +430,7 @@ public function getVulnerabilities() /** * Sets the vulnerabilities - * Retrieve details about microsoft.graph.security.vulnerabilities.Note: List retrieval is not yet supported. + * Retrieve details about vulnerabilities.Note: List retrieval is not yet supported. * * @param Vulnerability[] $val The vulnerabilities * @@ -322,4 +442,64 @@ public function setVulnerabilities($val) return $this; } + + /** + * Gets the whoisHistoryRecords + * Retrieve details about whoisHistoryRecord objects.Note: List retrieval is not yet supported. + * + * @return array|null The whoisHistoryRecords + */ + public function getWhoisHistoryRecords() + { + if (array_key_exists("whoisHistoryRecords", $this->_propDict)) { + return $this->_propDict["whoisHistoryRecords"]; + } else { + return null; + } + } + + /** + * Sets the whoisHistoryRecords + * Retrieve details about whoisHistoryRecord objects.Note: List retrieval is not yet supported. + * + * @param WhoisHistoryRecord[] $val The whoisHistoryRecords + * + * @return ThreatIntelligence + */ + public function setWhoisHistoryRecords($val) + { + $this->_propDict["whoisHistoryRecords"] = $val; + return $this; + } + + + /** + * Gets the whoisRecords + * A list of whoisRecord objects. + * + * @return array|null The whoisRecords + */ + public function getWhoisRecords() + { + if (array_key_exists("whoisRecords", $this->_propDict)) { + return $this->_propDict["whoisRecords"]; + } else { + return null; + } + } + + /** + * Sets the whoisRecords + * A list of whoisRecord objects. + * + * @param WhoisRecord[] $val The whoisRecords + * + * @return ThreatIntelligence + */ + public function setWhoisRecords($val) + { + $this->_propDict["whoisRecords"] = $val; + return $this; + } + } diff --git a/src/SecurityNamespace/Model/WhoisBaseRecord.php b/src/SecurityNamespace/Model/WhoisBaseRecord.php new file mode 100644 index 00000000000..79076c73cc8 --- /dev/null +++ b/src/SecurityNamespace/Model/WhoisBaseRecord.php @@ -0,0 +1,606 @@ +_propDict)) { + if (is_a($this->_propDict["abuse"], "\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["abuse"])) { + return $this->_propDict["abuse"]; + } else { + $this->_propDict["abuse"] = new WhoisContact($this->_propDict["abuse"]); + return $this->_propDict["abuse"]; + } + } + return null; + } + + /** + * Sets the abuse + * The contact information for the abuse contact. + * + * @param WhoisContact $val The abuse + * + * @return WhoisBaseRecord + */ + public function setAbuse($val) + { + $this->_propDict["abuse"] = $val; + return $this; + } + + /** + * Gets the admin + * The contact information for the admin contact. + * + * @return WhoisContact|null The admin + */ + public function getAdmin() + { + if (array_key_exists("admin", $this->_propDict)) { + if (is_a($this->_propDict["admin"], "\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["admin"])) { + return $this->_propDict["admin"]; + } else { + $this->_propDict["admin"] = new WhoisContact($this->_propDict["admin"]); + return $this->_propDict["admin"]; + } + } + return null; + } + + /** + * Sets the admin + * The contact information for the admin contact. + * + * @param WhoisContact $val The admin + * + * @return WhoisBaseRecord + */ + public function setAdmin($val) + { + $this->_propDict["admin"] = $val; + return $this; + } + + /** + * Gets the billing + * The contact information for the billing contact. + * + * @return WhoisContact|null The billing + */ + public function getBilling() + { + if (array_key_exists("billing", $this->_propDict)) { + if (is_a($this->_propDict["billing"], "\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["billing"])) { + return $this->_propDict["billing"]; + } else { + $this->_propDict["billing"] = new WhoisContact($this->_propDict["billing"]); + return $this->_propDict["billing"]; + } + } + return null; + } + + /** + * Sets the billing + * The contact information for the billing contact. + * + * @param WhoisContact $val The billing + * + * @return WhoisBaseRecord + */ + public function setBilling($val) + { + $this->_propDict["billing"] = $val; + return $this; + } + + /** + * Gets the domainStatus + * The domain status for this WHOIS object. + * + * @return string|null The domainStatus + */ + public function getDomainStatus() + { + if (array_key_exists("domainStatus", $this->_propDict)) { + return $this->_propDict["domainStatus"]; + } else { + return null; + } + } + + /** + * Sets the domainStatus + * The domain status for this WHOIS object. + * + * @param string $val The domainStatus + * + * @return WhoisBaseRecord + */ + public function setDomainStatus($val) + { + $this->_propDict["domainStatus"] = $val; + return $this; + } + + /** + * Gets the expirationDateTime + * The date and time when this WHOIS record expires with the registrar. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The expirationDateTime + */ + public function getExpirationDateTime() + { + if (array_key_exists("expirationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) { + return $this->_propDict["expirationDateTime"]; + } else { + $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); + return $this->_propDict["expirationDateTime"]; + } + } + return null; + } + + /** + * Sets the expirationDateTime + * The date and time when this WHOIS record expires with the registrar. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The expirationDateTime + * + * @return WhoisBaseRecord + */ + public function setExpirationDateTime($val) + { + $this->_propDict["expirationDateTime"] = $val; + return $this; + } + + /** + * Gets the firstSeenDateTime + * The first seen date and time of this WHOIS record. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The firstSeenDateTime + */ + public function getFirstSeenDateTime() + { + if (array_key_exists("firstSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime") || is_null($this->_propDict["firstSeenDateTime"])) { + return $this->_propDict["firstSeenDateTime"]; + } else { + $this->_propDict["firstSeenDateTime"] = new \DateTime($this->_propDict["firstSeenDateTime"]); + return $this->_propDict["firstSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the firstSeenDateTime + * The first seen date and time of this WHOIS record. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The firstSeenDateTime + * + * @return WhoisBaseRecord + */ + public function setFirstSeenDateTime($val) + { + $this->_propDict["firstSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSeenDateTime + * The last seen date and time of this WHOIS record. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The lastSeenDateTime + */ + public function getLastSeenDateTime() + { + if (array_key_exists("lastSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { + return $this->_propDict["lastSeenDateTime"]; + } else { + $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); + return $this->_propDict["lastSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSeenDateTime + * The last seen date and time of this WHOIS record. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The lastSeenDateTime + * + * @return WhoisBaseRecord + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the lastUpdateDateTime + * The date and time when this WHOIS record was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The lastUpdateDateTime + */ + public function getLastUpdateDateTime() + { + if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime") || is_null($this->_propDict["lastUpdateDateTime"])) { + return $this->_propDict["lastUpdateDateTime"]; + } else { + $this->_propDict["lastUpdateDateTime"] = new \DateTime($this->_propDict["lastUpdateDateTime"]); + return $this->_propDict["lastUpdateDateTime"]; + } + } + return null; + } + + /** + * Sets the lastUpdateDateTime + * The date and time when this WHOIS record was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The lastUpdateDateTime + * + * @return WhoisBaseRecord + */ + public function setLastUpdateDateTime($val) + { + $this->_propDict["lastUpdateDateTime"] = $val; + return $this; + } + + + /** + * Gets the nameservers + * The nameservers for this WHOIS object. + * + * @return array|null The nameservers + */ + public function getNameservers() + { + if (array_key_exists("nameservers", $this->_propDict)) { + return $this->_propDict["nameservers"]; + } else { + return null; + } + } + + /** + * Sets the nameservers + * The nameservers for this WHOIS object. + * + * @param WhoisNameserver[] $val The nameservers + * + * @return WhoisBaseRecord + */ + public function setNameservers($val) + { + $this->_propDict["nameservers"] = $val; + return $this; + } + + /** + * Gets the noc + * The contact information for the noc contact. + * + * @return WhoisContact|null The noc + */ + public function getNoc() + { + if (array_key_exists("noc", $this->_propDict)) { + if (is_a($this->_propDict["noc"], "\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["noc"])) { + return $this->_propDict["noc"]; + } else { + $this->_propDict["noc"] = new WhoisContact($this->_propDict["noc"]); + return $this->_propDict["noc"]; + } + } + return null; + } + + /** + * Sets the noc + * The contact information for the noc contact. + * + * @param WhoisContact $val The noc + * + * @return WhoisBaseRecord + */ + public function setNoc($val) + { + $this->_propDict["noc"] = $val; + return $this; + } + + /** + * Gets the rawWhoisText + * The raw WHOIS details for this WHOIS object. + * + * @return string|null The rawWhoisText + */ + public function getRawWhoisText() + { + if (array_key_exists("rawWhoisText", $this->_propDict)) { + return $this->_propDict["rawWhoisText"]; + } else { + return null; + } + } + + /** + * Sets the rawWhoisText + * The raw WHOIS details for this WHOIS object. + * + * @param string $val The rawWhoisText + * + * @return WhoisBaseRecord + */ + public function setRawWhoisText($val) + { + $this->_propDict["rawWhoisText"] = $val; + return $this; + } + + /** + * Gets the registrant + * The contact information for the registrant contact. + * + * @return WhoisContact|null The registrant + */ + public function getRegistrant() + { + if (array_key_exists("registrant", $this->_propDict)) { + if (is_a($this->_propDict["registrant"], "\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["registrant"])) { + return $this->_propDict["registrant"]; + } else { + $this->_propDict["registrant"] = new WhoisContact($this->_propDict["registrant"]); + return $this->_propDict["registrant"]; + } + } + return null; + } + + /** + * Sets the registrant + * The contact information for the registrant contact. + * + * @param WhoisContact $val The registrant + * + * @return WhoisBaseRecord + */ + public function setRegistrant($val) + { + $this->_propDict["registrant"] = $val; + return $this; + } + + /** + * Gets the registrar + * The contact information for the registrar contact. + * + * @return WhoisContact|null The registrar + */ + public function getRegistrar() + { + if (array_key_exists("registrar", $this->_propDict)) { + if (is_a($this->_propDict["registrar"], "\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["registrar"])) { + return $this->_propDict["registrar"]; + } else { + $this->_propDict["registrar"] = new WhoisContact($this->_propDict["registrar"]); + return $this->_propDict["registrar"]; + } + } + return null; + } + + /** + * Sets the registrar + * The contact information for the registrar contact. + * + * @param WhoisContact $val The registrar + * + * @return WhoisBaseRecord + */ + public function setRegistrar($val) + { + $this->_propDict["registrar"] = $val; + return $this; + } + + /** + * Gets the registrationDateTime + * The date and time when this WHOIS record was registered with a registrar. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The registrationDateTime + */ + public function getRegistrationDateTime() + { + if (array_key_exists("registrationDateTime", $this->_propDict)) { + if (is_a($this->_propDict["registrationDateTime"], "\DateTime") || is_null($this->_propDict["registrationDateTime"])) { + return $this->_propDict["registrationDateTime"]; + } else { + $this->_propDict["registrationDateTime"] = new \DateTime($this->_propDict["registrationDateTime"]); + return $this->_propDict["registrationDateTime"]; + } + } + return null; + } + + /** + * Sets the registrationDateTime + * The date and time when this WHOIS record was registered with a registrar. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The registrationDateTime + * + * @return WhoisBaseRecord + */ + public function setRegistrationDateTime($val) + { + $this->_propDict["registrationDateTime"] = $val; + return $this; + } + + /** + * Gets the technical + * The contact information for the technical contact. + * + * @return WhoisContact|null The technical + */ + public function getTechnical() + { + if (array_key_exists("technical", $this->_propDict)) { + if (is_a($this->_propDict["technical"], "\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["technical"])) { + return $this->_propDict["technical"]; + } else { + $this->_propDict["technical"] = new WhoisContact($this->_propDict["technical"]); + return $this->_propDict["technical"]; + } + } + return null; + } + + /** + * Sets the technical + * The contact information for the technical contact. + * + * @param WhoisContact $val The technical + * + * @return WhoisBaseRecord + */ + public function setTechnical($val) + { + $this->_propDict["technical"] = $val; + return $this; + } + + /** + * Gets the whoisServer + * The WHOIS server that provides the details. + * + * @return string|null The whoisServer + */ + public function getWhoisServer() + { + if (array_key_exists("whoisServer", $this->_propDict)) { + return $this->_propDict["whoisServer"]; + } else { + return null; + } + } + + /** + * Sets the whoisServer + * The WHOIS server that provides the details. + * + * @param string $val The whoisServer + * + * @return WhoisBaseRecord + */ + public function setWhoisServer($val) + { + $this->_propDict["whoisServer"] = $val; + return $this; + } + + /** + * Gets the zone + * The contact information for the zone contact. + * + * @return WhoisContact|null The zone + */ + public function getZone() + { + if (array_key_exists("zone", $this->_propDict)) { + if (is_a($this->_propDict["zone"], "\Microsoft\Graph\SecurityNamespace\Model\WhoisContact") || is_null($this->_propDict["zone"])) { + return $this->_propDict["zone"]; + } else { + $this->_propDict["zone"] = new WhoisContact($this->_propDict["zone"]); + return $this->_propDict["zone"]; + } + } + return null; + } + + /** + * Sets the zone + * The contact information for the zone contact. + * + * @param WhoisContact $val The zone + * + * @return WhoisBaseRecord + */ + public function setZone($val) + { + $this->_propDict["zone"] = $val; + return $this; + } + + /** + * Gets the host + * The host associated to this WHOIS object. + * + * @return Host|null The host + */ + public function getHost() + { + if (array_key_exists("host", $this->_propDict)) { + if (is_a($this->_propDict["host"], "\Microsoft\Graph\SecurityNamespace\Model\Host") || is_null($this->_propDict["host"])) { + return $this->_propDict["host"]; + } else { + $this->_propDict["host"] = new Host($this->_propDict["host"]); + return $this->_propDict["host"]; + } + } + return null; + } + + /** + * Sets the host + * The host associated to this WHOIS object. + * + * @param Host $val The host + * + * @return WhoisBaseRecord + */ + public function setHost($val) + { + $this->_propDict["host"] = $val; + return $this; + } + +} diff --git a/src/SecurityNamespace/Model/WhoisContact.php b/src/SecurityNamespace/Model/WhoisContact.php new file mode 100644 index 00000000000..b7eb05be6ff --- /dev/null +++ b/src/SecurityNamespace/Model/WhoisContact.php @@ -0,0 +1,199 @@ +_propDict)) { + if (is_a($this->_propDict["address"], "\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["address"])) { + return $this->_propDict["address"]; + } else { + $this->_propDict["address"] = new \Microsoft\Graph\Model\PhysicalAddress($this->_propDict["address"]); + return $this->_propDict["address"]; + } + } + return null; + } + + /** + * Sets the address + * The physical address of the entity. + * + * @param \Microsoft\Graph\Model\PhysicalAddress $val The value to assign to the address + * + * @return WhoisContact The WhoisContact + */ + public function setAddress($val) + { + $this->_propDict["address"] = $val; + return $this; + } + /** + * Gets the email + * The email of this WHOIS contact. + * + * @return string|null The email + */ + public function getEmail() + { + if (array_key_exists("email", $this->_propDict)) { + return $this->_propDict["email"]; + } else { + return null; + } + } + + /** + * Sets the email + * The email of this WHOIS contact. + * + * @param string $val The value of the email + * + * @return WhoisContact + */ + public function setEmail($val) + { + $this->_propDict["email"] = $val; + return $this; + } + /** + * Gets the fax + * The fax of this WHOIS contact. No format is guaranteed. + * + * @return string|null The fax + */ + public function getFax() + { + if (array_key_exists("fax", $this->_propDict)) { + return $this->_propDict["fax"]; + } else { + return null; + } + } + + /** + * Sets the fax + * The fax of this WHOIS contact. No format is guaranteed. + * + * @param string $val The value of the fax + * + * @return WhoisContact + */ + public function setFax($val) + { + $this->_propDict["fax"] = $val; + return $this; + } + /** + * Gets the name + * The name of this WHOIS contact. + * + * @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 name of this WHOIS contact. + * + * @param string $val The value of the name + * + * @return WhoisContact + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } + /** + * Gets the organization + * The organization of this WHOIS contact. + * + * @return string|null The organization + */ + public function getOrganization() + { + if (array_key_exists("organization", $this->_propDict)) { + return $this->_propDict["organization"]; + } else { + return null; + } + } + + /** + * Sets the organization + * The organization of this WHOIS contact. + * + * @param string $val The value of the organization + * + * @return WhoisContact + */ + public function setOrganization($val) + { + $this->_propDict["organization"] = $val; + return $this; + } + /** + * Gets the telephone + * The telephone of this WHOIS contact. No format is guaranteed. + * + * @return string|null The telephone + */ + public function getTelephone() + { + if (array_key_exists("telephone", $this->_propDict)) { + return $this->_propDict["telephone"]; + } else { + return null; + } + } + + /** + * Sets the telephone + * The telephone of this WHOIS contact. No format is guaranteed. + * + * @param string $val The value of the telephone + * + * @return WhoisContact + */ + public function setTelephone($val) + { + $this->_propDict["telephone"] = $val; + return $this; + } +} diff --git a/src/SecurityNamespace/Model/WhoisDomainStatus.php b/src/SecurityNamespace/Model/WhoisDomainStatus.php new file mode 100644 index 00000000000..34e88f32841 --- /dev/null +++ b/src/SecurityNamespace/Model/WhoisDomainStatus.php @@ -0,0 +1,38 @@ +_propDict)) { + if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime") || is_null($this->_propDict["firstSeenDateTime"])) { + return $this->_propDict["firstSeenDateTime"]; + } else { + $this->_propDict["firstSeenDateTime"] = new \DateTime($this->_propDict["firstSeenDateTime"]); + return $this->_propDict["firstSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the firstSeenDateTime + * The first seen date and time of this WHOIS contact. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The value to assign to the firstSeenDateTime + * + * @return WhoisNameserver The WhoisNameserver + */ + public function setFirstSeenDateTime($val) + { + $this->_propDict["firstSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the lastSeenDateTime + * The last seen date and time of this WHOIS contact. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @return \DateTime|null The lastSeenDateTime + */ + public function getLastSeenDateTime() + { + if (array_key_exists("lastSeenDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime") || is_null($this->_propDict["lastSeenDateTime"])) { + return $this->_propDict["lastSeenDateTime"]; + } else { + $this->_propDict["lastSeenDateTime"] = new \DateTime($this->_propDict["lastSeenDateTime"]); + return $this->_propDict["lastSeenDateTime"]; + } + } + return null; + } + + /** + * Sets the lastSeenDateTime + * The last seen date and time of this WHOIS contact. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * + * @param \DateTime $val The value to assign to the lastSeenDateTime + * + * @return WhoisNameserver The WhoisNameserver + */ + public function setLastSeenDateTime($val) + { + $this->_propDict["lastSeenDateTime"] = $val; + return $this; + } + + /** + * Gets the host + * + * @return Host|null The host + */ + public function getHost() + { + if (array_key_exists("host", $this->_propDict)) { + if (is_a($this->_propDict["host"], "\Microsoft\Graph\SecurityNamespace\Model\Host") || is_null($this->_propDict["host"])) { + return $this->_propDict["host"]; + } else { + $this->_propDict["host"] = new Host($this->_propDict["host"]); + return $this->_propDict["host"]; + } + } + return null; + } + + /** + * Sets the host + * + * @param Host $val The value to assign to the host + * + * @return WhoisNameserver The WhoisNameserver + */ + public function setHost($val) + { + $this->_propDict["host"] = $val; + return $this; + } +} diff --git a/src/SecurityNamespace/Model/WhoisRecord.php b/src/SecurityNamespace/Model/WhoisRecord.php new file mode 100644 index 00000000000..00393de91c7 --- /dev/null +++ b/src/SecurityNamespace/Model/WhoisRecord.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["history"]; + } else { + return null; + } + } + + /** + * Sets the history + * The collection of historical records associated to this WHOIS object. + * + * @param WhoisHistoryRecord[] $val The history + * + * @return WhoisRecord + */ + public function setHistory($val) + { + $this->_propDict["history"] = $val; + return $this; + } + +}