From 14fb3aa34a2e642d05238476ae0449c8ae6b1911 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 6 Jan 2026 21:35:20 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 207061 --- .../Item/AccessReviewItemRequestBuilder.php | 4 +- .../Admin/Exchange/ExchangeRequestBuilder.php | 8 + .../Count/CountRequestBuilder.php | 78 ++ .../CountRequestBuilderGetQueryParameters.php | 34 + ...tRequestBuilderGetRequestConfiguration.php | 39 + ...ExchangeMessageTraceItemRequestBuilder.php | 154 +++ ...questBuilderDeleteRequestConfiguration.php | 22 + ...ceItemRequestBuilderGetQueryParameters.php | 34 + ...mRequestBuilderGetRequestConfiguration.php | 39 + ...equestBuilderPatchRequestConfiguration.php | 22 + ...cipientWithRecipientAddressGetResponse.php | 72 + ...ientWithRecipientAddressRequestBuilder.php | 79 ++ ...ddressRequestBuilderGetQueryParameters.php | 82 ++ ...sRequestBuilderGetRequestConfiguration.php | 45 + .../MessageTracesRequestBuilder.php | 133 ++ ...TracesRequestBuilderGetQueryParameters.php | 82 ++ ...sRequestBuilderGetRequestConfiguration.php | 45 + ...RequestBuilderPostRequestConfiguration.php | 22 + .../Tracing/TracingRequestBuilder.php | 152 +++ ...questBuilderDeleteRequestConfiguration.php | 22 + ...racingRequestBuilderGetQueryParameters.php | 34 + ...gRequestBuilderGetRequestConfiguration.php | 39 + ...equestBuilderPatchRequestConfiguration.php | 22 + .../Applications/Delta/DeltaGetResponse.php | 12 +- .../Delta/DeltaRequestBuilder.php | 6 +- .../DeltaRequestBuilderGetQueryParameters.php | 2 +- .../Chats/Item/ChatItemRequestBuilder.php | 8 + .../StartMigrationPostRequestBody.php | 115 ++ .../StartMigrationRequestBuilder.php | 77 ++ ...RequestBuilderPostRequestConfiguration.php | 22 + .../AdhocCalls/AdhocCallsRequestBuilder.php | 16 + ...tartDateTimeWithEndDateTimeGetResponse.php | 72 + ...tDateTimeWithEndDateTimeRequestBuilder.php | 76 ++ ...teTimeRequestBuilderGetQueryParameters.php | 104 ++ ...eRequestBuilderGetRequestConfiguration.php | 49 + ...tartDateTimeWithEndDateTimeGetResponse.php | 72 + ...tDateTimeWithEndDateTimeRequestBuilder.php | 76 ++ ...teTimeRequestBuilderGetQueryParameters.php | 104 ++ ...eRequestBuilderGetRequestConfiguration.php | 49 + .../SetAutomaticLocationRequestBuilder.php | 4 +- .../SetManualLocationRequestBuilder.php | 4 +- .../Item/Retry/RetryRequestBuilder.php | 5 +- .../Report/ReportRequestBuilder.php | 8 + ...dPcClientAppUsageReportPostRequestBody.php | 297 ++++ ...udPcClientAppUsageReportRequestBuilder.php | 80 ++ ...RequestBuilderPostRequestConfiguration.php | 22 + .../Item/ChannelItemRequestBuilder.php | 8 + .../StartMigrationPostRequestBody.php | 115 ++ .../StartMigrationRequestBuilder.php | 77 ++ ...RequestBuilderPostRequestConfiguration.php | 22 + .../PrimaryChannelRequestBuilder.php | 8 + .../StartMigrationPostRequestBody.php | 115 ++ .../StartMigrationRequestBuilder.php | 77 ++ ...RequestBuilderPostRequestConfiguration.php | 22 + .../Models/AgentIdentityBlueprint.php | 24 + src/Generated/Models/AllAllowedScopes.php | 46 + .../Models/AllowedTenantsAudience.php | 100 ++ src/Generated/Models/Application.php | 44 + src/Generated/Models/AudienceRestriction.php | 7 + .../Models/AudiencesConfiguration.php | 12 +- ...AzureAdMultipleOrgsAudienceRestriction.php | 46 + src/Generated/Models/Channel.php | 44 + src/Generated/Models/Chat.php | 44 + .../Models/CloudPcAutopilotConfiguration.php | 4 +- .../CloudPcClientAppUsageReportType.php | 10 + src/Generated/Models/CloudPcDeviceImage.php | 22 - src/Generated/Models/CloudPcGalleryImage.php | 22 - src/Generated/Models/Contact.php | 66 + src/Generated/Models/CopilotConversation.php | 159 +++ .../Models/CopilotConversationAttribution.php | 284 ++++ .../CopilotConversationAttributionSource.php | 11 + .../CopilotConversationAttributionType.php | 11 + .../Models/CopilotConversationMessage.php | 78 ++ .../CopilotConversationRequestMessage.php | 49 + .../CopilotConversationResponseMessage.php | 139 ++ .../Models/CopilotConversationState.php | 11 + src/Generated/Models/Desk.php | 4 +- src/Generated/Models/Entity.php | 10 + src/Generated/Models/EnumeratedScopes.php | 78 ++ src/Generated/Models/ExchangeAdmin.php | 22 + src/Generated/Models/ExchangeMessageTrace.php | 244 ++++ ...ExchangeMessageTraceCollectionResponse.php | 70 + .../Models/ExchangeMessageTraceDetail.php | 178 +++ .../Models/ExchangeMessageTraceStatus.php | 16 + .../Models/ExternalConnectors/Label.php | 19 + src/Generated/Models/Group.php | 22 + .../Models/InheritablePermission.php | 158 +++ src/Generated/Models/InheritableScopes.php | 145 ++ src/Generated/Models/Json.php | 117 ++ src/Generated/Models/Kind.php | 11 + .../Models/MaxWorkLocationDetails.php | 13 + src/Generated/Models/MessageTracingRoot.php | 70 + ...ArchitectureType.php => MigrationMode.php} | 6 +- .../Models/Networkaccess/CustomBlockPage.php | 4 +- .../MarkdownBlockMessageConfiguration.php | 4 +- src/Generated/Models/NoScopes.php | 46 + src/Generated/Models/ProtocolType.php | 2 + .../Models/RestorePointSearchResult.php | 4 +- src/Generated/Models/RiskDetail.php | 1 + src/Generated/Models/Room.php | 4 +- src/Generated/Models/ScopeCollectionKind.php | 13 + .../Models/SearchSensitivityLabelInfo.php | 222 +++ .../ActiveDirectoryDomainEvidence.php | 93 ++ .../Models/Security/AlertEvidence.php | 1 + .../Models/Security/DeviceEvidence.php | 28 +- .../Models/Security/IdentityContainer.php | 8 +- .../Security/MailboxConfigurationEvidence.php | 24 +- src/Generated/Models/SensitivityLabel.php | 22 + src/Generated/Models/ServicePrincipal.php | 22 + .../Models/SharePointIdentityMapping.php | 22 + .../Models/SignInAudienceRestrictionsBase.php | 144 ++ src/Generated/Models/StructuredDataEntry.php | 158 +++ .../Models/StructuredDataEntryTypedValue.php | 168 +++ .../Models/StructuredDataEntryValueType.php | 19 + .../TargetAgentIdentitySponsorsOrOwners.php | 46 + .../TeamsUserConfiguration.php | 4 +- src/Generated/Models/TimeOffDetails.php | 158 +++ src/Generated/Models/UnavailablePlaceMode.php | 4 +- src/Generated/Models/UnrestrictedAudience.php | 46 + src/Generated/Models/UserConfiguration.php | 47 + src/Generated/Models/UserSet.php | 1 + src/Generated/Models/UserSettings.php | 22 + src/Generated/Models/UserWorkLocation.php | 4 +- .../Models/WorkHoursAndLocationsSetting.php | 116 ++ .../Models/WorkLocationUpdateScope.php | 11 + src/Generated/Models/WorkPlanOccurrence.php | 177 +++ .../WorkPlanOccurrenceCollectionResponse.php | 70 + src/Generated/Models/WorkPlanRecurrence.php | 155 +++ .../WorkPlanRecurrenceCollectionResponse.php | 70 + src/Generated/Models/Workspace.php | 8 +- .../CustomBlockPageRequestBuilder.php | 10 +- ...ckPageRequestBuilderGetQueryParameters.php | 2 +- .../SensorCandidateItemRequestBuilder.php | 4 +- ...teItemRequestBuilderGetQueryParameters.php | 2 +- .../Settings/SettingsRequestBuilder.php | 4 +- ...ttingsRequestBuilderGetQueryParameters.php | 2 +- .../Delta/DeltaGetResponse.php | 12 +- .../Delta/DeltaRequestBuilder.php | 6 +- .../DeltaRequestBuilderGetQueryParameters.php | 2 +- .../Item/ChannelItemRequestBuilder.php | 8 + .../StartMigrationPostRequestBody.php | 115 ++ .../StartMigrationRequestBuilder.php | 77 ++ ...RequestBuilderPostRequestConfiguration.php | 22 + .../PrimaryChannelRequestBuilder.php | 8 + .../StartMigrationPostRequestBody.php | 115 ++ .../StartMigrationRequestBuilder.php | 77 ++ ...RequestBuilderPostRequestConfiguration.php | 22 + .../Item/ChannelItemRequestBuilder.php | 8 + .../StartMigrationPostRequestBody.php | 115 ++ .../StartMigrationRequestBuilder.php | 77 ++ ...RequestBuilderPostRequestConfiguration.php | 22 + .../PrimaryChannelRequestBuilder.php | 8 + .../StartMigrationPostRequestBody.php | 115 ++ .../StartMigrationRequestBuilder.php | 77 ++ ...RequestBuilderPostRequestConfiguration.php | 22 + .../Item/ChannelItemRequestBuilder.php | 8 + .../StartMigrationPostRequestBody.php | 115 ++ .../StartMigrationRequestBuilder.php | 77 ++ ...RequestBuilderPostRequestConfiguration.php | 22 + .../Item/ChannelItemRequestBuilder.php | 8 + .../StartMigrationPostRequestBody.php | 115 ++ .../StartMigrationRequestBuilder.php | 77 ++ ...RequestBuilderPostRequestConfiguration.php | 22 + .../PrimaryChannelRequestBuilder.php | 8 + .../StartMigrationPostRequestBody.php | 115 ++ .../StartMigrationRequestBuilder.php | 77 ++ ...RequestBuilderPostRequestConfiguration.php | 22 + .../AdhocCalls/AdhocCallsRequestBuilder.php | 16 + ...tartDateTimeWithEndDateTimeGetResponse.php | 72 + ...tDateTimeWithEndDateTimeRequestBuilder.php | 76 ++ ...teTimeRequestBuilderGetQueryParameters.php | 104 ++ ...eRequestBuilderGetRequestConfiguration.php | 49 + ...tartDateTimeWithEndDateTimeGetResponse.php | 72 + ...tDateTimeWithEndDateTimeRequestBuilder.php | 76 ++ ...teTimeRequestBuilderGetQueryParameters.php | 104 ++ ...eRequestBuilderGetRequestConfiguration.php | 49 + .../Chats/Item/ChatItemRequestBuilder.php | 8 + .../StartMigrationPostRequestBody.php | 115 ++ .../StartMigrationRequestBuilder.php | 77 ++ ...RequestBuilderPostRequestConfiguration.php | 22 + .../SetAutomaticLocationRequestBuilder.php | 4 +- .../SetManualLocationRequestBuilder.php | 4 +- .../Item/Settings/SettingsRequestBuilder.php | 8 + .../Occurrences/Count/CountRequestBuilder.php | 78 ++ .../CountRequestBuilderGetQueryParameters.php | 34 + ...tRequestBuilderGetRequestConfiguration.php | 39 + .../WorkPlanOccurrenceItemRequestBuilder.php | 144 ++ ...questBuilderDeleteRequestConfiguration.php | 22 + ...ceItemRequestBuilderGetQueryParameters.php | 34 + ...mRequestBuilderGetRequestConfiguration.php | 39 + ...mRequestBuilderPutRequestConfiguration.php | 22 + .../Occurrences/OccurrencesRequestBuilder.php | 141 ++ ...rencesRequestBuilderGetQueryParameters.php | 82 ++ ...sRequestBuilderGetRequestConfiguration.php | 45 + ...RequestBuilderPostRequestConfiguration.php | 22 + .../SetCurrentLocationPostRequestBody.php | 160 +++ .../SetCurrentLocationRequestBuilder.php | 77 ++ ...RequestBuilderPostRequestConfiguration.php | 22 + ...tartDateTimeWithEndDateTimeGetResponse.php | 72 + ...tDateTimeWithEndDateTimeRequestBuilder.php | 82 ++ ...teTimeRequestBuilderGetQueryParameters.php | 82 ++ ...eRequestBuilderGetRequestConfiguration.php | 45 + .../Recurrences/Count/CountRequestBuilder.php | 78 ++ .../CountRequestBuilderGetQueryParameters.php | 34 + ...tRequestBuilderGetRequestConfiguration.php | 39 + .../WorkPlanRecurrenceItemRequestBuilder.php | 144 ++ ...questBuilderDeleteRequestConfiguration.php | 22 + ...ceItemRequestBuilderGetQueryParameters.php | 34 + ...mRequestBuilderGetRequestConfiguration.php | 39 + ...mRequestBuilderPutRequestConfiguration.php | 22 + .../Recurrences/RecurrencesRequestBuilder.php | 133 ++ ...rencesRequestBuilderGetQueryParameters.php | 82 ++ ...sRequestBuilderGetRequestConfiguration.php | 45 + ...RequestBuilderPostRequestConfiguration.php | 22 + .../WorkHoursAndLocationsRequestBuilder.php | 139 ++ ...ationsRequestBuilderGetQueryParameters.php | 34 + ...sRequestBuilderGetRequestConfiguration.php | 39 + ...equestBuilderPatchRequestConfiguration.php | 22 + src/Generated/kiota-dom-export.txt | 1216 ++++++++++++++++- src/Generated/kiota-lock.json | 2 +- 220 files changed, 13047 insertions(+), 146 deletions(-) create mode 100644 src/Generated/Admin/Exchange/Tracing/MessageTraces/Count/CountRequestBuilder.php create mode 100644 src/Generated/Admin/Exchange/Tracing/MessageTraces/Count/CountRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Admin/Exchange/Tracing/MessageTraces/Count/CountRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/ExchangeMessageTraceItemRequestBuilder.php create mode 100644 src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/ExchangeMessageTraceItemRequestBuilderDeleteRequestConfiguration.php create mode 100644 src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/ExchangeMessageTraceItemRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/ExchangeMessageTraceItemRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/ExchangeMessageTraceItemRequestBuilderPatchRequestConfiguration.php create mode 100644 src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressGetResponse.php create mode 100644 src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressRequestBuilder.php create mode 100644 src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Admin/Exchange/Tracing/MessageTraces/MessageTracesRequestBuilder.php create mode 100644 src/Generated/Admin/Exchange/Tracing/MessageTraces/MessageTracesRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Admin/Exchange/Tracing/MessageTraces/MessageTracesRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Admin/Exchange/Tracing/MessageTraces/MessageTracesRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Admin/Exchange/Tracing/TracingRequestBuilder.php create mode 100644 src/Generated/Admin/Exchange/Tracing/TracingRequestBuilderDeleteRequestConfiguration.php create mode 100644 src/Generated/Admin/Exchange/Tracing/TracingRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Admin/Exchange/Tracing/TracingRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Admin/Exchange/Tracing/TracingRequestBuilderPatchRequestConfiguration.php create mode 100644 src/Generated/Chats/Item/StartMigration/StartMigrationPostRequestBody.php create mode 100644 src/Generated/Chats/Item/StartMigration/StartMigrationRequestBuilder.php create mode 100644 src/Generated/Chats/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.php create mode 100644 src/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.php create mode 100644 src/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.php create mode 100644 src/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.php create mode 100644 src/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcClientAppUsageReport/RetrieveCloudPcClientAppUsageReportPostRequestBody.php create mode 100644 src/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcClientAppUsageReport/RetrieveCloudPcClientAppUsageReportRequestBuilder.php create mode 100644 src/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcClientAppUsageReport/RetrieveCloudPcClientAppUsageReportRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Groups/Item/Team/Channels/Item/StartMigration/StartMigrationPostRequestBody.php create mode 100644 src/Generated/Groups/Item/Team/Channels/Item/StartMigration/StartMigrationRequestBuilder.php create mode 100644 src/Generated/Groups/Item/Team/Channels/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Groups/Item/Team/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.php create mode 100644 src/Generated/Groups/Item/Team/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.php create mode 100644 src/Generated/Groups/Item/Team/PrimaryChannel/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Models/AllAllowedScopes.php create mode 100644 src/Generated/Models/AllowedTenantsAudience.php create mode 100644 src/Generated/Models/AzureAdMultipleOrgsAudienceRestriction.php create mode 100644 src/Generated/Models/CloudPcClientAppUsageReportType.php create mode 100644 src/Generated/Models/CopilotConversation.php create mode 100644 src/Generated/Models/CopilotConversationAttribution.php create mode 100644 src/Generated/Models/CopilotConversationAttributionSource.php create mode 100644 src/Generated/Models/CopilotConversationAttributionType.php create mode 100644 src/Generated/Models/CopilotConversationMessage.php create mode 100644 src/Generated/Models/CopilotConversationRequestMessage.php create mode 100644 src/Generated/Models/CopilotConversationResponseMessage.php create mode 100644 src/Generated/Models/CopilotConversationState.php create mode 100644 src/Generated/Models/EnumeratedScopes.php create mode 100644 src/Generated/Models/ExchangeMessageTrace.php create mode 100644 src/Generated/Models/ExchangeMessageTraceCollectionResponse.php create mode 100644 src/Generated/Models/ExchangeMessageTraceDetail.php create mode 100644 src/Generated/Models/ExchangeMessageTraceStatus.php create mode 100644 src/Generated/Models/InheritablePermission.php create mode 100644 src/Generated/Models/InheritableScopes.php create mode 100644 src/Generated/Models/Json.php create mode 100644 src/Generated/Models/Kind.php create mode 100644 src/Generated/Models/MaxWorkLocationDetails.php create mode 100644 src/Generated/Models/MessageTracingRoot.php rename src/Generated/Models/{CloudPcImageOsArchitectureType.php => MigrationMode.php} (56%) create mode 100644 src/Generated/Models/NoScopes.php create mode 100644 src/Generated/Models/ScopeCollectionKind.php create mode 100644 src/Generated/Models/SearchSensitivityLabelInfo.php create mode 100644 src/Generated/Models/Security/ActiveDirectoryDomainEvidence.php create mode 100644 src/Generated/Models/SignInAudienceRestrictionsBase.php create mode 100644 src/Generated/Models/StructuredDataEntry.php create mode 100644 src/Generated/Models/StructuredDataEntryTypedValue.php create mode 100644 src/Generated/Models/StructuredDataEntryValueType.php create mode 100644 src/Generated/Models/TargetAgentIdentitySponsorsOrOwners.php create mode 100644 src/Generated/Models/TimeOffDetails.php create mode 100644 src/Generated/Models/UnrestrictedAudience.php create mode 100644 src/Generated/Models/WorkHoursAndLocationsSetting.php create mode 100644 src/Generated/Models/WorkLocationUpdateScope.php create mode 100644 src/Generated/Models/WorkPlanOccurrence.php create mode 100644 src/Generated/Models/WorkPlanOccurrenceCollectionResponse.php create mode 100644 src/Generated/Models/WorkPlanRecurrence.php create mode 100644 src/Generated/Models/WorkPlanRecurrenceCollectionResponse.php create mode 100644 src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationPostRequestBody.php create mode 100644 src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationRequestBuilder.php create mode 100644 src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.php create mode 100644 src/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.php create mode 100644 src/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Teams/Item/Channels/Item/StartMigration/StartMigrationPostRequestBody.php create mode 100644 src/Generated/Teams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.php create mode 100644 src/Generated/Teams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Teams/Item/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.php create mode 100644 src/Generated/Teams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.php create mode 100644 src/Generated/Teams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/StartMigration/StartMigrationPostRequestBody.php create mode 100644 src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.php create mode 100644 src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationPostRequestBody.php create mode 100644 src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationRequestBuilder.php create mode 100644 src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.php create mode 100644 src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.php create mode 100644 src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.php create mode 100644 src/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.php create mode 100644 src/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.php create mode 100644 src/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.php create mode 100644 src/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Users/Item/Chats/Item/StartMigration/StartMigrationPostRequestBody.php create mode 100644 src/Generated/Users/Item/Chats/Item/StartMigration/StartMigrationRequestBuilder.php create mode 100644 src/Generated/Users/Item/Chats/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilder.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilder.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilder.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationPostRequestBody.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationRequestBuilder.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilder.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilder.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilder.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilder.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilderPatchRequestConfiguration.php diff --git a/src/Generated/AccessReviews/Item/AccessReviewItemRequestBuilder.php b/src/Generated/AccessReviews/Item/AccessReviewItemRequestBuilder.php index c99a7b4d779..557efe51db7 100644 --- a/src/Generated/AccessReviews/Item/AccessReviewItemRequestBuilder.php +++ b/src/Generated/AccessReviews/Item/AccessReviewItemRequestBuilder.php @@ -125,7 +125,7 @@ public function get(?AccessReviewItemRequestBuilderGetRequestConfiguration $requ } /** - * In the Microsoft Entra access reviews feature, update an existing accessReview object to change one or more of its properties. This API is not intended to change the reviewers or decisions of a review. To change the reviewers, use the addReviewer or removeReviewer APIs. To stop an already-started one-time review, or an already-started instance of a recurring review, early, use the stop API. To apply the decisions to the target group or app access rights, use the apply API. + * In the Microsoft Entra access reviews feature, update an existing accessReview object to change one or more of its properties. This API is not intended to change the reviewers or decisions of a review. To change the reviewers, use the addReviewer or removeReviewer APIs. To stop an already-started one-time review, or an already-started instance of a recurring review, early, use the stop API. To apply the decisions to the target group or app access rights, use the apply API. * @param AccessReview $body The request body * @param AccessReviewItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -180,7 +180,7 @@ public function toGetRequestInformation(?AccessReviewItemRequestBuilderGetReques } /** - * In the Microsoft Entra access reviews feature, update an existing accessReview object to change one or more of its properties. This API is not intended to change the reviewers or decisions of a review. To change the reviewers, use the addReviewer or removeReviewer APIs. To stop an already-started one-time review, or an already-started instance of a recurring review, early, use the stop API. To apply the decisions to the target group or app access rights, use the apply API. + * In the Microsoft Entra access reviews feature, update an existing accessReview object to change one or more of its properties. This API is not intended to change the reviewers or decisions of a review. To change the reviewers, use the addReviewer or removeReviewer APIs. To stop an already-started one-time review, or an already-started instance of a recurring review, early, use the stop API. To apply the decisions to the target group or app access rights, use the apply API. * @param AccessReview $body The request body * @param AccessReviewItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Admin/Exchange/ExchangeRequestBuilder.php b/src/Generated/Admin/Exchange/ExchangeRequestBuilder.php index c2013b9d09c..8ebf110cb13 100644 --- a/src/Generated/Admin/Exchange/ExchangeRequestBuilder.php +++ b/src/Generated/Admin/Exchange/ExchangeRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Beta\Generated\Admin\Exchange\Mailboxes\MailboxesRequestBuilder; use Microsoft\Graph\Beta\Generated\Admin\Exchange\MessageTraces\MessageTracesRequestBuilder; +use Microsoft\Graph\Beta\Generated\Admin\Exchange\Tracing\TracingRequestBuilder; use Microsoft\Graph\Beta\Generated\Models\ExchangeAdmin; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -32,6 +33,13 @@ public function messageTraces(): MessageTracesRequestBuilder { return new MessageTracesRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the tracing property of the microsoft.graph.exchangeAdmin entity. + */ + public function tracing(): TracingRequestBuilder { + return new TracingRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new ExchangeRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. diff --git a/src/Generated/Admin/Exchange/Tracing/MessageTraces/Count/CountRequestBuilder.php b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..7bbd66b4c2c --- /dev/null +++ b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/admin/exchange/tracing/messageTraces/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Exchange/Tracing/MessageTraces/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..d1810c45d20 --- /dev/null +++ b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Admin/Exchange/Tracing/MessageTraces/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..19efa566cc6 --- /dev/null +++ b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/ExchangeMessageTraceItemRequestBuilder.php b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/ExchangeMessageTraceItemRequestBuilder.php new file mode 100644 index 00000000000..110d16946cf --- /dev/null +++ b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/ExchangeMessageTraceItemRequestBuilder.php @@ -0,0 +1,154 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/admin/exchange/tracing/messageTraces/{exchangeMessageTrace%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property messageTraces for admin + * @param ExchangeMessageTraceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?ExchangeMessageTraceItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get messageTraces from admin + * @param ExchangeMessageTraceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ExchangeMessageTraceItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ExchangeMessageTrace::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Provides operations to call the getDetailsByRecipient method. + * @param string $recipientAddress Usage: recipientAddress='{recipientAddress}' + * @return GetDetailsByRecipientWithRecipientAddressRequestBuilder + */ + public function getDetailsByRecipientWithRecipientAddress(string $recipientAddress): GetDetailsByRecipientWithRecipientAddressRequestBuilder { + return new GetDetailsByRecipientWithRecipientAddressRequestBuilder($this->pathParameters, $this->requestAdapter, $recipientAddress); + } + + /** + * Update the navigation property messageTraces in admin + * @param ExchangeMessageTrace $body The request body + * @param ExchangeMessageTraceItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(ExchangeMessageTrace $body, ?ExchangeMessageTraceItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ExchangeMessageTrace::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property messageTraces for admin + * @param ExchangeMessageTraceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ExchangeMessageTraceItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get messageTraces from admin + * @param ExchangeMessageTraceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ExchangeMessageTraceItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property messageTraces in admin + * @param ExchangeMessageTrace $body The request body + * @param ExchangeMessageTraceItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(ExchangeMessageTrace $body, ?ExchangeMessageTraceItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ExchangeMessageTraceItemRequestBuilder + */ + public function withUrl(string $rawUrl): ExchangeMessageTraceItemRequestBuilder { + return new ExchangeMessageTraceItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/ExchangeMessageTraceItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/ExchangeMessageTraceItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..69ddf1e6de4 --- /dev/null +++ b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/ExchangeMessageTraceItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/ExchangeMessageTraceItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/ExchangeMessageTraceItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..c6cf8d2f329 --- /dev/null +++ b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/ExchangeMessageTraceItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new ExchangeMessageTraceItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/ExchangeMessageTraceItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/ExchangeMessageTraceItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..8e4383d6c69 --- /dev/null +++ b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/ExchangeMessageTraceItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ExchangeMessageTraceItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ExchangeMessageTraceItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ExchangeMessageTraceItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return ExchangeMessageTraceItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): ExchangeMessageTraceItemRequestBuilderGetQueryParameters { + return new ExchangeMessageTraceItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/ExchangeMessageTraceItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/ExchangeMessageTraceItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..19c770976dd --- /dev/null +++ b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/ExchangeMessageTraceItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressGetResponse.php b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressGetResponse.php new file mode 100644 index 00000000000..832483b0191 --- /dev/null +++ b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressGetResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ExchangeMessageTraceDetail::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ExchangeMessageTraceDetail::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressRequestBuilder.php b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressRequestBuilder.php new file mode 100644 index 00000000000..9a3a152a6f9 --- /dev/null +++ b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressRequestBuilder.php @@ -0,0 +1,79 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + * @param string|null $recipientAddress Usage: recipientAddress='{recipientAddress}' + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $recipientAddress = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/admin/exchange/tracing/messageTraces/{exchangeMessageTrace%2Did}/getDetailsByRecipient(recipientAddress=\'{recipientAddress}\'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['recipientAddress'] = $recipientAddress; + $this->pathParameters = $urlTplParams; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke function getDetailsByRecipient + * @param GetDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?GetDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GetDetailsByRecipientWithRecipientAddressGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke function getDetailsByRecipient + * @param GetDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GetDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GetDetailsByRecipientWithRecipientAddressRequestBuilder + */ + public function withUrl(string $rawUrl): GetDetailsByRecipientWithRecipientAddressRequestBuilder { + return new GetDetailsByRecipientWithRecipientAddressRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..16f414fea2e --- /dev/null +++ b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new GetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..b57888a2806 --- /dev/null +++ b/src/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new GetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return GetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): GetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters { + return new GetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Admin/Exchange/Tracing/MessageTraces/MessageTracesRequestBuilder.php b/src/Generated/Admin/Exchange/Tracing/MessageTraces/MessageTracesRequestBuilder.php new file mode 100644 index 00000000000..22a37d791ac --- /dev/null +++ b/src/Generated/Admin/Exchange/Tracing/MessageTraces/MessageTracesRequestBuilder.php @@ -0,0 +1,133 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the messageTraces property of the microsoft.graph.messageTracingRoot entity. + * @param string $exchangeMessageTraceId The unique identifier of exchangeMessageTrace + * @return ExchangeMessageTraceItemRequestBuilder + */ + public function byExchangeMessageTraceId(string $exchangeMessageTraceId): ExchangeMessageTraceItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['exchangeMessageTrace%2Did'] = $exchangeMessageTraceId; + return new ExchangeMessageTraceItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new MessageTracesRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/admin/exchange/tracing/messageTraces{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get messageTraces from admin + * @param MessageTracesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?MessageTracesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ExchangeMessageTraceCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to messageTraces for admin + * @param ExchangeMessageTrace $body The request body + * @param MessageTracesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(ExchangeMessageTrace $body, ?MessageTracesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ExchangeMessageTrace::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get messageTraces from admin + * @param MessageTracesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?MessageTracesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to messageTraces for admin + * @param ExchangeMessageTrace $body The request body + * @param MessageTracesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ExchangeMessageTrace $body, ?MessageTracesRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return MessageTracesRequestBuilder + */ + public function withUrl(string $rawUrl): MessageTracesRequestBuilder { + return new MessageTracesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Exchange/Tracing/MessageTraces/MessageTracesRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Exchange/Tracing/MessageTraces/MessageTracesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..0e96fc548a5 --- /dev/null +++ b/src/Generated/Admin/Exchange/Tracing/MessageTraces/MessageTracesRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new MessageTracesRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Admin/Exchange/Tracing/MessageTraces/MessageTracesRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Exchange/Tracing/MessageTraces/MessageTracesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..a22b49f8129 --- /dev/null +++ b/src/Generated/Admin/Exchange/Tracing/MessageTraces/MessageTracesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param MessageTracesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?MessageTracesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new MessageTracesRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return MessageTracesRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): MessageTracesRequestBuilderGetQueryParameters { + return new MessageTracesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Admin/Exchange/Tracing/MessageTraces/MessageTracesRequestBuilderPostRequestConfiguration.php b/src/Generated/Admin/Exchange/Tracing/MessageTraces/MessageTracesRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..45096ce42f2 --- /dev/null +++ b/src/Generated/Admin/Exchange/Tracing/MessageTraces/MessageTracesRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Admin/Exchange/Tracing/TracingRequestBuilder.php b/src/Generated/Admin/Exchange/Tracing/TracingRequestBuilder.php new file mode 100644 index 00000000000..504b7019630 --- /dev/null +++ b/src/Generated/Admin/Exchange/Tracing/TracingRequestBuilder.php @@ -0,0 +1,152 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new TracingRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/admin/exchange/tracing{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property tracing for admin + * @param TracingRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?TracingRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get tracing from admin + * @param TracingRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?TracingRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MessageTracingRoot::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property tracing in admin + * @param MessageTracingRoot $body The request body + * @param TracingRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(MessageTracingRoot $body, ?TracingRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MessageTracingRoot::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property tracing for admin + * @param TracingRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?TracingRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get tracing from admin + * @param TracingRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?TracingRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property tracing in admin + * @param MessageTracingRoot $body The request body + * @param TracingRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(MessageTracingRoot $body, ?TracingRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return TracingRequestBuilder + */ + public function withUrl(string $rawUrl): TracingRequestBuilder { + return new TracingRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Exchange/Tracing/TracingRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Admin/Exchange/Tracing/TracingRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..fdaea0b09fe --- /dev/null +++ b/src/Generated/Admin/Exchange/Tracing/TracingRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Admin/Exchange/Tracing/TracingRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Exchange/Tracing/TracingRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..5e91b3daf25 --- /dev/null +++ b/src/Generated/Admin/Exchange/Tracing/TracingRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new TracingRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Admin/Exchange/Tracing/TracingRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Exchange/Tracing/TracingRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..4f8d19bd99c --- /dev/null +++ b/src/Generated/Admin/Exchange/Tracing/TracingRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param TracingRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?TracingRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new TracingRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return TracingRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): TracingRequestBuilderGetQueryParameters { + return new TracingRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/Exchange/Tracing/TracingRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/Exchange/Tracing/TracingRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..71760b76a48 --- /dev/null +++ b/src/Generated/Admin/Exchange/Tracing/TracingRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Applications/Delta/DeltaGetResponse.php b/src/Generated/Applications/Delta/DeltaGetResponse.php index af297e28a0c..1ec3a6256c5 100644 --- a/src/Generated/Applications/Delta/DeltaGetResponse.php +++ b/src/Generated/Applications/Delta/DeltaGetResponse.php @@ -2,8 +2,8 @@ namespace Microsoft\Graph\Beta\Generated\Applications\Delta; +use Microsoft\Graph\Beta\Generated\Models\Application; use Microsoft\Graph\Beta\Generated\Models\BaseDeltaFunctionResponse; -use Microsoft\Graph\Beta\Generated\Models\DirectoryObject; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; @@ -34,19 +34,19 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Delta public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([DirectoryObject::class, 'createFromDiscriminatorValue'])), + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([Application::class, 'createFromDiscriminatorValue'])), ]); } /** * Gets the value property value. The value property - * @return array|null + * @return array|null */ public function getValue(): ?array { $val = $this->getBackingStore()->get('value'); if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, DirectoryObject::class); - /** @var array|null $val */ + TypeUtils::validateCollectionValues($val, Application::class); + /** @var array|null $val */ return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); @@ -63,7 +63,7 @@ public function serialize(SerializationWriter $writer): void { /** * Sets the value property value. The value property - * @param array|null $value Value to set for the value property. + * @param array|null $value Value to set for the value property. */ public function setValue(?array $value): void { $this->getBackingStore()->set('value', $value); diff --git a/src/Generated/Applications/Delta/DeltaRequestBuilder.php b/src/Generated/Applications/Delta/DeltaRequestBuilder.php index c1132520cf6..6644cf5029b 100644 --- a/src/Generated/Applications/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Applications/Delta/DeltaRequestBuilder.php @@ -30,11 +30,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + * Get newly created, updated, or deleted applications and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/application-delta?view=graph-rest-beta Find more info here */ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + * Get newly created, updated, or deleted applications and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Applications/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Applications/Delta/DeltaRequestBuilderGetQueryParameters.php index 404867293ba..0ac1389c95d 100644 --- a/src/Generated/Applications/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Applications/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + * Get newly created, updated, or deleted applications and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/Item/ChatItemRequestBuilder.php b/src/Generated/Chats/Item/ChatItemRequestBuilder.php index 43573ab3175..99a41ee27b2 100644 --- a/src/Generated/Chats/Item/ChatItemRequestBuilder.php +++ b/src/Generated/Chats/Item/ChatItemRequestBuilder.php @@ -17,6 +17,7 @@ use Microsoft\Graph\Beta\Generated\Chats\Item\PinnedMessages\PinnedMessagesRequestBuilder; use Microsoft\Graph\Beta\Generated\Chats\Item\RemoveAllAccessForUser\RemoveAllAccessForUserRequestBuilder; use Microsoft\Graph\Beta\Generated\Chats\Item\SendActivityNotification\SendActivityNotificationRequestBuilder; +use Microsoft\Graph\Beta\Generated\Chats\Item\StartMigration\StartMigrationRequestBuilder; use Microsoft\Graph\Beta\Generated\Chats\Item\Tabs\TabsRequestBuilder; use Microsoft\Graph\Beta\Generated\Chats\Item\UnhideForUser\UnhideForUserRequestBuilder; use Microsoft\Graph\Beta\Generated\Models\Chat; @@ -122,6 +123,13 @@ public function sendActivityNotification(): SendActivityNotificationRequestBuild return new SendActivityNotificationRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the startMigration method. + */ + public function startMigration(): StartMigrationRequestBuilder { + return new StartMigrationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the tabs property of the microsoft.graph.chat entity. */ diff --git a/src/Generated/Chats/Item/StartMigration/StartMigrationPostRequestBody.php b/src/Generated/Chats/Item/StartMigration/StartMigrationPostRequestBody.php new file mode 100644 index 00000000000..9544ee06468 --- /dev/null +++ b/src/Generated/Chats/Item/StartMigration/StartMigrationPostRequestBody.php @@ -0,0 +1,115 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return StartMigrationPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): StartMigrationPostRequestBody { + return new StartMigrationPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the conversationCreationDateTime property value. The conversationCreationDateTime property + * @return DateTime|null + */ + public function getConversationCreationDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('conversationCreationDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'conversationCreationDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'conversationCreationDateTime' => fn(ParseNode $n) => $o->setConversationCreationDateTime($n->getDateTimeValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeDateTimeValue('conversationCreationDateTime', $this->getConversationCreationDateTime()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the conversationCreationDateTime property value. The conversationCreationDateTime property + * @param DateTime|null $value Value to set for the conversationCreationDateTime property. + */ + public function setConversationCreationDateTime(?DateTime $value): void { + $this->getBackingStore()->set('conversationCreationDateTime', $value); + } + +} diff --git a/src/Generated/Chats/Item/StartMigration/StartMigrationRequestBuilder.php b/src/Generated/Chats/Item/StartMigration/StartMigrationRequestBuilder.php new file mode 100644 index 00000000000..08ab518ae44 --- /dev/null +++ b/src/Generated/Chats/Item/StartMigration/StartMigrationRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/chats/{chat%2Did}/startMigration'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. + * @param StartMigrationPostRequestBody $body The request body + * @param StartMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/chat-startmigration?view=graph-rest-beta Find more info here + */ + public function post(StartMigrationPostRequestBody $body, ?StartMigrationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. + * @param StartMigrationPostRequestBody $body The request body + * @param StartMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(StartMigrationPostRequestBody $body, ?StartMigrationRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return StartMigrationRequestBuilder + */ + public function withUrl(string $rawUrl): StartMigrationRequestBuilder { + return new StartMigrationRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Chats/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php b/src/Generated/Chats/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..1d395b30646 --- /dev/null +++ b/src/Generated/Chats/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Communications/AdhocCalls/AdhocCallsRequestBuilder.php b/src/Generated/Communications/AdhocCalls/AdhocCallsRequestBuilder.php index 9306772d192..60a084cb567 100644 --- a/src/Generated/Communications/AdhocCalls/AdhocCallsRequestBuilder.php +++ b/src/Generated/Communications/AdhocCalls/AdhocCallsRequestBuilder.php @@ -5,6 +5,8 @@ use Exception; use Http\Promise\Promise; use Microsoft\Graph\Beta\Generated\Communications\AdhocCalls\Count\CountRequestBuilder; +use Microsoft\Graph\Beta\Generated\Communications\AdhocCalls\GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime\GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder; +use Microsoft\Graph\Beta\Generated\Communications\AdhocCalls\GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime\GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder; use Microsoft\Graph\Beta\Generated\Communications\AdhocCalls\Item\AdhocCallItemRequestBuilder; use Microsoft\Graph\Beta\Generated\Models\AdhocCall; use Microsoft\Graph\Beta\Generated\Models\AdhocCallCollectionResponse; @@ -26,6 +28,20 @@ public function count(): CountRequestBuilder { return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the getAllRecordings method. + */ + public function getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime(): GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder { + return new GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the getAllTranscripts method. + */ + public function getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime(): GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder { + return new GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the adhocCalls property of the microsoft.graph.cloudCommunications entity. * @param string $adhocCallId The unique identifier of adhocCall diff --git a/src/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.php b/src/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.php new file mode 100644 index 00000000000..66adea2a716 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([CallRecording::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, CallRecording::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.php b/src/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.php new file mode 100644 index 00000000000..be5b1f10a70 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.php @@ -0,0 +1,76 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/communications/adhocCalls/getAllRecordings(userId=\'@userId\',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke function getAllRecordings + * @param GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke function getAllRecordings + * @param GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder + */ + public function withUrl(string $rawUrl): GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder { + return new GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php b/src/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..2600cc83ecc --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php @@ -0,0 +1,104 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @var DateTime|null $startDateTime Usage: startDateTime=@startDateTime + */ + public ?DateTime $startDateTime = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * @var string|null $userId Usage: userId='@userId' + */ + public ?string $userId = null; + + /** + * Instantiates a new GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param DateTime|null $endDateTime Usage: endDateTime=@endDateTime + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param DateTime|null $startDateTime Usage: startDateTime=@startDateTime + * @param int|null $top Show only the first n items + * @param string|null $userId Usage: userId='@userId' + */ + public function __construct(?bool $count = null, ?DateTime $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?DateTime $startDateTime = null, ?int $top = null, ?string $userId = null) { + $this->count = $count; + $this->endDateTime = $endDateTime; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->startDateTime = $startDateTime; + $this->top = $top; + $this->userId = $userId; + } + +} diff --git a/src/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..dd10241d6b8 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,49 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param DateTime|null $endDateTime Usage: endDateTime=@endDateTime + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param DateTime|null $startDateTime Usage: startDateTime=@startDateTime + * @param int|null $top Show only the first n items + * @param string|null $userId Usage: userId='@userId' + * @return GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?DateTime $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?DateTime $startDateTime = null, ?int $top = null, ?string $userId = null): GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters { + return new GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters($count, $endDateTime, $expand, $filter, $orderby, $search, $select, $skip, $startDateTime, $top, $userId); + } + +} diff --git a/src/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.php b/src/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.php new file mode 100644 index 00000000000..5dce25a4b6b --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([CallTranscript::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, CallTranscript::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.php b/src/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.php new file mode 100644 index 00000000000..a6aadf9bc77 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.php @@ -0,0 +1,76 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/communications/adhocCalls/getAllTranscripts(userId=\'@userId\',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke function getAllTranscripts + * @param GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke function getAllTranscripts + * @param GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder + */ + public function withUrl(string $rawUrl): GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder { + return new GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php b/src/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..7a7edaaa54c --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php @@ -0,0 +1,104 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @var DateTime|null $startDateTime Usage: startDateTime=@startDateTime + */ + public ?DateTime $startDateTime = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * @var string|null $userId Usage: userId='@userId' + */ + public ?string $userId = null; + + /** + * Instantiates a new GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param DateTime|null $endDateTime Usage: endDateTime=@endDateTime + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param DateTime|null $startDateTime Usage: startDateTime=@startDateTime + * @param int|null $top Show only the first n items + * @param string|null $userId Usage: userId='@userId' + */ + public function __construct(?bool $count = null, ?DateTime $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?DateTime $startDateTime = null, ?int $top = null, ?string $userId = null) { + $this->count = $count; + $this->endDateTime = $endDateTime; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->startDateTime = $startDateTime; + $this->top = $top; + $this->userId = $userId; + } + +} diff --git a/src/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..f9cf91cd44e --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,49 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param DateTime|null $endDateTime Usage: endDateTime=@endDateTime + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param DateTime|null $startDateTime Usage: startDateTime=@startDateTime + * @param int|null $top Show only the first n items + * @param string|null $userId Usage: userId='@userId' + * @return GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?DateTime $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?DateTime $startDateTime = null, ?int $top = null, ?string $userId = null): GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters { + return new GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters($count, $endDateTime, $expand, $filter, $orderby, $search, $select, $skip, $startDateTime, $top, $userId); + } + +} diff --git a/src/Generated/Communications/Presences/Item/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.php b/src/Generated/Communications/Presences/Item/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.php index 6a7740f1ef7..828d6126283 100644 --- a/src/Generated/Communications/Presences/Item/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.php +++ b/src/Generated/Communications/Presences/Item/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network/location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. + * Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. * @param SetAutomaticLocationPostRequestBody $body The request body * @param SetAutomaticLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(SetAutomaticLocationPostRequestBody $body, ?SetAutomaticLoc } /** - * Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network/location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. + * Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. * @param SetAutomaticLocationPostRequestBody $body The request body * @param SetAutomaticLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Communications/Presences/Item/SetManualLocation/SetManualLocationRequestBuilder.php b/src/Generated/Communications/Presences/Item/SetManualLocation/SetManualLocationRequestBuilder.php index 9437e48c434..021cee65d2b 100644 --- a/src/Generated/Communications/Presences/Item/SetManualLocation/SetManualLocationRequestBuilder.php +++ b/src/Generated/Communications/Presences/Item/SetManualLocation/SetManualLocationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Set the manual work location signal for a user. The explicit value chosen by a user (or an authorized client) overrides any automatically detected or scheduled working hours and location. + * Set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. * @param SetManualLocationPostRequestBody $body The request body * @param SetManualLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(SetManualLocationPostRequestBody $body, ?SetManualLocationR } /** - * Set the manual work location signal for a user. The explicit value chosen by a user (or an authorized client) overrides any automatically detected or scheduled working hours and location. + * Set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. * @param SetManualLocationPostRequestBody $body The request body * @param SetManualLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Retry/RetryRequestBuilder.php b/src/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Retry/RetryRequestBuilder.php index 9f84d1780ae..f236efec3fd 100644 --- a/src/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Retry/RetryRequestBuilder.php +++ b/src/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Retry/RetryRequestBuilder.php @@ -30,10 +30,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Invoke action retry + * Retry the provisioning operation for Cloud PCs that used the current frontline shared policy and failed to apply the provisioning policy. * @param RetryRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/cloudpcprovisioningpolicy-retry?view=graph-rest-beta Find more info here */ public function post(?RetryRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($requestConfiguration); @@ -44,7 +45,7 @@ public function post(?RetryRequestBuilderPostRequestConfiguration $requestConfig } /** - * Invoke action retry + * Retry the provisioning operation for Cloud PCs that used the current frontline shared policy and failed to apply the provisioning policy. * @param RetryRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilder.php b/src/Generated/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilder.php index 606155365f1..fa68c11b100 100644 --- a/src/Generated/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilder.php +++ b/src/Generated/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilder.php @@ -4,6 +4,7 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Beta\Generated\DeviceManagement\VirtualEndpoint\Report\RetrieveCloudPcClientAppUsageReport\RetrieveCloudPcClientAppUsageReportRequestBuilder; use Microsoft\Graph\Beta\Generated\DeviceManagement\VirtualEndpoint\Report\RetrieveCloudPcRecommendationReports\RetrieveCloudPcRecommendationReportsRequestBuilder; use Microsoft\Graph\Beta\Generated\Models\CloudPcReport; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; @@ -17,6 +18,13 @@ */ class ReportRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the retrieveCloudPcClientAppUsageReport method. + */ + public function retrieveCloudPcClientAppUsageReport(): RetrieveCloudPcClientAppUsageReportRequestBuilder { + return new RetrieveCloudPcClientAppUsageReportRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the retrieveCloudPcRecommendationReports method. */ diff --git a/src/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcClientAppUsageReport/RetrieveCloudPcClientAppUsageReportPostRequestBody.php b/src/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcClientAppUsageReport/RetrieveCloudPcClientAppUsageReportPostRequestBody.php new file mode 100644 index 00000000000..3cd86cf718e --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcClientAppUsageReport/RetrieveCloudPcClientAppUsageReportPostRequestBody.php @@ -0,0 +1,297 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return RetrieveCloudPcClientAppUsageReportPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RetrieveCloudPcClientAppUsageReportPostRequestBody { + return new RetrieveCloudPcClientAppUsageReportPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'filter' => fn(ParseNode $n) => $o->setFilter($n->getStringValue()), + 'groupBy' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setGroupBy($val); + }, + 'orderBy' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setOrderBy($val); + }, + 'reportType' => fn(ParseNode $n) => $o->setReportType($n->getEnumValue(CloudPcClientAppUsageReportType::class)), + 'search' => fn(ParseNode $n) => $o->setSearch($n->getStringValue()), + 'select' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setSelect($val); + }, + 'skip' => fn(ParseNode $n) => $o->setSkip($n->getIntegerValue()), + 'top' => fn(ParseNode $n) => $o->setTop($n->getIntegerValue()), + ]; + } + + /** + * Gets the filter property value. The filter property + * @return string|null + */ + public function getFilter(): ?string { + $val = $this->getBackingStore()->get('filter'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'filter'"); + } + + /** + * Gets the groupBy property value. The groupBy property + * @return array|null + */ + public function getGroupBy(): ?array { + $val = $this->getBackingStore()->get('groupBy'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'groupBy'"); + } + + /** + * Gets the orderBy property value. The orderBy property + * @return array|null + */ + public function getOrderBy(): ?array { + $val = $this->getBackingStore()->get('orderBy'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'orderBy'"); + } + + /** + * Gets the reportType property value. The reportType property + * @return CloudPcClientAppUsageReportType|null + */ + public function getReportType(): ?CloudPcClientAppUsageReportType { + $val = $this->getBackingStore()->get('reportType'); + if (is_null($val) || $val instanceof CloudPcClientAppUsageReportType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'reportType'"); + } + + /** + * Gets the search property value. The search property + * @return string|null + */ + public function getSearch(): ?string { + $val = $this->getBackingStore()->get('search'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'search'"); + } + + /** + * Gets the select property value. The select property + * @return array|null + */ + public function getSelect(): ?array { + $val = $this->getBackingStore()->get('select'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'select'"); + } + + /** + * Gets the skip property value. The skip property + * @return int|null + */ + public function getSkip(): ?int { + $val = $this->getBackingStore()->get('skip'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'skip'"); + } + + /** + * Gets the top property value. The top property + * @return int|null + */ + public function getTop(): ?int { + $val = $this->getBackingStore()->get('top'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'top'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('filter', $this->getFilter()); + $writer->writeCollectionOfPrimitiveValues('groupBy', $this->getGroupBy()); + $writer->writeCollectionOfPrimitiveValues('orderBy', $this->getOrderBy()); + $writer->writeEnumValue('reportType', $this->getReportType()); + $writer->writeStringValue('search', $this->getSearch()); + $writer->writeCollectionOfPrimitiveValues('select', $this->getSelect()); + $writer->writeIntegerValue('skip', $this->getSkip()); + $writer->writeIntegerValue('top', $this->getTop()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the filter property value. The filter property + * @param string|null $value Value to set for the filter property. + */ + public function setFilter(?string $value): void { + $this->getBackingStore()->set('filter', $value); + } + + /** + * Sets the groupBy property value. The groupBy property + * @param array|null $value Value to set for the groupBy property. + */ + public function setGroupBy(?array $value): void { + $this->getBackingStore()->set('groupBy', $value); + } + + /** + * Sets the orderBy property value. The orderBy property + * @param array|null $value Value to set for the orderBy property. + */ + public function setOrderBy(?array $value): void { + $this->getBackingStore()->set('orderBy', $value); + } + + /** + * Sets the reportType property value. The reportType property + * @param CloudPcClientAppUsageReportType|null $value Value to set for the reportType property. + */ + public function setReportType(?CloudPcClientAppUsageReportType $value): void { + $this->getBackingStore()->set('reportType', $value); + } + + /** + * Sets the search property value. The search property + * @param string|null $value Value to set for the search property. + */ + public function setSearch(?string $value): void { + $this->getBackingStore()->set('search', $value); + } + + /** + * Sets the select property value. The select property + * @param array|null $value Value to set for the select property. + */ + public function setSelect(?array $value): void { + $this->getBackingStore()->set('select', $value); + } + + /** + * Sets the skip property value. The skip property + * @param int|null $value Value to set for the skip property. + */ + public function setSkip(?int $value): void { + $this->getBackingStore()->set('skip', $value); + } + + /** + * Sets the top property value. The top property + * @param int|null $value Value to set for the top property. + */ + public function setTop(?int $value): void { + $this->getBackingStore()->set('top', $value); + } + +} diff --git a/src/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcClientAppUsageReport/RetrieveCloudPcClientAppUsageReportRequestBuilder.php b/src/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcClientAppUsageReport/RetrieveCloudPcClientAppUsageReportRequestBuilder.php new file mode 100644 index 00000000000..ddbfaedd865 --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcClientAppUsageReport/RetrieveCloudPcClientAppUsageReportRequestBuilder.php @@ -0,0 +1,80 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceManagement/virtualEndpoint/report/retrieveCloudPcClientAppUsageReport'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Retrieve related reports on Cloud PC usage, including the client application used by users to sign in to the Cloud PC device. The Remote Desktop client standalone installer (MSI) for Windows will reach end of support on March 27, 2026. Before that date, IT administrators should migrate users to Windows App to ensure continued access to remote resources through Azure Virtual Desktop, Windows 365, and Microsoft Dev Box. Learn more about preparing for the Remote Desktop Client for Windows end of support. This API enables IT administrators to check the migration status by confirming whether users are still using the legacy Remote Desktop client and identifying their last sign-in dates, thereby helping monitor progress and ensure compliance with migration requirements. + * @param RetrieveCloudPcClientAppUsageReportPostRequestBody $body The request body + * @param RetrieveCloudPcClientAppUsageReportRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/cloudpcreport-retrievecloudpcclientappusagereport?view=graph-rest-beta Find more info here + */ + public function post(RetrieveCloudPcClientAppUsageReportPostRequestBody $body, ?RetrieveCloudPcClientAppUsageReportRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); + return $result; + } + + /** + * Retrieve related reports on Cloud PC usage, including the client application used by users to sign in to the Cloud PC device. The Remote Desktop client standalone installer (MSI) for Windows will reach end of support on March 27, 2026. Before that date, IT administrators should migrate users to Windows App to ensure continued access to remote resources through Azure Virtual Desktop, Windows 365, and Microsoft Dev Box. Learn more about preparing for the Remote Desktop Client for Windows end of support. This API enables IT administrators to check the migration status by confirming whether users are still using the legacy Remote Desktop client and identifying their last sign-in dates, thereby helping monitor progress and ensure compliance with migration requirements. + * @param RetrieveCloudPcClientAppUsageReportPostRequestBody $body The request body + * @param RetrieveCloudPcClientAppUsageReportRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(RetrieveCloudPcClientAppUsageReportPostRequestBody $body, ?RetrieveCloudPcClientAppUsageReportRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return RetrieveCloudPcClientAppUsageReportRequestBuilder + */ + public function withUrl(string $rawUrl): RetrieveCloudPcClientAppUsageReportRequestBuilder { + return new RetrieveCloudPcClientAppUsageReportRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcClientAppUsageReport/RetrieveCloudPcClientAppUsageReportRequestBuilderPostRequestConfiguration.php b/src/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcClientAppUsageReport/RetrieveCloudPcClientAppUsageReportRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..0f272480d6b --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcClientAppUsageReport/RetrieveCloudPcClientAppUsageReportRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.php index 4d98ca32ed4..4edd14be470 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.php @@ -16,6 +16,7 @@ use Microsoft\Graph\Beta\Generated\Groups\Item\Team\Channels\Item\ProvisionEmail\ProvisionEmailRequestBuilder; use Microsoft\Graph\Beta\Generated\Groups\Item\Team\Channels\Item\RemoveEmail\RemoveEmailRequestBuilder; use Microsoft\Graph\Beta\Generated\Groups\Item\Team\Channels\Item\SharedWithTeams\SharedWithTeamsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Groups\Item\Team\Channels\Item\StartMigration\StartMigrationRequestBuilder; use Microsoft\Graph\Beta\Generated\Groups\Item\Team\Channels\Item\Tabs\TabsRequestBuilder; use Microsoft\Graph\Beta\Generated\Groups\Item\Team\Channels\Item\Unarchive\UnarchiveRequestBuilder; use Microsoft\Graph\Beta\Generated\Models\Channel; @@ -114,6 +115,13 @@ public function sharedWithTeams(): SharedWithTeamsRequestBuilder { return new SharedWithTeamsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the startMigration method. + */ + public function startMigration(): StartMigrationRequestBuilder { + return new StartMigrationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the tabs property of the microsoft.graph.channel entity. */ diff --git a/src/Generated/Groups/Item/Team/Channels/Item/StartMigration/StartMigrationPostRequestBody.php b/src/Generated/Groups/Item/Team/Channels/Item/StartMigration/StartMigrationPostRequestBody.php new file mode 100644 index 00000000000..96f1a633216 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Channels/Item/StartMigration/StartMigrationPostRequestBody.php @@ -0,0 +1,115 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return StartMigrationPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): StartMigrationPostRequestBody { + return new StartMigrationPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the conversationCreationDateTime property value. The conversationCreationDateTime property + * @return DateTime|null + */ + public function getConversationCreationDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('conversationCreationDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'conversationCreationDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'conversationCreationDateTime' => fn(ParseNode $n) => $o->setConversationCreationDateTime($n->getDateTimeValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeDateTimeValue('conversationCreationDateTime', $this->getConversationCreationDateTime()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the conversationCreationDateTime property value. The conversationCreationDateTime property + * @param DateTime|null $value Value to set for the conversationCreationDateTime property. + */ + public function setConversationCreationDateTime(?DateTime $value): void { + $this->getBackingStore()->set('conversationCreationDateTime', $value); + } + +} diff --git a/src/Generated/Groups/Item/Team/Channels/Item/StartMigration/StartMigrationRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/StartMigration/StartMigrationRequestBuilder.php new file mode 100644 index 00000000000..590382995a7 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Channels/Item/StartMigration/StartMigrationRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/startMigration'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + * @param StartMigrationPostRequestBody $body The request body + * @param StartMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/channel-startmigration?view=graph-rest-beta Find more info here + */ + public function post(StartMigrationPostRequestBody $body, ?StartMigrationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + * @param StartMigrationPostRequestBody $body The request body + * @param StartMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(StartMigrationPostRequestBody $body, ?StartMigrationRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return StartMigrationRequestBuilder + */ + public function withUrl(string $rawUrl): StartMigrationRequestBuilder { + return new StartMigrationRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Team/Channels/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php b/src/Generated/Groups/Item/Team/Channels/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..3f1196e0bb7 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Channels/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.php index 18200a8c754..a5bb6ec0657 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.php @@ -16,6 +16,7 @@ use Microsoft\Graph\Beta\Generated\Groups\Item\Team\PrimaryChannel\ProvisionEmail\ProvisionEmailRequestBuilder; use Microsoft\Graph\Beta\Generated\Groups\Item\Team\PrimaryChannel\RemoveEmail\RemoveEmailRequestBuilder; use Microsoft\Graph\Beta\Generated\Groups\Item\Team\PrimaryChannel\SharedWithTeams\SharedWithTeamsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Groups\Item\Team\PrimaryChannel\StartMigration\StartMigrationRequestBuilder; use Microsoft\Graph\Beta\Generated\Groups\Item\Team\PrimaryChannel\Tabs\TabsRequestBuilder; use Microsoft\Graph\Beta\Generated\Groups\Item\Team\PrimaryChannel\Unarchive\UnarchiveRequestBuilder; use Microsoft\Graph\Beta\Generated\Models\Channel; @@ -114,6 +115,13 @@ public function sharedWithTeams(): SharedWithTeamsRequestBuilder { return new SharedWithTeamsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the startMigration method. + */ + public function startMigration(): StartMigrationRequestBuilder { + return new StartMigrationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the tabs property of the microsoft.graph.channel entity. */ diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.php b/src/Generated/Groups/Item/Team/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.php new file mode 100644 index 00000000000..009feb7af87 --- /dev/null +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.php @@ -0,0 +1,115 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return StartMigrationPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): StartMigrationPostRequestBody { + return new StartMigrationPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the conversationCreationDateTime property value. The conversationCreationDateTime property + * @return DateTime|null + */ + public function getConversationCreationDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('conversationCreationDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'conversationCreationDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'conversationCreationDateTime' => fn(ParseNode $n) => $o->setConversationCreationDateTime($n->getDateTimeValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeDateTimeValue('conversationCreationDateTime', $this->getConversationCreationDateTime()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the conversationCreationDateTime property value. The conversationCreationDateTime property + * @param DateTime|null $value Value to set for the conversationCreationDateTime property. + */ + public function setConversationCreationDateTime(?DateTime $value): void { + $this->getBackingStore()->set('conversationCreationDateTime', $value); + } + +} diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.php new file mode 100644 index 00000000000..abe877b343b --- /dev/null +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/primaryChannel/startMigration'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + * @param StartMigrationPostRequestBody $body The request body + * @param StartMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/channel-startmigration?view=graph-rest-beta Find more info here + */ + public function post(StartMigrationPostRequestBody $body, ?StartMigrationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + * @param StartMigrationPostRequestBody $body The request body + * @param StartMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(StartMigrationPostRequestBody $body, ?StartMigrationRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return StartMigrationRequestBuilder + */ + public function withUrl(string $rawUrl): StartMigrationRequestBuilder { + return new StartMigrationRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php b/src/Generated/Groups/Item/Team/PrimaryChannel/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..09181d6ec6b --- /dev/null +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Models/AgentIdentityBlueprint.php b/src/Generated/Models/AgentIdentityBlueprint.php index 67f2a9ca00d..4d8d4e6e78f 100644 --- a/src/Generated/Models/AgentIdentityBlueprint.php +++ b/src/Generated/Models/AgentIdentityBlueprint.php @@ -33,10 +33,25 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Agent public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ + 'inheritablePermissions' => fn(ParseNode $n) => $o->setInheritablePermissions($n->getCollectionOfObjectValues([InheritablePermission::class, 'createFromDiscriminatorValue'])), 'sponsors' => fn(ParseNode $n) => $o->setSponsors($n->getCollectionOfObjectValues([DirectoryObject::class, 'createFromDiscriminatorValue'])), ]); } + /** + * Gets the inheritablePermissions property value. Defines scopes of a resource application that may be automatically granted to agent identities without additional consent. + * @return array|null + */ + public function getInheritablePermissions(): ?array { + $val = $this->getBackingStore()->get('inheritablePermissions'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, InheritablePermission::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'inheritablePermissions'"); + } + /** * Gets the sponsors property value. The sponsors for this agent identity blueprint. Sponsors are users or groups who can authorize and manage the lifecycle of agent identity instances. Required during the create operation. * @return array|null @@ -57,9 +72,18 @@ public function getSponsors(): ?array { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); + $writer->writeCollectionOfObjectValues('inheritablePermissions', $this->getInheritablePermissions()); $writer->writeCollectionOfObjectValues('sponsors', $this->getSponsors()); } + /** + * Sets the inheritablePermissions property value. Defines scopes of a resource application that may be automatically granted to agent identities without additional consent. + * @param array|null $value Value to set for the inheritablePermissions property. + */ + public function setInheritablePermissions(?array $value): void { + $this->getBackingStore()->set('inheritablePermissions', $value); + } + /** * Sets the sponsors property value. The sponsors for this agent identity blueprint. Sponsors are users or groups who can authorize and manage the lifecycle of agent identity instances. Required during the create operation. * @param array|null $value Value to set for the sponsors property. diff --git a/src/Generated/Models/AllAllowedScopes.php b/src/Generated/Models/AllAllowedScopes.php new file mode 100644 index 00000000000..cc600f0782f --- /dev/null +++ b/src/Generated/Models/AllAllowedScopes.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.allAllowedScopes'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return AllAllowedScopes + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): AllAllowedScopes { + return new AllAllowedScopes(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/AllowedTenantsAudience.php b/src/Generated/Models/AllowedTenantsAudience.php new file mode 100644 index 00000000000..66fd3d40be4 --- /dev/null +++ b/src/Generated/Models/AllowedTenantsAudience.php @@ -0,0 +1,100 @@ +setOdataType('#microsoft.graph.allowedTenantsAudience'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return AllowedTenantsAudience + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): AllowedTenantsAudience { + return new AllowedTenantsAudience(); + } + + /** + * Gets the allowedTenantIds property value. The list of Entra tenant IDs where the application can be used as either a client application or a resource application (API). Must contain at least one value. The tenant ID where the application is registered may be included, but is not required (see isHomeTenantAllowed). Required. + * @return array|null + */ + public function getAllowedTenantIds(): ?array { + $val = $this->getBackingStore()->get('allowedTenantIds'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'allowedTenantIds'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'allowedTenantIds' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setAllowedTenantIds($val); + }, + 'isHomeTenantAllowed' => fn(ParseNode $n) => $o->setIsHomeTenantAllowed($n->getBooleanValue()), + ]); + } + + /** + * Gets the isHomeTenantAllowed property value. Whether the tenant where the application is registered is allowed. Currently, only true is supported. Default is true. + * @return bool|null + */ + public function getIsHomeTenantAllowed(): ?bool { + $val = $this->getBackingStore()->get('isHomeTenantAllowed'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isHomeTenantAllowed'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfPrimitiveValues('allowedTenantIds', $this->getAllowedTenantIds()); + $writer->writeBooleanValue('isHomeTenantAllowed', $this->getIsHomeTenantAllowed()); + } + + /** + * Sets the allowedTenantIds property value. The list of Entra tenant IDs where the application can be used as either a client application or a resource application (API). Must contain at least one value. The tenant ID where the application is registered may be included, but is not required (see isHomeTenantAllowed). Required. + * @param array|null $value Value to set for the allowedTenantIds property. + */ + public function setAllowedTenantIds(?array $value): void { + $this->getBackingStore()->set('allowedTenantIds', $value); + } + + /** + * Sets the isHomeTenantAllowed property value. Whether the tenant where the application is registered is allowed. Currently, only true is supported. Default is true. + * @param bool|null $value Value to set for the isHomeTenantAllowed property. + */ + public function setIsHomeTenantAllowed(?bool $value): void { + $this->getBackingStore()->set('isHomeTenantAllowed', $value); + } + +} diff --git a/src/Generated/Models/Application.php b/src/Generated/Models/Application.php index 89559a6faa2..3ea8a5dc666 100644 --- a/src/Generated/Models/Application.php +++ b/src/Generated/Models/Application.php @@ -270,6 +270,7 @@ public function getFieldDeserializers(): array { }, 'info' => fn(ParseNode $n) => $o->setInfo($n->getObjectValue([InformationalUrl::class, 'createFromDiscriminatorValue'])), 'isDeviceOnlyAuthSupported' => fn(ParseNode $n) => $o->setIsDeviceOnlyAuthSupported($n->getBooleanValue()), + 'isDisabled' => fn(ParseNode $n) => $o->setIsDisabled($n->getBooleanValue()), 'isFallbackPublicClient' => fn(ParseNode $n) => $o->setIsFallbackPublicClient($n->getBooleanValue()), 'keyCredentials' => fn(ParseNode $n) => $o->setKeyCredentials($n->getCollectionOfObjectValues([KeyCredential::class, 'createFromDiscriminatorValue'])), 'logo' => fn(ParseNode $n) => $o->setLogo($n->getBinaryContent()), @@ -288,6 +289,7 @@ public function getFieldDeserializers(): array { 'serviceManagementReference' => fn(ParseNode $n) => $o->setServiceManagementReference($n->getStringValue()), 'servicePrincipalLockConfiguration' => fn(ParseNode $n) => $o->setServicePrincipalLockConfiguration($n->getObjectValue([ServicePrincipalLockConfiguration::class, 'createFromDiscriminatorValue'])), 'signInAudience' => fn(ParseNode $n) => $o->setSignInAudience($n->getStringValue()), + 'signInAudienceRestrictions' => fn(ParseNode $n) => $o->setSignInAudienceRestrictions($n->getObjectValue([SignInAudienceRestrictionsBase::class, 'createFromDiscriminatorValue'])), 'spa' => fn(ParseNode $n) => $o->setSpa($n->getObjectValue([SpaApplication::class, 'createFromDiscriminatorValue'])), 'synchronization' => fn(ParseNode $n) => $o->setSynchronization($n->getObjectValue([Synchronization::class, 'createFromDiscriminatorValue'])), 'tags' => function (ParseNode $n) { @@ -372,6 +374,18 @@ public function getIsDeviceOnlyAuthSupported(): ?bool { throw new \UnexpectedValueException("Invalid type found in backing store for 'isDeviceOnlyAuthSupported'"); } + /** + * Gets the isDisabled property value. Specifies whether the service principal of the app in a tenant or across tenants for multi-tenant apps can obtain new access tokens or access protected resources. When set to true, existing tokens remain valid until they expire based on their configured lifetimes, and the app stays visible in the Enterprise apps list but users cannot sign in.true if the application is deactivated (disabled); otherwise false. + * @return bool|null + */ + public function getIsDisabled(): ?bool { + $val = $this->getBackingStore()->get('isDisabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isDisabled'"); + } + /** * Gets the isFallbackPublicClient property value. Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is false, which means the fallback application type is confidential client such as a web app. There are certain scenarios where Microsoft Entra ID can't determine the client application type. For example, the ROPC flow where the application is configured without specifying a redirect URI. In those cases Microsoft Entra ID interprets the application type based on the value of this property. * @return bool|null @@ -596,6 +610,18 @@ public function getSignInAudience(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'signInAudience'"); } + /** + * Gets the signInAudienceRestrictions property value. The signInAudienceRestrictions property + * @return SignInAudienceRestrictionsBase|null + */ + public function getSignInAudienceRestrictions(): ?SignInAudienceRestrictionsBase { + $val = $this->getBackingStore()->get('signInAudienceRestrictions'); + if (is_null($val) || $val instanceof SignInAudienceRestrictionsBase) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'signInAudienceRestrictions'"); + } + /** * Gets the spa property value. Specifies settings for a single-page application, including sign out URLs and redirect URIs for authorization codes and access tokens. * @return SpaApplication|null @@ -749,6 +775,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfPrimitiveValues('identifierUris', $this->getIdentifierUris()); $writer->writeObjectValue('info', $this->getInfo()); $writer->writeBooleanValue('isDeviceOnlyAuthSupported', $this->getIsDeviceOnlyAuthSupported()); + $writer->writeBooleanValue('isDisabled', $this->getIsDisabled()); $writer->writeBooleanValue('isFallbackPublicClient', $this->getIsFallbackPublicClient()); $writer->writeCollectionOfObjectValues('keyCredentials', $this->getKeyCredentials()); $writer->writeBinaryContent('logo', $this->getLogo()); @@ -767,6 +794,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('serviceManagementReference', $this->getServiceManagementReference()); $writer->writeObjectValue('servicePrincipalLockConfiguration', $this->getServicePrincipalLockConfiguration()); $writer->writeStringValue('signInAudience', $this->getSignInAudience()); + $writer->writeObjectValue('signInAudienceRestrictions', $this->getSignInAudienceRestrictions()); $writer->writeObjectValue('spa', $this->getSpa()); $writer->writeObjectValue('synchronization', $this->getSynchronization()); $writer->writeCollectionOfPrimitiveValues('tags', $this->getTags()); @@ -947,6 +975,14 @@ public function setIsDeviceOnlyAuthSupported(?bool $value): void { $this->getBackingStore()->set('isDeviceOnlyAuthSupported', $value); } + /** + * Sets the isDisabled property value. Specifies whether the service principal of the app in a tenant or across tenants for multi-tenant apps can obtain new access tokens or access protected resources. When set to true, existing tokens remain valid until they expire based on their configured lifetimes, and the app stays visible in the Enterprise apps list but users cannot sign in.true if the application is deactivated (disabled); otherwise false. + * @param bool|null $value Value to set for the isDisabled property. + */ + public function setIsDisabled(?bool $value): void { + $this->getBackingStore()->set('isDisabled', $value); + } + /** * Sets the isFallbackPublicClient property value. Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is false, which means the fallback application type is confidential client such as a web app. There are certain scenarios where Microsoft Entra ID can't determine the client application type. For example, the ROPC flow where the application is configured without specifying a redirect URI. In those cases Microsoft Entra ID interprets the application type based on the value of this property. * @param bool|null $value Value to set for the isFallbackPublicClient property. @@ -1091,6 +1127,14 @@ public function setSignInAudience(?string $value): void { $this->getBackingStore()->set('signInAudience', $value); } + /** + * Sets the signInAudienceRestrictions property value. The signInAudienceRestrictions property + * @param SignInAudienceRestrictionsBase|null $value Value to set for the signInAudienceRestrictions property. + */ + public function setSignInAudienceRestrictions(?SignInAudienceRestrictionsBase $value): void { + $this->getBackingStore()->set('signInAudienceRestrictions', $value); + } + /** * Sets the spa property value. Specifies settings for a single-page application, including sign out URLs and redirect URIs for authorization codes and access tokens. * @param SpaApplication|null $value Value to set for the spa property. diff --git a/src/Generated/Models/AudienceRestriction.php b/src/Generated/Models/AudienceRestriction.php index f2cd90750ba..ff7c567032a 100644 --- a/src/Generated/Models/AudienceRestriction.php +++ b/src/Generated/Models/AudienceRestriction.php @@ -32,6 +32,13 @@ public function __construct() { * @return AudienceRestriction */ public static function createFromDiscriminatorValue(ParseNode $parseNode): AudienceRestriction { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.azureAdMultipleOrgsAudienceRestriction': return new AzureAdMultipleOrgsAudienceRestriction(); + } + } return new AudienceRestriction(); } diff --git a/src/Generated/Models/AudiencesConfiguration.php b/src/Generated/Models/AudiencesConfiguration.php index e19100f725e..324413601fe 100644 --- a/src/Generated/Models/AudiencesConfiguration.php +++ b/src/Generated/Models/AudiencesConfiguration.php @@ -49,11 +49,11 @@ public function getAdditionalData(): ?array { /** * Gets the azureAdMultipleOrgs property value. Setting to allow or disallow creation of apps with multitenant signInAudience. - * @return AudienceRestriction|null + * @return AzureAdMultipleOrgsAudienceRestriction|null */ - public function getAzureAdMultipleOrgs(): ?AudienceRestriction { + public function getAzureAdMultipleOrgs(): ?AzureAdMultipleOrgsAudienceRestriction { $val = $this->getBackingStore()->get('azureAdMultipleOrgs'); - if (is_null($val) || $val instanceof AudienceRestriction) { + if (is_null($val) || $val instanceof AzureAdMultipleOrgsAudienceRestriction) { return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'azureAdMultipleOrgs'"); @@ -74,7 +74,7 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'azureAdMultipleOrgs' => fn(ParseNode $n) => $o->setAzureAdMultipleOrgs($n->getObjectValue([AudienceRestriction::class, 'createFromDiscriminatorValue'])), + 'azureAdMultipleOrgs' => fn(ParseNode $n) => $o->setAzureAdMultipleOrgs($n->getObjectValue([AzureAdMultipleOrgsAudienceRestriction::class, 'createFromDiscriminatorValue'])), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), 'personalMicrosoftAccount' => fn(ParseNode $n) => $o->setPersonalMicrosoftAccount($n->getObjectValue([AudienceRestriction::class, 'createFromDiscriminatorValue'])), ]; @@ -125,9 +125,9 @@ public function setAdditionalData(?array $value): void { /** * Sets the azureAdMultipleOrgs property value. Setting to allow or disallow creation of apps with multitenant signInAudience. - * @param AudienceRestriction|null $value Value to set for the azureAdMultipleOrgs property. + * @param AzureAdMultipleOrgsAudienceRestriction|null $value Value to set for the azureAdMultipleOrgs property. */ - public function setAzureAdMultipleOrgs(?AudienceRestriction $value): void { + public function setAzureAdMultipleOrgs(?AzureAdMultipleOrgsAudienceRestriction $value): void { $this->getBackingStore()->set('azureAdMultipleOrgs', $value); } diff --git a/src/Generated/Models/AzureAdMultipleOrgsAudienceRestriction.php b/src/Generated/Models/AzureAdMultipleOrgsAudienceRestriction.php new file mode 100644 index 00000000000..da7a09766a8 --- /dev/null +++ b/src/Generated/Models/AzureAdMultipleOrgsAudienceRestriction.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.azureAdMultipleOrgsAudienceRestriction'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return AzureAdMultipleOrgsAudienceRestriction + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): AzureAdMultipleOrgsAudienceRestriction { + return new AzureAdMultipleOrgsAudienceRestriction(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/Channel.php b/src/Generated/Models/Channel.php index 04262503e3c..ac6a1fe316b 100644 --- a/src/Generated/Models/Channel.php +++ b/src/Generated/Models/Channel.php @@ -122,7 +122,9 @@ public function getFieldDeserializers(): array { 'members' => fn(ParseNode $n) => $o->setMembers($n->getCollectionOfObjectValues([ConversationMember::class, 'createFromDiscriminatorValue'])), 'membershipType' => fn(ParseNode $n) => $o->setMembershipType($n->getEnumValue(ChannelMembershipType::class)), 'messages' => fn(ParseNode $n) => $o->setMessages($n->getCollectionOfObjectValues([ChatMessage::class, 'createFromDiscriminatorValue'])), + 'migrationMode' => fn(ParseNode $n) => $o->setMigrationMode($n->getEnumValue(MigrationMode::class)), 'moderationSettings' => fn(ParseNode $n) => $o->setModerationSettings($n->getObjectValue([ChannelModerationSettings::class, 'createFromDiscriminatorValue'])), + 'originalCreatedDateTime' => fn(ParseNode $n) => $o->setOriginalCreatedDateTime($n->getDateTimeValue()), 'planner' => fn(ParseNode $n) => $o->setPlanner($n->getObjectValue([TeamsChannelPlanner::class, 'createFromDiscriminatorValue'])), 'sharedWithTeams' => fn(ParseNode $n) => $o->setSharedWithTeams($n->getCollectionOfObjectValues([SharedWithChannelTeamInfo::class, 'createFromDiscriminatorValue'])), 'summary' => fn(ParseNode $n) => $o->setSummary($n->getObjectValue([ChannelSummary::class, 'createFromDiscriminatorValue'])), @@ -220,6 +222,18 @@ public function getMessages(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'messages'"); } + /** + * Gets the migrationMode property value. Indicates whether a channel is in migration mode. This value is null for channels that never entered migration mode. The possible values are: inProgress, completed, unknownFutureValue. + * @return MigrationMode|null + */ + public function getMigrationMode(): ?MigrationMode { + $val = $this->getBackingStore()->get('migrationMode'); + if (is_null($val) || $val instanceof MigrationMode) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'migrationMode'"); + } + /** * Gets the moderationSettings property value. Settings to configure channel moderation to control who can start new posts and reply to posts in that channel. * @return ChannelModerationSettings|null @@ -232,6 +246,18 @@ public function getModerationSettings(): ?ChannelModerationSettings { throw new \UnexpectedValueException("Invalid type found in backing store for 'moderationSettings'"); } + /** + * Gets the originalCreatedDateTime property value. Timestamp of the original creation time for the channel. The value is null if the channel never entered migration mode. + * @return DateTime|null + */ + public function getOriginalCreatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('originalCreatedDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'originalCreatedDateTime'"); + } + /** * Gets the planner property value. Selective Planner services available to this channel. Currently, only shared channels are supported. Read-only. Nullable. * @return TeamsChannelPlanner|null @@ -327,7 +353,9 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('members', $this->getMembers()); $writer->writeEnumValue('membershipType', $this->getMembershipType()); $writer->writeCollectionOfObjectValues('messages', $this->getMessages()); + $writer->writeEnumValue('migrationMode', $this->getMigrationMode()); $writer->writeObjectValue('moderationSettings', $this->getModerationSettings()); + $writer->writeDateTimeValue('originalCreatedDateTime', $this->getOriginalCreatedDateTime()); $writer->writeObjectValue('planner', $this->getPlanner()); $writer->writeCollectionOfObjectValues('sharedWithTeams', $this->getSharedWithTeams()); $writer->writeObjectValue('summary', $this->getSummary()); @@ -440,6 +468,14 @@ public function setMessages(?array $value): void { $this->getBackingStore()->set('messages', $value); } + /** + * Sets the migrationMode property value. Indicates whether a channel is in migration mode. This value is null for channels that never entered migration mode. The possible values are: inProgress, completed, unknownFutureValue. + * @param MigrationMode|null $value Value to set for the migrationMode property. + */ + public function setMigrationMode(?MigrationMode $value): void { + $this->getBackingStore()->set('migrationMode', $value); + } + /** * Sets the moderationSettings property value. Settings to configure channel moderation to control who can start new posts and reply to posts in that channel. * @param ChannelModerationSettings|null $value Value to set for the moderationSettings property. @@ -448,6 +484,14 @@ public function setModerationSettings(?ChannelModerationSettings $value): void { $this->getBackingStore()->set('moderationSettings', $value); } + /** + * Sets the originalCreatedDateTime property value. Timestamp of the original creation time for the channel. The value is null if the channel never entered migration mode. + * @param DateTime|null $value Value to set for the originalCreatedDateTime property. + */ + public function setOriginalCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('originalCreatedDateTime', $value); + } + /** * Sets the planner property value. Selective Planner services available to this channel. Currently, only shared channels are supported. Read-only. Nullable. * @param TeamsChannelPlanner|null $value Value to set for the planner property. diff --git a/src/Generated/Models/Chat.php b/src/Generated/Models/Chat.php index b6029dca96b..7a90416e230 100644 --- a/src/Generated/Models/Chat.php +++ b/src/Generated/Models/Chat.php @@ -78,8 +78,10 @@ public function getFieldDeserializers(): array { 'lastUpdatedDateTime' => fn(ParseNode $n) => $o->setLastUpdatedDateTime($n->getDateTimeValue()), 'members' => fn(ParseNode $n) => $o->setMembers($n->getCollectionOfObjectValues([ConversationMember::class, 'createFromDiscriminatorValue'])), 'messages' => fn(ParseNode $n) => $o->setMessages($n->getCollectionOfObjectValues([ChatMessage::class, 'createFromDiscriminatorValue'])), + 'migrationMode' => fn(ParseNode $n) => $o->setMigrationMode($n->getEnumValue(MigrationMode::class)), 'onlineMeetingInfo' => fn(ParseNode $n) => $o->setOnlineMeetingInfo($n->getObjectValue([TeamworkOnlineMeetingInfo::class, 'createFromDiscriminatorValue'])), 'operations' => fn(ParseNode $n) => $o->setOperations($n->getCollectionOfObjectValues([TeamsAsyncOperation::class, 'createFromDiscriminatorValue'])), + 'originalCreatedDateTime' => fn(ParseNode $n) => $o->setOriginalCreatedDateTime($n->getDateTimeValue()), 'permissionGrants' => fn(ParseNode $n) => $o->setPermissionGrants($n->getCollectionOfObjectValues([ResourceSpecificPermissionGrant::class, 'createFromDiscriminatorValue'])), 'pinnedMessages' => fn(ParseNode $n) => $o->setPinnedMessages($n->getCollectionOfObjectValues([PinnedChatMessageInfo::class, 'createFromDiscriminatorValue'])), 'tabs' => fn(ParseNode $n) => $o->setTabs($n->getCollectionOfObjectValues([TeamsTab::class, 'createFromDiscriminatorValue'])), @@ -168,6 +170,18 @@ public function getMessages(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'messages'"); } + /** + * Gets the migrationMode property value. Indicates whether a chat is in migration mode. This value is null for chats that never entered migration mode. The possible values are: inProgress, completed, unknownFutureValue. + * @return MigrationMode|null + */ + public function getMigrationMode(): ?MigrationMode { + $val = $this->getBackingStore()->get('migrationMode'); + if (is_null($val) || $val instanceof MigrationMode) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'migrationMode'"); + } + /** * Gets the onlineMeetingInfo property value. Represents details about an online meeting. If the chat isn't associated with an online meeting, the property is empty. Read-only. * @return TeamworkOnlineMeetingInfo|null @@ -194,6 +208,18 @@ public function getOperations(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'operations'"); } + /** + * Gets the originalCreatedDateTime property value. Timestamp of the original creation time for the chat. The value is null if the chat never entered migration mode. + * @return DateTime|null + */ + public function getOriginalCreatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('originalCreatedDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'originalCreatedDateTime'"); + } + /** * Gets the permissionGrants property value. A collection of permissions granted to apps for the chat. * @return array|null @@ -299,8 +325,10 @@ public function serialize(SerializationWriter $writer): void { $writer->writeDateTimeValue('lastUpdatedDateTime', $this->getLastUpdatedDateTime()); $writer->writeCollectionOfObjectValues('members', $this->getMembers()); $writer->writeCollectionOfObjectValues('messages', $this->getMessages()); + $writer->writeEnumValue('migrationMode', $this->getMigrationMode()); $writer->writeObjectValue('onlineMeetingInfo', $this->getOnlineMeetingInfo()); $writer->writeCollectionOfObjectValues('operations', $this->getOperations()); + $writer->writeDateTimeValue('originalCreatedDateTime', $this->getOriginalCreatedDateTime()); $writer->writeCollectionOfObjectValues('permissionGrants', $this->getPermissionGrants()); $writer->writeCollectionOfObjectValues('pinnedMessages', $this->getPinnedMessages()); $writer->writeCollectionOfObjectValues('tabs', $this->getTabs()); @@ -382,6 +410,14 @@ public function setMessages(?array $value): void { $this->getBackingStore()->set('messages', $value); } + /** + * Sets the migrationMode property value. Indicates whether a chat is in migration mode. This value is null for chats that never entered migration mode. The possible values are: inProgress, completed, unknownFutureValue. + * @param MigrationMode|null $value Value to set for the migrationMode property. + */ + public function setMigrationMode(?MigrationMode $value): void { + $this->getBackingStore()->set('migrationMode', $value); + } + /** * Sets the onlineMeetingInfo property value. Represents details about an online meeting. If the chat isn't associated with an online meeting, the property is empty. Read-only. * @param TeamworkOnlineMeetingInfo|null $value Value to set for the onlineMeetingInfo property. @@ -398,6 +434,14 @@ public function setOperations(?array $value): void { $this->getBackingStore()->set('operations', $value); } + /** + * Sets the originalCreatedDateTime property value. Timestamp of the original creation time for the chat. The value is null if the chat never entered migration mode. + * @param DateTime|null $value Value to set for the originalCreatedDateTime property. + */ + public function setOriginalCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('originalCreatedDateTime', $value); + } + /** * Sets the permissionGrants property value. A collection of permissions granted to apps for the chat. * @param array|null $value Value to set for the permissionGrants property. diff --git a/src/Generated/Models/CloudPcAutopilotConfiguration.php b/src/Generated/Models/CloudPcAutopilotConfiguration.php index 81e7d21282d..663660e0442 100644 --- a/src/Generated/Models/CloudPcAutopilotConfiguration.php +++ b/src/Generated/Models/CloudPcAutopilotConfiguration.php @@ -48,7 +48,7 @@ public function getAdditionalData(): ?array { } /** - * Gets the applicationTimeoutInMinutes property value. Indicates the number of minutes allowed for the Autopilot application to apply the device preparation profile (DPP) configurations to the device. If the Autopilot application doesn't finish within the specified time (applicationTimeoutInMinutes), the application error is added to the statusDetail property of the cloudPC object. The supported value is an integer between 10 and 360. Required. + * Gets the applicationTimeoutInMinutes property value. Indicates the number of minutes allowed for the Autopilot application to apply the device preparation profile (DPP) configurations to the device. If the Autopilot application doesn't finish within the specified time (applicationTimeoutInMinutes), the application error is added to the statusDetail property of the cloudPC object. The supported value is an integer between 30 and 360. Required. * @return int|null */ public function getApplicationTimeoutInMinutes(): ?int { @@ -138,7 +138,7 @@ public function setAdditionalData(?array $value): void { } /** - * Sets the applicationTimeoutInMinutes property value. Indicates the number of minutes allowed for the Autopilot application to apply the device preparation profile (DPP) configurations to the device. If the Autopilot application doesn't finish within the specified time (applicationTimeoutInMinutes), the application error is added to the statusDetail property of the cloudPC object. The supported value is an integer between 10 and 360. Required. + * Sets the applicationTimeoutInMinutes property value. Indicates the number of minutes allowed for the Autopilot application to apply the device preparation profile (DPP) configurations to the device. If the Autopilot application doesn't finish within the specified time (applicationTimeoutInMinutes), the application error is added to the statusDetail property of the cloudPC object. The supported value is an integer between 30 and 360. Required. * @param int|null $value Value to set for the applicationTimeoutInMinutes property. */ public function setApplicationTimeoutInMinutes(?int $value): void { diff --git a/src/Generated/Models/CloudPcClientAppUsageReportType.php b/src/Generated/Models/CloudPcClientAppUsageReportType.php new file mode 100644 index 00000000000..e7b5b1777aa --- /dev/null +++ b/src/Generated/Models/CloudPcClientAppUsageReportType.php @@ -0,0 +1,10 @@ + fn(ParseNode $n) => $o->setExpirationDate($n->getDateValue()), 'lastModifiedDateTime' => fn(ParseNode $n) => $o->setLastModifiedDateTime($n->getDateTimeValue()), 'operatingSystem' => fn(ParseNode $n) => $o->setOperatingSystem($n->getStringValue()), - 'osArchitecture' => fn(ParseNode $n) => $o->setOsArchitecture($n->getEnumValue(CloudPcImageOsArchitectureType::class)), 'osBuildNumber' => fn(ParseNode $n) => $o->setOsBuildNumber($n->getStringValue()), 'osStatus' => fn(ParseNode $n) => $o->setOsStatus($n->getEnumValue(CloudPcDeviceImageOsStatus::class)), 'osVersionNumber' => fn(ParseNode $n) => $o->setOsVersionNumber($n->getStringValue()), @@ -119,18 +118,6 @@ public function getOperatingSystem(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'operatingSystem'"); } - /** - * Gets the osArchitecture property value. The osArchitecture property - * @return CloudPcImageOsArchitectureType|null - */ - public function getOsArchitecture(): ?CloudPcImageOsArchitectureType { - $val = $this->getBackingStore()->get('osArchitecture'); - if (is_null($val) || $val instanceof CloudPcImageOsArchitectureType) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'osArchitecture'"); - } - /** * Gets the osBuildNumber property value. The OS build version of the image. For example, 1909. Read-only. * @return string|null @@ -252,7 +239,6 @@ public function serialize(SerializationWriter $writer): void { $writer->writeDateValue('expirationDate', $this->getExpirationDate()); $writer->writeDateTimeValue('lastModifiedDateTime', $this->getLastModifiedDateTime()); $writer->writeStringValue('operatingSystem', $this->getOperatingSystem()); - $writer->writeEnumValue('osArchitecture', $this->getOsArchitecture()); $writer->writeStringValue('osBuildNumber', $this->getOsBuildNumber()); $writer->writeEnumValue('osStatus', $this->getOsStatus()); $writer->writeStringValue('osVersionNumber', $this->getOsVersionNumber()); @@ -304,14 +290,6 @@ public function setOperatingSystem(?string $value): void { $this->getBackingStore()->set('operatingSystem', $value); } - /** - * Sets the osArchitecture property value. The osArchitecture property - * @param CloudPcImageOsArchitectureType|null $value Value to set for the osArchitecture property. - */ - public function setOsArchitecture(?CloudPcImageOsArchitectureType $value): void { - $this->getBackingStore()->set('osArchitecture', $value); - } - /** * Sets the osBuildNumber property value. The OS build version of the image. For example, 1909. Read-only. * @param string|null $value Value to set for the osBuildNumber property. diff --git a/src/Generated/Models/CloudPcGalleryImage.php b/src/Generated/Models/CloudPcGalleryImage.php index cf1a65c232b..2e41b9a32c8 100644 --- a/src/Generated/Models/CloudPcGalleryImage.php +++ b/src/Generated/Models/CloudPcGalleryImage.php @@ -74,7 +74,6 @@ public function getFieldDeserializers(): array { 'offer' => fn(ParseNode $n) => $o->setOffer($n->getStringValue()), 'offerDisplayName' => fn(ParseNode $n) => $o->setOfferDisplayName($n->getStringValue()), 'offerName' => fn(ParseNode $n) => $o->setOfferName($n->getStringValue()), - 'osArchitecture' => fn(ParseNode $n) => $o->setOsArchitecture($n->getEnumValue(CloudPcImageOsArchitectureType::class)), 'osVersionNumber' => fn(ParseNode $n) => $o->setOsVersionNumber($n->getStringValue()), 'publisher' => fn(ParseNode $n) => $o->setPublisher($n->getStringValue()), 'publisherName' => fn(ParseNode $n) => $o->setPublisherName($n->getStringValue()), @@ -124,18 +123,6 @@ public function getOfferName(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'offerName'"); } - /** - * Gets the osArchitecture property value. The osArchitecture property - * @return CloudPcImageOsArchitectureType|null - */ - public function getOsArchitecture(): ?CloudPcImageOsArchitectureType { - $val = $this->getBackingStore()->get('osArchitecture'); - if (is_null($val) || $val instanceof CloudPcImageOsArchitectureType) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'osArchitecture'"); - } - /** * Gets the osVersionNumber property value. The operating system version of this gallery image. For example, 10.0.22000.296. Read-only. * @return string|null @@ -268,7 +255,6 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('offer', $this->getOffer()); $writer->writeStringValue('offerDisplayName', $this->getOfferDisplayName()); $writer->writeStringValue('offerName', $this->getOfferName()); - $writer->writeEnumValue('osArchitecture', $this->getOsArchitecture()); $writer->writeStringValue('osVersionNumber', $this->getOsVersionNumber()); $writer->writeStringValue('publisher', $this->getPublisher()); $writer->writeStringValue('publisherName', $this->getPublisherName()); @@ -329,14 +315,6 @@ public function setOfferName(?string $value): void { $this->getBackingStore()->set('offerName', $value); } - /** - * Sets the osArchitecture property value. The osArchitecture property - * @param CloudPcImageOsArchitectureType|null $value Value to set for the osArchitecture property. - */ - public function setOsArchitecture(?CloudPcImageOsArchitectureType $value): void { - $this->getBackingStore()->set('osArchitecture', $value); - } - /** * Sets the osVersionNumber property value. The operating system version of this gallery image. For example, 10.0.22000.296. Read-only. * @param string|null $value Value to set for the osVersionNumber property. diff --git a/src/Generated/Models/Contact.php b/src/Generated/Models/Contact.php index 9652adbf656..21f50a557ea 100644 --- a/src/Generated/Models/Contact.php +++ b/src/Generated/Models/Contact.php @@ -178,10 +178,13 @@ public function getFieldDeserializers(): array { 'phones' => fn(ParseNode $n) => $o->setPhones($n->getCollectionOfObjectValues([Phone::class, 'createFromDiscriminatorValue'])), 'photo' => fn(ParseNode $n) => $o->setPhoto($n->getObjectValue([ProfilePhoto::class, 'createFromDiscriminatorValue'])), 'postalAddresses' => fn(ParseNode $n) => $o->setPostalAddresses($n->getCollectionOfObjectValues([PhysicalAddress::class, 'createFromDiscriminatorValue'])), + 'primaryEmailAddress' => fn(ParseNode $n) => $o->setPrimaryEmailAddress($n->getObjectValue([EmailAddress::class, 'createFromDiscriminatorValue'])), 'profession' => fn(ParseNode $n) => $o->setProfession($n->getStringValue()), + 'secondaryEmailAddress' => fn(ParseNode $n) => $o->setSecondaryEmailAddress($n->getObjectValue([EmailAddress::class, 'createFromDiscriminatorValue'])), 'singleValueExtendedProperties' => fn(ParseNode $n) => $o->setSingleValueExtendedProperties($n->getCollectionOfObjectValues([SingleValueLegacyExtendedProperty::class, 'createFromDiscriminatorValue'])), 'spouseName' => fn(ParseNode $n) => $o->setSpouseName($n->getStringValue()), 'surname' => fn(ParseNode $n) => $o->setSurname($n->getStringValue()), + 'tertiaryEmailAddress' => fn(ParseNode $n) => $o->setTertiaryEmailAddress($n->getObjectValue([EmailAddress::class, 'createFromDiscriminatorValue'])), 'title' => fn(ParseNode $n) => $o->setTitle($n->getStringValue()), 'websites' => fn(ParseNode $n) => $o->setWebsites($n->getCollectionOfObjectValues([Website::class, 'createFromDiscriminatorValue'])), 'weddingAnniversary' => fn(ParseNode $n) => $o->setWeddingAnniversary($n->getDateValue()), @@ -427,6 +430,18 @@ public function getPostalAddresses(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'postalAddresses'"); } + /** + * Gets the primaryEmailAddress property value. The primary email address of the contact. + * @return EmailAddress|null + */ + public function getPrimaryEmailAddress(): ?EmailAddress { + $val = $this->getBackingStore()->get('primaryEmailAddress'); + if (is_null($val) || $val instanceof EmailAddress) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'primaryEmailAddress'"); + } + /** * Gets the profession property value. The contact's profession. * @return string|null @@ -439,6 +454,18 @@ public function getProfession(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'profession'"); } + /** + * Gets the secondaryEmailAddress property value. The secondary email address of the contact. + * @return EmailAddress|null + */ + public function getSecondaryEmailAddress(): ?EmailAddress { + $val = $this->getBackingStore()->get('secondaryEmailAddress'); + if (is_null($val) || $val instanceof EmailAddress) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'secondaryEmailAddress'"); + } + /** * Gets the singleValueExtendedProperties property value. The collection of single-value extended properties defined for the contact. Read-only. Nullable. * @return array|null @@ -477,6 +504,18 @@ public function getSurname(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'surname'"); } + /** + * Gets the tertiaryEmailAddress property value. The tertiary email address of the contact. + * @return EmailAddress|null + */ + public function getTertiaryEmailAddress(): ?EmailAddress { + $val = $this->getBackingStore()->get('tertiaryEmailAddress'); + if (is_null($val) || $val instanceof EmailAddress) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'tertiaryEmailAddress'"); + } + /** * Gets the title property value. The contact's title. * @return string|null @@ -584,10 +623,13 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('phones', $this->getPhones()); $writer->writeObjectValue('photo', $this->getPhoto()); $writer->writeCollectionOfObjectValues('postalAddresses', $this->getPostalAddresses()); + $writer->writeObjectValue('primaryEmailAddress', $this->getPrimaryEmailAddress()); $writer->writeStringValue('profession', $this->getProfession()); + $writer->writeObjectValue('secondaryEmailAddress', $this->getSecondaryEmailAddress()); $writer->writeCollectionOfObjectValues('singleValueExtendedProperties', $this->getSingleValueExtendedProperties()); $writer->writeStringValue('spouseName', $this->getSpouseName()); $writer->writeStringValue('surname', $this->getSurname()); + $writer->writeObjectValue('tertiaryEmailAddress', $this->getTertiaryEmailAddress()); $writer->writeStringValue('title', $this->getTitle()); $writer->writeCollectionOfObjectValues('websites', $this->getWebsites()); $writer->writeDateValue('weddingAnniversary', $this->getWeddingAnniversary()); @@ -812,6 +854,14 @@ public function setPostalAddresses(?array $value): void { $this->getBackingStore()->set('postalAddresses', $value); } + /** + * Sets the primaryEmailAddress property value. The primary email address of the contact. + * @param EmailAddress|null $value Value to set for the primaryEmailAddress property. + */ + public function setPrimaryEmailAddress(?EmailAddress $value): void { + $this->getBackingStore()->set('primaryEmailAddress', $value); + } + /** * Sets the profession property value. The contact's profession. * @param string|null $value Value to set for the profession property. @@ -820,6 +870,14 @@ public function setProfession(?string $value): void { $this->getBackingStore()->set('profession', $value); } + /** + * Sets the secondaryEmailAddress property value. The secondary email address of the contact. + * @param EmailAddress|null $value Value to set for the secondaryEmailAddress property. + */ + public function setSecondaryEmailAddress(?EmailAddress $value): void { + $this->getBackingStore()->set('secondaryEmailAddress', $value); + } + /** * Sets the singleValueExtendedProperties property value. The collection of single-value extended properties defined for the contact. Read-only. Nullable. * @param array|null $value Value to set for the singleValueExtendedProperties property. @@ -844,6 +902,14 @@ public function setSurname(?string $value): void { $this->getBackingStore()->set('surname', $value); } + /** + * Sets the tertiaryEmailAddress property value. The tertiary email address of the contact. + * @param EmailAddress|null $value Value to set for the tertiaryEmailAddress property. + */ + public function setTertiaryEmailAddress(?EmailAddress $value): void { + $this->getBackingStore()->set('tertiaryEmailAddress', $value); + } + /** * Sets the title property value. The contact's title. * @param string|null $value Value to set for the title property. diff --git a/src/Generated/Models/CopilotConversation.php b/src/Generated/Models/CopilotConversation.php new file mode 100644 index 00000000000..0de06cb4a47 --- /dev/null +++ b/src/Generated/Models/CopilotConversation.php @@ -0,0 +1,159 @@ +getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + + /** + * Gets the displayName property value. The display name of the conversation. + * @return string|null + */ + public function getDisplayName(): ?string { + $val = $this->getBackingStore()->get('displayName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'displayName'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + 'messages' => fn(ParseNode $n) => $o->setMessages($n->getCollectionOfObjectValues([CopilotConversationMessage::class, 'createFromDiscriminatorValue'])), + 'state' => fn(ParseNode $n) => $o->setState($n->getEnumValue(CopilotConversationState::class)), + 'turnCount' => fn(ParseNode $n) => $o->setTurnCount($n->getIntegerValue()), + ]); + } + + /** + * Gets the messages property value. The ordered list of messages in the conversation. + * @return array|null + */ + public function getMessages(): ?array { + $val = $this->getBackingStore()->get('messages'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, CopilotConversationMessage::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'messages'"); + } + + /** + * Gets the state property value. The state of a Copilot conversation. + * @return CopilotConversationState|null + */ + public function getState(): ?CopilotConversationState { + $val = $this->getBackingStore()->get('state'); + if (is_null($val) || $val instanceof CopilotConversationState) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'state'"); + } + + /** + * Gets the turnCount property value. The number of turns in the conversation. + * @return int|null + */ + public function getTurnCount(): ?int { + $val = $this->getBackingStore()->get('turnCount'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'turnCount'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('messages', $this->getMessages()); + $writer->writeEnumValue('state', $this->getState()); + } + + /** + * Sets the createdDateTime property value. The date and time when the conversation was created. + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + + /** + * Sets the displayName property value. The display name of the conversation. + * @param string|null $value Value to set for the displayName property. + */ + public function setDisplayName(?string $value): void { + $this->getBackingStore()->set('displayName', $value); + } + + /** + * Sets the messages property value. The ordered list of messages in the conversation. + * @param array|null $value Value to set for the messages property. + */ + public function setMessages(?array $value): void { + $this->getBackingStore()->set('messages', $value); + } + + /** + * Sets the state property value. The state of a Copilot conversation. + * @param CopilotConversationState|null $value Value to set for the state property. + */ + public function setState(?CopilotConversationState $value): void { + $this->getBackingStore()->set('state', $value); + } + + /** + * Sets the turnCount property value. The number of turns in the conversation. + * @param int|null $value Value to set for the turnCount property. + */ + public function setTurnCount(?int $value): void { + $this->getBackingStore()->set('turnCount', $value); + } + +} diff --git a/src/Generated/Models/CopilotConversationAttribution.php b/src/Generated/Models/CopilotConversationAttribution.php new file mode 100644 index 00000000000..ef6e53a1a3e --- /dev/null +++ b/src/Generated/Models/CopilotConversationAttribution.php @@ -0,0 +1,284 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return CopilotConversationAttribution + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): CopilotConversationAttribution { + return new CopilotConversationAttribution(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the attributionSource property value. The source of the attribution. + * @return CopilotConversationAttributionSource|null + */ + public function getAttributionSource(): ?CopilotConversationAttributionSource { + $val = $this->getBackingStore()->get('attributionSource'); + if (is_null($val) || $val instanceof CopilotConversationAttributionSource) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'attributionSource'"); + } + + /** + * Gets the attributionType property value. The type of attribution. + * @return CopilotConversationAttributionType|null + */ + public function getAttributionType(): ?CopilotConversationAttributionType { + $val = $this->getBackingStore()->get('attributionType'); + if (is_null($val) || $val instanceof CopilotConversationAttributionType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'attributionType'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'attributionSource' => fn(ParseNode $n) => $o->setAttributionSource($n->getEnumValue(CopilotConversationAttributionSource::class)), + 'attributionType' => fn(ParseNode $n) => $o->setAttributionType($n->getEnumValue(CopilotConversationAttributionType::class)), + 'imageFavIcon' => fn(ParseNode $n) => $o->setImageFavIcon($n->getStringValue()), + 'imageHeight' => fn(ParseNode $n) => $o->setImageHeight($n->getIntegerValue()), + 'imageWebUrl' => fn(ParseNode $n) => $o->setImageWebUrl($n->getStringValue()), + 'imageWidth' => fn(ParseNode $n) => $o->setImageWidth($n->getIntegerValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'providerDisplayName' => fn(ParseNode $n) => $o->setProviderDisplayName($n->getStringValue()), + 'seeMoreWebUrl' => fn(ParseNode $n) => $o->setSeeMoreWebUrl($n->getStringValue()), + ]; + } + + /** + * Gets the imageFavIcon property value. The imageFavIcon property + * @return string|null + */ + public function getImageFavIcon(): ?string { + $val = $this->getBackingStore()->get('imageFavIcon'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'imageFavIcon'"); + } + + /** + * Gets the imageHeight property value. The imageHeight property + * @return int|null + */ + public function getImageHeight(): ?int { + $val = $this->getBackingStore()->get('imageHeight'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'imageHeight'"); + } + + /** + * Gets the imageWebUrl property value. The imageWebUrl property + * @return string|null + */ + public function getImageWebUrl(): ?string { + $val = $this->getBackingStore()->get('imageWebUrl'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'imageWebUrl'"); + } + + /** + * Gets the imageWidth property value. The imageWidth property + * @return int|null + */ + public function getImageWidth(): ?int { + $val = $this->getBackingStore()->get('imageWidth'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'imageWidth'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the providerDisplayName property value. The providerDisplayName property + * @return string|null + */ + public function getProviderDisplayName(): ?string { + $val = $this->getBackingStore()->get('providerDisplayName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'providerDisplayName'"); + } + + /** + * Gets the seeMoreWebUrl property value. The seeMoreWebUrl property + * @return string|null + */ + public function getSeeMoreWebUrl(): ?string { + $val = $this->getBackingStore()->get('seeMoreWebUrl'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'seeMoreWebUrl'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeEnumValue('attributionSource', $this->getAttributionSource()); + $writer->writeEnumValue('attributionType', $this->getAttributionType()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the attributionSource property value. The source of the attribution. + * @param CopilotConversationAttributionSource|null $value Value to set for the attributionSource property. + */ + public function setAttributionSource(?CopilotConversationAttributionSource $value): void { + $this->getBackingStore()->set('attributionSource', $value); + } + + /** + * Sets the attributionType property value. The type of attribution. + * @param CopilotConversationAttributionType|null $value Value to set for the attributionType property. + */ + public function setAttributionType(?CopilotConversationAttributionType $value): void { + $this->getBackingStore()->set('attributionType', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the imageFavIcon property value. The imageFavIcon property + * @param string|null $value Value to set for the imageFavIcon property. + */ + public function setImageFavIcon(?string $value): void { + $this->getBackingStore()->set('imageFavIcon', $value); + } + + /** + * Sets the imageHeight property value. The imageHeight property + * @param int|null $value Value to set for the imageHeight property. + */ + public function setImageHeight(?int $value): void { + $this->getBackingStore()->set('imageHeight', $value); + } + + /** + * Sets the imageWebUrl property value. The imageWebUrl property + * @param string|null $value Value to set for the imageWebUrl property. + */ + public function setImageWebUrl(?string $value): void { + $this->getBackingStore()->set('imageWebUrl', $value); + } + + /** + * Sets the imageWidth property value. The imageWidth property + * @param int|null $value Value to set for the imageWidth property. + */ + public function setImageWidth(?int $value): void { + $this->getBackingStore()->set('imageWidth', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the providerDisplayName property value. The providerDisplayName property + * @param string|null $value Value to set for the providerDisplayName property. + */ + public function setProviderDisplayName(?string $value): void { + $this->getBackingStore()->set('providerDisplayName', $value); + } + + /** + * Sets the seeMoreWebUrl property value. The seeMoreWebUrl property + * @param string|null $value Value to set for the seeMoreWebUrl property. + */ + public function setSeeMoreWebUrl(?string $value): void { + $this->getBackingStore()->set('seeMoreWebUrl', $value); + } + +} diff --git a/src/Generated/Models/CopilotConversationAttributionSource.php b/src/Generated/Models/CopilotConversationAttributionSource.php new file mode 100644 index 00000000000..31110e45f16 --- /dev/null +++ b/src/Generated/Models/CopilotConversationAttributionSource.php @@ -0,0 +1,11 @@ +getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.copilotConversationRequestMessage': return new CopilotConversationRequestMessage(); + case '#microsoft.graph.copilotConversationResponseMessage': return new CopilotConversationResponseMessage(); + } + } + return new CopilotConversationMessage(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'text' => fn(ParseNode $n) => $o->setText($n->getStringValue()), + ]); + } + + /** + * Gets the text property value. The text of the message. + * @return string|null + */ + public function getText(): ?string { + $val = $this->getBackingStore()->get('text'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('text', $this->getText()); + } + + /** + * Sets the text property value. The text of the message. + * @param string|null $value Value to set for the text property. + */ + public function setText(?string $value): void { + $this->getBackingStore()->set('text', $value); + } + +} diff --git a/src/Generated/Models/CopilotConversationRequestMessage.php b/src/Generated/Models/CopilotConversationRequestMessage.php new file mode 100644 index 00000000000..84b62341e6c --- /dev/null +++ b/src/Generated/Models/CopilotConversationRequestMessage.php @@ -0,0 +1,49 @@ +setOdataType('#microsoft.graph.copilotConversationRequestMessage'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return CopilotConversationRequestMessage + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): CopilotConversationRequestMessage { + return new CopilotConversationRequestMessage(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/CopilotConversationResponseMessage.php b/src/Generated/Models/CopilotConversationResponseMessage.php new file mode 100644 index 00000000000..a76586c4d09 --- /dev/null +++ b/src/Generated/Models/CopilotConversationResponseMessage.php @@ -0,0 +1,139 @@ +setOdataType('#microsoft.graph.copilotConversationResponseMessage'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return CopilotConversationResponseMessage + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): CopilotConversationResponseMessage { + return new CopilotConversationResponseMessage(); + } + + /** + * Gets the adaptiveCards property value. The adaptiveCards property + * @return array|null + */ + public function getAdaptiveCards(): ?array { + $val = $this->getBackingStore()->get('adaptiveCards'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Json::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'adaptiveCards'"); + } + + /** + * Gets the attributions property value. The attributions property + * @return array|null + */ + public function getAttributions(): ?array { + $val = $this->getBackingStore()->get('attributions'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, CopilotConversationAttribution::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'attributions'"); + } + + /** + * Gets the createdDateTime property value. The createdDateTime property + * @return DateTime|null + */ + public function getCreatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'adaptiveCards' => fn(ParseNode $n) => $o->setAdaptiveCards($n->getCollectionOfObjectValues([Json::class, 'createFromDiscriminatorValue'])), + 'attributions' => fn(ParseNode $n) => $o->setAttributions($n->getCollectionOfObjectValues([CopilotConversationAttribution::class, 'createFromDiscriminatorValue'])), + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + 'sensitivityLabel' => fn(ParseNode $n) => $o->setSensitivityLabel($n->getObjectValue([SearchSensitivityLabelInfo::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the sensitivityLabel property value. The sensitivityLabel property + * @return SearchSensitivityLabelInfo|null + */ + public function getSensitivityLabel(): ?SearchSensitivityLabelInfo { + $val = $this->getBackingStore()->get('sensitivityLabel'); + if (is_null($val) || $val instanceof SearchSensitivityLabelInfo) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sensitivityLabel'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + + /** + * Sets the adaptiveCards property value. The adaptiveCards property + * @param array|null $value Value to set for the adaptiveCards property. + */ + public function setAdaptiveCards(?array $value): void { + $this->getBackingStore()->set('adaptiveCards', $value); + } + + /** + * Sets the attributions property value. The attributions property + * @param array|null $value Value to set for the attributions property. + */ + public function setAttributions(?array $value): void { + $this->getBackingStore()->set('attributions', $value); + } + + /** + * Sets the createdDateTime property value. The createdDateTime property + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + + /** + * Sets the sensitivityLabel property value. The sensitivityLabel property + * @param SearchSensitivityLabelInfo|null $value Value to set for the sensitivityLabel property. + */ + public function setSensitivityLabel(?SearchSensitivityLabelInfo $value): void { + $this->getBackingStore()->set('sensitivityLabel', $value); + } + +} diff --git a/src/Generated/Models/CopilotConversationState.php b/src/Generated/Models/CopilotConversationState.php new file mode 100644 index 00000000000..229b91203a8 --- /dev/null +++ b/src/Generated/Models/CopilotConversationState.php @@ -0,0 +1,11 @@ +setOdataType('#microsoft.graph.enumeratedScopes'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return EnumeratedScopes + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): EnumeratedScopes { + return new EnumeratedScopes(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'scopes' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setScopes($val); + }, + ]); + } + + /** + * Gets the scopes property value. Required. Nonempty list of delegated permission scope identifiers published by the resource application to inherit. Entries must be unique and must not include any globally blocked scopes. + * @return array|null + */ + public function getScopes(): ?array { + $val = $this->getBackingStore()->get('scopes'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'scopes'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfPrimitiveValues('scopes', $this->getScopes()); + } + + /** + * Sets the scopes property value. Required. Nonempty list of delegated permission scope identifiers published by the resource application to inherit. Entries must be unique and must not include any globally blocked scopes. + * @param array|null $value Value to set for the scopes property. + */ + public function setScopes(?array $value): void { + $this->getBackingStore()->set('scopes', $value); + } + +} diff --git a/src/Generated/Models/ExchangeAdmin.php b/src/Generated/Models/ExchangeAdmin.php index 264e2620388..c436b1a52d7 100644 --- a/src/Generated/Models/ExchangeAdmin.php +++ b/src/Generated/Models/ExchangeAdmin.php @@ -34,6 +34,7 @@ public function getFieldDeserializers(): array { return array_merge(parent::getFieldDeserializers(), [ 'mailboxes' => fn(ParseNode $n) => $o->setMailboxes($n->getCollectionOfObjectValues([Mailbox::class, 'createFromDiscriminatorValue'])), 'messageTraces' => fn(ParseNode $n) => $o->setMessageTraces($n->getCollectionOfObjectValues([MessageTrace::class, 'createFromDiscriminatorValue'])), + 'tracing' => fn(ParseNode $n) => $o->setTracing($n->getObjectValue([MessageTracingRoot::class, 'createFromDiscriminatorValue'])), ]); } @@ -65,6 +66,18 @@ public function getMessageTraces(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'messageTraces'"); } + /** + * Gets the tracing property value. The tracing property + * @return MessageTracingRoot|null + */ + public function getTracing(): ?MessageTracingRoot { + $val = $this->getBackingStore()->get('tracing'); + if (is_null($val) || $val instanceof MessageTracingRoot) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'tracing'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -73,6 +86,7 @@ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeCollectionOfObjectValues('mailboxes', $this->getMailboxes()); $writer->writeCollectionOfObjectValues('messageTraces', $this->getMessageTraces()); + $writer->writeObjectValue('tracing', $this->getTracing()); } /** @@ -91,4 +105,12 @@ public function setMessageTraces(?array $value): void { $this->getBackingStore()->set('messageTraces', $value); } + /** + * Sets the tracing property value. The tracing property + * @param MessageTracingRoot|null $value Value to set for the tracing property. + */ + public function setTracing(?MessageTracingRoot $value): void { + $this->getBackingStore()->set('tracing', $value); + } + } diff --git a/src/Generated/Models/ExchangeMessageTrace.php b/src/Generated/Models/ExchangeMessageTrace.php new file mode 100644 index 00000000000..0c3b77dcadf --- /dev/null +++ b/src/Generated/Models/ExchangeMessageTrace.php @@ -0,0 +1,244 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'fromIP' => fn(ParseNode $n) => $o->setFromIP($n->getStringValue()), + 'messageId' => fn(ParseNode $n) => $o->setMessageId($n->getStringValue()), + 'receivedDateTime' => fn(ParseNode $n) => $o->setReceivedDateTime($n->getDateTimeValue()), + 'recipientAddress' => fn(ParseNode $n) => $o->setRecipientAddress($n->getStringValue()), + 'senderAddress' => fn(ParseNode $n) => $o->setSenderAddress($n->getStringValue()), + 'size' => fn(ParseNode $n) => $o->setSize($n->getIntegerValue()), + 'status' => fn(ParseNode $n) => $o->setStatus($n->getEnumValue(ExchangeMessageTraceStatus::class)), + 'subject' => fn(ParseNode $n) => $o->setSubject($n->getStringValue()), + 'toIP' => fn(ParseNode $n) => $o->setToIP($n->getStringValue()), + ]); + } + + /** + * Gets the fromIP property value. The fromIP property + * @return string|null + */ + public function getFromIP(): ?string { + $val = $this->getBackingStore()->get('fromIP'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'fromIP'"); + } + + /** + * Gets the messageId property value. The messageId property + * @return string|null + */ + public function getMessageId(): ?string { + $val = $this->getBackingStore()->get('messageId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'messageId'"); + } + + /** + * Gets the receivedDateTime property value. The receivedDateTime property + * @return DateTime|null + */ + public function getReceivedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('receivedDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'receivedDateTime'"); + } + + /** + * Gets the recipientAddress property value. The recipientAddress property + * @return string|null + */ + public function getRecipientAddress(): ?string { + $val = $this->getBackingStore()->get('recipientAddress'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'recipientAddress'"); + } + + /** + * Gets the senderAddress property value. The senderAddress property + * @return string|null + */ + public function getSenderAddress(): ?string { + $val = $this->getBackingStore()->get('senderAddress'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'senderAddress'"); + } + + /** + * Gets the size property value. The size property + * @return int|null + */ + public function getSize(): ?int { + $val = $this->getBackingStore()->get('size'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'size'"); + } + + /** + * Gets the status property value. The status property + * @return ExchangeMessageTraceStatus|null + */ + public function getStatus(): ?ExchangeMessageTraceStatus { + $val = $this->getBackingStore()->get('status'); + if (is_null($val) || $val instanceof ExchangeMessageTraceStatus) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'status'"); + } + + /** + * Gets the subject property value. The subject property + * @return string|null + */ + public function getSubject(): ?string { + $val = $this->getBackingStore()->get('subject'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'subject'"); + } + + /** + * Gets the toIP property value. The toIP property + * @return string|null + */ + public function getToIP(): ?string { + $val = $this->getBackingStore()->get('toIP'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'toIP'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('fromIP', $this->getFromIP()); + $writer->writeStringValue('messageId', $this->getMessageId()); + $writer->writeDateTimeValue('receivedDateTime', $this->getReceivedDateTime()); + $writer->writeStringValue('recipientAddress', $this->getRecipientAddress()); + $writer->writeStringValue('senderAddress', $this->getSenderAddress()); + $writer->writeIntegerValue('size', $this->getSize()); + $writer->writeEnumValue('status', $this->getStatus()); + $writer->writeStringValue('subject', $this->getSubject()); + $writer->writeStringValue('toIP', $this->getToIP()); + } + + /** + * Sets the fromIP property value. The fromIP property + * @param string|null $value Value to set for the fromIP property. + */ + public function setFromIP(?string $value): void { + $this->getBackingStore()->set('fromIP', $value); + } + + /** + * Sets the messageId property value. The messageId property + * @param string|null $value Value to set for the messageId property. + */ + public function setMessageId(?string $value): void { + $this->getBackingStore()->set('messageId', $value); + } + + /** + * Sets the receivedDateTime property value. The receivedDateTime property + * @param DateTime|null $value Value to set for the receivedDateTime property. + */ + public function setReceivedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('receivedDateTime', $value); + } + + /** + * Sets the recipientAddress property value. The recipientAddress property + * @param string|null $value Value to set for the recipientAddress property. + */ + public function setRecipientAddress(?string $value): void { + $this->getBackingStore()->set('recipientAddress', $value); + } + + /** + * Sets the senderAddress property value. The senderAddress property + * @param string|null $value Value to set for the senderAddress property. + */ + public function setSenderAddress(?string $value): void { + $this->getBackingStore()->set('senderAddress', $value); + } + + /** + * Sets the size property value. The size property + * @param int|null $value Value to set for the size property. + */ + public function setSize(?int $value): void { + $this->getBackingStore()->set('size', $value); + } + + /** + * Sets the status property value. The status property + * @param ExchangeMessageTraceStatus|null $value Value to set for the status property. + */ + public function setStatus(?ExchangeMessageTraceStatus $value): void { + $this->getBackingStore()->set('status', $value); + } + + /** + * Sets the subject property value. The subject property + * @param string|null $value Value to set for the subject property. + */ + public function setSubject(?string $value): void { + $this->getBackingStore()->set('subject', $value); + } + + /** + * Sets the toIP property value. The toIP property + * @param string|null $value Value to set for the toIP property. + */ + public function setToIP(?string $value): void { + $this->getBackingStore()->set('toIP', $value); + } + +} diff --git a/src/Generated/Models/ExchangeMessageTraceCollectionResponse.php b/src/Generated/Models/ExchangeMessageTraceCollectionResponse.php new file mode 100644 index 00000000000..7be2ac9da32 --- /dev/null +++ b/src/Generated/Models/ExchangeMessageTraceCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ExchangeMessageTrace::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ExchangeMessageTrace::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/ExchangeMessageTraceDetail.php b/src/Generated/Models/ExchangeMessageTraceDetail.php new file mode 100644 index 00000000000..bab20393a2a --- /dev/null +++ b/src/Generated/Models/ExchangeMessageTraceDetail.php @@ -0,0 +1,178 @@ +getBackingStore()->get('action'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'action'"); + } + + /** + * Gets the data property value. The data property + * @return string|null + */ + public function getData(): ?string { + $val = $this->getBackingStore()->get('data'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'data'"); + } + + /** + * Gets the dateTime property value. The dateTime property + * @return DateTime|null + */ + public function getDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('dateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'dateTime'"); + } + + /** + * Gets the description property value. The description property + * @return string|null + */ + public function getDescription(): ?string { + $val = $this->getBackingStore()->get('description'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'description'"); + } + + /** + * Gets the event property value. The event property + * @return string|null + */ + public function getEvent(): ?string { + $val = $this->getBackingStore()->get('event'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'event'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'action' => fn(ParseNode $n) => $o->setAction($n->getStringValue()), + 'data' => fn(ParseNode $n) => $o->setData($n->getStringValue()), + 'dateTime' => fn(ParseNode $n) => $o->setDateTime($n->getDateTimeValue()), + 'description' => fn(ParseNode $n) => $o->setDescription($n->getStringValue()), + 'event' => fn(ParseNode $n) => $o->setEvent($n->getStringValue()), + 'messageId' => fn(ParseNode $n) => $o->setMessageId($n->getStringValue()), + ]); + } + + /** + * Gets the messageId property value. The messageId property + * @return string|null + */ + public function getMessageId(): ?string { + $val = $this->getBackingStore()->get('messageId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'messageId'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('action', $this->getAction()); + $writer->writeStringValue('data', $this->getData()); + $writer->writeDateTimeValue('dateTime', $this->getDateTime()); + $writer->writeStringValue('description', $this->getDescription()); + $writer->writeStringValue('event', $this->getEvent()); + $writer->writeStringValue('messageId', $this->getMessageId()); + } + + /** + * Sets the action property value. The action property + * @param string|null $value Value to set for the action property. + */ + public function setAction(?string $value): void { + $this->getBackingStore()->set('action', $value); + } + + /** + * Sets the data property value. The data property + * @param string|null $value Value to set for the data property. + */ + public function setData(?string $value): void { + $this->getBackingStore()->set('data', $value); + } + + /** + * Sets the dateTime property value. The dateTime property + * @param DateTime|null $value Value to set for the dateTime property. + */ + public function setDateTime(?DateTime $value): void { + $this->getBackingStore()->set('dateTime', $value); + } + + /** + * Sets the description property value. The description property + * @param string|null $value Value to set for the description property. + */ + public function setDescription(?string $value): void { + $this->getBackingStore()->set('description', $value); + } + + /** + * Sets the event property value. The event property + * @param string|null $value Value to set for the event property. + */ + public function setEvent(?string $value): void { + $this->getBackingStore()->set('event', $value); + } + + /** + * Sets the messageId property value. The messageId property + * @param string|null $value Value to set for the messageId property. + */ + public function setMessageId(?string $value): void { + $this->getBackingStore()->set('messageId', $value); + } + +} diff --git a/src/Generated/Models/ExchangeMessageTraceStatus.php b/src/Generated/Models/ExchangeMessageTraceStatus.php new file mode 100644 index 00000000000..9fd2c5dc19e --- /dev/null +++ b/src/Generated/Models/ExchangeMessageTraceStatus.php @@ -0,0 +1,16 @@ + fn(ParseNode $n) => $o->setUnseenCount($n->getIntegerValue()), 'unseenMessagesCount' => fn(ParseNode $n) => $o->setUnseenMessagesCount($n->getIntegerValue()), 'visibility' => fn(ParseNode $n) => $o->setVisibility($n->getStringValue()), + 'welcomeMessageEnabled' => fn(ParseNode $n) => $o->setWelcomeMessageEnabled($n->getBooleanValue()), 'writebackConfiguration' => fn(ParseNode $n) => $o->setWritebackConfiguration($n->getObjectValue([GroupWritebackConfiguration::class, 'createFromDiscriminatorValue'])), ]); } @@ -1190,6 +1191,18 @@ public function getVisibility(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'visibility'"); } + /** + * Gets the welcomeMessageEnabled property value. The welcomeMessageEnabled property + * @return bool|null + */ + public function getWelcomeMessageEnabled(): ?bool { + $val = $this->getBackingStore()->get('welcomeMessageEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'welcomeMessageEnabled'"); + } + /** * Gets the writebackConfiguration property value. Specifies whether or not a group is configured to write back group object properties to on-premises Active Directory. These properties are used when group writeback is configured in the Microsoft Entra Connect sync client. * @return GroupWritebackConfiguration|null @@ -1289,6 +1302,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeIntegerValue('unseenCount', $this->getUnseenCount()); $writer->writeIntegerValue('unseenMessagesCount', $this->getUnseenMessagesCount()); $writer->writeStringValue('visibility', $this->getVisibility()); + $writer->writeBooleanValue('welcomeMessageEnabled', $this->getWelcomeMessageEnabled()); $writer->writeObjectValue('writebackConfiguration', $this->getWritebackConfiguration()); } @@ -1940,6 +1954,14 @@ public function setVisibility(?string $value): void { $this->getBackingStore()->set('visibility', $value); } + /** + * Sets the welcomeMessageEnabled property value. The welcomeMessageEnabled property + * @param bool|null $value Value to set for the welcomeMessageEnabled property. + */ + public function setWelcomeMessageEnabled(?bool $value): void { + $this->getBackingStore()->set('welcomeMessageEnabled', $value); + } + /** * Sets the writebackConfiguration property value. Specifies whether or not a group is configured to write back group object properties to on-premises Active Directory. These properties are used when group writeback is configured in the Microsoft Entra Connect sync client. * @param GroupWritebackConfiguration|null $value Value to set for the writebackConfiguration property. diff --git a/src/Generated/Models/InheritablePermission.php b/src/Generated/Models/InheritablePermission.php new file mode 100644 index 00000000000..30b98f502be --- /dev/null +++ b/src/Generated/Models/InheritablePermission.php @@ -0,0 +1,158 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return InheritablePermission + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): InheritablePermission { + return new InheritablePermission(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'inheritableScopes' => fn(ParseNode $n) => $o->setInheritableScopes($n->getObjectValue([InheritableScopes::class, 'createFromDiscriminatorValue'])), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'resourceAppId' => fn(ParseNode $n) => $o->setResourceAppId($n->getStringValue()), + ]; + } + + /** + * Gets the inheritableScopes property value. The inheritableScopes property + * @return InheritableScopes|null + */ + public function getInheritableScopes(): ?InheritableScopes { + $val = $this->getBackingStore()->get('inheritableScopes'); + if (is_null($val) || $val instanceof InheritableScopes) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'inheritableScopes'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the resourceAppId property value. The appId of the resource application that publishes these scopes. Primary key. + * @return string|null + */ + public function getResourceAppId(): ?string { + $val = $this->getBackingStore()->get('resourceAppId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'resourceAppId'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('inheritableScopes', $this->getInheritableScopes()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('resourceAppId', $this->getResourceAppId()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the inheritableScopes property value. The inheritableScopes property + * @param InheritableScopes|null $value Value to set for the inheritableScopes property. + */ + public function setInheritableScopes(?InheritableScopes $value): void { + $this->getBackingStore()->set('inheritableScopes', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the resourceAppId property value. The appId of the resource application that publishes these scopes. Primary key. + * @param string|null $value Value to set for the resourceAppId property. + */ + public function setResourceAppId(?string $value): void { + $this->getBackingStore()->set('resourceAppId', $value); + } + +} diff --git a/src/Generated/Models/InheritableScopes.php b/src/Generated/Models/InheritableScopes.php new file mode 100644 index 00000000000..c91b5422478 --- /dev/null +++ b/src/Generated/Models/InheritableScopes.php @@ -0,0 +1,145 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return InheritableScopes + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): InheritableScopes { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.allAllowedScopes': return new AllAllowedScopes(); + case '#microsoft.graph.enumeratedScopes': return new EnumeratedScopes(); + case '#microsoft.graph.noScopes': return new NoScopes(); + } + } + return new InheritableScopes(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'kind' => fn(ParseNode $n) => $o->setKind($n->getEnumValue(ScopeCollectionKind::class)), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the kind property value. The kind property + * @return ScopeCollectionKind|null + */ + public function getKind(): ?ScopeCollectionKind { + $val = $this->getBackingStore()->get('kind'); + if (is_null($val) || $val instanceof ScopeCollectionKind) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'kind'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeEnumValue('kind', $this->getKind()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the kind property value. The kind property + * @param ScopeCollectionKind|null $value Value to set for the kind property. + */ + public function setKind(?ScopeCollectionKind $value): void { + $this->getBackingStore()->set('kind', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + +} diff --git a/src/Generated/Models/Json.php b/src/Generated/Models/Json.php new file mode 100644 index 00000000000..19516b8d6ef --- /dev/null +++ b/src/Generated/Models/Json.php @@ -0,0 +1,117 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return Json + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): Json { + return new Json(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + +} diff --git a/src/Generated/Models/Kind.php b/src/Generated/Models/Kind.php new file mode 100644 index 00000000000..bc992996542 --- /dev/null +++ b/src/Generated/Models/Kind.php @@ -0,0 +1,11 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'messageTraces' => fn(ParseNode $n) => $o->setMessageTraces($n->getCollectionOfObjectValues([ExchangeMessageTrace::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the messageTraces property value. The messageTraces property + * @return array|null + */ + public function getMessageTraces(): ?array { + $val = $this->getBackingStore()->get('messageTraces'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ExchangeMessageTrace::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'messageTraces'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('messageTraces', $this->getMessageTraces()); + } + + /** + * Sets the messageTraces property value. The messageTraces property + * @param array|null $value Value to set for the messageTraces property. + */ + public function setMessageTraces(?array $value): void { + $this->getBackingStore()->set('messageTraces', $value); + } + +} diff --git a/src/Generated/Models/CloudPcImageOsArchitectureType.php b/src/Generated/Models/MigrationMode.php similarity index 56% rename from src/Generated/Models/CloudPcImageOsArchitectureType.php rename to src/Generated/Models/MigrationMode.php index 938284d1b8a..b7fa15a012f 100644 --- a/src/Generated/Models/CloudPcImageOsArchitectureType.php +++ b/src/Generated/Models/MigrationMode.php @@ -4,8 +4,8 @@ use Microsoft\Kiota\Abstractions\Enum; -class CloudPcImageOsArchitectureType extends Enum { - public const X64 = "x64"; - public const ARM64 = "arm64"; +class MigrationMode extends Enum { + public const IN_PROGRESS = "inProgress"; + public const COMPLETED = "completed"; public const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Generated/Models/Networkaccess/CustomBlockPage.php b/src/Generated/Models/Networkaccess/CustomBlockPage.php index 644a8f3210c..84b8f60f033 100644 --- a/src/Generated/Models/Networkaccess/CustomBlockPage.php +++ b/src/Generated/Models/Networkaccess/CustomBlockPage.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Custo } /** - * Gets the configuration property value. The configuration property + * Gets the configuration property value. The current configuration of the customized message. The body can be input in limited markdown language, supporting links via the format: link. * @return BlockPageConfigurationBase|null */ public function getConfiguration(): ?BlockPageConfigurationBase { @@ -72,7 +72,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the configuration property value. The configuration property + * Sets the configuration property value. The current configuration of the customized message. The body can be input in limited markdown language, supporting links via the format: link. * @param BlockPageConfigurationBase|null $value Value to set for the configuration property. */ public function setConfiguration(?BlockPageConfigurationBase $value): void { diff --git a/src/Generated/Models/Networkaccess/MarkdownBlockMessageConfiguration.php b/src/Generated/Models/Networkaccess/MarkdownBlockMessageConfiguration.php index 55bfb2dc99b..289892530d1 100644 --- a/src/Generated/Models/Networkaccess/MarkdownBlockMessageConfiguration.php +++ b/src/Generated/Models/Networkaccess/MarkdownBlockMessageConfiguration.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Markd } /** - * Gets the body property value. The body property + * Gets the body property value. Body field of HTML error generated by the Global Secure Access service. Can be programmed in limited Markdown language, with a limit of 1024 characters. * @return string|null */ public function getBody(): ?string { @@ -58,7 +58,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the body property value. The body property + * Sets the body property value. Body field of HTML error generated by the Global Secure Access service. Can be programmed in limited Markdown language, with a limit of 1024 characters. * @param string|null $value Value to set for the body property. */ public function setBody(?string $value): void { diff --git a/src/Generated/Models/NoScopes.php b/src/Generated/Models/NoScopes.php new file mode 100644 index 00000000000..50371076626 --- /dev/null +++ b/src/Generated/Models/NoScopes.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.noScopes'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return NoScopes + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): NoScopes { + return new NoScopes(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/ProtocolType.php b/src/Generated/Models/ProtocolType.php index c8fa7386c72..d86a773ab52 100644 --- a/src/Generated/Models/ProtocolType.php +++ b/src/Generated/Models/ProtocolType.php @@ -31,4 +31,6 @@ class ProtocolType extends Enum { public const PRT_NON_BROKER_BASED = "prtNonBrokerBased"; public const ON_BEHALF_OF = "onBehalfOf"; public const SAML_ON_BEHALF_OF = "samlOnBehalfOf"; + public const OFFICE_S2_S = "officeS2S"; + public const WS_TRUST = "wsTrust"; } diff --git a/src/Generated/Models/RestorePointSearchResult.php b/src/Generated/Models/RestorePointSearchResult.php index 32c4944eb89..7bf3a55748d 100644 --- a/src/Generated/Models/RestorePointSearchResult.php +++ b/src/Generated/Models/RestorePointSearchResult.php @@ -48,7 +48,7 @@ public function getAdditionalData(): ?array { } /** - * Gets the artifactHitCount property value. Total number of artifacts restored. + * Gets the artifactHitCount property value. Total number of mailbox items that can be restored for a granular restore session. * @return int|null */ public function getArtifactHitCount(): ?int { @@ -124,7 +124,7 @@ public function setAdditionalData(?array $value): void { } /** - * Sets the artifactHitCount property value. Total number of artifacts restored. + * Sets the artifactHitCount property value. Total number of mailbox items that can be restored for a granular restore session. * @param int|null $value Value to set for the artifactHitCount property. */ public function setArtifactHitCount(?int $value): void { diff --git a/src/Generated/Models/RiskDetail.php b/src/Generated/Models/RiskDetail.php index 3551b7a9b21..dcdc045ae8e 100644 --- a/src/Generated/Models/RiskDetail.php +++ b/src/Generated/Models/RiskDetail.php @@ -26,4 +26,5 @@ class RiskDetail extends Enum { public const ADMIN_CONFIRMED_AGENT_SAFE = "adminConfirmedAgentSafe"; public const ADMIN_CONFIRMED_AGENT_COMPROMISED = "adminConfirmedAgentCompromised"; public const ADMIN_DISMISSED_RISK_FOR_AGENT = "adminDismissedRiskForAgent"; + public const MICROSOFT_REVOKED_SESSIONS = "microsoftRevokedSessions"; } diff --git a/src/Generated/Models/Room.php b/src/Generated/Models/Room.php index 58d4f9c3606..7710b47373a 100644 --- a/src/Generated/Models/Room.php +++ b/src/Generated/Models/Room.php @@ -169,7 +169,7 @@ public function getNickname(): ?string { } /** - * Gets the placeId property value. An alternate immutable unique identifier of the room. Read-only. + * Gets the placeId property value. An alternative immutable unique identifier of the room. Read-only. * @return string|null */ public function getPlaceId(): ?string { @@ -306,7 +306,7 @@ public function setNickname(?string $value): void { } /** - * Sets the placeId property value. An alternate immutable unique identifier of the room. Read-only. + * Sets the placeId property value. An alternative immutable unique identifier of the room. Read-only. * @param string|null $value Value to set for the placeId property. */ public function setPlaceId(?string $value): void { diff --git a/src/Generated/Models/ScopeCollectionKind.php b/src/Generated/Models/ScopeCollectionKind.php new file mode 100644 index 00000000000..a9be7762d55 --- /dev/null +++ b/src/Generated/Models/ScopeCollectionKind.php @@ -0,0 +1,13 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return SearchSensitivityLabelInfo + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): SearchSensitivityLabelInfo { + return new SearchSensitivityLabelInfo(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the color property value. The color property + * @return string|null + */ + public function getColor(): ?string { + $val = $this->getBackingStore()->get('color'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'color'"); + } + + /** + * Gets the displayName property value. The displayName property + * @return string|null + */ + public function getDisplayName(): ?string { + $val = $this->getBackingStore()->get('displayName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'displayName'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'color' => fn(ParseNode $n) => $o->setColor($n->getStringValue()), + 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'priority' => fn(ParseNode $n) => $o->setPriority($n->getIntegerValue()), + 'sensitivityLabelId' => fn(ParseNode $n) => $o->setSensitivityLabelId($n->getStringValue()), + 'tooltip' => fn(ParseNode $n) => $o->setTooltip($n->getStringValue()), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the priority property value. The priority property + * @return int|null + */ + public function getPriority(): ?int { + $val = $this->getBackingStore()->get('priority'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'priority'"); + } + + /** + * Gets the sensitivityLabelId property value. The sensitivityLabelId property + * @return string|null + */ + public function getSensitivityLabelId(): ?string { + $val = $this->getBackingStore()->get('sensitivityLabelId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sensitivityLabelId'"); + } + + /** + * Gets the tooltip property value. The tooltip property + * @return string|null + */ + public function getTooltip(): ?string { + $val = $this->getBackingStore()->get('tooltip'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'tooltip'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the color property value. The color property + * @param string|null $value Value to set for the color property. + */ + public function setColor(?string $value): void { + $this->getBackingStore()->set('color', $value); + } + + /** + * Sets the displayName property value. The displayName property + * @param string|null $value Value to set for the displayName property. + */ + public function setDisplayName(?string $value): void { + $this->getBackingStore()->set('displayName', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the priority property value. The priority property + * @param int|null $value Value to set for the priority property. + */ + public function setPriority(?int $value): void { + $this->getBackingStore()->set('priority', $value); + } + + /** + * Sets the sensitivityLabelId property value. The sensitivityLabelId property + * @param string|null $value Value to set for the sensitivityLabelId property. + */ + public function setSensitivityLabelId(?string $value): void { + $this->getBackingStore()->set('sensitivityLabelId', $value); + } + + /** + * Sets the tooltip property value. The tooltip property + * @param string|null $value Value to set for the tooltip property. + */ + public function setTooltip(?string $value): void { + $this->getBackingStore()->set('tooltip', $value); + } + +} diff --git a/src/Generated/Models/Security/ActiveDirectoryDomainEvidence.php b/src/Generated/Models/Security/ActiveDirectoryDomainEvidence.php new file mode 100644 index 00000000000..55c955df20f --- /dev/null +++ b/src/Generated/Models/Security/ActiveDirectoryDomainEvidence.php @@ -0,0 +1,93 @@ +setOdataType('#microsoft.graph.security.activeDirectoryDomainEvidence'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ActiveDirectoryDomainEvidence + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ActiveDirectoryDomainEvidence { + return new ActiveDirectoryDomainEvidence(); + } + + /** + * Gets the activeDirectoryDomainName property value. The activeDirectoryDomainName property + * @return string|null + */ + public function getActiveDirectoryDomainName(): ?string { + $val = $this->getBackingStore()->get('activeDirectoryDomainName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'activeDirectoryDomainName'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'activeDirectoryDomainName' => fn(ParseNode $n) => $o->setActiveDirectoryDomainName($n->getStringValue()), + 'trustedDomains' => fn(ParseNode $n) => $o->setTrustedDomains($n->getCollectionOfObjectValues([ActiveDirectoryDomainEvidence::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the trustedDomains property value. The trustedDomains property + * @return array|null + */ + public function getTrustedDomains(): ?array { + $val = $this->getBackingStore()->get('trustedDomains'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ActiveDirectoryDomainEvidence::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'trustedDomains'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('activeDirectoryDomainName', $this->getActiveDirectoryDomainName()); + $writer->writeCollectionOfObjectValues('trustedDomains', $this->getTrustedDomains()); + } + + /** + * Sets the activeDirectoryDomainName property value. The activeDirectoryDomainName property + * @param string|null $value Value to set for the activeDirectoryDomainName property. + */ + public function setActiveDirectoryDomainName(?string $value): void { + $this->getBackingStore()->set('activeDirectoryDomainName', $value); + } + + /** + * Sets the trustedDomains property value. The trustedDomains property + * @param array|null $value Value to set for the trustedDomains property. + */ + public function setTrustedDomains(?array $value): void { + $this->getBackingStore()->set('trustedDomains', $value); + } + +} diff --git a/src/Generated/Models/Security/AlertEvidence.php b/src/Generated/Models/Security/AlertEvidence.php index 2fb9a88d9fa..4bafad757e9 100644 --- a/src/Generated/Models/Security/AlertEvidence.php +++ b/src/Generated/Models/Security/AlertEvidence.php @@ -37,6 +37,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Alert if ($mappingValueNode !== null) { $mappingValue = $mappingValueNode->getStringValue(); switch ($mappingValue) { + case '#microsoft.graph.security.activeDirectoryDomainEvidence': return new ActiveDirectoryDomainEvidence(); case '#microsoft.graph.security.aiAgentEvidence': return new AiAgentEvidence(); case '#microsoft.graph.security.amazonResourceEvidence': return new AmazonResourceEvidence(); case '#microsoft.graph.security.analyzedMessageEvidence': return new AnalyzedMessageEvidence(); diff --git a/src/Generated/Models/Security/DeviceEvidence.php b/src/Generated/Models/Security/DeviceEvidence.php index cddad59c2b5..255c82e964b 100644 --- a/src/Generated/Models/Security/DeviceEvidence.php +++ b/src/Generated/Models/Security/DeviceEvidence.php @@ -40,7 +40,7 @@ public function getAzureAdDeviceId(): ?string { } /** - * Gets the defenderAvStatus property value. State of the Defender AntiMalware engine. The possible values are: notReporting, disabled, notUpdated, updated, unknown, notSupported, unknownFutureValue. + * Gets the defenderAvStatus property value. State of the Defender anti-malware engine. The possible values are: notReporting, disabled, notUpdated, updated, unknown, notSupported, unknownFutureValue. * @return DefenderAvStatus|null */ public function getDefenderAvStatus(): ?DefenderAvStatus { @@ -107,6 +107,7 @@ public function getFieldDeserializers(): array { 'osPlatform' => fn(ParseNode $n) => $o->setOsPlatform($n->getStringValue()), 'rbacGroupId' => fn(ParseNode $n) => $o->setRbacGroupId($n->getIntegerValue()), 'rbacGroupName' => fn(ParseNode $n) => $o->setRbacGroupName($n->getStringValue()), + 'resourceAccessEvents' => fn(ParseNode $n) => $o->setResourceAccessEvents($n->getCollectionOfObjectValues([ResourceAccessEvent::class, 'createFromDiscriminatorValue'])), 'riskScore' => fn(ParseNode $n) => $o->setRiskScore($n->getEnumValue(DeviceRiskScore::class)), 'version' => fn(ParseNode $n) => $o->setVersion($n->getStringValue()), 'vmMetadata' => fn(ParseNode $n) => $o->setVmMetadata($n->getObjectValue([VmMetadata::class, 'createFromDiscriminatorValue'])), @@ -285,6 +286,20 @@ public function getRbacGroupName(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'rbacGroupName'"); } + /** + * Gets the resourceAccessEvents property value. Information on resource access attempts made by the user account. + * @return array|null + */ + public function getResourceAccessEvents(): ?array { + $val = $this->getBackingStore()->get('resourceAccessEvents'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ResourceAccessEvent::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'resourceAccessEvents'"); + } + /** * Gets the riskScore property value. Risk score as evaluated by Microsoft Defender for Endpoint. The possible values are: none, informational, low, medium, high, unknownFutureValue. * @return DeviceRiskScore|null @@ -345,6 +360,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('osPlatform', $this->getOsPlatform()); $writer->writeIntegerValue('rbacGroupId', $this->getRbacGroupId()); $writer->writeStringValue('rbacGroupName', $this->getRbacGroupName()); + $writer->writeCollectionOfObjectValues('resourceAccessEvents', $this->getResourceAccessEvents()); $writer->writeEnumValue('riskScore', $this->getRiskScore()); $writer->writeStringValue('version', $this->getVersion()); $writer->writeObjectValue('vmMetadata', $this->getVmMetadata()); @@ -359,7 +375,7 @@ public function setAzureAdDeviceId(?string $value): void { } /** - * Sets the defenderAvStatus property value. State of the Defender AntiMalware engine. The possible values are: notReporting, disabled, notUpdated, updated, unknown, notSupported, unknownFutureValue. + * Sets the defenderAvStatus property value. State of the Defender anti-malware engine. The possible values are: notReporting, disabled, notUpdated, updated, unknown, notSupported, unknownFutureValue. * @param DefenderAvStatus|null $value Value to set for the defenderAvStatus property. */ public function setDefenderAvStatus(?DefenderAvStatus $value): void { @@ -494,6 +510,14 @@ public function setRbacGroupName(?string $value): void { $this->getBackingStore()->set('rbacGroupName', $value); } + /** + * Sets the resourceAccessEvents property value. Information on resource access attempts made by the user account. + * @param array|null $value Value to set for the resourceAccessEvents property. + */ + public function setResourceAccessEvents(?array $value): void { + $this->getBackingStore()->set('resourceAccessEvents', $value); + } + /** * Sets the riskScore property value. Risk score as evaluated by Microsoft Defender for Endpoint. The possible values are: none, informational, low, medium, high, unknownFutureValue. * @param DeviceRiskScore|null $value Value to set for the riskScore property. diff --git a/src/Generated/Models/Security/IdentityContainer.php b/src/Generated/Models/Security/IdentityContainer.php index 4af7a86411d..16dbc9301f6 100644 --- a/src/Generated/Models/Security/IdentityContainer.php +++ b/src/Generated/Models/Security/IdentityContainer.php @@ -83,7 +83,7 @@ public function getSensorCandidateActivationConfiguration(): ?SensorCandidateAct } /** - * Gets the sensorCandidates property value. Represents Microsoft Defender for Identity sensors that are ready to be activated. + * Gets the sensorCandidates property value. The sensorCandidates property * @return array|null */ public function getSensorCandidates(): ?array { @@ -111,7 +111,7 @@ public function getSensors(): ?array { } /** - * Gets the settings property value. Represents a container for security identities settings APIs. + * Gets the settings property value. The settings property * @return SettingsContainer|null */ public function getSettings(): ?SettingsContainer { @@ -161,7 +161,7 @@ public function setSensorCandidateActivationConfiguration(?SensorCandidateActiva } /** - * Sets the sensorCandidates property value. Represents Microsoft Defender for Identity sensors that are ready to be activated. + * Sets the sensorCandidates property value. The sensorCandidates property * @param array|null $value Value to set for the sensorCandidates property. */ public function setSensorCandidates(?array $value): void { @@ -177,7 +177,7 @@ public function setSensors(?array $value): void { } /** - * Sets the settings property value. Represents a container for security identities settings APIs. + * Sets the settings property value. The settings property * @param SettingsContainer|null $value Value to set for the settings property. */ public function setSettings(?SettingsContainer $value): void { diff --git a/src/Generated/Models/Security/MailboxConfigurationEvidence.php b/src/Generated/Models/Security/MailboxConfigurationEvidence.php index ab395c0a7f3..58cf52092f8 100644 --- a/src/Generated/Models/Security/MailboxConfigurationEvidence.php +++ b/src/Generated/Models/Security/MailboxConfigurationEvidence.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Mailb } /** - * Gets the configurationId property value. The configurationId property + * Gets the configurationId property value. The unique identifier of the mailbox configuration. * @return string|null */ public function getConfigurationId(): ?string { @@ -38,7 +38,7 @@ public function getConfigurationId(): ?string { } /** - * Gets the configurationType property value. The configurationType property + * Gets the configurationType property value. The type of mailbox configuration. The possible values are: mailForwardingRule, owaSettings, ewsSettings, mailDelegation, userInboxRule, unknownFutureValue. * @return MailboxConfigurationType|null */ public function getConfigurationType(): ?MailboxConfigurationType { @@ -50,7 +50,7 @@ public function getConfigurationType(): ?MailboxConfigurationType { } /** - * Gets the displayName property value. The displayName property + * Gets the displayName property value. The display name of the mailbox. * @return string|null */ public function getDisplayName(): ?string { @@ -62,7 +62,7 @@ public function getDisplayName(): ?string { } /** - * Gets the externalDirectoryObjectId property value. The externalDirectoryObjectId property + * Gets the externalDirectoryObjectId property value. The external directory object identifier of the mailbox. * @return string|null */ public function getExternalDirectoryObjectId(): ?string { @@ -90,7 +90,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the mailboxPrimaryAddress property value. The mailboxPrimaryAddress property + * Gets the mailboxPrimaryAddress property value. The primary email address of the mailbox. * @return string|null */ public function getMailboxPrimaryAddress(): ?string { @@ -102,7 +102,7 @@ public function getMailboxPrimaryAddress(): ?string { } /** - * Gets the upn property value. The upn property + * Gets the upn property value. The user principal name (UPN) of the mailbox. * @return string|null */ public function getUpn(): ?string { @@ -128,7 +128,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the configurationId property value. The configurationId property + * Sets the configurationId property value. The unique identifier of the mailbox configuration. * @param string|null $value Value to set for the configurationId property. */ public function setConfigurationId(?string $value): void { @@ -136,7 +136,7 @@ public function setConfigurationId(?string $value): void { } /** - * Sets the configurationType property value. The configurationType property + * Sets the configurationType property value. The type of mailbox configuration. The possible values are: mailForwardingRule, owaSettings, ewsSettings, mailDelegation, userInboxRule, unknownFutureValue. * @param MailboxConfigurationType|null $value Value to set for the configurationType property. */ public function setConfigurationType(?MailboxConfigurationType $value): void { @@ -144,7 +144,7 @@ public function setConfigurationType(?MailboxConfigurationType $value): void { } /** - * Sets the displayName property value. The displayName property + * Sets the displayName property value. The display name of the mailbox. * @param string|null $value Value to set for the displayName property. */ public function setDisplayName(?string $value): void { @@ -152,7 +152,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the externalDirectoryObjectId property value. The externalDirectoryObjectId property + * Sets the externalDirectoryObjectId property value. The external directory object identifier of the mailbox. * @param string|null $value Value to set for the externalDirectoryObjectId property. */ public function setExternalDirectoryObjectId(?string $value): void { @@ -160,7 +160,7 @@ public function setExternalDirectoryObjectId(?string $value): void { } /** - * Sets the mailboxPrimaryAddress property value. The mailboxPrimaryAddress property + * Sets the mailboxPrimaryAddress property value. The primary email address of the mailbox. * @param string|null $value Value to set for the mailboxPrimaryAddress property. */ public function setMailboxPrimaryAddress(?string $value): void { @@ -168,7 +168,7 @@ public function setMailboxPrimaryAddress(?string $value): void { } /** - * Sets the upn property value. The upn property + * Sets the upn property value. The user principal name (UPN) of the mailbox. * @param string|null $value Value to set for the upn property. */ public function setUpn(?string $value): void { diff --git a/src/Generated/Models/SensitivityLabel.php b/src/Generated/Models/SensitivityLabel.php index faadad579dc..8ebf1fd61d3 100644 --- a/src/Generated/Models/SensitivityLabel.php +++ b/src/Generated/Models/SensitivityLabel.php @@ -123,6 +123,7 @@ public function getFieldDeserializers(): array { 'color' => fn(ParseNode $n) => $o->setColor($n->getStringValue()), 'description' => fn(ParseNode $n) => $o->setDescription($n->getStringValue()), 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + 'hasProtection' => fn(ParseNode $n) => $o->setHasProtection($n->getBooleanValue()), 'isDefault' => fn(ParseNode $n) => $o->setIsDefault($n->getBooleanValue()), 'isEnabled' => fn(ParseNode $n) => $o->setIsEnabled($n->getBooleanValue()), 'isEndpointProtectionEnabled' => fn(ParseNode $n) => $o->setIsEndpointProtectionEnabled($n->getBooleanValue()), @@ -136,6 +137,18 @@ public function getFieldDeserializers(): array { ]); } + /** + * Gets the hasProtection property value. The hasProtection property + * @return bool|null + */ + public function getHasProtection(): ?bool { + $val = $this->getBackingStore()->get('hasProtection'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'hasProtection'"); + } + /** * Gets the isDefault property value. The isDefault property * @return bool|null @@ -271,6 +284,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('color', $this->getColor()); $writer->writeStringValue('description', $this->getDescription()); $writer->writeStringValue('displayName', $this->getDisplayName()); + $writer->writeBooleanValue('hasProtection', $this->getHasProtection()); $writer->writeBooleanValue('isDefault', $this->getIsDefault()); $writer->writeBooleanValue('isEnabled', $this->getIsEnabled()); $writer->writeBooleanValue('isEndpointProtectionEnabled', $this->getIsEndpointProtectionEnabled()); @@ -339,6 +353,14 @@ public function setDisplayName(?string $value): void { $this->getBackingStore()->set('displayName', $value); } + /** + * Sets the hasProtection property value. The hasProtection property + * @param bool|null $value Value to set for the hasProtection property. + */ + public function setHasProtection(?bool $value): void { + $this->getBackingStore()->set('hasProtection', $value); + } + /** * Sets the isDefault property value. The isDefault property * @param bool|null $value Value to set for the isDefault property. diff --git a/src/Generated/Models/ServicePrincipal.php b/src/Generated/Models/ServicePrincipal.php index 73254d6aa96..ea03b161b37 100644 --- a/src/Generated/Models/ServicePrincipal.php +++ b/src/Generated/Models/ServicePrincipal.php @@ -399,6 +399,7 @@ public function getFieldDeserializers(): array { 'homepage' => fn(ParseNode $n) => $o->setHomepage($n->getStringValue()), 'homeRealmDiscoveryPolicies' => fn(ParseNode $n) => $o->setHomeRealmDiscoveryPolicies($n->getCollectionOfObjectValues([HomeRealmDiscoveryPolicy::class, 'createFromDiscriminatorValue'])), 'info' => fn(ParseNode $n) => $o->setInfo($n->getObjectValue([InformationalUrl::class, 'createFromDiscriminatorValue'])), + 'isDisabled' => fn(ParseNode $n) => $o->setIsDisabled($n->getBooleanValue()), 'keyCredentials' => fn(ParseNode $n) => $o->setKeyCredentials($n->getCollectionOfObjectValues([KeyCredential::class, 'createFromDiscriminatorValue'])), 'licenseDetails' => fn(ParseNode $n) => $o->setLicenseDetails($n->getCollectionOfObjectValues([LicenseDetails::class, 'createFromDiscriminatorValue'])), 'loginUrl' => fn(ParseNode $n) => $o->setLoginUrl($n->getStringValue()), @@ -500,6 +501,18 @@ public function getInfo(): ?InformationalUrl { throw new \UnexpectedValueException("Invalid type found in backing store for 'info'"); } + /** + * Gets the isDisabled property value. Specifies whether the service principal of the app in a tenant or across tenants for multi-tenant apps can obtain new access tokens or access protected resources. When set to true, existing tokens remain valid until they expire based on their configured lifetimes, and the app stays visible in the Enterprise apps list but users cannot sign in.true if the application is deactivated (disabled); otherwise false. + * @return bool|null + */ + public function getIsDisabled(): ?bool { + $val = $this->getBackingStore()->get('isDisabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isDisabled'"); + } + /** * Gets the keyCredentials property value. The collection of key credentials associated with the service principal. Not nullable. Supports $filter (eq, not, ge, le). * @return array|null @@ -950,6 +963,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('homepage', $this->getHomepage()); $writer->writeCollectionOfObjectValues('homeRealmDiscoveryPolicies', $this->getHomeRealmDiscoveryPolicies()); $writer->writeObjectValue('info', $this->getInfo()); + $writer->writeBooleanValue('isDisabled', $this->getIsDisabled()); $writer->writeCollectionOfObjectValues('keyCredentials', $this->getKeyCredentials()); $writer->writeCollectionOfObjectValues('licenseDetails', $this->getLicenseDetails()); $writer->writeStringValue('loginUrl', $this->getLoginUrl()); @@ -1208,6 +1222,14 @@ public function setInfo(?InformationalUrl $value): void { $this->getBackingStore()->set('info', $value); } + /** + * Sets the isDisabled property value. Specifies whether the service principal of the app in a tenant or across tenants for multi-tenant apps can obtain new access tokens or access protected resources. When set to true, existing tokens remain valid until they expire based on their configured lifetimes, and the app stays visible in the Enterprise apps list but users cannot sign in.true if the application is deactivated (disabled); otherwise false. + * @param bool|null $value Value to set for the isDisabled property. + */ + public function setIsDisabled(?bool $value): void { + $this->getBackingStore()->set('isDisabled', $value); + } + /** * Sets the keyCredentials property value. The collection of key credentials associated with the service principal. Not nullable. Supports $filter (eq, not, ge, le). * @param array|null $value Value to set for the keyCredentials property. diff --git a/src/Generated/Models/SharePointIdentityMapping.php b/src/Generated/Models/SharePointIdentityMapping.php index 15243f91a77..69ae93a35cf 100644 --- a/src/Generated/Models/SharePointIdentityMapping.php +++ b/src/Generated/Models/SharePointIdentityMapping.php @@ -32,6 +32,18 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Share return new SharePointIdentityMapping(); } + /** + * Gets the deleted property value. Indicates that an identity mapping was deleted successfully. + * @return Deleted|null + */ + public function getDeleted(): ?Deleted { + $val = $this->getBackingStore()->get('deleted'); + if (is_null($val) || $val instanceof Deleted) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'deleted'"); + } + /** * The deserialization information for the current model * @return array @@ -39,6 +51,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Share public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ + 'deleted' => fn(ParseNode $n) => $o->setDeleted($n->getObjectValue([Deleted::class, 'createFromDiscriminatorValue'])), 'sourceOrganizationId' => fn(ParseNode $n) => $o->setSourceOrganizationId($n->getStringValue()), ]); } @@ -61,9 +74,18 @@ public function getSourceOrganizationId(): ?string { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); + $writer->writeObjectValue('deleted', $this->getDeleted()); $writer->writeStringValue('sourceOrganizationId', $this->getSourceOrganizationId()); } + /** + * Sets the deleted property value. Indicates that an identity mapping was deleted successfully. + * @param Deleted|null $value Value to set for the deleted property. + */ + public function setDeleted(?Deleted $value): void { + $this->getBackingStore()->set('deleted', $value); + } + /** * Sets the sourceOrganizationId property value. The unique identifier of the source organization in the migration. * @param string|null $value Value to set for the sourceOrganizationId property. diff --git a/src/Generated/Models/SignInAudienceRestrictionsBase.php b/src/Generated/Models/SignInAudienceRestrictionsBase.php new file mode 100644 index 00000000000..d1c723d64d2 --- /dev/null +++ b/src/Generated/Models/SignInAudienceRestrictionsBase.php @@ -0,0 +1,144 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return SignInAudienceRestrictionsBase + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): SignInAudienceRestrictionsBase { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.allowedTenantsAudience': return new AllowedTenantsAudience(); + case '#microsoft.graph.unrestrictedAudience': return new UnrestrictedAudience(); + } + } + return new SignInAudienceRestrictionsBase(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'kind' => fn(ParseNode $n) => $o->setKind($n->getEnumValue(Kind::class)), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the kind property value. The kind property + * @return Kind|null + */ + public function getKind(): ?Kind { + $val = $this->getBackingStore()->get('kind'); + if (is_null($val) || $val instanceof Kind) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'kind'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeEnumValue('kind', $this->getKind()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the kind property value. The kind property + * @param Kind|null $value Value to set for the kind property. + */ + public function setKind(?Kind $value): void { + $this->getBackingStore()->set('kind', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + +} diff --git a/src/Generated/Models/StructuredDataEntry.php b/src/Generated/Models/StructuredDataEntry.php new file mode 100644 index 00000000000..0619096f2e1 --- /dev/null +++ b/src/Generated/Models/StructuredDataEntry.php @@ -0,0 +1,158 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return StructuredDataEntry + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): StructuredDataEntry { + return new StructuredDataEntry(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'keyEntry' => fn(ParseNode $n) => $o->setKeyEntry($n->getObjectValue([StructuredDataEntryTypedValue::class, 'createFromDiscriminatorValue'])), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'valueEntry' => fn(ParseNode $n) => $o->setValueEntry($n->getObjectValue([StructuredDataEntryTypedValue::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the keyEntry property value. The keyEntry property + * @return StructuredDataEntryTypedValue|null + */ + public function getKeyEntry(): ?StructuredDataEntryTypedValue { + $val = $this->getBackingStore()->get('keyEntry'); + if (is_null($val) || $val instanceof StructuredDataEntryTypedValue) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'keyEntry'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the valueEntry property value. The valueEntry property + * @return StructuredDataEntryTypedValue|null + */ + public function getValueEntry(): ?StructuredDataEntryTypedValue { + $val = $this->getBackingStore()->get('valueEntry'); + if (is_null($val) || $val instanceof StructuredDataEntryTypedValue) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'valueEntry'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('keyEntry', $this->getKeyEntry()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeObjectValue('valueEntry', $this->getValueEntry()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the keyEntry property value. The keyEntry property + * @param StructuredDataEntryTypedValue|null $value Value to set for the keyEntry property. + */ + public function setKeyEntry(?StructuredDataEntryTypedValue $value): void { + $this->getBackingStore()->set('keyEntry', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the valueEntry property value. The valueEntry property + * @param StructuredDataEntryTypedValue|null $value Value to set for the valueEntry property. + */ + public function setValueEntry(?StructuredDataEntryTypedValue $value): void { + $this->getBackingStore()->set('valueEntry', $value); + } + +} diff --git a/src/Generated/Models/StructuredDataEntryTypedValue.php b/src/Generated/Models/StructuredDataEntryTypedValue.php new file mode 100644 index 00000000000..13175c31add --- /dev/null +++ b/src/Generated/Models/StructuredDataEntryTypedValue.php @@ -0,0 +1,168 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return StructuredDataEntryTypedValue + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): StructuredDataEntryTypedValue { + return new StructuredDataEntryTypedValue(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'type' => fn(ParseNode $n) => $o->setType($n->getEnumValue(StructuredDataEntryValueType::class)), + 'values' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setValues($val); + }, + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the type property value. The type property + * @return StructuredDataEntryValueType|null + */ + public function getType(): ?StructuredDataEntryValueType { + $val = $this->getBackingStore()->get('type'); + if (is_null($val) || $val instanceof StructuredDataEntryValueType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); + } + + /** + * Gets the values property value. Represents the value. The contained elements might be one of the following cases: when the type is stringArray, it contains arbitrary string values; otherwise, it contains exactly one string value. The caller is responsible for data type conversion. + * @return array|null + */ + public function getValues(): ?array { + $val = $this->getBackingStore()->get('values'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeEnumValue('type', $this->getType()); + $writer->writeCollectionOfPrimitiveValues('values', $this->getValues()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the type property value. The type property + * @param StructuredDataEntryValueType|null $value Value to set for the type property. + */ + public function setType(?StructuredDataEntryValueType $value): void { + $this->getBackingStore()->set('type', $value); + } + + /** + * Sets the values property value. Represents the value. The contained elements might be one of the following cases: when the type is stringArray, it contains arbitrary string values; otherwise, it contains exactly one string value. The caller is responsible for data type conversion. + * @param array|null $value Value to set for the values property. + */ + public function setValues(?array $value): void { + $this->getBackingStore()->set('values', $value); + } + +} diff --git a/src/Generated/Models/StructuredDataEntryValueType.php b/src/Generated/Models/StructuredDataEntryValueType.php new file mode 100644 index 00000000000..e571718bd9e --- /dev/null +++ b/src/Generated/Models/StructuredDataEntryValueType.php @@ -0,0 +1,19 @@ +setOdataType('#microsoft.graph.targetAgentIdentitySponsorsOrOwners'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return TargetAgentIdentitySponsorsOrOwners + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): TargetAgentIdentitySponsorsOrOwners { + return new TargetAgentIdentitySponsorsOrOwners(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/TeamsAdministration/TeamsUserConfiguration.php b/src/Generated/Models/TeamsAdministration/TeamsUserConfiguration.php index b5292e8863a..8ae327d2779 100644 --- a/src/Generated/Models/TeamsAdministration/TeamsUserConfiguration.php +++ b/src/Generated/Models/TeamsAdministration/TeamsUserConfiguration.php @@ -29,7 +29,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Teams } /** - * Gets the accountType property value. The type of the account in the Teams context. The possible values are: user, resourceAccount, guest, sfbOnPremUser, unknown, unknownFutureValue, ineligibleUser. Use the Prefer: include-unknown-enum-members request header to get the following value from this enum evolvable enum: ineligibleUser. + * Gets the accountType property value. The accountType property * @return AccountType|null */ public function getAccountType(): ?AccountType { @@ -200,7 +200,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the accountType property value. The type of the account in the Teams context. The possible values are: user, resourceAccount, guest, sfbOnPremUser, unknown, unknownFutureValue, ineligibleUser. Use the Prefer: include-unknown-enum-members request header to get the following value from this enum evolvable enum: ineligibleUser. + * Sets the accountType property value. The accountType property * @param AccountType|null $value Value to set for the accountType property. */ public function setAccountType(?AccountType $value): void { diff --git a/src/Generated/Models/TimeOffDetails.php b/src/Generated/Models/TimeOffDetails.php new file mode 100644 index 00000000000..266ca9d6453 --- /dev/null +++ b/src/Generated/Models/TimeOffDetails.php @@ -0,0 +1,158 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return TimeOffDetails + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): TimeOffDetails { + return new TimeOffDetails(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'isAllDay' => fn(ParseNode $n) => $o->setIsAllDay($n->getBooleanValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'subject' => fn(ParseNode $n) => $o->setSubject($n->getStringValue()), + ]; + } + + /** + * Gets the isAllDay property value. Indicates whether the time-off entry spans the entire day. + * @return bool|null + */ + public function getIsAllDay(): ?bool { + $val = $this->getBackingStore()->get('isAllDay'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isAllDay'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the subject property value. The subject or reason for the time-off entry. + * @return string|null + */ + public function getSubject(): ?string { + $val = $this->getBackingStore()->get('subject'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'subject'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('isAllDay', $this->getIsAllDay()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('subject', $this->getSubject()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the isAllDay property value. Indicates whether the time-off entry spans the entire day. + * @param bool|null $value Value to set for the isAllDay property. + */ + public function setIsAllDay(?bool $value): void { + $this->getBackingStore()->set('isAllDay', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the subject property value. The subject or reason for the time-off entry. + * @param string|null $value Value to set for the subject property. + */ + public function setSubject(?string $value): void { + $this->getBackingStore()->set('subject', $value); + } + +} diff --git a/src/Generated/Models/UnavailablePlaceMode.php b/src/Generated/Models/UnavailablePlaceMode.php index bf4d54e545e..d60dc03c276 100644 --- a/src/Generated/Models/UnavailablePlaceMode.php +++ b/src/Generated/Models/UnavailablePlaceMode.php @@ -37,7 +37,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the reason property value. Reason for marking a place unavailable. + * Gets the reason property value. The reason a place is marked unavailable. * @return string|null */ public function getReason(): ?string { @@ -58,7 +58,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the reason property value. Reason for marking a place unavailable. + * Sets the reason property value. The reason a place is marked unavailable. * @param string|null $value Value to set for the reason property. */ public function setReason(?string $value): void { diff --git a/src/Generated/Models/UnrestrictedAudience.php b/src/Generated/Models/UnrestrictedAudience.php new file mode 100644 index 00000000000..da3aa4a0504 --- /dev/null +++ b/src/Generated/Models/UnrestrictedAudience.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.unrestrictedAudience'); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UnrestrictedAudience + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UnrestrictedAudience { + return new UnrestrictedAudience(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/UserConfiguration.php b/src/Generated/Models/UserConfiguration.php index cc60d2d1191..9513d0e8f09 100644 --- a/src/Generated/Models/UserConfiguration.php +++ b/src/Generated/Models/UserConfiguration.php @@ -5,6 +5,7 @@ use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; +use Microsoft\Kiota\Abstractions\Types\TypeUtils; use Psr\Http\Message\StreamInterface; class UserConfiguration extends Entity implements Parsable @@ -45,9 +46,37 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'binaryData' => fn(ParseNode $n) => $o->setBinaryData($n->getBinaryContent()), + 'structuredData' => fn(ParseNode $n) => $o->setStructuredData($n->getCollectionOfObjectValues([StructuredDataEntry::class, 'createFromDiscriminatorValue'])), + 'xmlData' => fn(ParseNode $n) => $o->setXmlData($n->getBinaryContent()), ]); } + /** + * Gets the structuredData property value. Key-value pairs of supported data types. + * @return array|null + */ + public function getStructuredData(): ?array { + $val = $this->getBackingStore()->get('structuredData'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, StructuredDataEntry::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'structuredData'"); + } + + /** + * Gets the xmlData property value. Binary data for storing serialized XML. + * @return StreamInterface|null + */ + public function getXmlData(): ?StreamInterface { + $val = $this->getBackingStore()->get('xmlData'); + if (is_null($val) || $val instanceof StreamInterface) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'xmlData'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -55,6 +84,8 @@ public function getFieldDeserializers(): array { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeBinaryContent('binaryData', $this->getBinaryData()); + $writer->writeCollectionOfObjectValues('structuredData', $this->getStructuredData()); + $writer->writeBinaryContent('xmlData', $this->getXmlData()); } /** @@ -65,4 +96,20 @@ public function setBinaryData(?StreamInterface $value): void { $this->getBackingStore()->set('binaryData', $value); } + /** + * Sets the structuredData property value. Key-value pairs of supported data types. + * @param array|null $value Value to set for the structuredData property. + */ + public function setStructuredData(?array $value): void { + $this->getBackingStore()->set('structuredData', $value); + } + + /** + * Sets the xmlData property value. Binary data for storing serialized XML. + * @param StreamInterface|null $value Value to set for the xmlData property. + */ + public function setXmlData(?StreamInterface $value): void { + $this->getBackingStore()->set('xmlData', $value); + } + } diff --git a/src/Generated/Models/UserSet.php b/src/Generated/Models/UserSet.php index 1df6d2bab8d..203ae1ac22b 100644 --- a/src/Generated/Models/UserSet.php +++ b/src/Generated/Models/UserSet.php @@ -42,6 +42,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): UserS case '#microsoft.graph.internalSponsors': return new InternalSponsors(); case '#microsoft.graph.requestorManager': return new RequestorManager(); case '#microsoft.graph.singleUser': return new SingleUser(); + case '#microsoft.graph.targetAgentIdentitySponsorsOrOwners': return new TargetAgentIdentitySponsorsOrOwners(); case '#microsoft.graph.targetUserSponsors': return new TargetUserSponsors(); } } diff --git a/src/Generated/Models/UserSettings.php b/src/Generated/Models/UserSettings.php index 04ad8f4d218..2031f537125 100644 --- a/src/Generated/Models/UserSettings.php +++ b/src/Generated/Models/UserSettings.php @@ -89,6 +89,7 @@ public function getFieldDeserializers(): array { 'shiftPreferences' => fn(ParseNode $n) => $o->setShiftPreferences($n->getObjectValue([ShiftPreferences::class, 'createFromDiscriminatorValue'])), 'storage' => fn(ParseNode $n) => $o->setStorage($n->getObjectValue([UserStorage::class, 'createFromDiscriminatorValue'])), 'windows' => fn(ParseNode $n) => $o->setWindows($n->getCollectionOfObjectValues([WindowsSetting::class, 'createFromDiscriminatorValue'])), + 'workHoursAndLocations' => fn(ParseNode $n) => $o->setWorkHoursAndLocations($n->getObjectValue([WorkHoursAndLocationsSetting::class, 'createFromDiscriminatorValue'])), ]); } @@ -154,6 +155,18 @@ public function getWindows(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'windows'"); } + /** + * Gets the workHoursAndLocations property value. The user's settings for work hours and location preferences for scheduling and availability management. + * @return WorkHoursAndLocationsSetting|null + */ + public function getWorkHoursAndLocations(): ?WorkHoursAndLocationsSetting { + $val = $this->getBackingStore()->get('workHoursAndLocations'); + if (is_null($val) || $val instanceof WorkHoursAndLocationsSetting) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'workHoursAndLocations'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -169,6 +182,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('shiftPreferences', $this->getShiftPreferences()); $writer->writeObjectValue('storage', $this->getStorage()); $writer->writeCollectionOfObjectValues('windows', $this->getWindows()); + $writer->writeObjectValue('workHoursAndLocations', $this->getWorkHoursAndLocations()); } /** @@ -243,4 +257,12 @@ public function setWindows(?array $value): void { $this->getBackingStore()->set('windows', $value); } + /** + * Sets the workHoursAndLocations property value. The user's settings for work hours and location preferences for scheduling and availability management. + * @param WorkHoursAndLocationsSetting|null $value Value to set for the workHoursAndLocations property. + */ + public function setWorkHoursAndLocations(?WorkHoursAndLocationsSetting $value): void { + $this->getBackingStore()->set('workHoursAndLocations', $value); + } + } diff --git a/src/Generated/Models/UserWorkLocation.php b/src/Generated/Models/UserWorkLocation.php index 5458772f363..80902046eba 100644 --- a/src/Generated/Models/UserWorkLocation.php +++ b/src/Generated/Models/UserWorkLocation.php @@ -82,7 +82,7 @@ public function getOdataType(): ?string { } /** - * Gets the placeId property value. Identifier of the place (when applicable). + * Gets the placeId property value. Identifier of the place, if applicable. * @return string|null */ public function getPlaceId(): ?string { @@ -154,7 +154,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the placeId property value. Identifier of the place (when applicable). + * Sets the placeId property value. Identifier of the place, if applicable. * @param string|null $value Value to set for the placeId property. */ public function setPlaceId(?string $value): void { diff --git a/src/Generated/Models/WorkHoursAndLocationsSetting.php b/src/Generated/Models/WorkHoursAndLocationsSetting.php new file mode 100644 index 00000000000..055e68457cb --- /dev/null +++ b/src/Generated/Models/WorkHoursAndLocationsSetting.php @@ -0,0 +1,116 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'maxSharedWorkLocationDetails' => fn(ParseNode $n) => $o->setMaxSharedWorkLocationDetails($n->getEnumValue(MaxWorkLocationDetails::class)), + 'occurrences' => fn(ParseNode $n) => $o->setOccurrences($n->getCollectionOfObjectValues([WorkPlanOccurrence::class, 'createFromDiscriminatorValue'])), + 'recurrences' => fn(ParseNode $n) => $o->setRecurrences($n->getCollectionOfObjectValues([WorkPlanRecurrence::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the maxSharedWorkLocationDetails property value. The maxSharedWorkLocationDetails property + * @return MaxWorkLocationDetails|null + */ + public function getMaxSharedWorkLocationDetails(): ?MaxWorkLocationDetails { + $val = $this->getBackingStore()->get('maxSharedWorkLocationDetails'); + if (is_null($val) || $val instanceof MaxWorkLocationDetails) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'maxSharedWorkLocationDetails'"); + } + + /** + * Gets the occurrences property value. Collection of work plan occurrences. + * @return array|null + */ + public function getOccurrences(): ?array { + $val = $this->getBackingStore()->get('occurrences'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, WorkPlanOccurrence::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'occurrences'"); + } + + /** + * Gets the recurrences property value. Collection of recurring work plans defined by the user. + * @return array|null + */ + public function getRecurrences(): ?array { + $val = $this->getBackingStore()->get('recurrences'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, WorkPlanRecurrence::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'recurrences'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeEnumValue('maxSharedWorkLocationDetails', $this->getMaxSharedWorkLocationDetails()); + $writer->writeCollectionOfObjectValues('occurrences', $this->getOccurrences()); + $writer->writeCollectionOfObjectValues('recurrences', $this->getRecurrences()); + } + + /** + * Sets the maxSharedWorkLocationDetails property value. The maxSharedWorkLocationDetails property + * @param MaxWorkLocationDetails|null $value Value to set for the maxSharedWorkLocationDetails property. + */ + public function setMaxSharedWorkLocationDetails(?MaxWorkLocationDetails $value): void { + $this->getBackingStore()->set('maxSharedWorkLocationDetails', $value); + } + + /** + * Sets the occurrences property value. Collection of work plan occurrences. + * @param array|null $value Value to set for the occurrences property. + */ + public function setOccurrences(?array $value): void { + $this->getBackingStore()->set('occurrences', $value); + } + + /** + * Sets the recurrences property value. Collection of recurring work plans defined by the user. + * @param array|null $value Value to set for the recurrences property. + */ + public function setRecurrences(?array $value): void { + $this->getBackingStore()->set('recurrences', $value); + } + +} diff --git a/src/Generated/Models/WorkLocationUpdateScope.php b/src/Generated/Models/WorkLocationUpdateScope.php new file mode 100644 index 00000000000..9067fb8b2dc --- /dev/null +++ b/src/Generated/Models/WorkLocationUpdateScope.php @@ -0,0 +1,11 @@ +getBackingStore()->get('end'); + if (is_null($val) || $val instanceof DateTimeTimeZone) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'end'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'end' => fn(ParseNode $n) => $o->setEnd($n->getObjectValue([DateTimeTimeZone::class, 'createFromDiscriminatorValue'])), + 'placeId' => fn(ParseNode $n) => $o->setPlaceId($n->getStringValue()), + 'recurrenceId' => fn(ParseNode $n) => $o->setRecurrenceId($n->getStringValue()), + 'start' => fn(ParseNode $n) => $o->setStart($n->getObjectValue([DateTimeTimeZone::class, 'createFromDiscriminatorValue'])), + 'timeOffDetails' => fn(ParseNode $n) => $o->setTimeOffDetails($n->getObjectValue([TimeOffDetails::class, 'createFromDiscriminatorValue'])), + 'workLocationType' => fn(ParseNode $n) => $o->setWorkLocationType($n->getEnumValue(WorkLocationType::class)), + ]); + } + + /** + * Gets the placeId property value. Identifier of a place from the Microsoft Graph Places Directory API. Only applicable when workLocationType is set to office. + * @return string|null + */ + public function getPlaceId(): ?string { + $val = $this->getBackingStore()->get('placeId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'placeId'"); + } + + /** + * Gets the recurrenceId property value. The identifier of the parent recurrence pattern that generated this occurrence. The value is null for time-off occurrences because they don't have a parent recurrence. + * @return string|null + */ + public function getRecurrenceId(): ?string { + $val = $this->getBackingStore()->get('recurrenceId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'recurrenceId'"); + } + + /** + * Gets the start property value. The start property + * @return DateTimeTimeZone|null + */ + public function getStart(): ?DateTimeTimeZone { + $val = $this->getBackingStore()->get('start'); + if (is_null($val) || $val instanceof DateTimeTimeZone) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'start'"); + } + + /** + * Gets the timeOffDetails property value. The details about the time off. Only applicable when workLocationType is set to timeOff. + * @return TimeOffDetails|null + */ + public function getTimeOffDetails(): ?TimeOffDetails { + $val = $this->getBackingStore()->get('timeOffDetails'); + if (is_null($val) || $val instanceof TimeOffDetails) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'timeOffDetails'"); + } + + /** + * Gets the workLocationType property value. The workLocationType property + * @return WorkLocationType|null + */ + public function getWorkLocationType(): ?WorkLocationType { + $val = $this->getBackingStore()->get('workLocationType'); + if (is_null($val) || $val instanceof WorkLocationType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'workLocationType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('end', $this->getEnd()); + $writer->writeStringValue('placeId', $this->getPlaceId()); + $writer->writeStringValue('recurrenceId', $this->getRecurrenceId()); + $writer->writeObjectValue('start', $this->getStart()); + $writer->writeObjectValue('timeOffDetails', $this->getTimeOffDetails()); + $writer->writeEnumValue('workLocationType', $this->getWorkLocationType()); + } + + /** + * Sets the end property value. The end property + * @param DateTimeTimeZone|null $value Value to set for the end property. + */ + public function setEnd(?DateTimeTimeZone $value): void { + $this->getBackingStore()->set('end', $value); + } + + /** + * Sets the placeId property value. Identifier of a place from the Microsoft Graph Places Directory API. Only applicable when workLocationType is set to office. + * @param string|null $value Value to set for the placeId property. + */ + public function setPlaceId(?string $value): void { + $this->getBackingStore()->set('placeId', $value); + } + + /** + * Sets the recurrenceId property value. The identifier of the parent recurrence pattern that generated this occurrence. The value is null for time-off occurrences because they don't have a parent recurrence. + * @param string|null $value Value to set for the recurrenceId property. + */ + public function setRecurrenceId(?string $value): void { + $this->getBackingStore()->set('recurrenceId', $value); + } + + /** + * Sets the start property value. The start property + * @param DateTimeTimeZone|null $value Value to set for the start property. + */ + public function setStart(?DateTimeTimeZone $value): void { + $this->getBackingStore()->set('start', $value); + } + + /** + * Sets the timeOffDetails property value. The details about the time off. Only applicable when workLocationType is set to timeOff. + * @param TimeOffDetails|null $value Value to set for the timeOffDetails property. + */ + public function setTimeOffDetails(?TimeOffDetails $value): void { + $this->getBackingStore()->set('timeOffDetails', $value); + } + + /** + * Sets the workLocationType property value. The workLocationType property + * @param WorkLocationType|null $value Value to set for the workLocationType property. + */ + public function setWorkLocationType(?WorkLocationType $value): void { + $this->getBackingStore()->set('workLocationType', $value); + } + +} diff --git a/src/Generated/Models/WorkPlanOccurrenceCollectionResponse.php b/src/Generated/Models/WorkPlanOccurrenceCollectionResponse.php new file mode 100644 index 00000000000..84727d6ba3c --- /dev/null +++ b/src/Generated/Models/WorkPlanOccurrenceCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([WorkPlanOccurrence::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, WorkPlanOccurrence::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/WorkPlanRecurrence.php b/src/Generated/Models/WorkPlanRecurrence.php new file mode 100644 index 00000000000..c273ec6f910 --- /dev/null +++ b/src/Generated/Models/WorkPlanRecurrence.php @@ -0,0 +1,155 @@ +getBackingStore()->get('end'); + if (is_null($val) || $val instanceof DateTimeTimeZone) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'end'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'end' => fn(ParseNode $n) => $o->setEnd($n->getObjectValue([DateTimeTimeZone::class, 'createFromDiscriminatorValue'])), + 'placeId' => fn(ParseNode $n) => $o->setPlaceId($n->getStringValue()), + 'recurrence' => fn(ParseNode $n) => $o->setRecurrence($n->getObjectValue([PatternedRecurrence::class, 'createFromDiscriminatorValue'])), + 'start' => fn(ParseNode $n) => $o->setStart($n->getObjectValue([DateTimeTimeZone::class, 'createFromDiscriminatorValue'])), + 'workLocationType' => fn(ParseNode $n) => $o->setWorkLocationType($n->getEnumValue(WorkLocationType::class)), + ]); + } + + /** + * Gets the placeId property value. Identifier of a place from the Microsoft Graph Places Directory API. Only applicable when workLocationType is set to office. + * @return string|null + */ + public function getPlaceId(): ?string { + $val = $this->getBackingStore()->get('placeId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'placeId'"); + } + + /** + * Gets the recurrence property value. The recurrence property + * @return PatternedRecurrence|null + */ + public function getRecurrence(): ?PatternedRecurrence { + $val = $this->getBackingStore()->get('recurrence'); + if (is_null($val) || $val instanceof PatternedRecurrence) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'recurrence'"); + } + + /** + * Gets the start property value. The start property + * @return DateTimeTimeZone|null + */ + public function getStart(): ?DateTimeTimeZone { + $val = $this->getBackingStore()->get('start'); + if (is_null($val) || $val instanceof DateTimeTimeZone) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'start'"); + } + + /** + * Gets the workLocationType property value. The workLocationType property + * @return WorkLocationType|null + */ + public function getWorkLocationType(): ?WorkLocationType { + $val = $this->getBackingStore()->get('workLocationType'); + if (is_null($val) || $val instanceof WorkLocationType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'workLocationType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('end', $this->getEnd()); + $writer->writeStringValue('placeId', $this->getPlaceId()); + $writer->writeObjectValue('recurrence', $this->getRecurrence()); + $writer->writeObjectValue('start', $this->getStart()); + $writer->writeEnumValue('workLocationType', $this->getWorkLocationType()); + } + + /** + * Sets the end property value. The end property + * @param DateTimeTimeZone|null $value Value to set for the end property. + */ + public function setEnd(?DateTimeTimeZone $value): void { + $this->getBackingStore()->set('end', $value); + } + + /** + * Sets the placeId property value. Identifier of a place from the Microsoft Graph Places Directory API. Only applicable when workLocationType is set to office. + * @param string|null $value Value to set for the placeId property. + */ + public function setPlaceId(?string $value): void { + $this->getBackingStore()->set('placeId', $value); + } + + /** + * Sets the recurrence property value. The recurrence property + * @param PatternedRecurrence|null $value Value to set for the recurrence property. + */ + public function setRecurrence(?PatternedRecurrence $value): void { + $this->getBackingStore()->set('recurrence', $value); + } + + /** + * Sets the start property value. The start property + * @param DateTimeTimeZone|null $value Value to set for the start property. + */ + public function setStart(?DateTimeTimeZone $value): void { + $this->getBackingStore()->set('start', $value); + } + + /** + * Sets the workLocationType property value. The workLocationType property + * @param WorkLocationType|null $value Value to set for the workLocationType property. + */ + public function setWorkLocationType(?WorkLocationType $value): void { + $this->getBackingStore()->set('workLocationType', $value); + } + +} diff --git a/src/Generated/Models/WorkPlanRecurrenceCollectionResponse.php b/src/Generated/Models/WorkPlanRecurrenceCollectionResponse.php new file mode 100644 index 00000000000..b4829c15017 --- /dev/null +++ b/src/Generated/Models/WorkPlanRecurrenceCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([WorkPlanRecurrence::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, WorkPlanRecurrence::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/Workspace.php b/src/Generated/Models/Workspace.php index 44be6a8becd..4e7fca1278c 100644 --- a/src/Generated/Models/Workspace.php +++ b/src/Generated/Models/Workspace.php @@ -117,7 +117,7 @@ public function getFloorNumber(): ?int { } /** - * Gets the mode property value. The mode for a workspace. The supported modes are:reservablePlaceMode - Workspaces that can be booked in advance using desk pool reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks in the workspace, the desk is booked for you, assuming that the peripheral has been associated with the desk in the Microsoft Teams Rooms Pro management portal.unavailablePlaceMode - Workspaces that are taken down for maintenance or marked as not reservable. + * Gets the mode property value. The mode for a workspace. The supported modes are:reservablePlaceMode - Workspaces that can be booked in advance using desk pool reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks in the workspace, the desk is booked for you, assuming that the peripheral has been associated with the desk in the Microsoft Teams Rooms pro management portal.unavailablePlaceMode - Workspaces that are taken down for maintenance or marked as not reservable. * @return PlaceMode|null */ public function getMode(): ?PlaceMode { @@ -141,7 +141,7 @@ public function getNickname(): ?string { } /** - * Gets the placeId property value. An alternate immutable unique identifier of the workspace. Read-only. + * Gets the placeId property value. An alternative immutable unique identifier of the workspace. Read-only. * @return string|null */ public function getPlaceId(): ?string { @@ -218,7 +218,7 @@ public function setFloorNumber(?int $value): void { } /** - * Sets the mode property value. The mode for a workspace. The supported modes are:reservablePlaceMode - Workspaces that can be booked in advance using desk pool reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks in the workspace, the desk is booked for you, assuming that the peripheral has been associated with the desk in the Microsoft Teams Rooms Pro management portal.unavailablePlaceMode - Workspaces that are taken down for maintenance or marked as not reservable. + * Sets the mode property value. The mode for a workspace. The supported modes are:reservablePlaceMode - Workspaces that can be booked in advance using desk pool reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks in the workspace, the desk is booked for you, assuming that the peripheral has been associated with the desk in the Microsoft Teams Rooms pro management portal.unavailablePlaceMode - Workspaces that are taken down for maintenance or marked as not reservable. * @param PlaceMode|null $value Value to set for the mode property. */ public function setMode(?PlaceMode $value): void { @@ -234,7 +234,7 @@ public function setNickname(?string $value): void { } /** - * Sets the placeId property value. An alternate immutable unique identifier of the workspace. Read-only. + * Sets the placeId property value. An alternative immutable unique identifier of the workspace. Read-only. * @param string|null $value Value to set for the placeId property. */ public function setPlaceId(?string $value): void { diff --git a/src/Generated/NetworkAccess/Settings/CustomBlockPage/CustomBlockPageRequestBuilder.php b/src/Generated/NetworkAccess/Settings/CustomBlockPage/CustomBlockPageRequestBuilder.php index 817be5623e9..649f2f3dbee 100644 --- a/src/Generated/NetworkAccess/Settings/CustomBlockPage/CustomBlockPageRequestBuilder.php +++ b/src/Generated/NetworkAccess/Settings/CustomBlockPage/CustomBlockPageRequestBuilder.php @@ -45,10 +45,11 @@ public function delete(?CustomBlockPageRequestBuilderDeleteRequestConfiguration } /** - * Get customBlockPage from networkAccess + * Read the properties and relationships of microsoft.graph.networkaccess.customBlockPage object. * @param CustomBlockPageRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/networkaccess-customblockpage-get?view=graph-rest-beta Find more info here */ public function get(?CustomBlockPageRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -59,11 +60,12 @@ public function get(?CustomBlockPageRequestBuilderGetRequestConfiguration $reque } /** - * Update the navigation property customBlockPage in networkAccess + * Update the properties of a customBlockPage object. * @param CustomBlockPage $body The request body * @param CustomBlockPageRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/networkaccess-customblockpage-update?view=graph-rest-beta Find more info here */ public function patch(CustomBlockPage $body, ?CustomBlockPageRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -92,7 +94,7 @@ public function toDeleteRequestInformation(?CustomBlockPageRequestBuilderDeleteR } /** - * Get customBlockPage from networkAccess + * Read the properties and relationships of microsoft.graph.networkaccess.customBlockPage object. * @param CustomBlockPageRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +115,7 @@ public function toGetRequestInformation(?CustomBlockPageRequestBuilderGetRequest } /** - * Update the navigation property customBlockPage in networkAccess + * Update the properties of a customBlockPage object. * @param CustomBlockPage $body The request body * @param CustomBlockPageRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/NetworkAccess/Settings/CustomBlockPage/CustomBlockPageRequestBuilderGetQueryParameters.php b/src/Generated/NetworkAccess/Settings/CustomBlockPage/CustomBlockPageRequestBuilderGetQueryParameters.php index a0847243135..83781200233 100644 --- a/src/Generated/NetworkAccess/Settings/CustomBlockPage/CustomBlockPageRequestBuilderGetQueryParameters.php +++ b/src/Generated/NetworkAccess/Settings/CustomBlockPage/CustomBlockPageRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get customBlockPage from networkAccess + * Read the properties and relationships of microsoft.graph.networkaccess.customBlockPage object. */ class CustomBlockPageRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Identities/SensorCandidates/Item/SensorCandidateItemRequestBuilder.php b/src/Generated/Security/Identities/SensorCandidates/Item/SensorCandidateItemRequestBuilder.php index 069427f0c55..6cedad4894d 100644 --- a/src/Generated/Security/Identities/SensorCandidates/Item/SensorCandidateItemRequestBuilder.php +++ b/src/Generated/Security/Identities/SensorCandidates/Item/SensorCandidateItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?SensorCandidateItemRequestBuilderDeleteRequestConfigurat } /** - * Represents Microsoft Defender for Identity sensors that are ready to be activated. + * Get sensorCandidates from security * @param SensorCandidateItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?SensorCandidateItemRequestBuilderDel } /** - * Represents Microsoft Defender for Identity sensors that are ready to be activated. + * Get sensorCandidates from security * @param SensorCandidateItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Security/Identities/SensorCandidates/Item/SensorCandidateItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/Identities/SensorCandidates/Item/SensorCandidateItemRequestBuilderGetQueryParameters.php index 29d2e22be98..8793e373c0e 100644 --- a/src/Generated/Security/Identities/SensorCandidates/Item/SensorCandidateItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Identities/SensorCandidates/Item/SensorCandidateItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents Microsoft Defender for Identity sensors that are ready to be activated. + * Get sensorCandidates from security */ class SensorCandidateItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/Identities/Settings/SettingsRequestBuilder.php b/src/Generated/Security/Identities/Settings/SettingsRequestBuilder.php index 68199fa7e03..f235b259d6e 100644 --- a/src/Generated/Security/Identities/Settings/SettingsRequestBuilder.php +++ b/src/Generated/Security/Identities/Settings/SettingsRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?SettingsRequestBuilderDeleteRequestConfiguration $reques } /** - * Represents a container for security identities settings APIs. + * Get settings from security * @param SettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?SettingsRequestBuilderDeleteRequestC } /** - * Represents a container for security identities settings APIs. + * Get settings from security * @param SettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Security/Identities/Settings/SettingsRequestBuilderGetQueryParameters.php b/src/Generated/Security/Identities/Settings/SettingsRequestBuilderGetQueryParameters.php index 9ba3ad4072b..796cc862c91 100644 --- a/src/Generated/Security/Identities/Settings/SettingsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/Identities/Settings/SettingsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents a container for security identities settings APIs. + * Get settings from security */ class SettingsRequestBuilderGetQueryParameters { diff --git a/src/Generated/ServicePrincipals/Delta/DeltaGetResponse.php b/src/Generated/ServicePrincipals/Delta/DeltaGetResponse.php index d0986fb6dd0..295a9d1e568 100644 --- a/src/Generated/ServicePrincipals/Delta/DeltaGetResponse.php +++ b/src/Generated/ServicePrincipals/Delta/DeltaGetResponse.php @@ -3,7 +3,7 @@ namespace Microsoft\Graph\Beta\Generated\ServicePrincipals\Delta; use Microsoft\Graph\Beta\Generated\Models\BaseDeltaFunctionResponse; -use Microsoft\Graph\Beta\Generated\Models\DirectoryObject; +use Microsoft\Graph\Beta\Generated\Models\ServicePrincipal; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; @@ -34,19 +34,19 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Delta public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([DirectoryObject::class, 'createFromDiscriminatorValue'])), + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ServicePrincipal::class, 'createFromDiscriminatorValue'])), ]); } /** * Gets the value property value. The value property - * @return array|null + * @return array|null */ public function getValue(): ?array { $val = $this->getBackingStore()->get('value'); if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, DirectoryObject::class); - /** @var array|null $val */ + TypeUtils::validateCollectionValues($val, ServicePrincipal::class); + /** @var array|null $val */ return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); @@ -63,7 +63,7 @@ public function serialize(SerializationWriter $writer): void { /** * Sets the value property value. The value property - * @param array|null $value Value to set for the value property. + * @param array|null $value Value to set for the value property. */ public function setValue(?array $value): void { $this->getBackingStore()->set('value', $value); diff --git a/src/Generated/ServicePrincipals/Delta/DeltaRequestBuilder.php b/src/Generated/ServicePrincipals/Delta/DeltaRequestBuilder.php index fd5e3782925..94cb79e9ec5 100644 --- a/src/Generated/ServicePrincipals/Delta/DeltaRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Delta/DeltaRequestBuilder.php @@ -30,11 +30,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + * Get newly created, updated, or deleted service principals, agent identities, and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/serviceprincipal-delta?view=graph-rest-beta Find more info here */ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + * Get newly created, updated, or deleted service principals, agent identities, and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/ServicePrincipals/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/ServicePrincipals/Delta/DeltaRequestBuilderGetQueryParameters.php index 94417108064..ab357c175f5 100644 --- a/src/Generated/ServicePrincipals/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/ServicePrincipals/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + * Get newly created, updated, or deleted service principals, agent identities, and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.php b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.php index 821e2e34a0b..026e263fb91 100644 --- a/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.php +++ b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.php @@ -18,6 +18,7 @@ use Microsoft\Graph\Beta\Generated\TeamTemplateDefinition\Item\TeamDefinition\Channels\Item\ProvisionEmail\ProvisionEmailRequestBuilder; use Microsoft\Graph\Beta\Generated\TeamTemplateDefinition\Item\TeamDefinition\Channels\Item\RemoveEmail\RemoveEmailRequestBuilder; use Microsoft\Graph\Beta\Generated\TeamTemplateDefinition\Item\TeamDefinition\Channels\Item\SharedWithTeams\SharedWithTeamsRequestBuilder; +use Microsoft\Graph\Beta\Generated\TeamTemplateDefinition\Item\TeamDefinition\Channels\Item\StartMigration\StartMigrationRequestBuilder; use Microsoft\Graph\Beta\Generated\TeamTemplateDefinition\Item\TeamDefinition\Channels\Item\Tabs\TabsRequestBuilder; use Microsoft\Graph\Beta\Generated\TeamTemplateDefinition\Item\TeamDefinition\Channels\Item\Unarchive\UnarchiveRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -114,6 +115,13 @@ public function sharedWithTeams(): SharedWithTeamsRequestBuilder { return new SharedWithTeamsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the startMigration method. + */ + public function startMigration(): StartMigrationRequestBuilder { + return new StartMigrationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the tabs property of the microsoft.graph.channel entity. */ diff --git a/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationPostRequestBody.php b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationPostRequestBody.php new file mode 100644 index 00000000000..555c76265d8 --- /dev/null +++ b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationPostRequestBody.php @@ -0,0 +1,115 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return StartMigrationPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): StartMigrationPostRequestBody { + return new StartMigrationPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the conversationCreationDateTime property value. The conversationCreationDateTime property + * @return DateTime|null + */ + public function getConversationCreationDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('conversationCreationDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'conversationCreationDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'conversationCreationDateTime' => fn(ParseNode $n) => $o->setConversationCreationDateTime($n->getDateTimeValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeDateTimeValue('conversationCreationDateTime', $this->getConversationCreationDateTime()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the conversationCreationDateTime property value. The conversationCreationDateTime property + * @param DateTime|null $value Value to set for the conversationCreationDateTime property. + */ + public function setConversationCreationDateTime(?DateTime $value): void { + $this->getBackingStore()->set('conversationCreationDateTime', $value); + } + +} diff --git a/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationRequestBuilder.php b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationRequestBuilder.php new file mode 100644 index 00000000000..3af3b70e352 --- /dev/null +++ b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/startMigration'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + * @param StartMigrationPostRequestBody $body The request body + * @param StartMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/channel-startmigration?view=graph-rest-beta Find more info here + */ + public function post(StartMigrationPostRequestBody $body, ?StartMigrationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + * @param StartMigrationPostRequestBody $body The request body + * @param StartMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(StartMigrationPostRequestBody $body, ?StartMigrationRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return StartMigrationRequestBuilder + */ + public function withUrl(string $rawUrl): StartMigrationRequestBuilder { + return new StartMigrationRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..258656893ff --- /dev/null +++ b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.php b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.php index 6f056ee2632..88a8b4ab981 100644 --- a/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.php +++ b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.php @@ -18,6 +18,7 @@ use Microsoft\Graph\Beta\Generated\TeamTemplateDefinition\Item\TeamDefinition\PrimaryChannel\ProvisionEmail\ProvisionEmailRequestBuilder; use Microsoft\Graph\Beta\Generated\TeamTemplateDefinition\Item\TeamDefinition\PrimaryChannel\RemoveEmail\RemoveEmailRequestBuilder; use Microsoft\Graph\Beta\Generated\TeamTemplateDefinition\Item\TeamDefinition\PrimaryChannel\SharedWithTeams\SharedWithTeamsRequestBuilder; +use Microsoft\Graph\Beta\Generated\TeamTemplateDefinition\Item\TeamDefinition\PrimaryChannel\StartMigration\StartMigrationRequestBuilder; use Microsoft\Graph\Beta\Generated\TeamTemplateDefinition\Item\TeamDefinition\PrimaryChannel\Tabs\TabsRequestBuilder; use Microsoft\Graph\Beta\Generated\TeamTemplateDefinition\Item\TeamDefinition\PrimaryChannel\Unarchive\UnarchiveRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -114,6 +115,13 @@ public function sharedWithTeams(): SharedWithTeamsRequestBuilder { return new SharedWithTeamsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the startMigration method. + */ + public function startMigration(): StartMigrationRequestBuilder { + return new StartMigrationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the tabs property of the microsoft.graph.channel entity. */ diff --git a/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.php b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.php new file mode 100644 index 00000000000..432a810d456 --- /dev/null +++ b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.php @@ -0,0 +1,115 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return StartMigrationPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): StartMigrationPostRequestBody { + return new StartMigrationPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the conversationCreationDateTime property value. The conversationCreationDateTime property + * @return DateTime|null + */ + public function getConversationCreationDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('conversationCreationDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'conversationCreationDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'conversationCreationDateTime' => fn(ParseNode $n) => $o->setConversationCreationDateTime($n->getDateTimeValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeDateTimeValue('conversationCreationDateTime', $this->getConversationCreationDateTime()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the conversationCreationDateTime property value. The conversationCreationDateTime property + * @param DateTime|null $value Value to set for the conversationCreationDateTime property. + */ + public function setConversationCreationDateTime(?DateTime $value): void { + $this->getBackingStore()->set('conversationCreationDateTime', $value); + } + +} diff --git a/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.php b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.php new file mode 100644 index 00000000000..7723b0a141d --- /dev/null +++ b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/startMigration'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + * @param StartMigrationPostRequestBody $body The request body + * @param StartMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/channel-startmigration?view=graph-rest-beta Find more info here + */ + public function post(StartMigrationPostRequestBody $body, ?StartMigrationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + * @param StartMigrationPostRequestBody $body The request body + * @param StartMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(StartMigrationPostRequestBody $body, ?StartMigrationRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return StartMigrationRequestBuilder + */ + public function withUrl(string $rawUrl): StartMigrationRequestBuilder { + return new StartMigrationRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..ae779eeb484 --- /dev/null +++ b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.php index aec7bde9ef4..9a0a396accc 100644 --- a/src/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.php @@ -18,6 +18,7 @@ use Microsoft\Graph\Beta\Generated\Teams\Item\Channels\Item\ProvisionEmail\ProvisionEmailRequestBuilder; use Microsoft\Graph\Beta\Generated\Teams\Item\Channels\Item\RemoveEmail\RemoveEmailRequestBuilder; use Microsoft\Graph\Beta\Generated\Teams\Item\Channels\Item\SharedWithTeams\SharedWithTeamsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Teams\Item\Channels\Item\StartMigration\StartMigrationRequestBuilder; use Microsoft\Graph\Beta\Generated\Teams\Item\Channels\Item\Tabs\TabsRequestBuilder; use Microsoft\Graph\Beta\Generated\Teams\Item\Channels\Item\Unarchive\UnarchiveRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -114,6 +115,13 @@ public function sharedWithTeams(): SharedWithTeamsRequestBuilder { return new SharedWithTeamsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the startMigration method. + */ + public function startMigration(): StartMigrationRequestBuilder { + return new StartMigrationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the tabs property of the microsoft.graph.channel entity. */ diff --git a/src/Generated/Teams/Item/Channels/Item/StartMigration/StartMigrationPostRequestBody.php b/src/Generated/Teams/Item/Channels/Item/StartMigration/StartMigrationPostRequestBody.php new file mode 100644 index 00000000000..6716e647fe7 --- /dev/null +++ b/src/Generated/Teams/Item/Channels/Item/StartMigration/StartMigrationPostRequestBody.php @@ -0,0 +1,115 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return StartMigrationPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): StartMigrationPostRequestBody { + return new StartMigrationPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the conversationCreationDateTime property value. The conversationCreationDateTime property + * @return DateTime|null + */ + public function getConversationCreationDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('conversationCreationDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'conversationCreationDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'conversationCreationDateTime' => fn(ParseNode $n) => $o->setConversationCreationDateTime($n->getDateTimeValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeDateTimeValue('conversationCreationDateTime', $this->getConversationCreationDateTime()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the conversationCreationDateTime property value. The conversationCreationDateTime property + * @param DateTime|null $value Value to set for the conversationCreationDateTime property. + */ + public function setConversationCreationDateTime(?DateTime $value): void { + $this->getBackingStore()->set('conversationCreationDateTime', $value); + } + +} diff --git a/src/Generated/Teams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.php new file mode 100644 index 00000000000..ba2df5b9d16 --- /dev/null +++ b/src/Generated/Teams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/startMigration'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + * @param StartMigrationPostRequestBody $body The request body + * @param StartMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/channel-startmigration?view=graph-rest-beta Find more info here + */ + public function post(StartMigrationPostRequestBody $body, ?StartMigrationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + * @param StartMigrationPostRequestBody $body The request body + * @param StartMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(StartMigrationPostRequestBody $body, ?StartMigrationRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return StartMigrationRequestBuilder + */ + public function withUrl(string $rawUrl): StartMigrationRequestBuilder { + return new StartMigrationRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php b/src/Generated/Teams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..e1c4ccdc8dc --- /dev/null +++ b/src/Generated/Teams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php index 7aa2621a09c..9389feb3a10 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.php @@ -18,6 +18,7 @@ use Microsoft\Graph\Beta\Generated\Teams\Item\PrimaryChannel\ProvisionEmail\ProvisionEmailRequestBuilder; use Microsoft\Graph\Beta\Generated\Teams\Item\PrimaryChannel\RemoveEmail\RemoveEmailRequestBuilder; use Microsoft\Graph\Beta\Generated\Teams\Item\PrimaryChannel\SharedWithTeams\SharedWithTeamsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Teams\Item\PrimaryChannel\StartMigration\StartMigrationRequestBuilder; use Microsoft\Graph\Beta\Generated\Teams\Item\PrimaryChannel\Tabs\TabsRequestBuilder; use Microsoft\Graph\Beta\Generated\Teams\Item\PrimaryChannel\Unarchive\UnarchiveRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -114,6 +115,13 @@ public function sharedWithTeams(): SharedWithTeamsRequestBuilder { return new SharedWithTeamsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the startMigration method. + */ + public function startMigration(): StartMigrationRequestBuilder { + return new StartMigrationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the tabs property of the microsoft.graph.channel entity. */ diff --git a/src/Generated/Teams/Item/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.php b/src/Generated/Teams/Item/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.php new file mode 100644 index 00000000000..4bfa6f7c6b2 --- /dev/null +++ b/src/Generated/Teams/Item/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.php @@ -0,0 +1,115 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return StartMigrationPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): StartMigrationPostRequestBody { + return new StartMigrationPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the conversationCreationDateTime property value. The conversationCreationDateTime property + * @return DateTime|null + */ + public function getConversationCreationDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('conversationCreationDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'conversationCreationDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'conversationCreationDateTime' => fn(ParseNode $n) => $o->setConversationCreationDateTime($n->getDateTimeValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeDateTimeValue('conversationCreationDateTime', $this->getConversationCreationDateTime()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the conversationCreationDateTime property value. The conversationCreationDateTime property + * @param DateTime|null $value Value to set for the conversationCreationDateTime property. + */ + public function setConversationCreationDateTime(?DateTime $value): void { + $this->getBackingStore()->set('conversationCreationDateTime', $value); + } + +} diff --git a/src/Generated/Teams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.php new file mode 100644 index 00000000000..71458c59de8 --- /dev/null +++ b/src/Generated/Teams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/primaryChannel/startMigration'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + * @param StartMigrationPostRequestBody $body The request body + * @param StartMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/channel-startmigration?view=graph-rest-beta Find more info here + */ + public function post(StartMigrationPostRequestBody $body, ?StartMigrationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + * @param StartMigrationPostRequestBody $body The request body + * @param StartMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(StartMigrationPostRequestBody $body, ?StartMigrationRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return StartMigrationRequestBuilder + */ + public function withUrl(string $rawUrl): StartMigrationRequestBuilder { + return new StartMigrationRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php b/src/Generated/Teams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..f58f1b1afeb --- /dev/null +++ b/src/Generated/Teams/Item/PrimaryChannel/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.php index a500817567a..718cc92da68 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.php @@ -18,6 +18,7 @@ use Microsoft\Graph\Beta\Generated\Teamwork\DeletedTeams\Item\Channels\Item\ProvisionEmail\ProvisionEmailRequestBuilder; use Microsoft\Graph\Beta\Generated\Teamwork\DeletedTeams\Item\Channels\Item\RemoveEmail\RemoveEmailRequestBuilder; use Microsoft\Graph\Beta\Generated\Teamwork\DeletedTeams\Item\Channels\Item\SharedWithTeams\SharedWithTeamsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Teamwork\DeletedTeams\Item\Channels\Item\StartMigration\StartMigrationRequestBuilder; use Microsoft\Graph\Beta\Generated\Teamwork\DeletedTeams\Item\Channels\Item\Tabs\TabsRequestBuilder; use Microsoft\Graph\Beta\Generated\Teamwork\DeletedTeams\Item\Channels\Item\Unarchive\UnarchiveRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -114,6 +115,13 @@ public function sharedWithTeams(): SharedWithTeamsRequestBuilder { return new SharedWithTeamsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the startMigration method. + */ + public function startMigration(): StartMigrationRequestBuilder { + return new StartMigrationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the tabs property of the microsoft.graph.channel entity. */ diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/StartMigration/StartMigrationPostRequestBody.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/StartMigration/StartMigrationPostRequestBody.php new file mode 100644 index 00000000000..8d7b2ceaaf2 --- /dev/null +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/StartMigration/StartMigrationPostRequestBody.php @@ -0,0 +1,115 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return StartMigrationPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): StartMigrationPostRequestBody { + return new StartMigrationPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the conversationCreationDateTime property value. The conversationCreationDateTime property + * @return DateTime|null + */ + public function getConversationCreationDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('conversationCreationDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'conversationCreationDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'conversationCreationDateTime' => fn(ParseNode $n) => $o->setConversationCreationDateTime($n->getDateTimeValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeDateTimeValue('conversationCreationDateTime', $this->getConversationCreationDateTime()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the conversationCreationDateTime property value. The conversationCreationDateTime property + * @param DateTime|null $value Value to set for the conversationCreationDateTime property. + */ + public function setConversationCreationDateTime(?DateTime $value): void { + $this->getBackingStore()->set('conversationCreationDateTime', $value); + } + +} diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.php new file mode 100644 index 00000000000..27a0caa59bc --- /dev/null +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/startMigration'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + * @param StartMigrationPostRequestBody $body The request body + * @param StartMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/channel-startmigration?view=graph-rest-beta Find more info here + */ + public function post(StartMigrationPostRequestBody $body, ?StartMigrationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + * @param StartMigrationPostRequestBody $body The request body + * @param StartMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(StartMigrationPostRequestBody $body, ?StartMigrationRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return StartMigrationRequestBuilder + */ + public function withUrl(string $rawUrl): StartMigrationRequestBuilder { + return new StartMigrationRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..854d1f5ba0e --- /dev/null +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.php b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.php index 6a49503fd80..19b9e1abb16 100644 --- a/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.php +++ b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.php @@ -18,6 +18,7 @@ use Microsoft\Graph\Beta\Generated\Teamwork\TeamTemplates\Item\Definitions\Item\TeamDefinition\Channels\Item\ProvisionEmail\ProvisionEmailRequestBuilder; use Microsoft\Graph\Beta\Generated\Teamwork\TeamTemplates\Item\Definitions\Item\TeamDefinition\Channels\Item\RemoveEmail\RemoveEmailRequestBuilder; use Microsoft\Graph\Beta\Generated\Teamwork\TeamTemplates\Item\Definitions\Item\TeamDefinition\Channels\Item\SharedWithTeams\SharedWithTeamsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Teamwork\TeamTemplates\Item\Definitions\Item\TeamDefinition\Channels\Item\StartMigration\StartMigrationRequestBuilder; use Microsoft\Graph\Beta\Generated\Teamwork\TeamTemplates\Item\Definitions\Item\TeamDefinition\Channels\Item\Tabs\TabsRequestBuilder; use Microsoft\Graph\Beta\Generated\Teamwork\TeamTemplates\Item\Definitions\Item\TeamDefinition\Channels\Item\Unarchive\UnarchiveRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -114,6 +115,13 @@ public function sharedWithTeams(): SharedWithTeamsRequestBuilder { return new SharedWithTeamsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the startMigration method. + */ + public function startMigration(): StartMigrationRequestBuilder { + return new StartMigrationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the tabs property of the microsoft.graph.channel entity. */ diff --git a/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationPostRequestBody.php b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationPostRequestBody.php new file mode 100644 index 00000000000..0473df6dc9b --- /dev/null +++ b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationPostRequestBody.php @@ -0,0 +1,115 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return StartMigrationPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): StartMigrationPostRequestBody { + return new StartMigrationPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the conversationCreationDateTime property value. The conversationCreationDateTime property + * @return DateTime|null + */ + public function getConversationCreationDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('conversationCreationDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'conversationCreationDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'conversationCreationDateTime' => fn(ParseNode $n) => $o->setConversationCreationDateTime($n->getDateTimeValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeDateTimeValue('conversationCreationDateTime', $this->getConversationCreationDateTime()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the conversationCreationDateTime property value. The conversationCreationDateTime property + * @param DateTime|null $value Value to set for the conversationCreationDateTime property. + */ + public function setConversationCreationDateTime(?DateTime $value): void { + $this->getBackingStore()->set('conversationCreationDateTime', $value); + } + +} diff --git a/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationRequestBuilder.php b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationRequestBuilder.php new file mode 100644 index 00000000000..91dea0a3fa8 --- /dev/null +++ b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/startMigration'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + * @param StartMigrationPostRequestBody $body The request body + * @param StartMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/channel-startmigration?view=graph-rest-beta Find more info here + */ + public function post(StartMigrationPostRequestBody $body, ?StartMigrationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + * @param StartMigrationPostRequestBody $body The request body + * @param StartMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(StartMigrationPostRequestBody $body, ?StartMigrationRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return StartMigrationRequestBuilder + */ + public function withUrl(string $rawUrl): StartMigrationRequestBuilder { + return new StartMigrationRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..95c95a7260a --- /dev/null +++ b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.php b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.php index a5cff463b17..d965580401d 100644 --- a/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.php +++ b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.php @@ -18,6 +18,7 @@ use Microsoft\Graph\Beta\Generated\Teamwork\TeamTemplates\Item\Definitions\Item\TeamDefinition\PrimaryChannel\ProvisionEmail\ProvisionEmailRequestBuilder; use Microsoft\Graph\Beta\Generated\Teamwork\TeamTemplates\Item\Definitions\Item\TeamDefinition\PrimaryChannel\RemoveEmail\RemoveEmailRequestBuilder; use Microsoft\Graph\Beta\Generated\Teamwork\TeamTemplates\Item\Definitions\Item\TeamDefinition\PrimaryChannel\SharedWithTeams\SharedWithTeamsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Teamwork\TeamTemplates\Item\Definitions\Item\TeamDefinition\PrimaryChannel\StartMigration\StartMigrationRequestBuilder; use Microsoft\Graph\Beta\Generated\Teamwork\TeamTemplates\Item\Definitions\Item\TeamDefinition\PrimaryChannel\Tabs\TabsRequestBuilder; use Microsoft\Graph\Beta\Generated\Teamwork\TeamTemplates\Item\Definitions\Item\TeamDefinition\PrimaryChannel\Unarchive\UnarchiveRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -114,6 +115,13 @@ public function sharedWithTeams(): SharedWithTeamsRequestBuilder { return new SharedWithTeamsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the startMigration method. + */ + public function startMigration(): StartMigrationRequestBuilder { + return new StartMigrationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the tabs property of the microsoft.graph.channel entity. */ diff --git a/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.php b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.php new file mode 100644 index 00000000000..72840dc6767 --- /dev/null +++ b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationPostRequestBody.php @@ -0,0 +1,115 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return StartMigrationPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): StartMigrationPostRequestBody { + return new StartMigrationPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the conversationCreationDateTime property value. The conversationCreationDateTime property + * @return DateTime|null + */ + public function getConversationCreationDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('conversationCreationDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'conversationCreationDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'conversationCreationDateTime' => fn(ParseNode $n) => $o->setConversationCreationDateTime($n->getDateTimeValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeDateTimeValue('conversationCreationDateTime', $this->getConversationCreationDateTime()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the conversationCreationDateTime property value. The conversationCreationDateTime property + * @param DateTime|null $value Value to set for the conversationCreationDateTime property. + */ + public function setConversationCreationDateTime(?DateTime $value): void { + $this->getBackingStore()->set('conversationCreationDateTime', $value); + } + +} diff --git a/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.php b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.php new file mode 100644 index 00000000000..d20fd144612 --- /dev/null +++ b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/startMigration'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + * @param StartMigrationPostRequestBody $body The request body + * @param StartMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/channel-startmigration?view=graph-rest-beta Find more info here + */ + public function post(StartMigrationPostRequestBody $body, ?StartMigrationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. + * @param StartMigrationPostRequestBody $body The request body + * @param StartMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(StartMigrationPostRequestBody $body, ?StartMigrationRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return StartMigrationRequestBuilder + */ + public function withUrl(string $rawUrl): StartMigrationRequestBuilder { + return new StartMigrationRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..832bb93d77f --- /dev/null +++ b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/AdhocCallsRequestBuilder.php b/src/Generated/Users/Item/AdhocCalls/AdhocCallsRequestBuilder.php index fdb0a3d1598..b809b5582eb 100644 --- a/src/Generated/Users/Item/AdhocCalls/AdhocCallsRequestBuilder.php +++ b/src/Generated/Users/Item/AdhocCalls/AdhocCallsRequestBuilder.php @@ -8,6 +8,8 @@ use Microsoft\Graph\Beta\Generated\Models\AdhocCallCollectionResponse; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Users\Item\AdhocCalls\Count\CountRequestBuilder; +use Microsoft\Graph\Beta\Generated\Users\Item\AdhocCalls\GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime\GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder; +use Microsoft\Graph\Beta\Generated\Users\Item\AdhocCalls\GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime\GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\AdhocCalls\Item\AdhocCallItemRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; @@ -26,6 +28,20 @@ public function count(): CountRequestBuilder { return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the getAllRecordings method. + */ + public function getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime(): GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder { + return new GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the getAllTranscripts method. + */ + public function getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime(): GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder { + return new GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the adhocCalls property of the microsoft.graph.user entity. * @param string $adhocCallId The unique identifier of adhocCall diff --git a/src/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.php b/src/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.php new file mode 100644 index 00000000000..ce18aaced17 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([CallRecording::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, CallRecording::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.php b/src/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.php new file mode 100644 index 00000000000..d0b0276e986 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.php @@ -0,0 +1,76 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/adhocCalls/getAllRecordings(userId=\'@userId\',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke function getAllRecordings + * @param GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke function getAllRecordings + * @param GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder + */ + public function withUrl(string $rawUrl): GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder { + return new GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..9704e85a3d2 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php @@ -0,0 +1,104 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @var DateTime|null $startDateTime Usage: startDateTime=@startDateTime + */ + public ?DateTime $startDateTime = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * @var string|null $userId Usage: userId='@userId' + */ + public ?string $userId = null; + + /** + * Instantiates a new GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param DateTime|null $endDateTime Usage: endDateTime=@endDateTime + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param DateTime|null $startDateTime Usage: startDateTime=@startDateTime + * @param int|null $top Show only the first n items + * @param string|null $userId Usage: userId='@userId' + */ + public function __construct(?bool $count = null, ?DateTime $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?DateTime $startDateTime = null, ?int $top = null, ?string $userId = null) { + $this->count = $count; + $this->endDateTime = $endDateTime; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->startDateTime = $startDateTime; + $this->top = $top; + $this->userId = $userId; + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..a07db6c497c --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,49 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param DateTime|null $endDateTime Usage: endDateTime=@endDateTime + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param DateTime|null $startDateTime Usage: startDateTime=@startDateTime + * @param int|null $top Show only the first n items + * @param string|null $userId Usage: userId='@userId' + * @return GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?DateTime $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?DateTime $startDateTime = null, ?int $top = null, ?string $userId = null): GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters { + return new GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters($count, $endDateTime, $expand, $filter, $orderby, $search, $select, $skip, $startDateTime, $top, $userId); + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.php b/src/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.php new file mode 100644 index 00000000000..2c5401aa77e --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([CallTranscript::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, CallTranscript::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.php b/src/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.php new file mode 100644 index 00000000000..b165d121faa --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.php @@ -0,0 +1,76 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/adhocCalls/getAllTranscripts(userId=\'@userId\',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke function getAllTranscripts + * @param GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke function getAllTranscripts + * @param GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder + */ + public function withUrl(string $rawUrl): GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder { + return new GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..e3dda888699 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php @@ -0,0 +1,104 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @var DateTime|null $startDateTime Usage: startDateTime=@startDateTime + */ + public ?DateTime $startDateTime = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * @var string|null $userId Usage: userId='@userId' + */ + public ?string $userId = null; + + /** + * Instantiates a new GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param DateTime|null $endDateTime Usage: endDateTime=@endDateTime + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param DateTime|null $startDateTime Usage: startDateTime=@startDateTime + * @param int|null $top Show only the first n items + * @param string|null $userId Usage: userId='@userId' + */ + public function __construct(?bool $count = null, ?DateTime $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?DateTime $startDateTime = null, ?int $top = null, ?string $userId = null) { + $this->count = $count; + $this->endDateTime = $endDateTime; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->startDateTime = $startDateTime; + $this->top = $top; + $this->userId = $userId; + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..88754b3dc4e --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,49 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param DateTime|null $endDateTime Usage: endDateTime=@endDateTime + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param DateTime|null $startDateTime Usage: startDateTime=@startDateTime + * @param int|null $top Show only the first n items + * @param string|null $userId Usage: userId='@userId' + * @return GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?DateTime $endDateTime = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?DateTime $startDateTime = null, ?int $top = null, ?string $userId = null): GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters { + return new GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters($count, $endDateTime, $expand, $filter, $orderby, $search, $select, $skip, $startDateTime, $top, $userId); + } + +} diff --git a/src/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.php index 108b6f49828..b3c86b6b453 100644 --- a/src/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.php @@ -19,6 +19,7 @@ use Microsoft\Graph\Beta\Generated\Users\Item\Chats\Item\PinnedMessages\PinnedMessagesRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\Chats\Item\RemoveAllAccessForUser\RemoveAllAccessForUserRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\Chats\Item\SendActivityNotification\SendActivityNotificationRequestBuilder; +use Microsoft\Graph\Beta\Generated\Users\Item\Chats\Item\StartMigration\StartMigrationRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\Chats\Item\Tabs\TabsRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\Chats\Item\UnhideForUser\UnhideForUserRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -122,6 +123,13 @@ public function sendActivityNotification(): SendActivityNotificationRequestBuild return new SendActivityNotificationRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the startMigration method. + */ + public function startMigration(): StartMigrationRequestBuilder { + return new StartMigrationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the tabs property of the microsoft.graph.chat entity. */ diff --git a/src/Generated/Users/Item/Chats/Item/StartMigration/StartMigrationPostRequestBody.php b/src/Generated/Users/Item/Chats/Item/StartMigration/StartMigrationPostRequestBody.php new file mode 100644 index 00000000000..71ebbd62093 --- /dev/null +++ b/src/Generated/Users/Item/Chats/Item/StartMigration/StartMigrationPostRequestBody.php @@ -0,0 +1,115 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return StartMigrationPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): StartMigrationPostRequestBody { + return new StartMigrationPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the conversationCreationDateTime property value. The conversationCreationDateTime property + * @return DateTime|null + */ + public function getConversationCreationDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('conversationCreationDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'conversationCreationDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'conversationCreationDateTime' => fn(ParseNode $n) => $o->setConversationCreationDateTime($n->getDateTimeValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeDateTimeValue('conversationCreationDateTime', $this->getConversationCreationDateTime()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the conversationCreationDateTime property value. The conversationCreationDateTime property + * @param DateTime|null $value Value to set for the conversationCreationDateTime property. + */ + public function setConversationCreationDateTime(?DateTime $value): void { + $this->getBackingStore()->set('conversationCreationDateTime', $value); + } + +} diff --git a/src/Generated/Users/Item/Chats/Item/StartMigration/StartMigrationRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/StartMigration/StartMigrationRequestBuilder.php new file mode 100644 index 00000000000..9b8a6fe8f01 --- /dev/null +++ b/src/Generated/Users/Item/Chats/Item/StartMigration/StartMigrationRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/startMigration'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. + * @param StartMigrationPostRequestBody $body The request body + * @param StartMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/chat-startmigration?view=graph-rest-beta Find more info here + */ + public function post(StartMigrationPostRequestBody $body, ?StartMigrationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. + * @param StartMigrationPostRequestBody $body The request body + * @param StartMigrationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(StartMigrationPostRequestBody $body, ?StartMigrationRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return StartMigrationRequestBuilder + */ + public function withUrl(string $rawUrl): StartMigrationRequestBuilder { + return new StartMigrationRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Chats/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Chats/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..f8076031ea7 --- /dev/null +++ b/src/Generated/Users/Item/Chats/Item/StartMigration/StartMigrationRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/Presence/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.php b/src/Generated/Users/Item/Presence/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.php index 0c70da6f049..04abb19acee 100644 --- a/src/Generated/Users/Item/Presence/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.php +++ b/src/Generated/Users/Item/Presence/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network/location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. + * Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. * @param SetAutomaticLocationPostRequestBody $body The request body * @param SetAutomaticLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(SetAutomaticLocationPostRequestBody $body, ?SetAutomaticLoc } /** - * Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network/location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. + * Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. * @param SetAutomaticLocationPostRequestBody $body The request body * @param SetAutomaticLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Presence/SetManualLocation/SetManualLocationRequestBuilder.php b/src/Generated/Users/Item/Presence/SetManualLocation/SetManualLocationRequestBuilder.php index 840a135f64a..5045d7d3a5f 100644 --- a/src/Generated/Users/Item/Presence/SetManualLocation/SetManualLocationRequestBuilder.php +++ b/src/Generated/Users/Item/Presence/SetManualLocation/SetManualLocationRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Set the manual work location signal for a user. The explicit value chosen by a user (or an authorized client) overrides any automatically detected or scheduled working hours and location. + * Set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. * @param SetManualLocationPostRequestBody $body The request body * @param SetManualLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(SetManualLocationPostRequestBody $body, ?SetManualLocationR } /** - * Set the manual work location signal for a user. The explicit value chosen by a user (or an authorized client) overrides any automatically detected or scheduled working hours and location. + * Set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. * @param SetManualLocationPostRequestBody $body The request body * @param SetManualLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Settings/SettingsRequestBuilder.php b/src/Generated/Users/Item/Settings/SettingsRequestBuilder.php index f6ba41bfcea..8e9600655b4 100644 --- a/src/Generated/Users/Item/Settings/SettingsRequestBuilder.php +++ b/src/Generated/Users/Item/Settings/SettingsRequestBuilder.php @@ -13,6 +13,7 @@ use Microsoft\Graph\Beta\Generated\Users\Item\Settings\ShiftPreferences\ShiftPreferencesRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\Settings\Storage\StorageRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\Settings\Windows\WindowsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Users\Item\Settings\WorkHoursAndLocations\WorkHoursAndLocationsRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -72,6 +73,13 @@ public function windows(): WindowsRequestBuilder { return new WindowsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the workHoursAndLocations property of the microsoft.graph.userSettings entity. + */ + public function workHoursAndLocations(): WorkHoursAndLocationsRequestBuilder { + return new WorkHoursAndLocationsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new SettingsRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..acd7fdb2023 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..36aec0f86bc --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..2fee7be83b8 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilder.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilder.php new file mode 100644 index 00000000000..420f57a4741 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilder.php @@ -0,0 +1,144 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences/{workPlanOccurrence%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property occurrences for users + * @param WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Collection of work plan occurrences. + * @param WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WorkPlanOccurrence::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property occurrences in users + * @param WorkPlanOccurrence $body The request body + * @param WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function put(WorkPlanOccurrence $body, ?WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WorkPlanOccurrence::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property occurrences for users + * @param WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Collection of work plan occurrences. + * @param WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property occurrences in users + * @param WorkPlanOccurrence $body The request body + * @param WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPutRequestInformation(WorkPlanOccurrence $body, ?WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PUT; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return WorkPlanOccurrenceItemRequestBuilder + */ + public function withUrl(string $rawUrl): WorkPlanOccurrenceItemRequestBuilder { + return new WorkPlanOccurrenceItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..63bbd9c769d --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..a9a6304a53b --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new WorkPlanOccurrenceItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..8228b1ea680 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param WorkPlanOccurrenceItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?WorkPlanOccurrenceItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new WorkPlanOccurrenceItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return WorkPlanOccurrenceItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): WorkPlanOccurrenceItemRequestBuilderGetQueryParameters { + return new WorkPlanOccurrenceItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration.php new file mode 100644 index 00000000000..7875190865e --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilder.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilder.php new file mode 100644 index 00000000000..cc0b40c8f79 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilder.php @@ -0,0 +1,141 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the setCurrentLocation method. + */ + public function setCurrentLocation(): SetCurrentLocationRequestBuilder { + return new SetCurrentLocationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. + * @param string $workPlanOccurrenceId The unique identifier of workPlanOccurrence + * @return WorkPlanOccurrenceItemRequestBuilder + */ + public function byWorkPlanOccurrenceId(string $workPlanOccurrenceId): WorkPlanOccurrenceItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['workPlanOccurrence%2Did'] = $workPlanOccurrenceId; + return new WorkPlanOccurrenceItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new OccurrencesRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Collection of work plan occurrences. + * @param OccurrencesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?OccurrencesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WorkPlanOccurrenceCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to occurrences for users + * @param WorkPlanOccurrence $body The request body + * @param OccurrencesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(WorkPlanOccurrence $body, ?OccurrencesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WorkPlanOccurrence::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Collection of work plan occurrences. + * @param OccurrencesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?OccurrencesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to occurrences for users + * @param WorkPlanOccurrence $body The request body + * @param OccurrencesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(WorkPlanOccurrence $body, ?OccurrencesRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return OccurrencesRequestBuilder + */ + public function withUrl(string $rawUrl): OccurrencesRequestBuilder { + return new OccurrencesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..a4f1beb1a24 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new OccurrencesRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..658c1898b9f --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param OccurrencesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?OccurrencesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new OccurrencesRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return OccurrencesRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): OccurrencesRequestBuilderGetQueryParameters { + return new OccurrencesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..e519abab409 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationPostRequestBody.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationPostRequestBody.php new file mode 100644 index 00000000000..83fd06280bd --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationPostRequestBody.php @@ -0,0 +1,160 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return SetCurrentLocationPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): SetCurrentLocationPostRequestBody { + return new SetCurrentLocationPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'placeId' => fn(ParseNode $n) => $o->setPlaceId($n->getStringValue()), + 'updateScope' => fn(ParseNode $n) => $o->setUpdateScope($n->getEnumValue(WorkLocationUpdateScope::class)), + 'workLocationType' => fn(ParseNode $n) => $o->setWorkLocationType($n->getEnumValue(WorkLocationType::class)), + ]; + } + + /** + * Gets the placeId property value. The placeId property + * @return string|null + */ + public function getPlaceId(): ?string { + $val = $this->getBackingStore()->get('placeId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'placeId'"); + } + + /** + * Gets the updateScope property value. The updateScope property + * @return WorkLocationUpdateScope|null + */ + public function getUpdateScope(): ?WorkLocationUpdateScope { + $val = $this->getBackingStore()->get('updateScope'); + if (is_null($val) || $val instanceof WorkLocationUpdateScope) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'updateScope'"); + } + + /** + * Gets the workLocationType property value. The workLocationType property + * @return WorkLocationType|null + */ + public function getWorkLocationType(): ?WorkLocationType { + $val = $this->getBackingStore()->get('workLocationType'); + if (is_null($val) || $val instanceof WorkLocationType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'workLocationType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('placeId', $this->getPlaceId()); + $writer->writeEnumValue('updateScope', $this->getUpdateScope()); + $writer->writeEnumValue('workLocationType', $this->getWorkLocationType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the placeId property value. The placeId property + * @param string|null $value Value to set for the placeId property. + */ + public function setPlaceId(?string $value): void { + $this->getBackingStore()->set('placeId', $value); + } + + /** + * Sets the updateScope property value. The updateScope property + * @param WorkLocationUpdateScope|null $value Value to set for the updateScope property. + */ + public function setUpdateScope(?WorkLocationUpdateScope $value): void { + $this->getBackingStore()->set('updateScope', $value); + } + + /** + * Sets the workLocationType property value. The workLocationType property + * @param WorkLocationType|null $value Value to set for the workLocationType property. + */ + public function setWorkLocationType(?WorkLocationType $value): void { + $this->getBackingStore()->set('workLocationType', $value); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationRequestBuilder.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationRequestBuilder.php new file mode 100644 index 00000000000..b3fe488bf95 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences/setCurrentLocation'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Update your work location for the current day or current active segment. This action allows you to quickly update your work location without modifying individual occurrences. + * @param SetCurrentLocationPostRequestBody $body The request body + * @param SetCurrentLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/workplanoccurrence-setcurrentlocation?view=graph-rest-beta Find more info here + */ + public function post(SetCurrentLocationPostRequestBody $body, ?SetCurrentLocationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Update your work location for the current day or current active segment. This action allows you to quickly update your work location without modifying individual occurrences. + * @param SetCurrentLocationPostRequestBody $body The request body + * @param SetCurrentLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(SetCurrentLocationPostRequestBody $body, ?SetCurrentLocationRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return SetCurrentLocationRequestBuilder + */ + public function withUrl(string $rawUrl): SetCurrentLocationRequestBuilder { + return new SetCurrentLocationRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..bcd24d5d876 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse.php new file mode 100644 index 00000000000..7112f991bfc --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([WorkPlanOccurrence::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, WorkPlanOccurrence::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.php new file mode 100644 index 00000000000..78315a42d06 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.php @@ -0,0 +1,82 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + * @param string|null $endDateTime Usage: endDateTime='{endDateTime}' + * @param string|null $startDateTime Usage: startDateTime='{startDateTime}' + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $endDateTime = null, ?string $startDateTime = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrencesView(startDateTime=\'{startDateTime}\',endDateTime=\'{endDateTime}\'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['endDateTime'] = $endDateTime; + $urlTplParams['startDateTime'] = $startDateTime; + $this->pathParameters = $urlTplParams; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. + * @param OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/workhoursandlocationssetting-occurrencesview?view=graph-rest-beta Find more info here + */ + public function get(?OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. + * @param OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder + */ + public function withUrl(string $rawUrl): OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder { + return new OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..ab76ada850e --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..54cf1b8da71 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters { + return new OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..e5590d9f09c --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/recurrences/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..5a9b5a0391d --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..4b531580b8f --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilder.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilder.php new file mode 100644 index 00000000000..50644164f27 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilder.php @@ -0,0 +1,144 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/recurrences/{workPlanRecurrence%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property recurrences for users + * @param WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Collection of recurring work plans defined by the user. + * @param WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WorkPlanRecurrence::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property recurrences in users + * @param WorkPlanRecurrence $body The request body + * @param WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function put(WorkPlanRecurrence $body, ?WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WorkPlanRecurrence::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property recurrences for users + * @param WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Collection of recurring work plans defined by the user. + * @param WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property recurrences in users + * @param WorkPlanRecurrence $body The request body + * @param WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPutRequestInformation(WorkPlanRecurrence $body, ?WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PUT; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return WorkPlanRecurrenceItemRequestBuilder + */ + public function withUrl(string $rawUrl): WorkPlanRecurrenceItemRequestBuilder { + return new WorkPlanRecurrenceItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..aab9f62b606 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..c37a604c3d3 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new WorkPlanRecurrenceItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..12a57a39018 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param WorkPlanRecurrenceItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?WorkPlanRecurrenceItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new WorkPlanRecurrenceItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return WorkPlanRecurrenceItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): WorkPlanRecurrenceItemRequestBuilderGetQueryParameters { + return new WorkPlanRecurrenceItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration.php new file mode 100644 index 00000000000..26126639610 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilder.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilder.php new file mode 100644 index 00000000000..fe71ff9b467 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilder.php @@ -0,0 +1,133 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. + * @param string $workPlanRecurrenceId The unique identifier of workPlanRecurrence + * @return WorkPlanRecurrenceItemRequestBuilder + */ + public function byWorkPlanRecurrenceId(string $workPlanRecurrenceId): WorkPlanRecurrenceItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['workPlanRecurrence%2Did'] = $workPlanRecurrenceId; + return new WorkPlanRecurrenceItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new RecurrencesRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/recurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Collection of recurring work plans defined by the user. + * @param RecurrencesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RecurrencesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WorkPlanRecurrenceCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to recurrences for users + * @param WorkPlanRecurrence $body The request body + * @param RecurrencesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(WorkPlanRecurrence $body, ?RecurrencesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WorkPlanRecurrence::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Collection of recurring work plans defined by the user. + * @param RecurrencesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RecurrencesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to recurrences for users + * @param WorkPlanRecurrence $body The request body + * @param RecurrencesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(WorkPlanRecurrence $body, ?RecurrencesRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return RecurrencesRequestBuilder + */ + public function withUrl(string $rawUrl): RecurrencesRequestBuilder { + return new RecurrencesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..a5c79f73886 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new RecurrencesRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..37a2050bf60 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RecurrencesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RecurrencesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RecurrencesRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return RecurrencesRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): RecurrencesRequestBuilderGetQueryParameters { + return new RecurrencesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..758185f7664 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilder.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilder.php new file mode 100644 index 00000000000..b7ee59aec1b --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilder.php @@ -0,0 +1,139 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. + */ + public function recurrences(): RecurrencesRequestBuilder { + return new RecurrencesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new WorkHoursAndLocationsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * The user's settings for work hours and location preferences for scheduling and availability management. + * @param WorkHoursAndLocationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?WorkHoursAndLocationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WorkHoursAndLocationsSetting::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Provides operations to call the occurrencesView method. + * @param string $endDateTime Usage: endDateTime='{endDateTime}' + * @param string $startDateTime Usage: startDateTime='{startDateTime}' + * @return OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder + */ + public function occurrencesViewWithStartDateTimeWithEndDateTime(string $endDateTime, string $startDateTime): OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder { + return new OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder($this->pathParameters, $this->requestAdapter, $endDateTime, $startDateTime); + } + + /** + * Update the navigation property workHoursAndLocations in users + * @param WorkHoursAndLocationsSetting $body The request body + * @param WorkHoursAndLocationsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(WorkHoursAndLocationsSetting $body, ?WorkHoursAndLocationsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WorkHoursAndLocationsSetting::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * The user's settings for work hours and location preferences for scheduling and availability management. + * @param WorkHoursAndLocationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?WorkHoursAndLocationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property workHoursAndLocations in users + * @param WorkHoursAndLocationsSetting $body The request body + * @param WorkHoursAndLocationsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(WorkHoursAndLocationsSetting $body, ?WorkHoursAndLocationsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return WorkHoursAndLocationsRequestBuilder + */ + public function withUrl(string $rawUrl): WorkHoursAndLocationsRequestBuilder { + return new WorkHoursAndLocationsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..3b62eecc944 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new WorkHoursAndLocationsRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..eb06c25f20a --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param WorkHoursAndLocationsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?WorkHoursAndLocationsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new WorkHoursAndLocationsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return WorkHoursAndLocationsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): WorkHoursAndLocationsRequestBuilderGetQueryParameters { + return new WorkHoursAndLocationsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..f64d4485cb3 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/kiota-dom-export.txt b/src/Generated/kiota-dom-export.txt index 41463668ec4..8ae8c037037 100644 --- a/src/Generated/kiota-dom-export.txt +++ b/src/Generated/kiota-dom-export.txt @@ -1595,6 +1595,7 @@ Microsoft\Graph\Beta\Generated.admin.exchange.ExchangeRequestBuilder::|public|re Microsoft\Graph\Beta\Generated.admin.exchange.ExchangeRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ExchangeRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.admin.exchange.ExchangeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ExchangeRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.admin.exchange.ExchangeRequestBuilder::|public|ToPatchRequestInformation(body:ExchangeAdmin; requestConfiguration?:ExchangeRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.exchange.ExchangeRequestBuilder::|public|tracing:TracingRequestBuilder Microsoft\Graph\Beta\Generated.admin.exchange.ExchangeRequestBuilder::|public|urlTemplate:string Microsoft\Graph\Beta\Generated.admin.exchange.ExchangeRequestBuilder::|public|WithUrl(rawUrl:string):ExchangeRequestBuilder Microsoft\Graph\Beta\Generated.admin.exchange.exchangeRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration @@ -2242,6 +2243,124 @@ Microsoft\Graph\Beta\Generated.admin.exchange.messageTraces.messageTracesRequest Microsoft\Graph\Beta\Generated.admin.exchange.messageTraces.messageTracesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):MessageTracesRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.admin.exchange.messageTraces.messageTracesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.admin.exchange.messageTraces.messageTracesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilder::|public|Delete(requestConfiguration?:ExchangeMessageTraceItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilder::|public|Get(requestConfiguration?:ExchangeMessageTraceItemRequestBuilderGetRequestConfiguration):ExchangeMessageTrace +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilder::|public|getDetailsByRecipientWithRecipientAddress(recipientAddress:string):GetDetailsByRecipientWithRecipientAddressRequestBuilder +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilder::|public|Patch(body:ExchangeMessageTrace; requestConfiguration?:ExchangeMessageTraceItemRequestBuilderPatchRequestConfiguration):ExchangeMessageTrace +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ExchangeMessageTraceItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ExchangeMessageTraceItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilder::|public|ToPatchRequestInformation(body:ExchangeMessageTrace; requestConfiguration?:ExchangeMessageTraceItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilder::|public|WithUrl(rawUrl:string):ExchangeMessageTraceItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ExchangeMessageTraceItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:ExchangeMessageTraceItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ExchangeMessageTraceItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.ExchangeMessageTraceItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressGetResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressGetResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressGetResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressGetResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressGetResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GetDetailsByRecipientWithRecipientAddressGetResponse +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; recipientAddress?:string):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder::|public|Get(requestConfiguration?:GetDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration):GetDetailsByRecipientWithRecipientAddressGetResponse +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:GetDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilder::|public|WithUrl(rawUrl:string):GetDetailsByRecipientWithRecipientAddressRequestBuilder +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:GetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration::|public|queryParameters:GetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.item.getDetailsByRecipientWithRecipientAddress.getDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):GetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.MessageTracesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.MessageTracesRequestBuilder::|public|ByExchangeMessageTraceId(exchangeMessageTraceId:string):ExchangeMessageTraceItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.MessageTracesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.MessageTracesRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.MessageTracesRequestBuilder::|public|Get(requestConfiguration?:MessageTracesRequestBuilderGetRequestConfiguration):ExchangeMessageTraceCollectionResponse +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.MessageTracesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.MessageTracesRequestBuilder::|public|Post(body:ExchangeMessageTrace; requestConfiguration?:MessageTracesRequestBuilderPostRequestConfiguration):ExchangeMessageTrace +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.MessageTracesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.MessageTracesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MessageTracesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.MessageTracesRequestBuilder::|public|ToPostRequestInformation(body:ExchangeMessageTrace; requestConfiguration?:MessageTracesRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.MessageTracesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.MessageTracesRequestBuilder::|public|WithUrl(rawUrl:string):MessageTracesRequestBuilder +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.messageTracesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.messageTracesRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.messageTracesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.messageTracesRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.messageTracesRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.messageTracesRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.messageTracesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.messageTracesRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.messageTracesRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.messageTracesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.messageTracesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:MessageTracesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.messageTracesRequestBuilderGetRequestConfiguration::|public|queryParameters:MessageTracesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.messageTracesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):MessageTracesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.messageTracesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.messageTraces.messageTracesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.TracingRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.TracingRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.TracingRequestBuilder::|public|Delete(requestConfiguration?:TracingRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.TracingRequestBuilder::|public|Get(requestConfiguration?:TracingRequestBuilderGetRequestConfiguration):MessageTracingRoot +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.TracingRequestBuilder::|public|messageTraces:MessageTracesRequestBuilder +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.TracingRequestBuilder::|public|Patch(body:MessageTracingRoot; requestConfiguration?:TracingRequestBuilderPatchRequestConfiguration):MessageTracingRoot +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.TracingRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.TracingRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.TracingRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:TracingRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.TracingRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:TracingRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.TracingRequestBuilder::|public|ToPatchRequestInformation(body:MessageTracingRoot; requestConfiguration?:TracingRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.TracingRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.TracingRequestBuilder::|public|WithUrl(rawUrl:string):TracingRequestBuilder +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.tracingRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.tracingRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.tracingRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.tracingRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.tracingRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.tracingRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.tracingRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:TracingRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.tracingRequestBuilderGetRequestConfiguration::|public|queryParameters:TracingRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.tracingRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):TracingRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.tracingRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.exchange.tracing.tracingRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.admin.forms.FormsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.admin.forms.FormsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.admin.forms.FormsRequestBuilder::|public|Delete(requestConfiguration?:FormsRequestBuilderDeleteRequestConfiguration):void @@ -16630,6 +16749,7 @@ Microsoft\Graph\Beta\Generated.chats.item.ChatItemRequestBuilder::|public|pinned Microsoft\Graph\Beta\Generated.chats.item.ChatItemRequestBuilder::|public|removeAllAccessForUser:RemoveAllAccessForUserRequestBuilder Microsoft\Graph\Beta\Generated.chats.item.ChatItemRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Beta\Generated.chats.item.ChatItemRequestBuilder::|public|sendActivityNotification:SendActivityNotificationRequestBuilder +Microsoft\Graph\Beta\Generated.chats.item.ChatItemRequestBuilder::|public|startMigration:StartMigrationRequestBuilder Microsoft\Graph\Beta\Generated.chats.item.ChatItemRequestBuilder::|public|tabs:TabsRequestBuilder Microsoft\Graph\Beta\Generated.chats.item.ChatItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ChatItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.chats.item.ChatItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ChatItemRequestBuilderGetRequestConfiguration):RequestInformation @@ -17866,6 +17986,27 @@ Microsoft\Graph\Beta\Generated.chats.item.sendActivityNotification.SendActivityN Microsoft\Graph\Beta\Generated.chats.item.sendActivityNotification.SendActivityNotificationRequestBuilder::|public|WithUrl(rawUrl:string):SendActivityNotificationRequestBuilder Microsoft\Graph\Beta\Generated.chats.item.sendActivityNotification.sendActivityNotificationRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.chats.item.sendActivityNotification.sendActivityNotificationRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.chats.item.startMigration.startMigrationPostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.chats.item.startMigration.startMigrationPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.chats.item.startMigration.startMigrationPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.chats.item.startMigration.startMigrationPostRequestBody::|public|getConversationCreationDateTime():DateTime +Microsoft\Graph\Beta\Generated.chats.item.startMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.chats.item.startMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.chats.item.startMigration.startMigrationPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.chats.item.startMigration.startMigrationPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.chats.item.startMigration.startMigrationPostRequestBody::|public|setConversationCreationDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.chats.item.startMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):StartMigrationPostRequestBody +Microsoft\Graph\Beta\Generated.chats.item.startMigration.startMigrationPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.chats.item.startMigration.StartMigrationRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.chats.item.startMigration.StartMigrationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.chats.item.startMigration.StartMigrationRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.chats.item.startMigration.StartMigrationRequestBuilder::|public|Post(body:StartMigrationPostRequestBody; requestConfiguration?:StartMigrationRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Beta\Generated.chats.item.startMigration.StartMigrationRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.chats.item.startMigration.StartMigrationRequestBuilder::|public|ToPostRequestInformation(body:StartMigrationPostRequestBody; requestConfiguration?:StartMigrationRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.chats.item.startMigration.StartMigrationRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.chats.item.startMigration.StartMigrationRequestBuilder::|public|WithUrl(rawUrl:string):StartMigrationRequestBuilder +Microsoft\Graph\Beta\Generated.chats.item.startMigration.startMigrationRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.chats.item.startMigration.startMigrationRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.chats.item.tabs.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.chats.item.tabs.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.chats.item.tabs.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -18056,6 +18197,8 @@ Microsoft\Graph\Beta\Generated.communications.adhocCalls.AdhocCallsRequestBuilde Microsoft\Graph\Beta\Generated.communications.adhocCalls.AdhocCallsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.communications.adhocCalls.AdhocCallsRequestBuilder::|public|Count:CountRequestBuilder Microsoft\Graph\Beta\Generated.communications.adhocCalls.AdhocCallsRequestBuilder::|public|Get(requestConfiguration?:AdhocCallsRequestBuilderGetRequestConfiguration):AdhocCallCollectionResponse +Microsoft\Graph\Beta\Generated.communications.adhocCalls.AdhocCallsRequestBuilder::|public|getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime:GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft\Graph\Beta\Generated.communications.adhocCalls.AdhocCallsRequestBuilder::|public|getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime:GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder Microsoft\Graph\Beta\Generated.communications.adhocCalls.AdhocCallsRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.communications.adhocCalls.AdhocCallsRequestBuilder::|public|Post(body:AdhocCall; requestConfiguration?:AdhocCallsRequestBuilderPostRequestConfiguration):AdhocCall Microsoft\Graph\Beta\Generated.communications.adhocCalls.AdhocCallsRequestBuilder::|public|requestAdapter:RequestAdapter @@ -18093,6 +18236,68 @@ Microsoft\Graph\Beta\Generated.communications.adhocCalls.count.CountRequestBuild Microsoft\Graph\Beta\Generated.communications.adhocCalls.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void Microsoft\Graph\Beta\Generated.communications.adhocCalls.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.communications.adhocCalls.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|Get(requestConfiguration?:GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|constructor(count?:bool; endDateTime?:DateTime; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; startDateTime?:DateTime; top?:int; userId?:string):void +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|endDateTime:DateTime +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|startDateTime:DateTime +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|userId:string +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|queryParameters:GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; endDateTime?:DateTime; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; startDateTime?:DateTime; top?:int; userId?:string):GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|Get(requestConfiguration?:GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|constructor(count?:bool; endDateTime?:DateTime; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; startDateTime?:DateTime; top?:int; userId?:string):void +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|endDateTime:DateTime +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|startDateTime:DateTime +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|userId:string +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|queryParameters:GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.communications.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; endDateTime?:DateTime; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; startDateTime?:DateTime; top?:int; userId?:string):GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilder::|public|Delete(requestConfiguration?:AdhocCallItemRequestBuilderDeleteRequestConfiguration):void @@ -71029,6 +71234,7 @@ Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.ReportReq Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.ReportRequestBuilder::|public|Patch(body:CloudPcReport; requestConfiguration?:ReportRequestBuilderPatchRequestConfiguration):CloudPcReport Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.ReportRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.ReportRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.ReportRequestBuilder::|public|retrieveCloudPcClientAppUsageReport:RetrieveCloudPcClientAppUsageReportRequestBuilder Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.ReportRequestBuilder::|public|retrieveCloudPcRecommendationReports:RetrieveCloudPcRecommendationReportsRequestBuilder Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.ReportRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ReportRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.ReportRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ReportRequestBuilderGetRequestConfiguration):RequestInformation @@ -71046,6 +71252,41 @@ Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.reportReq Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.reportRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ReportRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.reportRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.reportRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|getFilter():string +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|getGroupBy():array +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|getOrderBy():array +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|getReportType():CloudPcClientAppUsageReportType +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|getSearch():string +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|getSelect():array +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|getSkip():int +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|getTop():int +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|setFilter(value?:string):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|setGroupBy(value?:array):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|setOrderBy(value?:array):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|setReportType(value?:CloudPcClientAppUsageReportType):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|setSearch(value?:string):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|setSelect(value?:array):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|setSkip(value?:int):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|public|setTop(value?:int):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RetrieveCloudPcClientAppUsageReportPostRequestBody +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.RetrieveCloudPcClientAppUsageReportRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.RetrieveCloudPcClientAppUsageReportRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.RetrieveCloudPcClientAppUsageReportRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.RetrieveCloudPcClientAppUsageReportRequestBuilder::|public|Post(body:RetrieveCloudPcClientAppUsageReportPostRequestBody; requestConfiguration?:RetrieveCloudPcClientAppUsageReportRequestBuilderPostRequestConfiguration):StreamInterface +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.RetrieveCloudPcClientAppUsageReportRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.RetrieveCloudPcClientAppUsageReportRequestBuilder::|public|ToPostRequestInformation(body:RetrieveCloudPcClientAppUsageReportPostRequestBody; requestConfiguration?:RetrieveCloudPcClientAppUsageReportRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.RetrieveCloudPcClientAppUsageReportRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.RetrieveCloudPcClientAppUsageReportRequestBuilder::|public|WithUrl(rawUrl:string):RetrieveCloudPcClientAppUsageReportRequestBuilder +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcClientAppUsageReport.retrieveCloudPcClientAppUsageReportRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|constructor():void Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|getBackingStore():BackingStore @@ -149736,6 +149977,7 @@ Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.ChannelItemRequest Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.ChannelItemRequestBuilder::|public|removeEmail:RemoveEmailRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.ChannelItemRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.ChannelItemRequestBuilder::|public|sharedWithTeams:SharedWithTeamsRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.ChannelItemRequestBuilder::|public|startMigration:StartMigrationRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.ChannelItemRequestBuilder::|public|tabs:TabsRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.ChannelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ChannelItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.ChannelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ChannelItemRequestBuilderGetRequestConfiguration):RequestInformation @@ -151480,6 +151722,27 @@ Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.sharedWithTeams.sh Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.sharedWithTeams.sharedWithTeamsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):SharedWithTeamsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.sharedWithTeams.sharedWithTeamsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.sharedWithTeams.sharedWithTeamsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.startMigration.startMigrationPostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.startMigration.startMigrationPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.startMigration.startMigrationPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.startMigration.startMigrationPostRequestBody::|public|getConversationCreationDateTime():DateTime +Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.startMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.startMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.startMigration.startMigrationPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.startMigration.startMigrationPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.startMigration.startMigrationPostRequestBody::|public|setConversationCreationDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.startMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):StartMigrationPostRequestBody +Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.startMigration.startMigrationPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.startMigration.StartMigrationRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.startMigration.StartMigrationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.startMigration.StartMigrationRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.startMigration.StartMigrationRequestBuilder::|public|Post(body:StartMigrationPostRequestBody; requestConfiguration?:StartMigrationRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.startMigration.StartMigrationRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.startMigration.StartMigrationRequestBuilder::|public|ToPostRequestInformation(body:StartMigrationPostRequestBody; requestConfiguration?:StartMigrationRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.startMigration.StartMigrationRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.startMigration.StartMigrationRequestBuilder::|public|WithUrl(rawUrl:string):StartMigrationRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.startMigration.startMigrationRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.startMigration.startMigrationRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.tabs.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.tabs.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.groups.item.team.channels.item.tabs.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -153988,6 +154251,7 @@ Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.PrimaryChannelReq Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.PrimaryChannelRequestBuilder::|public|removeEmail:RemoveEmailRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.PrimaryChannelRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.PrimaryChannelRequestBuilder::|public|sharedWithTeams:SharedWithTeamsRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.PrimaryChannelRequestBuilder::|public|startMigration:StartMigrationRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.PrimaryChannelRequestBuilder::|public|tabs:TabsRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.PrimaryChannelRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:PrimaryChannelRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.PrimaryChannelRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:PrimaryChannelRequestBuilderGetRequestConfiguration):RequestInformation @@ -154161,6 +154425,27 @@ Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.sharedWithTeams.s Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.sharedWithTeams.sharedWithTeamsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):SharedWithTeamsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.sharedWithTeams.sharedWithTeamsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.sharedWithTeams.sharedWithTeamsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.startMigration.startMigrationPostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.startMigration.startMigrationPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.startMigration.startMigrationPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.startMigration.startMigrationPostRequestBody::|public|getConversationCreationDateTime():DateTime +Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.startMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.startMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.startMigration.startMigrationPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.startMigration.startMigrationPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.startMigration.startMigrationPostRequestBody::|public|setConversationCreationDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.startMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):StartMigrationPostRequestBody +Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.startMigration.startMigrationPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.startMigration.StartMigrationRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|Post(body:StartMigrationPostRequestBody; requestConfiguration?:StartMigrationRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|ToPostRequestInformation(body:StartMigrationPostRequestBody; requestConfiguration?:StartMigrationRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|WithUrl(rawUrl:string):StartMigrationRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.startMigration.startMigrationRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.startMigration.startMigrationRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.tabs.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.tabs.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.groups.item.team.primaryChannel.tabs.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -194062,9 +194347,11 @@ Microsoft\Graph\Beta\Generated.models.agentIdentity::|static|public|CreateFromDi Microsoft\Graph\Beta\Generated.models.agentIdentityBlueprint-->Application Microsoft\Graph\Beta\Generated.models.agentIdentityBlueprint::|public|constructor():void Microsoft\Graph\Beta\Generated.models.agentIdentityBlueprint::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.agentIdentityBlueprint::|public|getInheritablePermissions():array Microsoft\Graph\Beta\Generated.models.agentIdentityBlueprint::|public|getSponsors():array Microsoft\Graph\Beta\Generated.models.agentIdentityBlueprint::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.agentIdentityBlueprint::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.agentIdentityBlueprint::|public|setInheritablePermissions(value?:array):void Microsoft\Graph\Beta\Generated.models.agentIdentityBlueprint::|public|setSponsors(value?:array):void Microsoft\Graph\Beta\Generated.models.agentIdentityBlueprint::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AgentIdentityBlueprint Microsoft\Graph\Beta\Generated.models.agentIdentityBlueprintPrincipal-->ServicePrincipal @@ -194879,6 +195166,12 @@ Microsoft\Graph\Beta\Generated.models.allAccountsWithAccess::|public|GetFieldDes Microsoft\Graph\Beta\Generated.models.allAccountsWithAccess::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.allAccountsWithAccess::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.allAccountsWithAccess::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AllAccountsWithAccess +Microsoft\Graph\Beta\Generated.models.allAllowedScopes-->InheritableScopes +Microsoft\Graph\Beta\Generated.models.allAllowedScopes::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.allAllowedScopes::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.allAllowedScopes::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.allAllowedScopes::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.allAllowedScopes::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AllAllowedScopes Microsoft\Graph\Beta\Generated.models.allDeviceRegistrationMembership-->DeviceRegistrationMembership Microsoft\Graph\Beta\Generated.models.allDeviceRegistrationMembership::|public|constructor():void Microsoft\Graph\Beta\Generated.models.allDeviceRegistrationMembership::|public|GetFieldDeserializers():array @@ -194957,6 +195250,16 @@ Microsoft\Graph\Beta\Generated.models.allowedRolePrincipalTypes::0000-user Microsoft\Graph\Beta\Generated.models.allowedRolePrincipalTypes::0001-servicePrincipal Microsoft\Graph\Beta\Generated.models.allowedRolePrincipalTypes::0002-group Microsoft\Graph\Beta\Generated.models.allowedRolePrincipalTypes::0003-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.allowedTenantsAudience-->SignInAudienceRestrictionsBase +Microsoft\Graph\Beta\Generated.models.allowedTenantsAudience::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.allowedTenantsAudience::|public|getAllowedTenantIds():array +Microsoft\Graph\Beta\Generated.models.allowedTenantsAudience::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.allowedTenantsAudience::|public|getIsHomeTenantAllowed():bool +Microsoft\Graph\Beta\Generated.models.allowedTenantsAudience::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.allowedTenantsAudience::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.allowedTenantsAudience::|public|setAllowedTenantIds(value?:array):void +Microsoft\Graph\Beta\Generated.models.allowedTenantsAudience::|public|setIsHomeTenantAllowed(value?:bool):void +Microsoft\Graph\Beta\Generated.models.allowedTenantsAudience::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AllowedTenantsAudience Microsoft\Graph\Beta\Generated.models.allowedValue-->Entity Microsoft\Graph\Beta\Generated.models.allowedValue::|public|constructor():void Microsoft\Graph\Beta\Generated.models.allowedValue::|public|GetFieldDeserializers():array @@ -198454,6 +198757,7 @@ Microsoft\Graph\Beta\Generated.models.application::|public|getHomeRealmDiscovery Microsoft\Graph\Beta\Generated.models.application::|public|getIdentifierUris():array Microsoft\Graph\Beta\Generated.models.application::|public|getInfo():InformationalUrl Microsoft\Graph\Beta\Generated.models.application::|public|getIsDeviceOnlyAuthSupported():bool +Microsoft\Graph\Beta\Generated.models.application::|public|getIsDisabled():bool Microsoft\Graph\Beta\Generated.models.application::|public|getIsFallbackPublicClient():bool Microsoft\Graph\Beta\Generated.models.application::|public|getKeyCredentials():array Microsoft\Graph\Beta\Generated.models.application::|public|getLogo():StreamInterface @@ -198472,6 +198776,7 @@ Microsoft\Graph\Beta\Generated.models.application::|public|getSamlMetadataUrl(): Microsoft\Graph\Beta\Generated.models.application::|public|getServiceManagementReference():string Microsoft\Graph\Beta\Generated.models.application::|public|getServicePrincipalLockConfiguration():ServicePrincipalLockConfiguration Microsoft\Graph\Beta\Generated.models.application::|public|getSignInAudience():string +Microsoft\Graph\Beta\Generated.models.application::|public|getSignInAudienceRestrictions():SignInAudienceRestrictionsBase Microsoft\Graph\Beta\Generated.models.application::|public|getSpa():SpaApplication Microsoft\Graph\Beta\Generated.models.application::|public|getSynchronization():Synchronization Microsoft\Graph\Beta\Generated.models.application::|public|getTags():array @@ -198505,6 +198810,7 @@ Microsoft\Graph\Beta\Generated.models.application::|public|setHomeRealmDiscovery Microsoft\Graph\Beta\Generated.models.application::|public|setIdentifierUris(value?:array):void Microsoft\Graph\Beta\Generated.models.application::|public|setInfo(value?:InformationalUrl):void Microsoft\Graph\Beta\Generated.models.application::|public|setIsDeviceOnlyAuthSupported(value?:bool):void +Microsoft\Graph\Beta\Generated.models.application::|public|setIsDisabled(value?:bool):void Microsoft\Graph\Beta\Generated.models.application::|public|setIsFallbackPublicClient(value?:bool):void Microsoft\Graph\Beta\Generated.models.application::|public|setKeyCredentials(value?:array):void Microsoft\Graph\Beta\Generated.models.application::|public|setLogo(value?:StreamInterface):void @@ -198523,6 +198829,7 @@ Microsoft\Graph\Beta\Generated.models.application::|public|setSamlMetadataUrl(va Microsoft\Graph\Beta\Generated.models.application::|public|setServiceManagementReference(value?:string):void Microsoft\Graph\Beta\Generated.models.application::|public|setServicePrincipalLockConfiguration(value?:ServicePrincipalLockConfiguration):void Microsoft\Graph\Beta\Generated.models.application::|public|setSignInAudience(value?:string):void +Microsoft\Graph\Beta\Generated.models.application::|public|setSignInAudienceRestrictions(value?:SignInAudienceRestrictionsBase):void Microsoft\Graph\Beta\Generated.models.application::|public|setSpa(value?:SpaApplication):void Microsoft\Graph\Beta\Generated.models.application::|public|setSynchronization(value?:Synchronization):void Microsoft\Graph\Beta\Generated.models.application::|public|setTags(value?:array):void @@ -200633,14 +200940,14 @@ Microsoft\Graph\Beta\Generated.models.audienceRestriction::|static|public|Create Microsoft\Graph\Beta\Generated.models.audienceRestriction~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.audiencesConfiguration::|public|constructor():void Microsoft\Graph\Beta\Generated.models.audiencesConfiguration::|public|getAdditionalData():array -Microsoft\Graph\Beta\Generated.models.audiencesConfiguration::|public|getAzureAdMultipleOrgs():AudienceRestriction +Microsoft\Graph\Beta\Generated.models.audiencesConfiguration::|public|getAzureAdMultipleOrgs():AzureAdMultipleOrgsAudienceRestriction Microsoft\Graph\Beta\Generated.models.audiencesConfiguration::|public|getBackingStore():BackingStore Microsoft\Graph\Beta\Generated.models.audiencesConfiguration::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.audiencesConfiguration::|public|getOdataType():string Microsoft\Graph\Beta\Generated.models.audiencesConfiguration::|public|getPersonalMicrosoftAccount():AudienceRestriction Microsoft\Graph\Beta\Generated.models.audiencesConfiguration::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.audiencesConfiguration::|public|setAdditionalData(value?:array):void -Microsoft\Graph\Beta\Generated.models.audiencesConfiguration::|public|setAzureAdMultipleOrgs(value?:AudienceRestriction):void +Microsoft\Graph\Beta\Generated.models.audiencesConfiguration::|public|setAzureAdMultipleOrgs(value?:AzureAdMultipleOrgsAudienceRestriction):void Microsoft\Graph\Beta\Generated.models.audiencesConfiguration::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Beta\Generated.models.audiencesConfiguration::|public|setOdataType(value?:string):void Microsoft\Graph\Beta\Generated.models.audiencesConfiguration::|public|setPersonalMicrosoftAccount(value?:AudienceRestriction):void @@ -202483,6 +202790,12 @@ Microsoft\Graph\Beta\Generated.models.azureADJoinPolicy::|public|setLocalAdmins( Microsoft\Graph\Beta\Generated.models.azureADJoinPolicy::|public|setOdataType(value?:string):void Microsoft\Graph\Beta\Generated.models.azureADJoinPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AzureADJoinPolicy Microsoft\Graph\Beta\Generated.models.azureADJoinPolicy~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.azureAdMultipleOrgsAudienceRestriction-->AudienceRestriction +Microsoft\Graph\Beta\Generated.models.azureAdMultipleOrgsAudienceRestriction::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.azureAdMultipleOrgsAudienceRestriction::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.azureAdMultipleOrgsAudienceRestriction::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.azureAdMultipleOrgsAudienceRestriction::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.azureAdMultipleOrgsAudienceRestriction::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AzureAdMultipleOrgsAudienceRestriction Microsoft\Graph\Beta\Generated.models.azureAdPopTokenAuthentication-->CustomExtensionAuthenticationConfiguration Microsoft\Graph\Beta\Generated.models.azureAdPopTokenAuthentication::|public|constructor():void Microsoft\Graph\Beta\Generated.models.azureAdPopTokenAuthentication::|public|GetFieldDeserializers():array @@ -206215,7 +206528,9 @@ Microsoft\Graph\Beta\Generated.models.channel::|public|getLayoutType():ChannelLa Microsoft\Graph\Beta\Generated.models.channel::|public|getMembers():array Microsoft\Graph\Beta\Generated.models.channel::|public|getMembershipType():ChannelMembershipType Microsoft\Graph\Beta\Generated.models.channel::|public|getMessages():array +Microsoft\Graph\Beta\Generated.models.channel::|public|getMigrationMode():MigrationMode Microsoft\Graph\Beta\Generated.models.channel::|public|getModerationSettings():ChannelModerationSettings +Microsoft\Graph\Beta\Generated.models.channel::|public|getOriginalCreatedDateTime():DateTime Microsoft\Graph\Beta\Generated.models.channel::|public|getPlanner():TeamsChannelPlanner Microsoft\Graph\Beta\Generated.models.channel::|public|getSharedWithTeams():array Microsoft\Graph\Beta\Generated.models.channel::|public|getSummary():ChannelSummary @@ -206237,7 +206552,9 @@ Microsoft\Graph\Beta\Generated.models.channel::|public|setLayoutType(value?:Chan Microsoft\Graph\Beta\Generated.models.channel::|public|setMembers(value?:array):void Microsoft\Graph\Beta\Generated.models.channel::|public|setMembershipType(value?:ChannelMembershipType):void Microsoft\Graph\Beta\Generated.models.channel::|public|setMessages(value?:array):void +Microsoft\Graph\Beta\Generated.models.channel::|public|setMigrationMode(value?:MigrationMode):void Microsoft\Graph\Beta\Generated.models.channel::|public|setModerationSettings(value?:ChannelModerationSettings):void +Microsoft\Graph\Beta\Generated.models.channel::|public|setOriginalCreatedDateTime(value?:DateTime):void Microsoft\Graph\Beta\Generated.models.channel::|public|setPlanner(value?:TeamsChannelPlanner):void Microsoft\Graph\Beta\Generated.models.channel::|public|setSharedWithTeams(value?:array):void Microsoft\Graph\Beta\Generated.models.channel::|public|setSummary(value?:ChannelSummary):void @@ -206425,8 +206742,10 @@ Microsoft\Graph\Beta\Generated.models.chat::|public|getLastMessagePreview():Chat Microsoft\Graph\Beta\Generated.models.chat::|public|getLastUpdatedDateTime():DateTime Microsoft\Graph\Beta\Generated.models.chat::|public|getMembers():array Microsoft\Graph\Beta\Generated.models.chat::|public|getMessages():array +Microsoft\Graph\Beta\Generated.models.chat::|public|getMigrationMode():MigrationMode Microsoft\Graph\Beta\Generated.models.chat::|public|getOnlineMeetingInfo():TeamworkOnlineMeetingInfo Microsoft\Graph\Beta\Generated.models.chat::|public|getOperations():array +Microsoft\Graph\Beta\Generated.models.chat::|public|getOriginalCreatedDateTime():DateTime Microsoft\Graph\Beta\Generated.models.chat::|public|getPermissionGrants():array Microsoft\Graph\Beta\Generated.models.chat::|public|getPinnedMessages():array Microsoft\Graph\Beta\Generated.models.chat::|public|getTabs():array @@ -206445,8 +206764,10 @@ Microsoft\Graph\Beta\Generated.models.chat::|public|setLastMessagePreview(value? Microsoft\Graph\Beta\Generated.models.chat::|public|setLastUpdatedDateTime(value?:DateTime):void Microsoft\Graph\Beta\Generated.models.chat::|public|setMembers(value?:array):void Microsoft\Graph\Beta\Generated.models.chat::|public|setMessages(value?:array):void +Microsoft\Graph\Beta\Generated.models.chat::|public|setMigrationMode(value?:MigrationMode):void Microsoft\Graph\Beta\Generated.models.chat::|public|setOnlineMeetingInfo(value?:TeamworkOnlineMeetingInfo):void Microsoft\Graph\Beta\Generated.models.chat::|public|setOperations(value?:array):void +Microsoft\Graph\Beta\Generated.models.chat::|public|setOriginalCreatedDateTime(value?:DateTime):void Microsoft\Graph\Beta\Generated.models.chat::|public|setPermissionGrants(value?:array):void Microsoft\Graph\Beta\Generated.models.chat::|public|setPinnedMessages(value?:array):void Microsoft\Graph\Beta\Generated.models.chat::|public|setTabs(value?:array):void @@ -207922,6 +208243,8 @@ Microsoft\Graph\Beta\Generated.models.cloudPcBulkTroubleshoot::|public|GetFieldD Microsoft\Graph\Beta\Generated.models.cloudPcBulkTroubleshoot::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.cloudPcBulkTroubleshoot::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.cloudPcBulkTroubleshoot::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CloudPcBulkTroubleshoot +Microsoft\Graph\Beta\Generated.models.cloudPcClientAppUsageReportType::0000-microsoftRemoteDesktopClientUsageReport +Microsoft\Graph\Beta\Generated.models.cloudPcClientAppUsageReportType::0001-unknownFutureValue Microsoft\Graph\Beta\Generated.models.cloudPcCloudApp-->Entity Microsoft\Graph\Beta\Generated.models.cloudPcCloudApp::|public|constructor():void Microsoft\Graph\Beta\Generated.models.cloudPcCloudApp::|public|getActionFailedErrorCode():CloudPcCloudAppActionFailedErrorCode @@ -208145,7 +208468,6 @@ Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|getExpirationD Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|getLastModifiedDateTime():DateTime Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|getOperatingSystem():string -Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|getOsArchitecture():CloudPcImageOsArchitectureType Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|getOsBuildNumber():string Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|getOsStatus():CloudPcDeviceImageOsStatus Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|getOsVersionNumber():string @@ -208162,7 +208484,6 @@ Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|setErrorCode(v Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|setExpirationDate(value?:Date):void Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|setLastModifiedDateTime(value?:DateTime):void Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|setOperatingSystem(value?:string):void -Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|setOsArchitecture(value?:CloudPcImageOsArchitectureType):void Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|setOsBuildNumber(value?:string):void Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|setOsStatus(value?:CloudPcDeviceImageOsStatus):void Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|setOsVersionNumber(value?:string):void @@ -208508,7 +208829,6 @@ Microsoft\Graph\Beta\Generated.models.cloudPcGalleryImage::|public|GetFieldDeser Microsoft\Graph\Beta\Generated.models.cloudPcGalleryImage::|public|getOffer():string Microsoft\Graph\Beta\Generated.models.cloudPcGalleryImage::|public|getOfferDisplayName():string Microsoft\Graph\Beta\Generated.models.cloudPcGalleryImage::|public|getOfferName():string -Microsoft\Graph\Beta\Generated.models.cloudPcGalleryImage::|public|getOsArchitecture():CloudPcImageOsArchitectureType Microsoft\Graph\Beta\Generated.models.cloudPcGalleryImage::|public|getOsVersionNumber():string Microsoft\Graph\Beta\Generated.models.cloudPcGalleryImage::|public|getPublisher():string Microsoft\Graph\Beta\Generated.models.cloudPcGalleryImage::|public|getPublisherName():string @@ -208527,7 +208847,6 @@ Microsoft\Graph\Beta\Generated.models.cloudPcGalleryImage::|public|setExpiration Microsoft\Graph\Beta\Generated.models.cloudPcGalleryImage::|public|setOffer(value?:string):void Microsoft\Graph\Beta\Generated.models.cloudPcGalleryImage::|public|setOfferDisplayName(value?:string):void Microsoft\Graph\Beta\Generated.models.cloudPcGalleryImage::|public|setOfferName(value?:string):void -Microsoft\Graph\Beta\Generated.models.cloudPcGalleryImage::|public|setOsArchitecture(value?:CloudPcImageOsArchitectureType):void Microsoft\Graph\Beta\Generated.models.cloudPcGalleryImage::|public|setOsVersionNumber(value?:string):void Microsoft\Graph\Beta\Generated.models.cloudPcGalleryImage::|public|setPublisher(value?:string):void Microsoft\Graph\Beta\Generated.models.cloudPcGalleryImage::|public|setPublisherName(value?:string):void @@ -208584,9 +208903,6 @@ Microsoft\Graph\Beta\Generated.models.cloudPcHealthCheckItem::|public|setOdataTy Microsoft\Graph\Beta\Generated.models.cloudPcHealthCheckItem::|public|setResult(value?:CloudPcConnectivityEventResult):void Microsoft\Graph\Beta\Generated.models.cloudPcHealthCheckItem::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CloudPcHealthCheckItem Microsoft\Graph\Beta\Generated.models.cloudPcHealthCheckItem~~>AdditionalDataHolder; BackedModel; Parsable -Microsoft\Graph\Beta\Generated.models.cloudPcImageOsArchitectureType::0000-x64 -Microsoft\Graph\Beta\Generated.models.cloudPcImageOsArchitectureType::0001-arm64 -Microsoft\Graph\Beta\Generated.models.cloudPcImageOsArchitectureType::0002-unknownFutureValue Microsoft\Graph\Beta\Generated.models.cloudPcImportedSnapshotState::0000-notUsed Microsoft\Graph\Beta\Generated.models.cloudPcImportedSnapshotState::0001-inUse Microsoft\Graph\Beta\Generated.models.cloudPcImportedSnapshotState::0002-expired @@ -211927,10 +212243,13 @@ Microsoft\Graph\Beta\Generated.models.contact::|public|getPersonalNotes():string Microsoft\Graph\Beta\Generated.models.contact::|public|getPhones():array Microsoft\Graph\Beta\Generated.models.contact::|public|getPhoto():ProfilePhoto Microsoft\Graph\Beta\Generated.models.contact::|public|getPostalAddresses():array +Microsoft\Graph\Beta\Generated.models.contact::|public|getPrimaryEmailAddress():EmailAddress Microsoft\Graph\Beta\Generated.models.contact::|public|getProfession():string +Microsoft\Graph\Beta\Generated.models.contact::|public|getSecondaryEmailAddress():EmailAddress Microsoft\Graph\Beta\Generated.models.contact::|public|getSingleValueExtendedProperties():array Microsoft\Graph\Beta\Generated.models.contact::|public|getSpouseName():string Microsoft\Graph\Beta\Generated.models.contact::|public|getSurname():string +Microsoft\Graph\Beta\Generated.models.contact::|public|getTertiaryEmailAddress():EmailAddress Microsoft\Graph\Beta\Generated.models.contact::|public|getTitle():string Microsoft\Graph\Beta\Generated.models.contact::|public|getWebsites():array Microsoft\Graph\Beta\Generated.models.contact::|public|getWeddingAnniversary():Date @@ -211966,10 +212285,13 @@ Microsoft\Graph\Beta\Generated.models.contact::|public|setPersonalNotes(value?:s Microsoft\Graph\Beta\Generated.models.contact::|public|setPhones(value?:array):void Microsoft\Graph\Beta\Generated.models.contact::|public|setPhoto(value?:ProfilePhoto):void Microsoft\Graph\Beta\Generated.models.contact::|public|setPostalAddresses(value?:array):void +Microsoft\Graph\Beta\Generated.models.contact::|public|setPrimaryEmailAddress(value?:EmailAddress):void Microsoft\Graph\Beta\Generated.models.contact::|public|setProfession(value?:string):void +Microsoft\Graph\Beta\Generated.models.contact::|public|setSecondaryEmailAddress(value?:EmailAddress):void Microsoft\Graph\Beta\Generated.models.contact::|public|setSingleValueExtendedProperties(value?:array):void Microsoft\Graph\Beta\Generated.models.contact::|public|setSpouseName(value?:string):void Microsoft\Graph\Beta\Generated.models.contact::|public|setSurname(value?:string):void +Microsoft\Graph\Beta\Generated.models.contact::|public|setTertiaryEmailAddress(value?:EmailAddress):void Microsoft\Graph\Beta\Generated.models.contact::|public|setTitle(value?:string):void Microsoft\Graph\Beta\Generated.models.contact::|public|setWebsites(value?:array):void Microsoft\Graph\Beta\Generated.models.contact::|public|setWeddingAnniversary(value?:Date):void @@ -212628,6 +212950,86 @@ Microsoft\Graph\Beta\Generated.models.copilotCommunicationsRoot::|public|OdataTy Microsoft\Graph\Beta\Generated.models.copilotCommunicationsRoot::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.copilotCommunicationsRoot::|public|setRealtimeActivityFeed(value?:RealtimeActivityFeedRoot):void Microsoft\Graph\Beta\Generated.models.copilotCommunicationsRoot::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CopilotCommunicationsRoot +Microsoft\Graph\Beta\Generated.models.copilotConversation-->Entity +Microsoft\Graph\Beta\Generated.models.copilotConversation::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.copilotConversation::|public|getCreatedDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.copilotConversation::|public|getDisplayName():string +Microsoft\Graph\Beta\Generated.models.copilotConversation::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.copilotConversation::|public|getMessages():array +Microsoft\Graph\Beta\Generated.models.copilotConversation::|public|getState():CopilotConversationState +Microsoft\Graph\Beta\Generated.models.copilotConversation::|public|getTurnCount():int +Microsoft\Graph\Beta\Generated.models.copilotConversation::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.copilotConversation::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.copilotConversation::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.copilotConversation::|public|setDisplayName(value?:string):void +Microsoft\Graph\Beta\Generated.models.copilotConversation::|public|setMessages(value?:array):void +Microsoft\Graph\Beta\Generated.models.copilotConversation::|public|setState(value?:CopilotConversationState):void +Microsoft\Graph\Beta\Generated.models.copilotConversation::|public|setTurnCount(value?:int):void +Microsoft\Graph\Beta\Generated.models.copilotConversation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CopilotConversation +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|getAttributionSource():CopilotConversationAttributionSource +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|getAttributionType():CopilotConversationAttributionType +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|getImageFavIcon():string +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|getImageHeight():int +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|getImageWebUrl():string +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|getImageWidth():int +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|getProviderDisplayName():string +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|getSeeMoreWebUrl():string +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|setAttributionSource(value?:CopilotConversationAttributionSource):void +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|setAttributionType(value?:CopilotConversationAttributionType):void +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|setImageFavIcon(value?:string):void +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|setImageHeight(value?:int):void +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|setImageWebUrl(value?:string):void +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|setImageWidth(value?:int):void +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|setProviderDisplayName(value?:string):void +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|public|setSeeMoreWebUrl(value?:string):void +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CopilotConversationAttribution +Microsoft\Graph\Beta\Generated.models.copilotConversationAttributionSource::0000-grounding +Microsoft\Graph\Beta\Generated.models.copilotConversationAttributionSource::0001-model +Microsoft\Graph\Beta\Generated.models.copilotConversationAttributionSource::0002-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.copilotConversationAttributionType::0000-citation +Microsoft\Graph\Beta\Generated.models.copilotConversationAttributionType::0001-annotation +Microsoft\Graph\Beta\Generated.models.copilotConversationAttributionType::0002-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.copilotConversationAttribution~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.copilotConversationMessage-->Entity +Microsoft\Graph\Beta\Generated.models.copilotConversationMessage::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.copilotConversationMessage::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.copilotConversationMessage::|public|getText():string +Microsoft\Graph\Beta\Generated.models.copilotConversationMessage::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.copilotConversationMessage::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.copilotConversationMessage::|public|setText(value?:string):void +Microsoft\Graph\Beta\Generated.models.copilotConversationMessage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CopilotConversationMessage +Microsoft\Graph\Beta\Generated.models.copilotConversationRequestMessage-->CopilotConversationMessage +Microsoft\Graph\Beta\Generated.models.copilotConversationRequestMessage::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.copilotConversationRequestMessage::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.copilotConversationRequestMessage::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.copilotConversationRequestMessage::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.copilotConversationRequestMessage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CopilotConversationRequestMessage +Microsoft\Graph\Beta\Generated.models.copilotConversationResponseMessage-->CopilotConversationMessage +Microsoft\Graph\Beta\Generated.models.copilotConversationResponseMessage::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.copilotConversationResponseMessage::|public|getAdaptiveCards():array +Microsoft\Graph\Beta\Generated.models.copilotConversationResponseMessage::|public|getAttributions():array +Microsoft\Graph\Beta\Generated.models.copilotConversationResponseMessage::|public|getCreatedDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.copilotConversationResponseMessage::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.copilotConversationResponseMessage::|public|getSensitivityLabel():SearchSensitivityLabelInfo +Microsoft\Graph\Beta\Generated.models.copilotConversationResponseMessage::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.copilotConversationResponseMessage::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.copilotConversationResponseMessage::|public|setAdaptiveCards(value?:array):void +Microsoft\Graph\Beta\Generated.models.copilotConversationResponseMessage::|public|setAttributions(value?:array):void +Microsoft\Graph\Beta\Generated.models.copilotConversationResponseMessage::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.copilotConversationResponseMessage::|public|setSensitivityLabel(value?:SearchSensitivityLabelInfo):void +Microsoft\Graph\Beta\Generated.models.copilotConversationResponseMessage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CopilotConversationResponseMessage +Microsoft\Graph\Beta\Generated.models.copilotConversationState::0000-active +Microsoft\Graph\Beta\Generated.models.copilotConversationState::0001-disengagedForRai +Microsoft\Graph\Beta\Generated.models.copilotConversationState::0002-unknownFutureValue Microsoft\Graph\Beta\Generated.models.copilotPackage-->Entity Microsoft\Graph\Beta\Generated.models.copilotPackage::|public|constructor():void Microsoft\Graph\Beta\Generated.models.copilotPackage::|public|getAvailableTo():PackageStatus @@ -226246,6 +226648,14 @@ Microsoft\Graph\Beta\Generated.models.enumeratedPreApprovedPermissions::|public| Microsoft\Graph\Beta\Generated.models.enumeratedPreApprovedPermissions::|public|setPermissionIds(value?:array):void Microsoft\Graph\Beta\Generated.models.enumeratedPreApprovedPermissions::|public|setResourceApplicationId(value?:string):void Microsoft\Graph\Beta\Generated.models.enumeratedPreApprovedPermissions::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EnumeratedPreApprovedPermissions +Microsoft\Graph\Beta\Generated.models.enumeratedScopes-->InheritableScopes +Microsoft\Graph\Beta\Generated.models.enumeratedScopes::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.enumeratedScopes::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.enumeratedScopes::|public|getScopes():array +Microsoft\Graph\Beta\Generated.models.enumeratedScopes::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.enumeratedScopes::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.enumeratedScopes::|public|setScopes(value?:array):void +Microsoft\Graph\Beta\Generated.models.enumeratedScopes::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EnumeratedScopes Microsoft\Graph\Beta\Generated.models.enumeratedScopeSensitivityLabels-->ScopeSensitivityLabels Microsoft\Graph\Beta\Generated.models.enumeratedScopeSensitivityLabels::|public|constructor():void Microsoft\Graph\Beta\Generated.models.enumeratedScopeSensitivityLabels::|public|GetFieldDeserializers():array @@ -226753,16 +227163,75 @@ Microsoft\Graph\Beta\Generated.models.exchangeAdmin::|public|constructor():void Microsoft\Graph\Beta\Generated.models.exchangeAdmin::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.exchangeAdmin::|public|getMailboxes():array Microsoft\Graph\Beta\Generated.models.exchangeAdmin::|public|getMessageTraces():array +Microsoft\Graph\Beta\Generated.models.exchangeAdmin::|public|getTracing():MessageTracingRoot Microsoft\Graph\Beta\Generated.models.exchangeAdmin::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.exchangeAdmin::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.exchangeAdmin::|public|setMailboxes(value?:array):void Microsoft\Graph\Beta\Generated.models.exchangeAdmin::|public|setMessageTraces(value?:array):void +Microsoft\Graph\Beta\Generated.models.exchangeAdmin::|public|setTracing(value?:MessageTracingRoot):void Microsoft\Graph\Beta\Generated.models.exchangeAdmin::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ExchangeAdmin Microsoft\Graph\Beta\Generated.models.exchangeIdFormat::0000-entryId Microsoft\Graph\Beta\Generated.models.exchangeIdFormat::0001-ewsId Microsoft\Graph\Beta\Generated.models.exchangeIdFormat::0002-immutableEntryId Microsoft\Graph\Beta\Generated.models.exchangeIdFormat::0003-restId Microsoft\Graph\Beta\Generated.models.exchangeIdFormat::0004-restImmutableEntryId +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace-->Entity +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace::|public|getFromIP():string +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace::|public|getMessageId():string +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace::|public|getReceivedDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace::|public|getRecipientAddress():string +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace::|public|getSenderAddress():string +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace::|public|getSize():int +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace::|public|getStatus():ExchangeMessageTraceStatus +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace::|public|getSubject():string +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace::|public|getToIP():string +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace::|public|setFromIP(value?:string):void +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace::|public|setMessageId(value?:string):void +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace::|public|setReceivedDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace::|public|setRecipientAddress(value?:string):void +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace::|public|setSenderAddress(value?:string):void +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace::|public|setSize(value?:int):void +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace::|public|setStatus(value?:ExchangeMessageTraceStatus):void +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace::|public|setSubject(value?:string):void +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace::|public|setToIP(value?:string):void +Microsoft\Graph\Beta\Generated.models.exchangeMessageTrace::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ExchangeMessageTrace +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceCollectionResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceCollectionResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ExchangeMessageTraceCollectionResponse +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceDetail-->Entity +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceDetail::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceDetail::|public|getAction():string +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceDetail::|public|getData():string +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceDetail::|public|getDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceDetail::|public|getDescription():string +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceDetail::|public|getEvent():string +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceDetail::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceDetail::|public|getMessageId():string +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceDetail::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceDetail::|public|setAction(value?:string):void +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceDetail::|public|setData(value?:string):void +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceDetail::|public|setDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceDetail::|public|setDescription(value?:string):void +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceDetail::|public|setEvent(value?:string):void +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceDetail::|public|setMessageId(value?:string):void +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ExchangeMessageTraceDetail +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceStatus::0000-gettingStatus +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceStatus::0001-pending +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceStatus::0002-failed +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceStatus::0003-delivered +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceStatus::0004-expanded +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceStatus::0005-quarantined +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceStatus::0006-filteredAsSpam +Microsoft\Graph\Beta\Generated.models.exchangeMessageTraceStatus::0007-unknownFutureValue Microsoft\Graph\Beta\Generated.models.exchangeOnlineCrossTenantMigrationSettings::|public|constructor():void Microsoft\Graph\Beta\Generated.models.exchangeOnlineCrossTenantMigrationSettings::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.exchangeOnlineCrossTenantMigrationSettings::|public|getBackingStore():BackingStore @@ -227477,6 +227946,25 @@ Microsoft\Graph\Beta\Generated.models.externalConnectors.label::0026-parentUrl Microsoft\Graph\Beta\Generated.models.externalConnectors.label::0027-priorityNormalized Microsoft\Graph\Beta\Generated.models.externalConnectors.label::0028-reportedBy Microsoft\Graph\Beta\Generated.models.externalConnectors.label::0029-secondaryId +Microsoft\Graph\Beta\Generated.models.externalConnectors.label::0030-personEmails +Microsoft\Graph\Beta\Generated.models.externalConnectors.label::0031-personAddresses +Microsoft\Graph\Beta\Generated.models.externalConnectors.label::0032-personAnniversaries +Microsoft\Graph\Beta\Generated.models.externalConnectors.label::0033-personName +Microsoft\Graph\Beta\Generated.models.externalConnectors.label::0034-personNote +Microsoft\Graph\Beta\Generated.models.externalConnectors.label::0035-personPhones +Microsoft\Graph\Beta\Generated.models.externalConnectors.label::0036-personCurrentPosition +Microsoft\Graph\Beta\Generated.models.externalConnectors.label::0037-personWebAccounts +Microsoft\Graph\Beta\Generated.models.externalConnectors.label::0038-personWebSite +Microsoft\Graph\Beta\Generated.models.externalConnectors.label::0039-personSkills +Microsoft\Graph\Beta\Generated.models.externalConnectors.label::0040-personProjects +Microsoft\Graph\Beta\Generated.models.externalConnectors.label::0041-personAccount +Microsoft\Graph\Beta\Generated.models.externalConnectors.label::0042-personAwards +Microsoft\Graph\Beta\Generated.models.externalConnectors.label::0043-personCertifications +Microsoft\Graph\Beta\Generated.models.externalConnectors.label::0044-personAssistants +Microsoft\Graph\Beta\Generated.models.externalConnectors.label::0045-personColleagues +Microsoft\Graph\Beta\Generated.models.externalConnectors.label::0046-personManager +Microsoft\Graph\Beta\Generated.models.externalConnectors.label::0047-personAlternateContacts +Microsoft\Graph\Beta\Generated.models.externalConnectors.label::0048-personEmergencyContacts Microsoft\Graph\Beta\Generated.models.externalConnectors.properties::|public|constructor():void Microsoft\Graph\Beta\Generated.models.externalConnectors.properties::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.externalConnectors.properties::|public|getBackingStore():BackingStore @@ -229719,6 +230207,7 @@ Microsoft\Graph\Beta\Generated.models.group::|public|getUnseenConversationsCount Microsoft\Graph\Beta\Generated.models.group::|public|getUnseenCount():int Microsoft\Graph\Beta\Generated.models.group::|public|getUnseenMessagesCount():int Microsoft\Graph\Beta\Generated.models.group::|public|getVisibility():string +Microsoft\Graph\Beta\Generated.models.group::|public|getWelcomeMessageEnabled():bool Microsoft\Graph\Beta\Generated.models.group::|public|getWritebackConfiguration():GroupWritebackConfiguration Microsoft\Graph\Beta\Generated.models.group::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.group::|public|Serialize(writer:ISerializationWriter):void @@ -229803,6 +230292,7 @@ Microsoft\Graph\Beta\Generated.models.group::|public|setUnseenConversationsCount Microsoft\Graph\Beta\Generated.models.group::|public|setUnseenCount(value?:int):void Microsoft\Graph\Beta\Generated.models.group::|public|setUnseenMessagesCount(value?:int):void Microsoft\Graph\Beta\Generated.models.group::|public|setVisibility(value?:string):void +Microsoft\Graph\Beta\Generated.models.group::|public|setWelcomeMessageEnabled(value?:bool):void Microsoft\Graph\Beta\Generated.models.group::|public|setWritebackConfiguration(value?:GroupWritebackConfiguration):void Microsoft\Graph\Beta\Generated.models.group::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Group Microsoft\Graph\Beta\Generated.models.groupAccessType::0000-none @@ -234032,6 +234522,34 @@ Microsoft\Graph\Beta\Generated.models.ingestionSource::0000-unknown Microsoft\Graph\Beta\Generated.models.ingestionSource::0001-custom Microsoft\Graph\Beta\Generated.models.ingestionSource::0002-builtIn Microsoft\Graph\Beta\Generated.models.ingestionSource::0003-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.inheritablePermission::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.inheritablePermission::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.inheritablePermission::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.inheritablePermission::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.inheritablePermission::|public|getInheritableScopes():InheritableScopes +Microsoft\Graph\Beta\Generated.models.inheritablePermission::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.inheritablePermission::|public|getResourceAppId():string +Microsoft\Graph\Beta\Generated.models.inheritablePermission::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.inheritablePermission::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.inheritablePermission::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.inheritablePermission::|public|setInheritableScopes(value?:InheritableScopes):void +Microsoft\Graph\Beta\Generated.models.inheritablePermission::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.inheritablePermission::|public|setResourceAppId(value?:string):void +Microsoft\Graph\Beta\Generated.models.inheritablePermission::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):InheritablePermission +Microsoft\Graph\Beta\Generated.models.inheritablePermission~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.inheritableScopes::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.inheritableScopes::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.inheritableScopes::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.inheritableScopes::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.inheritableScopes::|public|getKind():ScopeCollectionKind +Microsoft\Graph\Beta\Generated.models.inheritableScopes::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.inheritableScopes::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.inheritableScopes::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.inheritableScopes::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.inheritableScopes::|public|setKind(value?:ScopeCollectionKind):void +Microsoft\Graph\Beta\Generated.models.inheritableScopes::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.inheritableScopes::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):InheritableScopes +Microsoft\Graph\Beta\Generated.models.inheritableScopes~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.initiator-->Identity Microsoft\Graph\Beta\Generated.models.initiator::|public|constructor():void Microsoft\Graph\Beta\Generated.models.initiator::|public|GetFieldDeserializers():array @@ -237078,6 +237596,17 @@ Microsoft\Graph\Beta\Generated.models.journalLineCollectionResponse::|public|set Microsoft\Graph\Beta\Generated.models.journalLineCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):JournalLineCollectionResponse Microsoft\Graph\Beta\Generated.models.journalLine~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.journal~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.Json::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.Json::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.Json::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.Json::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.Json::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.Json::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.Json::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.Json::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.Json::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.Json::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Json +Microsoft\Graph\Beta\Generated.models.Json~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.justifyAction-->InformationProtectionAction Microsoft\Graph\Beta\Generated.models.justifyAction::|public|constructor():void Microsoft\Graph\Beta\Generated.models.justifyAction::|public|GetFieldDeserializers():array @@ -237312,6 +237841,9 @@ Microsoft\Graph\Beta\Generated.models.keyValuePair::|public|setValue(value?:stri Microsoft\Graph\Beta\Generated.models.keyValuePair::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):KeyValuePair Microsoft\Graph\Beta\Generated.models.keyValuePair~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.keyValue~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.kind::0000-unrestricted +Microsoft\Graph\Beta\Generated.models.kind::0001-allowedTenants +Microsoft\Graph\Beta\Generated.models.kind::0002-unknownFutureValue Microsoft\Graph\Beta\Generated.models.kioskModeManagedHomeScreenPinComplexity::0000-notConfigured Microsoft\Graph\Beta\Generated.models.kioskModeManagedHomeScreenPinComplexity::0001-simple Microsoft\Graph\Beta\Generated.models.kioskModeManagedHomeScreenPinComplexity::0002-complex @@ -243492,6 +244024,11 @@ Microsoft\Graph\Beta\Generated.models.matchLocation::|public|setOdataType(value? Microsoft\Graph\Beta\Generated.models.matchLocation::|public|setOffset(value?:int):void Microsoft\Graph\Beta\Generated.models.matchLocation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MatchLocation Microsoft\Graph\Beta\Generated.models.matchLocation~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.maxWorkLocationDetails::0000-unknown +Microsoft\Graph\Beta\Generated.models.maxWorkLocationDetails::0001-none +Microsoft\Graph\Beta\Generated.models.maxWorkLocationDetails::0002-approximate +Microsoft\Graph\Beta\Generated.models.maxWorkLocationDetails::0003-specific +Microsoft\Graph\Beta\Generated.models.maxWorkLocationDetails::0004-unknownFutureValue Microsoft\Graph\Beta\Generated.models.mdmAppConfigKeyType::0000-stringType Microsoft\Graph\Beta\Generated.models.mdmAppConfigKeyType::0001-integerType Microsoft\Graph\Beta\Generated.models.mdmAppConfigKeyType::0002-realType @@ -244636,6 +245173,14 @@ Microsoft\Graph\Beta\Generated.models.messageTraceCollectionResponse::|public|ge Microsoft\Graph\Beta\Generated.models.messageTraceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.messageTraceCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Beta\Generated.models.messageTraceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MessageTraceCollectionResponse +Microsoft\Graph\Beta\Generated.models.messageTracingRoot-->Entity +Microsoft\Graph\Beta\Generated.models.messageTracingRoot::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.messageTracingRoot::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.messageTracingRoot::|public|getMessageTraces():array +Microsoft\Graph\Beta\Generated.models.messageTracingRoot::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.messageTracingRoot::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.messageTracingRoot::|public|setMessageTraces(value?:array):void +Microsoft\Graph\Beta\Generated.models.messageTracingRoot::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MessageTracingRoot Microsoft\Graph\Beta\Generated.models.messageUnpinnedEventMessageDetail-->EventMessageDetail Microsoft\Graph\Beta\Generated.models.messageUnpinnedEventMessageDetail::|public|constructor():void Microsoft\Graph\Beta\Generated.models.messageUnpinnedEventMessageDetail::|public|getEventDateTime():DateTime @@ -245214,6 +245759,9 @@ Microsoft\Graph\Beta\Generated.models.microsoftTunnelSiteCollectionResponse::|pu Microsoft\Graph\Beta\Generated.models.microsoftTunnelSiteCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.microsoftTunnelSiteCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Beta\Generated.models.microsoftTunnelSiteCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MicrosoftTunnelSiteCollectionResponse +Microsoft\Graph\Beta\Generated.models.migrationMode::0000-inProgress +Microsoft\Graph\Beta\Generated.models.migrationMode::0001-completed +Microsoft\Graph\Beta\Generated.models.migrationMode::0002-unknownFutureValue Microsoft\Graph\Beta\Generated.models.migrationsRoot-->Entity Microsoft\Graph\Beta\Generated.models.migrationsRoot::|public|constructor():void Microsoft\Graph\Beta\Generated.models.migrationsRoot::|public|getCrossTenantMigrationJobs():array @@ -248806,6 +249354,12 @@ Microsoft\Graph\Beta\Generated.models.nonEapAuthenticationMethodForEapTtlsType:: Microsoft\Graph\Beta\Generated.models.nonEapAuthenticationMethodForEapTtlsType::0003-microsoftChapVersionTwo Microsoft\Graph\Beta\Generated.models.nonEapAuthenticationMethodForPeap::0000-none Microsoft\Graph\Beta\Generated.models.nonEapAuthenticationMethodForPeap::0001-microsoftChapVersionTwo +Microsoft\Graph\Beta\Generated.models.noScopes-->InheritableScopes +Microsoft\Graph\Beta\Generated.models.noScopes::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.noScopes::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.noScopes::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.noScopes::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.noScopes::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):NoScopes Microsoft\Graph\Beta\Generated.models.note-->OutlookItem Microsoft\Graph\Beta\Generated.models.note::|public|constructor():void Microsoft\Graph\Beta\Generated.models.note::|public|getAttachments():array @@ -259634,6 +260188,8 @@ Microsoft\Graph\Beta\Generated.models.protocolType::0022-prtBrokerBased Microsoft\Graph\Beta\Generated.models.protocolType::0023-prtNonBrokerBased Microsoft\Graph\Beta\Generated.models.protocolType::0024-onBehalfOf Microsoft\Graph\Beta\Generated.models.protocolType::0025-samlOnBehalfOf +Microsoft\Graph\Beta\Generated.models.protocolType::0026-officeS2S +Microsoft\Graph\Beta\Generated.models.protocolType::0027-wsTrust Microsoft\Graph\Beta\Generated.models.providerTenantSetting-->Entity Microsoft\Graph\Beta\Generated.models.providerTenantSetting::|public|constructor():void Microsoft\Graph\Beta\Generated.models.providerTenantSetting::|public|getAzureTenantId():string @@ -262642,6 +263198,7 @@ Microsoft\Graph\Beta\Generated.models.riskDetail::0017-adminConfirmedAccountSafe Microsoft\Graph\Beta\Generated.models.riskDetail::0018-adminConfirmedAgentSafe Microsoft\Graph\Beta\Generated.models.riskDetail::0019-adminConfirmedAgentCompromised Microsoft\Graph\Beta\Generated.models.riskDetail::0020-adminDismissedRiskForAgent +Microsoft\Graph\Beta\Generated.models.riskDetail::0021-microsoftRevokedSessions Microsoft\Graph\Beta\Generated.models.riskDetection-->Entity Microsoft\Graph\Beta\Generated.models.riskDetection::|public|constructor():void Microsoft\Graph\Beta\Generated.models.riskDetection::|public|getActivity():ActivityType @@ -264343,6 +264900,11 @@ Microsoft\Graph\Beta\Generated.models.scopeBase::|public|setIdentity(value?:stri Microsoft\Graph\Beta\Generated.models.scopeBase::|public|setOdataType(value?:string):void Microsoft\Graph\Beta\Generated.models.scopeBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ScopeBase Microsoft\Graph\Beta\Generated.models.scopeBase~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.scopeCollectionKind::0000-allAllowed +Microsoft\Graph\Beta\Generated.models.scopeCollectionKind::0001-enumerated +Microsoft\Graph\Beta\Generated.models.scopeCollectionKind::0002-none +Microsoft\Graph\Beta\Generated.models.scopeCollectionKind::0003-scopeKindNotSet +Microsoft\Graph\Beta\Generated.models.scopeCollectionKind::0004-unknownFutureValue Microsoft\Graph\Beta\Generated.models.scopedRoleMembership-->Entity Microsoft\Graph\Beta\Generated.models.scopedRoleMembership::|public|constructor():void Microsoft\Graph\Beta\Generated.models.scopedRoleMembership::|public|getAdministrativeUnitId():string @@ -264783,6 +265345,27 @@ Microsoft\Graph\Beta\Generated.models.searchResult::|public|setOdataType(value?: Microsoft\Graph\Beta\Generated.models.searchResult::|public|setOnClickTelemetryUrl(value?:string):void Microsoft\Graph\Beta\Generated.models.searchResult::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):SearchResult Microsoft\Graph\Beta\Generated.models.searchResult~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.searchSensitivityLabelInfo::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.searchSensitivityLabelInfo::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.searchSensitivityLabelInfo::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.searchSensitivityLabelInfo::|public|getColor():string +Microsoft\Graph\Beta\Generated.models.searchSensitivityLabelInfo::|public|getDisplayName():string +Microsoft\Graph\Beta\Generated.models.searchSensitivityLabelInfo::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.searchSensitivityLabelInfo::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.searchSensitivityLabelInfo::|public|getPriority():int +Microsoft\Graph\Beta\Generated.models.searchSensitivityLabelInfo::|public|getSensitivityLabelId():string +Microsoft\Graph\Beta\Generated.models.searchSensitivityLabelInfo::|public|getTooltip():string +Microsoft\Graph\Beta\Generated.models.searchSensitivityLabelInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.searchSensitivityLabelInfo::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.searchSensitivityLabelInfo::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.searchSensitivityLabelInfo::|public|setColor(value?:string):void +Microsoft\Graph\Beta\Generated.models.searchSensitivityLabelInfo::|public|setDisplayName(value?:string):void +Microsoft\Graph\Beta\Generated.models.searchSensitivityLabelInfo::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.searchSensitivityLabelInfo::|public|setPriority(value?:int):void +Microsoft\Graph\Beta\Generated.models.searchSensitivityLabelInfo::|public|setSensitivityLabelId(value?:string):void +Microsoft\Graph\Beta\Generated.models.searchSensitivityLabelInfo::|public|setTooltip(value?:string):void +Microsoft\Graph\Beta\Generated.models.searchSensitivityLabelInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):SearchSensitivityLabelInfo +Microsoft\Graph\Beta\Generated.models.searchSensitivityLabelInfo~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.secretInformationAccessAwsResourceFinding-->AwsSecretInformationAccessFinding Microsoft\Graph\Beta\Generated.models.secretInformationAccessAwsResourceFinding::|public|constructor():void Microsoft\Graph\Beta\Generated.models.secretInformationAccessAwsResourceFinding::|public|GetFieldDeserializers():array @@ -265037,6 +265620,16 @@ Microsoft\Graph\Beta\Generated.models.security.actionSource::0000-manual Microsoft\Graph\Beta\Generated.models.security.actionSource::0001-automatic Microsoft\Graph\Beta\Generated.models.security.actionSource::0002-recommended Microsoft\Graph\Beta\Generated.models.security.actionSource::0003-default +Microsoft\Graph\Beta\Generated.models.security.activeDirectoryDomainEvidence-->AlertEvidence +Microsoft\Graph\Beta\Generated.models.security.activeDirectoryDomainEvidence::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.security.activeDirectoryDomainEvidence::|public|getActiveDirectoryDomainName():string +Microsoft\Graph\Beta\Generated.models.security.activeDirectoryDomainEvidence::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.security.activeDirectoryDomainEvidence::|public|getTrustedDomains():array +Microsoft\Graph\Beta\Generated.models.security.activeDirectoryDomainEvidence::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.security.activeDirectoryDomainEvidence::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.security.activeDirectoryDomainEvidence::|public|setActiveDirectoryDomainName(value?:string):void +Microsoft\Graph\Beta\Generated.models.security.activeDirectoryDomainEvidence::|public|setTrustedDomains(value?:array):void +Microsoft\Graph\Beta\Generated.models.security.activeDirectoryDomainEvidence::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ActiveDirectoryDomainEvidence Microsoft\Graph\Beta\Generated.models.security.addContentFooterAction-->InformationProtectionAction Microsoft\Graph\Beta\Generated.models.security.addContentFooterAction::|public|constructor():void Microsoft\Graph\Beta\Generated.models.security.addContentFooterAction::|public|getAlignment():ContentAlignment @@ -267441,6 +268034,7 @@ Microsoft\Graph\Beta\Generated.models.security.deviceEvidence::|public|getOsBuil Microsoft\Graph\Beta\Generated.models.security.deviceEvidence::|public|getOsPlatform():string Microsoft\Graph\Beta\Generated.models.security.deviceEvidence::|public|getRbacGroupId():int Microsoft\Graph\Beta\Generated.models.security.deviceEvidence::|public|getRbacGroupName():string +Microsoft\Graph\Beta\Generated.models.security.deviceEvidence::|public|getResourceAccessEvents():array Microsoft\Graph\Beta\Generated.models.security.deviceEvidence::|public|getRiskScore():DeviceRiskScore Microsoft\Graph\Beta\Generated.models.security.deviceEvidence::|public|getVersion():string Microsoft\Graph\Beta\Generated.models.security.deviceEvidence::|public|getVmMetadata():VmMetadata @@ -267464,6 +268058,7 @@ Microsoft\Graph\Beta\Generated.models.security.deviceEvidence::|public|setOsBuil Microsoft\Graph\Beta\Generated.models.security.deviceEvidence::|public|setOsPlatform(value?:string):void Microsoft\Graph\Beta\Generated.models.security.deviceEvidence::|public|setRbacGroupId(value?:int):void Microsoft\Graph\Beta\Generated.models.security.deviceEvidence::|public|setRbacGroupName(value?:string):void +Microsoft\Graph\Beta\Generated.models.security.deviceEvidence::|public|setResourceAccessEvents(value?:array):void Microsoft\Graph\Beta\Generated.models.security.deviceEvidence::|public|setRiskScore(value?:DeviceRiskScore):void Microsoft\Graph\Beta\Generated.models.security.deviceEvidence::|public|setVersion(value?:string):void Microsoft\Graph\Beta\Generated.models.security.deviceEvidence::|public|setVmMetadata(value?:VmMetadata):void @@ -274216,6 +274811,7 @@ Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getColor():strin Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getDescription():string Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getDisplayName():string Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getHasProtection():bool Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getIsDefault():bool Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getIsEnabled():bool Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getIsEndpointProtectionEnabled():bool @@ -274235,6 +274831,7 @@ Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setAutoTooltip(v Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setColor(value?:string):void Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setDescription(value?:string):void Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setDisplayName(value?:string):void +Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setHasProtection(value?:bool):void Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setIsDefault(value?:bool):void Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setIsEnabled(value?:bool):void Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setIsEndpointProtectionEnabled(value?:bool):void @@ -274711,6 +275308,7 @@ Microsoft\Graph\Beta\Generated.models.servicePrincipal::|public|GetFieldDeserial Microsoft\Graph\Beta\Generated.models.servicePrincipal::|public|getHomepage():string Microsoft\Graph\Beta\Generated.models.servicePrincipal::|public|getHomeRealmDiscoveryPolicies():array Microsoft\Graph\Beta\Generated.models.servicePrincipal::|public|getInfo():InformationalUrl +Microsoft\Graph\Beta\Generated.models.servicePrincipal::|public|getIsDisabled():bool Microsoft\Graph\Beta\Generated.models.servicePrincipal::|public|getKeyCredentials():array Microsoft\Graph\Beta\Generated.models.servicePrincipal::|public|getLicenseDetails():array Microsoft\Graph\Beta\Generated.models.servicePrincipal::|public|getLoginUrl():string @@ -274773,6 +275371,7 @@ Microsoft\Graph\Beta\Generated.models.servicePrincipal::|public|setFederatedIden Microsoft\Graph\Beta\Generated.models.servicePrincipal::|public|setHomepage(value?:string):void Microsoft\Graph\Beta\Generated.models.servicePrincipal::|public|setHomeRealmDiscoveryPolicies(value?:array):void Microsoft\Graph\Beta\Generated.models.servicePrincipal::|public|setInfo(value?:InformationalUrl):void +Microsoft\Graph\Beta\Generated.models.servicePrincipal::|public|setIsDisabled(value?:bool):void Microsoft\Graph\Beta\Generated.models.servicePrincipal::|public|setKeyCredentials(value?:array):void Microsoft\Graph\Beta\Generated.models.servicePrincipal::|public|setLicenseDetails(value?:array):void Microsoft\Graph\Beta\Generated.models.servicePrincipal::|public|setLoginUrl(value?:string):void @@ -275595,10 +276194,12 @@ Microsoft\Graph\Beta\Generated.models.sharePointIdentity::|public|setLoginName(v Microsoft\Graph\Beta\Generated.models.sharePointIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):SharePointIdentity Microsoft\Graph\Beta\Generated.models.sharePointIdentityMapping-->Entity Microsoft\Graph\Beta\Generated.models.sharePointIdentityMapping::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.sharePointIdentityMapping::|public|getDeleted():Deleted Microsoft\Graph\Beta\Generated.models.sharePointIdentityMapping::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.sharePointIdentityMapping::|public|getSourceOrganizationId():string Microsoft\Graph\Beta\Generated.models.sharePointIdentityMapping::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.sharePointIdentityMapping::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.sharePointIdentityMapping::|public|setDeleted(value?:Deleted):void Microsoft\Graph\Beta\Generated.models.sharePointIdentityMapping::|public|setSourceOrganizationId(value?:string):void Microsoft\Graph\Beta\Generated.models.sharePointIdentityMapping::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):SharePointIdentityMapping Microsoft\Graph\Beta\Generated.models.sharePointIdentityMappingGroupMigrationData::|public|constructor():void @@ -276623,6 +277224,19 @@ Microsoft\Graph\Beta\Generated.models.signInActivity::|static|public|CreateFromD Microsoft\Graph\Beta\Generated.models.signInActivity~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.signInAssistantOptions::0000-notConfigured Microsoft\Graph\Beta\Generated.models.signInAssistantOptions::0001-disabled +Microsoft\Graph\Beta\Generated.models.signInAudienceRestrictionsBase::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.signInAudienceRestrictionsBase::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.signInAudienceRestrictionsBase::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.signInAudienceRestrictionsBase::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.signInAudienceRestrictionsBase::|public|getKind():Kind +Microsoft\Graph\Beta\Generated.models.signInAudienceRestrictionsBase::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.signInAudienceRestrictionsBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.signInAudienceRestrictionsBase::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.signInAudienceRestrictionsBase::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.signInAudienceRestrictionsBase::|public|setKind(value?:Kind):void +Microsoft\Graph\Beta\Generated.models.signInAudienceRestrictionsBase::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.signInAudienceRestrictionsBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):SignInAudienceRestrictionsBase +Microsoft\Graph\Beta\Generated.models.signInAudienceRestrictionsBase~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.signInCollectionResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Beta\Generated.models.signInCollectionResponse::|public|constructor():void Microsoft\Graph\Beta\Generated.models.signInCollectionResponse::|public|GetFieldDeserializers():array @@ -278159,6 +278773,47 @@ Microsoft\Graph\Beta\Generated.models.strongAuthenticationRequirements::|public| Microsoft\Graph\Beta\Generated.models.strongAuthenticationRequirements::|public|setPerUserMfaState(value?:PerUserMfaState):void Microsoft\Graph\Beta\Generated.models.strongAuthenticationRequirements::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):StrongAuthenticationRequirements Microsoft\Graph\Beta\Generated.models.strongAuthenticationRequirements~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.structuredDataEntry::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.structuredDataEntry::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.structuredDataEntry::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.structuredDataEntry::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.structuredDataEntry::|public|getKeyEntry():StructuredDataEntryTypedValue +Microsoft\Graph\Beta\Generated.models.structuredDataEntry::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.structuredDataEntry::|public|getValueEntry():StructuredDataEntryTypedValue +Microsoft\Graph\Beta\Generated.models.structuredDataEntry::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.structuredDataEntry::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.structuredDataEntry::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.structuredDataEntry::|public|setKeyEntry(value?:StructuredDataEntryTypedValue):void +Microsoft\Graph\Beta\Generated.models.structuredDataEntry::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.structuredDataEntry::|public|setValueEntry(value?:StructuredDataEntryTypedValue):void +Microsoft\Graph\Beta\Generated.models.structuredDataEntry::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):StructuredDataEntry +Microsoft\Graph\Beta\Generated.models.structuredDataEntryTypedValue::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.structuredDataEntryTypedValue::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.structuredDataEntryTypedValue::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.structuredDataEntryTypedValue::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.structuredDataEntryTypedValue::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.structuredDataEntryTypedValue::|public|getType():StructuredDataEntryValueType +Microsoft\Graph\Beta\Generated.models.structuredDataEntryTypedValue::|public|getValues():array +Microsoft\Graph\Beta\Generated.models.structuredDataEntryTypedValue::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.structuredDataEntryTypedValue::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.structuredDataEntryTypedValue::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.structuredDataEntryTypedValue::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.structuredDataEntryTypedValue::|public|setType(value?:StructuredDataEntryValueType):void +Microsoft\Graph\Beta\Generated.models.structuredDataEntryTypedValue::|public|setValues(value?:array):void +Microsoft\Graph\Beta\Generated.models.structuredDataEntryTypedValue::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):StructuredDataEntryTypedValue +Microsoft\Graph\Beta\Generated.models.structuredDataEntryTypedValue~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.structuredDataEntryValueType::0000-dateTime +Microsoft\Graph\Beta\Generated.models.structuredDataEntryValueType::0001-boolean +Microsoft\Graph\Beta\Generated.models.structuredDataEntryValueType::0002-byte +Microsoft\Graph\Beta\Generated.models.structuredDataEntryValueType::0003-string +Microsoft\Graph\Beta\Generated.models.structuredDataEntryValueType::0004-integer32 +Microsoft\Graph\Beta\Generated.models.structuredDataEntryValueType::0005-unsignedInteger32 +Microsoft\Graph\Beta\Generated.models.structuredDataEntryValueType::0006-integer64 +Microsoft\Graph\Beta\Generated.models.structuredDataEntryValueType::0007-unsignedInteger64 +Microsoft\Graph\Beta\Generated.models.structuredDataEntryValueType::0008-stringArray +Microsoft\Graph\Beta\Generated.models.structuredDataEntryValueType::0009-byteArray +Microsoft\Graph\Beta\Generated.models.structuredDataEntryValueType::0010-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.structuredDataEntry~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.stsPolicy-->PolicyBase Microsoft\Graph\Beta\Generated.models.stsPolicy::|public|constructor():void Microsoft\Graph\Beta\Generated.models.stsPolicy::|public|getAppliesTo():array @@ -279110,6 +279765,12 @@ Microsoft\Graph\Beta\Generated.models.tabUpdatedEventMessageDetail::|public|Seri Microsoft\Graph\Beta\Generated.models.tabUpdatedEventMessageDetail::|public|setInitiator(value?:IdentitySet):void Microsoft\Graph\Beta\Generated.models.tabUpdatedEventMessageDetail::|public|setTabId(value?:string):void Microsoft\Graph\Beta\Generated.models.tabUpdatedEventMessageDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TabUpdatedEventMessageDetail +Microsoft\Graph\Beta\Generated.models.targetAgentIdentitySponsorsOrOwners-->UserSet +Microsoft\Graph\Beta\Generated.models.targetAgentIdentitySponsorsOrOwners::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.targetAgentIdentitySponsorsOrOwners::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.targetAgentIdentitySponsorsOrOwners::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.targetAgentIdentitySponsorsOrOwners::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.targetAgentIdentitySponsorsOrOwners::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TargetAgentIdentitySponsorsOrOwners Microsoft\Graph\Beta\Generated.models.targetDeviceGroup-->Entity Microsoft\Graph\Beta\Generated.models.targetDeviceGroup::|public|constructor():void Microsoft\Graph\Beta\Generated.models.targetDeviceGroup::|public|getDisplayName():string @@ -282322,6 +282983,21 @@ Microsoft\Graph\Beta\Generated.models.timeOffCollectionResponse::|public|getValu Microsoft\Graph\Beta\Generated.models.timeOffCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.timeOffCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Beta\Generated.models.timeOffCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TimeOffCollectionResponse +Microsoft\Graph\Beta\Generated.models.timeOffDetails::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.timeOffDetails::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.timeOffDetails::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.timeOffDetails::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.timeOffDetails::|public|getIsAllDay():bool +Microsoft\Graph\Beta\Generated.models.timeOffDetails::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.timeOffDetails::|public|getSubject():string +Microsoft\Graph\Beta\Generated.models.timeOffDetails::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.timeOffDetails::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.timeOffDetails::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.timeOffDetails::|public|setIsAllDay(value?:bool):void +Microsoft\Graph\Beta\Generated.models.timeOffDetails::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.timeOffDetails::|public|setSubject(value?:string):void +Microsoft\Graph\Beta\Generated.models.timeOffDetails::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TimeOffDetails +Microsoft\Graph\Beta\Generated.models.timeOffDetails~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.timeOffItem-->ScheduleEntity Microsoft\Graph\Beta\Generated.models.timeOffItem::|public|constructor():void Microsoft\Graph\Beta\Generated.models.timeOffItem::|public|GetFieldDeserializers():array @@ -284189,6 +284865,12 @@ Microsoft\Graph\Beta\Generated.models.unmuteParticipantOperation::|public|GetFie Microsoft\Graph\Beta\Generated.models.unmuteParticipantOperation::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.unmuteParticipantOperation::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.unmuteParticipantOperation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UnmuteParticipantOperation +Microsoft\Graph\Beta\Generated.models.unrestrictedAudience-->SignInAudienceRestrictionsBase +Microsoft\Graph\Beta\Generated.models.unrestrictedAudience::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.unrestrictedAudience::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.unrestrictedAudience::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.unrestrictedAudience::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.unrestrictedAudience::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UnrestrictedAudience Microsoft\Graph\Beta\Generated.models.unsupportedDeviceConfiguration-->DeviceConfiguration Microsoft\Graph\Beta\Generated.models.unsupportedDeviceConfiguration::|public|constructor():void Microsoft\Graph\Beta\Generated.models.unsupportedDeviceConfiguration::|public|getDetails():array @@ -285019,9 +285701,13 @@ Microsoft\Graph\Beta\Generated.models.userConfiguration-->Entity Microsoft\Graph\Beta\Generated.models.userConfiguration::|public|constructor():void Microsoft\Graph\Beta\Generated.models.userConfiguration::|public|getBinaryData():StreamInterface Microsoft\Graph\Beta\Generated.models.userConfiguration::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.userConfiguration::|public|getStructuredData():array +Microsoft\Graph\Beta\Generated.models.userConfiguration::|public|getXmlData():StreamInterface Microsoft\Graph\Beta\Generated.models.userConfiguration::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.userConfiguration::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.userConfiguration::|public|setBinaryData(value?:StreamInterface):void +Microsoft\Graph\Beta\Generated.models.userConfiguration::|public|setStructuredData(value?:array):void +Microsoft\Graph\Beta\Generated.models.userConfiguration::|public|setXmlData(value?:StreamInterface):void Microsoft\Graph\Beta\Generated.models.userConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserConfiguration Microsoft\Graph\Beta\Generated.models.userConfigurationCollectionResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Beta\Generated.models.userConfigurationCollectionResponse::|public|constructor():void @@ -287261,6 +287947,7 @@ Microsoft\Graph\Beta\Generated.models.userSettings::|public|getRegionalAndLangua Microsoft\Graph\Beta\Generated.models.userSettings::|public|getShiftPreferences():ShiftPreferences Microsoft\Graph\Beta\Generated.models.userSettings::|public|getStorage():UserStorage Microsoft\Graph\Beta\Generated.models.userSettings::|public|getWindows():array +Microsoft\Graph\Beta\Generated.models.userSettings::|public|getWorkHoursAndLocations():WorkHoursAndLocationsSetting Microsoft\Graph\Beta\Generated.models.userSettings::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.userSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.userSettings::|public|setContactMergeSuggestions(value?:ContactMergeSuggestions):void @@ -287272,6 +287959,7 @@ Microsoft\Graph\Beta\Generated.models.userSettings::|public|setRegionalAndLangua Microsoft\Graph\Beta\Generated.models.userSettings::|public|setShiftPreferences(value?:ShiftPreferences):void Microsoft\Graph\Beta\Generated.models.userSettings::|public|setStorage(value?:UserStorage):void Microsoft\Graph\Beta\Generated.models.userSettings::|public|setWindows(value?:array):void +Microsoft\Graph\Beta\Generated.models.userSettings::|public|setWorkHoursAndLocations(value?:WorkHoursAndLocationsSetting):void Microsoft\Graph\Beta\Generated.models.userSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserSettings Microsoft\Graph\Beta\Generated.models.userSet~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.userSignIn-->SignInIdentity @@ -296937,6 +297625,18 @@ Microsoft\Graph\Beta\Generated.models.workforceIntegrationSupportedEntities::000 Microsoft\Graph\Beta\Generated.models.workforceIntegrationSupportedEntities::0009-timeOffReason Microsoft\Graph\Beta\Generated.models.workforceIntegrationSupportedEntities::0010-timeOff Microsoft\Graph\Beta\Generated.models.workforceIntegrationSupportedEntities::0011-timeOffRequest +Microsoft\Graph\Beta\Generated.models.workHoursAndLocationsSetting-->Entity +Microsoft\Graph\Beta\Generated.models.workHoursAndLocationsSetting::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.workHoursAndLocationsSetting::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.workHoursAndLocationsSetting::|public|getMaxSharedWorkLocationDetails():MaxWorkLocationDetails +Microsoft\Graph\Beta\Generated.models.workHoursAndLocationsSetting::|public|getOccurrences():array +Microsoft\Graph\Beta\Generated.models.workHoursAndLocationsSetting::|public|getRecurrences():array +Microsoft\Graph\Beta\Generated.models.workHoursAndLocationsSetting::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.workHoursAndLocationsSetting::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.workHoursAndLocationsSetting::|public|setMaxSharedWorkLocationDetails(value?:MaxWorkLocationDetails):void +Microsoft\Graph\Beta\Generated.models.workHoursAndLocationsSetting::|public|setOccurrences(value?:array):void +Microsoft\Graph\Beta\Generated.models.workHoursAndLocationsSetting::|public|setRecurrences(value?:array):void +Microsoft\Graph\Beta\Generated.models.workHoursAndLocationsSetting::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkHoursAndLocationsSetting Microsoft\Graph\Beta\Generated.models.workingHours::|public|constructor():void Microsoft\Graph\Beta\Generated.models.workingHours::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.workingHours::|public|getBackingStore():BackingStore @@ -296972,6 +297672,9 @@ Microsoft\Graph\Beta\Generated.models.workLocationType::0001-office Microsoft\Graph\Beta\Generated.models.workLocationType::0002-remote Microsoft\Graph\Beta\Generated.models.workLocationType::0003-timeOff Microsoft\Graph\Beta\Generated.models.workLocationType::0004-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.workLocationUpdateScope::0000-currentSegment +Microsoft\Graph\Beta\Generated.models.workLocationUpdateScope::0001-currentDay +Microsoft\Graph\Beta\Generated.models.workLocationUpdateScope::0002-unknownFutureValue Microsoft\Graph\Beta\Generated.models.workplace::|public|constructor():void Microsoft\Graph\Beta\Generated.models.workplace::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.workplace::|public|getBackingStore():BackingStore @@ -297089,6 +297792,54 @@ Microsoft\Graph\Beta\Generated.models.workplaceSensorType::0005-unknownFutureVal Microsoft\Graph\Beta\Generated.models.workplaceSensorType::0006-wifi Microsoft\Graph\Beta\Generated.models.workplaceSensor~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.workplace~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.workPlanOccurrence-->Entity +Microsoft\Graph\Beta\Generated.models.workPlanOccurrence::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.workPlanOccurrence::|public|getEnd():DateTimeTimeZone +Microsoft\Graph\Beta\Generated.models.workPlanOccurrence::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.workPlanOccurrence::|public|getPlaceId():string +Microsoft\Graph\Beta\Generated.models.workPlanOccurrence::|public|getRecurrenceId():string +Microsoft\Graph\Beta\Generated.models.workPlanOccurrence::|public|getStart():DateTimeTimeZone +Microsoft\Graph\Beta\Generated.models.workPlanOccurrence::|public|getTimeOffDetails():TimeOffDetails +Microsoft\Graph\Beta\Generated.models.workPlanOccurrence::|public|getWorkLocationType():WorkLocationType +Microsoft\Graph\Beta\Generated.models.workPlanOccurrence::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.workPlanOccurrence::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.workPlanOccurrence::|public|setEnd(value?:DateTimeTimeZone):void +Microsoft\Graph\Beta\Generated.models.workPlanOccurrence::|public|setPlaceId(value?:string):void +Microsoft\Graph\Beta\Generated.models.workPlanOccurrence::|public|setRecurrenceId(value?:string):void +Microsoft\Graph\Beta\Generated.models.workPlanOccurrence::|public|setStart(value?:DateTimeTimeZone):void +Microsoft\Graph\Beta\Generated.models.workPlanOccurrence::|public|setTimeOffDetails(value?:TimeOffDetails):void +Microsoft\Graph\Beta\Generated.models.workPlanOccurrence::|public|setWorkLocationType(value?:WorkLocationType):void +Microsoft\Graph\Beta\Generated.models.workPlanOccurrence::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkPlanOccurrence +Microsoft\Graph\Beta\Generated.models.workPlanOccurrenceCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.models.workPlanOccurrenceCollectionResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.workPlanOccurrenceCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.workPlanOccurrenceCollectionResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.models.workPlanOccurrenceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.workPlanOccurrenceCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.models.workPlanOccurrenceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkPlanOccurrenceCollectionResponse +Microsoft\Graph\Beta\Generated.models.workPlanRecurrence-->Entity +Microsoft\Graph\Beta\Generated.models.workPlanRecurrence::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.workPlanRecurrence::|public|getEnd():DateTimeTimeZone +Microsoft\Graph\Beta\Generated.models.workPlanRecurrence::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.workPlanRecurrence::|public|getPlaceId():string +Microsoft\Graph\Beta\Generated.models.workPlanRecurrence::|public|getRecurrence():PatternedRecurrence +Microsoft\Graph\Beta\Generated.models.workPlanRecurrence::|public|getStart():DateTimeTimeZone +Microsoft\Graph\Beta\Generated.models.workPlanRecurrence::|public|getWorkLocationType():WorkLocationType +Microsoft\Graph\Beta\Generated.models.workPlanRecurrence::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.workPlanRecurrence::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.workPlanRecurrence::|public|setEnd(value?:DateTimeTimeZone):void +Microsoft\Graph\Beta\Generated.models.workPlanRecurrence::|public|setPlaceId(value?:string):void +Microsoft\Graph\Beta\Generated.models.workPlanRecurrence::|public|setRecurrence(value?:PatternedRecurrence):void +Microsoft\Graph\Beta\Generated.models.workPlanRecurrence::|public|setStart(value?:DateTimeTimeZone):void +Microsoft\Graph\Beta\Generated.models.workPlanRecurrence::|public|setWorkLocationType(value?:WorkLocationType):void +Microsoft\Graph\Beta\Generated.models.workPlanRecurrence::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkPlanRecurrence +Microsoft\Graph\Beta\Generated.models.workPlanRecurrenceCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.models.workPlanRecurrenceCollectionResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.workPlanRecurrenceCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.workPlanRecurrenceCollectionResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.models.workPlanRecurrenceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.workPlanRecurrenceCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.models.workPlanRecurrenceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkPlanRecurrenceCollectionResponse Microsoft\Graph\Beta\Generated.models.workPosition-->ItemFacet Microsoft\Graph\Beta\Generated.models.workPosition::|public|constructor():void Microsoft\Graph\Beta\Generated.models.workPosition::|public|getCategories():array @@ -369368,6 +370119,7 @@ Microsoft\Graph\Beta\Generated.teams.item.channels.item.ChannelItemRequestBuilde Microsoft\Graph\Beta\Generated.teams.item.channels.item.ChannelItemRequestBuilder::|public|removeEmail:RemoveEmailRequestBuilder Microsoft\Graph\Beta\Generated.teams.item.channels.item.ChannelItemRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Beta\Generated.teams.item.channels.item.ChannelItemRequestBuilder::|public|sharedWithTeams:SharedWithTeamsRequestBuilder +Microsoft\Graph\Beta\Generated.teams.item.channels.item.ChannelItemRequestBuilder::|public|startMigration:StartMigrationRequestBuilder Microsoft\Graph\Beta\Generated.teams.item.channels.item.ChannelItemRequestBuilder::|public|tabs:TabsRequestBuilder Microsoft\Graph\Beta\Generated.teams.item.channels.item.ChannelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ChannelItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.teams.item.channels.item.ChannelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ChannelItemRequestBuilderGetRequestConfiguration):RequestInformation @@ -371112,6 +371864,27 @@ Microsoft\Graph\Beta\Generated.teams.item.channels.item.sharedWithTeams.sharedWi Microsoft\Graph\Beta\Generated.teams.item.channels.item.sharedWithTeams.sharedWithTeamsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):SharedWithTeamsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.teams.item.channels.item.sharedWithTeams.sharedWithTeamsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.teams.item.channels.item.sharedWithTeams.sharedWithTeamsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.teams.item.channels.item.startMigration.startMigrationPostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.teams.item.channels.item.startMigration.startMigrationPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.teams.item.channels.item.startMigration.startMigrationPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.teams.item.channels.item.startMigration.startMigrationPostRequestBody::|public|getConversationCreationDateTime():DateTime +Microsoft\Graph\Beta\Generated.teams.item.channels.item.startMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.teams.item.channels.item.startMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.teams.item.channels.item.startMigration.startMigrationPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.teams.item.channels.item.startMigration.startMigrationPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.teams.item.channels.item.startMigration.startMigrationPostRequestBody::|public|setConversationCreationDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.teams.item.channels.item.startMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):StartMigrationPostRequestBody +Microsoft\Graph\Beta\Generated.teams.item.channels.item.startMigration.startMigrationPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.teams.item.channels.item.startMigration.StartMigrationRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.teams.item.channels.item.startMigration.StartMigrationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.teams.item.channels.item.startMigration.StartMigrationRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.teams.item.channels.item.startMigration.StartMigrationRequestBuilder::|public|Post(body:StartMigrationPostRequestBody; requestConfiguration?:StartMigrationRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Beta\Generated.teams.item.channels.item.startMigration.StartMigrationRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.teams.item.channels.item.startMigration.StartMigrationRequestBuilder::|public|ToPostRequestInformation(body:StartMigrationPostRequestBody; requestConfiguration?:StartMigrationRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.teams.item.channels.item.startMigration.StartMigrationRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.teams.item.channels.item.startMigration.StartMigrationRequestBuilder::|public|WithUrl(rawUrl:string):StartMigrationRequestBuilder +Microsoft\Graph\Beta\Generated.teams.item.channels.item.startMigration.startMigrationRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.teams.item.channels.item.startMigration.startMigrationRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.teams.item.channels.item.tabs.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.teams.item.channels.item.tabs.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.teams.item.channels.item.tabs.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -373620,6 +374393,7 @@ Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.PrimaryChannelRequestBu Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.PrimaryChannelRequestBuilder::|public|removeEmail:RemoveEmailRequestBuilder Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.PrimaryChannelRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.PrimaryChannelRequestBuilder::|public|sharedWithTeams:SharedWithTeamsRequestBuilder +Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.PrimaryChannelRequestBuilder::|public|startMigration:StartMigrationRequestBuilder Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.PrimaryChannelRequestBuilder::|public|tabs:TabsRequestBuilder Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.PrimaryChannelRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:PrimaryChannelRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.PrimaryChannelRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:PrimaryChannelRequestBuilderGetRequestConfiguration):RequestInformation @@ -373793,6 +374567,27 @@ Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.sharedWithTeams.sharedW Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.sharedWithTeams.sharedWithTeamsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):SharedWithTeamsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.sharedWithTeams.sharedWithTeamsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.sharedWithTeams.sharedWithTeamsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.startMigration.startMigrationPostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.startMigration.startMigrationPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.startMigration.startMigrationPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.startMigration.startMigrationPostRequestBody::|public|getConversationCreationDateTime():DateTime +Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.startMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.startMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.startMigration.startMigrationPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.startMigration.startMigrationPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.startMigration.startMigrationPostRequestBody::|public|setConversationCreationDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.startMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):StartMigrationPostRequestBody +Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.startMigration.startMigrationPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.startMigration.StartMigrationRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|Post(body:StartMigrationPostRequestBody; requestConfiguration?:StartMigrationRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|ToPostRequestInformation(body:StartMigrationPostRequestBody; requestConfiguration?:StartMigrationRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|WithUrl(rawUrl:string):StartMigrationRequestBuilder +Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.startMigration.startMigrationRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.startMigration.startMigrationRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.tabs.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.tabs.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.teams.item.primaryChannel.tabs.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -375593,6 +376388,7 @@ Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channe Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|removeEmail:RemoveEmailRequestBuilder Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|sharedWithTeams:SharedWithTeamsRequestBuilder +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|startMigration:StartMigrationRequestBuilder Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|tabs:TabsRequestBuilder Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ChannelItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ChannelItemRequestBuilderGetRequestConfiguration):RequestInformation @@ -377337,6 +378133,27 @@ Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channe Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.sharedWithTeams.sharedWithTeamsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):SharedWithTeamsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.sharedWithTeams.sharedWithTeamsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.sharedWithTeams.sharedWithTeamsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.startMigration.startMigrationPostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.startMigration.startMigrationPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.startMigration.startMigrationPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.startMigration.startMigrationPostRequestBody::|public|getConversationCreationDateTime():DateTime +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.startMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.startMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.startMigration.startMigrationPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.startMigration.startMigrationPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.startMigration.startMigrationPostRequestBody::|public|setConversationCreationDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.startMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):StartMigrationPostRequestBody +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.startMigration.startMigrationPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.startMigration.StartMigrationRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.startMigration.StartMigrationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.startMigration.StartMigrationRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.startMigration.StartMigrationRequestBuilder::|public|Post(body:StartMigrationPostRequestBody; requestConfiguration?:StartMigrationRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.startMigration.StartMigrationRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.startMigration.StartMigrationRequestBuilder::|public|ToPostRequestInformation(body:StartMigrationPostRequestBody; requestConfiguration?:StartMigrationRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.startMigration.StartMigrationRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.startMigration.StartMigrationRequestBuilder::|public|WithUrl(rawUrl:string):StartMigrationRequestBuilder +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.startMigration.startMigrationRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.startMigration.startMigrationRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.tabs.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.tabs.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.channels.item.tabs.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -379845,6 +380662,7 @@ Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primar Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|removeEmail:RemoveEmailRequestBuilder Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|sharedWithTeams:SharedWithTeamsRequestBuilder +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|startMigration:StartMigrationRequestBuilder Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|tabs:TabsRequestBuilder Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:PrimaryChannelRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:PrimaryChannelRequestBuilderGetRequestConfiguration):RequestInformation @@ -380018,6 +380836,27 @@ Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primar Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.sharedWithTeams.sharedWithTeamsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):SharedWithTeamsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.sharedWithTeams.sharedWithTeamsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.sharedWithTeams.sharedWithTeamsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.startMigration.startMigrationPostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.startMigration.startMigrationPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.startMigration.startMigrationPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.startMigration.startMigrationPostRequestBody::|public|getConversationCreationDateTime():DateTime +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.startMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.startMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.startMigration.startMigrationPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.startMigration.startMigrationPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.startMigration.startMigrationPostRequestBody::|public|setConversationCreationDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.startMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):StartMigrationPostRequestBody +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.startMigration.startMigrationPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.startMigration.StartMigrationRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|Post(body:StartMigrationPostRequestBody; requestConfiguration?:StartMigrationRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|ToPostRequestInformation(body:StartMigrationPostRequestBody; requestConfiguration?:StartMigrationRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|WithUrl(rawUrl:string):StartMigrationRequestBuilder +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.startMigration.startMigrationRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.startMigration.startMigrationRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.tabs.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.tabs.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.primaryChannel.tabs.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -381831,6 +382670,7 @@ Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.ChannelI Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.ChannelItemRequestBuilder::|public|removeEmail:RemoveEmailRequestBuilder Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.ChannelItemRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.ChannelItemRequestBuilder::|public|sharedWithTeams:SharedWithTeamsRequestBuilder +Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.ChannelItemRequestBuilder::|public|startMigration:StartMigrationRequestBuilder Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.ChannelItemRequestBuilder::|public|tabs:TabsRequestBuilder Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.ChannelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ChannelItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.ChannelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ChannelItemRequestBuilderGetRequestConfiguration):RequestInformation @@ -383575,6 +384415,27 @@ Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.sharedWi Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.sharedWithTeams.sharedWithTeamsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):SharedWithTeamsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.sharedWithTeams.sharedWithTeamsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.sharedWithTeams.sharedWithTeamsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.startMigration.startMigrationPostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.startMigration.startMigrationPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.startMigration.startMigrationPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.startMigration.startMigrationPostRequestBody::|public|getConversationCreationDateTime():DateTime +Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.startMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.startMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.startMigration.startMigrationPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.startMigration.startMigrationPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.startMigration.startMigrationPostRequestBody::|public|setConversationCreationDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.startMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):StartMigrationPostRequestBody +Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.startMigration.startMigrationPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.startMigration.StartMigrationRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.startMigration.StartMigrationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.startMigration.StartMigrationRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.startMigration.StartMigrationRequestBuilder::|public|Post(body:StartMigrationPostRequestBody; requestConfiguration?:StartMigrationRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.startMigration.StartMigrationRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.startMigration.StartMigrationRequestBuilder::|public|ToPostRequestInformation(body:StartMigrationPostRequestBody; requestConfiguration?:StartMigrationRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.startMigration.StartMigrationRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.startMigration.StartMigrationRequestBuilder::|public|WithUrl(rawUrl:string):StartMigrationRequestBuilder +Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.startMigration.startMigrationRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.startMigration.startMigrationRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.tabs.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.tabs.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.channels.item.tabs.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -384455,6 +385316,7 @@ Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.team Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|removeEmail:RemoveEmailRequestBuilder Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|sharedWithTeams:SharedWithTeamsRequestBuilder +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|startMigration:StartMigrationRequestBuilder Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|tabs:TabsRequestBuilder Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ChannelItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.ChannelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ChannelItemRequestBuilderGetRequestConfiguration):RequestInformation @@ -386199,6 +387061,27 @@ Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.team Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.sharedWithTeams.sharedWithTeamsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):SharedWithTeamsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.sharedWithTeams.sharedWithTeamsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.sharedWithTeams.sharedWithTeamsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.startMigration.startMigrationPostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.startMigration.startMigrationPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.startMigration.startMigrationPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.startMigration.startMigrationPostRequestBody::|public|getConversationCreationDateTime():DateTime +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.startMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.startMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.startMigration.startMigrationPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.startMigration.startMigrationPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.startMigration.startMigrationPostRequestBody::|public|setConversationCreationDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.startMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):StartMigrationPostRequestBody +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.startMigration.startMigrationPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.startMigration.StartMigrationRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.startMigration.StartMigrationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.startMigration.StartMigrationRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.startMigration.StartMigrationRequestBuilder::|public|Post(body:StartMigrationPostRequestBody; requestConfiguration?:StartMigrationRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.startMigration.StartMigrationRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.startMigration.StartMigrationRequestBuilder::|public|ToPostRequestInformation(body:StartMigrationPostRequestBody; requestConfiguration?:StartMigrationRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.startMigration.StartMigrationRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.startMigration.StartMigrationRequestBuilder::|public|WithUrl(rawUrl:string):StartMigrationRequestBuilder +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.startMigration.startMigrationRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.startMigration.startMigrationRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.tabs.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.tabs.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.channels.item.tabs.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -388707,6 +389590,7 @@ Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.team Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|removeEmail:RemoveEmailRequestBuilder Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|sharedWithTeams:SharedWithTeamsRequestBuilder +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|startMigration:StartMigrationRequestBuilder Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|tabs:TabsRequestBuilder Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:PrimaryChannelRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.PrimaryChannelRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:PrimaryChannelRequestBuilderGetRequestConfiguration):RequestInformation @@ -388880,6 +389764,27 @@ Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.team Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.sharedWithTeams.sharedWithTeamsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):SharedWithTeamsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.sharedWithTeams.sharedWithTeamsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.sharedWithTeams.sharedWithTeamsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.startMigration.startMigrationPostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.startMigration.startMigrationPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.startMigration.startMigrationPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.startMigration.startMigrationPostRequestBody::|public|getConversationCreationDateTime():DateTime +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.startMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.startMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.startMigration.startMigrationPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.startMigration.startMigrationPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.startMigration.startMigrationPostRequestBody::|public|setConversationCreationDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.startMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):StartMigrationPostRequestBody +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.startMigration.startMigrationPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.startMigration.StartMigrationRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|Post(body:StartMigrationPostRequestBody; requestConfiguration?:StartMigrationRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|ToPostRequestInformation(body:StartMigrationPostRequestBody; requestConfiguration?:StartMigrationRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.startMigration.StartMigrationRequestBuilder::|public|WithUrl(rawUrl:string):StartMigrationRequestBuilder +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.startMigration.startMigrationRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.startMigration.startMigrationRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.tabs.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.tabs.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.primaryChannel.tabs.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -398484,6 +399389,8 @@ Microsoft\Graph\Beta\Generated.users.item.adhocCalls.AdhocCallsRequestBuilder::| Microsoft\Graph\Beta\Generated.users.item.adhocCalls.AdhocCallsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.users.item.adhocCalls.AdhocCallsRequestBuilder::|public|Count:CountRequestBuilder Microsoft\Graph\Beta\Generated.users.item.adhocCalls.AdhocCallsRequestBuilder::|public|Get(requestConfiguration?:AdhocCallsRequestBuilderGetRequestConfiguration):AdhocCallCollectionResponse +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.AdhocCallsRequestBuilder::|public|getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime:GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.AdhocCallsRequestBuilder::|public|getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime:GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder Microsoft\Graph\Beta\Generated.users.item.adhocCalls.AdhocCallsRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.users.item.adhocCalls.AdhocCallsRequestBuilder::|public|Post(body:AdhocCall; requestConfiguration?:AdhocCallsRequestBuilderPostRequestConfiguration):AdhocCall Microsoft\Graph\Beta\Generated.users.item.adhocCalls.AdhocCallsRequestBuilder::|public|requestAdapter:RequestAdapter @@ -398521,6 +399428,68 @@ Microsoft\Graph\Beta\Generated.users.item.adhocCalls.count.CountRequestBuilderGe Microsoft\Graph\Beta\Generated.users.item.adhocCalls.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void Microsoft\Graph\Beta\Generated.users.item.adhocCalls.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.users.item.adhocCalls.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|Get(requestConfiguration?:GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|constructor(count?:bool; endDateTime?:DateTime; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; startDateTime?:DateTime; top?:int; userId?:string):void +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|endDateTime:DateTime +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|startDateTime:DateTime +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|userId:string +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|queryParameters:GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; endDateTime?:DateTime; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; startDateTime?:DateTime; top?:int; userId?:string):GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|Get(requestConfiguration?:GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|constructor(count?:bool; endDateTime?:DateTime; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; startDateTime?:DateTime; top?:int; userId?:string):void +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|endDateTime:DateTime +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|startDateTime:DateTime +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|userId:string +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|queryParameters:GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.adhocCalls.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime.getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; endDateTime?:DateTime; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; startDateTime?:DateTime; top?:int; userId?:string):GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilder::|public|Delete(requestConfiguration?:AdhocCallItemRequestBuilderDeleteRequestConfiguration):void @@ -403542,6 +404511,7 @@ Microsoft\Graph\Beta\Generated.users.item.chats.item.ChatItemRequestBuilder::|pu Microsoft\Graph\Beta\Generated.users.item.chats.item.ChatItemRequestBuilder::|public|removeAllAccessForUser:RemoveAllAccessForUserRequestBuilder Microsoft\Graph\Beta\Generated.users.item.chats.item.ChatItemRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Beta\Generated.users.item.chats.item.ChatItemRequestBuilder::|public|sendActivityNotification:SendActivityNotificationRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.chats.item.ChatItemRequestBuilder::|public|startMigration:StartMigrationRequestBuilder Microsoft\Graph\Beta\Generated.users.item.chats.item.ChatItemRequestBuilder::|public|tabs:TabsRequestBuilder Microsoft\Graph\Beta\Generated.users.item.chats.item.ChatItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ChatItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.users.item.chats.item.ChatItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ChatItemRequestBuilderGetRequestConfiguration):RequestInformation @@ -404778,6 +405748,27 @@ Microsoft\Graph\Beta\Generated.users.item.chats.item.sendActivityNotification.Se Microsoft\Graph\Beta\Generated.users.item.chats.item.sendActivityNotification.SendActivityNotificationRequestBuilder::|public|WithUrl(rawUrl:string):SendActivityNotificationRequestBuilder Microsoft\Graph\Beta\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.chats.item.startMigration.startMigrationPostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.users.item.chats.item.startMigration.startMigrationPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.users.item.chats.item.startMigration.startMigrationPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.users.item.chats.item.startMigration.startMigrationPostRequestBody::|public|getConversationCreationDateTime():DateTime +Microsoft\Graph\Beta\Generated.users.item.chats.item.startMigration.startMigrationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.users.item.chats.item.startMigration.startMigrationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.users.item.chats.item.startMigration.startMigrationPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.chats.item.startMigration.startMigrationPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.users.item.chats.item.startMigration.startMigrationPostRequestBody::|public|setConversationCreationDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.users.item.chats.item.startMigration.startMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):StartMigrationPostRequestBody +Microsoft\Graph\Beta\Generated.users.item.chats.item.startMigration.startMigrationPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.users.item.chats.item.startMigration.StartMigrationRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.chats.item.startMigration.StartMigrationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.chats.item.startMigration.StartMigrationRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.chats.item.startMigration.StartMigrationRequestBuilder::|public|Post(body:StartMigrationPostRequestBody; requestConfiguration?:StartMigrationRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Beta\Generated.users.item.chats.item.startMigration.StartMigrationRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.chats.item.startMigration.StartMigrationRequestBuilder::|public|ToPostRequestInformation(body:StartMigrationPostRequestBody; requestConfiguration?:StartMigrationRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.chats.item.startMigration.StartMigrationRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.chats.item.startMigration.StartMigrationRequestBuilder::|public|WithUrl(rawUrl:string):StartMigrationRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.chats.item.startMigration.startMigrationRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.chats.item.startMigration.startMigrationRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.users.item.chats.item.tabs.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.users.item.chats.item.tabs.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.users.item.chats.item.tabs.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -426972,6 +427963,7 @@ Microsoft\Graph\Beta\Generated.users.item.settings.SettingsRequestBuilder::|publ Microsoft\Graph\Beta\Generated.users.item.settings.SettingsRequestBuilder::|public|urlTemplate:string Microsoft\Graph\Beta\Generated.users.item.settings.SettingsRequestBuilder::|public|windows:WindowsRequestBuilder Microsoft\Graph\Beta\Generated.users.item.settings.SettingsRequestBuilder::|public|WithUrl(rawUrl:string):SettingsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.SettingsRequestBuilder::|public|workHoursAndLocations:WorkHoursAndLocationsRequestBuilder Microsoft\Graph\Beta\Generated.users.item.settings.settingsRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.users.item.settings.settingsRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.users.item.settings.settingsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void @@ -427250,6 +428242,212 @@ Microsoft\Graph\Beta\Generated.users.item.settings.windows.windowsRequestBuilder Microsoft\Graph\Beta\Generated.users.item.settings.windows.windowsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):WindowsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.users.item.settings.windows.windowsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.users.item.settings.windows.windowsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder::|public|Delete(requestConfiguration?:WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder::|public|Get(requestConfiguration?:WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration):WorkPlanOccurrence +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder::|public|Put(body:WorkPlanOccurrence; requestConfiguration?:WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration):WorkPlanOccurrence +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder::|public|ToPutRequestInformation(body:WorkPlanOccurrence; requestConfiguration?:WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder::|public|WithUrl(rawUrl:string):WorkPlanOccurrenceItemRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:WorkPlanOccurrenceItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:WorkPlanOccurrenceItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):WorkPlanOccurrenceItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|ByWorkPlanOccurrenceId(workPlanOccurrenceId:string):WorkPlanOccurrenceItemRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|Get(requestConfiguration?:OccurrencesRequestBuilderGetRequestConfiguration):WorkPlanOccurrenceCollectionResponse +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|Post(body:WorkPlanOccurrence; requestConfiguration?:OccurrencesRequestBuilderPostRequestConfiguration):WorkPlanOccurrence +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|setCurrentLocation:SetCurrentLocationRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:OccurrencesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|ToPostRequestInformation(body:WorkPlanOccurrence; requestConfiguration?:OccurrencesRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|WithUrl(rawUrl:string):OccurrencesRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:OccurrencesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetRequestConfiguration::|public|queryParameters:OccurrencesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):OccurrencesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|getPlaceId():string +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|getUpdateScope():WorkLocationUpdateScope +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|getWorkLocationType():WorkLocationType +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|setPlaceId(value?:string):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|setUpdateScope(value?:WorkLocationUpdateScope):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|setWorkLocationType(value?:WorkLocationType):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):SetCurrentLocationPostRequestBody +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.SetCurrentLocationRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.SetCurrentLocationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.SetCurrentLocationRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.SetCurrentLocationRequestBuilder::|public|Post(body:SetCurrentLocationPostRequestBody; requestConfiguration?:SetCurrentLocationRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.SetCurrentLocationRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.SetCurrentLocationRequestBuilder::|public|ToPostRequestInformation(body:SetCurrentLocationPostRequestBody; requestConfiguration?:SetCurrentLocationRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.SetCurrentLocationRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.SetCurrentLocationRequestBuilder::|public|WithUrl(rawUrl:string):SetCurrentLocationRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; endDateTime?:string; startDateTime?:string):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|Get(requestConfiguration?:OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|queryParameters:OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder::|public|Delete(requestConfiguration?:WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder::|public|Get(requestConfiguration?:WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration):WorkPlanRecurrence +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder::|public|Put(body:WorkPlanRecurrence; requestConfiguration?:WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration):WorkPlanRecurrence +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder::|public|ToPutRequestInformation(body:WorkPlanRecurrence; requestConfiguration?:WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder::|public|WithUrl(rawUrl:string):WorkPlanRecurrenceItemRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:WorkPlanRecurrenceItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:WorkPlanRecurrenceItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):WorkPlanRecurrenceItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder::|public|ByWorkPlanRecurrenceId(workPlanRecurrenceId:string):WorkPlanRecurrenceItemRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder::|public|Get(requestConfiguration?:RecurrencesRequestBuilderGetRequestConfiguration):WorkPlanRecurrenceCollectionResponse +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder::|public|Post(body:WorkPlanRecurrence; requestConfiguration?:RecurrencesRequestBuilderPostRequestConfiguration):WorkPlanRecurrence +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RecurrencesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder::|public|ToPostRequestInformation(body:WorkPlanRecurrence; requestConfiguration?:RecurrencesRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder::|public|WithUrl(rawUrl:string):RecurrencesRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RecurrencesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetRequestConfiguration::|public|queryParameters:RecurrencesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):RecurrencesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|Get(requestConfiguration?:WorkHoursAndLocationsRequestBuilderGetRequestConfiguration):WorkHoursAndLocationsSetting +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|occurrences:OccurrencesRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|occurrencesViewWithStartDateTimeWithEndDateTime(endDateTime:string; startDateTime:string):OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|Patch(body:WorkHoursAndLocationsSetting; requestConfiguration?:WorkHoursAndLocationsRequestBuilderPatchRequestConfiguration):WorkHoursAndLocationsSetting +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|recurrences:RecurrencesRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:WorkHoursAndLocationsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|ToPatchRequestInformation(body:WorkHoursAndLocationsSetting; requestConfiguration?:WorkHoursAndLocationsRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|WithUrl(rawUrl:string):WorkHoursAndLocationsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.workHoursAndLocationsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.workHoursAndLocationsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.workHoursAndLocationsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.workHoursAndLocationsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.workHoursAndLocationsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:WorkHoursAndLocationsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.workHoursAndLocationsRequestBuilderGetRequestConfiguration::|public|queryParameters:WorkHoursAndLocationsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.workHoursAndLocationsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):WorkHoursAndLocationsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.workHoursAndLocationsRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.settings.workHoursAndLocations.workHoursAndLocationsRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.users.item.solutions.SolutionsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.users.item.solutions.SolutionsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.users.item.solutions.SolutionsRequestBuilder::|public|Delete(requestConfiguration?:SolutionsRequestBuilderDeleteRequestConfiguration):void diff --git a/src/Generated/kiota-lock.json b/src/Generated/kiota-lock.json index d834fbc2449..4736ddffa7b 100644 --- a/src/Generated/kiota-lock.json +++ b/src/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "6A09B52B6D0D5BDB6C9A9158997009125BA86A5C3AB433B1D1F3C5AC6D440A8E0FCA70A70AF3C8848AAC74BA0CD826175872C0642C55ACE86437076717D4531D", + "descriptionHash": "132BD72834B90EF960917B858EA92D356EF717B4BF993CFEAAC78E98B61A4E4B95102A7BF413BD1965D648A67409238BEF71071B3FE10E2D5011EF079245815A", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.30.0",