From 10851dee4ba78688afdd6c3eda8db6a5af9a7a33 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 2 May 2023 10:11:21 +0000 Subject: [PATCH 1/4] Update generated files with build 113700 --- ...cessPackageAssignmentRequestorSettings.php | 28 +++---- ...TenantAccessPolicyConfigurationDefault.php | 31 ++++++++ ...TenantAccessPolicyConfigurationPartner.php | 31 ++++++++ .../InboundOutboundPolicyConfiguration.php | 78 +++++++++++++++++++ src/Model/SignInActivity.php | 8 +- 5 files changed, 158 insertions(+), 18 deletions(-) create mode 100644 src/Model/InboundOutboundPolicyConfiguration.php diff --git a/src/Model/AccessPackageAssignmentRequestorSettings.php b/src/Model/AccessPackageAssignmentRequestorSettings.php index 54d251aa5d3..b2488ef9e16 100644 --- a/src/Model/AccessPackageAssignmentRequestorSettings.php +++ b/src/Model/AccessPackageAssignmentRequestorSettings.php @@ -25,7 +25,7 @@ class AccessPackageAssignmentRequestorSettings extends Entity { /** * Gets the allowCustomAssignmentSchedule - * If false, the requestor is not permitted to include a schedule in their request. + * False indicates that the requestor is not permitted to include a schedule in their request. * * @return bool|null The allowCustomAssignmentSchedule */ @@ -40,7 +40,7 @@ public function getAllowCustomAssignmentSchedule() /** * Sets the allowCustomAssignmentSchedule - * If false, the requestor is not permitted to include a schedule in their request. + * False indicates that the requestor is not permitted to include a schedule in their request. * * @param bool $val The value of the allowCustomAssignmentSchedule * @@ -53,7 +53,7 @@ public function setAllowCustomAssignmentSchedule($val) } /** * Gets the enableOnBehalfRequestorsToAddAccess - * If true, allows on-behalf-of requestors to create a request to add access for another principal. + * True allows on-behalf-of requestors to create a request to add access for another principal. * * @return bool|null The enableOnBehalfRequestorsToAddAccess */ @@ -68,7 +68,7 @@ public function getEnableOnBehalfRequestorsToAddAccess() /** * Sets the enableOnBehalfRequestorsToAddAccess - * If true, allows on-behalf-of requestors to create a request to add access for another principal. + * True allows on-behalf-of requestors to create a request to add access for another principal. * * @param bool $val The value of the enableOnBehalfRequestorsToAddAccess * @@ -81,7 +81,7 @@ public function setEnableOnBehalfRequestorsToAddAccess($val) } /** * Gets the enableOnBehalfRequestorsToRemoveAccess - * If true, allows on-behalf-of requestors to create a request to remove access for another principal. + * True allows on-behalf-of requestors to create a request to remove access for another principal. * * @return bool|null The enableOnBehalfRequestorsToRemoveAccess */ @@ -96,7 +96,7 @@ public function getEnableOnBehalfRequestorsToRemoveAccess() /** * Sets the enableOnBehalfRequestorsToRemoveAccess - * If true, allows on-behalf-of requestors to create a request to remove access for another principal. + * True allows on-behalf-of requestors to create a request to remove access for another principal. * * @param bool $val The value of the enableOnBehalfRequestorsToRemoveAccess * @@ -109,7 +109,7 @@ public function setEnableOnBehalfRequestorsToRemoveAccess($val) } /** * Gets the enableOnBehalfRequestorsToUpdateAccess - * If true, allows on-behalf-of requestors to create a request to update access for another principal. + * True allows on-behalf-of requestors to create a request to update access for another principal. * * @return bool|null The enableOnBehalfRequestorsToUpdateAccess */ @@ -124,7 +124,7 @@ public function getEnableOnBehalfRequestorsToUpdateAccess() /** * Sets the enableOnBehalfRequestorsToUpdateAccess - * If true, allows on-behalf-of requestors to create a request to update access for another principal. + * True allows on-behalf-of requestors to create a request to update access for another principal. * * @param bool $val The value of the enableOnBehalfRequestorsToUpdateAccess * @@ -137,7 +137,7 @@ public function setEnableOnBehalfRequestorsToUpdateAccess($val) } /** * Gets the enableTargetsToSelfAddAccess - * If true, allows requestors to create a request to add access for themselves. + * True allows requestors to create a request to add access for themselves. * * @return bool|null The enableTargetsToSelfAddAccess */ @@ -152,7 +152,7 @@ public function getEnableTargetsToSelfAddAccess() /** * Sets the enableTargetsToSelfAddAccess - * If true, allows requestors to create a request to add access for themselves. + * True allows requestors to create a request to add access for themselves. * * @param bool $val The value of the enableTargetsToSelfAddAccess * @@ -165,7 +165,7 @@ public function setEnableTargetsToSelfAddAccess($val) } /** * Gets the enableTargetsToSelfRemoveAccess - * If true, allows requestors to create a request to remove their access. + * True allows requestors to create a request to remove their access. * * @return bool|null The enableTargetsToSelfRemoveAccess */ @@ -180,7 +180,7 @@ public function getEnableTargetsToSelfRemoveAccess() /** * Sets the enableTargetsToSelfRemoveAccess - * If true, allows requestors to create a request to remove their access. + * True allows requestors to create a request to remove their access. * * @param bool $val The value of the enableTargetsToSelfRemoveAccess * @@ -193,7 +193,7 @@ public function setEnableTargetsToSelfRemoveAccess($val) } /** * Gets the enableTargetsToSelfUpdateAccess - * If true, allows requestors to create a request to update their access. + * True allows requestors to create a request to update their access. * * @return bool|null The enableTargetsToSelfUpdateAccess */ @@ -208,7 +208,7 @@ public function getEnableTargetsToSelfUpdateAccess() /** * Sets the enableTargetsToSelfUpdateAccess - * If true, allows requestors to create a request to update their access. + * True allows requestors to create a request to update their access. * * @param bool $val The value of the enableTargetsToSelfUpdateAccess * diff --git a/src/Model/CrossTenantAccessPolicyConfigurationDefault.php b/src/Model/CrossTenantAccessPolicyConfigurationDefault.php index f721667c1ef..13a0d837b20 100644 --- a/src/Model/CrossTenantAccessPolicyConfigurationDefault.php +++ b/src/Model/CrossTenantAccessPolicyConfigurationDefault.php @@ -24,6 +24,37 @@ */ class CrossTenantAccessPolicyConfigurationDefault extends Entity { + /** + * Gets the automaticUserConsentSettings + * + * @return InboundOutboundPolicyConfiguration|null The automaticUserConsentSettings + */ + public function getAutomaticUserConsentSettings() + { + if (array_key_exists("automaticUserConsentSettings", $this->_propDict)) { + if (is_a($this->_propDict["automaticUserConsentSettings"], "\Microsoft\Graph\Model\InboundOutboundPolicyConfiguration") || is_null($this->_propDict["automaticUserConsentSettings"])) { + return $this->_propDict["automaticUserConsentSettings"]; + } else { + $this->_propDict["automaticUserConsentSettings"] = new InboundOutboundPolicyConfiguration($this->_propDict["automaticUserConsentSettings"]); + return $this->_propDict["automaticUserConsentSettings"]; + } + } + return null; + } + + /** + * Sets the automaticUserConsentSettings + * + * @param InboundOutboundPolicyConfiguration $val The automaticUserConsentSettings + * + * @return CrossTenantAccessPolicyConfigurationDefault + */ + public function setAutomaticUserConsentSettings($val) + { + $this->_propDict["automaticUserConsentSettings"] = $val; + return $this; + } + /** * Gets the b2bCollaborationInbound * Defines your default configuration for users from other organizations accessing your resources via Azure AD B2B collaboration. diff --git a/src/Model/CrossTenantAccessPolicyConfigurationPartner.php b/src/Model/CrossTenantAccessPolicyConfigurationPartner.php index f7c740d9c96..89a7c4f8016 100644 --- a/src/Model/CrossTenantAccessPolicyConfigurationPartner.php +++ b/src/Model/CrossTenantAccessPolicyConfigurationPartner.php @@ -55,6 +55,37 @@ public function getProperties() return $this->_propDict; } + /** + * Gets the automaticUserConsentSettings + * + * @return InboundOutboundPolicyConfiguration|null The automaticUserConsentSettings + */ + public function getAutomaticUserConsentSettings() + { + if (array_key_exists("automaticUserConsentSettings", $this->_propDict)) { + if (is_a($this->_propDict["automaticUserConsentSettings"], "\Microsoft\Graph\Model\InboundOutboundPolicyConfiguration") || is_null($this->_propDict["automaticUserConsentSettings"])) { + return $this->_propDict["automaticUserConsentSettings"]; + } else { + $this->_propDict["automaticUserConsentSettings"] = new InboundOutboundPolicyConfiguration($this->_propDict["automaticUserConsentSettings"]); + return $this->_propDict["automaticUserConsentSettings"]; + } + } + return null; + } + + /** + * Sets the automaticUserConsentSettings + * + * @param InboundOutboundPolicyConfiguration $val The automaticUserConsentSettings + * + * @return CrossTenantAccessPolicyConfigurationPartner + */ + public function setAutomaticUserConsentSettings($val) + { + $this->_propDict["automaticUserConsentSettings"] = $val; + return $this; + } + /** * Gets the b2bCollaborationInbound * Defines your partner-specific configuration for users from other organizations accessing your resources via Azure AD B2B collaboration. diff --git a/src/Model/InboundOutboundPolicyConfiguration.php b/src/Model/InboundOutboundPolicyConfiguration.php new file mode 100644 index 00000000000..4621b559bff --- /dev/null +++ b/src/Model/InboundOutboundPolicyConfiguration.php @@ -0,0 +1,78 @@ +_propDict)) { + return $this->_propDict["inboundAllowed"]; + } else { + return null; + } + } + + /** + * Sets the inboundAllowed + * + * @param bool $val The value of the inboundAllowed + * + * @return InboundOutboundPolicyConfiguration + */ + public function setInboundAllowed($val) + { + $this->_propDict["inboundAllowed"] = $val; + return $this; + } + /** + * Gets the outboundAllowed + * + * @return bool|null The outboundAllowed + */ + public function getOutboundAllowed() + { + if (array_key_exists("outboundAllowed", $this->_propDict)) { + return $this->_propDict["outboundAllowed"]; + } else { + return null; + } + } + + /** + * Sets the outboundAllowed + * + * @param bool $val The value of the outboundAllowed + * + * @return InboundOutboundPolicyConfiguration + */ + public function setOutboundAllowed($val) + { + $this->_propDict["outboundAllowed"] = $val; + return $this; + } +} diff --git a/src/Model/SignInActivity.php b/src/Model/SignInActivity.php index f87d9bf0839..49367d4e1f9 100644 --- a/src/Model/SignInActivity.php +++ b/src/Model/SignInActivity.php @@ -26,7 +26,7 @@ class SignInActivity extends Entity /** * Gets the lastNonInteractiveSignInDateTime - * The last non-interactive sign-in date for a specific user. You can use this field to calculate the last time a client signed in to the directory on behalf of a user. Because some users may use clients to access tenant resources rather than signing into your tenant directly, you can use the non-interactive sign-in date to along with lastSignInDateTime to identify inactive users. The timestamp 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'. Azure AD maintains non-interactive sign-ins going back to May 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. + * The last non-interactive sign-in date for a specific user. You can use this field to calculate the last time a client attempted to sign into the directory on behalf of a user. Because some users may use clients to access tenant resources rather than signing into your tenant directly, you can use the non-interactive sign-in date to along with lastSignInDateTime to identify inactive users. The timestamp 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'. Azure AD maintains non-interactive sign-ins going back to May 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. * * @return \DateTime|null The lastNonInteractiveSignInDateTime */ @@ -45,7 +45,7 @@ public function getLastNonInteractiveSignInDateTime() /** * Sets the lastNonInteractiveSignInDateTime - * The last non-interactive sign-in date for a specific user. You can use this field to calculate the last time a client signed in to the directory on behalf of a user. Because some users may use clients to access tenant resources rather than signing into your tenant directly, you can use the non-interactive sign-in date to along with lastSignInDateTime to identify inactive users. The timestamp 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'. Azure AD maintains non-interactive sign-ins going back to May 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. + * The last non-interactive sign-in date for a specific user. You can use this field to calculate the last time a client attempted to sign into the directory on behalf of a user. Because some users may use clients to access tenant resources rather than signing into your tenant directly, you can use the non-interactive sign-in date to along with lastSignInDateTime to identify inactive users. The timestamp 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'. Azure AD maintains non-interactive sign-ins going back to May 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. * * @param \DateTime $val The value to assign to the lastNonInteractiveSignInDateTime * @@ -87,7 +87,7 @@ public function setLastNonInteractiveSignInRequestId($val) /** * Gets the lastSignInDateTime - * The last interactive sign-in date and time for a specific user. You can use this field to calculate the last time a user signed in to the directory with an interactive authentication method. This field can be used to build reports, such as inactive users. The timestamp 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'. Azure AD maintains interactive sign-ins going back to April 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. + * The last interactive sign-in date and time for a specific user. You can use this field to calculate the last time a user attempted to sign into the directory with an interactive authentication method. This field can be used to build reports, such as inactive users. The timestamp 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'. Azure AD maintains interactive sign-ins going back to April 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. * * @return \DateTime|null The lastSignInDateTime */ @@ -106,7 +106,7 @@ public function getLastSignInDateTime() /** * Sets the lastSignInDateTime - * The last interactive sign-in date and time for a specific user. You can use this field to calculate the last time a user signed in to the directory with an interactive authentication method. This field can be used to build reports, such as inactive users. The timestamp 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'. Azure AD maintains interactive sign-ins going back to April 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. + * The last interactive sign-in date and time for a specific user. You can use this field to calculate the last time a user attempted to sign into the directory with an interactive authentication method. This field can be used to build reports, such as inactive users. The timestamp 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'. Azure AD maintains interactive sign-ins going back to April 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. * * @param \DateTime $val The value to assign to the lastSignInDateTime * From 984b7a0b85e7b7475830a5d67eb0236934debbc3 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 2 May 2023 10:15:39 +0000 Subject: [PATCH 2/4] Update generated files with build 113700 --- .../Graph/CallRecords/Model/MediaStream.php | 94 ++++ .../CallRecords/Model/ParticipantEndpoint.php | 112 ++++ .../Graph/CallRecords/Model/Session.php | 29 + .../Model/AndroidFotaDeploymentAssignment.php | 33 ++ .../AndroidFotaDeploymentAssignmentTarget.php | 13 +- ...php => AssignmentFilterManagementType.php} | 15 +- ...tyConfiguration.php => AssignmentType.php} | 14 +- .../Microsoft/Graph/Model/CourseStatus.php | 36 ++ .../Microsoft/Graph/Model/CustomAppScope.php | 58 ++ ...=> CustomAppScopeAttributesDictionary.php} | 6 +- .../Graph/Model/DeltaParticipants.php | 2 + .../Graph/Model/DepMacOSEnrollmentProfile.php | 29 - ...DeviceAndAppManagementAssignmentFilter.php | 33 ++ .../Graph/Model/DeviceLocalCredential.php | 154 ++++++ .../Graph/Model/DeviceLocalCredentialInfo.php | 152 ++++++ .../Graph/Model/DeviceManagement.php | 90 ++-- ...rationApplicationSettingApplicability.php} | 7 +- ...ationChoiceSettingCollectionDefinition.php | 8 +- ...ntConfigurationChoiceSettingDefinition.php | 8 +- ...viceManagementConfigurationControlType.php | 1 + ...iceManagementConfigurationSettingUsage.php | 1 + ...nagementConfigurationSettingVisibility.php | 1 + ...iceManagementSettingInsightsDefinition.php | 87 +++ ...ceManagementTemplateInsightsDefinition.php | 57 ++ .../Graph/Model/DeviceRegistrationPolicy.php | 33 ++ .../Graph/Model/EducationAssignmentStatus.php | 1 + .../Graph/Model/EmployeeExperience.php | 28 + .../Graph/Model/EmployeeExperienceUser.php | 55 ++ src/Beta/Microsoft/Graph/Model/Identity.php | 8 +- .../Microsoft/Graph/Model/IdentitySet.php | 12 +- .../Model/IosStoreAppAssignmentSettings.php | 4 +- src/Beta/Microsoft/Graph/Model/KeyValue.php | 8 +- .../Graph/Model/LearningAssignment.php | 188 +++++++ .../Graph/Model/LearningCourseActivity.php | 238 +++++++++ .../Graph/Model/LearningProvider.php | 28 + .../Model/LearningSelfInitiatedCourse.php | 60 +++ .../Model/LocalAdminPasswordSettings.php | 54 ++ .../Model/MacOsLobAppAssignmentSettings.php | 4 +- .../Model/MobileAppTroubleshootingEvent.php | 29 + .../Graph/Model/ObliterationBehavior.php | 37 ++ .../OemWarrantyInformationOnboarding.php | 87 --- .../Graph/Model/OfficeClientCheckinStatus.php | 265 --------- .../Graph/Model/OfficeClientConfiguration.php | 257 --------- .../OfficeClientConfigurationAssignment.php | 58 -- .../Graph/Model/OfficeConfiguration.php | 194 ------- ...ficeConfigurationGroupAssignmentTarget.php | 63 --- .../Graph/Model/OfficeUserCheckinSummary.php | 78 --- .../Microsoft/Graph/Model/Participant.php | 4 + .../Model/PrivilegeManagementElevation.php | 503 ------------------ .../Microsoft/Graph/Model/RemovedState.php | 2 + .../Microsoft/Graph/Model/SignInActivity.php | 8 +- src/Beta/Microsoft/Graph/Model/TimeCard.php | 4 +- .../Graph/Model/UnifiedRbacApplication.php | 28 + src/Beta/Microsoft/Graph/Model/User.php | 31 ++ .../Graph/Model/ZebraFotaDeployment.php | 29 + 55 files changed, 1792 insertions(+), 1646 deletions(-) rename src/Beta/Microsoft/Graph/Model/{PrivilegeManagementElevationType.php => AssignmentFilterManagementType.php} (62%) rename src/Beta/Microsoft/Graph/Model/{WindowsOfficeClientSecurityConfiguration.php => AssignmentType.php} (70%) create mode 100644 src/Beta/Microsoft/Graph/Model/CourseStatus.php create mode 100644 src/Beta/Microsoft/Graph/Model/CustomAppScope.php rename src/Beta/Microsoft/Graph/Model/{OfficeConfigurationAssignmentTarget.php => CustomAppScopeAttributesDictionary.php} (82%) create mode 100644 src/Beta/Microsoft/Graph/Model/DeviceLocalCredential.php create mode 100644 src/Beta/Microsoft/Graph/Model/DeviceLocalCredentialInfo.php rename src/Beta/Microsoft/Graph/Model/{WindowsOfficeClientConfiguration.php => DeviceManagementConfigurationApplicationSettingApplicability.php} (71%) create mode 100644 src/Beta/Microsoft/Graph/Model/DeviceManagementSettingInsightsDefinition.php create mode 100644 src/Beta/Microsoft/Graph/Model/DeviceManagementTemplateInsightsDefinition.php create mode 100644 src/Beta/Microsoft/Graph/Model/EmployeeExperienceUser.php create mode 100644 src/Beta/Microsoft/Graph/Model/LearningAssignment.php create mode 100644 src/Beta/Microsoft/Graph/Model/LearningCourseActivity.php create mode 100644 src/Beta/Microsoft/Graph/Model/LearningSelfInitiatedCourse.php create mode 100644 src/Beta/Microsoft/Graph/Model/LocalAdminPasswordSettings.php create mode 100644 src/Beta/Microsoft/Graph/Model/ObliterationBehavior.php delete mode 100644 src/Beta/Microsoft/Graph/Model/OfficeClientCheckinStatus.php delete mode 100644 src/Beta/Microsoft/Graph/Model/OfficeClientConfiguration.php delete mode 100644 src/Beta/Microsoft/Graph/Model/OfficeClientConfigurationAssignment.php delete mode 100644 src/Beta/Microsoft/Graph/Model/OfficeConfiguration.php delete mode 100644 src/Beta/Microsoft/Graph/Model/OfficeConfigurationGroupAssignmentTarget.php delete mode 100644 src/Beta/Microsoft/Graph/Model/OfficeUserCheckinSummary.php delete mode 100644 src/Beta/Microsoft/Graph/Model/PrivilegeManagementElevation.php diff --git a/src/Beta/Microsoft/Graph/CallRecords/Model/MediaStream.php b/src/Beta/Microsoft/Graph/CallRecords/Model/MediaStream.php index c0ae0806659..41bdd158562 100644 --- a/src/Beta/Microsoft/Graph/CallRecords/Model/MediaStream.php +++ b/src/Beta/Microsoft/Graph/CallRecords/Model/MediaStream.php @@ -146,6 +146,39 @@ public function setAverageBandwidthEstimate($val) return $this; } + /** + * Gets the averageFreezeDuration + * Average of the received freeze duration related to the video stream. + * + * @return \DateInterval|null The averageFreezeDuration + */ + public function getAverageFreezeDuration() + { + if (array_key_exists("averageFreezeDuration", $this->_propDict)) { + if (is_a($this->_propDict["averageFreezeDuration"], "\DateInterval") || is_null($this->_propDict["averageFreezeDuration"])) { + return $this->_propDict["averageFreezeDuration"]; + } else { + $this->_propDict["averageFreezeDuration"] = new \DateInterval($this->_propDict["averageFreezeDuration"]); + return $this->_propDict["averageFreezeDuration"]; + } + } + return null; + } + + /** + * Sets the averageFreezeDuration + * Average of the received freeze duration related to the video stream. + * + * @param \DateInterval $val The value to assign to the averageFreezeDuration + * + * @return MediaStream The MediaStream + */ + public function setAverageFreezeDuration($val) + { + $this->_propDict["averageFreezeDuration"] = $val; + return $this; + } + /** * Gets the averageJitter * Average jitter for the stream computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. @@ -413,6 +446,34 @@ public function setEndDateTime($val) return $this; } /** + * Gets the isAudioForwardErrorCorrectionUsed + * Indicates whether the forward error correction (FEC) was used at some point during the session. The default value is null. + * + * @return bool|null The isAudioForwardErrorCorrectionUsed + */ + public function getIsAudioForwardErrorCorrectionUsed() + { + if (array_key_exists("isAudioForwardErrorCorrectionUsed", $this->_propDict)) { + return $this->_propDict["isAudioForwardErrorCorrectionUsed"]; + } else { + return null; + } + } + + /** + * Sets the isAudioForwardErrorCorrectionUsed + * Indicates whether the forward error correction (FEC) was used at some point during the session. The default value is null. + * + * @param bool $val The value of the isAudioForwardErrorCorrectionUsed + * + * @return MediaStream + */ + public function setIsAudioForwardErrorCorrectionUsed($val) + { + $this->_propDict["isAudioForwardErrorCorrectionUsed"] = $val; + return $this; + } + /** * Gets the lowFrameRateRatio * Fraction of the call where frame rate is less than 7.5 frames per second. * @@ -680,6 +741,39 @@ public function setPostForwardErrorCorrectionPacketLossRate($val) return $this; } + /** + * Gets the rmsFreezeDuration + * Root mean square of the received freeze duration related to the video stream. + * + * @return \DateInterval|null The rmsFreezeDuration + */ + public function getRmsFreezeDuration() + { + if (array_key_exists("rmsFreezeDuration", $this->_propDict)) { + if (is_a($this->_propDict["rmsFreezeDuration"], "\DateInterval") || is_null($this->_propDict["rmsFreezeDuration"])) { + return $this->_propDict["rmsFreezeDuration"]; + } else { + $this->_propDict["rmsFreezeDuration"] = new \DateInterval($this->_propDict["rmsFreezeDuration"]); + return $this->_propDict["rmsFreezeDuration"]; + } + } + return null; + } + + /** + * Sets the rmsFreezeDuration + * Root mean square of the received freeze duration related to the video stream. + * + * @param \DateInterval $val The value to assign to the rmsFreezeDuration + * + * @return MediaStream The MediaStream + */ + public function setRmsFreezeDuration($val) + { + $this->_propDict["rmsFreezeDuration"] = $val; + return $this; + } + /** * Gets the startDateTime * UTC time when the stream started. 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 diff --git a/src/Beta/Microsoft/Graph/CallRecords/Model/ParticipantEndpoint.php b/src/Beta/Microsoft/Graph/CallRecords/Model/ParticipantEndpoint.php index 059a6466e64..5c383bbc8f3 100644 --- a/src/Beta/Microsoft/Graph/CallRecords/Model/ParticipantEndpoint.php +++ b/src/Beta/Microsoft/Graph/CallRecords/Model/ParticipantEndpoint.php @@ -23,6 +23,90 @@ */ class ParticipantEndpoint extends Endpoint { + /** + * Gets the cpuCoresCount + * CPU number of cores used by the media endpoint. + * + * @return int|null The cpuCoresCount + */ + public function getCpuCoresCount() + { + if (array_key_exists("cpuCoresCount", $this->_propDict)) { + return $this->_propDict["cpuCoresCount"]; + } else { + return null; + } + } + + /** + * Sets the cpuCoresCount + * CPU number of cores used by the media endpoint. + * + * @param int $val The value of the cpuCoresCount + * + * @return ParticipantEndpoint + */ + public function setCpuCoresCount($val) + { + $this->_propDict["cpuCoresCount"] = $val; + return $this; + } + /** + * Gets the cpuName + * CPU name used by the media endpoint. + * + * @return string|null The cpuName + */ + public function getCpuName() + { + if (array_key_exists("cpuName", $this->_propDict)) { + return $this->_propDict["cpuName"]; + } else { + return null; + } + } + + /** + * Sets the cpuName + * CPU name used by the media endpoint. + * + * @param string $val The value of the cpuName + * + * @return ParticipantEndpoint + */ + public function setCpuName($val) + { + $this->_propDict["cpuName"] = $val; + return $this; + } + /** + * Gets the cpuProcessorSpeedInMhz + * CPU processor speed used by the media endpoint. + * + * @return int|null The cpuProcessorSpeedInMhz + */ + public function getCpuProcessorSpeedInMhz() + { + if (array_key_exists("cpuProcessorSpeedInMhz", $this->_propDict)) { + return $this->_propDict["cpuProcessorSpeedInMhz"]; + } else { + return null; + } + } + + /** + * Sets the cpuProcessorSpeedInMhz + * CPU processor speed used by the media endpoint. + * + * @param int $val The value of the cpuProcessorSpeedInMhz + * + * @return ParticipantEndpoint + */ + public function setCpuProcessorSpeedInMhz($val) + { + $this->_propDict["cpuProcessorSpeedInMhz"] = $val; + return $this; + } /** * Gets the feedback @@ -89,4 +173,32 @@ public function setIdentity($val) $this->_propDict["identity"] = $val; return $this; } + /** + * Gets the name + * Name of the device used by the media endpoint. + * + * @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 + * Name of the device used by the media endpoint. + * + * @param string $val The value of the name + * + * @return ParticipantEndpoint + */ + public function setName($val) + { + $this->_propDict["name"] = $val; + return $this; + } } diff --git a/src/Beta/Microsoft/Graph/CallRecords/Model/Session.php b/src/Beta/Microsoft/Graph/CallRecords/Model/Session.php index bf200d20f86..a0a896d8215 100644 --- a/src/Beta/Microsoft/Graph/CallRecords/Model/Session.php +++ b/src/Beta/Microsoft/Graph/CallRecords/Model/Session.php @@ -156,6 +156,35 @@ public function setFailureInfo($val) return $this; } + /** + * Gets the isTest + * Specifies whether the session is a test. + * + * @return bool|null The isTest + */ + public function getIsTest() + { + if (array_key_exists("isTest", $this->_propDict)) { + return $this->_propDict["isTest"]; + } else { + return null; + } + } + + /** + * Sets the isTest + * Specifies whether the session is a test. + * + * @param bool $val The isTest + * + * @return Session + */ + public function setIsTest($val) + { + $this->_propDict["isTest"] = boolval($val); + return $this; + } + /** * Gets the modalities diff --git a/src/Beta/Microsoft/Graph/Model/AndroidFotaDeploymentAssignment.php b/src/Beta/Microsoft/Graph/Model/AndroidFotaDeploymentAssignment.php index 06b71bb3cf7..c97f034a232 100644 --- a/src/Beta/Microsoft/Graph/Model/AndroidFotaDeploymentAssignment.php +++ b/src/Beta/Microsoft/Graph/Model/AndroidFotaDeploymentAssignment.php @@ -23,6 +23,39 @@ */ class AndroidFotaDeploymentAssignment extends Entity { + + /** + * Gets the assignmentTarget + * The Azure Active Directory (Azure AD) we are deploying firmware updates to (e.g.: d93c8f48-bd42-4514-ba40-bc6b84780930). NOTE: Use this property moving forward because the existing property, target, is deprecated. + * + * @return DeviceAndAppManagementAssignmentTarget|null The assignmentTarget + */ + public function getAssignmentTarget() + { + if (array_key_exists("assignmentTarget", $this->_propDict)) { + if (is_a($this->_propDict["assignmentTarget"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["assignmentTarget"])) { + return $this->_propDict["assignmentTarget"]; + } else { + $this->_propDict["assignmentTarget"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["assignmentTarget"]); + return $this->_propDict["assignmentTarget"]; + } + } + return null; + } + + /** + * Sets the assignmentTarget + * The Azure Active Directory (Azure AD) we are deploying firmware updates to (e.g.: d93c8f48-bd42-4514-ba40-bc6b84780930). NOTE: Use this property moving forward because the existing property, target, is deprecated. + * + * @param DeviceAndAppManagementAssignmentTarget $val The value to assign to the assignmentTarget + * + * @return AndroidFotaDeploymentAssignment The AndroidFotaDeploymentAssignment + */ + public function setAssignmentTarget($val) + { + $this->_propDict["assignmentTarget"] = $val; + return $this; + } /** * Gets the displayName * The display name of the Azure AD security group used for the assignment. diff --git a/src/Beta/Microsoft/Graph/Model/AndroidFotaDeploymentAssignmentTarget.php b/src/Beta/Microsoft/Graph/Model/AndroidFotaDeploymentAssignmentTarget.php index b28feb0da73..ea856d0a8d8 100644 --- a/src/Beta/Microsoft/Graph/Model/AndroidFotaDeploymentAssignmentTarget.php +++ b/src/Beta/Microsoft/Graph/Model/AndroidFotaDeploymentAssignmentTarget.php @@ -21,8 +21,19 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class AndroidFotaDeploymentAssignmentTarget extends Entity +class AndroidFotaDeploymentAssignmentTarget extends DeviceAndAppManagementAssignmentTarget { + /** + * Set the @odata.type since this type is immediately descended from an abstract + * type that is referenced as the type in an entity. + * @param array $propDict The property dictionary + */ + public function __construct($propDict = array()) + { + parent::__construct($propDict); + $this->setODataType("#microsoft.graph.androidFotaDeploymentAssignmentTarget"); + } + /** * Gets the groupId * AAD Group Id. diff --git a/src/Beta/Microsoft/Graph/Model/PrivilegeManagementElevationType.php b/src/Beta/Microsoft/Graph/Model/AssignmentFilterManagementType.php similarity index 62% rename from src/Beta/Microsoft/Graph/Model/PrivilegeManagementElevationType.php rename to src/Beta/Microsoft/Graph/Model/AssignmentFilterManagementType.php index 72b4ae1fd79..6f748a9c3db 100644 --- a/src/Beta/Microsoft/Graph/Model/PrivilegeManagementElevationType.php +++ b/src/Beta/Microsoft/Graph/Model/AssignmentFilterManagementType.php @@ -2,7 +2,7 @@ /** * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * -* PrivilegeManagementElevationType File +* AssignmentFilterManagementType File * PHP version 7 * * @category Library @@ -16,7 +16,7 @@ use Microsoft\Graph\Core\Enum; /** -* PrivilegeManagementElevationType class +* AssignmentFilterManagementType class * * @category Model * @package Microsoft.Graph @@ -24,15 +24,12 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class PrivilegeManagementElevationType extends Enum +class AssignmentFilterManagementType extends Enum { /** - * The Enum PrivilegeManagementElevationType + * The Enum AssignmentFilterManagementType */ - const UNDETERMINED = "undetermined"; - const UNMANAGED_ELEVATION = "unmanagedElevation"; - const ZERO_TOUCH_ELEVATION = "zeroTouchElevation"; - const USER_CONFIRMED_ELEVATION = "userConfirmedElevation"; - const SUPPORT_APPROVED_ELEVATION = "supportApprovedElevation"; + const DEVICES = "devices"; + const APPS = "apps"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Beta/Microsoft/Graph/Model/WindowsOfficeClientSecurityConfiguration.php b/src/Beta/Microsoft/Graph/Model/AssignmentType.php similarity index 70% rename from src/Beta/Microsoft/Graph/Model/WindowsOfficeClientSecurityConfiguration.php rename to src/Beta/Microsoft/Graph/Model/AssignmentType.php index 9bd1072eadf..3d05cbd9017 100644 --- a/src/Beta/Microsoft/Graph/Model/WindowsOfficeClientSecurityConfiguration.php +++ b/src/Beta/Microsoft/Graph/Model/AssignmentType.php @@ -2,7 +2,7 @@ /** * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * -* WindowsOfficeClientSecurityConfiguration File +* AssignmentType File * PHP version 7 * * @category Library @@ -13,8 +13,10 @@ */ namespace Beta\Microsoft\Graph\Model; +use Microsoft\Graph\Core\Enum; + /** -* WindowsOfficeClientSecurityConfiguration class +* AssignmentType class * * @category Model * @package Microsoft.Graph @@ -22,6 +24,12 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class WindowsOfficeClientSecurityConfiguration extends OfficeClientConfiguration +class AssignmentType extends Enum { + /** + * The Enum AssignmentType + */ + const REQUIRED = "required"; + const RECOMMENDED = "recommended"; + const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Beta/Microsoft/Graph/Model/CourseStatus.php b/src/Beta/Microsoft/Graph/Model/CourseStatus.php new file mode 100644 index 00000000000..a322dab03b3 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/CourseStatus.php @@ -0,0 +1,36 @@ +_propDict)) { + if (is_a($this->_propDict["customAttributes"], "\Beta\Microsoft\Graph\Model\CustomAppScopeAttributesDictionary") || is_null($this->_propDict["customAttributes"])) { + return $this->_propDict["customAttributes"]; + } else { + $this->_propDict["customAttributes"] = new CustomAppScopeAttributesDictionary($this->_propDict["customAttributes"]); + return $this->_propDict["customAttributes"]; + } + } + return null; + } + + /** + * Sets the customAttributes + * + * @param CustomAppScopeAttributesDictionary $val The customAttributes + * + * @return CustomAppScope + */ + public function setCustomAttributes($val) + { + $this->_propDict["customAttributes"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/OfficeConfigurationAssignmentTarget.php b/src/Beta/Microsoft/Graph/Model/CustomAppScopeAttributesDictionary.php similarity index 82% rename from src/Beta/Microsoft/Graph/Model/OfficeConfigurationAssignmentTarget.php rename to src/Beta/Microsoft/Graph/Model/CustomAppScopeAttributesDictionary.php index 15ec068b384..454275d4a4e 100644 --- a/src/Beta/Microsoft/Graph/Model/OfficeConfigurationAssignmentTarget.php +++ b/src/Beta/Microsoft/Graph/Model/CustomAppScopeAttributesDictionary.php @@ -2,7 +2,7 @@ /** * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * -* OfficeConfigurationAssignmentTarget File +* CustomAppScopeAttributesDictionary File * PHP version 7 * * @category Library @@ -13,7 +13,7 @@ */ namespace Beta\Microsoft\Graph\Model; /** -* OfficeConfigurationAssignmentTarget class +* CustomAppScopeAttributesDictionary class * * @category Model * @package Microsoft.Graph @@ -21,6 +21,6 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class OfficeConfigurationAssignmentTarget extends Entity +class CustomAppScopeAttributesDictionary extends Dictionary { } diff --git a/src/Beta/Microsoft/Graph/Model/DeltaParticipants.php b/src/Beta/Microsoft/Graph/Model/DeltaParticipants.php index 615f038a218..8081449434a 100644 --- a/src/Beta/Microsoft/Graph/Model/DeltaParticipants.php +++ b/src/Beta/Microsoft/Graph/Model/DeltaParticipants.php @@ -26,6 +26,7 @@ class DeltaParticipants extends Entity { /** * Gets the sequenceNumber + * The sequence number for the roster update that is used to identify the notification order. * * @return int|null The sequenceNumber */ @@ -40,6 +41,7 @@ public function getSequenceNumber() /** * Sets the sequenceNumber + * The sequence number for the roster update that is used to identify the notification order. * * @param int $val The sequenceNumber * diff --git a/src/Beta/Microsoft/Graph/Model/DepMacOSEnrollmentProfile.php b/src/Beta/Microsoft/Graph/Model/DepMacOSEnrollmentProfile.php index bb2ac98a2af..b0eddff05ae 100644 --- a/src/Beta/Microsoft/Graph/Model/DepMacOSEnrollmentProfile.php +++ b/src/Beta/Microsoft/Graph/Model/DepMacOSEnrollmentProfile.php @@ -488,35 +488,6 @@ public function setRegistrationDisabled($val) return $this; } - /** - * Gets the requestRequiresNetworkTether - * Indicates if the device is network-tethered to run the command - * - * @return bool|null The requestRequiresNetworkTether - */ - public function getRequestRequiresNetworkTether() - { - if (array_key_exists("requestRequiresNetworkTether", $this->_propDict)) { - return $this->_propDict["requestRequiresNetworkTether"]; - } else { - return null; - } - } - - /** - * Sets the requestRequiresNetworkTether - * Indicates if the device is network-tethered to run the command - * - * @param bool $val The requestRequiresNetworkTether - * - * @return DepMacOSEnrollmentProfile - */ - public function setRequestRequiresNetworkTether($val) - { - $this->_propDict["requestRequiresNetworkTether"] = boolval($val); - return $this; - } - /** * Gets the setPrimarySetupAccountAsRegularUser * Indicates whether Setup Assistant will set the account as a regular user diff --git a/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementAssignmentFilter.php b/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementAssignmentFilter.php index a24f7bf42fa..ac22b03c546 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementAssignmentFilter.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementAssignmentFilter.php @@ -24,6 +24,39 @@ */ class DeviceAndAppManagementAssignmentFilter extends Entity { + /** + * Gets the assignmentFilterManagementType + * Indicates filter is applied to either 'devices' or 'apps' management type. Possible values are devices, apps. Default filter will be applied to 'devices'. Possible values are: devices, apps, unknownFutureValue. + * + * @return AssignmentFilterManagementType|null The assignmentFilterManagementType + */ + public function getAssignmentFilterManagementType() + { + if (array_key_exists("assignmentFilterManagementType", $this->_propDict)) { + if (is_a($this->_propDict["assignmentFilterManagementType"], "\Beta\Microsoft\Graph\Model\AssignmentFilterManagementType") || is_null($this->_propDict["assignmentFilterManagementType"])) { + return $this->_propDict["assignmentFilterManagementType"]; + } else { + $this->_propDict["assignmentFilterManagementType"] = new AssignmentFilterManagementType($this->_propDict["assignmentFilterManagementType"]); + return $this->_propDict["assignmentFilterManagementType"]; + } + } + return null; + } + + /** + * Sets the assignmentFilterManagementType + * Indicates filter is applied to either 'devices' or 'apps' management type. Possible values are devices, apps. Default filter will be applied to 'devices'. Possible values are: devices, apps, unknownFutureValue. + * + * @param AssignmentFilterManagementType $val The assignmentFilterManagementType + * + * @return DeviceAndAppManagementAssignmentFilter + */ + public function setAssignmentFilterManagementType($val) + { + $this->_propDict["assignmentFilterManagementType"] = $val; + return $this; + } + /** * Gets the createdDateTime * The creation time of the assignment filter. The value cannot be modified and is automatically populated during new assignment filter process. 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 would look like this: '2014-01-01T00:00:00Z'. diff --git a/src/Beta/Microsoft/Graph/Model/DeviceLocalCredential.php b/src/Beta/Microsoft/Graph/Model/DeviceLocalCredential.php new file mode 100644 index 00000000000..aad1d4a784e --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/DeviceLocalCredential.php @@ -0,0 +1,154 @@ +setODataType("#microsoft.graph.deviceLocalCredential"); + } + + /** + * Gets the accountName + * The name of the local admin account for which LAPS is enabled. + * + * @return string|null The accountName + */ + public function getAccountName() + { + if (array_key_exists("accountName", $this->_propDict)) { + return $this->_propDict["accountName"]; + } else { + return null; + } + } + + /** + * Sets the accountName + * The name of the local admin account for which LAPS is enabled. + * + * @param string $val The value of the accountName + * + * @return DeviceLocalCredential + */ + public function setAccountName($val) + { + $this->_propDict["accountName"] = $val; + return $this; + } + /** + * Gets the accountSid + * The SID of the local admin account for which LAPS is enabled. + * + * @return string|null The accountSid + */ + public function getAccountSid() + { + if (array_key_exists("accountSid", $this->_propDict)) { + return $this->_propDict["accountSid"]; + } else { + return null; + } + } + + /** + * Sets the accountSid + * The SID of the local admin account for which LAPS is enabled. + * + * @param string $val The value of the accountSid + * + * @return DeviceLocalCredential + */ + public function setAccountSid($val) + { + $this->_propDict["accountSid"] = $val; + return $this; + } + + /** + * Gets the backupDateTime + * When the local adminstrator account credential for the device object was backed up to Azure Active Directory. + * + * @return \DateTime|null The backupDateTime + */ + public function getBackupDateTime() + { + if (array_key_exists("backupDateTime", $this->_propDict)) { + if (is_a($this->_propDict["backupDateTime"], "\DateTime") || is_null($this->_propDict["backupDateTime"])) { + return $this->_propDict["backupDateTime"]; + } else { + $this->_propDict["backupDateTime"] = new \DateTime($this->_propDict["backupDateTime"]); + return $this->_propDict["backupDateTime"]; + } + } + return null; + } + + /** + * Sets the backupDateTime + * When the local adminstrator account credential for the device object was backed up to Azure Active Directory. + * + * @param \DateTime $val The value to assign to the backupDateTime + * + * @return DeviceLocalCredential The DeviceLocalCredential + */ + public function setBackupDateTime($val) + { + $this->_propDict["backupDateTime"] = $val; + return $this; + } + /** + * Gets the passwordBase64 + * The password for the local administrator account that is backed up to Azure Active Directory and returned as a base 64 encoded value. + * + * @return string|null The passwordBase64 + */ + public function getPasswordBase64() + { + if (array_key_exists("passwordBase64", $this->_propDict)) { + return $this->_propDict["passwordBase64"]; + } else { + return null; + } + } + + /** + * Sets the passwordBase64 + * The password for the local administrator account that is backed up to Azure Active Directory and returned as a base 64 encoded value. + * + * @param string $val The value of the passwordBase64 + * + * @return DeviceLocalCredential + */ + public function setPasswordBase64($val) + { + $this->_propDict["passwordBase64"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/DeviceLocalCredentialInfo.php b/src/Beta/Microsoft/Graph/Model/DeviceLocalCredentialInfo.php new file mode 100644 index 00000000000..62961f07cc3 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/DeviceLocalCredentialInfo.php @@ -0,0 +1,152 @@ +_propDict)) { + return $this->_propDict["credentials"]; + } else { + return null; + } + } + + /** + * Sets the credentials + * The credentials of the device's local administrator account backed up to Azure Active Directory. + * + * @param DeviceLocalCredential[] $val The credentials + * + * @return DeviceLocalCredentialInfo + */ + public function setCredentials($val) + { + $this->_propDict["credentials"] = $val; + return $this; + } + + /** + * Gets the deviceName + * Display name of the device that the local credentials are associated with. + * + * @return string|null The deviceName + */ + public function getDeviceName() + { + if (array_key_exists("deviceName", $this->_propDict)) { + return $this->_propDict["deviceName"]; + } else { + return null; + } + } + + /** + * Sets the deviceName + * Display name of the device that the local credentials are associated with. + * + * @param string $val The deviceName + * + * @return DeviceLocalCredentialInfo + */ + public function setDeviceName($val) + { + $this->_propDict["deviceName"] = $val; + return $this; + } + + /** + * Gets the lastBackupDateTime + * When the local administrator account credential was backed up to Azure Active Directory. + * + * @return \DateTime|null The lastBackupDateTime + */ + public function getLastBackupDateTime() + { + if (array_key_exists("lastBackupDateTime", $this->_propDict)) { + if (is_a($this->_propDict["lastBackupDateTime"], "\DateTime") || is_null($this->_propDict["lastBackupDateTime"])) { + return $this->_propDict["lastBackupDateTime"]; + } else { + $this->_propDict["lastBackupDateTime"] = new \DateTime($this->_propDict["lastBackupDateTime"]); + return $this->_propDict["lastBackupDateTime"]; + } + } + return null; + } + + /** + * Sets the lastBackupDateTime + * When the local administrator account credential was backed up to Azure Active Directory. + * + * @param \DateTime $val The lastBackupDateTime + * + * @return DeviceLocalCredentialInfo + */ + public function setLastBackupDateTime($val) + { + $this->_propDict["lastBackupDateTime"] = $val; + return $this; + } + + /** + * Gets the refreshDateTime + * When the local administrator account credential will be refreshed and backed up to Azure Active Directory. + * + * @return \DateTime|null The refreshDateTime + */ + public function getRefreshDateTime() + { + if (array_key_exists("refreshDateTime", $this->_propDict)) { + if (is_a($this->_propDict["refreshDateTime"], "\DateTime") || is_null($this->_propDict["refreshDateTime"])) { + return $this->_propDict["refreshDateTime"]; + } else { + $this->_propDict["refreshDateTime"] = new \DateTime($this->_propDict["refreshDateTime"]); + return $this->_propDict["refreshDateTime"]; + } + } + return null; + } + + /** + * Sets the refreshDateTime + * When the local administrator account credential will be refreshed and backed up to Azure Active Directory. + * + * @param \DateTime $val The refreshDateTime + * + * @return DeviceLocalCredentialInfo + */ + public function setRefreshDateTime($val) + { + $this->_propDict["refreshDateTime"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagement.php b/src/Beta/Microsoft/Graph/Model/DeviceManagement.php index c42eb4270aa..bcb5a97c895 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagement.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagement.php @@ -1796,6 +1796,36 @@ public function setReusableSettings($val) } + /** + * Gets the templateInsights + * List of setting insights in a template + * + * @return array|null The templateInsights + */ + public function getTemplateInsights() + { + if (array_key_exists("templateInsights", $this->_propDict)) { + return $this->_propDict["templateInsights"]; + } else { + return null; + } + } + + /** + * Sets the templateInsights + * List of setting insights in a template + * + * @param DeviceManagementTemplateInsightsDefinition[] $val The templateInsights + * + * @return DeviceManagement + */ + public function setTemplateInsights($val) + { + $this->_propDict["templateInsights"] = $val; + return $this; + } + + /** * Gets the templateSettings * List of all TemplateSettings @@ -2648,66 +2678,6 @@ public function setMobileAppTroubleshootingEvents($val) } - /** - * Gets the oemWarrantyInformationOnboarding - * List of OEM Warranty Statuses - * - * @return array|null The oemWarrantyInformationOnboarding - */ - public function getOemWarrantyInformationOnboarding() - { - if (array_key_exists("oemWarrantyInformationOnboarding", $this->_propDict)) { - return $this->_propDict["oemWarrantyInformationOnboarding"]; - } else { - return null; - } - } - - /** - * Sets the oemWarrantyInformationOnboarding - * List of OEM Warranty Statuses - * - * @param OemWarrantyInformationOnboarding[] $val The oemWarrantyInformationOnboarding - * - * @return DeviceManagement - */ - public function setOemWarrantyInformationOnboarding($val) - { - $this->_propDict["oemWarrantyInformationOnboarding"] = $val; - return $this; - } - - - /** - * Gets the privilegeManagementElevations - * The endpoint privilege management elevation event entity contains elevation details. - * - * @return array|null The privilegeManagementElevations - */ - public function getPrivilegeManagementElevations() - { - if (array_key_exists("privilegeManagementElevations", $this->_propDict)) { - return $this->_propDict["privilegeManagementElevations"]; - } else { - return null; - } - } - - /** - * Sets the privilegeManagementElevations - * The endpoint privilege management elevation event entity contains elevation details. - * - * @param PrivilegeManagementElevation[] $val The privilegeManagementElevations - * - * @return DeviceManagement - */ - public function setPrivilegeManagementElevations($val) - { - $this->_propDict["privilegeManagementElevations"] = $val; - return $this; - } - - /** * Gets the remoteActionAudits * The list of device remote action audits with the tenant. diff --git a/src/Beta/Microsoft/Graph/Model/WindowsOfficeClientConfiguration.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationApplicationSettingApplicability.php similarity index 71% rename from src/Beta/Microsoft/Graph/Model/WindowsOfficeClientConfiguration.php rename to src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationApplicationSettingApplicability.php index a2acb3d6b9f..95fcd20b602 100644 --- a/src/Beta/Microsoft/Graph/Model/WindowsOfficeClientConfiguration.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationApplicationSettingApplicability.php @@ -2,7 +2,7 @@ /** * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * -* WindowsOfficeClientConfiguration File +* DeviceManagementConfigurationApplicationSettingApplicability File * PHP version 7 * * @category Library @@ -12,9 +12,8 @@ * @link https://graph.microsoft.com */ namespace Beta\Microsoft\Graph\Model; - /** -* WindowsOfficeClientConfiguration class +* DeviceManagementConfigurationApplicationSettingApplicability class * * @category Model * @package Microsoft.Graph @@ -22,6 +21,6 @@ * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ -class WindowsOfficeClientConfiguration extends OfficeClientConfiguration +class DeviceManagementConfigurationApplicationSettingApplicability extends DeviceManagementConfigurationSettingApplicability { } diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php index 772f407516e..1dd8ea6b20b 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationChoiceSettingCollectionDefinition extends Dev { /** * Gets the maximumCount - * Maximum number of choices in the collection + * Maximum number of choices in the collection. Valid values 1 to 100 * * @return int|null The maximumCount */ @@ -41,7 +41,7 @@ public function getMaximumCount() /** * Sets the maximumCount - * Maximum number of choices in the collection + * Maximum number of choices in the collection. Valid values 1 to 100 * * @param int $val The maximumCount * @@ -55,7 +55,7 @@ public function setMaximumCount($val) /** * Gets the minimumCount - * Minimum number of choices in the collection + * Minimum number of choices in the collection. Valid values 1 to 100 * * @return int|null The minimumCount */ @@ -70,7 +70,7 @@ public function getMinimumCount() /** * Sets the minimumCount - * Minimum number of choices in the collection + * Minimum number of choices in the collection. Valid values 1 to 100 * * @param int $val The minimumCount * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingDefinition.php index fec75f417bc..7e0e869c876 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingDefinition.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingDefinition.php @@ -26,7 +26,7 @@ class DeviceManagementConfigurationChoiceSettingDefinition extends DeviceManagem { /** * Gets the defaultOptionId - * Default option for the choice setting. + * Default option for choice setting * * @return string|null The defaultOptionId */ @@ -41,7 +41,7 @@ public function getDefaultOptionId() /** * Sets the defaultOptionId - * Default option for the choice setting. + * Default option for choice setting * * @param string $val The defaultOptionId * @@ -56,7 +56,7 @@ public function setDefaultOptionId($val) /** * Gets the options - * Options for the setting that can be selected. + * Options for the setting that can be selected * * @return array|null The options */ @@ -71,7 +71,7 @@ public function getOptions() /** * Sets the options - * Options for the setting that can be selected. + * Options for the setting that can be selected * * @param DeviceManagementConfigurationOptionDefinition[] $val The options * diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationControlType.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationControlType.php index e6dc348e3ba..e9d1d5c28ea 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationControlType.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationControlType.php @@ -36,4 +36,5 @@ class DeviceManagementConfigurationControlType extends Enum const TOGGLE = "toggle"; const MULTIHEADER_GRID = "multiheaderGrid"; const CONTEXT_PANE = "contextPane"; + const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingUsage.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingUsage.php index 6e01679e2f0..89c8ec23dd8 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingUsage.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingUsage.php @@ -32,4 +32,5 @@ class DeviceManagementConfigurationSettingUsage extends Enum const NONE = "none"; const CONFIGURATION = "configuration"; const COMPLIANCE = "compliance"; + const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingVisibility.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingVisibility.php index 0c81abec6d1..b6ac75ee8f8 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingVisibility.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingVisibility.php @@ -32,4 +32,5 @@ class DeviceManagementConfigurationSettingVisibility extends Enum const NONE = "none"; const SETTINGS_CATALOG = "settingsCatalog"; const TEMPLATE = "template"; + const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingInsightsDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingInsightsDefinition.php new file mode 100644 index 00000000000..40c2fe8996a --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingInsightsDefinition.php @@ -0,0 +1,87 @@ +_propDict)) { + return $this->_propDict["settingDefinitionId"]; + } else { + return null; + } + } + + /** + * Sets the settingDefinitionId + * Setting definition id that is being referred to a setting. + * + * @param string $val The value of the settingDefinitionId + * + * @return DeviceManagementSettingInsightsDefinition + */ + public function setSettingDefinitionId($val) + { + $this->_propDict["settingDefinitionId"] = $val; + return $this; + } + + /** + * Gets the settingInsight + * Data Insights Target Value + * + * @return DeviceManagementConfigurationSettingValue|null The settingInsight + */ + public function getSettingInsight() + { + if (array_key_exists("settingInsight", $this->_propDict)) { + if (is_a($this->_propDict["settingInsight"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingValue") || is_null($this->_propDict["settingInsight"])) { + return $this->_propDict["settingInsight"]; + } else { + $this->_propDict["settingInsight"] = new DeviceManagementConfigurationSettingValue($this->_propDict["settingInsight"]); + return $this->_propDict["settingInsight"]; + } + } + return null; + } + + /** + * Sets the settingInsight + * Data Insights Target Value + * + * @param DeviceManagementConfigurationSettingValue $val The value to assign to the settingInsight + * + * @return DeviceManagementSettingInsightsDefinition The DeviceManagementSettingInsightsDefinition + */ + public function setSettingInsight($val) + { + $this->_propDict["settingInsight"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/DeviceManagementTemplateInsightsDefinition.php b/src/Beta/Microsoft/Graph/Model/DeviceManagementTemplateInsightsDefinition.php new file mode 100644 index 00000000000..48dad85286b --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/DeviceManagementTemplateInsightsDefinition.php @@ -0,0 +1,57 @@ +_propDict)) { + return $this->_propDict["settingInsights"]; + } else { + return null; + } + } + + /** + * Sets the settingInsights + * Setting insights in a template + * + * @param DeviceManagementSettingInsightsDefinition[] $val The settingInsights + * + * @return DeviceManagementTemplateInsightsDefinition + */ + public function setSettingInsights($val) + { + $this->_propDict["settingInsights"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/DeviceRegistrationPolicy.php b/src/Beta/Microsoft/Graph/Model/DeviceRegistrationPolicy.php index 66cf4b86018..8ff3adcaaaa 100644 --- a/src/Beta/Microsoft/Graph/Model/DeviceRegistrationPolicy.php +++ b/src/Beta/Microsoft/Graph/Model/DeviceRegistrationPolicy.php @@ -148,6 +148,39 @@ public function setDisplayName($val) return $this; } + /** + * Gets the localAdminPassword + * Specifies the setting for Local Admin Password Solution (LAPS) within your organization. + * + * @return LocalAdminPasswordSettings|null The localAdminPassword + */ + public function getLocalAdminPassword() + { + if (array_key_exists("localAdminPassword", $this->_propDict)) { + if (is_a($this->_propDict["localAdminPassword"], "\Beta\Microsoft\Graph\Model\LocalAdminPasswordSettings") || is_null($this->_propDict["localAdminPassword"])) { + return $this->_propDict["localAdminPassword"]; + } else { + $this->_propDict["localAdminPassword"] = new LocalAdminPasswordSettings($this->_propDict["localAdminPassword"]); + return $this->_propDict["localAdminPassword"]; + } + } + return null; + } + + /** + * Sets the localAdminPassword + * Specifies the setting for Local Admin Password Solution (LAPS) within your organization. + * + * @param LocalAdminPasswordSettings $val The localAdminPassword + * + * @return DeviceRegistrationPolicy + */ + public function setLocalAdminPassword($val) + { + $this->_propDict["localAdminPassword"] = $val; + return $this; + } + /** * Gets the multiFactorAuthConfiguration * Specifies the authentication policy for a user to complete registration using Azure AD Join or Azure AD registered within your organization. The possible values are: 0 (meaning notRequired), 1 (meaning required), and 2 (meaning unknownFutureValue). The default value is 0. diff --git a/src/Beta/Microsoft/Graph/Model/EducationAssignmentStatus.php b/src/Beta/Microsoft/Graph/Model/EducationAssignmentStatus.php index c4c1a9ec320..052f8eeaaa0 100644 --- a/src/Beta/Microsoft/Graph/Model/EducationAssignmentStatus.php +++ b/src/Beta/Microsoft/Graph/Model/EducationAssignmentStatus.php @@ -33,4 +33,5 @@ class EducationAssignmentStatus extends Enum const PUBLISHED = "published"; const ASSIGNED = "assigned"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; + const INACTIVE = "inactive"; } diff --git a/src/Beta/Microsoft/Graph/Model/EmployeeExperience.php b/src/Beta/Microsoft/Graph/Model/EmployeeExperience.php index ef453ea2bed..340af8a60ad 100644 --- a/src/Beta/Microsoft/Graph/Model/EmployeeExperience.php +++ b/src/Beta/Microsoft/Graph/Model/EmployeeExperience.php @@ -56,6 +56,34 @@ public function getProperties() } + /** + * Gets the learningCourseActivities + * + * @return array|null The learningCourseActivities + */ + public function getLearningCourseActivities() + { + if (array_key_exists("learningCourseActivities", $this->_propDict)) { + return $this->_propDict["learningCourseActivities"]; + } else { + return null; + } + } + + /** + * Sets the learningCourseActivities + * + * @param LearningCourseActivity[] $val The learningCourseActivities + * + * @return EmployeeExperience + */ + public function setLearningCourseActivities($val) + { + $this->_propDict["learningCourseActivities"] = $val; + return $this; + } + + /** * Gets the learningProviders * A collection of learning providers. diff --git a/src/Beta/Microsoft/Graph/Model/EmployeeExperienceUser.php b/src/Beta/Microsoft/Graph/Model/EmployeeExperienceUser.php new file mode 100644 index 00000000000..183f103cc6c --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/EmployeeExperienceUser.php @@ -0,0 +1,55 @@ +_propDict)) { + return $this->_propDict["learningCourseActivities"]; + } else { + return null; + } + } + + /** + * Sets the learningCourseActivities + * + * @param LearningCourseActivity[] $val The learningCourseActivities + * + * @return EmployeeExperienceUser + */ + public function setLearningCourseActivities($val) + { + $this->_propDict["learningCourseActivities"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/Identity.php b/src/Beta/Microsoft/Graph/Model/Identity.php index 03a9de8a01b..79a5705bc43 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. Note that this might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. * * @return string|null The displayName */ @@ -40,7 +40,7 @@ public function getDisplayName() /** * Sets the displayName - * The display name of the identity. This property is read-only. + * The display name of the identity. Note that this might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. * * @param string $val The value of the displayName * @@ -53,7 +53,7 @@ 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/IdentitySet.php b/src/Beta/Microsoft/Graph/Model/IdentitySet.php index 2046ffd53d1..655759bfd9f 100644 --- a/src/Beta/Microsoft/Graph/Model/IdentitySet.php +++ b/src/Beta/Microsoft/Graph/Model/IdentitySet.php @@ -26,7 +26,7 @@ class IdentitySet extends Entity /** * Gets the application - * The Identity of the Application. This property is read-only. + * Optional. The application associated with this action. * * @return Identity|null The application */ @@ -45,7 +45,7 @@ public function getApplication() /** * Sets the application - * The Identity of the Application. This property is read-only. + * Optional. The application associated with this action. * * @param Identity $val The value to assign to the application * @@ -59,7 +59,7 @@ public function setApplication($val) /** * Gets the device - * The Identity of the Device. This property is read-only. + * Optional. The device associated with this action. * * @return Identity|null The device */ @@ -78,7 +78,7 @@ public function getDevice() /** * Sets the device - * The Identity of the Device. This property is read-only. + * Optional. The device associated with this action. * * @param Identity $val The value to assign to the device * @@ -92,7 +92,7 @@ public function setDevice($val) /** * Gets the user - * The Identity of the User. This property is read-only. + * Optional. The user associated with this action. * * @return Identity|null The user */ @@ -111,7 +111,7 @@ public function getUser() /** * Sets the user - * The Identity of the User. This property is read-only. + * Optional. The user associated with this action. * * @param Identity $val The value to assign to the user * diff --git a/src/Beta/Microsoft/Graph/Model/IosStoreAppAssignmentSettings.php b/src/Beta/Microsoft/Graph/Model/IosStoreAppAssignmentSettings.php index ac64ce93a1b..2a9764c01dd 100644 --- a/src/Beta/Microsoft/Graph/Model/IosStoreAppAssignmentSettings.php +++ b/src/Beta/Microsoft/Graph/Model/IosStoreAppAssignmentSettings.php @@ -36,7 +36,7 @@ public function __construct($propDict = array()) /** * Gets the isRemovable - * Whether or not the app can be removed by the user. + * When TRUE, indicates that the app can be uninstalled by the user. When FALSE, indicates that the app cannot be uninstalled by the user. By default, this property is set to null which internally is treated as TRUE. * * @return bool|null The isRemovable */ @@ -51,7 +51,7 @@ public function getIsRemovable() /** * Sets the isRemovable - * Whether or not the app can be removed by the user. + * When TRUE, indicates that the app can be uninstalled by the user. When FALSE, indicates that the app cannot be uninstalled by the user. By default, this property is set to null which internally is treated as TRUE. * * @param bool $val The value of the isRemovable * diff --git a/src/Beta/Microsoft/Graph/Model/KeyValue.php b/src/Beta/Microsoft/Graph/Model/KeyValue.php index 2dfdabba03a..7dfa6735406 100644 --- a/src/Beta/Microsoft/Graph/Model/KeyValue.php +++ b/src/Beta/Microsoft/Graph/Model/KeyValue.php @@ -25,7 +25,7 @@ class KeyValue extends Entity { /** * Gets the key - * Key. + * Contains the name of the field that a value is associated with. When a sign in or domain hint is included in the sign-in request, corresponding fields are included as key-value pairs. Possible keys: Login hint present, Domain hint present. * * @return string|null The key */ @@ -40,7 +40,7 @@ public function getKey() /** * Sets the key - * Key. + * Contains the name of the field that a value is associated with. When a sign in or domain hint is included in the sign-in request, corresponding fields are included as key-value pairs. Possible keys: Login hint present, Domain hint present. * * @param string $val The value of the key * @@ -53,7 +53,7 @@ public function setKey($val) } /** * Gets the value - * Value. + * Contains the corresponding value for the specified key. The value is true if a sign in hint was included in the sign-in request; otherwise false. The value is true if a domain hint was included in the sign-in request; otherwise false. * * @return string|null The value */ @@ -68,7 +68,7 @@ public function getValue() /** * Sets the value - * Value. + * Contains the corresponding value for the specified key. The value is true if a sign in hint was included in the sign-in request; otherwise false. The value is true if a domain hint was included in the sign-in request; otherwise false. * * @param string $val The value of the value * diff --git a/src/Beta/Microsoft/Graph/Model/LearningAssignment.php b/src/Beta/Microsoft/Graph/Model/LearningAssignment.php new file mode 100644 index 00000000000..bb47d0603ab --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/LearningAssignment.php @@ -0,0 +1,188 @@ +_propDict)) { + if (is_a($this->_propDict["assignedDateTime"], "\DateTime") || is_null($this->_propDict["assignedDateTime"])) { + return $this->_propDict["assignedDateTime"]; + } else { + $this->_propDict["assignedDateTime"] = new \DateTime($this->_propDict["assignedDateTime"]); + return $this->_propDict["assignedDateTime"]; + } + } + return null; + } + + /** + * Sets the assignedDateTime + * Assigned date for the course activity. Optional. + * + * @param \DateTime $val The assignedDateTime + * + * @return LearningAssignment + */ + public function setAssignedDateTime($val) + { + $this->_propDict["assignedDateTime"] = $val; + return $this; + } + + /** + * Gets the assignerUserId + * The user ID of the assigner. Optional. + * + * @return string|null The assignerUserId + */ + public function getAssignerUserId() + { + if (array_key_exists("assignerUserId", $this->_propDict)) { + return $this->_propDict["assignerUserId"]; + } else { + return null; + } + } + + /** + * Sets the assignerUserId + * The user ID of the assigner. Optional. + * + * @param string $val The assignerUserId + * + * @return LearningAssignment + */ + public function setAssignerUserId($val) + { + $this->_propDict["assignerUserId"] = $val; + return $this; + } + + /** + * Gets the assignmentType + * The assignment type for the course activity. Possible values are: required, recommended, unknownFutureValue. Required. + * + * @return AssignmentType|null The assignmentType + */ + public function getAssignmentType() + { + if (array_key_exists("assignmentType", $this->_propDict)) { + if (is_a($this->_propDict["assignmentType"], "\Beta\Microsoft\Graph\Model\AssignmentType") || is_null($this->_propDict["assignmentType"])) { + return $this->_propDict["assignmentType"]; + } else { + $this->_propDict["assignmentType"] = new AssignmentType($this->_propDict["assignmentType"]); + return $this->_propDict["assignmentType"]; + } + } + return null; + } + + /** + * Sets the assignmentType + * The assignment type for the course activity. Possible values are: required, recommended, unknownFutureValue. Required. + * + * @param AssignmentType $val The assignmentType + * + * @return LearningAssignment + */ + public function setAssignmentType($val) + { + $this->_propDict["assignmentType"] = $val; + return $this; + } + + /** + * Gets the dueDateTime + * Due date for the course activity. Optional. + * + * @return DateTimeTimeZone|null The dueDateTime + */ + public function getDueDateTime() + { + if (array_key_exists("dueDateTime", $this->_propDict)) { + if (is_a($this->_propDict["dueDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["dueDateTime"])) { + return $this->_propDict["dueDateTime"]; + } else { + $this->_propDict["dueDateTime"] = new DateTimeTimeZone($this->_propDict["dueDateTime"]); + return $this->_propDict["dueDateTime"]; + } + } + return null; + } + + /** + * Sets the dueDateTime + * Due date for the course activity. Optional. + * + * @param DateTimeTimeZone $val The dueDateTime + * + * @return LearningAssignment + */ + public function setDueDateTime($val) + { + $this->_propDict["dueDateTime"] = $val; + return $this; + } + + /** + * Gets the notes + * Notes for the course activity. Optional. + * + * @return ItemBody|null The notes + */ + public function getNotes() + { + if (array_key_exists("notes", $this->_propDict)) { + if (is_a($this->_propDict["notes"], "\Beta\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["notes"])) { + return $this->_propDict["notes"]; + } else { + $this->_propDict["notes"] = new ItemBody($this->_propDict["notes"]); + return $this->_propDict["notes"]; + } + } + return null; + } + + /** + * Sets the notes + * Notes for the course activity. Optional. + * + * @param ItemBody $val The notes + * + * @return LearningAssignment + */ + public function setNotes($val) + { + $this->_propDict["notes"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/LearningCourseActivity.php b/src/Beta/Microsoft/Graph/Model/LearningCourseActivity.php new file mode 100644 index 00000000000..ed02bc019a7 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/LearningCourseActivity.php @@ -0,0 +1,238 @@ +_propDict)) { + if (is_a($this->_propDict["completedDateTime"], "\DateTime") || is_null($this->_propDict["completedDateTime"])) { + return $this->_propDict["completedDateTime"]; + } else { + $this->_propDict["completedDateTime"] = new \DateTime($this->_propDict["completedDateTime"]); + return $this->_propDict["completedDateTime"]; + } + } + return null; + } + + /** + * Sets the completedDateTime + * Date and time when the assignment was completed. Optional. + * + * @param \DateTime $val The completedDateTime + * + * @return LearningCourseActivity + */ + public function setCompletedDateTime($val) + { + $this->_propDict["completedDateTime"] = $val; + return $this; + } + + /** + * Gets the completionPercentage + * The percentage completion value of the course activity. Optional. + * + * @return int|null The completionPercentage + */ + public function getCompletionPercentage() + { + if (array_key_exists("completionPercentage", $this->_propDict)) { + return $this->_propDict["completionPercentage"]; + } else { + return null; + } + } + + /** + * Sets the completionPercentage + * The percentage completion value of the course activity. Optional. + * + * @param int $val The completionPercentage + * + * @return LearningCourseActivity + */ + public function setCompletionPercentage($val) + { + $this->_propDict["completionPercentage"] = intval($val); + return $this; + } + + /** + * Gets the externalcourseActivityId + * A course activity ID generated by the provider. Optional. + * + * @return string|null The externalcourseActivityId + */ + public function getExternalcourseActivityId() + { + if (array_key_exists("externalcourseActivityId", $this->_propDict)) { + return $this->_propDict["externalcourseActivityId"]; + } else { + return null; + } + } + + /** + * Sets the externalcourseActivityId + * A course activity ID generated by the provider. Optional. + * + * @param string $val The externalcourseActivityId + * + * @return LearningCourseActivity + */ + public function setExternalcourseActivityId($val) + { + $this->_propDict["externalcourseActivityId"] = $val; + return $this; + } + + /** + * Gets the learnerUserId + * The user ID of the learner to whom the activity is assigned. Required. + * + * @return string|null The learnerUserId + */ + public function getLearnerUserId() + { + if (array_key_exists("learnerUserId", $this->_propDict)) { + return $this->_propDict["learnerUserId"]; + } else { + return null; + } + } + + /** + * Sets the learnerUserId + * The user ID of the learner to whom the activity is assigned. Required. + * + * @param string $val The learnerUserId + * + * @return LearningCourseActivity + */ + public function setLearnerUserId($val) + { + $this->_propDict["learnerUserId"] = $val; + return $this; + } + + /** + * Gets the learningContentId + * The ID of the learning content created in Viva Learning. Required. + * + * @return string|null The learningContentId + */ + public function getLearningContentId() + { + if (array_key_exists("learningContentId", $this->_propDict)) { + return $this->_propDict["learningContentId"]; + } else { + return null; + } + } + + /** + * Sets the learningContentId + * The ID of the learning content created in Viva Learning. Required. + * + * @param string $val The learningContentId + * + * @return LearningCourseActivity + */ + public function setLearningContentId($val) + { + $this->_propDict["learningContentId"] = $val; + return $this; + } + + /** + * Gets the learningProviderId + * The registration ID of the provider. Required. + * + * @return string|null The learningProviderId + */ + public function getLearningProviderId() + { + if (array_key_exists("learningProviderId", $this->_propDict)) { + return $this->_propDict["learningProviderId"]; + } else { + return null; + } + } + + /** + * Sets the learningProviderId + * The registration ID of the provider. Required. + * + * @param string $val The learningProviderId + * + * @return LearningCourseActivity + */ + public function setLearningProviderId($val) + { + $this->_propDict["learningProviderId"] = $val; + return $this; + } + + /** + * Gets the status + * The status of the course activity. Possible values are: notStarted, inProgress, completed. Required. + * + * @return CourseStatus|null The status + */ + public function getStatus() + { + if (array_key_exists("status", $this->_propDict)) { + if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\CourseStatus") || is_null($this->_propDict["status"])) { + return $this->_propDict["status"]; + } else { + $this->_propDict["status"] = new CourseStatus($this->_propDict["status"]); + return $this->_propDict["status"]; + } + } + return null; + } + + /** + * Sets the status + * The status of the course activity. Possible values are: notStarted, inProgress, completed. Required. + * + * @param CourseStatus $val The status + * + * @return LearningCourseActivity + */ + public function setStatus($val) + { + $this->_propDict["status"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/LearningProvider.php b/src/Beta/Microsoft/Graph/Model/LearningProvider.php index f29f3a733cd..8d9220cd145 100644 --- a/src/Beta/Microsoft/Graph/Model/LearningProvider.php +++ b/src/Beta/Microsoft/Graph/Model/LearningProvider.php @@ -228,4 +228,32 @@ public function setLearningContents($val) return $this; } + + /** + * Gets the learningCourseActivities + * + * @return array|null The learningCourseActivities + */ + public function getLearningCourseActivities() + { + if (array_key_exists("learningCourseActivities", $this->_propDict)) { + return $this->_propDict["learningCourseActivities"]; + } else { + return null; + } + } + + /** + * Sets the learningCourseActivities + * + * @param LearningCourseActivity[] $val The learningCourseActivities + * + * @return LearningProvider + */ + public function setLearningCourseActivities($val) + { + $this->_propDict["learningCourseActivities"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/Model/LearningSelfInitiatedCourse.php b/src/Beta/Microsoft/Graph/Model/LearningSelfInitiatedCourse.php new file mode 100644 index 00000000000..3752a1090a7 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/LearningSelfInitiatedCourse.php @@ -0,0 +1,60 @@ +_propDict)) { + if (is_a($this->_propDict["startedDateTime"], "\DateTime") || is_null($this->_propDict["startedDateTime"])) { + return $this->_propDict["startedDateTime"]; + } else { + $this->_propDict["startedDateTime"] = new \DateTime($this->_propDict["startedDateTime"]); + return $this->_propDict["startedDateTime"]; + } + } + return null; + } + + /** + * Sets the startedDateTime + * The date time value on which the self-initiated course was started by the learner. Optional. + * + * @param \DateTime $val The startedDateTime + * + * @return LearningSelfInitiatedCourse + */ + public function setStartedDateTime($val) + { + $this->_propDict["startedDateTime"] = $val; + return $this; + } + +} diff --git a/src/Beta/Microsoft/Graph/Model/LocalAdminPasswordSettings.php b/src/Beta/Microsoft/Graph/Model/LocalAdminPasswordSettings.php new file mode 100644 index 00000000000..acf47327bb0 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/LocalAdminPasswordSettings.php @@ -0,0 +1,54 @@ +_propDict)) { + return $this->_propDict["isEnabled"]; + } else { + return null; + } + } + + /** + * Sets the isEnabled + * Specifies whether this policy scope is configurable by the admin. The default value is false. An admin can set it to true to enable Local Admin Password Solution (LAPS) within their organzation. + * + * @param bool $val The value of the isEnabled + * + * @return LocalAdminPasswordSettings + */ + public function setIsEnabled($val) + { + $this->_propDict["isEnabled"] = $val; + return $this; + } +} diff --git a/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php b/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php index d6de277022d..a8b5c6204b4 100644 --- a/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php +++ b/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php @@ -36,7 +36,7 @@ public function __construct($propDict = array()) /** * Gets the uninstallOnDeviceRemoval - * When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. + * Whether or not to uninstall the app when device is removed from Intune. * * @return bool|null The uninstallOnDeviceRemoval */ @@ -51,7 +51,7 @@ public function getUninstallOnDeviceRemoval() /** * Sets the uninstallOnDeviceRemoval - * When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. + * Whether or not to uninstall the app when device is removed from Intune. * * @param bool $val The value of the uninstallOnDeviceRemoval * diff --git a/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingEvent.php b/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingEvent.php index 7dfe234d1a3..193d4a814c2 100644 --- a/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingEvent.php +++ b/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingEvent.php @@ -53,6 +53,35 @@ public function setApplicationId($val) return $this; } + /** + * Gets the deviceId + * Device identifier created or collected by Intune. + * + * @return string|null The deviceId + */ + public function getDeviceId() + { + if (array_key_exists("deviceId", $this->_propDict)) { + return $this->_propDict["deviceId"]; + } else { + return null; + } + } + + /** + * Sets the deviceId + * Device identifier created or collected by Intune. + * + * @param string $val The deviceId + * + * @return MobileAppTroubleshootingEvent + */ + public function setDeviceId($val) + { + $this->_propDict["deviceId"] = $val; + return $this; + } + /** * Gets the history diff --git a/src/Beta/Microsoft/Graph/Model/ObliterationBehavior.php b/src/Beta/Microsoft/Graph/Model/ObliterationBehavior.php new file mode 100644 index 00000000000..ab56e780dd1 --- /dev/null +++ b/src/Beta/Microsoft/Graph/Model/ObliterationBehavior.php @@ -0,0 +1,37 @@ +_propDict)) { - return $this->_propDict["available"]; - } else { - return null; - } - } - - /** - * Sets the available - * Specifies whether warranty API is available. This property is read-only. - * - * @param bool $val The available - * - * @return OemWarrantyInformationOnboarding - */ - public function setAvailable($val) - { - $this->_propDict["available"] = boolval($val); - return $this; - } - - /** - * Gets the enabled - * Specifies whether warranty query is enabled for given OEM. This property is read-only. - * - * @return bool|null The enabled - */ - public function getEnabled() - { - if (array_key_exists("enabled", $this->_propDict)) { - return $this->_propDict["enabled"]; - } else { - return null; - } - } - - /** - * Sets the enabled - * Specifies whether warranty query is enabled for given OEM. This property is read-only. - * - * @param bool $val The enabled - * - * @return OemWarrantyInformationOnboarding - */ - public function setEnabled($val) - { - $this->_propDict["enabled"] = boolval($val); - return $this; - } - - /** - * Gets the oemName - * OEM name. This property is read-only. - * - * @return string|null The oemName - */ - public function getOemName() - { - if (array_key_exists("oemName", $this->_propDict)) { - return $this->_propDict["oemName"]; - } else { - return null; - } - } - - /** - * Sets the oemName - * OEM name. This property is read-only. - * - * @param string $val The oemName - * - * @return OemWarrantyInformationOnboarding - */ - public function setOemName($val) - { - $this->_propDict["oemName"] = $val; - return $this; - } - } diff --git a/src/Beta/Microsoft/Graph/Model/OfficeClientCheckinStatus.php b/src/Beta/Microsoft/Graph/Model/OfficeClientCheckinStatus.php deleted file mode 100644 index d9af0065df2..00000000000 --- a/src/Beta/Microsoft/Graph/Model/OfficeClientCheckinStatus.php +++ /dev/null @@ -1,265 +0,0 @@ -_propDict)) { - return $this->_propDict["appliedPolicies"]; - } else { - return null; - } - } - - /** - * Sets the appliedPolicies - * - * @param string $val The value of the appliedPolicies - * - * @return OfficeClientCheckinStatus - */ - public function setAppliedPolicies($val) - { - $this->_propDict["appliedPolicies"] = $val; - return $this; - } - - /** - * Gets the checkinDateTime - * - * @return \DateTime|null The checkinDateTime - */ - public function getCheckinDateTime() - { - if (array_key_exists("checkinDateTime", $this->_propDict)) { - if (is_a($this->_propDict["checkinDateTime"], "\DateTime") || is_null($this->_propDict["checkinDateTime"])) { - return $this->_propDict["checkinDateTime"]; - } else { - $this->_propDict["checkinDateTime"] = new \DateTime($this->_propDict["checkinDateTime"]); - return $this->_propDict["checkinDateTime"]; - } - } - return null; - } - - /** - * Sets the checkinDateTime - * - * @param \DateTime $val The value to assign to the checkinDateTime - * - * @return OfficeClientCheckinStatus The OfficeClientCheckinStatus - */ - public function setCheckinDateTime($val) - { - $this->_propDict["checkinDateTime"] = $val; - return $this; - } - /** - * Gets the deviceName - * - * @return string|null The deviceName - */ - public function getDeviceName() - { - if (array_key_exists("deviceName", $this->_propDict)) { - return $this->_propDict["deviceName"]; - } else { - return null; - } - } - - /** - * Sets the deviceName - * - * @param string $val The value of the deviceName - * - * @return OfficeClientCheckinStatus - */ - public function setDeviceName($val) - { - $this->_propDict["deviceName"] = $val; - return $this; - } - /** - * Gets the devicePlatform - * - * @return string|null The devicePlatform - */ - public function getDevicePlatform() - { - if (array_key_exists("devicePlatform", $this->_propDict)) { - return $this->_propDict["devicePlatform"]; - } else { - return null; - } - } - - /** - * Sets the devicePlatform - * - * @param string $val The value of the devicePlatform - * - * @return OfficeClientCheckinStatus - */ - public function setDevicePlatform($val) - { - $this->_propDict["devicePlatform"] = $val; - return $this; - } - /** - * Gets the devicePlatformVersion - * - * @return string|null The devicePlatformVersion - */ - public function getDevicePlatformVersion() - { - if (array_key_exists("devicePlatformVersion", $this->_propDict)) { - return $this->_propDict["devicePlatformVersion"]; - } else { - return null; - } - } - - /** - * Sets the devicePlatformVersion - * - * @param string $val The value of the devicePlatformVersion - * - * @return OfficeClientCheckinStatus - */ - public function setDevicePlatformVersion($val) - { - $this->_propDict["devicePlatformVersion"] = $val; - return $this; - } - /** - * Gets the errorMessage - * - * @return string|null The errorMessage - */ - public function getErrorMessage() - { - if (array_key_exists("errorMessage", $this->_propDict)) { - return $this->_propDict["errorMessage"]; - } else { - return null; - } - } - - /** - * Sets the errorMessage - * - * @param string $val The value of the errorMessage - * - * @return OfficeClientCheckinStatus - */ - public function setErrorMessage($val) - { - $this->_propDict["errorMessage"] = $val; - return $this; - } - /** - * Gets the userId - * - * @return string|null The userId - */ - public function getUserId() - { - if (array_key_exists("userId", $this->_propDict)) { - return $this->_propDict["userId"]; - } else { - return null; - } - } - - /** - * Sets the userId - * - * @param string $val The value of the userId - * - * @return OfficeClientCheckinStatus - */ - public function setUserId($val) - { - $this->_propDict["userId"] = $val; - return $this; - } - /** - * Gets the userPrincipalName - * - * @return string|null The userPrincipalName - */ - public function getUserPrincipalName() - { - if (array_key_exists("userPrincipalName", $this->_propDict)) { - return $this->_propDict["userPrincipalName"]; - } else { - return null; - } - } - - /** - * Sets the userPrincipalName - * - * @param string $val The value of the userPrincipalName - * - * @return OfficeClientCheckinStatus - */ - public function setUserPrincipalName($val) - { - $this->_propDict["userPrincipalName"] = $val; - return $this; - } - /** - * Gets the wasSuccessful - * - * @return bool|null The wasSuccessful - */ - public function getWasSuccessful() - { - if (array_key_exists("wasSuccessful", $this->_propDict)) { - return $this->_propDict["wasSuccessful"]; - } else { - return null; - } - } - - /** - * Sets the wasSuccessful - * - * @param bool $val The value of the wasSuccessful - * - * @return OfficeClientCheckinStatus - */ - public function setWasSuccessful($val) - { - $this->_propDict["wasSuccessful"] = $val; - return $this; - } -} diff --git a/src/Beta/Microsoft/Graph/Model/OfficeClientConfiguration.php b/src/Beta/Microsoft/Graph/Model/OfficeClientConfiguration.php deleted file mode 100644 index cd1bf569aa5..00000000000 --- a/src/Beta/Microsoft/Graph/Model/OfficeClientConfiguration.php +++ /dev/null @@ -1,257 +0,0 @@ -_propDict)) { - return $this->_propDict["checkinStatuses"]; - } else { - return null; - } - } - - /** - * Sets the checkinStatuses - * - * @param OfficeClientCheckinStatus[] $val The checkinStatuses - * - * @return OfficeClientConfiguration - */ - public function setCheckinStatuses($val) - { - $this->_propDict["checkinStatuses"] = $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 OfficeClientConfiguration - */ - 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 OfficeClientConfiguration - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the policyPayload - * - * @return \GuzzleHttp\Psr7\Stream|null The policyPayload - */ - public function getPolicyPayload() - { - if (array_key_exists("policyPayload", $this->_propDict)) { - if (is_a($this->_propDict["policyPayload"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["policyPayload"])) { - return $this->_propDict["policyPayload"]; - } else { - $this->_propDict["policyPayload"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["policyPayload"]); - return $this->_propDict["policyPayload"]; - } - } - return null; - } - - /** - * Sets the policyPayload - * - * @param \GuzzleHttp\Psr7\Stream $val The policyPayload - * - * @return OfficeClientConfiguration - */ - public function setPolicyPayload($val) - { - $this->_propDict["policyPayload"] = $val; - return $this; - } - - /** - * Gets the priority - * - * @return int|null The priority - */ - public function getPriority() - { - if (array_key_exists("priority", $this->_propDict)) { - return $this->_propDict["priority"]; - } else { - return null; - } - } - - /** - * Sets the priority - * - * @param int $val The priority - * - * @return OfficeClientConfiguration - */ - public function setPriority($val) - { - $this->_propDict["priority"] = intval($val); - return $this; - } - - /** - * Gets the userCheckinSummary - * - * @return OfficeUserCheckinSummary|null The userCheckinSummary - */ - public function getUserCheckinSummary() - { - if (array_key_exists("userCheckinSummary", $this->_propDict)) { - if (is_a($this->_propDict["userCheckinSummary"], "\Beta\Microsoft\Graph\Model\OfficeUserCheckinSummary") || is_null($this->_propDict["userCheckinSummary"])) { - return $this->_propDict["userCheckinSummary"]; - } else { - $this->_propDict["userCheckinSummary"] = new OfficeUserCheckinSummary($this->_propDict["userCheckinSummary"]); - return $this->_propDict["userCheckinSummary"]; - } - } - return null; - } - - /** - * Sets the userCheckinSummary - * - * @param OfficeUserCheckinSummary $val The userCheckinSummary - * - * @return OfficeClientConfiguration - */ - public function setUserCheckinSummary($val) - { - $this->_propDict["userCheckinSummary"] = $val; - return $this; - } - - /** - * Gets the userPreferencePayload - * - * @return \GuzzleHttp\Psr7\Stream|null The userPreferencePayload - */ - public function getUserPreferencePayload() - { - if (array_key_exists("userPreferencePayload", $this->_propDict)) { - if (is_a($this->_propDict["userPreferencePayload"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["userPreferencePayload"])) { - return $this->_propDict["userPreferencePayload"]; - } else { - $this->_propDict["userPreferencePayload"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["userPreferencePayload"]); - return $this->_propDict["userPreferencePayload"]; - } - } - return null; - } - - /** - * Sets the userPreferencePayload - * - * @param \GuzzleHttp\Psr7\Stream $val The userPreferencePayload - * - * @return OfficeClientConfiguration - */ - public function setUserPreferencePayload($val) - { - $this->_propDict["userPreferencePayload"] = $val; - return $this; - } - - - /** - * Gets the assignments - * - * @return array|null The assignments - */ - public function getAssignments() - { - if (array_key_exists("assignments", $this->_propDict)) { - return $this->_propDict["assignments"]; - } else { - return null; - } - } - - /** - * Sets the assignments - * - * @param OfficeClientConfigurationAssignment[] $val The assignments - * - * @return OfficeClientConfiguration - */ - public function setAssignments($val) - { - $this->_propDict["assignments"] = $val; - return $this; - } - -} diff --git a/src/Beta/Microsoft/Graph/Model/OfficeClientConfigurationAssignment.php b/src/Beta/Microsoft/Graph/Model/OfficeClientConfigurationAssignment.php deleted file mode 100644 index 7c2c451f7b7..00000000000 --- a/src/Beta/Microsoft/Graph/Model/OfficeClientConfigurationAssignment.php +++ /dev/null @@ -1,58 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\OfficeConfigurationAssignmentTarget") || is_null($this->_propDict["target"])) { - return $this->_propDict["target"]; - } else { - $this->_propDict["target"] = new OfficeConfigurationAssignmentTarget($this->_propDict["target"]); - return $this->_propDict["target"]; - } - } - return null; - } - - /** - * Sets the target - * - * @param OfficeConfigurationAssignmentTarget $val The target - * - * @return OfficeClientConfigurationAssignment - */ - public function setTarget($val) - { - $this->_propDict["target"] = $val; - return $this; - } - -} diff --git a/src/Beta/Microsoft/Graph/Model/OfficeConfiguration.php b/src/Beta/Microsoft/Graph/Model/OfficeConfiguration.php deleted file mode 100644 index 1d167a5c184..00000000000 --- a/src/Beta/Microsoft/Graph/Model/OfficeConfiguration.php +++ /dev/null @@ -1,194 +0,0 @@ -_propDict = $propDict; - } - - /** - * Gets the property dictionary of the OfficeConfiguration - * - * @return array The list of properties - */ - public function getProperties() - { - return $this->_propDict; - } - - - /** - * Gets the tenantCheckinStatuses - * - * @return array|null The tenantCheckinStatuses - */ - public function getTenantCheckinStatuses() - { - if (array_key_exists("tenantCheckinStatuses", $this->_propDict)) { - return $this->_propDict["tenantCheckinStatuses"]; - } else { - return null; - } - } - - /** - * Sets the tenantCheckinStatuses - * - * @param OfficeClientCheckinStatus[] $val The tenantCheckinStatuses - * - * @return OfficeConfiguration - */ - public function setTenantCheckinStatuses($val) - { - $this->_propDict["tenantCheckinStatuses"] = $val; - return $this; - } - - /** - * Gets the tenantUserCheckinSummary - * - * @return OfficeUserCheckinSummary|null The tenantUserCheckinSummary - */ - public function getTenantUserCheckinSummary() - { - if (array_key_exists("tenantUserCheckinSummary", $this->_propDict)) { - if (is_a($this->_propDict["tenantUserCheckinSummary"], "\Beta\Microsoft\Graph\Model\OfficeUserCheckinSummary") || is_null($this->_propDict["tenantUserCheckinSummary"])) { - return $this->_propDict["tenantUserCheckinSummary"]; - } else { - $this->_propDict["tenantUserCheckinSummary"] = new OfficeUserCheckinSummary($this->_propDict["tenantUserCheckinSummary"]); - return $this->_propDict["tenantUserCheckinSummary"]; - } - } - return null; - } - - /** - * Sets the tenantUserCheckinSummary - * - * @param OfficeUserCheckinSummary $val The tenantUserCheckinSummary - * - * @return OfficeConfiguration - */ - public function setTenantUserCheckinSummary($val) - { - $this->_propDict["tenantUserCheckinSummary"] = $val; - return $this; - } - - - /** - * Gets the clientConfigurations - * - * @return array|null The clientConfigurations - */ - public function getClientConfigurations() - { - if (array_key_exists("clientConfigurations", $this->_propDict)) { - return $this->_propDict["clientConfigurations"]; - } else { - return null; - } - } - - /** - * Sets the clientConfigurations - * - * @param OfficeClientConfiguration[] $val The clientConfigurations - * - * @return OfficeConfiguration - */ - public function setClientConfigurations($val) - { - $this->_propDict["clientConfigurations"] = $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 OfficeConfiguration - */ - 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/OfficeConfigurationGroupAssignmentTarget.php b/src/Beta/Microsoft/Graph/Model/OfficeConfigurationGroupAssignmentTarget.php deleted file mode 100644 index 4d195084157..00000000000 --- a/src/Beta/Microsoft/Graph/Model/OfficeConfigurationGroupAssignmentTarget.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.officeConfigurationGroupAssignmentTarget"); - } - - /** - * Gets the groupId - * - * @return string|null The groupId - */ - public function getGroupId() - { - if (array_key_exists("groupId", $this->_propDict)) { - return $this->_propDict["groupId"]; - } else { - return null; - } - } - - /** - * Sets the groupId - * - * @param string $val The value of the groupId - * - * @return OfficeConfigurationGroupAssignmentTarget - */ - public function setGroupId($val) - { - $this->_propDict["groupId"] = $val; - return $this; - } -} diff --git a/src/Beta/Microsoft/Graph/Model/OfficeUserCheckinSummary.php b/src/Beta/Microsoft/Graph/Model/OfficeUserCheckinSummary.php deleted file mode 100644 index 6db2c2a8fe5..00000000000 --- a/src/Beta/Microsoft/Graph/Model/OfficeUserCheckinSummary.php +++ /dev/null @@ -1,78 +0,0 @@ -_propDict)) { - return $this->_propDict["failedUserCount"]; - } else { - return null; - } - } - - /** - * Sets the failedUserCount - * - * @param int $val The value of the failedUserCount - * - * @return OfficeUserCheckinSummary - */ - public function setFailedUserCount($val) - { - $this->_propDict["failedUserCount"] = $val; - return $this; - } - /** - * Gets the succeededUserCount - * - * @return int|null The succeededUserCount - */ - public function getSucceededUserCount() - { - if (array_key_exists("succeededUserCount", $this->_propDict)) { - return $this->_propDict["succeededUserCount"]; - } else { - return null; - } - } - - /** - * Sets the succeededUserCount - * - * @param int $val The value of the succeededUserCount - * - * @return OfficeUserCheckinSummary - */ - public function setSucceededUserCount($val) - { - $this->_propDict["succeededUserCount"] = $val; - return $this; - } -} diff --git a/src/Beta/Microsoft/Graph/Model/Participant.php b/src/Beta/Microsoft/Graph/Model/Participant.php index 40f9f8a827e..34cff56a983 100644 --- a/src/Beta/Microsoft/Graph/Model/Participant.php +++ b/src/Beta/Microsoft/Graph/Model/Participant.php @@ -236,6 +236,7 @@ public function setRecordingInfo($val) /** * Gets the removedState + * Indicates the reason why the participant was removed from the roster. * * @return RemovedState|null The removedState */ @@ -254,6 +255,7 @@ public function getRemovedState() /** * Sets the removedState + * Indicates the reason why the participant was removed from the roster. * * @param RemovedState $val The removedState * @@ -300,6 +302,7 @@ public function setRestrictedExperience($val) /** * Gets the rosterSequenceNumber + * Indicates the roster sequence number the participant was last updated in. * * @return int|null The rosterSequenceNumber */ @@ -314,6 +317,7 @@ public function getRosterSequenceNumber() /** * Sets the rosterSequenceNumber + * Indicates the roster sequence number the participant was last updated in. * * @param int $val The rosterSequenceNumber * diff --git a/src/Beta/Microsoft/Graph/Model/PrivilegeManagementElevation.php b/src/Beta/Microsoft/Graph/Model/PrivilegeManagementElevation.php deleted file mode 100644 index 3a2d2b65571..00000000000 --- a/src/Beta/Microsoft/Graph/Model/PrivilegeManagementElevation.php +++ /dev/null @@ -1,503 +0,0 @@ -_propDict)) { - return $this->_propDict["certificatePayload"]; - } else { - return null; - } - } - - /** - * Sets the certificatePayload - * The certificate payload of the application. This is computed by hashing the certificate information on the client. Example: `32c220482c68413fbf8290e3b1e49b0a85901cfcd62ab0738760568a2a6e8a50` - * - * @param string $val The certificatePayload - * - * @return PrivilegeManagementElevation - */ - public function setCertificatePayload($val) - { - $this->_propDict["certificatePayload"] = $val; - return $this; - } - - /** - * Gets the companyName - * The company name of the application. This value is set by the creator of the application. Example: `Microsoft Corporation` - * - * @return string|null The companyName - */ - public function getCompanyName() - { - if (array_key_exists("companyName", $this->_propDict)) { - return $this->_propDict["companyName"]; - } else { - return null; - } - } - - /** - * Sets the companyName - * The company name of the application. This value is set by the creator of the application. Example: `Microsoft Corporation` - * - * @param string $val The companyName - * - * @return PrivilegeManagementElevation - */ - public function setCompanyName($val) - { - $this->_propDict["companyName"] = $val; - return $this; - } - - /** - * Gets the deviceId - * The Intune deviceId. Unique identifier for the managed device. Example: `92ce5047-9553-4731-817f-9b401a999a1b` - * - * @return string|null The deviceId - */ - public function getDeviceId() - { - if (array_key_exists("deviceId", $this->_propDict)) { - return $this->_propDict["deviceId"]; - } else { - return null; - } - } - - /** - * Sets the deviceId - * The Intune deviceId. Unique identifier for the managed device. Example: `92ce5047-9553-4731-817f-9b401a999a1b` - * - * @param string $val The deviceId - * - * @return PrivilegeManagementElevation - */ - public function setDeviceId($val) - { - $this->_propDict["deviceId"] = $val; - return $this; - } - - /** - * Gets the deviceName - * The name associated with the device in the intune database. Example: `JOHNDOE-LAPTOP`. - * - * @return string|null The deviceName - */ - public function getDeviceName() - { - if (array_key_exists("deviceName", $this->_propDict)) { - return $this->_propDict["deviceName"]; - } else { - return null; - } - } - - /** - * Sets the deviceName - * The name associated with the device in the intune database. Example: `JOHNDOE-LAPTOP`. - * - * @param string $val The deviceName - * - * @return PrivilegeManagementElevation - */ - public function setDeviceName($val) - { - $this->_propDict["deviceName"] = $val; - return $this; - } - - /** - * Gets the elevationType - * Indicates the type of elevation on the application. Possible values are `undetermined`, `unmanagedElevation`, `zeroTouchElevation`, `userConfirmedElevation`, and `supportApprovedElevation`. Defaults to `undetermined` - * - * @return PrivilegeManagementElevationType|null The elevationType - */ - public function getElevationType() - { - if (array_key_exists("elevationType", $this->_propDict)) { - if (is_a($this->_propDict["elevationType"], "\Beta\Microsoft\Graph\Model\PrivilegeManagementElevationType") || is_null($this->_propDict["elevationType"])) { - return $this->_propDict["elevationType"]; - } else { - $this->_propDict["elevationType"] = new PrivilegeManagementElevationType($this->_propDict["elevationType"]); - return $this->_propDict["elevationType"]; - } - } - return null; - } - - /** - * Sets the elevationType - * Indicates the type of elevation on the application. Possible values are `undetermined`, `unmanagedElevation`, `zeroTouchElevation`, `userConfirmedElevation`, and `supportApprovedElevation`. Defaults to `undetermined` - * - * @param PrivilegeManagementElevationType $val The elevationType - * - * @return PrivilegeManagementElevation - */ - public function setElevationType($val) - { - $this->_propDict["elevationType"] = $val; - return $this; - } - - /** - * Gets the eventDateTime - * The date and time when the application was elevated. Example:`2014-01-01T00:00:00Z` - * - * @return \DateTime|null The eventDateTime - */ - public function getEventDateTime() - { - if (array_key_exists("eventDateTime", $this->_propDict)) { - if (is_a($this->_propDict["eventDateTime"], "\DateTime") || is_null($this->_propDict["eventDateTime"])) { - return $this->_propDict["eventDateTime"]; - } else { - $this->_propDict["eventDateTime"] = new \DateTime($this->_propDict["eventDateTime"]); - return $this->_propDict["eventDateTime"]; - } - } - return null; - } - - /** - * Sets the eventDateTime - * The date and time when the application was elevated. Example:`2014-01-01T00:00:00Z` - * - * @param \DateTime $val The eventDateTime - * - * @return PrivilegeManagementElevation - */ - public function setEventDateTime($val) - { - $this->_propDict["eventDateTime"] = $val; - return $this; - } - - /** - * Gets the fileDescription - * The file description of the application. This value is set by the creator of the application. Example: `Editor of multiple coding languages.` - * - * @return string|null The fileDescription - */ - public function getFileDescription() - { - if (array_key_exists("fileDescription", $this->_propDict)) { - return $this->_propDict["fileDescription"]; - } else { - return null; - } - } - - /** - * Sets the fileDescription - * The file description of the application. This value is set by the creator of the application. Example: `Editor of multiple coding languages.` - * - * @param string $val The fileDescription - * - * @return PrivilegeManagementElevation - */ - public function setFileDescription($val) - { - $this->_propDict["fileDescription"] = $val; - return $this; - } - - /** - * Gets the filePath - * The full file path of the application including the filename and file extension. Example: `C:\Program Files\vscode.exe` - * - * @return string|null The filePath - */ - public function getFilePath() - { - if (array_key_exists("filePath", $this->_propDict)) { - return $this->_propDict["filePath"]; - } else { - return null; - } - } - - /** - * Sets the filePath - * The full file path of the application including the filename and file extension. Example: `C:\Program Files\vscode.exe` - * - * @param string $val The filePath - * - * @return PrivilegeManagementElevation - */ - public function setFilePath($val) - { - $this->_propDict["filePath"] = $val; - return $this; - } - - /** - * Gets the fileVersion - * The version of the application. This value is set by the creator of the application. Example: `6.2211.1035.1000` - * - * @return string|null The fileVersion - */ - public function getFileVersion() - { - if (array_key_exists("fileVersion", $this->_propDict)) { - return $this->_propDict["fileVersion"]; - } else { - return null; - } - } - - /** - * Sets the fileVersion - * The version of the application. This value is set by the creator of the application. Example: `6.2211.1035.1000` - * - * @param string $val The fileVersion - * - * @return PrivilegeManagementElevation - */ - public function setFileVersion($val) - { - $this->_propDict["fileVersion"] = $val; - return $this; - } - - /** - * Gets the hash - * The sha256 hash of the application. Example: `32c220482c68413fbf8290e3b1e49b0a85901cfcd62ab0738760568a2a6e8a57` - * - * @return string|null The hash - */ - public function getHash() - { - if (array_key_exists("hash", $this->_propDict)) { - return $this->_propDict["hash"]; - } else { - return null; - } - } - - /** - * Sets the hash - * The sha256 hash of the application. Example: `32c220482c68413fbf8290e3b1e49b0a85901cfcd62ab0738760568a2a6e8a57` - * - * @param string $val The hash - * - * @return PrivilegeManagementElevation - */ - public function setHash($val) - { - $this->_propDict["hash"] = $val; - return $this; - } - - /** - * Gets the internalName - * The internal name of the application. This value is set by the creator of the application. Example: `VS code` - * - * @return string|null The internalName - */ - public function getInternalName() - { - if (array_key_exists("internalName", $this->_propDict)) { - return $this->_propDict["internalName"]; - } else { - return null; - } - } - - /** - * Sets the internalName - * The internal name of the application. This value is set by the creator of the application. Example: `VS code` - * - * @param string $val The internalName - * - * @return PrivilegeManagementElevation - */ - public function setInternalName($val) - { - $this->_propDict["internalName"] = $val; - return $this; - } - - /** - * Gets the justification - * The justification to elevate the application. This is an input by the user when the privilegeManagementElevationType is of type userConfirmedElevation or support approved elevation. This will be null in all other scenarios. The length is capped at 256 char, enforced on the client side. Example: `To install debug tool.`. - * - * @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 - * The justification to elevate the application. This is an input by the user when the privilegeManagementElevationType is of type userConfirmedElevation or support approved elevation. This will be null in all other scenarios. The length is capped at 256 char, enforced on the client side. Example: `To install debug tool.`. - * - * @param string $val The justification - * - * @return PrivilegeManagementElevation - */ - public function setJustification($val) - { - $this->_propDict["justification"] = $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` - * - * @return string|null The productName - */ - public function getProductName() - { - if (array_key_exists("productName", $this->_propDict)) { - return $this->_propDict["productName"]; - } else { - return null; - } - } - - /** - * Sets the productName - * The product name of the application. This value is set by the creator of the application. Example: `Visual Studio` - * - * @param string $val The productName - * - * @return PrivilegeManagementElevation - */ - public function setProductName($val) - { - $this->_propDict["productName"] = $val; - return $this; - } - - /** - * Gets the result - * The result of the elevation action with 0 being success, and everything else being exit code if the elevation was unsuccessful. The value will always be 0 on all unmanaged elevation. Example: `0`. Valid values 0 to 2147483647 - * - * @return int|null The result - */ - public function getResult() - { - if (array_key_exists("result", $this->_propDict)) { - return $this->_propDict["result"]; - } else { - return null; - } - } - - /** - * Sets the result - * The result of the elevation action with 0 being success, and everything else being exit code if the elevation was unsuccessful. The value will always be 0 on all unmanaged elevation. Example: `0`. Valid values 0 to 2147483647 - * - * @param int $val The result - * - * @return PrivilegeManagementElevation - */ - public function setResult($val) - { - $this->_propDict["result"] = intval($val); - return $this; - } - - /** - * Gets the upn - * The User Principal Name of the user who performed the elevation. Example: `john@domain.com` - * - * @return string|null The upn - */ - public function getUpn() - { - if (array_key_exists("upn", $this->_propDict)) { - return $this->_propDict["upn"]; - } else { - return null; - } - } - - /** - * Sets the upn - * The User Principal Name of the user who performed the elevation. Example: `john@domain.com` - * - * @param string $val The upn - * - * @return PrivilegeManagementElevation - */ - public function setUpn($val) - { - $this->_propDict["upn"] = $val; - return $this; - } - - /** - * Gets the userType - * The type of account performed the elevation on Windows. Possible values are: `undetermined`, `azureAd`, `hybrid`, and `local`. Defaults to `undetermined`. - * - * @return PrivilegeManagementEndUserType|null The userType - */ - public function getUserType() - { - if (array_key_exists("userType", $this->_propDict)) { - if (is_a($this->_propDict["userType"], "\Beta\Microsoft\Graph\Model\PrivilegeManagementEndUserType") || is_null($this->_propDict["userType"])) { - return $this->_propDict["userType"]; - } else { - $this->_propDict["userType"] = new PrivilegeManagementEndUserType($this->_propDict["userType"]); - return $this->_propDict["userType"]; - } - } - return null; - } - - /** - * Sets the userType - * The type of account performed the elevation on Windows. Possible values are: `undetermined`, `azureAd`, `hybrid`, and `local`. Defaults to `undetermined`. - * - * @param PrivilegeManagementEndUserType $val The userType - * - * @return PrivilegeManagementElevation - */ - public function setUserType($val) - { - $this->_propDict["userType"] = $val; - return $this; - } - -} diff --git a/src/Beta/Microsoft/Graph/Model/RemovedState.php b/src/Beta/Microsoft/Graph/Model/RemovedState.php index 72acf601ff6..8d643ec1f92 100644 --- a/src/Beta/Microsoft/Graph/Model/RemovedState.php +++ b/src/Beta/Microsoft/Graph/Model/RemovedState.php @@ -25,6 +25,7 @@ class RemovedState extends Entity { /** * Gets the reason + * The removal reason for the participant resource. * * @return string|null The reason */ @@ -39,6 +40,7 @@ public function getReason() /** * Sets the reason + * The removal reason for the participant resource. * * @param string $val The value of the reason * diff --git a/src/Beta/Microsoft/Graph/Model/SignInActivity.php b/src/Beta/Microsoft/Graph/Model/SignInActivity.php index 21b98dcde14..4ff950be1db 100644 --- a/src/Beta/Microsoft/Graph/Model/SignInActivity.php +++ b/src/Beta/Microsoft/Graph/Model/SignInActivity.php @@ -26,7 +26,7 @@ class SignInActivity extends Entity /** * Gets the lastNonInteractiveSignInDateTime - * The last non-interactive sign-in date for a specific user. You can use this field to calculate the last time a client signed in to the directory on behalf of a user. Because some users may use clients to access tenant resources rather than signing into your tenant directly, you can use the non-interactive sign-in date to along with lastSignInDateTime to identify inactive users. The timestamp 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'. Azure AD maintains non-interactive sign-ins going back to May 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. + * The last non-interactive sign-in date for a specific user. You can use this field to calculate the last time a client attempted to sign into the directory the directory on behalf of a user. Because some users may use clients to access tenant resources rather than signing into your tenant directly, you can use the non-interactive sign-in date to along with lastSignInDateTime to identify inactive users. The timestamp 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'. Azure AD maintains non-interactive sign-ins going back to May 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. * * @return \DateTime|null The lastNonInteractiveSignInDateTime */ @@ -45,7 +45,7 @@ public function getLastNonInteractiveSignInDateTime() /** * Sets the lastNonInteractiveSignInDateTime - * The last non-interactive sign-in date for a specific user. You can use this field to calculate the last time a client signed in to the directory on behalf of a user. Because some users may use clients to access tenant resources rather than signing into your tenant directly, you can use the non-interactive sign-in date to along with lastSignInDateTime to identify inactive users. The timestamp 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'. Azure AD maintains non-interactive sign-ins going back to May 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. + * The last non-interactive sign-in date for a specific user. You can use this field to calculate the last time a client attempted to sign into the directory the directory on behalf of a user. Because some users may use clients to access tenant resources rather than signing into your tenant directly, you can use the non-interactive sign-in date to along with lastSignInDateTime to identify inactive users. The timestamp 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'. Azure AD maintains non-interactive sign-ins going back to May 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. * * @param \DateTime $val The value to assign to the lastNonInteractiveSignInDateTime * @@ -87,7 +87,7 @@ public function setLastNonInteractiveSignInRequestId($val) /** * Gets the lastSignInDateTime - * The last interactive sign-in date and time for a specific user. You can use this field to calculate the last time a user signed in to the directory with an interactive authentication method. This field can be used to build reports, such as inactive users. The timestamp 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'. Azure AD maintains interactive sign-ins going back to April 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. + * The last interactive sign-in date and time for a specific user. You can use this field to calculate the last time a user attempted to sign into the directory the directory with an interactive authentication method. This field can be used to build reports, such as inactive users. The timestamp 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'. Azure AD maintains interactive sign-ins going back to April 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. * * @return \DateTime|null The lastSignInDateTime */ @@ -106,7 +106,7 @@ public function getLastSignInDateTime() /** * Sets the lastSignInDateTime - * The last interactive sign-in date and time for a specific user. You can use this field to calculate the last time a user signed in to the directory with an interactive authentication method. This field can be used to build reports, such as inactive users. The timestamp 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'. Azure AD maintains interactive sign-ins going back to April 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. + * The last interactive sign-in date and time for a specific user. You can use this field to calculate the last time a user attempted to sign into the directory the directory with an interactive authentication method. This field can be used to build reports, such as inactive users. The timestamp 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'. Azure AD maintains interactive sign-ins going back to April 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. * * @param \DateTime $val The value to assign to the lastSignInDateTime * diff --git a/src/Beta/Microsoft/Graph/Model/TimeCard.php b/src/Beta/Microsoft/Graph/Model/TimeCard.php index 4150dc78450..17f99a644b0 100644 --- a/src/Beta/Microsoft/Graph/Model/TimeCard.php +++ b/src/Beta/Microsoft/Graph/Model/TimeCard.php @@ -122,7 +122,7 @@ public function setClockOutEvent($val) /** * Gets the confirmedBy - * Indicate if this timeCard entry is confirmed. Possible values are none, user, manager, unknownFutureValue. + * Indicates whether this timeCard entry is confirmed. Possible values are none, user, manager, unknownFutureValue. * * @return ConfirmedBy|null The confirmedBy */ @@ -141,7 +141,7 @@ public function getConfirmedBy() /** * Sets the confirmedBy - * Indicate if this timeCard entry is confirmed. Possible values are none, user, manager, unknownFutureValue. + * Indicates whether this timeCard entry is confirmed. Possible values are none, user, manager, unknownFutureValue. * * @param ConfirmedBy $val The confirmedBy * diff --git a/src/Beta/Microsoft/Graph/Model/UnifiedRbacApplication.php b/src/Beta/Microsoft/Graph/Model/UnifiedRbacApplication.php index e6267d58580..1d86cd34e05 100644 --- a/src/Beta/Microsoft/Graph/Model/UnifiedRbacApplication.php +++ b/src/Beta/Microsoft/Graph/Model/UnifiedRbacApplication.php @@ -25,6 +25,34 @@ class UnifiedRbacApplication extends Entity { + /** + * Gets the customAppScopes + * + * @return array|null The customAppScopes + */ + public function getCustomAppScopes() + { + if (array_key_exists("customAppScopes", $this->_propDict)) { + return $this->_propDict["customAppScopes"]; + } else { + return null; + } + } + + /** + * Sets the customAppScopes + * + * @param CustomAppScope[] $val The customAppScopes + * + * @return UnifiedRbacApplication + */ + public function setCustomAppScopes($val) + { + $this->_propDict["customAppScopes"] = $val; + return $this; + } + + /** * Gets the resourceNamespaces * Resource that represents a collection of related actions. diff --git a/src/Beta/Microsoft/Graph/Model/User.php b/src/Beta/Microsoft/Graph/Model/User.php index 3cbbf8a5ab8..df01eb47fa5 100644 --- a/src/Beta/Microsoft/Graph/Model/User.php +++ b/src/Beta/Microsoft/Graph/Model/User.php @@ -4371,4 +4371,35 @@ public function setTodo($val) return $this; } + /** + * Gets the employeeExperience + * + * @return EmployeeExperienceUser|null The employeeExperience + */ + public function getEmployeeExperience() + { + if (array_key_exists("employeeExperience", $this->_propDict)) { + if (is_a($this->_propDict["employeeExperience"], "\Beta\Microsoft\Graph\Model\EmployeeExperienceUser") || is_null($this->_propDict["employeeExperience"])) { + return $this->_propDict["employeeExperience"]; + } else { + $this->_propDict["employeeExperience"] = new EmployeeExperienceUser($this->_propDict["employeeExperience"]); + return $this->_propDict["employeeExperience"]; + } + } + return null; + } + + /** + * Sets the employeeExperience + * + * @param EmployeeExperienceUser $val The employeeExperience + * + * @return User + */ + public function setEmployeeExperience($val) + { + $this->_propDict["employeeExperience"] = $val; + return $this; + } + } diff --git a/src/Beta/Microsoft/Graph/Model/ZebraFotaDeployment.php b/src/Beta/Microsoft/Graph/Model/ZebraFotaDeployment.php index 4279e68877f..f49b791f5c5 100644 --- a/src/Beta/Microsoft/Graph/Model/ZebraFotaDeployment.php +++ b/src/Beta/Microsoft/Graph/Model/ZebraFotaDeployment.php @@ -178,4 +178,33 @@ public function setDisplayName($val) return $this; } + /** + * Gets the roleScopeTagIds + * List of Scope Tags for this Entity instance + * + * @return array|null The roleScopeTagIds + */ + public function getRoleScopeTagIds() + { + if (array_key_exists("roleScopeTagIds", $this->_propDict)) { + return $this->_propDict["roleScopeTagIds"]; + } else { + return null; + } + } + + /** + * Sets the roleScopeTagIds + * List of Scope Tags for this Entity instance + * + * @param string[] $val The roleScopeTagIds + * + * @return ZebraFotaDeployment + */ + public function setRoleScopeTagIds($val) + { + $this->_propDict["roleScopeTagIds"] = $val; + return $this; + } + } From 32f6d95bfa8823bb046c5d429fc2e483a233efd6 Mon Sep 17 00:00:00 2001 From: Philip Gichuhi Date: Wed, 3 May 2023 15:11:09 +0300 Subject: [PATCH 3/4] Update version in GraphConstants.php --- src/Core/GraphConstants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/GraphConstants.php b/src/Core/GraphConstants.php index 7e950a07d24..5b5b5948c92 100644 --- a/src/Core/GraphConstants.php +++ b/src/Core/GraphConstants.php @@ -23,7 +23,7 @@ final class GraphConstants const REST_ENDPOINT = "https://graph.microsoft.com/"; // Define HTTP request constants - const SDK_VERSION = "1.95.0"; + const SDK_VERSION = "1.96.0"; // Define error constants const MAX_PAGE_SIZE = 999; From a7cd4d86fd1485d0ffa88f66f7f82e0ffa66cc2a Mon Sep 17 00:00:00 2001 From: Philip Gichuhi Date: Wed, 3 May 2023 15:12:36 +0300 Subject: [PATCH 4/4] Update SDK version in Microsoft-Graph-Core-GraphConstants.html --- docs/classes/Microsoft-Graph-Core-GraphConstants.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/classes/Microsoft-Graph-Core-GraphConstants.html b/docs/classes/Microsoft-Graph-Core-GraphConstants.html index bdc8066261f..bebb6a60640 100644 --- a/docs/classes/Microsoft-Graph-Core-GraphConstants.html +++ b/docs/classes/Microsoft-Graph-Core-GraphConstants.html @@ -181,7 +181,7 @@

SDK_VERSION -  = "1.94.0" +  = "1.96.0"