From 24b98a846583d5a1da499644f6b8252e0d00408c Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Thu, 26 Mar 2026 19:14:23 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 213923 --- .../Generated/Admin/AdminRequestBuilder.cs | 6 + .../ConfigurationDriftsRequestBuilder.cs | 239 ++ .../Count/CountRequestBuilder.cs | 124 + .../ConfigurationDriftItemRequestBuilder.cs | 230 ++ .../ConfigurationManagementRequestBuilder.cs | 259 ++ ...gurationMonitoringResultsRequestBuilder.cs | 239 ++ .../Count/CountRequestBuilder.cs | 124 + ...ationMonitoringResultItemRequestBuilder.cs | 230 ++ .../ConfigurationMonitorsRequestBuilder.cs | 240 ++ .../Count/CountRequestBuilder.cs | 124 + .../Item/Baseline/BaselineRequestBuilder.cs | 230 ++ .../ConfigurationMonitorItemRequestBuilder.cs | 238 ++ ...ConfigurationSnapshotJobsRequestBuilder.cs | 239 ++ .../Count/CountRequestBuilder.cs | 124 + ...figurationSnapshotJobItemRequestBuilder.cs | 231 ++ .../ConfigurationSnapshotsRequestBuilder.cs | 239 ++ .../Count/CountRequestBuilder.cs | 124 + ...ConfigurationBaselineItemRequestBuilder.cs | 229 ++ .../Admin/Exchange/ExchangeRequestBuilder.cs | 6 + .../Mailboxes/Count/CountRequestBuilder.cs | 124 + .../CreateImportSessionRequestBuilder.cs | 98 + .../ExportItems/ExportItemsPostRequestBody.cs | 81 + .../ExportItems/ExportItemsPostResponse.cs | 65 + .../ExportItems/ExportItemsRequestBuilder.cs | 128 + .../Item/ExportItems/ExportItemsResponse.cs | 28 + .../Item/Folders/Count/CountRequestBuilder.cs | 124 + .../Item/Folders/Delta/DeltaGetResponse.cs | 65 + .../Item/Folders/Delta/DeltaRequestBuilder.cs | 187 ++ .../Item/Folders/Delta/DeltaResponse.cs | 28 + .../Item/Folders/FoldersRequestBuilder.cs | 189 ++ .../ChildFoldersRequestBuilder.cs | 189 ++ .../ChildFolders/Count/CountRequestBuilder.cs | 124 + .../ChildFolders/Delta/DeltaGetResponse.cs | 65 + .../ChildFolders/Delta/DeltaRequestBuilder.cs | 187 ++ .../Item/ChildFolders/Delta/DeltaResponse.cs | 28 + .../Item/Items/Count/CountRequestBuilder.cs | 124 + .../Item/Items/Delta/DeltaGetResponse.cs | 65 + .../Item/Items/Delta/DeltaRequestBuilder.cs | 187 ++ .../Item/Items/Delta/DeltaResponse.cs | 28 + .../Item/MailboxItemItemRequestBuilder.cs | 125 + .../Item/Items/ItemsRequestBuilder.cs | 189 ++ .../Item/MailboxFolderItemRequestBuilder.cs | 131 + .../Item/Items/Count/CountRequestBuilder.cs | 124 + .../Item/Items/Delta/DeltaGetResponse.cs | 65 + .../Item/Items/Delta/DeltaRequestBuilder.cs | 187 ++ .../Folders/Item/Items/Delta/DeltaResponse.cs | 28 + .../Item/MailboxItemItemRequestBuilder.cs | 125 + .../Folders/Item/Items/ItemsRequestBuilder.cs | 189 ++ .../Item/MailboxFolderItemRequestBuilder.cs | 137 + .../Item/MailboxItemRequestBuilder.cs | 247 ++ .../Mailboxes/MailboxesRequestBuilder.cs | 238 ++ ...pientWithRecipientAddressRequestBuilder.cs | 2 + .../Admin/People/PeopleRequestBuilder.cs | 17 + .../Count/CountRequestBuilder.cs | 124 + .../Item/ProfileSourceItemRequestBuilder.cs | 231 ++ .../ProfileSourcesRequestBuilder.cs | 240 ++ ...rofileSourcesWithSourceIdRequestBuilder.cs | 233 ++ .../Admin/Teams/TeamsRequestBuilder.cs | 12 +- .../Count/CountRequestBuilder.cs | 124 + .../NumberAssignmentItemRequestBuilder.cs | 229 ++ .../AssignNumberPostRequestBody.cs | 134 + ...dministrationAssignNumberRequestBuilder.cs | 102 + ...inistrationUnassignNumberRequestBuilder.cs | 102 + .../UnassignNumberPostRequestBody.cs | 90 + ...dministrationUpdateNumberRequestBuilder.cs | 102 + .../UpdateNumberPostRequestBody.cs | 135 + .../NumberAssignmentsRequestBuilder.cs | 257 ++ .../Operations/Count/CountRequestBuilder.cs | 124 + ...rLongRunningOperationItemRequestBuilder.cs | 230 ++ .../Operations/OperationsRequestBuilder.cs | 238 ++ ...TelephoneNumberManagementRequestBuilder.cs | 241 ++ .../ApplicationsRequestBuilder.cs | 10 +- .../Applications/Delta/DeltaGetResponse.cs | 12 +- .../Applications/Delta/DeltaRequestBuilder.cs | 12 +- .../Item/ApplicationItemRequestBuilder.cs | 14 +- .../Item/RemoveKey/RemoveKeyRequestBuilder.cs | 6 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../SetVerifiedPublisherRequestBuilder.cs | 6 +- .../UnsetVerifiedPublisherRequestBuilder.cs | 6 +- .../ApplicationsWithAppIdRequestBuilder.cs | 14 +- ...pplicationsWithUniqueNameRequestBuilder.cs | 14 +- .../Item/Replies/RepliesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + .../Item/Messages/MessagesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../RetryServiceProvisioningRequestBuilder.cs | 5 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../DeletedItemsRequestBuilder.cs | 6 +- .../GraphGroup/GraphGroupRequestBuilder.cs | 6 +- .../Item/DirectoryObjectItemRequestBuilder.cs | 6 +- .../GraphGroup/GraphGroupRequestBuilder.cs | 6 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../Item/ChannelItemRequestBuilder.cs | 6 + .../EnabledApps/Count/CountRequestBuilder.cs | 124 + .../EnabledApps/EnabledAppsRequestBuilder.cs | 183 ++ .../Item/TeamsAppItemRequestBuilder.cs | 125 + .../Item/Replies/RepliesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + .../Item/Messages/MessagesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + .../EnabledApps/Count/CountRequestBuilder.cs | 124 + .../EnabledApps/EnabledAppsRequestBuilder.cs | 183 ++ .../Item/TeamsAppItemRequestBuilder.cs | 125 + .../Item/Replies/RepliesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + .../Messages/MessagesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + .../PrimaryChannelRequestBuilder.cs | 6 + .../AccessPackageRequestBuilder.cs | 6 +- .../AccessPackageRequestBuilder.cs | 6 +- ...dministrationScopeTargetsRequestBuilder.cs | 6 +- .../Item/DirectoryObjectItemRequestBuilder.cs | 6 +- ...dministrationScopeTargetsRequestBuilder.cs | 6 +- .../Item/DirectoryObjectItemRequestBuilder.cs | 6 +- ...dministrationScopeTargetsRequestBuilder.cs | 6 +- .../Item/DirectoryObjectItemRequestBuilder.cs | 6 +- ...dministrationScopeTargetsRequestBuilder.cs | 6 +- .../Item/DirectoryObjectItemRequestBuilder.cs | 6 +- .../Fido2MethodsRequestBuilder.cs | 6 +- ...2AuthenticationMethodItemRequestBuilder.cs | 6 +- .../Item/Replies/RepliesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + .../Item/Messages/MessagesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + .../Shared/Count/CountRequestBuilder.cs | 3 + .../LastSharedMethodRequestBuilder.cs | 3 + .../Item/Resource/ResourceRequestBuilder.cs | 3 + .../Item/SharedInsightItemRequestBuilder.cs | 9 + .../Insights/Shared/SharedRequestBuilder.cs | 7 + .../Used/Count/CountRequestBuilder.cs | 3 + .../Item/Resource/ResourceRequestBuilder.cs | 3 + .../Item/UsedInsightItemRequestBuilder.cs | 8 + .../Me/Insights/Used/UsedRequestBuilder.cs | 7 + .../Item/ChannelItemRequestBuilder.cs | 6 + .../EnabledApps/Count/CountRequestBuilder.cs | 124 + .../EnabledApps/EnabledAppsRequestBuilder.cs | 183 ++ .../Item/TeamsAppItemRequestBuilder.cs | 125 + .../Item/Replies/RepliesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + .../Item/Messages/MessagesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + .../EnabledApps/Count/CountRequestBuilder.cs | 124 + .../EnabledApps/EnabledAppsRequestBuilder.cs | 183 ++ .../Item/TeamsAppItemRequestBuilder.cs | 125 + .../Item/Replies/RepliesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + .../Messages/MessagesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + .../PrimaryChannelRequestBuilder.cs | 6 + .../CreateForwardRequestBuilder.cs | 5 +- .../CreateForwardRequestBuilder.cs | 5 +- .../CreateForwardRequestBuilder.cs | 5 +- .../Me/Restore/RestoreRequestBuilder.cs | 4 +- .../Exchange/ExchangeRequestBuilder.cs | 125 + .../Me/Settings/SettingsRequestBuilder.cs | 6 + .../Item/DirectoryObjectItemRequestBuilder.cs | 102 +- .../Me/Sponsors/Item/Ref/RefRequestBuilder.cs | 96 + .../Me/Sponsors/Ref/RefRequestBuilder.cs | 264 ++ .../Me/Sponsors/SponsorsRequestBuilder.cs | 8 +- .../Models/AccessPackageAssignmentPolicy.cs | 4 +- src/Microsoft.Graph/Generated/Models/Admin.cs | 20 +- .../Generated/Models/AgentIdentity.cs | 115 + .../Models/AgentIdentityBlueprint.cs | 107 + .../Models/AgentIdentityBlueprintPrincipal.cs | 89 + .../Generated/Models/AgentUser.cs | 54 + src/Microsoft.Graph/Generated/Models/Alert.cs | 12 +- .../Generated/Models/AllAllowedScopes.cs | 53 + .../Generated/Models/Application.cs | 7 +- .../Models/AttestationEnforcement.cs | 24 + .../Generated/Models/Authentication.cs | 2 +- .../Models/AuthenticationEventListener.cs | 1 + .../Generated/Models/AuthenticationMethod.cs | 1 + .../AuthenticationMethodConfiguration.cs | 1 + .../Models/AuthenticationMethodModes.cs | 4 + .../Models/AuthenticationMethodTarget.cs | 1 + .../Models/BaseAuthenticationMethod.cs | 4 + .../Generated/Models/BaselineParameter.cs | 125 + .../Generated/Models/BaselineParameterType.cs | 27 + .../Generated/Models/BaselineResource.cs | 135 + .../Generated/Models/Channel.cs | 18 + .../Generated/Models/CloudPcDeviceImage.cs | 26 + .../Generated/Models/CloudPcGalleryImage.cs | 18 + .../Generated/Models/ConfigurationBaseline.cs | 118 + ...ConfigurationBaselineCollectionResponse.cs | 64 + .../Generated/Models/ConfigurationDrift.cs | 164 ++ .../ConfigurationDriftCollectionResponse.cs | 64 + .../Models/ConfigurationManagement.cs | 136 + .../Generated/Models/ConfigurationMonitor.cs | 225 ++ .../ConfigurationMonitorCollectionResponse.cs | 64 + .../Models/ConfigurationMonitoringResult.cs | 126 + ...ationMonitoringResultCollectionResponse.cs | 64 + .../Models/ConfigurationSnapshotJob.cs | 191 ++ ...figurationSnapshotJobCollectionResponse.cs | 64 + .../Generated/Models/Contact.cs | 54 + ...antAccessPolicyAppServiceConnectSetting.cs | 99 + ...sTenantAccessPolicyConfigurationDefault.cs | 54 + ...sTenantAccessPolicyConfigurationPartner.cs | 54 + ...ssPolicyM365CollaborationInboundSetting.cs | 99 + ...sPolicyM365CollaborationOutboundSetting.cs | 99 + .../Models/CustomAuthenticationExtension.cs | 1 + .../Models/CustomCalloutExtension.cs | 1 + .../Generated/Models/Dictionary.cs | 1 + .../Generated/Models/DirectoryObject.cs | 5 + .../Generated/Models/DlpAction.cs | 4 + .../Generated/Models/DriftStatus.cs | 23 + .../Generated/Models/DriftedProperty.cs | 132 + .../Generated/Models/Entity.cs | 28 + .../Generated/Models/EnumeratedScopes.cs | 71 + .../Generated/Models/ErrorCorrectionLevel.cs | 32 + .../Generated/Models/ErrorDetail.cs | 132 + .../Generated/Models/ExchangeAdmin.cs | 18 + .../Generated/Models/ExchangeSettings.cs | 64 + .../Generated/Models/ExportItemResponse.cs | 153 + .../Models/ExternalAuthenticationMethod.cs | 2 +- ...ternalAuthenticationMethodConfiguration.cs | 2 +- .../ExternalConnectors/ContentCategory.cs | 72 + .../ExternalConnectors/ExternalConnection.cs | 8 + .../Models/ExternalConnectors/Label.cs | 152 + .../Models/ExternalConnectors/Property.cs | 20 +- .../Models/ExternalConnectors/PropertyType.cs | 8 + .../Models/Fido2AuthenticationMethod.cs | 16 +- .../Fido2AuthenticationMethodConfiguration.cs | 54 +- .../Generated/Models/FileStorageContainer.cs | 20 +- src/Microsoft.Graph/Generated/Models/Group.cs | 8 + .../Generated/Models/Identity.cs | 1 + .../Models/IdentityGovernance/WorkflowBase.cs | 2 +- .../Generated/Models/IncludeTarget.cs | 107 + .../Generated/Models/InheritablePermission.cs | 117 + .../Generated/Models/InheritableScopes.cs | 96 + .../Generated/Models/Mailbox.cs | 71 + .../Models/MailboxCollectionResponse.cs | 64 + .../Generated/Models/MailboxFolder.cs | 188 ++ .../Models/MailboxFolderCollectionResponse.cs | 64 + .../Generated/Models/MailboxItem.cs | 115 + .../Models/MailboxItemCollectionResponse.cs | 64 + .../Models/MailboxItemImportSession.cs | 107 + .../Generated/Models/MonitorMode.cs | 19 + .../Generated/Models/MonitorRunStatus.cs | 27 + .../Generated/Models/MonitorStatus.cs | 23 + .../Generated/Models/NoScopes.cs | 53 + ...PasswordMigrationCustomExtensionHandler.cs | 107 + .../Models/OnPasswordSubmitCustomExtension.cs | 53 + .../Models/OnPasswordSubmitHandler.cs | 86 + .../Models/OnPasswordSubmitListener.cs | 71 + .../Models/OpenComplexDictionaryType.cs | 46 + .../Generated/Models/OutlookItem.cs | 1 + .../PasskeyAuthenticationMethodTarget.cs | 64 + .../Generated/Models/PasskeyProfile.cs | 98 + .../Generated/Models/PasskeyType.cs | 24 + .../Generated/Models/PasskeyTypes.cs | 25 + .../Generated/Models/PeopleAdminSettings.cs | 18 + .../Generated/Models/ProfileSource.cs | 136 + .../Models/ProfileSourceCollectionResponse.cs | 64 + .../Models/ProfileSourceLocalization.cs | 135 + .../Generated/Models/QrCode.cs | 96 + .../Generated/Models/QrCodeImageDetails.cs | 133 + .../Models/QrCodePinAuthenticationMethod.cs | 107 + ...odePinAuthenticationMethodConfiguration.cs | 87 + src/Microsoft.Graph/Generated/Models/QrPin.cs | 88 + .../Generated/Models/ScopeCollectionKind.cs | 32 + .../Generated/Models/ServicePrincipal.cs | 8 +- .../Generated/Models/SharePointGroup.cs | 118 + .../SharePointGroupCollectionResponse.cs | 64 + .../Models/SharePointGroupIdentity.cs | 89 + .../Generated/Models/SharePointGroupMember.cs | 64 + ...SharePointGroupMemberCollectionResponse.cs | 64 + .../Generated/Models/SharePointIdentitySet.cs | 18 + .../Generated/Models/Simulation.cs | 2 +- .../Generated/Models/SnapshotJobStatus.cs | 35 + .../TeamsAdministration/ActivationState.cs | 36 + .../TeamsAdministration/AssignmentStatus.cs | 44 + .../TeamsAdministration/CustomerAction.cs | 24 + .../TeamsAdministration/NumberAssignment.cs | 292 ++ .../NumberAssignmentCollectionResponse.cs | 64 + .../TeamsAdministration/NumberCapability.cs | 32 + .../TeamsAdministration/NumberSource.cs | 24 + .../Models/TeamsAdministration/NumberType.cs | 32 + .../TeamsAdministration/PortInStatus.cs | 24 + .../ReverseNumberLookupOption.cs | 20 + .../TeamsAdministration/TeamsAdminRoot.cs | 18 + .../TelephoneNumberLongRunningOperation.cs | 90 + ...rLongRunningOperationCollectionResponse.cs | 64 + ...ephoneNumberLongRunningOperationDetails.cs | 125 + .../TelephoneNumberManagementRoot.cs | 82 + src/Microsoft.Graph/Generated/Models/User.cs | 25 +- .../Generated/Models/UserSettings.cs | 18 + ...ficateAuthenticationMethodConfiguration.cs | 36 + .../Models/X509CertificateAuthorityScope.cs | 135 + ...X509CertificateIssuerHintsConfiguration.cs | 89 + .../Models/X509CertificateIssuerHintsState.cs | 24 + .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../GraphRoomListRequestBuilder.cs | 7 +- .../GraphRoomListRequestBuilder.cs | 7 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../ServicePrincipalItemRequestBuilder.cs | 14 +- .../ServicePrincipalsRequestBuilder.cs | 10 +- ...ervicePrincipalsWithAppIdRequestBuilder.cs | 14 +- .../Item/Columns/ColumnsRequestBuilder.cs | 6 +- .../ColumnDefinitionItemRequestBuilder.cs | 6 +- .../FileStorageContainerItemRequestBuilder.cs | 6 + .../Count/CountRequestBuilder.cs | 124 + .../Item/Members/Count/CountRequestBuilder.cs | 124 + ...SharePointGroupMemberItemRequestBuilder.cs | 229 ++ .../Item/Members/MembersRequestBuilder.cs | 238 ++ .../Item/SharePointGroupItemRequestBuilder.cs | 235 ++ .../SharePointGroupsRequestBuilder.cs | 238 ++ .../Item/Columns/ColumnsRequestBuilder.cs | 6 +- .../ColumnDefinitionItemRequestBuilder.cs | 6 +- .../FileStorageContainerItemRequestBuilder.cs | 6 + .../Count/CountRequestBuilder.cs | 124 + .../Item/Members/Count/CountRequestBuilder.cs | 124 + ...SharePointGroupMemberItemRequestBuilder.cs | 229 ++ .../Item/Members/MembersRequestBuilder.cs | 238 ++ .../Item/SharePointGroupItemRequestBuilder.cs | 235 ++ .../SharePointGroupsRequestBuilder.cs | 238 ++ .../Item/ChannelItemRequestBuilder.cs | 6 + .../EnabledApps/Count/CountRequestBuilder.cs | 124 + .../EnabledApps/EnabledAppsRequestBuilder.cs | 183 ++ .../Item/TeamsAppItemRequestBuilder.cs | 125 + .../Item/Replies/RepliesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + .../Item/Messages/MessagesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + .../EnabledApps/Count/CountRequestBuilder.cs | 124 + .../EnabledApps/EnabledAppsRequestBuilder.cs | 183 ++ .../Item/TeamsAppItemRequestBuilder.cs | 125 + .../Item/Replies/RepliesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + .../Messages/MessagesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + .../PrimaryChannelRequestBuilder.cs | 6 + .../Item/ChannelItemRequestBuilder.cs | 6 + .../EnabledApps/Count/CountRequestBuilder.cs | 124 + .../EnabledApps/EnabledAppsRequestBuilder.cs | 183 ++ .../Item/TeamsAppItemRequestBuilder.cs | 125 + .../Item/Replies/RepliesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + .../Item/Messages/MessagesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + ...antOrganizationMemberItemRequestBuilder.cs | 5 +- ...rnalAuthenticationMethodsRequestBuilder.cs | 6 +- ...lAuthenticationMethodItemRequestBuilder.cs | 6 +- .../Item/Replies/RepliesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + .../Item/Messages/MessagesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + .../Shared/Count/CountRequestBuilder.cs | 3 + .../LastSharedMethodRequestBuilder.cs | 3 + .../Item/Resource/ResourceRequestBuilder.cs | 3 + .../Item/SharedInsightItemRequestBuilder.cs | 9 + .../Insights/Shared/SharedRequestBuilder.cs | 7 + .../Used/Count/CountRequestBuilder.cs | 3 + .../Item/Resource/ResourceRequestBuilder.cs | 3 + .../Item/UsedInsightItemRequestBuilder.cs | 8 + .../Item/Insights/Used/UsedRequestBuilder.cs | 7 + .../Item/ChannelItemRequestBuilder.cs | 6 + .../EnabledApps/Count/CountRequestBuilder.cs | 124 + .../EnabledApps/EnabledAppsRequestBuilder.cs | 183 ++ .../Item/TeamsAppItemRequestBuilder.cs | 125 + .../Item/Replies/RepliesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + .../Item/Messages/MessagesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + .../EnabledApps/Count/CountRequestBuilder.cs | 124 + .../EnabledApps/EnabledAppsRequestBuilder.cs | 183 ++ .../Item/TeamsAppItemRequestBuilder.cs | 125 + .../Item/Replies/RepliesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + .../Messages/MessagesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 + .../ReplyWithQuoteRequestBuilder.cs | 104 + .../PrimaryChannelRequestBuilder.cs | 6 + .../CreateForwardRequestBuilder.cs | 5 +- .../CreateForwardRequestBuilder.cs | 5 +- .../CreateForwardRequestBuilder.cs | 5 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../Exchange/ExchangeRequestBuilder.cs | 125 + .../Item/Settings/SettingsRequestBuilder.cs | 6 + .../Item/DirectoryObjectItemRequestBuilder.cs | 102 +- .../Sponsors/Item/Ref/RefRequestBuilder.cs | 97 + .../Item/Sponsors/Ref/RefRequestBuilder.cs | 267 ++ .../Item/Sponsors/SponsorsRequestBuilder.cs | 8 +- .../Generated/kiota-dom-export.txt | 2535 ++++++++++++++++- src/Microsoft.Graph/Generated/kiota-lock.json | 2 +- 415 files changed, 33458 insertions(+), 429 deletions(-) create mode 100644 src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationManagementRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/ConfigurationMonitorsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/ConfigurationMonitorItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/CreateImportSession/CreateImportSessionRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/ExportItems/ExportItemsPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/ExportItems/ExportItemsPostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/ExportItems/ExportItemsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/ExportItems/ExportItemsResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Delta/DeltaGetResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Delta/DeltaRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Delta/DeltaResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/FoldersRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/ChildFoldersRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Delta/DeltaGetResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Delta/DeltaResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Delta/DeltaGetResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Delta/DeltaRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Delta/DeltaResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Item/MailboxItemItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/ItemsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/MailboxFolderItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Delta/DeltaGetResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Delta/DeltaRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Delta/DeltaResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Item/MailboxItemItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/ItemsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/MailboxFolderItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/MailboxItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/MailboxesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/People/ProfileSources/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/People/ProfileSources/Item/ProfileSourceItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/People/ProfileSources/ProfileSourcesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/People/ProfileSourcesWithSourceId/ProfileSourcesWithSourceIdRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/Item/NumberAssignmentItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationAssignNumber/AssignNumberPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationAssignNumber/MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUnassignNumber/MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUnassignNumber/UnassignNumberPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUpdateNumber/MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUpdateNumber/UpdateNumberPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/NumberAssignmentsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/Operations/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/Operations/Item/TelephoneNumberLongRunningOperationItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/Operations/OperationsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/TelephoneNumberManagementRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/EnabledApps/EnabledAppsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/EnabledApps/Item/TeamsAppItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/EnabledApps/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/EnabledApps/EnabledAppsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/EnabledApps/Item/TeamsAppItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/EnabledApps/EnabledAppsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/EnabledApps/Item/TeamsAppItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/EnabledApps/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/EnabledApps/EnabledAppsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/EnabledApps/Item/TeamsAppItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Settings/Exchange/ExchangeRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Sponsors/Item/Ref/RefRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Sponsors/Ref/RefRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AgentIdentity.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AgentIdentityBlueprint.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AgentIdentityBlueprintPrincipal.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AgentUser.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AllAllowedScopes.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AttestationEnforcement.cs create mode 100644 src/Microsoft.Graph/Generated/Models/BaselineParameter.cs create mode 100644 src/Microsoft.Graph/Generated/Models/BaselineParameterType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/BaselineResource.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ConfigurationBaseline.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ConfigurationBaselineCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ConfigurationDrift.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ConfigurationDriftCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ConfigurationManagement.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ConfigurationMonitor.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ConfigurationMonitorCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ConfigurationMonitoringResult.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ConfigurationMonitoringResultCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ConfigurationSnapshotJob.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ConfigurationSnapshotJobCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyAppServiceConnectSetting.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyM365CollaborationInboundSetting.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyM365CollaborationOutboundSetting.cs create mode 100644 src/Microsoft.Graph/Generated/Models/DriftStatus.cs create mode 100644 src/Microsoft.Graph/Generated/Models/DriftedProperty.cs create mode 100644 src/Microsoft.Graph/Generated/Models/EnumeratedScopes.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ErrorCorrectionLevel.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ErrorDetail.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ExchangeSettings.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ExportItemResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ExternalConnectors/ContentCategory.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IncludeTarget.cs create mode 100644 src/Microsoft.Graph/Generated/Models/InheritablePermission.cs create mode 100644 src/Microsoft.Graph/Generated/Models/InheritableScopes.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Mailbox.cs create mode 100644 src/Microsoft.Graph/Generated/Models/MailboxCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/MailboxFolder.cs create mode 100644 src/Microsoft.Graph/Generated/Models/MailboxFolderCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/MailboxItem.cs create mode 100644 src/Microsoft.Graph/Generated/Models/MailboxItemCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/MailboxItemImportSession.cs create mode 100644 src/Microsoft.Graph/Generated/Models/MonitorMode.cs create mode 100644 src/Microsoft.Graph/Generated/Models/MonitorRunStatus.cs create mode 100644 src/Microsoft.Graph/Generated/Models/MonitorStatus.cs create mode 100644 src/Microsoft.Graph/Generated/Models/NoScopes.cs create mode 100644 src/Microsoft.Graph/Generated/Models/OnPasswordMigrationCustomExtensionHandler.cs create mode 100644 src/Microsoft.Graph/Generated/Models/OnPasswordSubmitCustomExtension.cs create mode 100644 src/Microsoft.Graph/Generated/Models/OnPasswordSubmitHandler.cs create mode 100644 src/Microsoft.Graph/Generated/Models/OnPasswordSubmitListener.cs create mode 100644 src/Microsoft.Graph/Generated/Models/OpenComplexDictionaryType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PasskeyAuthenticationMethodTarget.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PasskeyProfile.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PasskeyType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PasskeyTypes.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ProfileSource.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ProfileSourceCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ProfileSourceLocalization.cs create mode 100644 src/Microsoft.Graph/Generated/Models/QrCode.cs create mode 100644 src/Microsoft.Graph/Generated/Models/QrCodeImageDetails.cs create mode 100644 src/Microsoft.Graph/Generated/Models/QrCodePinAuthenticationMethod.cs create mode 100644 src/Microsoft.Graph/Generated/Models/QrCodePinAuthenticationMethodConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/QrPin.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ScopeCollectionKind.cs create mode 100644 src/Microsoft.Graph/Generated/Models/SharePointGroup.cs create mode 100644 src/Microsoft.Graph/Generated/Models/SharePointGroupCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/SharePointGroupIdentity.cs create mode 100644 src/Microsoft.Graph/Generated/Models/SharePointGroupMember.cs create mode 100644 src/Microsoft.Graph/Generated/Models/SharePointGroupMemberCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/SnapshotJobStatus.cs create mode 100644 src/Microsoft.Graph/Generated/Models/TeamsAdministration/ActivationState.cs create mode 100644 src/Microsoft.Graph/Generated/Models/TeamsAdministration/AssignmentStatus.cs create mode 100644 src/Microsoft.Graph/Generated/Models/TeamsAdministration/CustomerAction.cs create mode 100644 src/Microsoft.Graph/Generated/Models/TeamsAdministration/NumberAssignment.cs create mode 100644 src/Microsoft.Graph/Generated/Models/TeamsAdministration/NumberAssignmentCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/TeamsAdministration/NumberCapability.cs create mode 100644 src/Microsoft.Graph/Generated/Models/TeamsAdministration/NumberSource.cs create mode 100644 src/Microsoft.Graph/Generated/Models/TeamsAdministration/NumberType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/TeamsAdministration/PortInStatus.cs create mode 100644 src/Microsoft.Graph/Generated/Models/TeamsAdministration/ReverseNumberLookupOption.cs create mode 100644 src/Microsoft.Graph/Generated/Models/TeamsAdministration/TelephoneNumberLongRunningOperation.cs create mode 100644 src/Microsoft.Graph/Generated/Models/TeamsAdministration/TelephoneNumberLongRunningOperationCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/TeamsAdministration/TelephoneNumberLongRunningOperationDetails.cs create mode 100644 src/Microsoft.Graph/Generated/Models/TeamsAdministration/TelephoneNumberManagementRoot.cs create mode 100644 src/Microsoft.Graph/Generated/Models/X509CertificateAuthorityScope.cs create mode 100644 src/Microsoft.Graph/Generated/Models/X509CertificateIssuerHintsConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/X509CertificateIssuerHintsState.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/EnabledApps/EnabledAppsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/EnabledApps/Item/TeamsAppItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/EnabledApps/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/EnabledApps/EnabledAppsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/EnabledApps/Item/TeamsAppItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/EnabledApps/EnabledAppsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/EnabledApps/Item/TeamsAppItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/EnabledApps/EnabledAppsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/EnabledApps/Item/TeamsAppItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/EnabledApps/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/EnabledApps/EnabledAppsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/EnabledApps/Item/TeamsAppItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Settings/Exchange/ExchangeRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Sponsors/Item/Ref/RefRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Sponsors/Ref/RefRequestBuilder.cs diff --git a/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs index c533c1a6d5d..abf51c4a45d 100644 --- a/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Admin.ConfigurationManagement; using Microsoft.Graph.Admin.Edge; using Microsoft.Graph.Admin.Exchange; using Microsoft.Graph.Admin.Microsoft365Apps; @@ -26,6 +27,11 @@ namespace Microsoft.Graph.Admin [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AdminRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the configurationManagement property of the microsoft.graph.admin entity. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationManagementRequestBuilder ConfigurationManagement + { + get => new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationManagementRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the edge property of the microsoft.graph.admin entity. public global::Microsoft.Graph.Admin.Edge.EdgeRequestBuilder Edge { diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilder.cs new file mode 100644 index 00000000000..4e81390ff7a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Count; +using Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts +{ + /// + /// Provides operations to manage the configurationDrifts property of the microsoft.graph.configurationManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationDriftsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the configurationDrifts property of the microsoft.graph.configurationManagement entity. + /// The unique identifier of configurationDrift + /// A + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("configurationDrift%2Did", position); + return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationDriftsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationDrifts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationDriftsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationDrifts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the configurationDrift objects and their properties. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationDriftCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to configurationDrifts for admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.ConfigurationDrift body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ConfigurationDrift body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationDrift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the configurationDrift objects and their properties. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to configurationDrifts for admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConfigurationDrift body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConfigurationDrift body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.ConfigurationDriftsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.ConfigurationDriftsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the configurationDrift objects and their properties. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationDriftsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationDriftsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationDriftsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..d4301728659 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationDrifts/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationDrifts/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilder.cs new file mode 100644 index 00000000000..2cd6360cddd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilder.cs @@ -0,0 +1,230 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item +{ + /// + /// Provides operations to manage the configurationDrifts property of the microsoft.graph.configurationManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationDriftItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationDriftItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationDrifts/{configurationDrift%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationDriftItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationDrifts/{configurationDrift%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property configurationDrifts for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the properties and relationships of a configurationDrift object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationDrift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property configurationDrifts in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ConfigurationDrift body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ConfigurationDrift body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationDrift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property configurationDrifts for admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get the properties and relationships of a configurationDrift object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property configurationDrifts in admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConfigurationDrift body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConfigurationDrift body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationDriftItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get the properties and relationships of a configurationDrift object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationDriftItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationDriftItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationDriftItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationManagementRequestBuilder.cs new file mode 100644 index 00000000000..19103279207 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationManagementRequestBuilder.cs @@ -0,0 +1,259 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts; +using Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults; +using Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors; +using Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs; +using Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.ConfigurationManagement +{ + /// + /// Provides operations to manage the configurationManagement property of the microsoft.graph.admin entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationManagementRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the configurationDrifts property of the microsoft.graph.configurationManagement entity. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.ConfigurationDriftsRequestBuilder ConfigurationDrifts + { + get => new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.ConfigurationDriftsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the configurationMonitoringResults property of the microsoft.graph.configurationManagement entity. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder ConfigurationMonitoringResults + { + get => new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the configurationMonitors property of the microsoft.graph.configurationManagement entity. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.ConfigurationMonitorsRequestBuilder ConfigurationMonitors + { + get => new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.ConfigurationMonitorsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the configurationSnapshotJobs property of the microsoft.graph.configurationManagement entity. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder ConfigurationSnapshotJobs + { + get => new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the configurationSnapshots property of the microsoft.graph.configurationManagement entity. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.ConfigurationSnapshotsRequestBuilder ConfigurationSnapshots + { + get => new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.ConfigurationSnapshotsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationManagementRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property configurationManagement for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A container for Tenant Configuration Management (TCM) resources. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property configurationManagement in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ConfigurationManagement body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ConfigurationManagement body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property configurationManagement for admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// A container for Tenant Configuration Management (TCM) resources. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property configurationManagement in admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConfigurationManagement body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConfigurationManagement body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationManagementRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationManagementRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationManagementRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// A container for Tenant Configuration Management (TCM) resources. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationManagementRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationManagementRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationManagementRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.cs new file mode 100644 index 00000000000..19f855baf54 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count; +using Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults +{ + /// + /// Provides operations to manage the configurationMonitoringResults property of the microsoft.graph.configurationManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitoringResultsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the configurationMonitoringResults property of the microsoft.graph.configurationManagement entity. + /// The unique identifier of configurationMonitoringResult + /// A + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("configurationMonitoringResult%2Did", position); + return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationMonitoringResultsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitoringResults{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationMonitoringResultsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitoringResults{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the configurationMonitoringResult objects and their properties. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationMonitoringResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to configurationMonitoringResults for admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.ConfigurationMonitoringResult body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ConfigurationMonitoringResult body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationMonitoringResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the configurationMonitoringResult objects and their properties. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to configurationMonitoringResults for admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConfigurationMonitoringResult body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConfigurationMonitoringResult body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the configurationMonitoringResult objects and their properties. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitoringResultsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitoringResultsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitoringResultsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..908b8ea89b6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitoringResults/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitoringResults/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.cs new file mode 100644 index 00000000000..ab33b39654d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.cs @@ -0,0 +1,230 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item +{ + /// + /// Provides operations to manage the configurationMonitoringResults property of the microsoft.graph.configurationManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitoringResultItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationMonitoringResultItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitoringResults/{configurationMonitoringResult%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationMonitoringResultItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitoringResults/{configurationMonitoringResult%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property configurationMonitoringResults for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of a configurationMonitoringResult object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationMonitoringResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property configurationMonitoringResults in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ConfigurationMonitoringResult body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ConfigurationMonitoringResult body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationMonitoringResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property configurationMonitoringResults for admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of a configurationMonitoringResult object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property configurationMonitoringResults in admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConfigurationMonitoringResult body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConfigurationMonitoringResult body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitoringResultItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of a configurationMonitoringResult object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitoringResultItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitoringResultItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitoringResultItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/ConfigurationMonitorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/ConfigurationMonitorsRequestBuilder.cs new file mode 100644 index 00000000000..f7c89274659 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/ConfigurationMonitorsRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Count; +using Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors +{ + /// + /// Provides operations to manage the configurationMonitors property of the microsoft.graph.configurationManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitorsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the configurationMonitors property of the microsoft.graph.configurationManagement entity. + /// The unique identifier of configurationMonitor + /// A + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("configurationMonitor%2Did", position); + return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationMonitorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationMonitorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the configurationMonitor objects and their properties. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationMonitorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new configurationMonitor object that runs periodically in the background at a scheduled frequency. You can create up to 30 configurationMonitor objects per tenant. Each monitor runs at a fixed interval of 6 hours and cannot be configured to run at any other frequency. An administrator can monitor up to 800 configuration resources per day per tenant across all monitors. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.ConfigurationMonitor body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ConfigurationMonitor body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationMonitor.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the configurationMonitor objects and their properties. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a new configurationMonitor object that runs periodically in the background at a scheduled frequency. You can create up to 30 configurationMonitor objects per tenant. Each monitor runs at a fixed interval of 6 hours and cannot be configured to run at any other frequency. An administrator can monitor up to 800 configuration resources per day per tenant across all monitors. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConfigurationMonitor body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConfigurationMonitor body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.ConfigurationMonitorsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.ConfigurationMonitorsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the configurationMonitor objects and their properties. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitorsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitorsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitorsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..18f2280bc15 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitors/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitors/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilder.cs new file mode 100644 index 00000000000..4e31dd07dff --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilder.cs @@ -0,0 +1,230 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline +{ + /// + /// Provides operations to manage the baseline property of the microsoft.graph.configurationMonitor entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BaselineRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public BaselineRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitors/{configurationMonitor%2Did}/baseline{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public BaselineRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitors/{configurationMonitor%2Did}/baseline{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property baseline for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property baseline in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ConfigurationBaseline body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ConfigurationBaseline body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property baseline for admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property baseline in admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConfigurationBaseline body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConfigurationBaseline body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.BaselineRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.BaselineRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BaselineRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BaselineRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BaselineRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BaselineRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/ConfigurationMonitorItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/ConfigurationMonitorItemRequestBuilder.cs new file mode 100644 index 00000000000..28b0be055f9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/ConfigurationMonitorItemRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item +{ + /// + /// Provides operations to manage the configurationMonitors property of the microsoft.graph.configurationManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitorItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the baseline property of the microsoft.graph.configurationMonitor entity. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.BaselineRequestBuilder Baseline + { + get => new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.BaselineRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationMonitorItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitors/{configurationMonitor%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationMonitorItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationMonitors/{configurationMonitor%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a configurationMonitor object permanently. A deleted configurationMonitor can't be restored. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the properties and relationships of a configurationMonitor object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationMonitor.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a configurationMonitor object, including the monitor name, description, and baseline. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ConfigurationMonitor body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ConfigurationMonitor body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationMonitor.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a configurationMonitor object permanently. A deleted configurationMonitor can't be restored. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get the properties and relationships of a configurationMonitor object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the properties of a configurationMonitor object, including the monitor name, description, and baseline. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConfigurationMonitor body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConfigurationMonitor body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitorItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get the properties and relationships of a configurationMonitor object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitorItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitorItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationMonitorItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilder.cs new file mode 100644 index 00000000000..40ff70627af --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count; +using Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs +{ + /// + /// Provides operations to manage the configurationSnapshotJobs property of the microsoft.graph.configurationManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotJobsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the configurationSnapshotJobs property of the microsoft.graph.configurationManagement entity. + /// The unique identifier of configurationSnapshotJob + /// A + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("configurationSnapshotJob%2Did", position); + return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationSnapshotJobsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshotJobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationSnapshotJobsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshotJobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the configurationSnapshotJob objects and their properties. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationSnapshotJobCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to configurationSnapshotJobs for admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.ConfigurationSnapshotJob body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ConfigurationSnapshotJob body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationSnapshotJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the configurationSnapshotJob objects and their properties. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to configurationSnapshotJobs for admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConfigurationSnapshotJob body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConfigurationSnapshotJob body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the configurationSnapshotJob objects and their properties. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotJobsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotJobsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotJobsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..391b74a6cac --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshotJobs/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshotJobs/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilder.cs new file mode 100644 index 00000000000..4070df4bfb6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilder.cs @@ -0,0 +1,231 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item +{ + /// + /// Provides operations to manage the configurationSnapshotJobs property of the microsoft.graph.configurationManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotJobItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationSnapshotJobItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshotJobs/{configurationSnapshotJob%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationSnapshotJobItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshotJobs/{configurationSnapshotJob%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a configurationSnapshotJob object. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of a configurationSnapshotJob object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationSnapshotJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property configurationSnapshotJobs in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ConfigurationSnapshotJob body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ConfigurationSnapshotJob body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationSnapshotJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a configurationSnapshotJob object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of a configurationSnapshotJob object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property configurationSnapshotJobs in admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConfigurationSnapshotJob body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConfigurationSnapshotJob body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotJobItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of a configurationSnapshotJob object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotJobItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotJobItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotJobItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilder.cs new file mode 100644 index 00000000000..e0baaa2dbb5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Count; +using Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots +{ + /// + /// Provides operations to manage the configurationSnapshots property of the microsoft.graph.configurationManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the configurationSnapshots property of the microsoft.graph.configurationManagement entity. + /// The unique identifier of configurationBaseline + /// A + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("configurationBaseline%2Did", position); + return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationSnapshotsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshots{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationSnapshotsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshots{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of configurationBaseline objects that represent configuration snapshots and their properties. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationBaselineCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to configurationSnapshots for admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.ConfigurationBaseline body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ConfigurationBaseline body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of configurationBaseline objects that represent configuration snapshots and their properties. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to configurationSnapshots for admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConfigurationBaseline body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConfigurationBaseline body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.ConfigurationSnapshotsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.ConfigurationSnapshotsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of configurationBaseline objects that represent configuration snapshots and their properties. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationSnapshotsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..91909d5e853 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshots/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshots/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilder.cs new file mode 100644 index 00000000000..874ba329e6a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item +{ + /// + /// Provides operations to manage the configurationSnapshots property of the microsoft.graph.configurationManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationBaselineItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigurationBaselineItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshots/{configurationBaseline%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfigurationBaselineItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshots/{configurationBaseline%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property configurationSnapshots for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A container for configuration snapshot baselines. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property configurationSnapshots in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ConfigurationBaseline body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ConfigurationBaseline body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property configurationSnapshots for admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// A container for configuration snapshot baselines. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property configurationSnapshots in admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConfigurationBaseline body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConfigurationBaseline body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationBaselineItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// A container for configuration snapshot baselines. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationBaselineItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationBaselineItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfigurationBaselineItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/ExchangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/ExchangeRequestBuilder.cs index fa2a4a0549a..5b23da805a2 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/ExchangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/ExchangeRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Admin.Exchange.Mailboxes; using Microsoft.Graph.Admin.Exchange.Tracing; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; @@ -19,6 +20,11 @@ namespace Microsoft.Graph.Admin.Exchange [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ExchangeRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the mailboxes property of the microsoft.graph.exchangeAdmin entity. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.MailboxesRequestBuilder Mailboxes + { + get => new global::Microsoft.Graph.Admin.Exchange.Mailboxes.MailboxesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the tracing property of the microsoft.graph.exchangeAdmin entity. public global::Microsoft.Graph.Admin.Exchange.Tracing.TracingRequestBuilder Tracing { diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..c4e976d5bac --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/CreateImportSession/CreateImportSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/CreateImportSession/CreateImportSessionRequestBuilder.cs new file mode 100644 index 00000000000..8024f092d73 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/CreateImportSession/CreateImportSessionRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.CreateImportSession +{ + /// + /// Provides operations to call the createImportSession method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreateImportSessionRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CreateImportSessionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/createImportSession", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CreateImportSessionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/createImportSession", rawUrl) + { + } + /// + /// Invoke action createImportSession + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxItemImportSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action createImportSession + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.CreateImportSession.CreateImportSessionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.CreateImportSession.CreateImportSessionRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreateImportSessionRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/ExportItems/ExportItemsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/ExportItems/ExportItemsPostRequestBody.cs new file mode 100644 index 00000000000..3709fd68309 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/ExportItems/ExportItemsPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ExportItemsPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The ItemIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ItemIds + { + get { return BackingStore?.Get?>("ItemIds"); } + set { BackingStore?.Set("ItemIds", value); } + } +#nullable restore +#else + public List ItemIds + { + get { return BackingStore?.Get>("ItemIds"); } + set { BackingStore?.Set("ItemIds", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ExportItemsPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "ItemIds", n => { ItemIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("ItemIds", ItemIds); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/ExportItems/ExportItemsPostResponse.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/ExportItems/ExportItemsPostResponse.cs new file mode 100644 index 00000000000..7cebcca06ae --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/ExportItems/ExportItemsPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ExportItemsPostResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsPostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ExportItemResponse.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/ExportItems/ExportItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/ExportItems/ExportItemsRequestBuilder.cs new file mode 100644 index 00000000000..dce15edfc31 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/ExportItems/ExportItemsRequestBuilder.cs @@ -0,0 +1,128 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems +{ + /// + /// Provides operations to call the exportItems method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExportItemsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ExportItemsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/exportItems", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ExportItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/exportItems", rawUrl) + { + } + /// + /// Invoke action exportItems + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsExportItemsPostResponseAsync(global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsExportItemsPostResponseAsync(global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action exportItems + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsExportItemsPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action exportItems + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExportItemsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/ExportItems/ExportItemsResponse.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/ExportItems/ExportItemsResponse.cs new file mode 100644 index 00000000000..d7492151000 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/ExportItems/ExportItemsResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems +{ + [Obsolete("This class is obsolete. Use ExportItemsPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ExportItemsResponse : global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsPostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..4a58d0e9832 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Delta/DeltaGetResponse.cs new file mode 100644 index 00000000000..f0fb15b5d26 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Delta/DeltaGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.DeltaGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MailboxFolder.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Delta/DeltaRequestBuilder.cs new file mode 100644 index 00000000000..64741c76005 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Delta/DeltaRequestBuilder.cs @@ -0,0 +1,187 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta +{ + /// + /// Provides operations to call the delta method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function delta + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function delta + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function delta + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function delta + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Delta/DeltaResponse.cs new file mode 100644 index 00000000000..d4053305aa7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Delta/DeltaResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta +{ + [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaResponse : global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.DeltaGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.DeltaResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/FoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/FoldersRequestBuilder.cs new file mode 100644 index 00000000000..0c4529a1708 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/FoldersRequestBuilder.cs @@ -0,0 +1,189 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Count; +using Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta; +using Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders +{ + /// + /// Provides operations to manage the folders property of the microsoft.graph.mailbox entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FoldersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the folders property of the microsoft.graph.mailbox entity. + /// The unique identifier of mailboxFolder + /// A + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("mailboxFolder%2Did", position); + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public FoldersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public FoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get folders from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get folders from admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.FoldersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.FoldersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get folders from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FoldersRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FoldersRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/ChildFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/ChildFoldersRequestBuilder.cs new file mode 100644 index 00000000000..e946dd9cddc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/ChildFoldersRequestBuilder.cs @@ -0,0 +1,189 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Count; +using Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta; +using Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders +{ + /// + /// Provides operations to manage the childFolders property of the microsoft.graph.mailboxFolder entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChildFoldersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the childFolders property of the microsoft.graph.mailboxFolder entity. + /// The unique identifier of mailboxFolder + /// A + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("mailboxFolder%2Did1", position); + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ChildFoldersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ChildFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get childFolders from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get childFolders from admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.ChildFoldersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.ChildFoldersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get childFolders from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChildFoldersRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChildFoldersRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..7abdc017d2a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Delta/DeltaGetResponse.cs new file mode 100644 index 00000000000..b3be6ffaf0f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Delta/DeltaGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.DeltaGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MailboxFolder.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs new file mode 100644 index 00000000000..77a9803434d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs @@ -0,0 +1,187 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta +{ + /// + /// Provides operations to call the delta method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function delta + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function delta + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function delta + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function delta + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Delta/DeltaResponse.cs new file mode 100644 index 00000000000..993dd11c02f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Delta/DeltaResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta +{ + [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaResponse : global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.DeltaGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.DeltaResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..846548e5bca --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders/{mailboxFolder%2Did1}/items/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders/{mailboxFolder%2Did1}/items/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Delta/DeltaGetResponse.cs new file mode 100644 index 00000000000..90e810a970b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Delta/DeltaGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.DeltaGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MailboxItem.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Delta/DeltaRequestBuilder.cs new file mode 100644 index 00000000000..5e107d3726e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Delta/DeltaRequestBuilder.cs @@ -0,0 +1,187 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta +{ + /// + /// Provides operations to call the delta method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders/{mailboxFolder%2Did1}/items/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders/{mailboxFolder%2Did1}/items/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function delta + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function delta + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function delta + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function delta + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Delta/DeltaResponse.cs new file mode 100644 index 00000000000..e342dafd78e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Delta/DeltaResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta +{ + [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaResponse : global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.DeltaGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.DeltaResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Item/MailboxItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Item/MailboxItemItemRequestBuilder.cs new file mode 100644 index 00000000000..708513ab850 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/Item/MailboxItemItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Item +{ + /// + /// Provides operations to manage the items property of the microsoft.graph.mailboxFolder entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxItemItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxItemItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders/{mailboxFolder%2Did1}/items/{mailboxItem%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MailboxItemItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders/{mailboxFolder%2Did1}/items/{mailboxItem%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get items from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get items from admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Item.MailboxItemItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Item.MailboxItemItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get items from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxItemItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxItemItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/ItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/ItemsRequestBuilder.cs new file mode 100644 index 00000000000..3a67afe5c8d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/Items/ItemsRequestBuilder.cs @@ -0,0 +1,189 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Count; +using Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta; +using Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items +{ + /// + /// Provides operations to manage the items property of the microsoft.graph.mailboxFolder entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ItemsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the items property of the microsoft.graph.mailboxFolder entity. + /// The unique identifier of mailboxItem + /// A + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Item.MailboxItemItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("mailboxItem%2Did", position); + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Item.MailboxItemItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ItemsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders/{mailboxFolder%2Did1}/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders/{mailboxFolder%2Did1}/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get items from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get items from admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.ItemsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.ItemsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get items from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ItemsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ItemsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/MailboxFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/MailboxFolderItemRequestBuilder.cs new file mode 100644 index 00000000000..a47f06de55a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/Item/MailboxFolderItemRequestBuilder.cs @@ -0,0 +1,131 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item +{ + /// + /// Provides operations to manage the childFolders property of the microsoft.graph.mailboxFolder entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxFolderItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the items property of the microsoft.graph.mailboxFolder entity. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.ItemsRequestBuilder Items + { + get => new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.ItemsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxFolderItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders/{mailboxFolder%2Did1}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MailboxFolderItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders/{mailboxFolder%2Did1}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get childFolders from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get childFolders from admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get childFolders from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxFolderItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxFolderItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..026579450af --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/items/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/items/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Delta/DeltaGetResponse.cs new file mode 100644 index 00000000000..36a02f9b016 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Delta/DeltaGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.DeltaGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MailboxItem.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Delta/DeltaRequestBuilder.cs new file mode 100644 index 00000000000..9636c257f1d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Delta/DeltaRequestBuilder.cs @@ -0,0 +1,187 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta +{ + /// + /// Provides operations to call the delta method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/items/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/items/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function delta + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function delta + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function delta + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function delta + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Delta/DeltaResponse.cs new file mode 100644 index 00000000000..c987da64928 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Delta/DeltaResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta +{ + [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaResponse : global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.DeltaGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.DeltaResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Item/MailboxItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Item/MailboxItemItemRequestBuilder.cs new file mode 100644 index 00000000000..059ff53f044 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/Item/MailboxItemItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Item +{ + /// + /// Provides operations to manage the items property of the microsoft.graph.mailboxFolder entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxItemItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxItemItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/items/{mailboxItem%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MailboxItemItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/items/{mailboxItem%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get items from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get items from admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Item.MailboxItemItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Item.MailboxItemItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get items from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxItemItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxItemItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/ItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/ItemsRequestBuilder.cs new file mode 100644 index 00000000000..05cb66f2dc6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/Items/ItemsRequestBuilder.cs @@ -0,0 +1,189 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Count; +using Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta; +using Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items +{ + /// + /// Provides operations to manage the items property of the microsoft.graph.mailboxFolder entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ItemsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the items property of the microsoft.graph.mailboxFolder entity. + /// The unique identifier of mailboxItem + /// A + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Item.MailboxItemItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("mailboxItem%2Did", position); + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Item.MailboxItemItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ItemsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get items from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get items from admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.ItemsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.ItemsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get items from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ItemsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ItemsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/MailboxFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/MailboxFolderItemRequestBuilder.cs new file mode 100644 index 00000000000..8578dcaa2bc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/MailboxFolderItemRequestBuilder.cs @@ -0,0 +1,137 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders; +using Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item +{ + /// + /// Provides operations to manage the folders property of the microsoft.graph.mailbox entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxFolderItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the childFolders property of the microsoft.graph.mailboxFolder entity. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.ChildFoldersRequestBuilder ChildFolders + { + get => new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.ChildFoldersRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the items property of the microsoft.graph.mailboxFolder entity. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.ItemsRequestBuilder Items + { + get => new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.ItemsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxFolderItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MailboxFolderItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get folders from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get folders from admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get folders from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxFolderItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxFolderItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/MailboxItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/MailboxItemRequestBuilder.cs new file mode 100644 index 00000000000..c76513e676c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/MailboxItemRequestBuilder.cs @@ -0,0 +1,247 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.Exchange.Mailboxes.Item.CreateImportSession; +using Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems; +using Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes.Item +{ + /// + /// Provides operations to manage the mailboxes property of the microsoft.graph.exchangeAdmin entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the createImportSession method. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.CreateImportSession.CreateImportSessionRequestBuilder CreateImportSession + { + get => new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.CreateImportSession.CreateImportSessionRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the exportItems method. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsRequestBuilder ExportItems + { + get => new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the folders property of the microsoft.graph.mailbox entity. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.FoldersRequestBuilder Folders + { + get => new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.FoldersRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MailboxItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property mailboxes for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get mailboxes from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Mailbox.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property mailboxes in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.Mailbox body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.Mailbox body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Mailbox.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property mailboxes for admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get mailboxes from admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property mailboxes in admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Mailbox body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Mailbox body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get mailboxes from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/MailboxesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/MailboxesRequestBuilder.cs new file mode 100644 index 00000000000..b94def50cd4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/MailboxesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.Exchange.Mailboxes.Count; +using Microsoft.Graph.Admin.Exchange.Mailboxes.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Exchange.Mailboxes +{ + /// + /// Provides operations to manage the mailboxes property of the microsoft.graph.exchangeAdmin entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the mailboxes property of the microsoft.graph.exchangeAdmin entity. + /// The unique identifier of mailbox + /// A + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("mailbox%2Did", position); + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MailboxesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/exchange/mailboxes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get mailboxes from admin + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailboxCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to mailboxes for admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.Mailbox body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.Mailbox body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Mailbox.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get mailboxes from admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to mailboxes for admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Mailbox body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Mailbox body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Exchange.Mailboxes.MailboxesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Exchange.Mailboxes.MailboxesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get mailboxes from admin + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressRequestBuilder.cs index fadaa56dfee..f23fcda480d 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Tracing/MessageTraces/Item/GetDetailsByRecipientWithRecipientAddress/GetDetailsByRecipientWithRecipientAddressRequestBuilder.cs @@ -37,6 +37,7 @@ public GetDetailsByRecipientWithRecipientAddressRequestBuilder(string rawUrl, IR } /// /// Get a list of exchangeMessageTraceDetail objects filtered on the recipient. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -60,6 +61,7 @@ public GetDetailsByRecipientWithRecipientAddressRequestBuilder(string rawUrl, IR } /// /// Get a list of exchangeMessageTraceDetail objects filtered on the recipient. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests diff --git a/src/Microsoft.Graph/Generated/Admin/People/PeopleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/People/PeopleRequestBuilder.cs index 56a9cee1467..c80341d6ddb 100644 --- a/src/Microsoft.Graph/Generated/Admin/People/PeopleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/People/PeopleRequestBuilder.cs @@ -2,6 +2,8 @@ #pragma warning disable CS0618 using Microsoft.Graph.Admin.People.ItemInsights; using Microsoft.Graph.Admin.People.ProfileCardProperties; +using Microsoft.Graph.Admin.People.ProfileSources; +using Microsoft.Graph.Admin.People.ProfileSourcesWithSourceId; using Microsoft.Graph.Admin.People.Pronouns; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; @@ -31,6 +33,11 @@ public partial class PeopleRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Admin.People.ProfileCardProperties.ProfileCardPropertiesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity. + public global::Microsoft.Graph.Admin.People.ProfileSources.ProfileSourcesRequestBuilder ProfileSources + { + get => new global::Microsoft.Graph.Admin.People.ProfileSources.ProfileSourcesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the pronouns property of the microsoft.graph.peopleAdminSettings entity. public global::Microsoft.Graph.Admin.People.Pronouns.PronounsRequestBuilder Pronouns { @@ -77,6 +84,16 @@ public PeopleRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PeopleAdminSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// + /// Provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity. + /// + /// A + /// Alternate key of profileSource + public global::Microsoft.Graph.Admin.People.ProfileSourcesWithSourceId.ProfileSourcesWithSourceIdRequestBuilder ProfileSourcesWithSourceId(string sourceId) + { + if(string.IsNullOrEmpty(sourceId)) throw new ArgumentNullException(nameof(sourceId)); + return new global::Microsoft.Graph.Admin.People.ProfileSourcesWithSourceId.ProfileSourcesWithSourceIdRequestBuilder(PathParameters, RequestAdapter, sourceId); + } + /// /// Retrieve the properties and relationships of a peopleAdminSettings object. /// /// A diff --git a/src/Microsoft.Graph/Generated/Admin/People/ProfileSources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/People/ProfileSources/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..2a9def55717 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/People/ProfileSources/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.People.ProfileSources.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/people/profileSources/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/people/profileSources/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.People.ProfileSources.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.People.ProfileSources.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/People/ProfileSources/Item/ProfileSourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/People/ProfileSources/Item/ProfileSourceItemRequestBuilder.cs new file mode 100644 index 00000000000..32854f18811 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/People/ProfileSources/Item/ProfileSourceItemRequestBuilder.cs @@ -0,0 +1,231 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.People.ProfileSources.Item +{ + /// + /// Provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourceItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ProfileSourceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/people/profileSources/{profileSource%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ProfileSourceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/people/profileSources/{profileSource%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a profileSource object. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of profile source settings configured by an administrator in an organization. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProfileSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a profileSource object. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ProfileSource body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ProfileSource body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProfileSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a profileSource object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// A collection of profile source settings configured by an administrator in an organization. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the properties of a profileSource object. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ProfileSource body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ProfileSource body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourceItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// A collection of profile source settings configured by an administrator in an organization. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourceItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourceItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourceItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/People/ProfileSources/ProfileSourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/People/ProfileSources/ProfileSourcesRequestBuilder.cs new file mode 100644 index 00000000000..98638d3bd73 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/People/ProfileSources/ProfileSourcesRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.People.ProfileSources.Count; +using Microsoft.Graph.Admin.People.ProfileSources.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.People.ProfileSources +{ + /// + /// Provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourcesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Admin.People.ProfileSources.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Admin.People.ProfileSources.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity. + /// The unique identifier of profileSource + /// A + public global::Microsoft.Graph.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("profileSource%2Did", position); + return new global::Microsoft.Graph.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ProfileSourcesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/people/profileSources{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ProfileSourcesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/people/profileSources{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the profileSource objects and their properties, which represent both external data sources and out-of-the-box Microsoft data sources configured for user profiles in an organization. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProfileSourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new profileSource object. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.ProfileSource body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ProfileSource body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProfileSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the profileSource objects and their properties, which represent both external data sources and out-of-the-box Microsoft data sources configured for user profiles in an organization. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a new profileSource object. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ProfileSource body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ProfileSource body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.People.ProfileSources.ProfileSourcesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.People.ProfileSources.ProfileSourcesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the profileSource objects and their properties, which represent both external data sources and out-of-the-box Microsoft data sources configured for user profiles in an organization. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourcesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourcesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourcesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/People/ProfileSourcesWithSourceId/ProfileSourcesWithSourceIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/People/ProfileSourcesWithSourceId/ProfileSourcesWithSourceIdRequestBuilder.cs new file mode 100644 index 00000000000..4d1eb685b34 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/People/ProfileSourcesWithSourceId/ProfileSourcesWithSourceIdRequestBuilder.cs @@ -0,0 +1,233 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.People.ProfileSourcesWithSourceId +{ + /// + /// Provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourcesWithSourceIdRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + /// Alternate key of profileSource + public ProfileSourcesWithSourceIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string sourceId = "") : base(requestAdapter, "{+baseurl}/admin/people/profileSources(sourceId='{sourceId}'){?%24expand,%24select}", pathParameters) + { + if (!string.IsNullOrWhiteSpace(sourceId)) PathParameters.Add("sourceId", sourceId); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ProfileSourcesWithSourceIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/people/profileSources(sourceId='{sourceId}'){?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a profileSource object. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of profile source settings configured by an administrator in an organization. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProfileSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a profileSource object. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.ProfileSource body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.ProfileSource body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProfileSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a profileSource object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// A collection of profile source settings configured by an administrator in an organization. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the properties of a profileSource object. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ProfileSource body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ProfileSource body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.People.ProfileSourcesWithSourceId.ProfileSourcesWithSourceIdRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.People.ProfileSourcesWithSourceId.ProfileSourcesWithSourceIdRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourcesWithSourceIdRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// A collection of profile source settings configured by an administrator in an organization. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourcesWithSourceIdRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourcesWithSourceIdRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfileSourcesWithSourceIdRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TeamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TeamsRequestBuilder.cs index f415876df25..9707e47d436 100644 --- a/src/Microsoft.Graph/Generated/Admin/Teams/TeamsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Teams/TeamsRequestBuilder.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Admin.Teams.Policy; +using Microsoft.Graph.Admin.Teams.TelephoneNumberManagement; using Microsoft.Graph.Admin.Teams.UserConfigurations; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models.TeamsAdministration; @@ -25,6 +26,11 @@ public partial class TeamsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Admin.Teams.Policy.PolicyRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the telephoneNumberManagement property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity. + public global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.TelephoneNumberManagementRequestBuilder TelephoneNumberManagement + { + get => new global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.TelephoneNumberManagementRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the userConfigurations property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity. public global::Microsoft.Graph.Admin.Teams.UserConfigurations.UserConfigurationsRequestBuilder UserConfigurations { @@ -69,7 +75,7 @@ public async Task DeleteAsync(Action - /// A container for Teams administration functionalities, such as user configurations and policy assignments. + /// A container for Teams administration functionalities, such as Teams telephone number management functionalities, user Teams configurations, and policy assignments. /// /// A /// Cancellation token to use when cancelling requests @@ -136,7 +142,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// A container for Teams administration functionalities, such as user configurations and policy assignments. + /// A container for Teams administration functionalities, such as Teams telephone number management functionalities, user Teams configurations, and policy assignments. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -194,7 +200,7 @@ public partial class TeamsRequestBuilderDeleteRequestConfiguration : RequestConf { } /// - /// A container for Teams administration functionalities, such as user configurations and policy assignments. + /// A container for Teams administration functionalities, such as Teams telephone number management functionalities, user Teams configurations, and policy assignments. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class TeamsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..b0c0e6c2035 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/Item/NumberAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/Item/NumberAssignmentItemRequestBuilder.cs new file mode 100644 index 00000000000..7efa274a428 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/Item/NumberAssignmentItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.TeamsAdministration; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item +{ + /// + /// Provides operations to manage the numberAssignments property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class NumberAssignmentItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public NumberAssignmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/{numberAssignment%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public NumberAssignmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/{numberAssignment%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property numberAssignments for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Represents a collection of synchronous telephone number management operations. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAdministration.NumberAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property numberAssignments in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.TeamsAdministration.NumberAssignment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.TeamsAdministration.NumberAssignment body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAdministration.NumberAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property numberAssignments for admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Represents a collection of synchronous telephone number management operations. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property numberAssignments in admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TeamsAdministration.NumberAssignment body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TeamsAdministration.NumberAssignment body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class NumberAssignmentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Represents a collection of synchronous telephone number management operations. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class NumberAssignmentItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class NumberAssignmentItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class NumberAssignmentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationAssignNumber/AssignNumberPostRequestBody.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationAssignNumber/AssignNumberPostRequestBody.cs new file mode 100644 index 00000000000..e9f5f7094b1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationAssignNumber/AssignNumberPostRequestBody.cs @@ -0,0 +1,134 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.TeamsAdministration; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AssignNumberPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The assignmentCategory property + public global::Microsoft.Graph.Models.TeamsAdministration.AssignmentCategory? AssignmentCategory + { + get { return BackingStore?.Get("assignmentCategory"); } + set { BackingStore?.Set("assignmentCategory", value); } + } + /// The assignmentTargetId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AssignmentTargetId + { + get { return BackingStore?.Get("assignmentTargetId"); } + set { BackingStore?.Set("assignmentTargetId", value); } + } +#nullable restore +#else + public string AssignmentTargetId + { + get { return BackingStore?.Get("assignmentTargetId"); } + set { BackingStore?.Set("assignmentTargetId", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The locationId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? LocationId + { + get { return BackingStore?.Get("locationId"); } + set { BackingStore?.Set("locationId", value); } + } +#nullable restore +#else + public string LocationId + { + get { return BackingStore?.Get("locationId"); } + set { BackingStore?.Set("locationId", value); } + } +#endif + /// The numberType property + public global::Microsoft.Graph.Models.TeamsAdministration.NumberType? NumberType + { + get { return BackingStore?.Get("numberType"); } + set { BackingStore?.Set("numberType", value); } + } + /// The telephoneNumber property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TelephoneNumber + { + get { return BackingStore?.Get("telephoneNumber"); } + set { BackingStore?.Set("telephoneNumber", value); } + } +#nullable restore +#else + public string TelephoneNumber + { + get { return BackingStore?.Get("telephoneNumber"); } + set { BackingStore?.Set("telephoneNumber", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AssignNumberPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.AssignNumberPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.AssignNumberPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "assignmentCategory", n => { AssignmentCategory = n.GetEnumValue(); } }, + { "assignmentTargetId", n => { AssignmentTargetId = n.GetStringValue(); } }, + { "locationId", n => { LocationId = n.GetStringValue(); } }, + { "numberType", n => { NumberType = n.GetEnumValue(); } }, + { "telephoneNumber", n => { TelephoneNumber = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("assignmentCategory", AssignmentCategory); + writer.WriteStringValue("assignmentTargetId", AssignmentTargetId); + writer.WriteStringValue("locationId", LocationId); + writer.WriteEnumValue("numberType", NumberType); + writer.WriteStringValue("telephoneNumber", TelephoneNumber); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationAssignNumber/MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationAssignNumber/MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder.cs new file mode 100644 index 00000000000..4f1fc773b60 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationAssignNumber/MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber +{ + /// + /// Provides operations to call the assignNumber method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/microsoft.graph.teamsAdministration.assignNumber", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/microsoft.graph.teamsAdministration.assignNumber", rawUrl) + { + } + /// + /// Creates an asynchronous order to assign a telephone number to a user account. + /// Find more info here + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.AssignNumberPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.AssignNumberPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Creates an asynchronous order to assign a telephone number to a user account. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.AssignNumberPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.AssignNumberPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUnassignNumber/MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUnassignNumber/MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder.cs new file mode 100644 index 00000000000..df619ae20bc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUnassignNumber/MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber +{ + /// + /// Provides operations to call the unassignNumber method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/microsoft.graph.teamsAdministration.unassignNumber", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/microsoft.graph.teamsAdministration.unassignNumber", rawUrl) + { + } + /// + /// Creates an asynchronous order to unassign a telephone number from a user account. + /// Find more info here + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.UnassignNumberPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.UnassignNumberPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Creates an asynchronous order to unassign a telephone number from a user account. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.UnassignNumberPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.UnassignNumberPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUnassignNumber/UnassignNumberPostRequestBody.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUnassignNumber/UnassignNumberPostRequestBody.cs new file mode 100644 index 00000000000..d4b37c46b1c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUnassignNumber/UnassignNumberPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.TeamsAdministration; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UnassignNumberPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The numberType property + public global::Microsoft.Graph.Models.TeamsAdministration.NumberType? NumberType + { + get { return BackingStore?.Get("numberType"); } + set { BackingStore?.Set("numberType", value); } + } + /// The telephoneNumber property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TelephoneNumber + { + get { return BackingStore?.Get("telephoneNumber"); } + set { BackingStore?.Set("telephoneNumber", value); } + } +#nullable restore +#else + public string TelephoneNumber + { + get { return BackingStore?.Get("telephoneNumber"); } + set { BackingStore?.Set("telephoneNumber", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public UnassignNumberPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.UnassignNumberPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.UnassignNumberPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "numberType", n => { NumberType = n.GetEnumValue(); } }, + { "telephoneNumber", n => { TelephoneNumber = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("numberType", NumberType); + writer.WriteStringValue("telephoneNumber", TelephoneNumber); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUpdateNumber/MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUpdateNumber/MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder.cs new file mode 100644 index 00000000000..e1843840d99 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUpdateNumber/MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber +{ + /// + /// Provides operations to call the updateNumber method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/microsoft.graph.teamsAdministration.updateNumber", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/microsoft.graph.teamsAdministration.updateNumber", rawUrl) + { + } + /// + /// This method is used to update an existing number with optional attributes. Currently supported attributes are locationId, networkSiteId, and reverseNumberLookupOptions. + /// Find more info here + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.UpdateNumberPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.UpdateNumberPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// This method is used to update an existing number with optional attributes. Currently supported attributes are locationId, networkSiteId, and reverseNumberLookupOptions. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.UpdateNumberPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.UpdateNumberPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUpdateNumber/UpdateNumberPostRequestBody.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUpdateNumber/UpdateNumberPostRequestBody.cs new file mode 100644 index 00000000000..d6c4069948f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUpdateNumber/UpdateNumberPostRequestBody.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UpdateNumberPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The locationId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? LocationId + { + get { return BackingStore?.Get("locationId"); } + set { BackingStore?.Set("locationId", value); } + } +#nullable restore +#else + public string LocationId + { + get { return BackingStore?.Get("locationId"); } + set { BackingStore?.Set("locationId", value); } + } +#endif + /// The networkSiteId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? NetworkSiteId + { + get { return BackingStore?.Get("networkSiteId"); } + set { BackingStore?.Set("networkSiteId", value); } + } +#nullable restore +#else + public string NetworkSiteId + { + get { return BackingStore?.Get("networkSiteId"); } + set { BackingStore?.Set("networkSiteId", value); } + } +#endif + /// The reverseNumberLookupOptions property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ReverseNumberLookupOptions + { + get { return BackingStore?.Get?>("reverseNumberLookupOptions"); } + set { BackingStore?.Set("reverseNumberLookupOptions", value); } + } +#nullable restore +#else + public List ReverseNumberLookupOptions + { + get { return BackingStore?.Get>("reverseNumberLookupOptions"); } + set { BackingStore?.Set("reverseNumberLookupOptions", value); } + } +#endif + /// The telephoneNumber property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TelephoneNumber + { + get { return BackingStore?.Get("telephoneNumber"); } + set { BackingStore?.Set("telephoneNumber", value); } + } +#nullable restore +#else + public string TelephoneNumber + { + get { return BackingStore?.Get("telephoneNumber"); } + set { BackingStore?.Set("telephoneNumber", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public UpdateNumberPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.UpdateNumberPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.UpdateNumberPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "locationId", n => { LocationId = n.GetStringValue(); } }, + { "networkSiteId", n => { NetworkSiteId = n.GetStringValue(); } }, + { "reverseNumberLookupOptions", n => { ReverseNumberLookupOptions = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "telephoneNumber", n => { TelephoneNumber = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("locationId", LocationId); + writer.WriteStringValue("networkSiteId", NetworkSiteId); + writer.WriteCollectionOfPrimitiveValues("reverseNumberLookupOptions", ReverseNumberLookupOptions); + writer.WriteStringValue("telephoneNumber", TelephoneNumber); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/NumberAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/NumberAssignmentsRequestBuilder.cs new file mode 100644 index 00000000000..61e401b48cb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/NumberAssignmentsRequestBuilder.cs @@ -0,0 +1,257 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Count; +using Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item; +using Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber; +using Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber; +using Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.TeamsAdministration; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments +{ + /// + /// Provides operations to manage the numberAssignments property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class NumberAssignmentsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the assignNumber method. + public global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder MicrosoftGraphTeamsAdministrationAssignNumber + { + get => new global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the unassignNumber method. + public global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder MicrosoftGraphTeamsAdministrationUnassignNumber + { + get => new global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the updateNumber method. + public global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder MicrosoftGraphTeamsAdministrationUpdateNumber + { + get => new global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the numberAssignments property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. + /// The unique identifier of numberAssignment + /// A + public global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("numberAssignment%2Did", position); + return new global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public NumberAssignmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public NumberAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read the properties and relationships of microsoft.graph.teamsAdministration.numberAssignment object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAdministration.NumberAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to numberAssignments for admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.TeamsAdministration.NumberAssignment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.TeamsAdministration.NumberAssignment body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAdministration.NumberAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of microsoft.graph.teamsAdministration.numberAssignment object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to numberAssignments for admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TeamsAdministration.NumberAssignment body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TeamsAdministration.NumberAssignment body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.NumberAssignmentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.NumberAssignmentsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read the properties and relationships of microsoft.graph.teamsAdministration.numberAssignment object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class NumberAssignmentsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class NumberAssignmentsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class NumberAssignmentsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/Operations/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..b6c7c99266f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/Operations/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/operations/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/operations/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/Operations/Item/TelephoneNumberLongRunningOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/Operations/Item/TelephoneNumberLongRunningOperationItemRequestBuilder.cs new file mode 100644 index 00000000000..be87402aee1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/Operations/Item/TelephoneNumberLongRunningOperationItemRequestBuilder.cs @@ -0,0 +1,230 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.TeamsAdministration; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Item +{ + /// + /// Provides operations to manage the operations property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TelephoneNumberLongRunningOperationItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TelephoneNumberLongRunningOperationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/operations/{telephoneNumberLongRunningOperation%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TelephoneNumberLongRunningOperationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/operations/{telephoneNumberLongRunningOperation%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property operations for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property operations in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property operations for admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property operations in admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TelephoneNumberLongRunningOperationItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TelephoneNumberLongRunningOperationItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TelephoneNumberLongRunningOperationItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TelephoneNumberLongRunningOperationItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/Operations/OperationsRequestBuilder.cs new file mode 100644 index 00000000000..ed57209f92e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/Operations/OperationsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Count; +using Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.TeamsAdministration; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations +{ + /// + /// Provides operations to manage the operations property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OperationsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the operations property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. + /// The unique identifier of telephoneNumberLongRunningOperation + /// A + public global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("telephoneNumberLongRunningOperation%2Did", position); + return new global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public OperationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public OperationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to operations for admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to operations for admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.OperationsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.OperationsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OperationsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OperationsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OperationsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/TelephoneNumberManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/TelephoneNumberManagementRequestBuilder.cs new file mode 100644 index 00000000000..41e97457432 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/TelephoneNumberManagementRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments; +using Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.TeamsAdministration; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Admin.Teams.TelephoneNumberManagement +{ + /// + /// Provides operations to manage the telephoneNumberManagement property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TelephoneNumberManagementRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the numberAssignments property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. + public global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.NumberAssignmentsRequestBuilder NumberAssignments + { + get => new global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.NumberAssignmentsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the operations property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. + public global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.OperationsRequestBuilder Operations + { + get => new global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.OperationsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TelephoneNumberManagementRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TelephoneNumberManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property telephoneNumberManagement for admin + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Represents a collection of available telephone number management operations. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberManagementRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property telephoneNumberManagement in admin + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberManagementRoot body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberManagementRoot body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberManagementRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property telephoneNumberManagement for admin + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Represents a collection of available telephone number management operations. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property telephoneNumberManagement in admin + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberManagementRoot body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberManagementRoot body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.TelephoneNumberManagementRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.TelephoneNumberManagementRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TelephoneNumberManagementRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Represents a collection of available telephone number management operations. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TelephoneNumberManagementRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TelephoneNumberManagementRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TelephoneNumberManagementRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Applications/ApplicationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/ApplicationsRequestBuilder.cs index f536aed98ba..30df84dd50c 100644 --- a/src/Microsoft.Graph/Generated/Applications/ApplicationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/ApplicationsRequestBuilder.cs @@ -78,7 +78,7 @@ public ApplicationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get the list of applications in this organization. + /// Get the list of applications in this organization. This API also returns agentIdentityBlueprint objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprint. /// Find more info here /// /// A @@ -102,7 +102,7 @@ public ApplicationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new application object. + /// Create a new application object. This API can also create an agentIdentityBlueprint object when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. /// Find more info here /// /// A @@ -128,7 +128,7 @@ public ApplicationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get the list of applications in this organization. + /// Get the list of applications in this organization. This API also returns agentIdentityBlueprint objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprint. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -147,7 +147,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new application object. + /// Create a new application object. This API can also create an agentIdentityBlueprint object when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. /// /// A /// The request body @@ -178,7 +178,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Applications.ApplicationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get the list of applications in this organization. + /// Get the list of applications in this organization. This API also returns agentIdentityBlueprint objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprint. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ApplicationsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Applications/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/Applications/Delta/DeltaGetResponse.cs index ceabc699104..71a5be77929 100644 --- a/src/Microsoft.Graph/Generated/Applications/Delta/DeltaGetResponse.cs +++ b/src/Microsoft.Graph/Generated/Applications/Delta/DeltaGetResponse.cs @@ -16,16 +16,16 @@ public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDelta /// The value property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Value + public List? Value { - get { return BackingStore?.Get?>("value"); } + get { return BackingStore?.Get?>("value"); } set { BackingStore?.Set("value", value); } } #nullable restore #else - public List Value + public List Value { - get { return BackingStore?.Get>("value"); } + get { return BackingStore?.Get>("value"); } set { BackingStore?.Set("value", value); } } #endif @@ -47,7 +47,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue)?.AsList(); } }, + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -58,7 +58,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); + writer.WriteCollectionOfObjectValues("value", Value); } } } diff --git a/src/Microsoft.Graph/Generated/Applications/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Delta/DeltaRequestBuilder.cs index 2817926172f..60d473fccaf 100644 --- a/src/Microsoft.Graph/Generated/Applications/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Delta/DeltaRequestBuilder.cs @@ -34,8 +34,8 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. - /// Find more info here + /// 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. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -58,8 +58,8 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Applications.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. - /// Find more info here + /// 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. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -83,7 +83,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Applications.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeltaRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Applications/Item/ApplicationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/ApplicationItemRequestBuilder.cs index 4af99f74515..8fb2ebb067c 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/ApplicationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/ApplicationItemRequestBuilder.cs @@ -162,7 +162,7 @@ public ApplicationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. + /// Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -195,7 +195,7 @@ public async Task DeleteAsync(Action - /// Get the properties and relationships of an application object. + /// Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. /// Find more info here /// /// A @@ -219,7 +219,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new application object if it doesn't exist, or update the properties of an existing application object. + /// Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. /// Find more info here /// /// A @@ -245,7 +245,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. + /// Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -264,7 +264,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the properties and relationships of an application object. + /// Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -283,7 +283,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new application object if it doesn't exist, or update the properties of an existing application object. + /// Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. /// /// A /// The request body @@ -322,7 +322,7 @@ public partial class ApplicationItemRequestBuilderDeleteRequestConfiguration : R { } /// - /// Get the properties and relationships of an application object. + /// Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ApplicationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Applications/Item/RemoveKey/RemoveKeyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/RemoveKey/RemoveKeyRequestBuilder.cs index 3a5d2c5bd60..b1f340357c3 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/RemoveKey/RemoveKeyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/RemoveKey/RemoveKeyRequestBuilder.cs @@ -34,8 +34,8 @@ public RemoveKeyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. - /// Find more info here + /// Remove a key credential from an agentIdentityBlueprint. This method along with addKey can be used to automate rolling its expiring keys. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Applications.Item.RemoveKey. await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. + /// Remove a key credential from an agentIdentityBlueprint. This method along with addKey can be used to automate rolling its expiring keys. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Restore/RestoreRequestBuilder.cs index b0837e141c3..a4397f7f24e 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/SetVerifiedPublisher/SetVerifiedPublisherRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/SetVerifiedPublisher/SetVerifiedPublisherRequestBuilder.cs index 4284d8701f0..b9dbde300a4 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/SetVerifiedPublisher/SetVerifiedPublisherRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/SetVerifiedPublisher/SetVerifiedPublisherRequestBuilder.cs @@ -34,8 +34,8 @@ public SetVerifiedPublisherRequestBuilder(string rawUrl, IRequestAdapter request { } /// - /// Set the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification. - /// Find more info here + /// Set the the verifiedPublisher on an agentIdentityBlueprint. For more information, including prerequisites to setting a verified publisher, see Publisher verification. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Applications.Item.SetVerifie await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Set the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification. + /// Set the the verifiedPublisher on an agentIdentityBlueprint. For more information, including prerequisites to setting a verified publisher, see Publisher verification. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Applications/Item/UnsetVerifiedPublisher/UnsetVerifiedPublisherRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/UnsetVerifiedPublisher/UnsetVerifiedPublisherRequestBuilder.cs index 452695c218a..72ba95a07af 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/UnsetVerifiedPublisher/UnsetVerifiedPublisherRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/UnsetVerifiedPublisher/UnsetVerifiedPublisherRequestBuilder.cs @@ -34,8 +34,8 @@ public UnsetVerifiedPublisherRequestBuilder(string rawUrl, IRequestAdapter reque { } /// - /// Unset the verifiedPublisher previously set on an application, removing all verified publisher properties. For more information, see Publisher verification. - /// Find more info here + /// Unset the verifiedPublisher previously set on an agentIdentityBlueprint, removing all verified publisher properties. For more information, see Publisher verification. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Unset the verifiedPublisher previously set on an application, removing all verified publisher properties. For more information, see Publisher verification. + /// Unset the verifiedPublisher previously set on an agentIdentityBlueprint, removing all verified publisher properties. For more information, see Publisher verification. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/ApplicationsWithAppId/ApplicationsWithAppIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/ApplicationsWithAppId/ApplicationsWithAppIdRequestBuilder.cs index 57fdfb99ec5..ab9ed9d66f9 100644 --- a/src/Microsoft.Graph/Generated/ApplicationsWithAppId/ApplicationsWithAppIdRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ApplicationsWithAppId/ApplicationsWithAppIdRequestBuilder.cs @@ -37,7 +37,7 @@ public ApplicationsWithAppIdRequestBuilder(string rawUrl, IRequestAdapter reques { } /// - /// Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. + /// Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action - /// Get the properties and relationships of an application object. + /// Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. /// Find more info here /// /// A @@ -84,7 +84,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new application object if it doesn't exist, or update the properties of an existing application object. + /// Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. /// Find more info here /// /// A @@ -110,7 +110,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. + /// Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -129,7 +129,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the properties and relationships of an application object. + /// Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -148,7 +148,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new application object if it doesn't exist, or update the properties of an existing application object. + /// Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. /// /// A /// The request body @@ -187,7 +187,7 @@ public partial class ApplicationsWithAppIdRequestBuilderDeleteRequestConfigurati { } /// - /// Get the properties and relationships of an application object. + /// Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ApplicationsWithAppIdRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/ApplicationsWithUniqueName/ApplicationsWithUniqueNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/ApplicationsWithUniqueName/ApplicationsWithUniqueNameRequestBuilder.cs index 363e4099394..6e5517bec98 100644 --- a/src/Microsoft.Graph/Generated/ApplicationsWithUniqueName/ApplicationsWithUniqueNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ApplicationsWithUniqueName/ApplicationsWithUniqueNameRequestBuilder.cs @@ -37,7 +37,7 @@ public ApplicationsWithUniqueNameRequestBuilder(string rawUrl, IRequestAdapter r { } /// - /// Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. + /// Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action - /// Get the properties and relationships of an application object. + /// Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. /// Find more info here /// /// A @@ -84,7 +84,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new application object if it doesn't exist, or update the properties of an existing application object. + /// Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. /// Find more info here /// /// A @@ -110,7 +110,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. + /// Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -129,7 +129,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the properties and relationships of an application object. + /// Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -148,7 +148,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new application object if it doesn't exist, or update the properties of an existing application object. + /// Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. /// /// A /// The request body @@ -187,7 +187,7 @@ public partial class ApplicationsWithUniqueNameRequestBuilderDeleteRequestConfig { } /// - /// Get the properties and relationships of an application object. + /// Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ApplicationsWithUniqueNameRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 6a1cafa6731..bedc0aafdc8 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Chats.Item.Messages.Item.Replies.Count; using Microsoft.Graph.Chats.Item.Messages.Item.Replies.Delta; using Microsoft.Graph.Chats.Item.Messages.Item.Replies.Item; +using Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -31,6 +32,11 @@ public partial class RepliesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Chats.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..c4e74fcdd93 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..d313d608b85 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs index 9dfe7b3706d..ac90095d7fb 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Chats.Item.Messages.Count; using Microsoft.Graph.Chats.Item.Messages.Delta; using Microsoft.Graph.Chats.Item.Messages.Item; +using Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -31,6 +32,11 @@ public partial class MessagesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Chats.Item.Messages.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the messages property of the microsoft.graph.chat entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..45a0ea67c0e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..b3faf9b2e3c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestoreRequestBuilder.cs index 3a472a33c2b..522cccc98a2 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs index 0dc8672037b..27333e92580 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs @@ -34,7 +34,8 @@ public RetryServiceProvisioningRequestBuilder(string rawUrl, IRequestAdapter req { } /// - /// Invoke action retryServiceProvisioning + /// Retry the orgContact service provisioning. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -56,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke action retryServiceProvisioning + /// Retry the orgContact service provisioning. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestoreRequestBuilder.cs index 97ad7b2ca5e..d8e8c76c847 100644 --- a/src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Devices/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/Restore/RestoreRequestBuilder.cs index edbf073595c..c0204d93fee 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs index e2124a43281..dd9c28c2f0e 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs @@ -108,7 +108,7 @@ public DeletedItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// /// A /// Cancellation token to use when cancelling requests @@ -131,7 +131,7 @@ public DeletedItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +159,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeletedItemsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs index 029bd849052..0fc7b006aa2 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs @@ -41,7 +41,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// Find more info here /// /// A @@ -65,7 +65,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -93,7 +93,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GraphGroupRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/DirectoryObjectItemRequestBuilder.cs index af657ef2f8f..197ba909418 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/DirectoryObjectItemRequestBuilder.cs @@ -124,7 +124,7 @@ public async Task DeleteAsync(Action - /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// Find more info here /// /// A @@ -167,7 +167,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -203,7 +203,7 @@ public partial class DirectoryObjectItemRequestBuilderDeleteRequestConfiguration { } /// - /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DirectoryObjectItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs index 90fa47d0a1d..a5c5ec26b25 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -35,7 +35,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// Find more info here /// /// A @@ -59,7 +59,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -87,7 +87,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GraphGroupRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs index 2d27d4543bd..9c47ce1a124 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs index 0f77590eb94..0f2daa5df85 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs index 060331bc2e1..f84a4df45c5 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs index 06d5d8891be..057ec53f6d9 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs index a3f43b67f81..adcd15f1f81 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Restore/RestoreRequestBuilder.cs index 138c290c1b8..11426711d2d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs index 6cacb11d5a7..f6d2c7b7080 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Groups.Item.Team.Channels.Item.Archive; using Microsoft.Graph.Groups.Item.Team.Channels.Item.CompleteMigration; using Microsoft.Graph.Groups.Item.Team.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; +using Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps; using Microsoft.Graph.Groups.Item.Team.Channels.Item.FilesFolder; using Microsoft.Graph.Groups.Item.Team.Channels.Item.Members; using Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages; @@ -50,6 +51,11 @@ public partial class ChannelItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.EnabledAppsRequestBuilder EnabledApps + { + get => new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.EnabledAppsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the filesFolder property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Groups.Item.Team.Channels.Item.FilesFolder.FilesFolderRequestBuilder FilesFolder { diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..2e2faaeeecc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/enabledApps/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/enabledApps/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/EnabledApps/EnabledAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/EnabledApps/EnabledAppsRequestBuilder.cs new file mode 100644 index 00000000000..4734c7a2572 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/EnabledApps/EnabledAppsRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Count; +using Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps +{ + /// + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// The unique identifier of teamsApp + /// A + public global::Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("teamsApp%2Did", position); + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EnabledAppsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/enabledApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EnabledAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/enabledApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get enabledApps from groups + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get enabledApps from groups + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.EnabledAppsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.EnabledAppsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get enabledApps from groups + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/EnabledApps/Item/TeamsAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/EnabledApps/Item/TeamsAppItemRequestBuilder.cs new file mode 100644 index 00000000000..f4d9b8d1de7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/EnabledApps/Item/TeamsAppItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Item +{ + /// + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TeamsAppItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/enabledApps/{teamsApp%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TeamsAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/enabledApps/{teamsApp%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get enabledApps from groups + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get enabledApps from groups + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get enabledApps from groups + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index a4a3ec8dfff..ea910b5f102 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Count; using Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Delta; using Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item; +using Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -31,6 +32,11 @@ public partial class RepliesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..0c5e633cf13 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..cb1e32b7995 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.cs index 482a0449cd6..57190e9fb55 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Count; using Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Delta; using Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item; +using Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -31,6 +32,11 @@ public partial class MessagesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the messages property of the microsoft.graph.channel entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..83e34e50409 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..bed3ce5ef1d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/EnabledApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/EnabledApps/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..270a26ef9e0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/EnabledApps/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/enabledApps/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/enabledApps/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/EnabledApps/EnabledAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/EnabledApps/EnabledAppsRequestBuilder.cs new file mode 100644 index 00000000000..1894d43b2b3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/EnabledApps/EnabledAppsRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Count; +using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps +{ + /// + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// The unique identifier of teamsApp + /// A + public global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("teamsApp%2Did", position); + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EnabledAppsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/enabledApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EnabledAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/enabledApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get enabledApps from groups + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get enabledApps from groups + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get enabledApps from groups + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/EnabledApps/Item/TeamsAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/EnabledApps/Item/TeamsAppItemRequestBuilder.cs new file mode 100644 index 00000000000..f6cad9d3d06 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/EnabledApps/Item/TeamsAppItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Item +{ + /// + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TeamsAppItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/enabledApps/{teamsApp%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TeamsAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/enabledApps/{teamsApp%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get enabledApps from groups + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get enabledApps from groups + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get enabledApps from groups + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs index 80a75d40ecc..6eb1b23ed1c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Count; using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Delta; using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item; +using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -31,6 +32,11 @@ public partial class RepliesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..b8dc7b31ebf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..2570c71ff75 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.cs index 9c6663876bf..4e4dcd3f893 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Count; using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Delta; using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item; +using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -31,6 +32,11 @@ public partial class MessagesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the messages property of the microsoft.graph.channel entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..5062963f01b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..f2d9caebc51 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs index 9092e0c1251..4fcde7ec3a0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Archive; using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.CompleteMigration; using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; +using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps; using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.FilesFolder; using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members; using Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages; @@ -50,6 +51,11 @@ public partial class PrimaryChannelRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder EnabledApps + { + get => new global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the filesFolder property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Groups.Item.Team.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder FilesFolder { diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs index 867a0e70134..72388eebf6b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs @@ -35,7 +35,7 @@ public AccessPackageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// Access package containing this policy. Read-only. Supports $expand. + /// Access package containing this policy. Read-only. Supports $expand. /// /// A /// Cancellation token to use when cancelling requests @@ -58,7 +58,7 @@ public AccessPackageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Access package containing this policy. Read-only. Supports $expand. + /// Access package containing this policy. Read-only. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -86,7 +86,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Access package containing this policy. Read-only. Supports $expand. + /// Access package containing this policy. Read-only. Supports $expand. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AccessPackageRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs index 049cb6c2a2a..72169ae6009 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs @@ -35,7 +35,7 @@ public AccessPackageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// Access package containing this policy. Read-only. Supports $expand. + /// Access package containing this policy. Read-only. Supports $expand. /// /// A /// Cancellation token to use when cancelling requests @@ -58,7 +58,7 @@ public AccessPackageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Access package containing this policy. Read-only. Supports $expand. + /// Access package containing this policy. Read-only. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -86,7 +86,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Access package containing this policy. Read-only. Supports $expand. + /// Access package containing this policy. Read-only. Supports $expand. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AccessPackageRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/AdministrationScopeTargets/AdministrationScopeTargetsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/AdministrationScopeTargets/AdministrationScopeTargetsRequestBuilder.cs index ae1f31d0347..5321dc01673 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/AdministrationScopeTargets/AdministrationScopeTargetsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/AdministrationScopeTargets/AdministrationScopeTargetsRequestBuilder.cs @@ -54,7 +54,7 @@ public AdministrationScopeTargetsRequestBuilder(string rawUrl, IRequestAdapter r { } /// - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// /// A /// Cancellation token to use when cancelling requests @@ -77,7 +77,7 @@ public AdministrationScopeTargetsRequestBuilder(string rawUrl, IRequestAdapter r return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -105,7 +105,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AdministrationScopeTargetsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/AdministrationScopeTargets/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/AdministrationScopeTargets/Item/DirectoryObjectItemRequestBuilder.cs index bbca351373d..26b45c0f616 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/AdministrationScopeTargets/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/AdministrationScopeTargets/Item/DirectoryObjectItemRequestBuilder.cs @@ -35,7 +35,7 @@ public DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestA { } /// - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// /// A /// Cancellation token to use when cancelling requests @@ -58,7 +58,7 @@ public DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestA return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -86,7 +86,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DirectoryObjectItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/AdministrationScopeTargets/AdministrationScopeTargetsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/AdministrationScopeTargets/AdministrationScopeTargetsRequestBuilder.cs index cfea71f4c8a..788b098f66d 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/AdministrationScopeTargets/AdministrationScopeTargetsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/AdministrationScopeTargets/AdministrationScopeTargetsRequestBuilder.cs @@ -54,7 +54,7 @@ public AdministrationScopeTargetsRequestBuilder(string rawUrl, IRequestAdapter r { } /// - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// /// A /// Cancellation token to use when cancelling requests @@ -77,7 +77,7 @@ public AdministrationScopeTargetsRequestBuilder(string rawUrl, IRequestAdapter r return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -105,7 +105,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AdministrationScopeTargetsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/AdministrationScopeTargets/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/AdministrationScopeTargets/Item/DirectoryObjectItemRequestBuilder.cs index 3644846fc34..ff3d3e86909 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/AdministrationScopeTargets/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/AdministrationScopeTargets/Item/DirectoryObjectItemRequestBuilder.cs @@ -35,7 +35,7 @@ public DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestA { } /// - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// /// A /// Cancellation token to use when cancelling requests @@ -58,7 +58,7 @@ public DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestA return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -86,7 +86,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DirectoryObjectItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/AdministrationScopeTargets/AdministrationScopeTargetsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/AdministrationScopeTargets/AdministrationScopeTargetsRequestBuilder.cs index 384775e7cea..6f31e689323 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/AdministrationScopeTargets/AdministrationScopeTargetsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/AdministrationScopeTargets/AdministrationScopeTargetsRequestBuilder.cs @@ -54,7 +54,7 @@ public AdministrationScopeTargetsRequestBuilder(string rawUrl, IRequestAdapter r { } /// - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// /// A /// Cancellation token to use when cancelling requests @@ -77,7 +77,7 @@ public AdministrationScopeTargetsRequestBuilder(string rawUrl, IRequestAdapter r return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -105,7 +105,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AdministrationScopeTargetsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/AdministrationScopeTargets/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/AdministrationScopeTargets/Item/DirectoryObjectItemRequestBuilder.cs index a5f6ee00307..f8129f32702 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/AdministrationScopeTargets/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/AdministrationScopeTargets/Item/DirectoryObjectItemRequestBuilder.cs @@ -35,7 +35,7 @@ public DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestA { } /// - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// /// A /// Cancellation token to use when cancelling requests @@ -58,7 +58,7 @@ public DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestA return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -86,7 +86,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DirectoryObjectItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/AdministrationScopeTargets/AdministrationScopeTargetsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/AdministrationScopeTargets/AdministrationScopeTargetsRequestBuilder.cs index 166ea86cb41..99e81de67f0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/AdministrationScopeTargets/AdministrationScopeTargetsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/AdministrationScopeTargets/AdministrationScopeTargetsRequestBuilder.cs @@ -54,7 +54,7 @@ public AdministrationScopeTargetsRequestBuilder(string rawUrl, IRequestAdapter r { } /// - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// /// A /// Cancellation token to use when cancelling requests @@ -77,7 +77,7 @@ public AdministrationScopeTargetsRequestBuilder(string rawUrl, IRequestAdapter r return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -105,7 +105,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AdministrationScopeTargetsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/AdministrationScopeTargets/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/AdministrationScopeTargets/Item/DirectoryObjectItemRequestBuilder.cs index 30bb1bc6c84..3ef759940bb 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/AdministrationScopeTargets/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/AdministrationScopeTargets/Item/DirectoryObjectItemRequestBuilder.cs @@ -35,7 +35,7 @@ public DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestA { } /// - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// /// A /// Cancellation token to use when cancelling requests @@ -58,7 +58,7 @@ public DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestA return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -86,7 +86,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get administrationScopeTargets from identityGovernance + /// The administrative units in the scope of the workflow. Optional. Supports $expand. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DirectoryObjectItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs index 6bb015385df..e157fa9a5b1 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs @@ -54,7 +54,7 @@ public Fido2MethodsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Retrieve a list of a user's FIDO2 security key authentication method objects and their properties. + /// Retrieve a list of a user's passkey (FIDO2) authentication method objects and their properties. /// Find more info here /// /// A @@ -78,7 +78,7 @@ public Fido2MethodsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Fido2AuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of a user's FIDO2 security key authentication method objects and their properties. + /// Retrieve a list of a user's passkey (FIDO2) authentication method objects and their properties. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -106,7 +106,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve a list of a user's FIDO2 security key authentication method objects and their properties. + /// Retrieve a list of a user's passkey (FIDO2) authentication method objects and their properties. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class Fido2MethodsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilder.cs index a71a8302bf6..f4b611615fc 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Retrieve a user's single FIDO2 security key authentication method object. + /// Retrieve a user's single passkey (FIDO2) authentication method object. /// Find more info here /// /// A @@ -100,7 +100,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve a user's single FIDO2 security key authentication method object. + /// Retrieve a user's single passkey (FIDO2) authentication method object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -136,7 +136,7 @@ public partial class Fido2AuthenticationMethodItemRequestBuilderDeleteRequestCon { } /// - /// Retrieve a user's single FIDO2 security key authentication method object. + /// Retrieve a user's single passkey (FIDO2) authentication method object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class Fido2AuthenticationMethodItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 30a089af708..88447e571cb 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Count; using Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta; using Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Item; +using Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -31,6 +32,11 @@ public partial class RepliesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..0f1c98f29b6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..36c88e6d1df --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/MessagesRequestBuilder.cs index 5544d179a08..ddd95f085e6 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/MessagesRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Me.Chats.Item.Messages.Count; using Microsoft.Graph.Me.Chats.Item.Messages.Delta; using Microsoft.Graph.Me.Chats.Item.Messages.Item; +using Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -31,6 +32,11 @@ public partial class MessagesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.Chats.Item.Messages.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the messages property of the microsoft.graph.chat entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..5b309b20c45 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..f8b46b891fe --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/chats/{chat%2Did}/messages/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Count/CountRequestBuilder.cs index 926ea41cc9b..8b418b4fb76 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Count/CountRequestBuilder.cs @@ -40,6 +40,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -61,6 +62,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -80,6 +82,7 @@ public RequestInformation ToGetRequestInformation(Action /// A /// The raw URL to use for the request builder. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Me.Insights.Shared.Count.CountRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Me.Insights.Shared.Count.CountRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs index eb5b3e784bf..5474bde204d 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs @@ -41,6 +41,7 @@ public LastSharedMethodRequestBuilder(string rawUrl, IRequestAdapter requestAdap /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -62,6 +63,7 @@ public LastSharedMethodRequestBuilder(string rawUrl, IRequestAdapter requestAdap /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -81,6 +83,7 @@ public RequestInformation ToGetRequestInformation(Action /// A /// The raw URL to use for the request builder. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Me.Insights.Shared.Item.LastSharedMethod.LastSharedMethodRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Me.Insights.Shared.Item.LastSharedMethod.LastSharedMethodRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs index 0edde5a033e..e21d36c88f3 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs @@ -41,6 +41,7 @@ public ResourceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -62,6 +63,7 @@ public ResourceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -81,6 +83,7 @@ public RequestInformation ToGetRequestInformation(Action /// A /// The raw URL to use for the request builder. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Me.Insights.Shared.Item.Resource.ResourceRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Me.Insights.Shared.Item.Resource.ResourceRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs index 597fdf041d1..b83e27fb7ee 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs @@ -21,11 +21,13 @@ namespace Microsoft.Graph.Me.Insights.Shared.Item public partial class SharedInsightItemRequestBuilder : BaseRequestBuilder { /// Provides operations to manage the lastSharedMethod property of the microsoft.graph.sharedInsight entity. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Me.Insights.Shared.Item.LastSharedMethod.LastSharedMethodRequestBuilder LastSharedMethod { get => new global::Microsoft.Graph.Me.Insights.Shared.Item.LastSharedMethod.LastSharedMethodRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the resource property of the microsoft.graph.sharedInsight entity. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Me.Insights.Shared.Item.Resource.ResourceRequestBuilder Resource { get => new global::Microsoft.Graph.Me.Insights.Shared.Item.Resource.ResourceRequestBuilder(PathParameters, RequestAdapter); @@ -52,6 +54,7 @@ public SharedInsightItemRequestBuilder(string rawUrl, IRequestAdapter requestAda /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -75,6 +78,7 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -99,6 +103,7 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PatchAsync(global::Microsoft.Graph.Models.SharedInsight body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -121,6 +126,7 @@ public async Task DeleteAsync(Action /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) @@ -140,6 +146,7 @@ public RequestInformation ToDeleteRequestInformation(Action /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -160,6 +167,7 @@ public RequestInformation ToGetRequestInformation(ActionA /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharedInsight body, Action>? requestConfiguration = default) @@ -181,6 +189,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Mode /// /// A /// The raw URL to use for the request builder. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Shared/SharedRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Shared/SharedRequestBuilder.cs index 77103f8d90a..4aa01e51d3c 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Shared/SharedRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Shared/SharedRequestBuilder.cs @@ -21,6 +21,7 @@ namespace Microsoft.Graph.Me.Insights.Shared public partial class SharedRequestBuilder : BaseRequestBuilder { /// Provides operations to count the resources in the collection. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Me.Insights.Shared.Count.CountRequestBuilder Count { get => new global::Microsoft.Graph.Me.Insights.Shared.Count.CountRequestBuilder(PathParameters, RequestAdapter); @@ -28,6 +29,7 @@ public partial class SharedRequestBuilder : BaseRequestBuilder /// Provides operations to manage the shared property of the microsoft.graph.officeGraphInsights entity. /// The unique identifier of sharedInsight /// A + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Me.Insights.Shared.Item.SharedInsightItemRequestBuilder this[string position] { get @@ -61,6 +63,7 @@ public SharedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -85,6 +88,7 @@ public SharedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PostAsync(global::Microsoft.Graph.Models.SharedInsight body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -107,6 +111,7 @@ public SharedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -127,6 +132,7 @@ public RequestInformation ToGetRequestInformation(ActionA /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharedInsight body, Action>? requestConfiguration = default) @@ -148,6 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model /// /// A /// The raw URL to use for the request builder. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Me.Insights.Shared.SharedRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Me.Insights.Shared.SharedRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Used/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Used/Count/CountRequestBuilder.cs index 859a0694273..cb9aa5fca50 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Used/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Used/Count/CountRequestBuilder.cs @@ -40,6 +40,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -61,6 +62,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -80,6 +82,7 @@ public RequestInformation ToGetRequestInformation(Action /// A /// The raw URL to use for the request builder. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Me.Insights.Used.Count.CountRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Me.Insights.Used.Count.CountRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/Resource/ResourceRequestBuilder.cs index e7401849cb2..be12969a990 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/Resource/ResourceRequestBuilder.cs @@ -41,6 +41,7 @@ public ResourceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -62,6 +63,7 @@ public ResourceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -81,6 +83,7 @@ public RequestInformation ToGetRequestInformation(Action /// A /// The raw URL to use for the request builder. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Me.Insights.Used.Item.Resource.ResourceRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Me.Insights.Used.Item.Resource.ResourceRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/UsedInsightItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/UsedInsightItemRequestBuilder.cs index 8b8ab6c29d5..9e2c8e5bb96 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/UsedInsightItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/UsedInsightItemRequestBuilder.cs @@ -20,6 +20,7 @@ namespace Microsoft.Graph.Me.Insights.Used.Item public partial class UsedInsightItemRequestBuilder : BaseRequestBuilder { /// Provides operations to manage the resource property of the microsoft.graph.usedInsight entity. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Me.Insights.Used.Item.Resource.ResourceRequestBuilder Resource { get => new global::Microsoft.Graph.Me.Insights.Used.Item.Resource.ResourceRequestBuilder(PathParameters, RequestAdapter); @@ -46,6 +47,7 @@ public UsedInsightItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapt /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -69,6 +71,7 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -93,6 +96,7 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PatchAsync(global::Microsoft.Graph.Models.UsedInsight body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -115,6 +119,7 @@ public async Task DeleteAsync(Action /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) @@ -134,6 +139,7 @@ public RequestInformation ToDeleteRequestInformation(Action /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -154,6 +160,7 @@ public RequestInformation ToGetRequestInformation(ActionA /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UsedInsight body, Action>? requestConfiguration = default) @@ -175,6 +182,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Mode /// /// A /// The raw URL to use for the request builder. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Used/UsedRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Used/UsedRequestBuilder.cs index 4d61581a9b6..f796b81b8af 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Used/UsedRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Used/UsedRequestBuilder.cs @@ -21,6 +21,7 @@ namespace Microsoft.Graph.Me.Insights.Used public partial class UsedRequestBuilder : BaseRequestBuilder { /// Provides operations to count the resources in the collection. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Me.Insights.Used.Count.CountRequestBuilder Count { get => new global::Microsoft.Graph.Me.Insights.Used.Count.CountRequestBuilder(PathParameters, RequestAdapter); @@ -28,6 +29,7 @@ public partial class UsedRequestBuilder : BaseRequestBuilder /// Provides operations to manage the used property of the microsoft.graph.officeGraphInsights entity. /// The unique identifier of usedInsight /// A + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Me.Insights.Used.Item.UsedInsightItemRequestBuilder this[string position] { get @@ -61,6 +63,7 @@ public UsedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -85,6 +88,7 @@ public UsedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PostAsync(global::Microsoft.Graph.Models.UsedInsight body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -107,6 +111,7 @@ public UsedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -127,6 +132,7 @@ public RequestInformation ToGetRequestInformation(ActionA /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.UsedInsight body, Action>? requestConfiguration = default) @@ -148,6 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model /// /// A /// The raw URL to use for the request builder. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Me.Insights.Used.UsedRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Me.Insights.Used.UsedRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs index 6e39ea83812..635985020e6 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Archive; using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.CompleteMigration; using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; +using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps; using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder; using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members; using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages; @@ -50,6 +51,11 @@ public partial class ChannelItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder EnabledApps + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the filesFolder property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.FilesFolderRequestBuilder FilesFolder { diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..bd80998db9c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/enabledApps/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/enabledApps/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/EnabledApps/EnabledAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/EnabledApps/EnabledAppsRequestBuilder.cs new file mode 100644 index 00000000000..caae1525c9c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/EnabledApps/EnabledAppsRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count; +using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps +{ + /// + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// The unique identifier of teamsApp + /// A + public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("teamsApp%2Did", position); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EnabledAppsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/enabledApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EnabledAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/enabledApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get enabledApps from me + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get enabledApps from me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get enabledApps from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/EnabledApps/Item/TeamsAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/EnabledApps/Item/TeamsAppItemRequestBuilder.cs new file mode 100644 index 00000000000..4551e26d6e6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/EnabledApps/Item/TeamsAppItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item +{ + /// + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TeamsAppItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/enabledApps/{teamsApp%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TeamsAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/enabledApps/{teamsApp%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get enabledApps from me + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get enabledApps from me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get enabledApps from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index b569fd03923..dbd994f08a7 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Count; using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta; using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item; +using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -31,6 +32,11 @@ public partial class RepliesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..3ac30c4fa95 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..dce23c8e3d0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index 3e0c8d1ebc4..4295db8a4db 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Count; using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta; using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item; +using Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -31,6 +32,11 @@ public partial class MessagesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the messages property of the microsoft.graph.channel entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..cadbc53c009 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..99035991227 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/EnabledApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/EnabledApps/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..d83bf16dd7c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/EnabledApps/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/enabledApps/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/enabledApps/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/EnabledApps/EnabledAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/EnabledApps/EnabledAppsRequestBuilder.cs new file mode 100644 index 00000000000..f9c2d62d451 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/EnabledApps/EnabledAppsRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count; +using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps +{ + /// + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// The unique identifier of teamsApp + /// A + public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("teamsApp%2Did", position); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EnabledAppsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/enabledApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EnabledAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/enabledApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get enabledApps from me + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get enabledApps from me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get enabledApps from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/EnabledApps/Item/TeamsAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/EnabledApps/Item/TeamsAppItemRequestBuilder.cs new file mode 100644 index 00000000000..5061c6b6547 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/EnabledApps/Item/TeamsAppItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item +{ + /// + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TeamsAppItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/enabledApps/{teamsApp%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TeamsAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/enabledApps/{teamsApp%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get enabledApps from me + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get enabledApps from me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get enabledApps from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs index 5ce325cb84c..fcaf45cbfd5 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Count; using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta; using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item; +using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -31,6 +32,11 @@ public partial class RepliesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..049933301ec --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..383675de459 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs index ef1183b5ad3..ccd98fe86e7 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Count; using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta; using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item; +using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -31,6 +32,11 @@ public partial class MessagesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the messages property of the microsoft.graph.channel entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..e73da0c5ea9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..c6f9fe84edf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs index 989194280f0..60b49d9283a 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Archive; using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.CompleteMigration; using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; +using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps; using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder; using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members; using Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages; @@ -50,6 +51,11 @@ public partial class PrimaryChannelRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder EnabledApps + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the filesFolder property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder FilesFolder { diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs index cead0ea51db..3284c8d1afe 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs @@ -35,8 +35,7 @@ public CreateForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. - /// Find more info here + /// Invoke action createForward /// /// A /// The request body @@ -61,7 +60,7 @@ public CreateForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. + /// Invoke action createForward /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs index e18d7b18f1e..81702dddfdd 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs @@ -35,8 +35,7 @@ public CreateForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. - /// Find more info here + /// Invoke action createForward /// /// A /// The request body @@ -61,7 +60,7 @@ public CreateForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. + /// Invoke action createForward /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs index c4834a2d659..7698a46abe1 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs @@ -35,8 +35,7 @@ public CreateForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. - /// Find more info here + /// Invoke action createForward /// /// A /// The request body @@ -61,7 +60,7 @@ public CreateForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. + /// Invoke action createForward /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Restore/RestoreRequestBuilder.cs index 4d777f976d9..46a143b45ae 100644 --- a/src/Microsoft.Graph/Generated/Me/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Settings/Exchange/ExchangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/Exchange/ExchangeRequestBuilder.cs new file mode 100644 index 00000000000..37295b60e36 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Settings/Exchange/ExchangeRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Settings.Exchange +{ + /// + /// Provides operations to manage the exchange property of the microsoft.graph.userSettings entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExchangeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ExchangeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/exchange{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ExchangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/settings/exchange{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get exchange from me + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExchangeSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get exchange from me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Settings.Exchange.ExchangeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Settings.Exchange.ExchangeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get exchange from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExchangeRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExchangeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Settings/SettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/SettingsRequestBuilder.cs index 855bfdca291..bdab113a452 100644 --- a/src/Microsoft.Graph/Generated/Me/Settings/SettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Settings/SettingsRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Me.Settings.Exchange; using Microsoft.Graph.Me.Settings.ItemInsights; using Microsoft.Graph.Me.Settings.ShiftPreferences; using Microsoft.Graph.Me.Settings.Storage; @@ -23,6 +24,11 @@ namespace Microsoft.Graph.Me.Settings [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SettingsRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the exchange property of the microsoft.graph.userSettings entity. + public global::Microsoft.Graph.Me.Settings.Exchange.ExchangeRequestBuilder Exchange + { + get => new global::Microsoft.Graph.Me.Settings.Exchange.ExchangeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the itemInsights property of the microsoft.graph.userSettings entity. public global::Microsoft.Graph.Me.Settings.ItemInsights.ItemInsightsRequestBuilder ItemInsights { diff --git a/src/Microsoft.Graph/Generated/Me/Sponsors/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Sponsors/Item/DirectoryObjectItemRequestBuilder.cs index 909fc6b0e3e..00951b0b141 100644 --- a/src/Microsoft.Graph/Generated/Me/Sponsors/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Sponsors/Item/DirectoryObjectItemRequestBuilder.cs @@ -1,29 +1,31 @@ // #pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.Models; +using Microsoft.Graph.Me.Sponsors.Item.Ref; using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; -using System.Threading; using System; namespace Microsoft.Graph.Me.Sponsors.Item { /// - /// Provides operations to manage the sponsors property of the microsoft.graph.user entity. + /// Builds and executes requests for operations under \me\sponsors\{directoryObject-id} /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DirectoryObjectItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the collection of user entities. + public global::Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder Ref + { + get => new global::Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public DirectoryObjectItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors/{directoryObject%2Did}{?%24expand,%24select}", pathParameters) + public DirectoryObjectItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors/{directoryObject%2Did}", pathParameters) { } /// @@ -31,93 +33,7 @@ public DirectoryObjectItemRequestBuilder(Dictionary pathParamete /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors/{directoryObject%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// The users and groups responsible for this guest's privileges in the tenant and keeping the guest's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The users and groups responsible for this guest's privileges in the tenant and keeping the guest's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("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. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The users and groups responsible for this guest's privileges in the tenant and keeping the guest's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DirectoryObjectItemRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DirectoryObjectItemRequestBuilderGetRequestConfiguration : RequestConfiguration + public DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors/{directoryObject%2Did}", rawUrl) { } } diff --git a/src/Microsoft.Graph/Generated/Me/Sponsors/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Sponsors/Item/Ref/RefRequestBuilder.cs new file mode 100644 index 00000000000..b353cfcfc5a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Sponsors/Item/Ref/RefRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Sponsors.Item.Ref +{ + /// + /// Provides operations to manage the collection of user entities. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RefRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors/{directoryObject%2Did}/$ref", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors/{directoryObject%2Did}/$ref", rawUrl) + { + } + /// + /// Delete ref of navigation property sponsors for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete ref of navigation property sponsors for me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Sponsors/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Sponsors/Ref/RefRequestBuilder.cs new file mode 100644 index 00000000000..b7ab316cf62 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Sponsors/Ref/RefRequestBuilder.cs @@ -0,0 +1,264 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Sponsors.Ref +{ + /// + /// Provides operations to manage the collection of user entities. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RefRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/sponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + { + } + /// + /// Delete ref of navigation property sponsors for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The users and groups responsible for this guest's privileges in the tenant and keeping the guest's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property ref to sponsors for me + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.ReferenceCreate body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ReferenceCreate body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete ref of navigation property sponsors for me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, "{+baseurl}/me/sponsors/$ref?@id={%40id}", PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The users and groups responsible for this guest's privileges in the tenant and keeping the guest's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/me/sponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property ref to sponsors for me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ReferenceCreate body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ReferenceCreate body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/me/sponsors/$ref", PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Delete ref of navigation property sponsors for me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RefRequestBuilderDeleteQueryParameters + { + /// The delete Uri +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%40id")] + public string? Id { get; set; } +#nullable restore +#else + [QueryParameter("%40id")] + public string Id { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The users and groups responsible for this guest's privileges in the tenant and keeping the guest's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RefRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RefRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RefRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Sponsors/SponsorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Sponsors/SponsorsRequestBuilder.cs index fea9922fef1..ad3c32f4e91 100644 --- a/src/Microsoft.Graph/Generated/Me/Sponsors/SponsorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Sponsors/SponsorsRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Me.Sponsors.Count; using Microsoft.Graph.Me.Sponsors.Item; +using Microsoft.Graph.Me.Sponsors.Ref; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -25,7 +26,12 @@ public partial class SponsorsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.Sponsors.Count.CountRequestBuilder(PathParameters, RequestAdapter); } - /// Provides operations to manage the sponsors property of the microsoft.graph.user entity. + /// Provides operations to manage the collection of user entities. + public global::Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder Ref + { + get => new global::Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder(PathParameters, RequestAdapter); + } + /// Gets an item from the Microsoft.Graph.me.sponsors.item collection /// The unique identifier of directoryObject /// A public global::Microsoft.Graph.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder this[string position] diff --git a/src/Microsoft.Graph/Generated/Models/AccessPackageAssignmentPolicy.cs b/src/Microsoft.Graph/Generated/Models/AccessPackageAssignmentPolicy.cs index a5d4ec1b7bf..f7cc190bdda 100644 --- a/src/Microsoft.Graph/Generated/Models/AccessPackageAssignmentPolicy.cs +++ b/src/Microsoft.Graph/Generated/Models/AccessPackageAssignmentPolicy.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class AccessPackageAssignmentPolicy : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { - /// Access package containing this policy. Read-only. Supports $expand. + /// Access package containing this policy. Read-only. Supports $expand. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.AccessPackage? AccessPackage @@ -28,7 +28,7 @@ public partial class AccessPackageAssignmentPolicy : global::Microsoft.Graph.Mod set { BackingStore?.Set("accessPackage", value); } } #endif - /// Principals that can be assigned the access package through this policy. The possible values are: notSpecified, specificDirectoryUsers, specificConnectedOrganizationUsers, specificDirectoryServicePrincipals, allMemberUsers, allDirectoryUsers, allDirectoryServicePrincipals, allConfiguredConnectedOrganizationUsers, allExternalUsers, unknownFutureValue. + /// Principals that can be assigned the access package through this policy. The possible values are: notSpecified, specificDirectoryUsers, specificConnectedOrganizationUsers, specificDirectoryServicePrincipals, allMemberUsers, allDirectoryUsers, allDirectoryServicePrincipals, allConfiguredConnectedOrganizationUsers, allExternalUsers, allDirectoryAgentIdentities, unknownFutureValue. public global::Microsoft.Graph.Models.AllowedTargetScope? AllowedTargetScope { get { return BackingStore?.Get("allowedTargetScope"); } diff --git a/src/Microsoft.Graph/Generated/Models/Admin.cs b/src/Microsoft.Graph/Generated/Models/Admin.cs index 0dda4905986..77dcf0c79b0 100644 --- a/src/Microsoft.Graph/Generated/Models/Admin.cs +++ b/src/Microsoft.Graph/Generated/Models/Admin.cs @@ -22,6 +22,22 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// A container for Tenant Configuration Management (TCM) resources. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ConfigurationManagement? ConfigurationManagement + { + get { return BackingStore?.Get("configurationManagement"); } + set { BackingStore?.Set("configurationManagement", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ConfigurationManagement ConfigurationManagement + { + get { return BackingStore?.Get("configurationManagement"); } + set { BackingStore?.Set("configurationManagement", value); } + } +#endif /// A container for Microsoft Edge resources. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -150,7 +166,7 @@ public string OdataType set { BackingStore?.Set("sharepoint", value); } } #endif - /// A container for Teams administration functionalities, such as user configurations and policy assignments. + /// A container for Teams administration functionalities, such as Teams telephone number management functionalities, user Teams configurations, and policy assignments. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.TeamsAdministration.TeamsAdminRoot? Teams @@ -192,6 +208,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "configurationManagement", n => { ConfigurationManagement = n.GetObjectValue(global::Microsoft.Graph.Models.ConfigurationManagement.CreateFromDiscriminatorValue); } }, { "edge", n => { Edge = n.GetObjectValue(global::Microsoft.Graph.Models.Edge.CreateFromDiscriminatorValue); } }, { "exchange", n => { Exchange = n.GetObjectValue(global::Microsoft.Graph.Models.ExchangeAdmin.CreateFromDiscriminatorValue); } }, { "microsoft365Apps", n => { Microsoft365Apps = n.GetObjectValue(global::Microsoft.Graph.Models.AdminMicrosoft365Apps.CreateFromDiscriminatorValue); } }, @@ -210,6 +227,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("configurationManagement", ConfigurationManagement); writer.WriteObjectValue("edge", Edge); writer.WriteObjectValue("exchange", Exchange); writer.WriteObjectValue("microsoft365Apps", Microsoft365Apps); diff --git a/src/Microsoft.Graph/Generated/Models/AgentIdentity.cs b/src/Microsoft.Graph/Generated/Models/AgentIdentity.cs new file mode 100644 index 00000000000..10ba5819cf7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AgentIdentity.cs @@ -0,0 +1,115 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AgentIdentity : global::Microsoft.Graph.Models.ServicePrincipal, IParsable + #pragma warning restore CS1591 + { + /// The appId of the agent identity blueprint that defines the configuration for this agent identity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AgentIdentityBlueprintId + { + get { return BackingStore?.Get("agentIdentityBlueprintId"); } + set { BackingStore?.Set("agentIdentityBlueprintId", value); } + } +#nullable restore +#else + public string AgentIdentityBlueprintId + { + get { return BackingStore?.Get("agentIdentityBlueprintId"); } + set { BackingStore?.Set("agentIdentityBlueprintId", value); } + } +#endif + /// The appId of the application that created this agent identity. Set internally by Microsoft Entra ID. Read-only. Inherited from servicePrincipal. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CreatedByAppId + { + get { return BackingStore?.Get("createdByAppId"); } + set { BackingStore?.Set("createdByAppId", value); } + } +#nullable restore +#else + public string CreatedByAppId + { + get { return BackingStore?.Get("createdByAppId"); } + set { BackingStore?.Set("createdByAppId", value); } + } +#endif + /// The date and time the agent identity was created. Read-only. Inherited from servicePrincipal. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The sponsors for this agent identity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Sponsors + { + get { return BackingStore?.Get?>("sponsors"); } + set { BackingStore?.Set("sponsors", value); } + } +#nullable restore +#else + public List Sponsors + { + get { return BackingStore?.Get>("sponsors"); } + set { BackingStore?.Set("sponsors", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AgentIdentity() : base() + { + OdataType = "#microsoft.graph.agentIdentity"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.AgentIdentity CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AgentIdentity(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "agentIdentityBlueprintId", n => { AgentIdentityBlueprintId = n.GetStringValue(); } }, + { "createdByAppId", n => { CreatedByAppId = n.GetStringValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "sponsors", n => { Sponsors = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("agentIdentityBlueprintId", AgentIdentityBlueprintId); + writer.WriteStringValue("createdByAppId", CreatedByAppId); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteCollectionOfObjectValues("sponsors", Sponsors); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AgentIdentityBlueprint.cs b/src/Microsoft.Graph/Generated/Models/AgentIdentityBlueprint.cs new file mode 100644 index 00000000000..4dbb9fc3d3b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AgentIdentityBlueprint.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AgentIdentityBlueprint : global::Microsoft.Graph.Models.Application, IParsable + #pragma warning restore CS1591 + { + /// The appId of the application that created this agent identity blueprint. Set internally by Microsoft Entra ID. Read-only. Inherited from application. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CreatedByAppId + { + get { return BackingStore?.Get("createdByAppId"); } + set { BackingStore?.Set("createdByAppId", value); } + } +#nullable restore +#else + public string CreatedByAppId + { + get { return BackingStore?.Get("createdByAppId"); } + set { BackingStore?.Set("createdByAppId", value); } + } +#endif + /// Defines scopes of a resource application that may be automatically granted to agent identities without additional consent. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? InheritablePermissions + { + get { return BackingStore?.Get?>("inheritablePermissions"); } + set { BackingStore?.Set("inheritablePermissions", value); } + } +#nullable restore +#else + public List InheritablePermissions + { + get { return BackingStore?.Get>("inheritablePermissions"); } + set { BackingStore?.Set("inheritablePermissions", value); } + } +#endif + /// 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. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Sponsors + { + get { return BackingStore?.Get?>("sponsors"); } + set { BackingStore?.Set("sponsors", value); } + } +#nullable restore +#else + public List Sponsors + { + get { return BackingStore?.Get>("sponsors"); } + set { BackingStore?.Set("sponsors", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AgentIdentityBlueprint() : base() + { + OdataType = "#microsoft.graph.agentIdentityBlueprint"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.AgentIdentityBlueprint CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AgentIdentityBlueprint(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "createdByAppId", n => { CreatedByAppId = n.GetStringValue(); } }, + { "inheritablePermissions", n => { InheritablePermissions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.InheritablePermission.CreateFromDiscriminatorValue)?.AsList(); } }, + { "sponsors", n => { Sponsors = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("createdByAppId", CreatedByAppId); + writer.WriteCollectionOfObjectValues("inheritablePermissions", InheritablePermissions); + writer.WriteCollectionOfObjectValues("sponsors", Sponsors); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AgentIdentityBlueprintPrincipal.cs b/src/Microsoft.Graph/Generated/Models/AgentIdentityBlueprintPrincipal.cs new file mode 100644 index 00000000000..da2b5526a0e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AgentIdentityBlueprintPrincipal.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AgentIdentityBlueprintPrincipal : global::Microsoft.Graph.Models.ServicePrincipal, IParsable + #pragma warning restore CS1591 + { + /// The appId of the application that created this agent identity blueprint principal. Set internally by Microsoft Entra ID. Read-only. Inherited from servicePrincipal. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CreatedByAppId + { + get { return BackingStore?.Get("createdByAppId"); } + set { BackingStore?.Set("createdByAppId", value); } + } +#nullable restore +#else + public string CreatedByAppId + { + get { return BackingStore?.Get("createdByAppId"); } + set { BackingStore?.Set("createdByAppId", value); } + } +#endif + /// The sponsors for this agent identity blueprint principal. Sponsors are users or service principals who can authorize and manage the lifecycle of agent identity instances. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Sponsors + { + get { return BackingStore?.Get?>("sponsors"); } + set { BackingStore?.Set("sponsors", value); } + } +#nullable restore +#else + public List Sponsors + { + get { return BackingStore?.Get>("sponsors"); } + set { BackingStore?.Set("sponsors", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AgentIdentityBlueprintPrincipal() : base() + { + OdataType = "#microsoft.graph.agentIdentityBlueprintPrincipal"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.AgentIdentityBlueprintPrincipal CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AgentIdentityBlueprintPrincipal(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "createdByAppId", n => { CreatedByAppId = n.GetStringValue(); } }, + { "sponsors", n => { Sponsors = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("createdByAppId", CreatedByAppId); + writer.WriteCollectionOfObjectValues("sponsors", Sponsors); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AgentUser.cs b/src/Microsoft.Graph/Generated/Models/AgentUser.cs new file mode 100644 index 00000000000..7eb7a48ec8e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AgentUser.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + /// + /// Represents a Microsoft Entra user account. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AgentUser : global::Microsoft.Graph.Models.User, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public AgentUser() : base() + { + OdataType = "#microsoft.graph.agentUser"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.AgentUser CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AgentUser(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Alert.cs b/src/Microsoft.Graph/Generated/Models/Alert.cs index 1f024864994..2c8a1d39919 100644 --- a/src/Microsoft.Graph/Generated/Models/Alert.cs +++ b/src/Microsoft.Graph/Generated/Models/Alert.cs @@ -196,13 +196,13 @@ public DateTimeOffset? EventDateTime get { return BackingStore?.Get("eventDateTime"); } set { BackingStore?.Set("eventDateTime", value); } } - /// Analyst feedback on the alert. The possible values are: unknown, truePositive, falsePositive, benignPositive. Supports update. + /// Analyst feedback on the alert. The possible values are: unknown, truePositive, falsePositive, benignPositive. Updatable. public global::Microsoft.Graph.Models.AlertFeedback? Feedback { get { return BackingStore?.Get("feedback"); } set { BackingStore?.Set("feedback", value); } } - /// Security-related stateful information generated by the provider about the file(s) related to this alert. + /// Security-related stateful information generated by the provider about the files related to this alert. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? FileStates @@ -234,7 +234,7 @@ public DateTimeOffset? EventDateTime set { BackingStore?.Set("historyStates", value); } } #endif - /// Security-related stateful information generated by the provider about the host(s) related to this alert. + /// Security-related stateful information generated by the provider about the hosts related to this alert. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? HostStates @@ -326,7 +326,7 @@ public DateTimeOffset? LastModifiedDateTime set { BackingStore?.Set("messageSecurityStates", value); } } #endif - /// Security-related stateful information generated by the provider about the network connection(s) related to this alert. + /// Security-related stateful information generated by the provider about the network connections related to this alert. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? NetworkConnections @@ -358,7 +358,7 @@ public DateTimeOffset? LastModifiedDateTime set { BackingStore?.Set("processes", value); } } #endif - /// Vendor/provider recommended action(s) to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host). + /// Vendor/provider recommended actions to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? RecommendedActions @@ -434,7 +434,7 @@ public List SourceMaterials get { return BackingStore?.Get("status"); } set { BackingStore?.Set("status", value); } } - /// User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW') (supports update). + /// User-definable labels that can be applied to an alert and can serve as filter conditions (for example, 'HVA', 'SAW') (supports update). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Tags diff --git a/src/Microsoft.Graph/Generated/Models/AllAllowedScopes.cs b/src/Microsoft.Graph/Generated/Models/AllAllowedScopes.cs new file mode 100644 index 00000000000..cde108bc696 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AllAllowedScopes.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AllAllowedScopes : global::Microsoft.Graph.Models.InheritableScopes, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public AllAllowedScopes() : base() + { + OdataType = "#microsoft.graph.allAllowedScopes"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.AllAllowedScopes CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AllAllowedScopes(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Application.cs b/src/Microsoft.Graph/Generated/Models/Application.cs index 1003b0fd9f6..c42eccc9ac0 100644 --- a/src/Microsoft.Graph/Generated/Models/Application.cs +++ b/src/Microsoft.Graph/Generated/Models/Application.cs @@ -735,7 +735,12 @@ public Application() : base() public static new global::Microsoft.Graph.Models.Application CreateFromDiscriminatorValue(IParseNode parseNode) { if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Models.Application(); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.agentIdentityBlueprint" => new global::Microsoft.Graph.Models.AgentIdentityBlueprint(), + _ => new global::Microsoft.Graph.Models.Application(), + }; } /// /// The deserialization information for the current model diff --git a/src/Microsoft.Graph/Generated/Models/AttestationEnforcement.cs b/src/Microsoft.Graph/Generated/Models/AttestationEnforcement.cs new file mode 100644 index 00000000000..49ee7af89f7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AttestationEnforcement.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AttestationEnforcement + #pragma warning restore CS1591 + { + [EnumMember(Value = "disabled")] + #pragma warning disable CS1591 + Disabled, + #pragma warning restore CS1591 + [EnumMember(Value = "registrationOnly")] + #pragma warning disable CS1591 + RegistrationOnly, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Authentication.cs b/src/Microsoft.Graph/Generated/Models/Authentication.cs index ea7d30fc852..609f753f7a7 100644 --- a/src/Microsoft.Graph/Generated/Models/Authentication.cs +++ b/src/Microsoft.Graph/Generated/Models/Authentication.cs @@ -28,7 +28,7 @@ public partial class Authentication : global::Microsoft.Graph.Models.Entity, IPa set { BackingStore?.Set("emailMethods", value); } } #endif - /// Represents the external authentication methods registered to a user for authentication using an external identity provider. + /// Represents the external MFA registered to a user for authentication using an external identity provider. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ExternalAuthenticationMethods diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs index 5adead47290..6b912b73cdf 100644 --- a/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs +++ b/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs @@ -78,6 +78,7 @@ public string DisplayName "#microsoft.graph.onEmailOtpSendListener" => new global::Microsoft.Graph.Models.OnEmailOtpSendListener(), "#microsoft.graph.onFraudProtectionLoadStartListener" => new global::Microsoft.Graph.Models.OnFraudProtectionLoadStartListener(), "#microsoft.graph.onInteractiveAuthFlowStartListener" => new global::Microsoft.Graph.Models.OnInteractiveAuthFlowStartListener(), + "#microsoft.graph.onPasswordSubmitListener" => new global::Microsoft.Graph.Models.OnPasswordSubmitListener(), "#microsoft.graph.onTokenIssuanceStartListener" => new global::Microsoft.Graph.Models.OnTokenIssuanceStartListener(), "#microsoft.graph.onUserCreateStartListener" => new global::Microsoft.Graph.Models.OnUserCreateStartListener(), _ => new global::Microsoft.Graph.Models.AuthenticationEventListener(), diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationMethod.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationMethod.cs index a06c6539564..e31e48b2c52 100644 --- a/src/Microsoft.Graph/Generated/Models/AuthenticationMethod.cs +++ b/src/Microsoft.Graph/Generated/Models/AuthenticationMethod.cs @@ -36,6 +36,7 @@ public DateTimeOffset? CreatedDateTime "#microsoft.graph.passwordAuthenticationMethod" => new global::Microsoft.Graph.Models.PasswordAuthenticationMethod(), "#microsoft.graph.phoneAuthenticationMethod" => new global::Microsoft.Graph.Models.PhoneAuthenticationMethod(), "#microsoft.graph.platformCredentialAuthenticationMethod" => new global::Microsoft.Graph.Models.PlatformCredentialAuthenticationMethod(), + "#microsoft.graph.qrCodePinAuthenticationMethod" => new global::Microsoft.Graph.Models.QrCodePinAuthenticationMethod(), "#microsoft.graph.softwareOathAuthenticationMethod" => new global::Microsoft.Graph.Models.SoftwareOathAuthenticationMethod(), "#microsoft.graph.temporaryAccessPassAuthenticationMethod" => new global::Microsoft.Graph.Models.TemporaryAccessPassAuthenticationMethod(), "#microsoft.graph.windowsHelloForBusinessAuthenticationMethod" => new global::Microsoft.Graph.Models.WindowsHelloForBusinessAuthenticationMethod(), diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationMethodConfiguration.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationMethodConfiguration.cs index 64645339320..f2adf0ca38f 100644 --- a/src/Microsoft.Graph/Generated/Models/AuthenticationMethodConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/AuthenticationMethodConfiguration.cs @@ -49,6 +49,7 @@ public partial class AuthenticationMethodConfiguration : global::Microsoft.Graph "#microsoft.graph.externalAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Models.ExternalAuthenticationMethodConfiguration(), "#microsoft.graph.fido2AuthenticationMethodConfiguration" => new global::Microsoft.Graph.Models.Fido2AuthenticationMethodConfiguration(), "#microsoft.graph.microsoftAuthenticatorAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Models.MicrosoftAuthenticatorAuthenticationMethodConfiguration(), + "#microsoft.graph.qrCodePinAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Models.QrCodePinAuthenticationMethodConfiguration(), "#microsoft.graph.smsAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Models.SmsAuthenticationMethodConfiguration(), "#microsoft.graph.softwareOathAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Models.SoftwareOathAuthenticationMethodConfiguration(), "#microsoft.graph.temporaryAccessPassAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Models.TemporaryAccessPassAuthenticationMethodConfiguration(), diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationMethodModes.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationMethodModes.cs index c29fd51546e..4bd291e3cfe 100644 --- a/src/Microsoft.Graph/Generated/Models/AuthenticationMethodModes.cs +++ b/src/Microsoft.Graph/Generated/Models/AuthenticationMethodModes.cs @@ -77,5 +77,9 @@ public enum AuthenticationMethodModes #pragma warning disable CS1591 UnknownFutureValue = 65536, #pragma warning restore CS1591 + [EnumMember(Value = "qrCodePin")] + #pragma warning disable CS1591 + QrCodePin = 131072, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationMethodTarget.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationMethodTarget.cs index 18fda574507..c50889c1d4b 100644 --- a/src/Microsoft.Graph/Generated/Models/AuthenticationMethodTarget.cs +++ b/src/Microsoft.Graph/Generated/Models/AuthenticationMethodTarget.cs @@ -36,6 +36,7 @@ public bool? IsRegistrationRequired return mappingValue switch { "#microsoft.graph.microsoftAuthenticatorAuthenticationMethodTarget" => new global::Microsoft.Graph.Models.MicrosoftAuthenticatorAuthenticationMethodTarget(), + "#microsoft.graph.passkeyAuthenticationMethodTarget" => new global::Microsoft.Graph.Models.PasskeyAuthenticationMethodTarget(), "#microsoft.graph.smsAuthenticationMethodTarget" => new global::Microsoft.Graph.Models.SmsAuthenticationMethodTarget(), _ => new global::Microsoft.Graph.Models.AuthenticationMethodTarget(), }; diff --git a/src/Microsoft.Graph/Generated/Models/BaseAuthenticationMethod.cs b/src/Microsoft.Graph/Generated/Models/BaseAuthenticationMethod.cs index ca1ab0f67cd..76ad588b8c9 100644 --- a/src/Microsoft.Graph/Generated/Models/BaseAuthenticationMethod.cs +++ b/src/Microsoft.Graph/Generated/Models/BaseAuthenticationMethod.cs @@ -60,5 +60,9 @@ public enum BaseAuthenticationMethod #pragma warning disable CS1591 UnknownFutureValue, #pragma warning restore CS1591 + [EnumMember(Value = "qrCodePin")] + #pragma warning disable CS1591 + QrCodePin, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/BaselineParameter.cs b/src/Microsoft.Graph/Generated/Models/BaselineParameter.cs new file mode 100644 index 00000000000..a1cf901a8d1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BaselineParameter.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BaselineParameter : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// User-friendly description of the parameter. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif + /// Parameter names such as FQDN and Tenant ID. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The parameterType property + public global::Microsoft.Graph.Models.BaselineParameterType? ParameterType + { + get { return BackingStore?.Get("parameterType"); } + set { BackingStore?.Set("parameterType", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public BaselineParameter() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.BaselineParameter CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.BaselineParameter(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "parameterType", n => { ParameterType = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("parameterType", ParameterType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/BaselineParameterType.cs b/src/Microsoft.Graph/Generated/Models/BaselineParameterType.cs new file mode 100644 index 00000000000..eff14fccee8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BaselineParameterType.cs @@ -0,0 +1,27 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum BaselineParameterType + #pragma warning restore CS1591 + { + [EnumMember(Value = "string")] + #pragma warning disable CS1591 + String, + #pragma warning restore CS1591 + [EnumMember(Value = "integer")] + #pragma warning disable CS1591 + Integer, + #pragma warning restore CS1591 + [EnumMember(Value = "boolean")] + #pragma warning disable CS1591 + Boolean, + #pragma warning restore CS1591 + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/BaselineResource.cs b/src/Microsoft.Graph/Generated/Models/BaselineResource.cs new file mode 100644 index 00000000000..36059ed69a2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BaselineResource.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BaselineResource : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Unique name of the resource. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The properties property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.OpenComplexDictionaryType? Properties + { + get { return BackingStore?.Get("properties"); } + set { BackingStore?.Set("properties", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.OpenComplexDictionaryType Properties + { + get { return BackingStore?.Get("properties"); } + set { BackingStore?.Set("properties", value); } + } +#endif + /// Name of the resource type. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceType + { + get { return BackingStore?.Get("resourceType"); } + set { BackingStore?.Set("resourceType", value); } + } +#nullable restore +#else + public string ResourceType + { + get { return BackingStore?.Get("resourceType"); } + set { BackingStore?.Set("resourceType", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public BaselineResource() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.BaselineResource CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.BaselineResource(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "properties", n => { Properties = n.GetObjectValue(global::Microsoft.Graph.Models.OpenComplexDictionaryType.CreateFromDiscriminatorValue); } }, + { "resourceType", n => { ResourceType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("properties", Properties); + writer.WriteStringValue("resourceType", ResourceType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Channel.cs b/src/Microsoft.Graph/Generated/Models/Channel.cs index b0b783e040e..094ad418245 100644 --- a/src/Microsoft.Graph/Generated/Models/Channel.cs +++ b/src/Microsoft.Graph/Generated/Models/Channel.cs @@ -81,6 +81,22 @@ public string Email get { return BackingStore?.Get("email"); } set { BackingStore?.Set("email", value); } } +#endif + /// The enabledApps property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? EnabledApps + { + get { return BackingStore?.Get?>("enabledApps"); } + set { BackingStore?.Set("enabledApps", value); } + } +#nullable restore +#else + public List EnabledApps + { + get { return BackingStore?.Get>("enabledApps"); } + set { BackingStore?.Set("enabledApps", value); } + } #endif /// Metadata for the location where the channel's files are stored. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -251,6 +267,7 @@ public override IDictionary> GetFieldDeserializers() { "description", n => { Description = n.GetStringValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "email", n => { Email = n.GetStringValue(); } }, + { "enabledApps", n => { EnabledApps = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue)?.AsList(); } }, { "filesFolder", n => { FilesFolder = n.GetObjectValue(global::Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue); } }, { "isArchived", n => { IsArchived = n.GetBoolValue(); } }, { "isFavoriteByDefault", n => { IsFavoriteByDefault = n.GetBoolValue(); } }, @@ -277,6 +294,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("description", Description); writer.WriteStringValue("displayName", DisplayName); writer.WriteStringValue("email", Email); + writer.WriteCollectionOfObjectValues("enabledApps", EnabledApps); writer.WriteObjectValue("filesFolder", FilesFolder); writer.WriteBoolValue("isArchived", IsArchived); writer.WriteBoolValue("isFavoriteByDefault", IsFavoriteByDefault); diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcDeviceImage.cs b/src/Microsoft.Graph/Generated/Models/CloudPcDeviceImage.cs index 6dbf4034b5a..3894d1b59d3 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcDeviceImage.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcDeviceImage.cs @@ -85,6 +85,28 @@ public string OsBuildNumber get { return BackingStore?.Get("osStatus"); } set { BackingStore?.Set("osStatus", value); } } + /// The operating system version of this image. For example, 10.0.22000.296. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OsVersionNumber + { + get { return BackingStore?.Get("osVersionNumber"); } + set { BackingStore?.Set("osVersionNumber", value); } + } +#nullable restore +#else + public string OsVersionNumber + { + get { return BackingStore?.Get("osVersionNumber"); } + set { BackingStore?.Set("osVersionNumber", value); } + } +#endif + /// The size of the image in GB. For example, 64. Read-only. + public int? SizeInGB + { + get { return BackingStore?.Get("sizeInGB"); } + set { BackingStore?.Set("sizeInGB", value); } + } /// The unique identifier (ID) of the source image resource on Azure. The required ID format is: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}'. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -148,6 +170,8 @@ public override IDictionary> GetFieldDeserializers() { "operatingSystem", n => { OperatingSystem = n.GetStringValue(); } }, { "osBuildNumber", n => { OsBuildNumber = n.GetStringValue(); } }, { "osStatus", n => { OsStatus = n.GetEnumValue(); } }, + { "osVersionNumber", n => { OsVersionNumber = n.GetStringValue(); } }, + { "sizeInGB", n => { SizeInGB = n.GetIntValue(); } }, { "sourceImageResourceId", n => { SourceImageResourceId = n.GetStringValue(); } }, { "status", n => { Status = n.GetEnumValue(); } }, { "version", n => { Version = n.GetStringValue(); } }, @@ -168,6 +192,8 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("operatingSystem", OperatingSystem); writer.WriteStringValue("osBuildNumber", OsBuildNumber); writer.WriteEnumValue("osStatus", OsStatus); + writer.WriteStringValue("osVersionNumber", OsVersionNumber); + writer.WriteIntValue("sizeInGB", SizeInGB); writer.WriteStringValue("sourceImageResourceId", SourceImageResourceId); writer.WriteEnumValue("status", Status); writer.WriteStringValue("version", Version); diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcGalleryImage.cs b/src/Microsoft.Graph/Generated/Models/CloudPcGalleryImage.cs index 5c2b85648a3..4b34f40ffb3 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcGalleryImage.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcGalleryImage.cs @@ -56,6 +56,22 @@ public string OfferName get { return BackingStore?.Get("offerName"); } set { BackingStore?.Set("offerName", value); } } +#endif + /// The operating system version of this gallery image. For example, 10.0.22000.296. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OsVersionNumber + { + get { return BackingStore?.Get("osVersionNumber"); } + set { BackingStore?.Set("osVersionNumber", value); } + } +#nullable restore +#else + public string OsVersionNumber + { + get { return BackingStore?.Get("osVersionNumber"); } + set { BackingStore?.Set("osVersionNumber", value); } + } #endif /// The publisher name of this gallery image that is passed to Azure Resource Manager (ARM) to retrieve the image resource. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -129,6 +145,7 @@ public override IDictionary> GetFieldDeserializers() { "endDate", n => { EndDate = n.GetDateValue(); } }, { "expirationDate", n => { ExpirationDate = n.GetDateValue(); } }, { "offerName", n => { OfferName = n.GetStringValue(); } }, + { "osVersionNumber", n => { OsVersionNumber = n.GetStringValue(); } }, { "publisherName", n => { PublisherName = n.GetStringValue(); } }, { "sizeInGB", n => { SizeInGB = n.GetIntValue(); } }, { "skuName", n => { SkuName = n.GetStringValue(); } }, @@ -148,6 +165,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteDateValue("endDate", EndDate); writer.WriteDateValue("expirationDate", ExpirationDate); writer.WriteStringValue("offerName", OfferName); + writer.WriteStringValue("osVersionNumber", OsVersionNumber); writer.WriteStringValue("publisherName", PublisherName); writer.WriteIntValue("sizeInGB", SizeInGB); writer.WriteStringValue("skuName", SkuName); diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationBaseline.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationBaseline.cs new file mode 100644 index 00000000000..74ec881356b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationBaseline.cs @@ -0,0 +1,118 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationBaseline : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// User-friendly description of the baseline given by the user. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif + /// User-friendly name given by the user to the baseline. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// Collection of parameters attached to the baseline. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Parameters + { + get { return BackingStore?.Get?>("parameters"); } + set { BackingStore?.Set("parameters", value); } + } +#nullable restore +#else + public List Parameters + { + get { return BackingStore?.Get>("parameters"); } + set { BackingStore?.Set("parameters", value); } + } +#endif + /// Collection of resources and their properties that are added to the baseline. At least one property of one resource must be present in the baseline. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Resources + { + get { return BackingStore?.Get?>("resources"); } + set { BackingStore?.Set("resources", value); } + } +#nullable restore +#else + public List Resources + { + get { return BackingStore?.Get>("resources"); } + set { BackingStore?.Set("resources", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.ConfigurationBaseline CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ConfigurationBaseline(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "parameters", n => { Parameters = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.BaselineParameter.CreateFromDiscriminatorValue)?.AsList(); } }, + { "resources", n => { Resources = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.BaselineResource.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteCollectionOfObjectValues("parameters", Parameters); + writer.WriteCollectionOfObjectValues("resources", Resources); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationBaselineCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationBaselineCollectionResponse.cs new file mode 100644 index 00000000000..44024351b14 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationBaselineCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationBaselineCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.ConfigurationBaselineCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ConfigurationBaselineCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConfigurationBaseline.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationDrift.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationDrift.cs new file mode 100644 index 00000000000..6a37a587556 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationDrift.cs @@ -0,0 +1,164 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationDrift : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Resource instance for which the drift is detected. Supports $filter (eq, ne, startsWith) and $orderby. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? BaselineResourceDisplayName + { + get { return BackingStore?.Get("baselineResourceDisplayName"); } + set { BackingStore?.Set("baselineResourceDisplayName", value); } + } +#nullable restore +#else + public string BaselineResourceDisplayName + { + get { return BackingStore?.Get("baselineResourceDisplayName"); } + set { BackingStore?.Set("baselineResourceDisplayName", value); } + } +#endif + /// Properties within one or more resource instances in which drift is detected. Returned only on $select. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DriftedProperties + { + get { return BackingStore?.Get?>("driftedProperties"); } + set { BackingStore?.Set("driftedProperties", value); } + } +#nullable restore +#else + public List DriftedProperties + { + get { return BackingStore?.Get>("driftedProperties"); } + set { BackingStore?.Set("driftedProperties", value); } + } +#endif + /// The date and time at which drift is first detected. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby. + public DateTimeOffset? FirstReportedDateTime + { + get { return BackingStore?.Get("firstReportedDateTime"); } + set { BackingStore?.Set("firstReportedDateTime", value); } + } + /// Globally unique identifier (GUID) of the monitor. System-generated. Supports $filter (eq, ne). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MonitorId + { + get { return BackingStore?.Get("monitorId"); } + set { BackingStore?.Set("monitorId", value); } + } +#nullable restore +#else + public string MonitorId + { + get { return BackingStore?.Get("monitorId"); } + set { BackingStore?.Set("monitorId", value); } + } +#endif + /// The resourceInstanceIdentifier property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.OpenComplexDictionaryType? ResourceInstanceIdentifier + { + get { return BackingStore?.Get("resourceInstanceIdentifier"); } + set { BackingStore?.Set("resourceInstanceIdentifier", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.OpenComplexDictionaryType ResourceInstanceIdentifier + { + get { return BackingStore?.Get("resourceInstanceIdentifier"); } + set { BackingStore?.Set("resourceInstanceIdentifier", value); } + } +#endif + /// Resource for which the drift is detected. Supports $filter (eq, ne, startsWith). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceType + { + get { return BackingStore?.Get("resourceType"); } + set { BackingStore?.Set("resourceType", value); } + } +#nullable restore +#else + public string ResourceType + { + get { return BackingStore?.Get("resourceType"); } + set { BackingStore?.Set("resourceType", value); } + } +#endif + /// The status property + public global::Microsoft.Graph.Models.DriftStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. Supports $filter (eq, ne). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } +#nullable restore +#else + public string TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.ConfigurationDrift CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ConfigurationDrift(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "baselineResourceDisplayName", n => { BaselineResourceDisplayName = n.GetStringValue(); } }, + { "driftedProperties", n => { DriftedProperties = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriftedProperty.CreateFromDiscriminatorValue)?.AsList(); } }, + { "firstReportedDateTime", n => { FirstReportedDateTime = n.GetDateTimeOffsetValue(); } }, + { "monitorId", n => { MonitorId = n.GetStringValue(); } }, + { "resourceInstanceIdentifier", n => { ResourceInstanceIdentifier = n.GetObjectValue(global::Microsoft.Graph.Models.OpenComplexDictionaryType.CreateFromDiscriminatorValue); } }, + { "resourceType", n => { ResourceType = n.GetStringValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("resourceInstanceIdentifier", ResourceInstanceIdentifier); + writer.WriteEnumValue("status", Status); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationDriftCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationDriftCollectionResponse.cs new file mode 100644 index 00000000000..1bc0da849a9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationDriftCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationDriftCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.ConfigurationDriftCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ConfigurationDriftCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConfigurationDrift.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationManagement.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationManagement.cs new file mode 100644 index 00000000000..6fb8a92308b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationManagement.cs @@ -0,0 +1,136 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationManagement : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// A container for configuration drift resources. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ConfigurationDrifts + { + get { return BackingStore?.Get?>("configurationDrifts"); } + set { BackingStore?.Set("configurationDrifts", value); } + } +#nullable restore +#else + public List ConfigurationDrifts + { + get { return BackingStore?.Get>("configurationDrifts"); } + set { BackingStore?.Set("configurationDrifts", value); } + } +#endif + /// A container for configuration monitoring results resources. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ConfigurationMonitoringResults + { + get { return BackingStore?.Get?>("configurationMonitoringResults"); } + set { BackingStore?.Set("configurationMonitoringResults", value); } + } +#nullable restore +#else + public List ConfigurationMonitoringResults + { + get { return BackingStore?.Get>("configurationMonitoringResults"); } + set { BackingStore?.Set("configurationMonitoringResults", value); } + } +#endif + /// A container for configuration monitor resources. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ConfigurationMonitors + { + get { return BackingStore?.Get?>("configurationMonitors"); } + set { BackingStore?.Set("configurationMonitors", value); } + } +#nullable restore +#else + public List ConfigurationMonitors + { + get { return BackingStore?.Get>("configurationMonitors"); } + set { BackingStore?.Set("configurationMonitors", value); } + } +#endif + /// A container for snapshot job resources. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ConfigurationSnapshotJobs + { + get { return BackingStore?.Get?>("configurationSnapshotJobs"); } + set { BackingStore?.Set("configurationSnapshotJobs", value); } + } +#nullable restore +#else + public List ConfigurationSnapshotJobs + { + get { return BackingStore?.Get>("configurationSnapshotJobs"); } + set { BackingStore?.Set("configurationSnapshotJobs", value); } + } +#endif + /// A container for configuration snapshot baselines. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ConfigurationSnapshots + { + get { return BackingStore?.Get?>("configurationSnapshots"); } + set { BackingStore?.Set("configurationSnapshots", value); } + } +#nullable restore +#else + public List ConfigurationSnapshots + { + get { return BackingStore?.Get>("configurationSnapshots"); } + set { BackingStore?.Set("configurationSnapshots", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.ConfigurationManagement CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ConfigurationManagement(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "configurationDrifts", n => { ConfigurationDrifts = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConfigurationDrift.CreateFromDiscriminatorValue)?.AsList(); } }, + { "configurationMonitoringResults", n => { ConfigurationMonitoringResults = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConfigurationMonitoringResult.CreateFromDiscriminatorValue)?.AsList(); } }, + { "configurationMonitors", n => { ConfigurationMonitors = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConfigurationMonitor.CreateFromDiscriminatorValue)?.AsList(); } }, + { "configurationSnapshotJobs", n => { ConfigurationSnapshotJobs = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConfigurationSnapshotJob.CreateFromDiscriminatorValue)?.AsList(); } }, + { "configurationSnapshots", n => { ConfigurationSnapshots = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConfigurationBaseline.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("configurationDrifts", ConfigurationDrifts); + writer.WriteCollectionOfObjectValues("configurationMonitoringResults", ConfigurationMonitoringResults); + writer.WriteCollectionOfObjectValues("configurationMonitors", ConfigurationMonitors); + writer.WriteCollectionOfObjectValues("configurationSnapshotJobs", ConfigurationSnapshotJobs); + writer.WriteCollectionOfObjectValues("configurationSnapshots", ConfigurationSnapshots); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationMonitor.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationMonitor.cs new file mode 100644 index 00000000000..27ba8c64030 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationMonitor.cs @@ -0,0 +1,225 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationMonitor : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The baseline property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ConfigurationBaseline? Baseline + { + get { return BackingStore?.Get("baseline"); } + set { BackingStore?.Set("baseline", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ConfigurationBaseline Baseline + { + get { return BackingStore?.Get("baseline"); } + set { BackingStore?.Set("baseline", value); } + } +#endif + /// The createdBy property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentitySet? CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentitySet CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#endif + /// The date and time when the monitor was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// User-friendly description of the monitor given by the user. Supports $filter (eq, ne, startsWith) and $orderby. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif + /// User-friendly name given by the user to the monitor. Supports $filter (eq, ne, startsWith) and $orderby. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reason for the monitor's inactivation. Returned only on $select. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? InactivationReason + { + get { return BackingStore?.Get("inactivationReason"); } + set { BackingStore?.Set("inactivationReason", value); } + } +#nullable restore +#else + public string InactivationReason + { + get { return BackingStore?.Get("inactivationReason"); } + set { BackingStore?.Set("inactivationReason", value); } + } +#endif + /// The lastModifiedBy property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentitySet? LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentitySet LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#endif + /// The date and time when the monitor was last modified. If no modifications are made to the monitor, it's the same as createdDateTime. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// The mode property + public global::Microsoft.Graph.Models.MonitorMode? Mode + { + get { return BackingStore?.Get("mode"); } + set { BackingStore?.Set("mode", value); } + } + /// Frequency at which the monitor runs. The default frequency is six hours. Regardless of when you create or update a monitor, it gets triggered within the next 6 hours. Currently, monitors are picked up at fixed times: 6 AM, 12 PM, 6 PM, and 12 AM (all in GMT). For example, if you create a monitor at 9 AM, it gets triggered around 12 PM. If you update a monitor at 4 PM, it gets triggered around 6 PM. + public int? MonitorRunFrequencyInHours + { + get { return BackingStore?.Get("monitorRunFrequencyInHours"); } + set { BackingStore?.Set("monitorRunFrequencyInHours", value); } + } + /// Key-value pairs that contain parameter values which might be used in the baseline. Returned only on $select. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.OpenComplexDictionaryType? Parameters + { + get { return BackingStore?.Get("parameters"); } + set { BackingStore?.Set("parameters", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.OpenComplexDictionaryType Parameters + { + get { return BackingStore?.Get("parameters"); } + set { BackingStore?.Set("parameters", value); } + } +#endif + /// The status property + public global::Microsoft.Graph.Models.MonitorStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. Supports $filter (eq, ne). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } +#nullable restore +#else + public string TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.ConfigurationMonitor CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ConfigurationMonitor(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "baseline", n => { Baseline = n.GetObjectValue(global::Microsoft.Graph.Models.ConfigurationBaseline.CreateFromDiscriminatorValue); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "inactivationReason", n => { InactivationReason = n.GetStringValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "mode", n => { Mode = n.GetEnumValue(); } }, + { "monitorRunFrequencyInHours", n => { MonitorRunFrequencyInHours = n.GetIntValue(); } }, + { "parameters", n => { Parameters = n.GetObjectValue(global::Microsoft.Graph.Models.OpenComplexDictionaryType.CreateFromDiscriminatorValue); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("baseline", Baseline); + writer.WriteObjectValue("createdBy", CreatedBy); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteObjectValue("lastModifiedBy", LastModifiedBy); + writer.WriteEnumValue("mode", Mode); + writer.WriteObjectValue("parameters", Parameters); + writer.WriteEnumValue("status", Status); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationMonitorCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationMonitorCollectionResponse.cs new file mode 100644 index 00000000000..54e0ce90ecc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationMonitorCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationMonitorCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.ConfigurationMonitorCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ConfigurationMonitorCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConfigurationMonitor.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationMonitoringResult.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationMonitoringResult.cs new file mode 100644 index 00000000000..3ab388e71eb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationMonitoringResult.cs @@ -0,0 +1,126 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationMonitoringResult : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Number of drifts observed during a monitor run. Supports $filter (eq, ne, ge, le) and $orderby. + public int? DriftsCount + { + get { return BackingStore?.Get("driftsCount"); } + set { BackingStore?.Set("driftsCount", value); } + } + /// All the error details that prevent the monitor from running successfully. The error details are a contained entity. Returned only on $select. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ErrorDetails + { + get { return BackingStore?.Get?>("errorDetails"); } + set { BackingStore?.Set("errorDetails", value); } + } +#nullable restore +#else + public List ErrorDetails + { + get { return BackingStore?.Get>("errorDetails"); } + set { BackingStore?.Set("errorDetails", value); } + } +#endif + /// Globally unique identifier (GUID) of the monitor. System-generated. Supports $filter (eq, ne). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MonitorId + { + get { return BackingStore?.Get("monitorId"); } + set { BackingStore?.Set("monitorId", value); } + } +#nullable restore +#else + public string MonitorId + { + get { return BackingStore?.Get("monitorId"); } + set { BackingStore?.Set("monitorId", value); } + } +#endif + /// Date and time at which the monitor run completed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby. + public DateTimeOffset? RunCompletionDateTime + { + get { return BackingStore?.Get("runCompletionDateTime"); } + set { BackingStore?.Set("runCompletionDateTime", value); } + } + /// Date and time at which the monitor run initiated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby. + public DateTimeOffset? RunInitiationDateTime + { + get { return BackingStore?.Get("runInitiationDateTime"); } + set { BackingStore?.Set("runInitiationDateTime", value); } + } + /// The runStatus property + public global::Microsoft.Graph.Models.MonitorRunStatus? RunStatus + { + get { return BackingStore?.Get("runStatus"); } + set { BackingStore?.Set("runStatus", value); } + } + /// Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. Supports $filter (eq, ne). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } +#nullable restore +#else + public string TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.ConfigurationMonitoringResult CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ConfigurationMonitoringResult(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "driftsCount", n => { DriftsCount = n.GetIntValue(); } }, + { "errorDetails", n => { ErrorDetails = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ErrorDetail.CreateFromDiscriminatorValue)?.AsList(); } }, + { "monitorId", n => { MonitorId = n.GetStringValue(); } }, + { "runCompletionDateTime", n => { RunCompletionDateTime = n.GetDateTimeOffsetValue(); } }, + { "runInitiationDateTime", n => { RunInitiationDateTime = n.GetDateTimeOffsetValue(); } }, + { "runStatus", n => { RunStatus = n.GetEnumValue(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("runStatus", RunStatus); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationMonitoringResultCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationMonitoringResultCollectionResponse.cs new file mode 100644 index 00000000000..9bef785450f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationMonitoringResultCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationMonitoringResultCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.ConfigurationMonitoringResultCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ConfigurationMonitoringResultCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConfigurationMonitoringResult.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationSnapshotJob.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationSnapshotJob.cs new file mode 100644 index 00000000000..31500aad085 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationSnapshotJob.cs @@ -0,0 +1,191 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationSnapshotJob : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The date and time when the snapshot job was completed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby. + public DateTimeOffset? CompletedDateTime + { + get { return BackingStore?.Get("completedDateTime"); } + set { BackingStore?.Set("completedDateTime", value); } + } + /// The createdBy property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentitySet? CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentitySet CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#endif + /// The date and time when the snapshot job was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// User-friendly description of the snapshot given by the user. Supports $filter (eq, ne, startsWith) and $orderby. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif + /// User-friendly name provided by the user during snapshot creation. Supports $filter (eq, ne, startsWith) and $orderby. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// Details of errors related to the reasons why the snapshot can't complete. Returned only on $select. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ErrorDetails + { + get { return BackingStore?.Get?>("errorDetails"); } + set { BackingStore?.Set("errorDetails", value); } + } +#nullable restore +#else + public List ErrorDetails + { + get { return BackingStore?.Get>("errorDetails"); } + set { BackingStore?.Set("errorDetails", value); } + } +#endif + /// The URL at which the snapshot file resides. Returned only on $select. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceLocation + { + get { return BackingStore?.Get("resourceLocation"); } + set { BackingStore?.Set("resourceLocation", value); } + } +#nullable restore +#else + public string ResourceLocation + { + get { return BackingStore?.Get("resourceLocation"); } + set { BackingStore?.Set("resourceLocation", value); } + } +#endif + /// The names of all resources included in the request body by the user who created the snapshot. Fetched by the system. Returned only on $select. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Resources + { + get { return BackingStore?.Get?>("resources"); } + set { BackingStore?.Set("resources", value); } + } +#nullable restore +#else + public List Resources + { + get { return BackingStore?.Get>("resources"); } + set { BackingStore?.Set("resources", value); } + } +#endif + /// The status property + public global::Microsoft.Graph.Models.SnapshotJobStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// Globally unique identifier (GUID) of the tenant for which the snapshot is created. Supports $filter (eq, ne). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } +#nullable restore +#else + public string TenantId + { + get { return BackingStore?.Get("tenantId"); } + set { BackingStore?.Set("tenantId", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.ConfigurationSnapshotJob CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ConfigurationSnapshotJob(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "completedDateTime", n => { CompletedDateTime = n.GetDateTimeOffsetValue(); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "errorDetails", n => { ErrorDetails = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "resourceLocation", n => { ResourceLocation = n.GetStringValue(); } }, + { "resources", n => { Resources = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "tenantId", n => { TenantId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("createdBy", CreatedBy); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteCollectionOfPrimitiveValues("resources", Resources); + writer.WriteEnumValue("status", Status); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationSnapshotJobCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationSnapshotJobCollectionResponse.cs new file mode 100644 index 00000000000..60dcac1cd61 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfigurationSnapshotJobCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ConfigurationSnapshotJobCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.ConfigurationSnapshotJobCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ConfigurationSnapshotJobCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConfigurationSnapshotJob.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Contact.cs b/src/Microsoft.Graph/Generated/Models/Contact.cs index 8165f461d22..5875392ac7c 100644 --- a/src/Microsoft.Graph/Generated/Models/Contact.cs +++ b/src/Microsoft.Graph/Generated/Models/Contact.cs @@ -465,6 +465,22 @@ public string PersonalNotes get { return BackingStore?.Get("photo"); } set { BackingStore?.Set("photo", value); } } +#endif + /// The contact's primary email address. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.EmailAddress? PrimaryEmailAddress + { + get { return BackingStore?.Get("primaryEmailAddress"); } + set { BackingStore?.Set("primaryEmailAddress", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.EmailAddress PrimaryEmailAddress + { + get { return BackingStore?.Get("primaryEmailAddress"); } + set { BackingStore?.Set("primaryEmailAddress", value); } + } #endif /// The contact's profession. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -481,6 +497,22 @@ public string Profession get { return BackingStore?.Get("profession"); } set { BackingStore?.Set("profession", value); } } +#endif + /// The contact's secondary email address. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.EmailAddress? SecondaryEmailAddress + { + get { return BackingStore?.Get("secondaryEmailAddress"); } + set { BackingStore?.Set("secondaryEmailAddress", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.EmailAddress SecondaryEmailAddress + { + get { return BackingStore?.Get("secondaryEmailAddress"); } + set { BackingStore?.Set("secondaryEmailAddress", value); } + } #endif /// The collection of single-value extended properties defined for the contact. Read-only. Nullable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -529,6 +561,22 @@ public string Surname get { return BackingStore?.Get("surname"); } set { BackingStore?.Set("surname", value); } } +#endif + /// The contact's tertiary email address. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.EmailAddress? TertiaryEmailAddress + { + get { return BackingStore?.Get("tertiaryEmailAddress"); } + set { BackingStore?.Set("tertiaryEmailAddress", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.EmailAddress TertiaryEmailAddress + { + get { return BackingStore?.Get("tertiaryEmailAddress"); } + set { BackingStore?.Set("tertiaryEmailAddress", value); } + } #endif /// The contact's title. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -648,10 +696,13 @@ public override IDictionary> GetFieldDeserializers() { "parentFolderId", n => { ParentFolderId = n.GetStringValue(); } }, { "personalNotes", n => { PersonalNotes = n.GetStringValue(); } }, { "photo", n => { Photo = n.GetObjectValue(global::Microsoft.Graph.Models.ProfilePhoto.CreateFromDiscriminatorValue); } }, + { "primaryEmailAddress", n => { PrimaryEmailAddress = n.GetObjectValue(global::Microsoft.Graph.Models.EmailAddress.CreateFromDiscriminatorValue); } }, { "profession", n => { Profession = n.GetStringValue(); } }, + { "secondaryEmailAddress", n => { SecondaryEmailAddress = n.GetObjectValue(global::Microsoft.Graph.Models.EmailAddress.CreateFromDiscriminatorValue); } }, { "singleValueExtendedProperties", n => { SingleValueExtendedProperties = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SingleValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.AsList(); } }, { "spouseName", n => { SpouseName = n.GetStringValue(); } }, { "surname", n => { Surname = n.GetStringValue(); } }, + { "tertiaryEmailAddress", n => { TertiaryEmailAddress = n.GetObjectValue(global::Microsoft.Graph.Models.EmailAddress.CreateFromDiscriminatorValue); } }, { "title", n => { Title = n.GetStringValue(); } }, { "yomiCompanyName", n => { YomiCompanyName = n.GetStringValue(); } }, { "yomiGivenName", n => { YomiGivenName = n.GetStringValue(); } }, @@ -695,10 +746,13 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("parentFolderId", ParentFolderId); writer.WriteStringValue("personalNotes", PersonalNotes); writer.WriteObjectValue("photo", Photo); + writer.WriteObjectValue("primaryEmailAddress", PrimaryEmailAddress); writer.WriteStringValue("profession", Profession); + writer.WriteObjectValue("secondaryEmailAddress", SecondaryEmailAddress); writer.WriteCollectionOfObjectValues("singleValueExtendedProperties", SingleValueExtendedProperties); writer.WriteStringValue("spouseName", SpouseName); writer.WriteStringValue("surname", Surname); + writer.WriteObjectValue("tertiaryEmailAddress", TertiaryEmailAddress); writer.WriteStringValue("title", Title); writer.WriteStringValue("yomiCompanyName", YomiCompanyName); writer.WriteStringValue("yomiGivenName", YomiGivenName); diff --git a/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyAppServiceConnectSetting.cs b/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyAppServiceConnectSetting.cs new file mode 100644 index 00000000000..f28ec564372 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyAppServiceConnectSetting.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CrossTenantAccessPolicyAppServiceConnectSetting : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The applications property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.CrossTenantAccessPolicyTargetConfiguration? Applications + { + get { return BackingStore?.Get("applications"); } + set { BackingStore?.Set("applications", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.CrossTenantAccessPolicyTargetConfiguration Applications + { + get { return BackingStore?.Get("applications"); } + set { BackingStore?.Set("applications", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CrossTenantAccessPolicyAppServiceConnectSetting() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.CrossTenantAccessPolicyAppServiceConnectSetting CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.CrossTenantAccessPolicyAppServiceConnectSetting(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "applications", n => { Applications = n.GetObjectValue(global::Microsoft.Graph.Models.CrossTenantAccessPolicyTargetConfiguration.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("applications", Applications); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyConfigurationDefault.cs b/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyConfigurationDefault.cs index 4f4c211f1f9..93735dcc4eb 100644 --- a/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyConfigurationDefault.cs +++ b/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyConfigurationDefault.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Models public partial class CrossTenantAccessPolicyConfigurationDefault : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { + /// The appServiceConnectInbound property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.CrossTenantAccessPolicyAppServiceConnectSetting? AppServiceConnectInbound + { + get { return BackingStore?.Get("appServiceConnectInbound"); } + set { BackingStore?.Set("appServiceConnectInbound", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.CrossTenantAccessPolicyAppServiceConnectSetting AppServiceConnectInbound + { + get { return BackingStore?.Get("appServiceConnectInbound"); } + set { BackingStore?.Set("appServiceConnectInbound", value); } + } +#endif /// Determines the default configuration for automatic user consent settings. The inboundAllowed and outboundAllowed properties are always false and can't be updated in the default configuration. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -130,6 +146,38 @@ public bool? IsServiceDefault get { return BackingStore?.Get("isServiceDefault"); } set { BackingStore?.Set("isServiceDefault", value); } } + /// The m365CollaborationInbound property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.CrossTenantAccessPolicyM365CollaborationInboundSetting? M365CollaborationInbound + { + get { return BackingStore?.Get("m365CollaborationInbound"); } + set { BackingStore?.Set("m365CollaborationInbound", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.CrossTenantAccessPolicyM365CollaborationInboundSetting M365CollaborationInbound + { + get { return BackingStore?.Get("m365CollaborationInbound"); } + set { BackingStore?.Set("m365CollaborationInbound", value); } + } +#endif + /// The m365CollaborationOutbound property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.CrossTenantAccessPolicyM365CollaborationOutboundSetting? M365CollaborationOutbound + { + get { return BackingStore?.Get("m365CollaborationOutbound"); } + set { BackingStore?.Set("m365CollaborationOutbound", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.CrossTenantAccessPolicyM365CollaborationOutboundSetting M365CollaborationOutbound + { + get { return BackingStore?.Get("m365CollaborationOutbound"); } + set { BackingStore?.Set("m365CollaborationOutbound", value); } + } +#endif /// Defines the default tenant restrictions configuration for users in your organization who access an external organization on your network or devices. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -164,6 +212,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "appServiceConnectInbound", n => { AppServiceConnectInbound = n.GetObjectValue(global::Microsoft.Graph.Models.CrossTenantAccessPolicyAppServiceConnectSetting.CreateFromDiscriminatorValue); } }, { "automaticUserConsentSettings", n => { AutomaticUserConsentSettings = n.GetObjectValue(global::Microsoft.Graph.Models.InboundOutboundPolicyConfiguration.CreateFromDiscriminatorValue); } }, { "b2bCollaborationInbound", n => { B2bCollaborationInbound = n.GetObjectValue(global::Microsoft.Graph.Models.CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, { "b2bCollaborationOutbound", n => { B2bCollaborationOutbound = n.GetObjectValue(global::Microsoft.Graph.Models.CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, @@ -172,6 +221,8 @@ public override IDictionary> GetFieldDeserializers() { "inboundTrust", n => { InboundTrust = n.GetObjectValue(global::Microsoft.Graph.Models.CrossTenantAccessPolicyInboundTrust.CreateFromDiscriminatorValue); } }, { "invitationRedemptionIdentityProviderConfiguration", n => { InvitationRedemptionIdentityProviderConfiguration = n.GetObjectValue(global::Microsoft.Graph.Models.DefaultInvitationRedemptionIdentityProviderConfiguration.CreateFromDiscriminatorValue); } }, { "isServiceDefault", n => { IsServiceDefault = n.GetBoolValue(); } }, + { "m365CollaborationInbound", n => { M365CollaborationInbound = n.GetObjectValue(global::Microsoft.Graph.Models.CrossTenantAccessPolicyM365CollaborationInboundSetting.CreateFromDiscriminatorValue); } }, + { "m365CollaborationOutbound", n => { M365CollaborationOutbound = n.GetObjectValue(global::Microsoft.Graph.Models.CrossTenantAccessPolicyM365CollaborationOutboundSetting.CreateFromDiscriminatorValue); } }, { "tenantRestrictions", n => { TenantRestrictions = n.GetObjectValue(global::Microsoft.Graph.Models.CrossTenantAccessPolicyTenantRestrictions.CreateFromDiscriminatorValue); } }, }; } @@ -183,6 +234,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteObjectValue("appServiceConnectInbound", AppServiceConnectInbound); writer.WriteObjectValue("automaticUserConsentSettings", AutomaticUserConsentSettings); writer.WriteObjectValue("b2bCollaborationInbound", B2bCollaborationInbound); writer.WriteObjectValue("b2bCollaborationOutbound", B2bCollaborationOutbound); @@ -191,6 +243,8 @@ public override void Serialize(ISerializationWriter writer) writer.WriteObjectValue("inboundTrust", InboundTrust); writer.WriteObjectValue("invitationRedemptionIdentityProviderConfiguration", InvitationRedemptionIdentityProviderConfiguration); writer.WriteBoolValue("isServiceDefault", IsServiceDefault); + writer.WriteObjectValue("m365CollaborationInbound", M365CollaborationInbound); + writer.WriteObjectValue("m365CollaborationOutbound", M365CollaborationOutbound); writer.WriteObjectValue("tenantRestrictions", TenantRestrictions); } } diff --git a/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyConfigurationPartner.cs b/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyConfigurationPartner.cs index ac4b8b1b020..1ae9bdb41d3 100644 --- a/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyConfigurationPartner.cs +++ b/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyConfigurationPartner.cs @@ -19,6 +19,22 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } + /// The appServiceConnectInbound property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.CrossTenantAccessPolicyAppServiceConnectSetting? AppServiceConnectInbound + { + get { return BackingStore?.Get("appServiceConnectInbound"); } + set { BackingStore?.Set("appServiceConnectInbound", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.CrossTenantAccessPolicyAppServiceConnectSetting AppServiceConnectInbound + { + get { return BackingStore?.Get("appServiceConnectInbound"); } + set { BackingStore?.Set("appServiceConnectInbound", value); } + } +#endif /// Determines the partner-specific configuration for automatic user consent settings. Unless specifically configured, the inboundAllowed and outboundAllowed properties are null and inherit from the default settings, which is always false. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -145,6 +161,38 @@ public bool? IsServiceProvider get { return BackingStore?.Get("isServiceProvider"); } set { BackingStore?.Set("isServiceProvider", value); } } + /// The m365CollaborationInbound property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.CrossTenantAccessPolicyM365CollaborationInboundSetting? M365CollaborationInbound + { + get { return BackingStore?.Get("m365CollaborationInbound"); } + set { BackingStore?.Set("m365CollaborationInbound", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.CrossTenantAccessPolicyM365CollaborationInboundSetting M365CollaborationInbound + { + get { return BackingStore?.Get("m365CollaborationInbound"); } + set { BackingStore?.Set("m365CollaborationInbound", value); } + } +#endif + /// The m365CollaborationOutbound property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.CrossTenantAccessPolicyM365CollaborationOutboundSetting? M365CollaborationOutbound + { + get { return BackingStore?.Get("m365CollaborationOutbound"); } + set { BackingStore?.Set("m365CollaborationOutbound", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.CrossTenantAccessPolicyM365CollaborationOutboundSetting M365CollaborationOutbound + { + get { return BackingStore?.Get("m365CollaborationOutbound"); } + set { BackingStore?.Set("m365CollaborationOutbound", value); } + } +#endif /// The OdataType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -219,6 +267,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "appServiceConnectInbound", n => { AppServiceConnectInbound = n.GetObjectValue(global::Microsoft.Graph.Models.CrossTenantAccessPolicyAppServiceConnectSetting.CreateFromDiscriminatorValue); } }, { "automaticUserConsentSettings", n => { AutomaticUserConsentSettings = n.GetObjectValue(global::Microsoft.Graph.Models.InboundOutboundPolicyConfiguration.CreateFromDiscriminatorValue); } }, { "b2bCollaborationInbound", n => { B2bCollaborationInbound = n.GetObjectValue(global::Microsoft.Graph.Models.CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, { "b2bCollaborationOutbound", n => { B2bCollaborationOutbound = n.GetObjectValue(global::Microsoft.Graph.Models.CrossTenantAccessPolicyB2BSetting.CreateFromDiscriminatorValue); } }, @@ -228,6 +277,8 @@ public virtual IDictionary> GetFieldDeserializers() { "inboundTrust", n => { InboundTrust = n.GetObjectValue(global::Microsoft.Graph.Models.CrossTenantAccessPolicyInboundTrust.CreateFromDiscriminatorValue); } }, { "isInMultiTenantOrganization", n => { IsInMultiTenantOrganization = n.GetBoolValue(); } }, { "isServiceProvider", n => { IsServiceProvider = n.GetBoolValue(); } }, + { "m365CollaborationInbound", n => { M365CollaborationInbound = n.GetObjectValue(global::Microsoft.Graph.Models.CrossTenantAccessPolicyM365CollaborationInboundSetting.CreateFromDiscriminatorValue); } }, + { "m365CollaborationOutbound", n => { M365CollaborationOutbound = n.GetObjectValue(global::Microsoft.Graph.Models.CrossTenantAccessPolicyM365CollaborationOutboundSetting.CreateFromDiscriminatorValue); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, { "tenantId", n => { TenantId = n.GetStringValue(); } }, { "tenantRestrictions", n => { TenantRestrictions = n.GetObjectValue(global::Microsoft.Graph.Models.CrossTenantAccessPolicyTenantRestrictions.CreateFromDiscriminatorValue); } }, @@ -240,6 +291,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("appServiceConnectInbound", AppServiceConnectInbound); writer.WriteObjectValue("automaticUserConsentSettings", AutomaticUserConsentSettings); writer.WriteObjectValue("b2bCollaborationInbound", B2bCollaborationInbound); writer.WriteObjectValue("b2bCollaborationOutbound", B2bCollaborationOutbound); @@ -249,6 +301,8 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteObjectValue("inboundTrust", InboundTrust); writer.WriteBoolValue("isInMultiTenantOrganization", IsInMultiTenantOrganization); writer.WriteBoolValue("isServiceProvider", IsServiceProvider); + writer.WriteObjectValue("m365CollaborationInbound", M365CollaborationInbound); + writer.WriteObjectValue("m365CollaborationOutbound", M365CollaborationOutbound); writer.WriteStringValue("@odata.type", OdataType); writer.WriteStringValue("tenantId", TenantId); writer.WriteObjectValue("tenantRestrictions", TenantRestrictions); diff --git a/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyM365CollaborationInboundSetting.cs b/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyM365CollaborationInboundSetting.cs new file mode 100644 index 00000000000..864c5d9393f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyM365CollaborationInboundSetting.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CrossTenantAccessPolicyM365CollaborationInboundSetting : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The users property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.CrossTenantAccessPolicyTargetConfiguration? Users + { + get { return BackingStore?.Get("users"); } + set { BackingStore?.Set("users", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.CrossTenantAccessPolicyTargetConfiguration Users + { + get { return BackingStore?.Get("users"); } + set { BackingStore?.Set("users", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CrossTenantAccessPolicyM365CollaborationInboundSetting() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.CrossTenantAccessPolicyM365CollaborationInboundSetting CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.CrossTenantAccessPolicyM365CollaborationInboundSetting(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "users", n => { Users = n.GetObjectValue(global::Microsoft.Graph.Models.CrossTenantAccessPolicyTargetConfiguration.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("users", Users); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyM365CollaborationOutboundSetting.cs b/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyM365CollaborationOutboundSetting.cs new file mode 100644 index 00000000000..132dc05144d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CrossTenantAccessPolicyM365CollaborationOutboundSetting.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CrossTenantAccessPolicyM365CollaborationOutboundSetting : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The usersAndGroups property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.CrossTenantAccessPolicyTargetConfiguration? UsersAndGroups + { + get { return BackingStore?.Get("usersAndGroups"); } + set { BackingStore?.Set("usersAndGroups", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.CrossTenantAccessPolicyTargetConfiguration UsersAndGroups + { + get { return BackingStore?.Get("usersAndGroups"); } + set { BackingStore?.Set("usersAndGroups", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CrossTenantAccessPolicyM365CollaborationOutboundSetting() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.CrossTenantAccessPolicyM365CollaborationOutboundSetting CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.CrossTenantAccessPolicyM365CollaborationOutboundSetting(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "usersAndGroups", n => { UsersAndGroups = n.GetObjectValue(global::Microsoft.Graph.Models.CrossTenantAccessPolicyTargetConfiguration.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("usersAndGroups", UsersAndGroups); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CustomAuthenticationExtension.cs b/src/Microsoft.Graph/Generated/Models/CustomAuthenticationExtension.cs index 7061159fe71..8d8d022ea48 100644 --- a/src/Microsoft.Graph/Generated/Models/CustomAuthenticationExtension.cs +++ b/src/Microsoft.Graph/Generated/Models/CustomAuthenticationExtension.cs @@ -49,6 +49,7 @@ public CustomAuthenticationExtension() : base() "#microsoft.graph.onAttributeCollectionStartCustomExtension" => new global::Microsoft.Graph.Models.OnAttributeCollectionStartCustomExtension(), "#microsoft.graph.onAttributeCollectionSubmitCustomExtension" => new global::Microsoft.Graph.Models.OnAttributeCollectionSubmitCustomExtension(), "#microsoft.graph.onOtpSendCustomExtension" => new global::Microsoft.Graph.Models.OnOtpSendCustomExtension(), + "#microsoft.graph.onPasswordSubmitCustomExtension" => new global::Microsoft.Graph.Models.OnPasswordSubmitCustomExtension(), "#microsoft.graph.onTokenIssuanceStartCustomExtension" => new global::Microsoft.Graph.Models.OnTokenIssuanceStartCustomExtension(), _ => new global::Microsoft.Graph.Models.CustomAuthenticationExtension(), }; diff --git a/src/Microsoft.Graph/Generated/Models/CustomCalloutExtension.cs b/src/Microsoft.Graph/Generated/Models/CustomCalloutExtension.cs index 45e26c18155..8c54aa72dec 100644 --- a/src/Microsoft.Graph/Generated/Models/CustomCalloutExtension.cs +++ b/src/Microsoft.Graph/Generated/Models/CustomCalloutExtension.cs @@ -111,6 +111,7 @@ public string DisplayName "#microsoft.graph.onAttributeCollectionStartCustomExtension" => new global::Microsoft.Graph.Models.OnAttributeCollectionStartCustomExtension(), "#microsoft.graph.onAttributeCollectionSubmitCustomExtension" => new global::Microsoft.Graph.Models.OnAttributeCollectionSubmitCustomExtension(), "#microsoft.graph.onOtpSendCustomExtension" => new global::Microsoft.Graph.Models.OnOtpSendCustomExtension(), + "#microsoft.graph.onPasswordSubmitCustomExtension" => new global::Microsoft.Graph.Models.OnPasswordSubmitCustomExtension(), "#microsoft.graph.onTokenIssuanceStartCustomExtension" => new global::Microsoft.Graph.Models.OnTokenIssuanceStartCustomExtension(), _ => new global::Microsoft.Graph.Models.CustomCalloutExtension(), }; diff --git a/src/Microsoft.Graph/Generated/Models/Dictionary.cs b/src/Microsoft.Graph/Generated/Models/Dictionary.cs index d5926cb2f52..d697bf99c2b 100644 --- a/src/Microsoft.Graph/Generated/Models/Dictionary.cs +++ b/src/Microsoft.Graph/Generated/Models/Dictionary.cs @@ -58,6 +58,7 @@ public Dictionary() { "#microsoft.graph.customMetadataDictionary" => new global::Microsoft.Graph.Models.CustomMetadataDictionary(), "#microsoft.graph.fileStorageContainerCustomPropertyDictionary" => new global::Microsoft.Graph.Models.FileStorageContainerCustomPropertyDictionary(), + "#microsoft.graph.openComplexDictionaryType" => new global::Microsoft.Graph.Models.OpenComplexDictionaryType(), "#microsoft.graph.resultTemplateDictionary" => new global::Microsoft.Graph.Models.ResultTemplateDictionary(), _ => new global::Microsoft.Graph.Models.Dictionary(), }; diff --git a/src/Microsoft.Graph/Generated/Models/DirectoryObject.cs b/src/Microsoft.Graph/Generated/Models/DirectoryObject.cs index 8fe3a73d8f6..cc964994e37 100644 --- a/src/Microsoft.Graph/Generated/Models/DirectoryObject.cs +++ b/src/Microsoft.Graph/Generated/Models/DirectoryObject.cs @@ -31,6 +31,10 @@ public DateTimeOffset? DeletedDateTime { "#microsoft.graph.activityBasedTimeoutPolicy" => new global::Microsoft.Graph.Models.ActivityBasedTimeoutPolicy(), "#microsoft.graph.administrativeUnit" => new global::Microsoft.Graph.Models.AdministrativeUnit(), + "#microsoft.graph.agentIdentity" => new global::Microsoft.Graph.Models.AgentIdentity(), + "#microsoft.graph.agentIdentityBlueprint" => new global::Microsoft.Graph.Models.AgentIdentityBlueprint(), + "#microsoft.graph.agentIdentityBlueprintPrincipal" => new global::Microsoft.Graph.Models.AgentIdentityBlueprintPrincipal(), + "#microsoft.graph.agentUser" => new global::Microsoft.Graph.Models.AgentUser(), "#microsoft.graph.application" => new global::Microsoft.Graph.Models.Application(), "#microsoft.graph.appManagementPolicy" => new global::Microsoft.Graph.Models.AppManagementPolicy(), "#microsoft.graph.appRoleAssignment" => new global::Microsoft.Graph.Models.AppRoleAssignment(), @@ -50,6 +54,7 @@ public DateTimeOffset? DeletedDateTime "#microsoft.graph.groupSettingTemplate" => new global::Microsoft.Graph.Models.GroupSettingTemplate(), "#microsoft.graph.homeRealmDiscoveryPolicy" => new global::Microsoft.Graph.Models.HomeRealmDiscoveryPolicy(), "#microsoft.graph.identitySecurityDefaultsEnforcementPolicy" => new global::Microsoft.Graph.Models.IdentitySecurityDefaultsEnforcementPolicy(), + "#microsoft.graph.mailbox" => new global::Microsoft.Graph.Models.Mailbox(), "#microsoft.graph.multiTenantOrganizationMember" => new global::Microsoft.Graph.Models.MultiTenantOrganizationMember(), "#microsoft.graph.organization" => new global::Microsoft.Graph.Models.Organization(), "#microsoft.graph.orgContact" => new global::Microsoft.Graph.Models.OrgContact(), diff --git a/src/Microsoft.Graph/Generated/Models/DlpAction.cs b/src/Microsoft.Graph/Generated/Models/DlpAction.cs index 4257056b7eb..520d94fc556 100644 --- a/src/Microsoft.Graph/Generated/Models/DlpAction.cs +++ b/src/Microsoft.Graph/Generated/Models/DlpAction.cs @@ -56,5 +56,9 @@ public enum DlpAction #pragma warning disable CS1591 SPSharingGenerateIncidentReport, #pragma warning restore CS1591 + [EnumMember(Value = "restrictWebGrounding")] + #pragma warning disable CS1591 + RestrictWebGrounding, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/DriftStatus.cs b/src/Microsoft.Graph/Generated/Models/DriftStatus.cs new file mode 100644 index 00000000000..677077cc5b2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DriftStatus.cs @@ -0,0 +1,23 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum DriftStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "active")] + #pragma warning disable CS1591 + Active, + #pragma warning restore CS1591 + [EnumMember(Value = "fixed")] + #pragma warning disable CS1591 + Fixed, + #pragma warning restore CS1591 + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/DriftedProperty.cs b/src/Microsoft.Graph/Generated/Models/DriftedProperty.cs new file mode 100644 index 00000000000..c491e296cf1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DriftedProperty.cs @@ -0,0 +1,132 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DriftedProperty : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The current value of the property. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public UntypedNode? CurrentValue + { + get { return BackingStore?.Get("currentValue"); } + set { BackingStore?.Set("currentValue", value); } + } +#nullable restore +#else + public UntypedNode CurrentValue + { + get { return BackingStore?.Get("currentValue"); } + set { BackingStore?.Set("currentValue", value); } + } +#endif + /// The desired value of the property as specified by admins in the baseline of the monitor body. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public UntypedNode? DesiredValue + { + get { return BackingStore?.Get("desiredValue"); } + set { BackingStore?.Set("desiredValue", value); } + } +#nullable restore +#else + public UntypedNode DesiredValue + { + get { return BackingStore?.Get("desiredValue"); } + set { BackingStore?.Set("desiredValue", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The name of the property. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PropertyName + { + get { return BackingStore?.Get("propertyName"); } + set { BackingStore?.Set("propertyName", value); } + } +#nullable restore +#else + public string PropertyName + { + get { return BackingStore?.Get("propertyName"); } + set { BackingStore?.Set("propertyName", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DriftedProperty() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.DriftedProperty CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.DriftedProperty(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "currentValue", n => { CurrentValue = n.GetObjectValue(UntypedNode.CreateFromDiscriminatorValue); } }, + { "desiredValue", n => { DesiredValue = n.GetObjectValue(UntypedNode.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "propertyName", n => { PropertyName = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index c0c860ae88f..22d25e69937 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -116,6 +116,10 @@ public Entity() "#microsoft.graph.administrativeUnit" => new global::Microsoft.Graph.Models.AdministrativeUnit(), "#microsoft.graph.adminMicrosoft365Apps" => new global::Microsoft.Graph.Models.AdminMicrosoft365Apps(), "#microsoft.graph.adminReportSettings" => new global::Microsoft.Graph.Models.AdminReportSettings(), + "#microsoft.graph.agentIdentity" => new global::Microsoft.Graph.Models.AgentIdentity(), + "#microsoft.graph.agentIdentityBlueprint" => new global::Microsoft.Graph.Models.AgentIdentityBlueprint(), + "#microsoft.graph.agentIdentityBlueprintPrincipal" => new global::Microsoft.Graph.Models.AgentIdentityBlueprintPrincipal(), + "#microsoft.graph.agentUser" => new global::Microsoft.Graph.Models.AgentUser(), "#microsoft.graph.agreement" => new global::Microsoft.Graph.Models.Agreement(), "#microsoft.graph.agreementAcceptance" => new global::Microsoft.Graph.Models.AgreementAcceptance(), "#microsoft.graph.agreementFile" => new global::Microsoft.Graph.Models.AgreementFile(), @@ -258,6 +262,12 @@ public Entity() "#microsoft.graph.conditionalAccessPolicy" => new global::Microsoft.Graph.Models.ConditionalAccessPolicy(), "#microsoft.graph.conditionalAccessRoot" => new global::Microsoft.Graph.Models.ConditionalAccessRoot(), "#microsoft.graph.conditionalAccessTemplate" => new global::Microsoft.Graph.Models.ConditionalAccessTemplate(), + "#microsoft.graph.configurationBaseline" => new global::Microsoft.Graph.Models.ConfigurationBaseline(), + "#microsoft.graph.configurationDrift" => new global::Microsoft.Graph.Models.ConfigurationDrift(), + "#microsoft.graph.configurationManagement" => new global::Microsoft.Graph.Models.ConfigurationManagement(), + "#microsoft.graph.configurationMonitor" => new global::Microsoft.Graph.Models.ConfigurationMonitor(), + "#microsoft.graph.configurationMonitoringResult" => new global::Microsoft.Graph.Models.ConfigurationMonitoringResult(), + "#microsoft.graph.configurationSnapshotJob" => new global::Microsoft.Graph.Models.ConfigurationSnapshotJob(), "#microsoft.graph.connectedOrganization" => new global::Microsoft.Graph.Models.ConnectedOrganization(), "#microsoft.graph.contact" => new global::Microsoft.Graph.Models.Contact(), "#microsoft.graph.contactFolder" => new global::Microsoft.Graph.Models.ContactFolder(), @@ -414,6 +424,7 @@ public Entity() "#microsoft.graph.exchangeMessageTraceDetail" => new global::Microsoft.Graph.Models.ExchangeMessageTraceDetail(), "#microsoft.graph.exchangeProtectionPolicy" => new global::Microsoft.Graph.Models.ExchangeProtectionPolicy(), "#microsoft.graph.exchangeRestoreSession" => new global::Microsoft.Graph.Models.ExchangeRestoreSession(), + "#microsoft.graph.exchangeSettings" => new global::Microsoft.Graph.Models.ExchangeSettings(), "#microsoft.graph.extension" => new global::Microsoft.Graph.Models.Extension(), "#microsoft.graph.extensionProperty" => new global::Microsoft.Graph.Models.ExtensionProperty(), "#microsoft.graph.externalAuthenticationMethod" => new global::Microsoft.Graph.Models.ExternalAuthenticationMethod(), @@ -537,6 +548,9 @@ public Entity() "#microsoft.graph.macOSMicrosoftEdgeApp" => new global::Microsoft.Graph.Models.MacOSMicrosoftEdgeApp(), "#microsoft.graph.macOSOfficeSuiteApp" => new global::Microsoft.Graph.Models.MacOSOfficeSuiteApp(), "#microsoft.graph.mailAssessmentRequest" => new global::Microsoft.Graph.Models.MailAssessmentRequest(), + "#microsoft.graph.mailbox" => new global::Microsoft.Graph.Models.Mailbox(), + "#microsoft.graph.mailboxFolder" => new global::Microsoft.Graph.Models.MailboxFolder(), + "#microsoft.graph.mailboxItem" => new global::Microsoft.Graph.Models.MailboxItem(), "#microsoft.graph.mailboxProtectionRule" => new global::Microsoft.Graph.Models.MailboxProtectionRule(), "#microsoft.graph.mailboxProtectionUnit" => new global::Microsoft.Graph.Models.MailboxProtectionUnit(), "#microsoft.graph.mailboxProtectionUnitsBulkAdditionJob" => new global::Microsoft.Graph.Models.MailboxProtectionUnitsBulkAdditionJob(), @@ -628,6 +642,8 @@ public Entity() "#microsoft.graph.onlineMeetingBase" => new global::Microsoft.Graph.Models.OnlineMeetingBase(), "#microsoft.graph.onlineMeetingEngagementConversation" => new global::Microsoft.Graph.Models.OnlineMeetingEngagementConversation(), "#microsoft.graph.onOtpSendCustomExtension" => new global::Microsoft.Graph.Models.OnOtpSendCustomExtension(), + "#microsoft.graph.onPasswordSubmitCustomExtension" => new global::Microsoft.Graph.Models.OnPasswordSubmitCustomExtension(), + "#microsoft.graph.onPasswordSubmitListener" => new global::Microsoft.Graph.Models.OnPasswordSubmitListener(), "#microsoft.graph.onPremisesConditionalAccessSettings" => new global::Microsoft.Graph.Models.OnPremisesConditionalAccessSettings(), "#microsoft.graph.onPremisesDirectorySynchronization" => new global::Microsoft.Graph.Models.OnPremisesDirectorySynchronization(), "#microsoft.graph.onPremisesSyncBehavior" => new global::Microsoft.Graph.Models.OnPremisesSyncBehavior(), @@ -662,6 +678,8 @@ public Entity() "#microsoft.graph.partners.billing.runningOperation" => new global::Microsoft.Graph.Models.Partners.Billing.RunningOperation(), "#microsoft.graph.partners.billing.unbilledReconciliation" => new global::Microsoft.Graph.Models.Partners.Billing.UnbilledReconciliation(), "#microsoft.graph.partners.billing.unbilledUsage" => new global::Microsoft.Graph.Models.Partners.Billing.UnbilledUsage(), + "#microsoft.graph.passkeyAuthenticationMethodTarget" => new global::Microsoft.Graph.Models.PasskeyAuthenticationMethodTarget(), + "#microsoft.graph.passkeyProfile" => new global::Microsoft.Graph.Models.PasskeyProfile(), "#microsoft.graph.passwordAuthenticationMethod" => new global::Microsoft.Graph.Models.PasswordAuthenticationMethod(), "#microsoft.graph.payload" => new global::Microsoft.Graph.Models.Payload(), "#microsoft.graph.peopleAdminSettings" => new global::Microsoft.Graph.Models.PeopleAdminSettings(), @@ -720,6 +738,7 @@ public Entity() "#microsoft.graph.privilegedAccessScheduleRequest" => new global::Microsoft.Graph.Models.PrivilegedAccessScheduleRequest(), "#microsoft.graph.profileCardProperty" => new global::Microsoft.Graph.Models.ProfileCardProperty(), "#microsoft.graph.profilePhoto" => new global::Microsoft.Graph.Models.ProfilePhoto(), + "#microsoft.graph.profileSource" => new global::Microsoft.Graph.Models.ProfileSource(), "#microsoft.graph.pronounsSettings" => new global::Microsoft.Graph.Models.PronounsSettings(), "#microsoft.graph.protectionPolicyBase" => new global::Microsoft.Graph.Models.ProtectionPolicyBase(), "#microsoft.graph.protectionRuleBase" => new global::Microsoft.Graph.Models.ProtectionRuleBase(), @@ -727,6 +746,10 @@ public Entity() "#microsoft.graph.protectionUnitsBulkJobBase" => new global::Microsoft.Graph.Models.ProtectionUnitsBulkJobBase(), "#microsoft.graph.provisioningObjectSummary" => new global::Microsoft.Graph.Models.ProvisioningObjectSummary(), "#microsoft.graph.publicKeyInfrastructureRoot" => new global::Microsoft.Graph.Models.PublicKeyInfrastructureRoot(), + "#microsoft.graph.qrCode" => new global::Microsoft.Graph.Models.QrCode(), + "#microsoft.graph.qrCodePinAuthenticationMethod" => new global::Microsoft.Graph.Models.QrCodePinAuthenticationMethod(), + "#microsoft.graph.qrCodePinAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Models.QrCodePinAuthenticationMethodConfiguration(), + "#microsoft.graph.qrPin" => new global::Microsoft.Graph.Models.QrPin(), "#microsoft.graph.rbacApplication" => new global::Microsoft.Graph.Models.RbacApplication(), "#microsoft.graph.readingAssignmentSubmission" => new global::Microsoft.Graph.Models.ReadingAssignmentSubmission(), "#microsoft.graph.readingCoachPassage" => new global::Microsoft.Graph.Models.ReadingCoachPassage(), @@ -874,6 +897,8 @@ public Entity() "#microsoft.graph.sharedPCConfiguration" => new global::Microsoft.Graph.Models.SharedPCConfiguration(), "#microsoft.graph.sharedWithChannelTeamInfo" => new global::Microsoft.Graph.Models.SharedWithChannelTeamInfo(), "#microsoft.graph.sharepoint" => new global::Microsoft.Graph.Models.Sharepoint(), + "#microsoft.graph.sharePointGroup" => new global::Microsoft.Graph.Models.SharePointGroup(), + "#microsoft.graph.sharePointGroupMember" => new global::Microsoft.Graph.Models.SharePointGroupMember(), "#microsoft.graph.sharePointMigrationEvent" => new global::Microsoft.Graph.Models.SharePointMigrationEvent(), "#microsoft.graph.sharePointMigrationFinishManifestFileUploadEvent" => new global::Microsoft.Graph.Models.SharePointMigrationFinishManifestFileUploadEvent(), "#microsoft.graph.sharePointMigrationJob" => new global::Microsoft.Graph.Models.SharePointMigrationJob(), @@ -932,11 +957,14 @@ public Entity() "#microsoft.graph.taskFileAttachment" => new global::Microsoft.Graph.Models.TaskFileAttachment(), "#microsoft.graph.team" => new global::Microsoft.Graph.Models.Team(), "#microsoft.graph.teamInfo" => new global::Microsoft.Graph.Models.TeamInfo(), + "#microsoft.graph.teamsAdministration.numberAssignment" => new global::Microsoft.Graph.Models.TeamsAdministration.NumberAssignment(), "#microsoft.graph.teamsAdministration.policyIdentifierDetail" => new global::Microsoft.Graph.Models.TeamsAdministration.PolicyIdentifierDetail(), "#microsoft.graph.teamsAdministration.teamsAdminRoot" => new global::Microsoft.Graph.Models.TeamsAdministration.TeamsAdminRoot(), "#microsoft.graph.teamsAdministration.teamsPolicyAssignment" => new global::Microsoft.Graph.Models.TeamsAdministration.TeamsPolicyAssignment(), "#microsoft.graph.teamsAdministration.teamsPolicyUserAssignment" => new global::Microsoft.Graph.Models.TeamsAdministration.TeamsPolicyUserAssignment(), "#microsoft.graph.teamsAdministration.teamsUserConfiguration" => new global::Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfiguration(), + "#microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation" => new global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation(), + "#microsoft.graph.teamsAdministration.telephoneNumberManagementRoot" => new global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberManagementRoot(), "#microsoft.graph.teamsApp" => new global::Microsoft.Graph.Models.TeamsApp(), "#microsoft.graph.teamsAppDefinition" => new global::Microsoft.Graph.Models.TeamsAppDefinition(), "#microsoft.graph.teamsAppInstallation" => new global::Microsoft.Graph.Models.TeamsAppInstallation(), diff --git a/src/Microsoft.Graph/Generated/Models/EnumeratedScopes.cs b/src/Microsoft.Graph/Generated/Models/EnumeratedScopes.cs new file mode 100644 index 00000000000..3b15f21de67 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/EnumeratedScopes.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EnumeratedScopes : global::Microsoft.Graph.Models.InheritableScopes, IParsable + #pragma warning restore CS1591 + { + /// 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. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Scopes + { + get { return BackingStore?.Get?>("scopes"); } + set { BackingStore?.Set("scopes", value); } + } +#nullable restore +#else + public List Scopes + { + get { return BackingStore?.Get>("scopes"); } + set { BackingStore?.Set("scopes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public EnumeratedScopes() : base() + { + OdataType = "#microsoft.graph.enumeratedScopes"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.EnumeratedScopes CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.EnumeratedScopes(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "scopes", n => { Scopes = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfPrimitiveValues("scopes", Scopes); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ErrorCorrectionLevel.cs b/src/Microsoft.Graph/Generated/Models/ErrorCorrectionLevel.cs new file mode 100644 index 00000000000..00fed84fd69 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ErrorCorrectionLevel.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ErrorCorrectionLevel + #pragma warning restore CS1591 + { + [EnumMember(Value = "l")] + #pragma warning disable CS1591 + L, + #pragma warning restore CS1591 + [EnumMember(Value = "m")] + #pragma warning disable CS1591 + M, + #pragma warning restore CS1591 + [EnumMember(Value = "q")] + #pragma warning disable CS1591 + Q, + #pragma warning restore CS1591 + [EnumMember(Value = "h")] + #pragma warning disable CS1591 + H, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ErrorDetail.cs b/src/Microsoft.Graph/Generated/Models/ErrorDetail.cs new file mode 100644 index 00000000000..2e987f819d8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ErrorDetail.cs @@ -0,0 +1,132 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ErrorDetail : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The message that describes the error to help the admin take action. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ErrorMessage + { + get { return BackingStore?.Get("errorMessage"); } + set { BackingStore?.Set("errorMessage", value); } + } +#nullable restore +#else + public string ErrorMessage + { + get { return BackingStore?.Get("errorMessage"); } + set { BackingStore?.Set("errorMessage", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The resource type identifier. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceInstanceName + { + get { return BackingStore?.Get("resourceInstanceName"); } + set { BackingStore?.Set("resourceInstanceName", value); } + } +#nullable restore +#else + public string ResourceInstanceName + { + get { return BackingStore?.Get("resourceInstanceName"); } + set { BackingStore?.Set("resourceInstanceName", value); } + } +#endif + /// Name of the resource type. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceType + { + get { return BackingStore?.Get("resourceType"); } + set { BackingStore?.Set("resourceType", value); } + } +#nullable restore +#else + public string ResourceType + { + get { return BackingStore?.Get("resourceType"); } + set { BackingStore?.Set("resourceType", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ErrorDetail() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ErrorDetail CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ErrorDetail(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "errorMessage", n => { ErrorMessage = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "resourceInstanceName", n => { ResourceInstanceName = n.GetStringValue(); } }, + { "resourceType", n => { ResourceType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ExchangeAdmin.cs b/src/Microsoft.Graph/Generated/Models/ExchangeAdmin.cs index d4dd4c24d9e..17528ad0c0c 100644 --- a/src/Microsoft.Graph/Generated/Models/ExchangeAdmin.cs +++ b/src/Microsoft.Graph/Generated/Models/ExchangeAdmin.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Models public partial class ExchangeAdmin : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { + /// The mailboxes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Mailboxes + { + get { return BackingStore?.Get?>("mailboxes"); } + set { BackingStore?.Set("mailboxes", value); } + } +#nullable restore +#else + public List Mailboxes + { + get { return BackingStore?.Get>("mailboxes"); } + set { BackingStore?.Set("mailboxes", value); } + } +#endif /// Represents a container for administrative resources to trace messages. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -46,6 +62,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "mailboxes", n => { Mailboxes = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Mailbox.CreateFromDiscriminatorValue)?.AsList(); } }, { "tracing", n => { Tracing = n.GetObjectValue(global::Microsoft.Graph.Models.MessageTracingRoot.CreateFromDiscriminatorValue); } }, }; } @@ -57,6 +74,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteCollectionOfObjectValues("mailboxes", Mailboxes); writer.WriteObjectValue("tracing", Tracing); } } diff --git a/src/Microsoft.Graph/Generated/Models/ExchangeSettings.cs b/src/Microsoft.Graph/Generated/Models/ExchangeSettings.cs new file mode 100644 index 00000000000..4d927d2f2b9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ExchangeSettings.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ExchangeSettings : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The primaryMailboxId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PrimaryMailboxId + { + get { return BackingStore?.Get("primaryMailboxId"); } + set { BackingStore?.Set("primaryMailboxId", value); } + } +#nullable restore +#else + public string PrimaryMailboxId + { + get { return BackingStore?.Get("primaryMailboxId"); } + set { BackingStore?.Set("primaryMailboxId", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.ExchangeSettings CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ExchangeSettings(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "primaryMailboxId", n => { PrimaryMailboxId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("primaryMailboxId", PrimaryMailboxId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ExportItemResponse.cs b/src/Microsoft.Graph/Generated/Models/ExportItemResponse.cs new file mode 100644 index 00000000000..a2ef813debf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ExportItemResponse.cs @@ -0,0 +1,153 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ExportItemResponse : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The changeKey property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ChangeKey + { + get { return BackingStore?.Get("changeKey"); } + set { BackingStore?.Set("changeKey", value); } + } +#nullable restore +#else + public string ChangeKey + { + get { return BackingStore?.Get("changeKey"); } + set { BackingStore?.Set("changeKey", value); } + } +#endif + /// The data property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public byte[]? Data + { + get { return BackingStore?.Get("data"); } + set { BackingStore?.Set("data", value); } + } +#nullable restore +#else + public byte[] Data + { + get { return BackingStore?.Get("data"); } + set { BackingStore?.Set("data", value); } + } +#endif + /// The error property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.MailTipsError? Error + { + get { return BackingStore?.Get("error"); } + set { BackingStore?.Set("error", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.MailTipsError Error + { + get { return BackingStore?.Get("error"); } + set { BackingStore?.Set("error", value); } + } +#endif + /// The itemId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ItemId + { + get { return BackingStore?.Get("itemId"); } + set { BackingStore?.Set("itemId", value); } + } +#nullable restore +#else + public string ItemId + { + get { return BackingStore?.Get("itemId"); } + set { BackingStore?.Set("itemId", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ExportItemResponse() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ExportItemResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ExportItemResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "changeKey", n => { ChangeKey = n.GetStringValue(); } }, + { "data", n => { Data = n.GetByteArrayValue(); } }, + { "error", n => { Error = n.GetObjectValue(global::Microsoft.Graph.Models.MailTipsError.CreateFromDiscriminatorValue); } }, + { "itemId", n => { ItemId = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("changeKey", ChangeKey); + writer.WriteByteArrayValue("data", Data); + writer.WriteObjectValue("error", Error); + writer.WriteStringValue("itemId", ItemId); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ExternalAuthenticationMethod.cs b/src/Microsoft.Graph/Generated/Models/ExternalAuthenticationMethod.cs index 107a64fe67c..5a2b63d3c93 100644 --- a/src/Microsoft.Graph/Generated/Models/ExternalAuthenticationMethod.cs +++ b/src/Microsoft.Graph/Generated/Models/ExternalAuthenticationMethod.cs @@ -28,7 +28,7 @@ public string ConfigurationId set { BackingStore?.Set("configurationId", value); } } #endif - /// Custom name given to the registered external authentication method. + /// Custom name given to the registered external MFA. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName diff --git a/src/Microsoft.Graph/Generated/Models/ExternalAuthenticationMethodConfiguration.cs b/src/Microsoft.Graph/Generated/Models/ExternalAuthenticationMethodConfiguration.cs index d294785d6f1..a8f889d4558 100644 --- a/src/Microsoft.Graph/Generated/Models/ExternalAuthenticationMethodConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/ExternalAuthenticationMethodConfiguration.cs @@ -28,7 +28,7 @@ public string AppId set { BackingStore?.Set("appId", value); } } #endif - /// Display name for the external authentication method. This name is shown to users during sign-in. + /// Display name for the external MFA. This name is shown to users during sign-in. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName diff --git a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/ContentCategory.cs b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/ContentCategory.cs new file mode 100644 index 00000000000..98aed349a46 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/ContentCategory.cs @@ -0,0 +1,72 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.ExternalConnectors +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ContentCategory + #pragma warning restore CS1591 + { + [EnumMember(Value = "uncategorized")] + #pragma warning disable CS1591 + Uncategorized, + #pragma warning restore CS1591 + [EnumMember(Value = "knowledgeBase")] + #pragma warning disable CS1591 + KnowledgeBase, + #pragma warning restore CS1591 + [EnumMember(Value = "wikis")] + #pragma warning disable CS1591 + Wikis, + #pragma warning restore CS1591 + [EnumMember(Value = "fileRepository")] + #pragma warning disable CS1591 + FileRepository, + #pragma warning restore CS1591 + [EnumMember(Value = "qna")] + #pragma warning disable CS1591 + Qna, + #pragma warning restore CS1591 + [EnumMember(Value = "crm")] + #pragma warning disable CS1591 + Crm, + #pragma warning restore CS1591 + [EnumMember(Value = "dashboard")] + #pragma warning disable CS1591 + Dashboard, + #pragma warning restore CS1591 + [EnumMember(Value = "people")] + #pragma warning disable CS1591 + People, + #pragma warning restore CS1591 + [EnumMember(Value = "media")] + #pragma warning disable CS1591 + Media, + #pragma warning restore CS1591 + [EnumMember(Value = "email")] + #pragma warning disable CS1591 + Email, + #pragma warning restore CS1591 + [EnumMember(Value = "messaging")] + #pragma warning disable CS1591 + Messaging, + #pragma warning restore CS1591 + [EnumMember(Value = "meetingTranscripts")] + #pragma warning disable CS1591 + MeetingTranscripts, + #pragma warning restore CS1591 + [EnumMember(Value = "taskManagement")] + #pragma warning disable CS1591 + TaskManagement, + #pragma warning restore CS1591 + [EnumMember(Value = "learningManagement")] + #pragma warning disable CS1591 + LearningManagement, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/ExternalConnection.cs b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/ExternalConnection.cs index b088b49d009..4207ab8bf26 100644 --- a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/ExternalConnection.cs +++ b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/ExternalConnection.cs @@ -60,6 +60,12 @@ public string ConnectorId set { BackingStore?.Set("connectorId", value); } } #endif + /// The contentCategory property + public global::Microsoft.Graph.Models.ExternalConnectors.ContentCategory? ContentCategory + { + get { return BackingStore?.Get("contentCategory"); } + set { BackingStore?.Set("contentCategory", value); } + } /// Description of the connection displayed in the Microsoft 365 admin center. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -199,6 +205,7 @@ public override IDictionary> GetFieldDeserializers() { "activitySettings", n => { ActivitySettings = n.GetObjectValue(global::Microsoft.Graph.Models.ExternalConnectors.ActivitySettings.CreateFromDiscriminatorValue); } }, { "configuration", n => { Configuration = n.GetObjectValue(global::Microsoft.Graph.Models.ExternalConnectors.Configuration.CreateFromDiscriminatorValue); } }, { "connectorId", n => { ConnectorId = n.GetStringValue(); } }, + { "contentCategory", n => { ContentCategory = n.GetEnumValue(); } }, { "description", n => { Description = n.GetStringValue(); } }, { "groups", n => { Groups = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ExternalConnectors.ExternalGroup.CreateFromDiscriminatorValue)?.AsList(); } }, { "items", n => { Items = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ExternalConnectors.ExternalItem.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -220,6 +227,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteObjectValue("activitySettings", ActivitySettings); writer.WriteObjectValue("configuration", Configuration); writer.WriteStringValue("connectorId", ConnectorId); + writer.WriteEnumValue("contentCategory", ContentCategory); writer.WriteStringValue("description", Description); writer.WriteCollectionOfObjectValues("groups", Groups); writer.WriteCollectionOfObjectValues("items", Items); diff --git a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Label.cs b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Label.cs index 537a15d5ef1..19d6dbf6623 100644 --- a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Label.cs +++ b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Label.cs @@ -48,9 +48,161 @@ public enum Label #pragma warning disable CS1591 UnknownFutureValue, #pragma warning restore CS1591 + [EnumMember(Value = "containerName")] + #pragma warning disable CS1591 + ContainerName, + #pragma warning restore CS1591 + [EnumMember(Value = "containerUrl")] + #pragma warning disable CS1591 + ContainerUrl, + #pragma warning restore CS1591 [EnumMember(Value = "iconUrl")] #pragma warning disable CS1591 IconUrl, #pragma warning restore CS1591 + [EnumMember(Value = "assignedToPeople")] + #pragma warning disable CS1591 + AssignedToPeople, + #pragma warning restore CS1591 + [EnumMember(Value = "closedBy")] + #pragma warning disable CS1591 + ClosedBy, + #pragma warning restore CS1591 + [EnumMember(Value = "closedDate")] + #pragma warning disable CS1591 + ClosedDate, + #pragma warning restore CS1591 + [EnumMember(Value = "priority")] + #pragma warning disable CS1591 + Priority, + #pragma warning restore CS1591 + [EnumMember(Value = "sprintName")] + #pragma warning disable CS1591 + SprintName, + #pragma warning restore CS1591 + [EnumMember(Value = "tags")] + #pragma warning disable CS1591 + Tags, + #pragma warning restore CS1591 + [EnumMember(Value = "severity")] + #pragma warning disable CS1591 + Severity, + #pragma warning restore CS1591 + [EnumMember(Value = "state")] + #pragma warning disable CS1591 + State, + #pragma warning restore CS1591 + [EnumMember(Value = "dueDate")] + #pragma warning disable CS1591 + DueDate, + #pragma warning restore CS1591 + [EnumMember(Value = "itemParentId")] + #pragma warning disable CS1591 + ItemParentId, + #pragma warning restore CS1591 + [EnumMember(Value = "itemPath")] + #pragma warning disable CS1591 + ItemPath, + #pragma warning restore CS1591 + [EnumMember(Value = "itemType")] + #pragma warning disable CS1591 + ItemType, + #pragma warning restore CS1591 + [EnumMember(Value = "numberOfReactions")] + #pragma warning disable CS1591 + NumberOfReactions, + #pragma warning restore CS1591 + [EnumMember(Value = "parentUrl")] + #pragma warning disable CS1591 + ParentUrl, + #pragma warning restore CS1591 + [EnumMember(Value = "priorityNormalized")] + #pragma warning disable CS1591 + PriorityNormalized, + #pragma warning restore CS1591 + [EnumMember(Value = "reportedBy")] + #pragma warning disable CS1591 + ReportedBy, + #pragma warning restore CS1591 + [EnumMember(Value = "secondaryId")] + #pragma warning disable CS1591 + SecondaryId, + #pragma warning restore CS1591 + [EnumMember(Value = "personEmails")] + #pragma warning disable CS1591 + PersonEmails, + #pragma warning restore CS1591 + [EnumMember(Value = "personAddresses")] + #pragma warning disable CS1591 + PersonAddresses, + #pragma warning restore CS1591 + [EnumMember(Value = "personAnniversaries")] + #pragma warning disable CS1591 + PersonAnniversaries, + #pragma warning restore CS1591 + [EnumMember(Value = "personName")] + #pragma warning disable CS1591 + PersonName, + #pragma warning restore CS1591 + [EnumMember(Value = "personNote")] + #pragma warning disable CS1591 + PersonNote, + #pragma warning restore CS1591 + [EnumMember(Value = "personPhones")] + #pragma warning disable CS1591 + PersonPhones, + #pragma warning restore CS1591 + [EnumMember(Value = "personCurrentPosition")] + #pragma warning disable CS1591 + PersonCurrentPosition, + #pragma warning restore CS1591 + [EnumMember(Value = "personWebAccounts")] + #pragma warning disable CS1591 + PersonWebAccounts, + #pragma warning restore CS1591 + [EnumMember(Value = "personWebSite")] + #pragma warning disable CS1591 + PersonWebSite, + #pragma warning restore CS1591 + [EnumMember(Value = "personSkills")] + #pragma warning disable CS1591 + PersonSkills, + #pragma warning restore CS1591 + [EnumMember(Value = "personProjects")] + #pragma warning disable CS1591 + PersonProjects, + #pragma warning restore CS1591 + [EnumMember(Value = "personAccount")] + #pragma warning disable CS1591 + PersonAccount, + #pragma warning restore CS1591 + [EnumMember(Value = "personAwards")] + #pragma warning disable CS1591 + PersonAwards, + #pragma warning restore CS1591 + [EnumMember(Value = "personCertifications")] + #pragma warning disable CS1591 + PersonCertifications, + #pragma warning restore CS1591 + [EnumMember(Value = "personAssistants")] + #pragma warning disable CS1591 + PersonAssistants, + #pragma warning restore CS1591 + [EnumMember(Value = "personColleagues")] + #pragma warning disable CS1591 + PersonColleagues, + #pragma warning restore CS1591 + [EnumMember(Value = "personManager")] + #pragma warning disable CS1591 + PersonManager, + #pragma warning restore CS1591 + [EnumMember(Value = "personAlternateContacts")] + #pragma warning disable CS1591 + PersonAlternateContacts, + #pragma warning restore CS1591 + [EnumMember(Value = "personEmergencyContacts")] + #pragma warning disable CS1591 + PersonEmergencyContacts, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Property.cs b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Property.cs index 7cdf0c6a3b1..3426b07443f 100644 --- a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Property.cs +++ b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Property.cs @@ -37,6 +37,22 @@ public List Aliases #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// Specifies a human-readable description that explains the purpose, usage, or guidance related to the property. This property enhances semantic understanding by helping Copilot interpret queries and accurately map them to properties that results in more relevant and precise responses. Optional but we recommend that you use this property for queryable properties. The maximum supported length is 200 characters. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif /// Specifies if the property is queryable. Queryable properties can be used in Keyword Query Language (KQL) queries. Optional. public bool? IsQueryable { @@ -61,7 +77,7 @@ public bool? IsSearchable get { return BackingStore?.Get("isSearchable"); } set { BackingStore?.Set("isSearchable", value); } } - /// Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: iconUrl. + /// Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional..The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, containerName, containerUrl, iconUrl, assignedTo, dueDate, closedDate, closedBy, reportedBy, sprintName, severity, state, priority, secondaryId, itemParentId, parentUrl, tags, itemType, itemPath, numReactions. Use the Prefer: include-unknown-enum-members request header to retrieve additional values defined in this evolvable enum,For People Connectors you can include : personEmails, personAddresses, personAnniversaries, personName, personNote, personPhones, personCurrentPosition, personWebAccounts, personWebSite, personSkills, personProjects, personAccount, personAwards, personCertifications, personAssistants, personColleagues, personManager, personAlternateContacts, personEmergencyContacts. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Labels @@ -142,6 +158,7 @@ public virtual IDictionary> GetFieldDeserializers() return new Dictionary> { { "aliases", n => { Aliases = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "description", n => { Description = n.GetStringValue(); } }, { "isQueryable", n => { IsQueryable = n.GetBoolValue(); } }, { "isRefinable", n => { IsRefinable = n.GetBoolValue(); } }, { "isRetrievable", n => { IsRetrievable = n.GetBoolValue(); } }, @@ -160,6 +177,7 @@ public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); writer.WriteCollectionOfPrimitiveValues("aliases", Aliases); + writer.WriteStringValue("description", Description); writer.WriteBoolValue("isQueryable", IsQueryable); writer.WriteBoolValue("isRefinable", IsRefinable); writer.WriteBoolValue("isRetrievable", IsRetrievable); diff --git a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/PropertyType.cs b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/PropertyType.cs index 2eed1d45689..cf9cb1f8719 100644 --- a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/PropertyType.cs +++ b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/PropertyType.cs @@ -48,5 +48,13 @@ public enum PropertyType #pragma warning disable CS1591 UnknownFutureValue, #pragma warning restore CS1591 + [EnumMember(Value = "principal")] + #pragma warning disable CS1591 + Principal, + #pragma warning restore CS1591 + [EnumMember(Value = "principalCollection")] + #pragma warning disable CS1591 + PrincipalCollection, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/Fido2AuthenticationMethod.cs b/src/Microsoft.Graph/Generated/Models/Fido2AuthenticationMethod.cs index dfd128aa4dc..4b0f1656333 100644 --- a/src/Microsoft.Graph/Generated/Models/Fido2AuthenticationMethod.cs +++ b/src/Microsoft.Graph/Generated/Models/Fido2AuthenticationMethod.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class Fido2AuthenticationMethod : global::Microsoft.Graph.Models.AuthenticationMethod, IParsable #pragma warning restore CS1591 { - /// Authenticator Attestation GUID, an identifier that indicates the type (e.g. make and model) of the authenticator. + /// Authenticator Attestation GUID, an identifier that indicates the type (such as make and model) of the authenticator. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AaGuid @@ -28,7 +28,7 @@ public string AaGuid set { BackingStore?.Set("aaGuid", value); } } #endif - /// The attestation certificate(s) attached to this security key. + /// The attestation certificate or certificates attached to this passkey. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? AttestationCertificates @@ -44,7 +44,7 @@ public List AttestationCertificates set { BackingStore?.Set("attestationCertificates", value); } } #endif - /// The attestation level of this FIDO2 security key. The possible values are: attested, or notAttested. + /// The attestation level of this passkey (FIDO2). The possible values are: attested, notAttested, unknownFutureValue. public global::Microsoft.Graph.Models.AttestationLevel? AttestationLevel { get { return BackingStore?.Get("attestationLevel"); } @@ -66,7 +66,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The manufacturer-assigned model of the FIDO2 security key. + /// The manufacturer-assigned model of the FIDO2 passkey. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Model @@ -82,6 +82,12 @@ public string Model set { BackingStore?.Set("model", value); } } #endif + /// The type of passkey. The possible values are: deviceBound, synced, unknownFutureValue. + public global::Microsoft.Graph.Models.PasskeyType? PasskeyType + { + get { return BackingStore?.Get("passkeyType"); } + set { BackingStore?.Set("passkeyType", value); } + } /// /// Instantiates a new and sets the default values. /// @@ -112,6 +118,7 @@ public override IDictionary> GetFieldDeserializers() { "attestationLevel", n => { AttestationLevel = n.GetEnumValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "model", n => { Model = n.GetStringValue(); } }, + { "passkeyType", n => { PasskeyType = n.GetEnumValue(); } }, }; } /// @@ -127,6 +134,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteEnumValue("attestationLevel", AttestationLevel); writer.WriteStringValue("displayName", DisplayName); writer.WriteStringValue("model", Model); + writer.WriteEnumValue("passkeyType", PasskeyType); } } } diff --git a/src/Microsoft.Graph/Generated/Models/Fido2AuthenticationMethodConfiguration.cs b/src/Microsoft.Graph/Generated/Models/Fido2AuthenticationMethodConfiguration.cs index f356c33806c..92118c00d8e 100644 --- a/src/Microsoft.Graph/Generated/Models/Fido2AuthenticationMethodConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/Fido2AuthenticationMethodConfiguration.cs @@ -12,35 +12,51 @@ namespace Microsoft.Graph.Models public partial class Fido2AuthenticationMethodConfiguration : global::Microsoft.Graph.Models.AuthenticationMethodConfiguration, IParsable #pragma warning restore CS1591 { + /// The non-deletable baseline passkey profile, within the passkey profile collection. It's automatically created when migrating to passkey profiles and initially mirrors the tenant's legacy global passkey (FIDO2) authentication methods policy settings. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DefaultPasskeyProfile + { + get { return BackingStore?.Get("defaultPasskeyProfile"); } + set { BackingStore?.Set("defaultPasskeyProfile", value); } + } +#nullable restore +#else + public string DefaultPasskeyProfile + { + get { return BackingStore?.Get("defaultPasskeyProfile"); } + set { BackingStore?.Set("defaultPasskeyProfile", value); } + } +#endif /// A collection of groups that are enabled to use the authentication method. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? IncludeTargets + public List? IncludeTargets { - get { return BackingStore?.Get?>("includeTargets"); } + get { return BackingStore?.Get?>("includeTargets"); } set { BackingStore?.Set("includeTargets", value); } } #nullable restore #else - public List IncludeTargets + public List IncludeTargets { - get { return BackingStore?.Get>("includeTargets"); } + get { return BackingStore?.Get>("includeTargets"); } set { BackingStore?.Set("includeTargets", value); } } #endif - /// Determines whether attestation must be enforced for FIDO2 security key registration. + /// Determines whether attestation must be enforced for passkey (FIDO2) registration. This property is deprecated and will be removed in October 2027. Use passkeyProfiles property. public bool? IsAttestationEnforced { get { return BackingStore?.Get("isAttestationEnforced"); } set { BackingStore?.Set("isAttestationEnforced", value); } } - /// Determines if users can register new FIDO2 security keys. + /// Determines if users can register new passkeys (FIDO2). public bool? IsSelfServiceRegistrationAllowed { get { return BackingStore?.Get("isSelfServiceRegistrationAllowed"); } set { BackingStore?.Set("isSelfServiceRegistrationAllowed", value); } } - /// Controls whether key restrictions are enforced on FIDO2 security keys, either allowing or disallowing certain key types as defined by Authenticator Attestation GUID (AAGUID), an identifier that indicates the type (for example, make and model) of the authenticator. + /// Controls whether key restrictions are enforced on passkeys (FIDO2), either allowing or disallowing certain key types as defined by Authenticator Attestation GUID (AAGUID), an identifier that indicates the type (for example, make and model) of the authenticator. This property is deprecated and will be removed in October 2027. Use the passkeyProfiles property. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.Fido2KeyRestrictions? KeyRestrictions @@ -55,6 +71,22 @@ public bool? IsSelfServiceRegistrationAllowed get { return BackingStore?.Get("keyRestrictions"); } set { BackingStore?.Set("keyRestrictions", value); } } +#endif + /// A collection of configuration profiles that control the registration of and authentication with passkeys (FIDO2). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? PasskeyProfiles + { + get { return BackingStore?.Get?>("passkeyProfiles"); } + set { BackingStore?.Set("passkeyProfiles", value); } + } +#nullable restore +#else + public List PasskeyProfiles + { + get { return BackingStore?.Get>("passkeyProfiles"); } + set { BackingStore?.Set("passkeyProfiles", value); } + } #endif /// /// Instantiates a new and sets the default values. @@ -81,10 +113,12 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - { "includeTargets", n => { IncludeTargets = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AuthenticationMethodTarget.CreateFromDiscriminatorValue)?.AsList(); } }, + { "defaultPasskeyProfile", n => { DefaultPasskeyProfile = n.GetStringValue(); } }, + { "includeTargets", n => { IncludeTargets = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PasskeyAuthenticationMethodTarget.CreateFromDiscriminatorValue)?.AsList(); } }, { "isAttestationEnforced", n => { IsAttestationEnforced = n.GetBoolValue(); } }, { "isSelfServiceRegistrationAllowed", n => { IsSelfServiceRegistrationAllowed = n.GetBoolValue(); } }, { "keyRestrictions", n => { KeyRestrictions = n.GetObjectValue(global::Microsoft.Graph.Models.Fido2KeyRestrictions.CreateFromDiscriminatorValue); } }, + { "passkeyProfiles", n => { PasskeyProfiles = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PasskeyProfile.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -95,10 +129,12 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); - writer.WriteCollectionOfObjectValues("includeTargets", IncludeTargets); + writer.WriteStringValue("defaultPasskeyProfile", DefaultPasskeyProfile); + writer.WriteCollectionOfObjectValues("includeTargets", IncludeTargets); writer.WriteBoolValue("isAttestationEnforced", IsAttestationEnforced); writer.WriteBoolValue("isSelfServiceRegistrationAllowed", IsSelfServiceRegistrationAllowed); writer.WriteObjectValue("keyRestrictions", KeyRestrictions); + writer.WriteCollectionOfObjectValues("passkeyProfiles", PasskeyProfiles); } } } diff --git a/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs index ea110785081..82e9f2bb905 100644 --- a/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs @@ -28,7 +28,7 @@ public partial class FileStorageContainer : global::Microsoft.Graph.Models.Entit set { BackingStore?.Set("assignedSensitivityLabel", value); } } #endif - /// The columns property + /// The set of custom structured metadata supported by the fileStorageContainer. Read-write. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Columns @@ -189,6 +189,22 @@ public string DisplayName get { return BackingStore?.Get("settings"); } set { BackingStore?.Set("settings", value); } } +#endif + /// The sharePointGroups property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SharePointGroups + { + get { return BackingStore?.Get?>("sharePointGroups"); } + set { BackingStore?.Set("sharePointGroups", value); } + } +#nullable restore +#else + public List SharePointGroups + { + get { return BackingStore?.Get>("sharePointGroups"); } + set { BackingStore?.Set("sharePointGroups", value); } + } #endif /// Status of the fileStorageContainer. Containers are created as inactive and require activation. Inactive containers are subjected to automatic deletion in 24 hours. The possible values are: inactive, active. Read-only. public global::Microsoft.Graph.Models.FileStorageContainerStatus? Status @@ -243,6 +259,7 @@ public override IDictionary> GetFieldDeserializers() { "permissions", n => { Permissions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue)?.AsList(); } }, { "recycleBin", n => { RecycleBin = n.GetObjectValue(global::Microsoft.Graph.Models.RecycleBin.CreateFromDiscriminatorValue); } }, { "settings", n => { Settings = n.GetObjectValue(global::Microsoft.Graph.Models.FileStorageContainerSettings.CreateFromDiscriminatorValue); } }, + { "sharePointGroups", n => { SharePointGroups = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SharePointGroup.CreateFromDiscriminatorValue)?.AsList(); } }, { "status", n => { Status = n.GetEnumValue(); } }, { "viewpoint", n => { Viewpoint = n.GetObjectValue(global::Microsoft.Graph.Models.FileStorageContainerViewpoint.CreateFromDiscriminatorValue); } }, }; @@ -268,6 +285,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("permissions", Permissions); writer.WriteObjectValue("recycleBin", RecycleBin); writer.WriteObjectValue("settings", Settings); + writer.WriteCollectionOfObjectValues("sharePointGroups", SharePointGroups); writer.WriteEnumValue("status", Status); writer.WriteObjectValue("viewpoint", Viewpoint); } diff --git a/src/Microsoft.Graph/Generated/Models/Group.cs b/src/Microsoft.Graph/Generated/Models/Group.cs index 8e6838db667..e4f44730e69 100644 --- a/src/Microsoft.Graph/Generated/Models/Group.cs +++ b/src/Microsoft.Graph/Generated/Models/Group.cs @@ -979,6 +979,12 @@ public string Visibility set { BackingStore?.Set("visibility", value); } } #endif + /// The welcomeMessageEnabled property + public bool? WelcomeMessageEnabled + { + get { return BackingStore?.Get("welcomeMessageEnabled"); } + set { BackingStore?.Set("welcomeMessageEnabled", value); } + } /// /// Instantiates a new and sets the default values. /// @@ -1075,6 +1081,7 @@ public override IDictionary> GetFieldDeserializers() { "uniqueName", n => { UniqueName = n.GetStringValue(); } }, { "unseenCount", n => { UnseenCount = n.GetIntValue(); } }, { "visibility", n => { Visibility = n.GetStringValue(); } }, + { "welcomeMessageEnabled", n => { WelcomeMessageEnabled = n.GetBoolValue(); } }, }; } /// @@ -1156,6 +1163,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("uniqueName", UniqueName); writer.WriteIntValue("unseenCount", UnseenCount); writer.WriteStringValue("visibility", Visibility); + writer.WriteBoolValue("welcomeMessageEnabled", WelcomeMessageEnabled); } } } diff --git a/src/Microsoft.Graph/Generated/Models/Identity.cs b/src/Microsoft.Graph/Generated/Models/Identity.cs index f3f4af1d2bb..a1b73f3d38b 100644 --- a/src/Microsoft.Graph/Generated/Models/Identity.cs +++ b/src/Microsoft.Graph/Generated/Models/Identity.cs @@ -103,6 +103,7 @@ public Identity() "#microsoft.graph.provisioningServicePrincipal" => new global::Microsoft.Graph.Models.ProvisioningServicePrincipal(), "#microsoft.graph.provisioningSystem" => new global::Microsoft.Graph.Models.ProvisioningSystem(), "#microsoft.graph.servicePrincipalIdentity" => new global::Microsoft.Graph.Models.ServicePrincipalIdentity(), + "#microsoft.graph.sharePointGroupIdentity" => new global::Microsoft.Graph.Models.SharePointGroupIdentity(), "#microsoft.graph.sharePointIdentity" => new global::Microsoft.Graph.Models.SharePointIdentity(), "#microsoft.graph.teamworkApplicationIdentity" => new global::Microsoft.Graph.Models.TeamworkApplicationIdentity(), "#microsoft.graph.teamworkConversationIdentity" => new global::Microsoft.Graph.Models.TeamworkConversationIdentity(), diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowBase.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowBase.cs index a39aaa22451..07e75caf191 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowBase.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowBase.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The administrationScopeTargets property + /// The administrative units in the scope of the workflow. Optional. Supports $expand. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? AdministrationScopeTargets diff --git a/src/Microsoft.Graph/Generated/Models/IncludeTarget.cs b/src/Microsoft.Graph/Generated/Models/IncludeTarget.cs new file mode 100644 index 00000000000..2d20b959f0d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IncludeTarget.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class IncludeTarget : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The id property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Id + { + get { return BackingStore?.Get("id"); } + set { BackingStore?.Set("id", value); } + } +#nullable restore +#else + public string Id + { + get { return BackingStore?.Get("id"); } + set { BackingStore?.Set("id", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The targetType property + public global::Microsoft.Graph.Models.AuthenticationMethodTargetType? TargetType + { + get { return BackingStore?.Get("targetType"); } + set { BackingStore?.Set("targetType", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public IncludeTarget() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.IncludeTarget CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IncludeTarget(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "id", n => { Id = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "targetType", n => { TargetType = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("id", Id); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("targetType", TargetType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/InheritablePermission.cs b/src/Microsoft.Graph/Generated/Models/InheritablePermission.cs new file mode 100644 index 00000000000..9688a278c04 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/InheritablePermission.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class InheritablePermission : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Inheritance configuration for delegated permission scopes published by the resource application. Supports three patterns: allAllowedScopes (inherit all available scopes), enumeratedScopes (inherit only the listed scopes), and noScopes (inherit none). Each pattern exposes a kind discriminator for filtering. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.InheritableScopes? InheritableScopes + { + get { return BackingStore?.Get("inheritableScopes"); } + set { BackingStore?.Set("inheritableScopes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.InheritableScopes InheritableScopes + { + get { return BackingStore?.Get("inheritableScopes"); } + set { BackingStore?.Set("inheritableScopes", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The appId of the resource application that publishes these scopes. Primary key. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceAppId + { + get { return BackingStore?.Get("resourceAppId"); } + set { BackingStore?.Set("resourceAppId", value); } + } +#nullable restore +#else + public string ResourceAppId + { + get { return BackingStore?.Get("resourceAppId"); } + set { BackingStore?.Set("resourceAppId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public InheritablePermission() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.InheritablePermission CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.InheritablePermission(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "inheritableScopes", n => { InheritableScopes = n.GetObjectValue(global::Microsoft.Graph.Models.InheritableScopes.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "resourceAppId", n => { ResourceAppId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("inheritableScopes", InheritableScopes); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("resourceAppId", ResourceAppId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/InheritableScopes.cs b/src/Microsoft.Graph/Generated/Models/InheritableScopes.cs new file mode 100644 index 00000000000..f9db5f36b14 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/InheritableScopes.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class InheritableScopes : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The kind property + public global::Microsoft.Graph.Models.ScopeCollectionKind? Kind + { + get { return BackingStore?.Get("kind"); } + set { BackingStore?.Set("kind", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public InheritableScopes() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.InheritableScopes CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.allAllowedScopes" => new global::Microsoft.Graph.Models.AllAllowedScopes(), + "#microsoft.graph.enumeratedScopes" => new global::Microsoft.Graph.Models.EnumeratedScopes(), + "#microsoft.graph.noScopes" => new global::Microsoft.Graph.Models.NoScopes(), + _ => new global::Microsoft.Graph.Models.InheritableScopes(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "kind", n => { Kind = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("kind", Kind); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Mailbox.cs b/src/Microsoft.Graph/Generated/Models/Mailbox.cs new file mode 100644 index 00000000000..2005e7105d9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Mailbox.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class Mailbox : global::Microsoft.Graph.Models.DirectoryObject, IParsable + #pragma warning restore CS1591 + { + /// The folders property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Folders + { + get { return BackingStore?.Get?>("folders"); } + set { BackingStore?.Set("folders", value); } + } +#nullable restore +#else + public List Folders + { + get { return BackingStore?.Get>("folders"); } + set { BackingStore?.Set("folders", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public Mailbox() : base() + { + OdataType = "#microsoft.graph.mailbox"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.Mailbox CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Mailbox(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "folders", n => { Folders = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MailboxFolder.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("folders", Folders); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/MailboxCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/MailboxCollectionResponse.cs new file mode 100644 index 00000000000..3201ffb23a7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MailboxCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MailboxCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.MailboxCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.MailboxCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Mailbox.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/MailboxFolder.cs b/src/Microsoft.Graph/Generated/Models/MailboxFolder.cs new file mode 100644 index 00000000000..00ea2ebf154 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MailboxFolder.cs @@ -0,0 +1,188 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MailboxFolder : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The childFolderCount property + public int? ChildFolderCount + { + get { return BackingStore?.Get("childFolderCount"); } + set { BackingStore?.Set("childFolderCount", value); } + } + /// The childFolders property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ChildFolders + { + get { return BackingStore?.Get?>("childFolders"); } + set { BackingStore?.Set("childFolders", value); } + } +#nullable restore +#else + public List ChildFolders + { + get { return BackingStore?.Get>("childFolders"); } + set { BackingStore?.Set("childFolders", value); } + } +#endif + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The items property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Items + { + get { return BackingStore?.Get?>("items"); } + set { BackingStore?.Set("items", value); } + } +#nullable restore +#else + public List Items + { + get { return BackingStore?.Get>("items"); } + set { BackingStore?.Set("items", value); } + } +#endif + /// The multiValueExtendedProperties property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MultiValueExtendedProperties + { + get { return BackingStore?.Get?>("multiValueExtendedProperties"); } + set { BackingStore?.Set("multiValueExtendedProperties", value); } + } +#nullable restore +#else + public List MultiValueExtendedProperties + { + get { return BackingStore?.Get>("multiValueExtendedProperties"); } + set { BackingStore?.Set("multiValueExtendedProperties", value); } + } +#endif + /// The parentFolderId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ParentFolderId + { + get { return BackingStore?.Get("parentFolderId"); } + set { BackingStore?.Set("parentFolderId", value); } + } +#nullable restore +#else + public string ParentFolderId + { + get { return BackingStore?.Get("parentFolderId"); } + set { BackingStore?.Set("parentFolderId", value); } + } +#endif + /// The singleValueExtendedProperties property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SingleValueExtendedProperties + { + get { return BackingStore?.Get?>("singleValueExtendedProperties"); } + set { BackingStore?.Set("singleValueExtendedProperties", value); } + } +#nullable restore +#else + public List SingleValueExtendedProperties + { + get { return BackingStore?.Get>("singleValueExtendedProperties"); } + set { BackingStore?.Set("singleValueExtendedProperties", value); } + } +#endif + /// The totalItemCount property + public int? TotalItemCount + { + get { return BackingStore?.Get("totalItemCount"); } + set { BackingStore?.Set("totalItemCount", value); } + } + /// The type property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } +#nullable restore +#else + public string Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.MailboxFolder CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.MailboxFolder(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "childFolderCount", n => { ChildFolderCount = n.GetIntValue(); } }, + { "childFolders", n => { ChildFolders = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MailboxFolder.CreateFromDiscriminatorValue)?.AsList(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "items", n => { Items = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MailboxItem.CreateFromDiscriminatorValue)?.AsList(); } }, + { "multiValueExtendedProperties", n => { MultiValueExtendedProperties = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MultiValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.AsList(); } }, + { "parentFolderId", n => { ParentFolderId = n.GetStringValue(); } }, + { "singleValueExtendedProperties", n => { SingleValueExtendedProperties = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SingleValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.AsList(); } }, + { "totalItemCount", n => { TotalItemCount = n.GetIntValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteIntValue("childFolderCount", ChildFolderCount); + writer.WriteCollectionOfObjectValues("childFolders", ChildFolders); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteCollectionOfObjectValues("items", Items); + writer.WriteCollectionOfObjectValues("multiValueExtendedProperties", MultiValueExtendedProperties); + writer.WriteStringValue("parentFolderId", ParentFolderId); + writer.WriteCollectionOfObjectValues("singleValueExtendedProperties", SingleValueExtendedProperties); + writer.WriteIntValue("totalItemCount", TotalItemCount); + writer.WriteStringValue("type", Type); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/MailboxFolderCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/MailboxFolderCollectionResponse.cs new file mode 100644 index 00000000000..ec006cde1d8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MailboxFolderCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MailboxFolderCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.MailboxFolderCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.MailboxFolderCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MailboxFolder.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/MailboxItem.cs b/src/Microsoft.Graph/Generated/Models/MailboxItem.cs new file mode 100644 index 00000000000..eb63fd891b5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MailboxItem.cs @@ -0,0 +1,115 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MailboxItem : global::Microsoft.Graph.Models.OutlookItem, IParsable + #pragma warning restore CS1591 + { + /// The multiValueExtendedProperties property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MultiValueExtendedProperties + { + get { return BackingStore?.Get?>("multiValueExtendedProperties"); } + set { BackingStore?.Set("multiValueExtendedProperties", value); } + } +#nullable restore +#else + public List MultiValueExtendedProperties + { + get { return BackingStore?.Get>("multiValueExtendedProperties"); } + set { BackingStore?.Set("multiValueExtendedProperties", value); } + } +#endif + /// The singleValueExtendedProperties property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SingleValueExtendedProperties + { + get { return BackingStore?.Get?>("singleValueExtendedProperties"); } + set { BackingStore?.Set("singleValueExtendedProperties", value); } + } +#nullable restore +#else + public List SingleValueExtendedProperties + { + get { return BackingStore?.Get>("singleValueExtendedProperties"); } + set { BackingStore?.Set("singleValueExtendedProperties", value); } + } +#endif + /// The size property + public long? Size + { + get { return BackingStore?.Get("size"); } + set { BackingStore?.Set("size", value); } + } + /// The type property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } +#nullable restore +#else + public string Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public MailboxItem() : base() + { + OdataType = "#microsoft.graph.mailboxItem"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.MailboxItem CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.MailboxItem(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "multiValueExtendedProperties", n => { MultiValueExtendedProperties = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MultiValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.AsList(); } }, + { "singleValueExtendedProperties", n => { SingleValueExtendedProperties = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SingleValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.AsList(); } }, + { "size", n => { Size = n.GetLongValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("multiValueExtendedProperties", MultiValueExtendedProperties); + writer.WriteCollectionOfObjectValues("singleValueExtendedProperties", SingleValueExtendedProperties); + writer.WriteLongValue("size", Size); + writer.WriteStringValue("type", Type); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/MailboxItemCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/MailboxItemCollectionResponse.cs new file mode 100644 index 00000000000..0fb2685cf8f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MailboxItemCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MailboxItemCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.MailboxItemCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.MailboxItemCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MailboxItem.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/MailboxItemImportSession.cs b/src/Microsoft.Graph/Generated/Models/MailboxItemImportSession.cs new file mode 100644 index 00000000000..0c2040af23b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MailboxItemImportSession.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MailboxItemImportSession : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The expirationDateTime property + public DateTimeOffset? ExpirationDateTime + { + get { return BackingStore?.Get("expirationDateTime"); } + set { BackingStore?.Set("expirationDateTime", value); } + } + /// The importUrl property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ImportUrl + { + get { return BackingStore?.Get("importUrl"); } + set { BackingStore?.Set("importUrl", value); } + } +#nullable restore +#else + public string ImportUrl + { + get { return BackingStore?.Get("importUrl"); } + set { BackingStore?.Set("importUrl", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public MailboxItemImportSession() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.MailboxItemImportSession CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.MailboxItemImportSession(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, + { "importUrl", n => { ImportUrl = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("expirationDateTime", ExpirationDateTime); + writer.WriteStringValue("importUrl", ImportUrl); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/MonitorMode.cs b/src/Microsoft.Graph/Generated/Models/MonitorMode.cs new file mode 100644 index 00000000000..b0aa566e6c2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MonitorMode.cs @@ -0,0 +1,19 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum MonitorMode + #pragma warning restore CS1591 + { + [EnumMember(Value = "monitorOnly")] + #pragma warning disable CS1591 + MonitorOnly, + #pragma warning restore CS1591 + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/MonitorRunStatus.cs b/src/Microsoft.Graph/Generated/Models/MonitorRunStatus.cs new file mode 100644 index 00000000000..220c21c3b60 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MonitorRunStatus.cs @@ -0,0 +1,27 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum MonitorRunStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "successful")] + #pragma warning disable CS1591 + Successful, + #pragma warning restore CS1591 + [EnumMember(Value = "partiallySuccessful")] + #pragma warning disable CS1591 + PartiallySuccessful, + #pragma warning restore CS1591 + [EnumMember(Value = "failed")] + #pragma warning disable CS1591 + Failed, + #pragma warning restore CS1591 + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/MonitorStatus.cs b/src/Microsoft.Graph/Generated/Models/MonitorStatus.cs new file mode 100644 index 00000000000..970584c0ce2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MonitorStatus.cs @@ -0,0 +1,23 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum MonitorStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "active")] + #pragma warning disable CS1591 + Active, + #pragma warning restore CS1591 + [EnumMember(Value = "inactive")] + #pragma warning disable CS1591 + Inactive, + #pragma warning restore CS1591 + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/NoScopes.cs b/src/Microsoft.Graph/Generated/Models/NoScopes.cs new file mode 100644 index 00000000000..094d939cc5a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/NoScopes.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class NoScopes : global::Microsoft.Graph.Models.InheritableScopes, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public NoScopes() : base() + { + OdataType = "#microsoft.graph.noScopes"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.NoScopes CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.NoScopes(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OnPasswordMigrationCustomExtensionHandler.cs b/src/Microsoft.Graph/Generated/Models/OnPasswordMigrationCustomExtensionHandler.cs new file mode 100644 index 00000000000..d495cd30649 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OnPasswordMigrationCustomExtensionHandler.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OnPasswordMigrationCustomExtensionHandler : global::Microsoft.Graph.Models.OnPasswordSubmitHandler, IParsable + #pragma warning restore CS1591 + { + /// Configuration that overrides the default settings from the referenced custom extension, such as timeout and retry values. Optional. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.CustomExtensionOverwriteConfiguration? Configuration + { + get { return BackingStore?.Get("configuration"); } + set { BackingStore?.Set("configuration", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.CustomExtensionOverwriteConfiguration Configuration + { + get { return BackingStore?.Get("configuration"); } + set { BackingStore?.Set("configuration", value); } + } +#endif + /// The customExtension property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.OnPasswordSubmitCustomExtension? CustomExtension + { + get { return BackingStore?.Get("customExtension"); } + set { BackingStore?.Set("customExtension", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.OnPasswordSubmitCustomExtension CustomExtension + { + get { return BackingStore?.Get("customExtension"); } + set { BackingStore?.Set("customExtension", value); } + } +#endif + /// The name of the custom extension attribute that indicates whether a user requires migration. This property must reference a valid custom attribute on the user object (for example, extension<appId>requiresMigration). Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MigrationPropertyId + { + get { return BackingStore?.Get("migrationPropertyId"); } + set { BackingStore?.Set("migrationPropertyId", value); } + } +#nullable restore +#else + public string MigrationPropertyId + { + get { return BackingStore?.Get("migrationPropertyId"); } + set { BackingStore?.Set("migrationPropertyId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public OnPasswordMigrationCustomExtensionHandler() : base() + { + OdataType = "#microsoft.graph.onPasswordMigrationCustomExtensionHandler"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.OnPasswordMigrationCustomExtensionHandler CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.OnPasswordMigrationCustomExtensionHandler(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "configuration", n => { Configuration = n.GetObjectValue(global::Microsoft.Graph.Models.CustomExtensionOverwriteConfiguration.CreateFromDiscriminatorValue); } }, + { "customExtension", n => { CustomExtension = n.GetObjectValue(global::Microsoft.Graph.Models.OnPasswordSubmitCustomExtension.CreateFromDiscriminatorValue); } }, + { "migrationPropertyId", n => { MigrationPropertyId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("configuration", Configuration); + writer.WriteObjectValue("customExtension", CustomExtension); + writer.WriteStringValue("migrationPropertyId", MigrationPropertyId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OnPasswordSubmitCustomExtension.cs b/src/Microsoft.Graph/Generated/Models/OnPasswordSubmitCustomExtension.cs new file mode 100644 index 00000000000..66901eda4ab --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OnPasswordSubmitCustomExtension.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OnPasswordSubmitCustomExtension : global::Microsoft.Graph.Models.CustomAuthenticationExtension, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public OnPasswordSubmitCustomExtension() : base() + { + OdataType = "#microsoft.graph.onPasswordSubmitCustomExtension"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.OnPasswordSubmitCustomExtension CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.OnPasswordSubmitCustomExtension(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OnPasswordSubmitHandler.cs b/src/Microsoft.Graph/Generated/Models/OnPasswordSubmitHandler.cs new file mode 100644 index 00000000000..676e4482eec --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OnPasswordSubmitHandler.cs @@ -0,0 +1,86 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OnPasswordSubmitHandler : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public OnPasswordSubmitHandler() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.OnPasswordSubmitHandler CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.onPasswordMigrationCustomExtensionHandler" => new global::Microsoft.Graph.Models.OnPasswordMigrationCustomExtensionHandler(), + _ => new global::Microsoft.Graph.Models.OnPasswordSubmitHandler(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OnPasswordSubmitListener.cs b/src/Microsoft.Graph/Generated/Models/OnPasswordSubmitListener.cs new file mode 100644 index 00000000000..a09957adf16 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OnPasswordSubmitListener.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OnPasswordSubmitListener : global::Microsoft.Graph.Models.AuthenticationEventListener, IParsable + #pragma warning restore CS1591 + { + /// Configuration for the handler to invoke when this listener is triggered. For JIT migration scenarios, this is typically an onPasswordMigrationCustomExtensionHandler. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.OnPasswordSubmitHandler? Handler + { + get { return BackingStore?.Get("handler"); } + set { BackingStore?.Set("handler", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.OnPasswordSubmitHandler Handler + { + get { return BackingStore?.Get("handler"); } + set { BackingStore?.Set("handler", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public OnPasswordSubmitListener() : base() + { + OdataType = "#microsoft.graph.onPasswordSubmitListener"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.OnPasswordSubmitListener CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.OnPasswordSubmitListener(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "handler", n => { Handler = n.GetObjectValue(global::Microsoft.Graph.Models.OnPasswordSubmitHandler.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("handler", Handler); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OpenComplexDictionaryType.cs b/src/Microsoft.Graph/Generated/Models/OpenComplexDictionaryType.cs new file mode 100644 index 00000000000..0d78cdd332d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OpenComplexDictionaryType.cs @@ -0,0 +1,46 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OpenComplexDictionaryType : global::Microsoft.Graph.Models.Dictionary, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.OpenComplexDictionaryType CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.OpenComplexDictionaryType(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OutlookItem.cs b/src/Microsoft.Graph/Generated/Models/OutlookItem.cs index ddda2299186..37f94f62e47 100644 --- a/src/Microsoft.Graph/Generated/Models/OutlookItem.cs +++ b/src/Microsoft.Graph/Generated/Models/OutlookItem.cs @@ -73,6 +73,7 @@ public DateTimeOffset? LastModifiedDateTime "#microsoft.graph.eventMessage" => new global::Microsoft.Graph.Models.EventMessage(), "#microsoft.graph.eventMessageRequest" => new global::Microsoft.Graph.Models.EventMessageRequest(), "#microsoft.graph.eventMessageResponse" => new global::Microsoft.Graph.Models.EventMessageResponse(), + "#microsoft.graph.mailboxItem" => new global::Microsoft.Graph.Models.MailboxItem(), "#microsoft.graph.message" => new global::Microsoft.Graph.Models.Message(), "#microsoft.graph.post" => new global::Microsoft.Graph.Models.Post(), _ => new global::Microsoft.Graph.Models.OutlookItem(), diff --git a/src/Microsoft.Graph/Generated/Models/PasskeyAuthenticationMethodTarget.cs b/src/Microsoft.Graph/Generated/Models/PasskeyAuthenticationMethodTarget.cs new file mode 100644 index 00000000000..17bf545c104 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PasskeyAuthenticationMethodTarget.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PasskeyAuthenticationMethodTarget : global::Microsoft.Graph.Models.AuthenticationMethodTarget, IParsable + #pragma warning restore CS1591 + { + /// List of passkey profiles scoped to the targets. Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AllowedPasskeyProfiles + { + get { return BackingStore?.Get?>("allowedPasskeyProfiles"); } + set { BackingStore?.Set("allowedPasskeyProfiles", value); } + } +#nullable restore +#else + public List AllowedPasskeyProfiles + { + get { return BackingStore?.Get>("allowedPasskeyProfiles"); } + set { BackingStore?.Set("allowedPasskeyProfiles", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.PasskeyAuthenticationMethodTarget CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.PasskeyAuthenticationMethodTarget(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "allowedPasskeyProfiles", n => { AllowedPasskeyProfiles = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfPrimitiveValues("allowedPasskeyProfiles", AllowedPasskeyProfiles); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PasskeyProfile.cs b/src/Microsoft.Graph/Generated/Models/PasskeyProfile.cs new file mode 100644 index 00000000000..1248ce557c5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PasskeyProfile.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PasskeyProfile : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The attestationEnforcement property + public global::Microsoft.Graph.Models.AttestationEnforcement? AttestationEnforcement + { + get { return BackingStore?.Get("attestationEnforcement"); } + set { BackingStore?.Set("attestationEnforcement", value); } + } + /// Controls whether key restrictions are enforced on passkeys (FIDO2), either allowing or disallowing certain key types as defined by Authenticator Attestation GUID (AAGUID), an identifier that indicates the type (for example, make and model) of the authenticator. Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.Fido2KeyRestrictions? KeyRestrictions + { + get { return BackingStore?.Get("keyRestrictions"); } + set { BackingStore?.Set("keyRestrictions", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.Fido2KeyRestrictions KeyRestrictions + { + get { return BackingStore?.Get("keyRestrictions"); } + set { BackingStore?.Set("keyRestrictions", value); } + } +#endif + /// Name of the passkey profile. Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#nullable restore +#else + public string Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#endif + /// Specifies which types of passkeys are targeted in this passkey profile. Required. The possible values are: deviceBound, synced, unknownFutureValue. + public global::Microsoft.Graph.Models.PasskeyTypes? PasskeyTypes + { + get { return BackingStore?.Get("passkeyTypes"); } + set { BackingStore?.Set("passkeyTypes", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.PasskeyProfile CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.PasskeyProfile(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "attestationEnforcement", n => { AttestationEnforcement = n.GetEnumValue(); } }, + { "keyRestrictions", n => { KeyRestrictions = n.GetObjectValue(global::Microsoft.Graph.Models.Fido2KeyRestrictions.CreateFromDiscriminatorValue); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "passkeyTypes", n => { PasskeyTypes = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("attestationEnforcement", AttestationEnforcement); + writer.WriteObjectValue("keyRestrictions", KeyRestrictions); + writer.WriteStringValue("name", Name); + writer.WriteEnumValue("passkeyTypes", PasskeyTypes); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PasskeyType.cs b/src/Microsoft.Graph/Generated/Models/PasskeyType.cs new file mode 100644 index 00000000000..704c35752bb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PasskeyType.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum PasskeyType + #pragma warning restore CS1591 + { + [EnumMember(Value = "deviceBound")] + #pragma warning disable CS1591 + DeviceBound, + #pragma warning restore CS1591 + [EnumMember(Value = "synced")] + #pragma warning disable CS1591 + Synced, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/PasskeyTypes.cs b/src/Microsoft.Graph/Generated/Models/PasskeyTypes.cs new file mode 100644 index 00000000000..aaf18113e7a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PasskeyTypes.cs @@ -0,0 +1,25 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum PasskeyTypes + #pragma warning restore CS1591 + { + [EnumMember(Value = "deviceBound")] + #pragma warning disable CS1591 + DeviceBound = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "synced")] + #pragma warning disable CS1591 + Synced = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 4, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/PeopleAdminSettings.cs b/src/Microsoft.Graph/Generated/Models/PeopleAdminSettings.cs index 11d86730b01..4274d479651 100644 --- a/src/Microsoft.Graph/Generated/Models/PeopleAdminSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/PeopleAdminSettings.cs @@ -43,6 +43,22 @@ public partial class PeopleAdminSettings : global::Microsoft.Graph.Models.Entity get { return BackingStore?.Get>("profileCardProperties"); } set { BackingStore?.Set("profileCardProperties", value); } } +#endif + /// A collection of profile source settings configured by an administrator in an organization. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProfileSources + { + get { return BackingStore?.Get?>("profileSources"); } + set { BackingStore?.Set("profileSources", value); } + } +#nullable restore +#else + public List ProfileSources + { + get { return BackingStore?.Get>("profileSources"); } + set { BackingStore?.Set("profileSources", value); } + } #endif /// Represents administrator settings that manage the support of pronouns in an organization. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -80,6 +96,7 @@ public override IDictionary> GetFieldDeserializers() { { "itemInsights", n => { ItemInsights = n.GetObjectValue(global::Microsoft.Graph.Models.InsightsSettings.CreateFromDiscriminatorValue); } }, { "profileCardProperties", n => { ProfileCardProperties = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ProfileCardProperty.CreateFromDiscriminatorValue)?.AsList(); } }, + { "profileSources", n => { ProfileSources = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ProfileSource.CreateFromDiscriminatorValue)?.AsList(); } }, { "pronouns", n => { Pronouns = n.GetObjectValue(global::Microsoft.Graph.Models.PronounsSettings.CreateFromDiscriminatorValue); } }, }; } @@ -93,6 +110,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteObjectValue("itemInsights", ItemInsights); writer.WriteCollectionOfObjectValues("profileCardProperties", ProfileCardProperties); + writer.WriteCollectionOfObjectValues("profileSources", ProfileSources); writer.WriteObjectValue("pronouns", Pronouns); } } diff --git a/src/Microsoft.Graph/Generated/Models/ProfileSource.cs b/src/Microsoft.Graph/Generated/Models/ProfileSource.cs new file mode 100644 index 00000000000..de8dbcc5471 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ProfileSource.cs @@ -0,0 +1,136 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProfileSource : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Name of the profile source intended to inform users about the profile source name. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// Type of the profile source. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Kind + { + get { return BackingStore?.Get("kind"); } + set { BackingStore?.Set("kind", value); } + } +#nullable restore +#else + public string Kind + { + get { return BackingStore?.Get("kind"); } + set { BackingStore?.Set("kind", value); } + } +#endif + /// Alternative localized labels specified by an administrator. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Localizations + { + get { return BackingStore?.Get?>("localizations"); } + set { BackingStore?.Set("localizations", value); } + } +#nullable restore +#else + public List Localizations + { + get { return BackingStore?.Get>("localizations"); } + set { BackingStore?.Set("localizations", value); } + } +#endif + /// Profile source identifier used as an alternate key. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SourceId + { + get { return BackingStore?.Get("sourceId"); } + set { BackingStore?.Set("sourceId", value); } + } +#nullable restore +#else + public string SourceId + { + get { return BackingStore?.Get("sourceId"); } + set { BackingStore?.Set("sourceId", value); } + } +#endif + /// Web URL of the profile source that directs users to the page view of the profile data. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? WebUrl + { + get { return BackingStore?.Get("webUrl"); } + set { BackingStore?.Set("webUrl", value); } + } +#nullable restore +#else + public string WebUrl + { + get { return BackingStore?.Get("webUrl"); } + set { BackingStore?.Set("webUrl", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.ProfileSource CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ProfileSource(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "kind", n => { Kind = n.GetStringValue(); } }, + { "localizations", n => { Localizations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ProfileSourceLocalization.CreateFromDiscriminatorValue)?.AsList(); } }, + { "sourceId", n => { SourceId = n.GetStringValue(); } }, + { "webUrl", n => { WebUrl = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("kind", Kind); + writer.WriteCollectionOfObjectValues("localizations", Localizations); + writer.WriteStringValue("sourceId", SourceId); + writer.WriteStringValue("webUrl", WebUrl); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ProfileSourceCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ProfileSourceCollectionResponse.cs new file mode 100644 index 00000000000..97c59f08a78 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ProfileSourceCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProfileSourceCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.ProfileSourceCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ProfileSourceCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ProfileSource.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ProfileSourceLocalization.cs b/src/Microsoft.Graph/Generated/Models/ProfileSourceLocalization.cs new file mode 100644 index 00000000000..85e1c34537c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ProfileSourceLocalization.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProfileSourceLocalization : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Localized display name. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// Language locale. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? LanguageTag + { + get { return BackingStore?.Get("languageTag"); } + set { BackingStore?.Set("languageTag", value); } + } +#nullable restore +#else + public string LanguageTag + { + get { return BackingStore?.Get("languageTag"); } + set { BackingStore?.Set("languageTag", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Localized profile source URL. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? WebUrl + { + get { return BackingStore?.Get("webUrl"); } + set { BackingStore?.Set("webUrl", value); } + } +#nullable restore +#else + public string WebUrl + { + get { return BackingStore?.Get("webUrl"); } + set { BackingStore?.Set("webUrl", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ProfileSourceLocalization() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.ProfileSourceLocalization CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ProfileSourceLocalization(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "languageTag", n => { LanguageTag = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "webUrl", n => { WebUrl = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("languageTag", LanguageTag); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("webUrl", WebUrl); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/QrCode.cs b/src/Microsoft.Graph/Generated/Models/QrCode.cs new file mode 100644 index 00000000000..b672b669a49 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/QrCode.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class QrCode : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The date and time when the QR code was created. Read-only. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The date and time when the QR code expires. For standard QR codes, the lifetime is in days with a maximum of 395 days (13 months) and a default of 365 days. For temporary QR codes, the lifetime must be between 1-12 hours. The expireDateTime can be edited for standard QR codes but not for temporary QR codes. + public DateTimeOffset? ExpireDateTime + { + get { return BackingStore?.Get("expireDateTime"); } + set { BackingStore?.Set("expireDateTime", value); } + } + /// The QR code image data. This property is only returned at the time of creating or resetting the QR code because the private key isn't stored on the server. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.QrCodeImageDetails? Image + { + get { return BackingStore?.Get("image"); } + set { BackingStore?.Set("image", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.QrCodeImageDetails Image + { + get { return BackingStore?.Get("image"); } + set { BackingStore?.Set("image", value); } + } +#endif + /// The date and time when the QR code was last successfully used for authentication. Read-only. + public DateTimeOffset? LastUsedDateTime + { + get { return BackingStore?.Get("lastUsedDateTime"); } + set { BackingStore?.Set("lastUsedDateTime", value); } + } + /// The date and time when the QR code becomes available for use. + public DateTimeOffset? StartDateTime + { + get { return BackingStore?.Get("startDateTime"); } + set { BackingStore?.Set("startDateTime", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.QrCode CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.QrCode(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "expireDateTime", n => { ExpireDateTime = n.GetDateTimeOffsetValue(); } }, + { "image", n => { Image = n.GetObjectValue(global::Microsoft.Graph.Models.QrCodeImageDetails.CreateFromDiscriminatorValue); } }, + { "lastUsedDateTime", n => { LastUsedDateTime = n.GetDateTimeOffsetValue(); } }, + { "startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteDateTimeOffsetValue("expireDateTime", ExpireDateTime); + writer.WriteObjectValue("image", Image); + writer.WriteDateTimeOffsetValue("lastUsedDateTime", LastUsedDateTime); + writer.WriteDateTimeOffsetValue("startDateTime", StartDateTime); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/QrCodeImageDetails.cs b/src/Microsoft.Graph/Generated/Models/QrCodeImageDetails.cs new file mode 100644 index 00000000000..cc9594417c4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/QrCodeImageDetails.cs @@ -0,0 +1,133 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class QrCodeImageDetails : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The binary representation of the QR code image. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public byte[]? BinaryValue + { + get { return BackingStore?.Get("binaryValue"); } + set { BackingStore?.Set("binaryValue", value); } + } +#nullable restore +#else + public byte[] BinaryValue + { + get { return BackingStore?.Get("binaryValue"); } + set { BackingStore?.Set("binaryValue", value); } + } +#endif + /// The error correction level of the QR code, which determines how much of the QR code can be damaged while still being readable. The possible values are: l, m, q, h, unknownFutureValue. + public global::Microsoft.Graph.Models.ErrorCorrectionLevel? ErrorCorrectionLevel + { + get { return BackingStore?.Get("errorCorrectionLevel"); } + set { BackingStore?.Set("errorCorrectionLevel", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The raw encoded content embedded in the QR code. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public byte[]? RawContent + { + get { return BackingStore?.Get("rawContent"); } + set { BackingStore?.Set("rawContent", value); } + } +#nullable restore +#else + public byte[] RawContent + { + get { return BackingStore?.Get("rawContent"); } + set { BackingStore?.Set("rawContent", value); } + } +#endif + /// The version number of the QR code, which determines its size and data capacity. + public int? Version + { + get { return BackingStore?.Get("version"); } + set { BackingStore?.Set("version", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public QrCodeImageDetails() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.QrCodeImageDetails CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.QrCodeImageDetails(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "binaryValue", n => { BinaryValue = n.GetByteArrayValue(); } }, + { "errorCorrectionLevel", n => { ErrorCorrectionLevel = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "rawContent", n => { RawContent = n.GetByteArrayValue(); } }, + { "version", n => { Version = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteByteArrayValue("binaryValue", BinaryValue); + writer.WriteEnumValue("errorCorrectionLevel", ErrorCorrectionLevel); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteByteArrayValue("rawContent", RawContent); + writer.WriteIntValue("version", Version); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/QrCodePinAuthenticationMethod.cs b/src/Microsoft.Graph/Generated/Models/QrCodePinAuthenticationMethod.cs new file mode 100644 index 00000000000..d216e06ca99 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/QrCodePinAuthenticationMethod.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class QrCodePinAuthenticationMethod : global::Microsoft.Graph.Models.AuthenticationMethod, IParsable + #pragma warning restore CS1591 + { + /// The PIN associated with this QR code authentication method. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.QrPin? Pin + { + get { return BackingStore?.Get("pin"); } + set { BackingStore?.Set("pin", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.QrPin Pin + { + get { return BackingStore?.Get("pin"); } + set { BackingStore?.Set("pin", value); } + } +#endif + /// The standard (long-lived) QR code credential, typically printed on a user's badge. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.QrCode? StandardQRCode + { + get { return BackingStore?.Get("standardQRCode"); } + set { BackingStore?.Set("standardQRCode", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.QrCode StandardQRCode + { + get { return BackingStore?.Get("standardQRCode"); } + set { BackingStore?.Set("standardQRCode", value); } + } +#endif + /// A temporary (short-lived) QR code credential, created when a user forgets their badge. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.QrCode? TemporaryQRCode + { + get { return BackingStore?.Get("temporaryQRCode"); } + set { BackingStore?.Set("temporaryQRCode", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.QrCode TemporaryQRCode + { + get { return BackingStore?.Get("temporaryQRCode"); } + set { BackingStore?.Set("temporaryQRCode", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public QrCodePinAuthenticationMethod() : base() + { + OdataType = "#microsoft.graph.qrCodePinAuthenticationMethod"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.QrCodePinAuthenticationMethod CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.QrCodePinAuthenticationMethod(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "pin", n => { Pin = n.GetObjectValue(global::Microsoft.Graph.Models.QrPin.CreateFromDiscriminatorValue); } }, + { "standardQRCode", n => { StandardQRCode = n.GetObjectValue(global::Microsoft.Graph.Models.QrCode.CreateFromDiscriminatorValue); } }, + { "temporaryQRCode", n => { TemporaryQRCode = n.GetObjectValue(global::Microsoft.Graph.Models.QrCode.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("pin", Pin); + writer.WriteObjectValue("standardQRCode", StandardQRCode); + writer.WriteObjectValue("temporaryQRCode", TemporaryQRCode); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/QrCodePinAuthenticationMethodConfiguration.cs b/src/Microsoft.Graph/Generated/Models/QrCodePinAuthenticationMethodConfiguration.cs new file mode 100644 index 00000000000..cc162e05064 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/QrCodePinAuthenticationMethodConfiguration.cs @@ -0,0 +1,87 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class QrCodePinAuthenticationMethodConfiguration : global::Microsoft.Graph.Models.AuthenticationMethodConfiguration, IParsable + #pragma warning restore CS1591 + { + /// Groups of users that are included and enabled in the policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? IncludeTargets + { + get { return BackingStore?.Get?>("includeTargets"); } + set { BackingStore?.Set("includeTargets", value); } + } +#nullable restore +#else + public List IncludeTargets + { + get { return BackingStore?.Get>("includeTargets"); } + set { BackingStore?.Set("includeTargets", value); } + } +#endif + /// The required length of the PIN. The minimum length is 8 digits (as per NIST standards), and the maximum is 20 digits. + public int? PinLength + { + get { return BackingStore?.Get("pinLength"); } + set { BackingStore?.Set("pinLength", value); } + } + /// The lifetime of standard QR codes in days. The default is 365 days and the maximum is 395 days (13 months). The minimum is 1 day. + public int? StandardQRCodeLifetimeInDays + { + get { return BackingStore?.Get("standardQRCodeLifetimeInDays"); } + set { BackingStore?.Set("standardQRCodeLifetimeInDays", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public QrCodePinAuthenticationMethodConfiguration() : base() + { + OdataType = "#microsoft.graph.qrCodePinAuthenticationMethodConfiguration"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.QrCodePinAuthenticationMethodConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.QrCodePinAuthenticationMethodConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "includeTargets", n => { IncludeTargets = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AuthenticationMethodTarget.CreateFromDiscriminatorValue)?.AsList(); } }, + { "pinLength", n => { PinLength = n.GetIntValue(); } }, + { "standardQRCodeLifetimeInDays", n => { StandardQRCodeLifetimeInDays = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("includeTargets", IncludeTargets); + writer.WriteIntValue("pinLength", PinLength); + writer.WriteIntValue("standardQRCodeLifetimeInDays", StandardQRCodeLifetimeInDays); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/QrPin.cs b/src/Microsoft.Graph/Generated/Models/QrPin.cs new file mode 100644 index 00000000000..95ddfce9dcc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/QrPin.cs @@ -0,0 +1,88 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class QrPin : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The PIN code value. This property is only returned at the time of creating or resetting the PIN. For GET operations, this property returns null. The PIN must be between 8-20 digits. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Code + { + get { return BackingStore?.Get("code"); } + set { BackingStore?.Set("code", value); } + } +#nullable restore +#else + public string Code + { + get { return BackingStore?.Get("code"); } + set { BackingStore?.Set("code", value); } + } +#endif + /// The date and time when the PIN was created. Read-only. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// Indicates whether the user must change the PIN on their next sign-in. This is true when an admin creates or resets the PIN, and false after the user changes it. + public bool? ForceChangePinNextSignIn + { + get { return BackingStore?.Get("forceChangePinNextSignIn"); } + set { BackingStore?.Set("forceChangePinNextSignIn", value); } + } + /// The date and time when the PIN was last updated. Read-only. + public DateTimeOffset? UpdatedDateTime + { + get { return BackingStore?.Get("updatedDateTime"); } + set { BackingStore?.Set("updatedDateTime", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.QrPin CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.QrPin(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "code", n => { Code = n.GetStringValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "forceChangePinNextSignIn", n => { ForceChangePinNextSignIn = n.GetBoolValue(); } }, + { "updatedDateTime", n => { UpdatedDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("code", Code); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteBoolValue("forceChangePinNextSignIn", ForceChangePinNextSignIn); + writer.WriteDateTimeOffsetValue("updatedDateTime", UpdatedDateTime); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ScopeCollectionKind.cs b/src/Microsoft.Graph/Generated/Models/ScopeCollectionKind.cs new file mode 100644 index 00000000000..64efb43a20b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ScopeCollectionKind.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ScopeCollectionKind + #pragma warning restore CS1591 + { + [EnumMember(Value = "allAllowed")] + #pragma warning disable CS1591 + AllAllowed, + #pragma warning restore CS1591 + [EnumMember(Value = "enumerated")] + #pragma warning disable CS1591 + Enumerated, + #pragma warning restore CS1591 + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "scopeKindNotSet")] + #pragma warning disable CS1591 + ScopeKindNotSet, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs b/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs index 8d0bc9e6375..690facd287a 100644 --- a/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs +++ b/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs @@ -819,7 +819,13 @@ public ServicePrincipal() : base() public static new global::Microsoft.Graph.Models.ServicePrincipal CreateFromDiscriminatorValue(IParseNode parseNode) { if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Models.ServicePrincipal(); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.agentIdentity" => new global::Microsoft.Graph.Models.AgentIdentity(), + "#microsoft.graph.agentIdentityBlueprintPrincipal" => new global::Microsoft.Graph.Models.AgentIdentityBlueprintPrincipal(), + _ => new global::Microsoft.Graph.Models.ServicePrincipal(), + }; } /// /// The deserialization information for the current model diff --git a/src/Microsoft.Graph/Generated/Models/SharePointGroup.cs b/src/Microsoft.Graph/Generated/Models/SharePointGroup.cs new file mode 100644 index 00000000000..448fa632f9a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointGroup.cs @@ -0,0 +1,118 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SharePointGroup : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The description property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif + /// The members property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Members + { + get { return BackingStore?.Get?>("members"); } + set { BackingStore?.Set("members", value); } + } +#nullable restore +#else + public List Members + { + get { return BackingStore?.Get>("members"); } + set { BackingStore?.Set("members", value); } + } +#endif + /// The principalId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PrincipalId + { + get { return BackingStore?.Get("principalId"); } + set { BackingStore?.Set("principalId", value); } + } +#nullable restore +#else + public string PrincipalId + { + get { return BackingStore?.Get("principalId"); } + set { BackingStore?.Set("principalId", value); } + } +#endif + /// The title property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Title + { + get { return BackingStore?.Get("title"); } + set { BackingStore?.Set("title", value); } + } +#nullable restore +#else + public string Title + { + get { return BackingStore?.Get("title"); } + set { BackingStore?.Set("title", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.SharePointGroup CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SharePointGroup(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "description", n => { Description = n.GetStringValue(); } }, + { "members", n => { Members = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SharePointGroupMember.CreateFromDiscriminatorValue)?.AsList(); } }, + { "principalId", n => { PrincipalId = n.GetStringValue(); } }, + { "title", n => { Title = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("description", Description); + writer.WriteCollectionOfObjectValues("members", Members); + writer.WriteStringValue("principalId", PrincipalId); + writer.WriteStringValue("title", Title); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SharePointGroupCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/SharePointGroupCollectionResponse.cs new file mode 100644 index 00000000000..fa29b169ca5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointGroupCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SharePointGroupCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.SharePointGroupCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SharePointGroupCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SharePointGroup.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SharePointGroupIdentity.cs b/src/Microsoft.Graph/Generated/Models/SharePointGroupIdentity.cs new file mode 100644 index 00000000000..b29ebdf302d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointGroupIdentity.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SharePointGroupIdentity : global::Microsoft.Graph.Models.Identity, IParsable + #pragma warning restore CS1591 + { + /// The principalId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PrincipalId + { + get { return BackingStore?.Get("principalId"); } + set { BackingStore?.Set("principalId", value); } + } +#nullable restore +#else + public string PrincipalId + { + get { return BackingStore?.Get("principalId"); } + set { BackingStore?.Set("principalId", value); } + } +#endif + /// The title property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Title + { + get { return BackingStore?.Get("title"); } + set { BackingStore?.Set("title", value); } + } +#nullable restore +#else + public string Title + { + get { return BackingStore?.Get("title"); } + set { BackingStore?.Set("title", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SharePointGroupIdentity() : base() + { + OdataType = "#microsoft.graph.sharePointGroupIdentity"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.SharePointGroupIdentity CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SharePointGroupIdentity(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "principalId", n => { PrincipalId = n.GetStringValue(); } }, + { "title", n => { Title = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("principalId", PrincipalId); + writer.WriteStringValue("title", Title); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SharePointGroupMember.cs b/src/Microsoft.Graph/Generated/Models/SharePointGroupMember.cs new file mode 100644 index 00000000000..061ea7361af --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointGroupMember.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SharePointGroupMember : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The identity property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.SharePointIdentitySet? Identity + { + get { return BackingStore?.Get("identity"); } + set { BackingStore?.Set("identity", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.SharePointIdentitySet Identity + { + get { return BackingStore?.Get("identity"); } + set { BackingStore?.Set("identity", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.SharePointGroupMember CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SharePointGroupMember(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "identity", n => { Identity = n.GetObjectValue(global::Microsoft.Graph.Models.SharePointIdentitySet.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("identity", Identity); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SharePointGroupMemberCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/SharePointGroupMemberCollectionResponse.cs new file mode 100644 index 00000000000..83f945e384d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointGroupMemberCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SharePointGroupMemberCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.SharePointGroupMemberCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SharePointGroupMemberCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SharePointGroupMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SharePointIdentitySet.cs b/src/Microsoft.Graph/Generated/Models/SharePointIdentitySet.cs index 5622206ca71..97479e0db61 100644 --- a/src/Microsoft.Graph/Generated/Models/SharePointIdentitySet.cs +++ b/src/Microsoft.Graph/Generated/Models/SharePointIdentitySet.cs @@ -27,6 +27,22 @@ public partial class SharePointIdentitySet : global::Microsoft.Graph.Models.Iden get { return BackingStore?.Get("group"); } set { BackingStore?.Set("group", value); } } +#endif + /// The sharePointGroup property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.SharePointGroupIdentity? SharePointGroup + { + get { return BackingStore?.Get("sharePointGroup"); } + set { BackingStore?.Set("sharePointGroup", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.SharePointGroupIdentity SharePointGroup + { + get { return BackingStore?.Get("sharePointGroup"); } + set { BackingStore?.Set("sharePointGroup", value); } + } #endif /// The SharePoint group associated with this action. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -86,6 +102,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "group", n => { Group = n.GetObjectValue(global::Microsoft.Graph.Models.Identity.CreateFromDiscriminatorValue); } }, + { "sharePointGroup", n => { SharePointGroup = n.GetObjectValue(global::Microsoft.Graph.Models.SharePointGroupIdentity.CreateFromDiscriminatorValue); } }, { "siteGroup", n => { SiteGroup = n.GetObjectValue(global::Microsoft.Graph.Models.SharePointIdentity.CreateFromDiscriminatorValue); } }, { "siteUser", n => { SiteUser = n.GetObjectValue(global::Microsoft.Graph.Models.SharePointIdentity.CreateFromDiscriminatorValue); } }, }; @@ -99,6 +116,7 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteObjectValue("group", Group); + writer.WriteObjectValue("sharePointGroup", SharePointGroup); writer.WriteObjectValue("siteGroup", SiteGroup); writer.WriteObjectValue("siteUser", SiteUser); } diff --git a/src/Microsoft.Graph/Generated/Models/Simulation.cs b/src/Microsoft.Graph/Generated/Models/Simulation.cs index 117ef054230..8fdaea4aab5 100644 --- a/src/Microsoft.Graph/Generated/Models/Simulation.cs +++ b/src/Microsoft.Graph/Generated/Models/Simulation.cs @@ -274,7 +274,7 @@ public DateTimeOffset? LaunchDateTime set { BackingStore?.Set("report", value); } } #endif - /// Status of the attack simulation and training campaign. Supports $filter and $orderby. The possible values are: unknown, draft, running, scheduled, succeeded, failed, cancelled, excluded, unknownFutureValue. + /// Status of the attack simulation and training campaign. Supports $filter and $orderby. The possible values are: unknown, draft, running, scheduled, succeeded, failed, canceled, excluded, unknownFutureValue. public global::Microsoft.Graph.Models.SimulationStatus? Status { get { return BackingStore?.Get("status"); } diff --git a/src/Microsoft.Graph/Generated/Models/SnapshotJobStatus.cs b/src/Microsoft.Graph/Generated/Models/SnapshotJobStatus.cs new file mode 100644 index 00000000000..09d7ab3ec73 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SnapshotJobStatus.cs @@ -0,0 +1,35 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum SnapshotJobStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "notStarted")] + #pragma warning disable CS1591 + NotStarted, + #pragma warning restore CS1591 + [EnumMember(Value = "running")] + #pragma warning disable CS1591 + Running, + #pragma warning restore CS1591 + [EnumMember(Value = "succeeded")] + #pragma warning disable CS1591 + Succeeded, + #pragma warning restore CS1591 + [EnumMember(Value = "failed")] + #pragma warning disable CS1591 + Failed, + #pragma warning restore CS1591 + [EnumMember(Value = "partiallySuccessful")] + #pragma warning disable CS1591 + PartiallySuccessful, + #pragma warning restore CS1591 + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/ActivationState.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/ActivationState.cs new file mode 100644 index 00000000000..551ed26e3d2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/ActivationState.cs @@ -0,0 +1,36 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.TeamsAdministration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ActivationState + #pragma warning restore CS1591 + { + [EnumMember(Value = "activated")] + #pragma warning disable CS1591 + Activated, + #pragma warning restore CS1591 + [EnumMember(Value = "assignmentPending")] + #pragma warning disable CS1591 + AssignmentPending, + #pragma warning restore CS1591 + [EnumMember(Value = "assignmentFailed")] + #pragma warning disable CS1591 + AssignmentFailed, + #pragma warning restore CS1591 + [EnumMember(Value = "updatePending")] + #pragma warning disable CS1591 + UpdatePending, + #pragma warning restore CS1591 + [EnumMember(Value = "updateFailed")] + #pragma warning disable CS1591 + UpdateFailed, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/AssignmentStatus.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/AssignmentStatus.cs new file mode 100644 index 00000000000..fa1b181ad2b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/AssignmentStatus.cs @@ -0,0 +1,44 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.TeamsAdministration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AssignmentStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "unassigned")] + #pragma warning disable CS1591 + Unassigned, + #pragma warning restore CS1591 + [EnumMember(Value = "internalError")] + #pragma warning disable CS1591 + InternalError, + #pragma warning restore CS1591 + [EnumMember(Value = "userAssigned")] + #pragma warning disable CS1591 + UserAssigned, + #pragma warning restore CS1591 + [EnumMember(Value = "conferenceAssigned")] + #pragma warning disable CS1591 + ConferenceAssigned, + #pragma warning restore CS1591 + [EnumMember(Value = "voiceApplicationAssigned")] + #pragma warning disable CS1591 + VoiceApplicationAssigned, + #pragma warning restore CS1591 + [EnumMember(Value = "thirdPartyAppAssigned")] + #pragma warning disable CS1591 + ThirdPartyAppAssigned, + #pragma warning restore CS1591 + [EnumMember(Value = "policyAssigned")] + #pragma warning disable CS1591 + PolicyAssigned, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/CustomerAction.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/CustomerAction.cs new file mode 100644 index 00000000000..b357f8be459 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/CustomerAction.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.TeamsAdministration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum CustomerAction + #pragma warning restore CS1591 + { + [EnumMember(Value = "locationUpdate")] + #pragma warning disable CS1591 + LocationUpdate, + #pragma warning restore CS1591 + [EnumMember(Value = "release")] + #pragma warning disable CS1591 + Release, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/NumberAssignment.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/NumberAssignment.cs new file mode 100644 index 00000000000..874197d1b45 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/NumberAssignment.cs @@ -0,0 +1,292 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.TeamsAdministration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class NumberAssignment : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The activationState property + public global::Microsoft.Graph.Models.TeamsAdministration.ActivationState? ActivationState + { + get { return BackingStore?.Get("activationState"); } + set { BackingStore?.Set("activationState", value); } + } + /// Contains the assignment category such as Primary or Private. The possible values are: primary, private, alternate, unknownFutureValue. + public global::Microsoft.Graph.Models.TeamsAdministration.AssignmentCategory? AssignmentCategory + { + get { return BackingStore?.Get("assignmentCategory"); } + set { BackingStore?.Set("assignmentCategory", value); } + } + /// The assignment status of the phone number. The possible values are: unassigned, internalError, userAssigned, conferenceAssigned, voiceApplicationAssigned, thirdPartyAppAssigned, policyAssigned, unknownFutureValue. + public global::Microsoft.Graph.Models.TeamsAdministration.AssignmentStatus? AssignmentStatus + { + get { return BackingStore?.Get("assignmentStatus"); } + set { BackingStore?.Set("assignmentStatus", value); } + } + /// The ID of the object the phone number is assigned to, either the ObjectId of a user or resource account, or the policy instance ID of a Teams shared calling routing policy instance. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AssignmentTargetId + { + get { return BackingStore?.Get("assignmentTargetId"); } + set { BackingStore?.Set("assignmentTargetId", value); } + } +#nullable restore +#else + public string AssignmentTargetId + { + get { return BackingStore?.Get("assignmentTargetId"); } + set { BackingStore?.Set("assignmentTargetId", value); } + } +#endif + /// The list of capabilities assigned to the phone number. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Capabilities + { + get { return BackingStore?.Get?>("capabilities"); } + set { BackingStore?.Set("capabilities", value); } + } +#nullable restore +#else + public List Capabilities + { + get { return BackingStore?.Get>("capabilities"); } + set { BackingStore?.Set("capabilities", value); } + } +#endif + /// The city where the phone number is located or associated with. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? City + { + get { return BackingStore?.Get("city"); } + set { BackingStore?.Set("city", value); } + } +#nullable restore +#else + public string City + { + get { return BackingStore?.Get("city"); } + set { BackingStore?.Set("city", value); } + } +#endif + /// The ID of the civic address assigned to the phone number. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CivicAddressId + { + get { return BackingStore?.Get("civicAddressId"); } + set { BackingStore?.Set("civicAddressId", value); } + } +#nullable restore +#else + public string CivicAddressId + { + get { return BackingStore?.Get("civicAddressId"); } + set { BackingStore?.Set("civicAddressId", value); } + } +#endif + /// The ISO country code assigned to the phone number. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IsoCountryCode + { + get { return BackingStore?.Get("isoCountryCode"); } + set { BackingStore?.Set("isoCountryCode", value); } + } +#nullable restore +#else + public string IsoCountryCode + { + get { return BackingStore?.Get("isoCountryCode"); } + set { BackingStore?.Set("isoCountryCode", value); } + } +#endif + /// The ID of the location assigned to the phone number. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? LocationId + { + get { return BackingStore?.Get("locationId"); } + set { BackingStore?.Set("locationId", value); } + } +#nullable restore +#else + public string LocationId + { + get { return BackingStore?.Get("locationId"); } + set { BackingStore?.Set("locationId", value); } + } +#endif + /// This property is reserved for internal Microsoft use. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? NetworkSiteId + { + get { return BackingStore?.Get("networkSiteId"); } + set { BackingStore?.Set("networkSiteId", value); } + } +#nullable restore +#else + public string NetworkSiteId + { + get { return BackingStore?.Get("networkSiteId"); } + set { BackingStore?.Set("networkSiteId", value); } + } +#endif + /// The source of the phone number. online is used for phone numbers assigned in Microsoft 365, and onPremises is used for phone numbers assigned in AD on-premises, which are synchronized into Microsoft 365. The possible values are: online, onPremises, unknownFutureValue. + public global::Microsoft.Graph.Models.TeamsAdministration.NumberSource? NumberSource + { + get { return BackingStore?.Get("numberSource"); } + set { BackingStore?.Set("numberSource", value); } + } + /// The numberType property + public global::Microsoft.Graph.Models.TeamsAdministration.NumberType? NumberType + { + get { return BackingStore?.Get("numberType"); } + set { BackingStore?.Set("numberType", value); } + } + /// The ID of the operator. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OperatorId + { + get { return BackingStore?.Get("operatorId"); } + set { BackingStore?.Set("operatorId", value); } + } +#nullable restore +#else + public string OperatorId + { + get { return BackingStore?.Get("operatorId"); } + set { BackingStore?.Set("operatorId", value); } + } +#endif + /// The status of any port in order covering the phone number. The possible values are: completed, firmOrderCommitmentAccepted, unknownFutureValue. + public global::Microsoft.Graph.Models.TeamsAdministration.PortInStatus? PortInStatus + { + get { return BackingStore?.Get("portInStatus"); } + set { BackingStore?.Set("portInStatus", value); } + } + /// Status of Reverse Number Lookup (RNL). If set to skipInternalVoip, calls are routed through the external Public Switched Telephone Network (PSTN) instead of using internal VoIP resolution. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ReverseNumberLookupOptions + { + get { return BackingStore?.Get?>("reverseNumberLookupOptions"); } + set { BackingStore?.Set("reverseNumberLookupOptions", value); } + } +#nullable restore +#else + public List ReverseNumberLookupOptions + { + get { return BackingStore?.Get>("reverseNumberLookupOptions"); } + set { BackingStore?.Set("reverseNumberLookupOptions", value); } + } +#endif + /// Indicates what customer actions are available to modify the number. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SupportedCustomerActions + { + get { return BackingStore?.Get?>("supportedCustomerActions"); } + set { BackingStore?.Set("supportedCustomerActions", value); } + } +#nullable restore +#else + public List SupportedCustomerActions + { + get { return BackingStore?.Get>("supportedCustomerActions"); } + set { BackingStore?.Set("supportedCustomerActions", value); } + } +#endif + /// The telephone number in the record. The recorded telephone number is always displayed with a '+' prefix, regardless of whether it was originally assigned with one. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TelephoneNumber + { + get { return BackingStore?.Get("telephoneNumber"); } + set { BackingStore?.Set("telephoneNumber", value); } + } +#nullable restore +#else + public string TelephoneNumber + { + get { return BackingStore?.Get("telephoneNumber"); } + set { BackingStore?.Set("telephoneNumber", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.TeamsAdministration.NumberAssignment CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TeamsAdministration.NumberAssignment(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "activationState", n => { ActivationState = n.GetEnumValue(); } }, + { "assignmentCategory", n => { AssignmentCategory = n.GetEnumValue(); } }, + { "assignmentStatus", n => { AssignmentStatus = n.GetEnumValue(); } }, + { "assignmentTargetId", n => { AssignmentTargetId = n.GetStringValue(); } }, + { "capabilities", n => { Capabilities = n.GetCollectionOfEnumValues()?.AsList(); } }, + { "city", n => { City = n.GetStringValue(); } }, + { "civicAddressId", n => { CivicAddressId = n.GetStringValue(); } }, + { "isoCountryCode", n => { IsoCountryCode = n.GetStringValue(); } }, + { "locationId", n => { LocationId = n.GetStringValue(); } }, + { "networkSiteId", n => { NetworkSiteId = n.GetStringValue(); } }, + { "numberSource", n => { NumberSource = n.GetEnumValue(); } }, + { "numberType", n => { NumberType = n.GetEnumValue(); } }, + { "operatorId", n => { OperatorId = n.GetStringValue(); } }, + { "portInStatus", n => { PortInStatus = n.GetEnumValue(); } }, + { "reverseNumberLookupOptions", n => { ReverseNumberLookupOptions = n.GetCollectionOfEnumValues()?.AsList(); } }, + { "supportedCustomerActions", n => { SupportedCustomerActions = n.GetCollectionOfEnumValues()?.AsList(); } }, + { "telephoneNumber", n => { TelephoneNumber = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("activationState", ActivationState); + writer.WriteEnumValue("assignmentCategory", AssignmentCategory); + writer.WriteEnumValue("assignmentStatus", AssignmentStatus); + writer.WriteStringValue("assignmentTargetId", AssignmentTargetId); + writer.WriteCollectionOfEnumValues("capabilities", Capabilities); + writer.WriteStringValue("city", City); + writer.WriteStringValue("civicAddressId", CivicAddressId); + writer.WriteStringValue("isoCountryCode", IsoCountryCode); + writer.WriteStringValue("locationId", LocationId); + writer.WriteStringValue("networkSiteId", NetworkSiteId); + writer.WriteEnumValue("numberSource", NumberSource); + writer.WriteEnumValue("numberType", NumberType); + writer.WriteStringValue("operatorId", OperatorId); + writer.WriteEnumValue("portInStatus", PortInStatus); + writer.WriteCollectionOfEnumValues("reverseNumberLookupOptions", ReverseNumberLookupOptions); + writer.WriteCollectionOfEnumValues("supportedCustomerActions", SupportedCustomerActions); + writer.WriteStringValue("telephoneNumber", TelephoneNumber); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/NumberAssignmentCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/NumberAssignmentCollectionResponse.cs new file mode 100644 index 00000000000..ba1d264fb33 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/NumberAssignmentCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.TeamsAdministration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class NumberAssignmentCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.TeamsAdministration.NumberAssignmentCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TeamsAdministration.NumberAssignmentCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TeamsAdministration.NumberAssignment.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/NumberCapability.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/NumberCapability.cs new file mode 100644 index 00000000000..aa16cfa27c1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/NumberCapability.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.TeamsAdministration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum NumberCapability + #pragma warning restore CS1591 + { + [EnumMember(Value = "conferenceAssignment")] + #pragma warning disable CS1591 + ConferenceAssignment, + #pragma warning restore CS1591 + [EnumMember(Value = "voiceApplicationAssignment")] + #pragma warning disable CS1591 + VoiceApplicationAssignment, + #pragma warning restore CS1591 + [EnumMember(Value = "userAssignment")] + #pragma warning disable CS1591 + UserAssignment, + #pragma warning restore CS1591 + [EnumMember(Value = "teamsPhoneMobile")] + #pragma warning disable CS1591 + TeamsPhoneMobile, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/NumberSource.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/NumberSource.cs new file mode 100644 index 00000000000..fdc8a50beea --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/NumberSource.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.TeamsAdministration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum NumberSource + #pragma warning restore CS1591 + { + [EnumMember(Value = "online")] + #pragma warning disable CS1591 + Online, + #pragma warning restore CS1591 + [EnumMember(Value = "onPremises")] + #pragma warning disable CS1591 + OnPremises, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/NumberType.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/NumberType.cs new file mode 100644 index 00000000000..a5b9dc7ce80 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/NumberType.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.TeamsAdministration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum NumberType + #pragma warning restore CS1591 + { + [EnumMember(Value = "internalError")] + #pragma warning disable CS1591 + InternalError, + #pragma warning restore CS1591 + [EnumMember(Value = "directRouting")] + #pragma warning disable CS1591 + DirectRouting, + #pragma warning restore CS1591 + [EnumMember(Value = "callingPlan")] + #pragma warning disable CS1591 + CallingPlan, + #pragma warning restore CS1591 + [EnumMember(Value = "operatorConnect")] + #pragma warning disable CS1591 + OperatorConnect, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/PortInStatus.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/PortInStatus.cs new file mode 100644 index 00000000000..4245bcc1e0c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/PortInStatus.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.TeamsAdministration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum PortInStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "completed")] + #pragma warning disable CS1591 + Completed, + #pragma warning restore CS1591 + [EnumMember(Value = "firmOrderCommitmentAccepted")] + #pragma warning disable CS1591 + FirmOrderCommitmentAccepted, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/ReverseNumberLookupOption.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/ReverseNumberLookupOption.cs new file mode 100644 index 00000000000..225ef9ba0f3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/ReverseNumberLookupOption.cs @@ -0,0 +1,20 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.TeamsAdministration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ReverseNumberLookupOption + #pragma warning restore CS1591 + { + [EnumMember(Value = "skipInternalVoip")] + #pragma warning disable CS1591 + SkipInternalVoip, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsAdminRoot.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsAdminRoot.cs index 52c3e04e94c..382199b528f 100644 --- a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsAdminRoot.cs +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TeamsAdminRoot.cs @@ -27,6 +27,22 @@ public partial class TeamsAdminRoot : global::Microsoft.Graph.Models.Entity, IPa get { return BackingStore?.Get("policy"); } set { BackingStore?.Set("policy", value); } } +#endif + /// Represents a collection of available telephone number management operations. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberManagementRoot? TelephoneNumberManagement + { + get { return BackingStore?.Get("telephoneNumberManagement"); } + set { BackingStore?.Set("telephoneNumberManagement", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberManagementRoot TelephoneNumberManagement + { + get { return BackingStore?.Get("telephoneNumberManagement"); } + set { BackingStore?.Set("telephoneNumberManagement", value); } + } #endif /// Represents the configuration information of users who have accounts hosted on Microsoft Teams #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -63,6 +79,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "policy", n => { Policy = n.GetObjectValue(global::Microsoft.Graph.Models.TeamsAdministration.TeamsPolicyAssignment.CreateFromDiscriminatorValue); } }, + { "telephoneNumberManagement", n => { TelephoneNumberManagement = n.GetObjectValue(global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberManagementRoot.CreateFromDiscriminatorValue); } }, { "userConfigurations", n => { UserConfigurations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfiguration.CreateFromDiscriminatorValue)?.AsList(); } }, }; } @@ -75,6 +92,7 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteObjectValue("policy", Policy); + writer.WriteObjectValue("telephoneNumberManagement", TelephoneNumberManagement); writer.WriteCollectionOfObjectValues("userConfigurations", UserConfigurations); } } diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TelephoneNumberLongRunningOperation.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TelephoneNumberLongRunningOperation.cs new file mode 100644 index 00000000000..8ca57a19980 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TelephoneNumberLongRunningOperation.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.TeamsAdministration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TelephoneNumberLongRunningOperation : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Date and time when the asynchronous operation was created. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } +#nullable restore +#else + public string CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } +#endif + /// Asynchronous operation details. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Numbers + { + get { return BackingStore?.Get?>("numbers"); } + set { BackingStore?.Set("numbers", value); } + } +#nullable restore +#else + public List Numbers + { + get { return BackingStore?.Get>("numbers"); } + set { BackingStore?.Set("numbers", value); } + } +#endif + /// The status property + public global::Microsoft.Graph.Models.LongRunningOperationStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "createdDateTime", n => { CreatedDateTime = n.GetStringValue(); } }, + { "numbers", n => { Numbers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperationDetails.CreateFromDiscriminatorValue)?.AsList(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("createdDateTime", CreatedDateTime); + writer.WriteCollectionOfObjectValues("numbers", Numbers); + writer.WriteEnumValue("status", Status); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TelephoneNumberLongRunningOperationCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TelephoneNumberLongRunningOperationCollectionResponse.cs new file mode 100644 index 00000000000..7ce11942169 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TelephoneNumberLongRunningOperationCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.TeamsAdministration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TelephoneNumberLongRunningOperationCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperationCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperationCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TelephoneNumberLongRunningOperationDetails.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TelephoneNumberLongRunningOperationDetails.cs new file mode 100644 index 00000000000..471fb505e50 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TelephoneNumberLongRunningOperationDetails.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.TeamsAdministration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TelephoneNumberLongRunningOperationDetails : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Location of the asynchronous operation. It includes the operation identifier. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceLocation + { + get { return BackingStore?.Get("resourceLocation"); } + set { BackingStore?.Set("resourceLocation", value); } + } +#nullable restore +#else + public string ResourceLocation + { + get { return BackingStore?.Get("resourceLocation"); } + set { BackingStore?.Set("resourceLocation", value); } + } +#endif + /// status of the asynchronous operation. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue. + public global::Microsoft.Graph.Models.LongRunningOperationStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// Indicates the asynchronous operation details. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? StatusDetail + { + get { return BackingStore?.Get("statusDetail"); } + set { BackingStore?.Set("statusDetail", value); } + } +#nullable restore +#else + public string StatusDetail + { + get { return BackingStore?.Get("statusDetail"); } + set { BackingStore?.Set("statusDetail", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public TelephoneNumberLongRunningOperationDetails() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperationDetails CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperationDetails(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "resourceLocation", n => { ResourceLocation = n.GetStringValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "statusDetail", n => { StatusDetail = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("resourceLocation", ResourceLocation); + writer.WriteEnumValue("status", Status); + writer.WriteStringValue("statusDetail", StatusDetail); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TelephoneNumberManagementRoot.cs b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TelephoneNumberManagementRoot.cs new file mode 100644 index 00000000000..5719382edf2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TeamsAdministration/TelephoneNumberManagementRoot.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.TeamsAdministration +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TelephoneNumberManagementRoot : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Represents a collection of synchronous telephone number management operations. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? NumberAssignments + { + get { return BackingStore?.Get?>("numberAssignments"); } + set { BackingStore?.Set("numberAssignments", value); } + } +#nullable restore +#else + public List NumberAssignments + { + get { return BackingStore?.Get>("numberAssignments"); } + set { BackingStore?.Set("numberAssignments", value); } + } +#endif + /// Represents a collection of asynchronous telephone number management operations. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Operations + { + get { return BackingStore?.Get?>("operations"); } + set { BackingStore?.Set("operations", value); } + } +#nullable restore +#else + public List Operations + { + get { return BackingStore?.Get>("operations"); } + set { BackingStore?.Set("operations", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberManagementRoot CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberManagementRoot(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "numberAssignments", n => { NumberAssignments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TeamsAdministration.NumberAssignment.CreateFromDiscriminatorValue)?.AsList(); } }, + { "operations", n => { Operations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("numberAssignments", NumberAssignments); + writer.WriteCollectionOfObjectValues("operations", Operations); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/User.cs b/src/Microsoft.Graph/Generated/Models/User.cs index 112036b9276..8c871abdd8e 100644 --- a/src/Microsoft.Graph/Generated/Models/User.cs +++ b/src/Microsoft.Graph/Generated/Models/User.cs @@ -780,6 +780,22 @@ public DateTimeOffset? HireDate get { return BackingStore?.Get>("identities"); } set { BackingStore?.Set("identities", value); } } +#endif + /// The identityParentId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IdentityParentId + { + get { return BackingStore?.Get("identityParentId"); } + set { BackingStore?.Set("identityParentId", value); } + } +#nullable restore +#else + public string IdentityParentId + { + get { return BackingStore?.Get("identityParentId"); } + set { BackingStore?.Set("identityParentId", value); } + } #endif /// The instant message voice-over IP (VOIP) session initiation protocol (SIP) addresses for the user. Read-only. Returned only on $select. Supports $filter (eq, not, ge, le, startsWith). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -2006,7 +2022,12 @@ public User() : base() public static new global::Microsoft.Graph.Models.User CreateFromDiscriminatorValue(IParseNode parseNode) { if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Models.User(); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.agentUser" => new global::Microsoft.Graph.Models.AgentUser(), + _ => new global::Microsoft.Graph.Models.User(), + }; } /// /// The deserialization information for the current model @@ -2069,6 +2090,7 @@ public override IDictionary> GetFieldDeserializers() { "givenName", n => { GivenName = n.GetStringValue(); } }, { "hireDate", n => { HireDate = n.GetDateTimeOffsetValue(); } }, { "identities", n => { Identities = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ObjectIdentity.CreateFromDiscriminatorValue)?.AsList(); } }, + { "identityParentId", n => { IdentityParentId = n.GetStringValue(); } }, { "imAddresses", n => { ImAddresses = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "inferenceClassification", n => { InferenceClassification = n.GetObjectValue(global::Microsoft.Graph.Models.InferenceClassification.CreateFromDiscriminatorValue); } }, { "insights", n => { Insights = n.GetObjectValue(global::Microsoft.Graph.Models.ItemInsights.CreateFromDiscriminatorValue); } }, @@ -2212,6 +2234,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("givenName", GivenName); writer.WriteDateTimeOffsetValue("hireDate", HireDate); writer.WriteCollectionOfObjectValues("identities", Identities); + writer.WriteStringValue("identityParentId", IdentityParentId); writer.WriteCollectionOfPrimitiveValues("imAddresses", ImAddresses); writer.WriteObjectValue("inferenceClassification", InferenceClassification); writer.WriteObjectValue("insights", Insights); diff --git a/src/Microsoft.Graph/Generated/Models/UserSettings.cs b/src/Microsoft.Graph/Generated/Models/UserSettings.cs index b4b13ce3f56..b4beceec36a 100644 --- a/src/Microsoft.Graph/Generated/Models/UserSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/UserSettings.cs @@ -24,6 +24,22 @@ public bool? ContributionToContentDiscoveryDisabled get { return BackingStore?.Get("contributionToContentDiscoveryDisabled"); } set { BackingStore?.Set("contributionToContentDiscoveryDisabled", value); } } + /// The exchange property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ExchangeSettings? Exchange + { + get { return BackingStore?.Get("exchange"); } + set { BackingStore?.Set("exchange", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ExchangeSettings Exchange + { + get { return BackingStore?.Get("exchange"); } + set { BackingStore?.Set("exchange", value); } + } +#endif /// The user's settings for the visibility of meeting hour insights, and insights derived between a user and other items in Microsoft 365, such as documents or sites. Get userInsightsSettings through this navigation property. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -124,6 +140,7 @@ public override IDictionary> GetFieldDeserializers() { { "contributionToContentDiscoveryAsOrganizationDisabled", n => { ContributionToContentDiscoveryAsOrganizationDisabled = n.GetBoolValue(); } }, { "contributionToContentDiscoveryDisabled", n => { ContributionToContentDiscoveryDisabled = n.GetBoolValue(); } }, + { "exchange", n => { Exchange = n.GetObjectValue(global::Microsoft.Graph.Models.ExchangeSettings.CreateFromDiscriminatorValue); } }, { "itemInsights", n => { ItemInsights = n.GetObjectValue(global::Microsoft.Graph.Models.UserInsightsSettings.CreateFromDiscriminatorValue); } }, { "shiftPreferences", n => { ShiftPreferences = n.GetObjectValue(global::Microsoft.Graph.Models.ShiftPreferences.CreateFromDiscriminatorValue); } }, { "storage", n => { Storage = n.GetObjectValue(global::Microsoft.Graph.Models.UserStorage.CreateFromDiscriminatorValue); } }, @@ -141,6 +158,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteBoolValue("contributionToContentDiscoveryAsOrganizationDisabled", ContributionToContentDiscoveryAsOrganizationDisabled); writer.WriteBoolValue("contributionToContentDiscoveryDisabled", ContributionToContentDiscoveryDisabled); + writer.WriteObjectValue("exchange", Exchange); writer.WriteObjectValue("itemInsights", ItemInsights); writer.WriteObjectValue("shiftPreferences", ShiftPreferences); writer.WriteObjectValue("storage", Storage); diff --git a/src/Microsoft.Graph/Generated/Models/X509CertificateAuthenticationMethodConfiguration.cs b/src/Microsoft.Graph/Generated/Models/X509CertificateAuthenticationMethodConfiguration.cs index 62a3df9c08c..bbaec371c7f 100644 --- a/src/Microsoft.Graph/Generated/Models/X509CertificateAuthenticationMethodConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/X509CertificateAuthenticationMethodConfiguration.cs @@ -27,6 +27,22 @@ public partial class X509CertificateAuthenticationMethodConfiguration : global:: get { return BackingStore?.Get("authenticationModeConfiguration"); } set { BackingStore?.Set("authenticationModeConfiguration", value); } } +#endif + /// The certificateAuthorityScopes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? CertificateAuthorityScopes + { + get { return BackingStore?.Get?>("certificateAuthorityScopes"); } + set { BackingStore?.Set("certificateAuthorityScopes", value); } + } +#nullable restore +#else + public List CertificateAuthorityScopes + { + get { return BackingStore?.Get>("certificateAuthorityScopes"); } + set { BackingStore?.Set("certificateAuthorityScopes", value); } + } #endif /// Defines fields in the X.509 certificate that map to attributes of the Microsoft Entra user object in order to bind the certificate to the user. The priority of the object determines the order in which the binding is carried out. The first binding that matches will be used and the rest ignored. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -75,6 +91,22 @@ public partial class X509CertificateAuthenticationMethodConfiguration : global:: get { return BackingStore?.Get>("includeTargets"); } set { BackingStore?.Set("includeTargets", value); } } +#endif + /// The issuerHintsConfiguration property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.X509CertificateIssuerHintsConfiguration? IssuerHintsConfiguration + { + get { return BackingStore?.Get("issuerHintsConfiguration"); } + set { BackingStore?.Set("issuerHintsConfiguration", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.X509CertificateIssuerHintsConfiguration IssuerHintsConfiguration + { + get { return BackingStore?.Get("issuerHintsConfiguration"); } + set { BackingStore?.Set("issuerHintsConfiguration", value); } + } #endif /// /// Instantiates a new and sets the default values. @@ -102,9 +134,11 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "authenticationModeConfiguration", n => { AuthenticationModeConfiguration = n.GetObjectValue(global::Microsoft.Graph.Models.X509CertificateAuthenticationModeConfiguration.CreateFromDiscriminatorValue); } }, + { "certificateAuthorityScopes", n => { CertificateAuthorityScopes = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.X509CertificateAuthorityScope.CreateFromDiscriminatorValue)?.AsList(); } }, { "certificateUserBindings", n => { CertificateUserBindings = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.X509CertificateUserBinding.CreateFromDiscriminatorValue)?.AsList(); } }, { "crlValidationConfiguration", n => { CrlValidationConfiguration = n.GetObjectValue(global::Microsoft.Graph.Models.X509CertificateCRLValidationConfiguration.CreateFromDiscriminatorValue); } }, { "includeTargets", n => { IncludeTargets = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AuthenticationMethodTarget.CreateFromDiscriminatorValue)?.AsList(); } }, + { "issuerHintsConfiguration", n => { IssuerHintsConfiguration = n.GetObjectValue(global::Microsoft.Graph.Models.X509CertificateIssuerHintsConfiguration.CreateFromDiscriminatorValue); } }, }; } /// @@ -116,9 +150,11 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteObjectValue("authenticationModeConfiguration", AuthenticationModeConfiguration); + writer.WriteCollectionOfObjectValues("certificateAuthorityScopes", CertificateAuthorityScopes); writer.WriteCollectionOfObjectValues("certificateUserBindings", CertificateUserBindings); writer.WriteObjectValue("crlValidationConfiguration", CrlValidationConfiguration); writer.WriteCollectionOfObjectValues("includeTargets", IncludeTargets); + writer.WriteObjectValue("issuerHintsConfiguration", IssuerHintsConfiguration); } } } diff --git a/src/Microsoft.Graph/Generated/Models/X509CertificateAuthorityScope.cs b/src/Microsoft.Graph/Generated/Models/X509CertificateAuthorityScope.cs new file mode 100644 index 00000000000..51518c6d942 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/X509CertificateAuthorityScope.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class X509CertificateAuthorityScope : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The includeTargets property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? IncludeTargets + { + get { return BackingStore?.Get?>("includeTargets"); } + set { BackingStore?.Set("includeTargets", value); } + } +#nullable restore +#else + public List IncludeTargets + { + get { return BackingStore?.Get>("includeTargets"); } + set { BackingStore?.Set("includeTargets", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The publicKeyInfrastructureIdentifier property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PublicKeyInfrastructureIdentifier + { + get { return BackingStore?.Get("publicKeyInfrastructureIdentifier"); } + set { BackingStore?.Set("publicKeyInfrastructureIdentifier", value); } + } +#nullable restore +#else + public string PublicKeyInfrastructureIdentifier + { + get { return BackingStore?.Get("publicKeyInfrastructureIdentifier"); } + set { BackingStore?.Set("publicKeyInfrastructureIdentifier", value); } + } +#endif + /// The subjectKeyIdentifier property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SubjectKeyIdentifier + { + get { return BackingStore?.Get("subjectKeyIdentifier"); } + set { BackingStore?.Set("subjectKeyIdentifier", value); } + } +#nullable restore +#else + public string SubjectKeyIdentifier + { + get { return BackingStore?.Get("subjectKeyIdentifier"); } + set { BackingStore?.Set("subjectKeyIdentifier", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public X509CertificateAuthorityScope() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.X509CertificateAuthorityScope CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.X509CertificateAuthorityScope(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "includeTargets", n => { IncludeTargets = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.IncludeTarget.CreateFromDiscriminatorValue)?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "publicKeyInfrastructureIdentifier", n => { PublicKeyInfrastructureIdentifier = n.GetStringValue(); } }, + { "subjectKeyIdentifier", n => { SubjectKeyIdentifier = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("includeTargets", IncludeTargets); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("publicKeyInfrastructureIdentifier", PublicKeyInfrastructureIdentifier); + writer.WriteStringValue("subjectKeyIdentifier", SubjectKeyIdentifier); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/X509CertificateIssuerHintsConfiguration.cs b/src/Microsoft.Graph/Generated/Models/X509CertificateIssuerHintsConfiguration.cs new file mode 100644 index 00000000000..e33cf940895 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/X509CertificateIssuerHintsConfiguration.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class X509CertificateIssuerHintsConfiguration : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The state property + public global::Microsoft.Graph.Models.X509CertificateIssuerHintsState? State + { + get { return BackingStore?.Get("state"); } + set { BackingStore?.Set("state", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public X509CertificateIssuerHintsConfiguration() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.X509CertificateIssuerHintsConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.X509CertificateIssuerHintsConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "state", n => { State = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("state", State); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/X509CertificateIssuerHintsState.cs b/src/Microsoft.Graph/Generated/Models/X509CertificateIssuerHintsState.cs new file mode 100644 index 00000000000..ad0db932a53 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/X509CertificateIssuerHintsState.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum X509CertificateIssuerHintsState + #pragma warning restore CS1591 + { + [EnumMember(Value = "disabled")] + #pragma warning disable CS1591 + Disabled, + #pragma warning restore CS1591 + [EnumMember(Value = "enabled")] + #pragma warning disable CS1591 + Enabled, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Restore/RestoreRequestBuilder.cs index 8a93f6f30d2..5fb2c56a8bf 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs index ed1b061e64d..9cedb18db81 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Places/GraphRoomList/GraphRoomListRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/GraphRoomList/GraphRoomListRequestBuilder.cs index ad2c77c823d..6166c872574 100644 --- a/src/Microsoft.Graph/Generated/Places/GraphRoomList/GraphRoomListRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Places/GraphRoomList/GraphRoomListRequestBuilder.cs @@ -41,7 +41,8 @@ public GraphRoomListRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// Get the items of type microsoft.graph.roomList in the microsoft.graph.place collection + /// Read the properties of a place object specified by its ID. The place object can be one of the following types: The listed resources are derived from the place object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -64,7 +65,7 @@ public GraphRoomListRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.RoomListCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get the items of type microsoft.graph.roomList in the microsoft.graph.place collection + /// Read the properties of a place object specified by its ID. The place object can be one of the following types: The listed resources are derived from the place object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -92,7 +93,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the items of type microsoft.graph.roomList in the microsoft.graph.place collection + /// Read the properties of a place object specified by its ID. The place object can be one of the following types: The listed resources are derived from the place object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GraphRoomListRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/GraphRoomListRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/GraphRoomListRequestBuilder.cs index d27567cc97e..36ad8a92b9a 100644 --- a/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/GraphRoomListRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/GraphRoomListRequestBuilder.cs @@ -53,7 +53,8 @@ public GraphRoomListRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// Get the item of type microsoft.graph.place as microsoft.graph.roomList + /// Read the properties of a place object specified by its ID. The place object can be one of the following types: The listed resources are derived from the place object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -76,7 +77,7 @@ public GraphRoomListRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.RoomList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get the item of type microsoft.graph.place as microsoft.graph.roomList + /// Read the properties of a place object specified by its ID. The place object can be one of the following types: The listed resources are derived from the place object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -104,7 +105,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the item of type microsoft.graph.place as microsoft.graph.roomList + /// Read the properties of a place object specified by its ID. The place object can be one of the following types: The listed resources are derived from the place object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GraphRoomListRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.cs index 3a21057f84c..1c37dc95108 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilder.cs index 314c9cb41f4..c0f41a4eab3 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilder.cs @@ -204,7 +204,7 @@ public ServicePrincipalItemRequestBuilder(string rawUrl, IRequestAdapter request { } /// - /// Delete a servicePrincipal object. + /// Delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -237,7 +237,7 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of a servicePrincipal object. + /// Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. /// Find more info here /// /// A @@ -261,7 +261,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. + /// Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprintPrincipal, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. /// Find more info here /// /// A @@ -287,7 +287,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a servicePrincipal object. + /// Delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -306,7 +306,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a servicePrincipal object. + /// Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -325,7 +325,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. + /// Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprintPrincipal, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. /// /// A /// The request body @@ -364,7 +364,7 @@ public partial class ServicePrincipalItemRequestBuilderDeleteRequestConfiguratio { } /// - /// Retrieve the properties and relationships of a servicePrincipal object. + /// Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ServicePrincipalItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/ServicePrincipalsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/ServicePrincipalsRequestBuilder.cs index 3bac13f6ba5..207212aee21 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/ServicePrincipalsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/ServicePrincipalsRequestBuilder.cs @@ -78,7 +78,7 @@ public ServicePrincipalsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Retrieve a list of servicePrincipal objects. + /// Retrieve a list of servicePrincipal objects. This API also returns agentIdentityBlueprintPrincipal objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprintPrincipal. /// Find more info here /// /// A @@ -102,7 +102,7 @@ public ServicePrincipalsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new servicePrincipal object. + /// Create a new servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. /// Find more info here /// /// A @@ -128,7 +128,7 @@ public ServicePrincipalsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of servicePrincipal objects. + /// Retrieve a list of servicePrincipal objects. This API also returns agentIdentityBlueprintPrincipal objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprintPrincipal. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -147,7 +147,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new servicePrincipal object. + /// Create a new servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. /// /// A /// The request body @@ -178,7 +178,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.ServicePrincipals.ServicePrincipalsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of servicePrincipal objects. + /// Retrieve a list of servicePrincipal objects. This API also returns agentIdentityBlueprintPrincipal objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprintPrincipal. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ServicePrincipalsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/ServicePrincipalsWithAppId/ServicePrincipalsWithAppIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipalsWithAppId/ServicePrincipalsWithAppIdRequestBuilder.cs index 79be2a39fc1..d7ed749e48b 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipalsWithAppId/ServicePrincipalsWithAppIdRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipalsWithAppId/ServicePrincipalsWithAppIdRequestBuilder.cs @@ -37,7 +37,7 @@ public ServicePrincipalsWithAppIdRequestBuilder(string rawUrl, IRequestAdapter r { } /// - /// Delete a servicePrincipal object. + /// Delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of a servicePrincipal object. + /// Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. /// Find more info here /// /// A @@ -84,7 +84,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. + /// Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprintPrincipal, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. /// Find more info here /// /// A @@ -110,7 +110,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a servicePrincipal object. + /// Delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -129,7 +129,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a servicePrincipal object. + /// Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -148,7 +148,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. + /// Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprintPrincipal, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. /// /// A /// The request body @@ -187,7 +187,7 @@ public partial class ServicePrincipalsWithAppIdRequestBuilderDeleteRequestConfig { } /// - /// Retrieve the properties and relationships of a servicePrincipal object. + /// Retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ServicePrincipalsWithAppIdRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Columns/ColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Columns/ColumnsRequestBuilder.cs index e6bbc8f5741..4a12b8e925f 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Columns/ColumnsRequestBuilder.cs @@ -54,7 +54,7 @@ public ColumnsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Get columns from storage + /// The set of custom structured metadata supported by the fileStorageContainer. Read-write. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public ColumnsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get columns from storage + /// The set of custom structured metadata supported by the fileStorageContainer. Read-write. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Columns.ColumnsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get columns from storage + /// The set of custom structured metadata supported by the fileStorageContainer. Read-write. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ColumnsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs index 57b0f811853..0d6c8a3fd66 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// Get columns from storage + /// The set of custom structured metadata supported by the fileStorageContainer. Read-write. /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get columns from storage + /// The set of custom structured metadata supported by the fileStorageContainer. Read-write. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public partial class ColumnDefinitionItemRequestBuilderDeleteRequestConfiguratio { } /// - /// Get columns from storage + /// The set of custom structured metadata supported by the fileStorageContainer. Read-write. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ColumnDefinitionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs index 6c31d806dac..63512976176 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs @@ -12,6 +12,7 @@ using Microsoft.Graph.Storage.FileStorage.Containers.Item.ProvisionMigrationContainers; using Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin; using Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups; using Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -79,6 +80,11 @@ public partial class FileStorageContainerItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the sharePointGroups property of the microsoft.graph.fileStorageContainer entity. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.SharePointGroupsRequestBuilder SharePointGroups + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.SharePointGroupsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the unlock method. public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock.UnlockRequestBuilder Unlock { diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..d011c5c1743 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..650e4af9246 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..bc3a48aad97 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Item +{ + /// + /// Provides operations to manage the members property of the microsoft.graph.sharePointGroup entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupMemberItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SharePointGroupMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members/{sharePointGroupMember%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SharePointGroupMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members/{sharePointGroupMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property members for storage + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get members from storage + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroupMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property members in storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.SharePointGroupMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.SharePointGroupMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroupMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property members for storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get members from storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property members in storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharePointGroupMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharePointGroupMember body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get members from storage + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupMemberItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupMemberItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs new file mode 100644 index 00000000000..6dfa4e66769 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Count; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members +{ + /// + /// Provides operations to manage the members property of the microsoft.graph.sharePointGroup entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the members property of the microsoft.graph.sharePointGroup entity. + /// The unique identifier of sharePointGroupMember + /// A + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("sharePointGroupMember%2Did", position); + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get members from storage + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroupMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to members for storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.SharePointGroupMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.SharePointGroupMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroupMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get members from storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to members for storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharePointGroupMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharePointGroupMember body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.MembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.MembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get members from storage + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs new file mode 100644 index 00000000000..82f379b6eb8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item +{ + /// + /// Provides operations to manage the sharePointGroups property of the microsoft.graph.fileStorageContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the members property of the microsoft.graph.sharePointGroup entity. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.MembersRequestBuilder Members + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.MembersRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SharePointGroupItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SharePointGroupItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property sharePointGroups for storage + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get sharePointGroups from storage + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property sharePointGroups in storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.SharePointGroup body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.SharePointGroup body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property sharePointGroups for storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get sharePointGroups from storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property sharePointGroups in storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharePointGroup body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharePointGroup body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get sharePointGroups from storage + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs new file mode 100644 index 00000000000..30d7e005bdc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Count; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups +{ + /// + /// Provides operations to manage the sharePointGroups property of the microsoft.graph.fileStorageContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the sharePointGroups property of the microsoft.graph.fileStorageContainer entity. + /// The unique identifier of sharePointGroup + /// A + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("sharePointGroup%2Did", position); + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SharePointGroupsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SharePointGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get sharePointGroups from storage + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to sharePointGroups for storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.SharePointGroup body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.SharePointGroup body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get sharePointGroups from storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to sharePointGroups for storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharePointGroup body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharePointGroup body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.SharePointGroupsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.SharePointGroupsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get sharePointGroups from storage + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Columns/ColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Columns/ColumnsRequestBuilder.cs index 67ee6d4b31f..87183ad09d4 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Columns/ColumnsRequestBuilder.cs @@ -54,7 +54,7 @@ public ColumnsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Get columns from storage + /// The set of custom structured metadata supported by the fileStorageContainer. Read-write. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public ColumnsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get columns from storage + /// The set of custom structured metadata supported by the fileStorageContainer. Read-write. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Columns.ColumnsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get columns from storage + /// The set of custom structured metadata supported by the fileStorageContainer. Read-write. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ColumnsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs index 36cc9f24f44..14bc11bab61 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// Get columns from storage + /// The set of custom structured metadata supported by the fileStorageContainer. Read-write. /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get columns from storage + /// The set of custom structured metadata supported by the fileStorageContainer. Read-write. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public partial class ColumnDefinitionItemRequestBuilderDeleteRequestConfiguratio { } /// - /// Get columns from storage + /// The set of custom structured metadata supported by the fileStorageContainer. Read-write. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ColumnDefinitionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs index 47366bfad91..459bc8c04eb 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs @@ -12,6 +12,7 @@ using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.ProvisionMigrationContainers; using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin; using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups; using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Unlock; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -79,6 +80,11 @@ public partial class FileStorageContainerItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the sharePointGroups property of the microsoft.graph.fileStorageContainer entity. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.SharePointGroupsRequestBuilder SharePointGroups + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.SharePointGroupsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the unlock method. public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Unlock.UnlockRequestBuilder Unlock { diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..2a7d7aa191e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..7b93b2f6e40 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..57a8e84d975 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Item +{ + /// + /// Provides operations to manage the members property of the microsoft.graph.sharePointGroup entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupMemberItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SharePointGroupMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members/{sharePointGroupMember%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SharePointGroupMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members/{sharePointGroupMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property members for storage + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get members from storage + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroupMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property members in storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.SharePointGroupMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.SharePointGroupMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroupMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property members for storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get members from storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property members in storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharePointGroupMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharePointGroupMember body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get members from storage + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupMemberItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupMemberItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs new file mode 100644 index 00000000000..83691774cee --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Count; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members +{ + /// + /// Provides operations to manage the members property of the microsoft.graph.sharePointGroup entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the members property of the microsoft.graph.sharePointGroup entity. + /// The unique identifier of sharePointGroupMember + /// A + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("sharePointGroupMember%2Did", position); + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get members from storage + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroupMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to members for storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.SharePointGroupMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.SharePointGroupMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroupMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get members from storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to members for storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharePointGroupMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharePointGroupMember body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.MembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.MembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get members from storage + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs new file mode 100644 index 00000000000..3a79289eaf7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item +{ + /// + /// Provides operations to manage the sharePointGroups property of the microsoft.graph.fileStorageContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the members property of the microsoft.graph.sharePointGroup entity. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.MembersRequestBuilder Members + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.MembersRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SharePointGroupItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SharePointGroupItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property sharePointGroups for storage + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get sharePointGroups from storage + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property sharePointGroups in storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.SharePointGroup body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.SharePointGroup body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property sharePointGroups for storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get sharePointGroups from storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property sharePointGroups in storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharePointGroup body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharePointGroup body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get sharePointGroups from storage + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs new file mode 100644 index 00000000000..c42cfe9ece0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Count; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups +{ + /// + /// Provides operations to manage the sharePointGroups property of the microsoft.graph.fileStorageContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the sharePointGroups property of the microsoft.graph.fileStorageContainer entity. + /// The unique identifier of sharePointGroup + /// A + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("sharePointGroup%2Did", position); + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SharePointGroupsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SharePointGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get sharePointGroups from storage + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to sharePointGroups for storage + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.SharePointGroup body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.SharePointGroup body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get sharePointGroups from storage + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to sharePointGroups for storage + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharePointGroup body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharePointGroup body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.SharePointGroupsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.SharePointGroupsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get sharePointGroups from storage + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointGroupsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.cs index 66e2d709ff2..3688443aa3b 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.cs @@ -6,6 +6,7 @@ using Microsoft.Graph.Teams.Item.Channels.Item.Archive; using Microsoft.Graph.Teams.Item.Channels.Item.CompleteMigration; using Microsoft.Graph.Teams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; +using Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps; using Microsoft.Graph.Teams.Item.Channels.Item.FilesFolder; using Microsoft.Graph.Teams.Item.Channels.Item.Members; using Microsoft.Graph.Teams.Item.Channels.Item.Messages; @@ -50,6 +51,11 @@ public partial class ChannelItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Teams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder EnabledApps + { + get => new global::Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the filesFolder property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Teams.Item.Channels.Item.FilesFolder.FilesFolderRequestBuilder FilesFolder { diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..95ea2171b81 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/enabledApps/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/enabledApps/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/EnabledApps/EnabledAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/EnabledApps/EnabledAppsRequestBuilder.cs new file mode 100644 index 00000000000..52562607de1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/EnabledApps/EnabledAppsRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Count; +using Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps +{ + /// + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// The unique identifier of teamsApp + /// A + public global::Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("teamsApp%2Did", position); + return new global::Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EnabledAppsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/enabledApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EnabledAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/enabledApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get enabledApps from teams + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get enabledApps from teams + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get enabledApps from teams + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/EnabledApps/Item/TeamsAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/EnabledApps/Item/TeamsAppItemRequestBuilder.cs new file mode 100644 index 00000000000..ec791b17276 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/EnabledApps/Item/TeamsAppItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Item +{ + /// + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TeamsAppItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/enabledApps/{teamsApp%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TeamsAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/enabledApps/{teamsApp%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get enabledApps from teams + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get enabledApps from teams + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get enabledApps from teams + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index c9820ea6d2d..48e115a26ac 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.Count; using Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.Delta; using Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.Item; +using Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -31,6 +32,11 @@ public partial class RepliesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..4e2e8f97d84 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..b384c69506c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index bfb27dd9bcd..a690182b31a 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Teams.Item.Channels.Item.Messages.Count; using Microsoft.Graph.Teams.Item.Channels.Item.Messages.Delta; using Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item; +using Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -31,6 +32,11 @@ public partial class MessagesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Teams.Item.Channels.Item.Messages.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the messages property of the microsoft.graph.channel entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..5e72c93264d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..32465696a50 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/EnabledApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/EnabledApps/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..545d8ecc3d1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/EnabledApps/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/enabledApps/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/enabledApps/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/EnabledApps/EnabledAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/EnabledApps/EnabledAppsRequestBuilder.cs new file mode 100644 index 00000000000..68674cf71b8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/EnabledApps/EnabledAppsRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Count; +using Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps +{ + /// + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// The unique identifier of teamsApp + /// A + public global::Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("teamsApp%2Did", position); + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EnabledAppsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/enabledApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EnabledAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/enabledApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get enabledApps from teams + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get enabledApps from teams + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get enabledApps from teams + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/EnabledApps/Item/TeamsAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/EnabledApps/Item/TeamsAppItemRequestBuilder.cs new file mode 100644 index 00000000000..7b912f3f022 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/EnabledApps/Item/TeamsAppItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Item +{ + /// + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TeamsAppItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/enabledApps/{teamsApp%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TeamsAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/enabledApps/{teamsApp%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get enabledApps from teams + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get enabledApps from teams + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get enabledApps from teams + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs index b70298de463..fc7f1ca6152 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.Count; using Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.Delta; using Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.Item; +using Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -31,6 +32,11 @@ public partial class RepliesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..5dbad73b81b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..733e36d3540 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs index 6413eb6264e..6288ee87e5b 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Count; using Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Delta; using Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item; +using Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -31,6 +32,11 @@ public partial class MessagesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the messages property of the microsoft.graph.channel entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..6fa59ee258b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..e541186936f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/messages/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/messages/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs index a1cbd551dbd..48a34558916 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs @@ -6,6 +6,7 @@ using Microsoft.Graph.Teams.Item.PrimaryChannel.Archive; using Microsoft.Graph.Teams.Item.PrimaryChannel.CompleteMigration; using Microsoft.Graph.Teams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; +using Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps; using Microsoft.Graph.Teams.Item.PrimaryChannel.FilesFolder; using Microsoft.Graph.Teams.Item.PrimaryChannel.Members; using Microsoft.Graph.Teams.Item.PrimaryChannel.Messages; @@ -50,6 +51,11 @@ public partial class PrimaryChannelRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Teams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder EnabledApps + { + get => new global::Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the filesFolder property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Teams.Item.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder FilesFolder { diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs index 94e7752cfe7..d4548f9dc62 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs @@ -6,6 +6,7 @@ using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Archive; using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.CompleteMigration; using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; +using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps; using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.FilesFolder; using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members; using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages; @@ -50,6 +51,11 @@ public partial class ChannelItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder EnabledApps + { + get => new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the filesFolder property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.FilesFolder.FilesFolderRequestBuilder FilesFolder { diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..c7ba3b75fc1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/enabledApps/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/enabledApps/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/EnabledApps/EnabledAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/EnabledApps/EnabledAppsRequestBuilder.cs new file mode 100644 index 00000000000..e5a031baa57 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/EnabledApps/EnabledAppsRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Count; +using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps +{ + /// + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// The unique identifier of teamsApp + /// A + public global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("teamsApp%2Did", position); + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EnabledAppsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/enabledApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EnabledAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/enabledApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get enabledApps from teamwork + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get enabledApps from teamwork + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get enabledApps from teamwork + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/EnabledApps/Item/TeamsAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/EnabledApps/Item/TeamsAppItemRequestBuilder.cs new file mode 100644 index 00000000000..f06916cbce2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/EnabledApps/Item/TeamsAppItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Item +{ + /// + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TeamsAppItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/enabledApps/{teamsApp%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TeamsAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/enabledApps/{teamsApp%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get enabledApps from teamwork + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get enabledApps from teamwork + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get enabledApps from teamwork + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index a8e92e98cda..94bc06d5e8b 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Count; using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Delta; using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Item; +using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -31,6 +32,11 @@ public partial class RepliesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..90bdedf479b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..beb2dc96ebb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index b20cdcf18fa..9be8082b461 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Count; using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Delta; using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item; +using Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -31,6 +32,11 @@ public partial class MessagesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the messages property of the microsoft.graph.channel entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..d43b9707c95 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..e65082da9be --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/Tenants/Item/MultiTenantOrganizationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/Tenants/Item/MultiTenantOrganizationMemberItemRequestBuilder.cs index ed8337ef554..4f8d7a2c154 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/Tenants/Item/MultiTenantOrganizationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/Tenants/Item/MultiTenantOrganizationMemberItemRequestBuilder.cs @@ -82,7 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.MultiTenantOrganizationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the navigation property tenants in tenantRelationships + /// Update the properties of a tenant in a multitenant organization. Only owner tenants can call this API. + /// Find more info here /// /// A /// The request body @@ -145,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property tenants in tenantRelationships + /// Update the properties of a tenant in a multitenant organization. Only owner tenants can call this API. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/ExternalAuthenticationMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/ExternalAuthenticationMethodsRequestBuilder.cs index c24dc1caa7e..26782780711 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/ExternalAuthenticationMethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/ExternalAuthenticationMethodsRequestBuilder.cs @@ -54,7 +54,7 @@ public ExternalAuthenticationMethodsRequestBuilder(string rawUrl, IRequestAdapte { } /// - /// Represents the external authentication methods registered to a user for authentication using an external identity provider. + /// Represents the external MFA registered to a user for authentication using an external identity provider. /// /// A /// Cancellation token to use when cancelling requests @@ -103,7 +103,7 @@ public ExternalAuthenticationMethodsRequestBuilder(string rawUrl, IRequestAdapte return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExternalAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Represents the external authentication methods registered to a user for authentication using an external identity provider. + /// Represents the external MFA registered to a user for authentication using an external identity provider. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Users.Item.Authentication.ExternalAuthenticationMethods.ExternalAuthenticationMethodsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Represents the external authentication methods registered to a user for authentication using an external identity provider. + /// Represents the external MFA registered to a user for authentication using an external identity provider. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ExternalAuthenticationMethodsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilder.cs index fbb7f111491..06c306d168f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task DeleteAsync(Action - /// Represents the external authentication methods registered to a user for authentication using an external identity provider. + /// Represents the external MFA registered to a user for authentication using an external identity provider. /// /// A /// Cancellation token to use when cancelling requests @@ -125,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Represents the external authentication methods registered to a user for authentication using an external identity provider. + /// Represents the external MFA registered to a user for authentication using an external identity provider. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -183,7 +183,7 @@ public partial class ExternalAuthenticationMethodItemRequestBuilderDeleteRequest { } /// - /// Represents the external authentication methods registered to a user for authentication using an external identity provider. + /// Represents the external MFA registered to a user for authentication using an external identity provider. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ExternalAuthenticationMethodItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index b2527fb6172..830a4d4390d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.Count; using Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.Delta; using Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.Item; +using Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -31,6 +32,11 @@ public partial class RepliesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..2c2e2a6ceb6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..11ee82e6e80 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/MessagesRequestBuilder.cs index 204bc9aacfd..c8486751d61 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/MessagesRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Users.Item.Chats.Item.Messages.Count; using Microsoft.Graph.Users.Item.Chats.Item.Messages.Delta; using Microsoft.Graph.Users.Item.Chats.Item.Messages.Item; +using Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -31,6 +32,11 @@ public partial class MessagesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.Chats.Item.Messages.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the messages property of the microsoft.graph.chat entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..5e8ad7146a2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..9dfd5252d9d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/messages/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/messages/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Count/CountRequestBuilder.cs index 9c645acde00..777dd4c441c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Count/CountRequestBuilder.cs @@ -40,6 +40,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -61,6 +62,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -80,6 +82,7 @@ public RequestInformation ToGetRequestInformation(Action /// A /// The raw URL to use for the request builder. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Users.Item.Insights.Shared.Count.CountRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Users.Item.Insights.Shared.Count.CountRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs index d20851732cb..78a1944f8d6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs @@ -41,6 +41,7 @@ public LastSharedMethodRequestBuilder(string rawUrl, IRequestAdapter requestAdap /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -62,6 +63,7 @@ public LastSharedMethodRequestBuilder(string rawUrl, IRequestAdapter requestAdap /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -81,6 +83,7 @@ public RequestInformation ToGetRequestInformation(Action /// A /// The raw URL to use for the request builder. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Users.Item.Insights.Shared.Item.LastSharedMethod.LastSharedMethodRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Users.Item.Insights.Shared.Item.LastSharedMethod.LastSharedMethodRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs index 564c27f4a6a..a3123861f28 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs @@ -41,6 +41,7 @@ public ResourceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -62,6 +63,7 @@ public ResourceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -81,6 +83,7 @@ public RequestInformation ToGetRequestInformation(Action /// A /// The raw URL to use for the request builder. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Users.Item.Insights.Shared.Item.Resource.ResourceRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Users.Item.Insights.Shared.Item.Resource.ResourceRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs index c9d704fa805..27e4a9a2ae6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs @@ -21,11 +21,13 @@ namespace Microsoft.Graph.Users.Item.Insights.Shared.Item public partial class SharedInsightItemRequestBuilder : BaseRequestBuilder { /// Provides operations to manage the lastSharedMethod property of the microsoft.graph.sharedInsight entity. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Users.Item.Insights.Shared.Item.LastSharedMethod.LastSharedMethodRequestBuilder LastSharedMethod { get => new global::Microsoft.Graph.Users.Item.Insights.Shared.Item.LastSharedMethod.LastSharedMethodRequestBuilder(PathParameters, RequestAdapter); } /// Provides operations to manage the resource property of the microsoft.graph.sharedInsight entity. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Users.Item.Insights.Shared.Item.Resource.ResourceRequestBuilder Resource { get => new global::Microsoft.Graph.Users.Item.Insights.Shared.Item.Resource.ResourceRequestBuilder(PathParameters, RequestAdapter); @@ -52,6 +54,7 @@ public SharedInsightItemRequestBuilder(string rawUrl, IRequestAdapter requestAda /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -75,6 +78,7 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -99,6 +103,7 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PatchAsync(global::Microsoft.Graph.Models.SharedInsight body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -121,6 +126,7 @@ public async Task DeleteAsync(Action /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) @@ -140,6 +146,7 @@ public RequestInformation ToDeleteRequestInformation(Action /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -160,6 +167,7 @@ public RequestInformation ToGetRequestInformation(ActionA /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharedInsight body, Action>? requestConfiguration = default) @@ -181,6 +189,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Mode /// /// A /// The raw URL to use for the request builder. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Users.Item.Insights.Shared.Item.SharedInsightItemRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Users.Item.Insights.Shared.Item.SharedInsightItemRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/SharedRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/SharedRequestBuilder.cs index 8a0d60f92a1..7c17997e377 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/SharedRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/SharedRequestBuilder.cs @@ -21,6 +21,7 @@ namespace Microsoft.Graph.Users.Item.Insights.Shared public partial class SharedRequestBuilder : BaseRequestBuilder { /// Provides operations to count the resources in the collection. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Users.Item.Insights.Shared.Count.CountRequestBuilder Count { get => new global::Microsoft.Graph.Users.Item.Insights.Shared.Count.CountRequestBuilder(PathParameters, RequestAdapter); @@ -28,6 +29,7 @@ public partial class SharedRequestBuilder : BaseRequestBuilder /// Provides operations to manage the shared property of the microsoft.graph.officeGraphInsights entity. /// The unique identifier of sharedInsight /// A + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Users.Item.Insights.Shared.Item.SharedInsightItemRequestBuilder this[string position] { get @@ -60,6 +62,7 @@ public SharedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -84,6 +87,7 @@ public SharedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PostAsync(global::Microsoft.Graph.Models.SharedInsight body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -106,6 +110,7 @@ public SharedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -126,6 +131,7 @@ public RequestInformation ToGetRequestInformation(ActionA /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharedInsight body, Action>? requestConfiguration = default) @@ -147,6 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model /// /// A /// The raw URL to use for the request builder. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Users.Item.Insights.Shared.SharedRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Users.Item.Insights.Shared.SharedRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Count/CountRequestBuilder.cs index 80c2822391b..e89b6e7c9eb 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Count/CountRequestBuilder.cs @@ -40,6 +40,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -61,6 +62,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -80,6 +82,7 @@ public RequestInformation ToGetRequestInformation(Action /// A /// The raw URL to use for the request builder. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Users.Item.Insights.Used.Count.CountRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Users.Item.Insights.Used.Count.CountRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/Resource/ResourceRequestBuilder.cs index 73b32d7c2d6..d712b710886 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/Resource/ResourceRequestBuilder.cs @@ -41,6 +41,7 @@ public ResourceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -62,6 +63,7 @@ public ResourceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -81,6 +83,7 @@ public RequestInformation ToGetRequestInformation(Action /// A /// The raw URL to use for the request builder. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Users.Item.Insights.Used.Item.Resource.ResourceRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Users.Item.Insights.Used.Item.Resource.ResourceRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilder.cs index b4ea65fb0b1..4331cd73089 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilder.cs @@ -20,6 +20,7 @@ namespace Microsoft.Graph.Users.Item.Insights.Used.Item public partial class UsedInsightItemRequestBuilder : BaseRequestBuilder { /// Provides operations to manage the resource property of the microsoft.graph.usedInsight entity. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Users.Item.Insights.Used.Item.Resource.ResourceRequestBuilder Resource { get => new global::Microsoft.Graph.Users.Item.Insights.Used.Item.Resource.ResourceRequestBuilder(PathParameters, RequestAdapter); @@ -46,6 +47,7 @@ public UsedInsightItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapt /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -69,6 +71,7 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -93,6 +96,7 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PatchAsync(global::Microsoft.Graph.Models.UsedInsight body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -115,6 +119,7 @@ public async Task DeleteAsync(Action /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) @@ -134,6 +139,7 @@ public RequestInformation ToDeleteRequestInformation(Action /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -154,6 +160,7 @@ public RequestInformation ToGetRequestInformation(ActionA /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.UsedInsight body, Action>? requestConfiguration = default) @@ -175,6 +182,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Mode /// /// A /// The raw URL to use for the request builder. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Users.Item.Insights.Used.Item.UsedInsightItemRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Users.Item.Insights.Used.Item.UsedInsightItemRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/UsedRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/UsedRequestBuilder.cs index 9fe15065345..16ccf6b7989 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/UsedRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/UsedRequestBuilder.cs @@ -21,6 +21,7 @@ namespace Microsoft.Graph.Users.Item.Insights.Used public partial class UsedRequestBuilder : BaseRequestBuilder { /// Provides operations to count the resources in the collection. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Users.Item.Insights.Used.Count.CountRequestBuilder Count { get => new global::Microsoft.Graph.Users.Item.Insights.Used.Count.CountRequestBuilder(PathParameters, RequestAdapter); @@ -28,6 +29,7 @@ public partial class UsedRequestBuilder : BaseRequestBuilder /// Provides operations to manage the used property of the microsoft.graph.officeGraphInsights entity. /// The unique identifier of usedInsight /// A + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Users.Item.Insights.Used.Item.UsedInsightItemRequestBuilder this[string position] { get @@ -60,6 +62,7 @@ public UsedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -84,6 +87,7 @@ public UsedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PostAsync(global::Microsoft.Graph.Models.UsedInsight body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -106,6 +110,7 @@ public UsedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -126,6 +131,7 @@ public RequestInformation ToGetRequestInformation(ActionA /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.UsedInsight body, Action>? requestConfiguration = default) @@ -147,6 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model /// /// A /// The raw URL to use for the request builder. + [Obsolete("This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01")] public global::Microsoft.Graph.Users.Item.Insights.Used.UsedRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Users.Item.Insights.Used.UsedRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs index 10bd3cab63e..cb774d7e70b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs @@ -6,6 +6,7 @@ using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Archive; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.CompleteMigration; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.FilesFolder; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages; @@ -50,6 +51,11 @@ public partial class ChannelItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder EnabledApps + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the filesFolder property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.FilesFolder.FilesFolderRequestBuilder FilesFolder { diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..a1573ba24fe --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/enabledApps/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/enabledApps/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/EnabledApps/EnabledAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/EnabledApps/EnabledAppsRequestBuilder.cs new file mode 100644 index 00000000000..1eae61d113c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/EnabledApps/EnabledAppsRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Count; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps +{ + /// + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// The unique identifier of teamsApp + /// A + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("teamsApp%2Did", position); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EnabledAppsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/enabledApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EnabledAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/enabledApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get enabledApps from users + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get enabledApps from users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get enabledApps from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/EnabledApps/Item/TeamsAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/EnabledApps/Item/TeamsAppItemRequestBuilder.cs new file mode 100644 index 00000000000..4a72970d9f1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/EnabledApps/Item/TeamsAppItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Item +{ + /// + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TeamsAppItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/enabledApps/{teamsApp%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TeamsAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/enabledApps/{teamsApp%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get enabledApps from users + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get enabledApps from users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get enabledApps from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 98f40b24fff..673bae058dd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Count; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Item; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -31,6 +32,11 @@ public partial class RepliesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..fbb4fdaf6f3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..d86867d47b7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index 916a8cfaf09..1809e82bd80 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Count; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Delta; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -31,6 +32,11 @@ public partial class MessagesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the messages property of the microsoft.graph.channel entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..07716486fe4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..f1928572fab --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/EnabledApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/EnabledApps/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..dd5a3e2e732 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/EnabledApps/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/enabledApps/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/enabledApps/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/EnabledApps/EnabledAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/EnabledApps/EnabledAppsRequestBuilder.cs new file mode 100644 index 00000000000..23ef3fbcda9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/EnabledApps/EnabledAppsRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps +{ + /// + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// The unique identifier of teamsApp + /// A + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("teamsApp%2Did", position); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EnabledAppsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/enabledApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EnabledAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/enabledApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get enabledApps from users + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get enabledApps from users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get enabledApps from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EnabledAppsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/EnabledApps/Item/TeamsAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/EnabledApps/Item/TeamsAppItemRequestBuilder.cs new file mode 100644 index 00000000000..f2a08617551 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/EnabledApps/Item/TeamsAppItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item +{ + /// + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TeamsAppItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/enabledApps/{teamsApp%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TeamsAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/enabledApps/{teamsApp%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get enabledApps from users + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get enabledApps from users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get enabledApps from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TeamsAppItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs index 438fd4bff65..076591b3d31 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Count; using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta; using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Item; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -31,6 +32,11 @@ public partial class RepliesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the replies property of the microsoft.graph.chatMessage entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..7cac72e9bc9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..e86bac5f3b7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs index bdbff4c3bce..6e0ce6487f8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Count; using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Delta; using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -31,6 +32,11 @@ public partial class MessagesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the replyWithQuote method. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder ReplyWithQuote + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the messages property of the microsoft.graph.channel entity. /// The unique identifier of chatMessage /// A diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs new file mode 100644 index 00000000000..a73a7602d22 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuotePostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ReplyWithQuotePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The messageIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MessageIds + { + get { return BackingStore?.Get?>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#nullable restore +#else + public List MessageIds + { + get { return BackingStore?.Get>("messageIds"); } + set { BackingStore?.Set("messageIds", value); } + } +#endif + /// The replyMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ChatMessage? ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ChatMessage ReplyMessage + { + get { return BackingStore?.Get("replyMessage"); } + set { BackingStore?.Set("replyMessage", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ReplyWithQuotePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "messageIds", n => { MessageIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "replyMessage", n => { ReplyMessage = n.GetObjectValue(global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("messageIds", MessageIds); + writer.WriteObjectValue("replyMessage", ReplyMessage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs new file mode 100644 index 00000000000..ab62ea6c9bd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/ReplyWithQuote/ReplyWithQuoteRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote +{ + /// + /// Provides operations to call the replyWithQuote method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/messages/replyWithQuote", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReplyWithQuoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/messages/replyWithQuote", rawUrl) + { + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Reply with quote to a single chat message or multiple chat messages in a chat. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReplyWithQuoteRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs index 4f68adbf12c..f272382579e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs @@ -6,6 +6,7 @@ using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Archive; using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.CompleteMigration; using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps; using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.FilesFolder; using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members; using Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages; @@ -50,6 +51,11 @@ public partial class PrimaryChannelRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder EnabledApps + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the filesFolder property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder FilesFolder { diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs index 4db0cc963c8..2a4fa0f452e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs @@ -35,8 +35,7 @@ public CreateForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. - /// Find more info here + /// Invoke action createForward /// /// A /// The request body @@ -61,7 +60,7 @@ public CreateForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. + /// Invoke action createForward /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs index bb6a1808217..2086122d33c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs @@ -35,8 +35,7 @@ public CreateForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. - /// Find more info here + /// Invoke action createForward /// /// A /// The request body @@ -61,7 +60,7 @@ public CreateForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. + /// Invoke action createForward /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs index 2101e9fbfc2..9fabbcb121c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs @@ -35,8 +35,7 @@ public CreateForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. - /// Find more info here + /// Invoke action createForward /// /// A /// The request body @@ -61,7 +60,7 @@ public CreateForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. + /// Invoke action createForward /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Restore/RestoreRequestBuilder.cs index df92a49a70b..b768b024d8e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Settings/Exchange/ExchangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Settings/Exchange/ExchangeRequestBuilder.cs new file mode 100644 index 00000000000..1d3fa2494f9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Settings/Exchange/ExchangeRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Settings.Exchange +{ + /// + /// Provides operations to manage the exchange property of the microsoft.graph.userSettings entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExchangeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ExchangeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/exchange{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ExchangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/exchange{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get exchange from users + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ExchangeSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get exchange from users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Settings.Exchange.ExchangeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Settings.Exchange.ExchangeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get exchange from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExchangeRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExchangeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Settings/SettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Settings/SettingsRequestBuilder.cs index 1493b54268d..65a9ac0557f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Settings/SettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Settings/SettingsRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.Settings.Exchange; using Microsoft.Graph.Users.Item.Settings.ItemInsights; using Microsoft.Graph.Users.Item.Settings.ShiftPreferences; using Microsoft.Graph.Users.Item.Settings.Storage; @@ -23,6 +24,11 @@ namespace Microsoft.Graph.Users.Item.Settings [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SettingsRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the exchange property of the microsoft.graph.userSettings entity. + public global::Microsoft.Graph.Users.Item.Settings.Exchange.ExchangeRequestBuilder Exchange + { + get => new global::Microsoft.Graph.Users.Item.Settings.Exchange.ExchangeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the itemInsights property of the microsoft.graph.userSettings entity. public global::Microsoft.Graph.Users.Item.Settings.ItemInsights.ItemInsightsRequestBuilder ItemInsights { diff --git a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Item/DirectoryObjectItemRequestBuilder.cs index d08a27a57fc..1dcbdfc1b80 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Item/DirectoryObjectItemRequestBuilder.cs @@ -1,29 +1,31 @@ // #pragma warning disable CS0618 -using Microsoft.Graph.Models.ODataErrors; -using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.Sponsors.Item.Ref; using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; -using System.Threading; using System; namespace Microsoft.Graph.Users.Item.Sponsors.Item { /// - /// Provides operations to manage the sponsors property of the microsoft.graph.user entity. + /// Builds and executes requests for operations under \users\{user-id}\sponsors\{directoryObject-id} /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DirectoryObjectItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the collection of user entities. + public global::Microsoft.Graph.Users.Item.Sponsors.Item.Ref.RefRequestBuilder Ref + { + get => new global::Microsoft.Graph.Users.Item.Sponsors.Item.Ref.RefRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public DirectoryObjectItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/{directoryObject%2Did}{?%24expand,%24select}", pathParameters) + public DirectoryObjectItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/{directoryObject%2Did}", pathParameters) { } /// @@ -31,93 +33,7 @@ public DirectoryObjectItemRequestBuilder(Dictionary pathParamete /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/{directoryObject%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// The users and groups responsible for this guest's privileges in the tenant and keeping the guest's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// The users and groups responsible for this guest's privileges in the tenant and keeping the guest's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("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. - /// - /// A - /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// The users and groups responsible for this guest's privileges in the tenant and keeping the guest's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DirectoryObjectItemRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DirectoryObjectItemRequestBuilderGetRequestConfiguration : RequestConfiguration + public DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/{directoryObject%2Did}", rawUrl) { } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Item/Ref/RefRequestBuilder.cs new file mode 100644 index 00000000000..c8d297c4fb9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Item/Ref/RefRequestBuilder.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Sponsors.Item.Ref +{ + /// + /// Provides operations to manage the collection of user entities. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RefRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/{directoryObject%2Did}/$ref", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/{directoryObject%2Did}/$ref", rawUrl) + { + } + /// + /// Remove a user's sponsor. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a user's sponsor. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Sponsors.Item.Ref.RefRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Sponsors.Item.Ref.RefRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Ref/RefRequestBuilder.cs new file mode 100644 index 00000000000..f55708f577e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Ref/RefRequestBuilder.cs @@ -0,0 +1,267 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Sponsors.Ref +{ + /// + /// Provides operations to manage the collection of user entities. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RefRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl) + { + } + /// + /// Remove a user's sponsor. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Assign a user a sponsor. Sponsors are users and groups that are responsible for this guest user's privileges in the tenant and for keeping the guest user's information and access up to date. + /// Find more info here + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.ReferenceCreate body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ReferenceCreate body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a user's sponsor. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, "{+baseurl}/users/{user%2Did}/sponsors/$ref?@id={%40id}", PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, "{+baseurl}/users/{user%2Did}/sponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Assign a user a sponsor. Sponsors are users and groups that are responsible for this guest user's privileges in the tenant and for keeping the guest user's information and access up to date. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ReferenceCreate body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ReferenceCreate body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/users/{user%2Did}/sponsors/$ref", PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(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. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Remove a user's sponsor. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RefRequestBuilderDeleteQueryParameters + { + /// The delete Uri +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%40id")] + public string? Id { get; set; } +#nullable restore +#else + [QueryParameter("%40id")] + public string Id { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RefRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RefRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RefRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/SponsorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/SponsorsRequestBuilder.cs index be8f9621cc3..af57a21b412 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/SponsorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/SponsorsRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Models; using Microsoft.Graph.Users.Item.Sponsors.Count; using Microsoft.Graph.Users.Item.Sponsors.Item; +using Microsoft.Graph.Users.Item.Sponsors.Ref; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -25,7 +26,12 @@ public partial class SponsorsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.Sponsors.Count.CountRequestBuilder(PathParameters, RequestAdapter); } - /// Provides operations to manage the sponsors property of the microsoft.graph.user entity. + /// Provides operations to manage the collection of user entities. + public global::Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder Ref + { + get => new global::Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder(PathParameters, RequestAdapter); + } + /// Gets an item from the Microsoft.Graph.users.item.sponsors.item collection /// The unique identifier of directoryObject /// A public global::Microsoft.Graph.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder this[string position] diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index cd66909e07e..fd54bd5ac26 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -3,6 +3,7 @@ Microsoft.Graph.Admin.adminRequestBuilder.adminRequestBuilderGetQueryParameters: Microsoft.Graph.Admin.adminRequestBuilder.adminRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Admin.adminRequestBuilder.adminRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Admin.adminRequestBuilder.adminRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.adminRequestBuilder::|public|configurationManagement:global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationManagementRequestBuilder Microsoft.Graph.Admin.adminRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Admin.adminRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Admin.adminRequestBuilder::|public|edge:global.Microsoft.Graph.Admin.Edge.EdgeRequestBuilder @@ -18,6 +19,262 @@ Microsoft.Graph.Admin.adminRequestBuilder::|public|teams:global.Microsoft.Graph. Microsoft.Graph.Admin.adminRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Admin.adminRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Admin; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Admin.adminRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.AdminRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder.configurationDriftsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder.configurationDriftsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder.configurationDriftsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder.configurationDriftsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder.configurationDriftsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder.configurationDriftsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder.configurationDriftsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder.configurationDriftsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder.configurationDriftsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder.configurationDriftsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder::[ConfigurationDriftId:string]:global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder::|public|Count:global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationDriftCollectionResponse +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConfigurationDrift; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationDrift +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConfigurationDrift; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.configurationDriftsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.ConfigurationDriftsRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Count.CountRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder.ConfigurationDriftItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder.ConfigurationDriftItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder.ConfigurationDriftItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder.ConfigurationDriftItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder.ConfigurationDriftItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationDrift +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ConfigurationDrift; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationDrift +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ConfigurationDrift; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.configurationManagementRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.configurationManagementRequestBuilder.configurationManagementRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.configurationManagementRequestBuilder.configurationManagementRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.ConfigurationManagement.configurationManagementRequestBuilder.configurationManagementRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.ConfigurationManagement.configurationManagementRequestBuilder.configurationManagementRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.configurationManagementRequestBuilder.configurationManagementRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|configurationDrifts:global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.ConfigurationDriftsRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|configurationMonitoringResults:global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|configurationMonitors:global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.ConfigurationMonitorsRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|configurationSnapshotJobs:global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|configurationSnapshots:global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.ConfigurationSnapshotsRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationManagement +Microsoft.Graph.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ConfigurationManagement; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationManagement +Microsoft.Graph.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ConfigurationManagement; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.configurationManagementRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationManagementRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder.configurationMonitoringResultsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder.configurationMonitoringResultsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder.configurationMonitoringResultsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder.configurationMonitoringResultsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder.configurationMonitoringResultsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder.configurationMonitoringResultsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder.configurationMonitoringResultsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder.configurationMonitoringResultsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder.configurationMonitoringResultsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder.configurationMonitoringResultsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder::[ConfigurationMonitoringResultId:string]:global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder::|public|Count:global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationMonitoringResultCollectionResponse +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConfigurationMonitoringResult; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationMonitoringResult +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConfigurationMonitoringResult; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.configurationMonitoringResultsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.ConfigurationMonitoringResultsRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Count.CountRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder.ConfigurationMonitoringResultItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder.ConfigurationMonitoringResultItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder.ConfigurationMonitoringResultItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder.ConfigurationMonitoringResultItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder.ConfigurationMonitoringResultItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationMonitoringResult +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ConfigurationMonitoringResult; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationMonitoringResult +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ConfigurationMonitoringResult; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder.configurationMonitorsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder.configurationMonitorsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder.configurationMonitorsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder.configurationMonitorsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder.configurationMonitorsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder.configurationMonitorsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder.configurationMonitorsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder.configurationMonitorsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder.configurationMonitorsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder.configurationMonitorsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder::[ConfigurationMonitorId:string]:global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder::|public|Count:global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationMonitorCollectionResponse +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConfigurationMonitor; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationMonitor +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConfigurationMonitor; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.configurationMonitorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.ConfigurationMonitorsRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Count.CountRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder.baselineRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder.baselineRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder.baselineRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder.baselineRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder.baselineRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationBaseline +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ConfigurationBaseline; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationBaseline +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ConfigurationBaseline; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.baselineRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.BaselineRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder.ConfigurationMonitorItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder.ConfigurationMonitorItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder.ConfigurationMonitorItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder.ConfigurationMonitorItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder.ConfigurationMonitorItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder::|public|baseline:global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.BaselineRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationMonitor +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ConfigurationMonitor; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationMonitor +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ConfigurationMonitor; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.ConfigurationMonitorItemRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder.configurationSnapshotJobsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder.configurationSnapshotJobsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder.configurationSnapshotJobsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder.configurationSnapshotJobsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder.configurationSnapshotJobsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder.configurationSnapshotJobsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder.configurationSnapshotJobsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder.configurationSnapshotJobsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder.configurationSnapshotJobsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder.configurationSnapshotJobsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder::[ConfigurationSnapshotJobId:string]:global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder::|public|Count:global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationSnapshotJobCollectionResponse +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConfigurationSnapshotJob; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationSnapshotJob +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConfigurationSnapshotJob; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.configurationSnapshotJobsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.ConfigurationSnapshotJobsRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder.ConfigurationSnapshotJobItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder.ConfigurationSnapshotJobItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder.ConfigurationSnapshotJobItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder.ConfigurationSnapshotJobItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder.ConfigurationSnapshotJobItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationSnapshotJob +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ConfigurationSnapshotJob; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationSnapshotJob +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ConfigurationSnapshotJob; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item.ConfigurationSnapshotJobItemRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder.configurationSnapshotsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder.configurationSnapshotsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder.configurationSnapshotsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder.configurationSnapshotsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder.configurationSnapshotsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder.configurationSnapshotsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder.configurationSnapshotsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder.configurationSnapshotsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder.configurationSnapshotsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder.configurationSnapshotsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder::[ConfigurationBaselineId:string]:global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder::|public|Count:global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationBaselineCollectionResponse +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ConfigurationBaseline; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationBaseline +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ConfigurationBaseline; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.configurationSnapshotsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.ConfigurationSnapshotsRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder.ConfigurationBaselineItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder.ConfigurationBaselineItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder.ConfigurationBaselineItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder.ConfigurationBaselineItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder.ConfigurationBaselineItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationBaseline +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ConfigurationBaseline; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ConfigurationBaseline +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ConfigurationBaseline; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder Microsoft.Graph.Admin.Edge.edgeRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Admin.Edge.edgeRequestBuilder.edgeRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Admin.Edge.edgeRequestBuilder.edgeRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -212,12 +469,329 @@ Microsoft.Graph.Admin.Exchange.exchangeRequestBuilder::|public|constructor(pathP Microsoft.Graph.Admin.Exchange.exchangeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Admin.Exchange.exchangeRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Admin.Exchange.exchangeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ExchangeAdmin +Microsoft.Graph.Admin.Exchange.exchangeRequestBuilder::|public|mailboxes:global.Microsoft.Graph.Admin.Exchange.Mailboxes.MailboxesRequestBuilder Microsoft.Graph.Admin.Exchange.exchangeRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ExchangeAdmin; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ExchangeAdmin Microsoft.Graph.Admin.Exchange.exchangeRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Admin.Exchange.exchangeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Admin.Exchange.exchangeRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ExchangeAdmin; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Admin.Exchange.exchangeRequestBuilder::|public|tracing:global.Microsoft.Graph.Admin.Exchange.Tracing.TracingRequestBuilder Microsoft.Graph.Admin.Exchange.exchangeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Exchange.ExchangeRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Admin.Exchange.Mailboxes.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Count.CountRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.CreateImportSession.createImportSessionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.CreateImportSession.createImportSessionRequestBuilder.createImportSessionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.CreateImportSession.createImportSessionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.CreateImportSession.createImportSessionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.CreateImportSession.createImportSessionRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxItemImportSession +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.CreateImportSession.createImportSessionRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.CreateImportSession.createImportSessionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.CreateImportSession.CreateImportSessionRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.exportItemsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.exportItemsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.exportItemsPostRequestBody::|public|constructor():void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.exportItemsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.exportItemsPostRequestBody::|public|ItemIds:List +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.exportItemsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.exportItemsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsPostRequestBody +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.exportItemsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.exportItemsPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.exportItemsPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.exportItemsPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.exportItemsPostResponse::|public|Value:List +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.exportItemsPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsPostResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.exportItemsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.exportItemsRequestBuilder.exportItemsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.exportItemsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.exportItemsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.exportItemsRequestBuilder::|public|PostAsExportItemsPostResponseAsync(body:global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsPostResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.exportItemsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.exportItemsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.exportItemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.exportItemsResponse-->global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsPostResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.exportItemsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Count.CountRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.DeltaGetResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.DeltaGetResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.DeltaResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.DeltaRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.deltaResponse-->global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.DeltaGetResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.DeltaResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder.foldersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder.foldersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder.foldersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder.foldersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder.foldersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder.foldersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder.foldersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder.foldersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder.foldersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder::[MailboxFolderId:string]:global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder::|public|Count:global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Count.CountRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder::|public|delta:global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Delta.DeltaRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxFolderCollectionResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.foldersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.FoldersRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder.childFoldersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder::[MailboxFolderId1:string]:global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder::|public|Count:global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Count.CountRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder::|public|delta:global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.DeltaRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxFolderCollectionResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.childFoldersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.ChildFoldersRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Count.CountRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.DeltaGetResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.DeltaGetResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.DeltaResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.DeltaRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.deltaResponse-->global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.DeltaGetResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Delta.DeltaResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Count.CountRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.DeltaGetResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.DeltaGetResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.DeltaResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.DeltaRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.deltaResponse-->global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.DeltaGetResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.DeltaResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Item.MailboxItemItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Item.MailboxItemItemRequestBuilder.MailboxItemItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Item.MailboxItemItemRequestBuilder.MailboxItemItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Item.MailboxItemItemRequestBuilder.MailboxItemItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Item.MailboxItemItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Item.MailboxItemItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Item.MailboxItemItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxItem +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Item.MailboxItemItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Item.MailboxItemItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Item.MailboxItemItemRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.itemsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.itemsRequestBuilder.itemsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.itemsRequestBuilder::[MailboxItemId:string]:global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Item.MailboxItemItemRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.itemsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.itemsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.itemsRequestBuilder::|public|Count:global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Count.CountRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.itemsRequestBuilder::|public|delta:global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.Delta.DeltaRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.itemsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxItemCollectionResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.itemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.itemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.ItemsRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder.MailboxFolderItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder.MailboxFolderItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder.MailboxFolderItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxFolder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder::|public|items:global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.Items.ItemsRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.Item.MailboxFolderItemRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Count.CountRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.DeltaGetResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.DeltaGetResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.DeltaResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.DeltaRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.deltaResponse-->global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.DeltaGetResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.DeltaResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Item.MailboxItemItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Item.MailboxItemItemRequestBuilder.MailboxItemItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Item.MailboxItemItemRequestBuilder.MailboxItemItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Item.MailboxItemItemRequestBuilder.MailboxItemItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Item.MailboxItemItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Item.MailboxItemItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Item.MailboxItemItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxItem +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Item.MailboxItemItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Item.MailboxItemItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Item.MailboxItemItemRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.itemsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.itemsRequestBuilder.itemsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.itemsRequestBuilder.itemsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.itemsRequestBuilder::[MailboxItemId:string]:global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Item.MailboxItemItemRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.itemsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.itemsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.itemsRequestBuilder::|public|Count:global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Count.CountRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.itemsRequestBuilder::|public|delta:global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.Delta.DeltaRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.itemsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxItemCollectionResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.itemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.itemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.ItemsRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder.MailboxFolderItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder.MailboxFolderItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder.MailboxFolderItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder::|public|childFolders:global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.ChildFoldersRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxFolder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder::|public|items:global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.Items.ItemsRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.Item.MailboxFolderItemRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder.MailboxItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder.MailboxItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder.MailboxItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder.MailboxItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder.MailboxItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder::|public|createImportSession:global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.CreateImportSession.CreateImportSessionRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder::|public|exportItems:global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.ExportItems.ExportItemsRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder::|public|folders:global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.Folders.FoldersRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Mailbox +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Mailbox; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Mailbox +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Mailbox; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.mailboxesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.mailboxesRequestBuilder.mailboxesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Admin.Exchange.Mailboxes.mailboxesRequestBuilder.mailboxesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.mailboxesRequestBuilder.mailboxesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.Exchange.Mailboxes.mailboxesRequestBuilder.mailboxesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.mailboxesRequestBuilder.mailboxesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.Exchange.Mailboxes.mailboxesRequestBuilder.mailboxesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Exchange.Mailboxes.mailboxesRequestBuilder.mailboxesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Admin.Exchange.Mailboxes.mailboxesRequestBuilder.mailboxesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Admin.Exchange.Mailboxes.mailboxesRequestBuilder.mailboxesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.mailboxesRequestBuilder.mailboxesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Exchange.Mailboxes.mailboxesRequestBuilder::[MailboxId:string]:global.Microsoft.Graph.Admin.Exchange.Mailboxes.Item.MailboxItemRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.mailboxesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.mailboxesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Exchange.Mailboxes.mailboxesRequestBuilder::|public|Count:global.Microsoft.Graph.Admin.Exchange.Mailboxes.Count.CountRequestBuilder +Microsoft.Graph.Admin.Exchange.Mailboxes.mailboxesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.MailboxCollectionResponse +Microsoft.Graph.Admin.Exchange.Mailboxes.mailboxesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Mailbox; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Mailbox +Microsoft.Graph.Admin.Exchange.Mailboxes.mailboxesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.mailboxesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Mailbox; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Exchange.Mailboxes.mailboxesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Exchange.Mailboxes.MailboxesRequestBuilder Microsoft.Graph.Admin.Exchange.Tracing.MessageTraces.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Admin.Exchange.Tracing.MessageTraces.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Admin.Exchange.Tracing.MessageTraces.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -357,6 +931,8 @@ Microsoft.Graph.Admin.People.peopleRequestBuilder::|public|constructor(rawUrl:st Microsoft.Graph.Admin.People.peopleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PeopleAdminSettings Microsoft.Graph.Admin.People.peopleRequestBuilder::|public|itemInsights:global.Microsoft.Graph.Admin.People.ItemInsights.ItemInsightsRequestBuilder Microsoft.Graph.Admin.People.peopleRequestBuilder::|public|profileCardProperties:global.Microsoft.Graph.Admin.People.ProfileCardProperties.ProfileCardPropertiesRequestBuilder +Microsoft.Graph.Admin.People.peopleRequestBuilder::|public|profileSources:global.Microsoft.Graph.Admin.People.ProfileSources.ProfileSourcesRequestBuilder +Microsoft.Graph.Admin.People.peopleRequestBuilder::|public|profileSourcesWithSourceId(sourceId:string):global.Microsoft.Graph.Admin.People.ProfileSourcesWithSourceId.ProfileSourcesWithSourceIdRequestBuilder Microsoft.Graph.Admin.People.peopleRequestBuilder::|public|pronouns:global.Microsoft.Graph.Admin.People.Pronouns.PronounsRequestBuilder Microsoft.Graph.Admin.People.peopleRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Admin.People.peopleRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.People.PeopleRequestBuilder @@ -404,6 +980,65 @@ Microsoft.Graph.Admin.People.ProfileCardProperties.profileCardPropertiesRequestB Microsoft.Graph.Admin.People.ProfileCardProperties.profileCardPropertiesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Admin.People.ProfileCardProperties.profileCardPropertiesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ProfileCardProperty; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Admin.People.ProfileCardProperties.profileCardPropertiesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.People.ProfileCardProperties.ProfileCardPropertiesRequestBuilder +Microsoft.Graph.Admin.People.ProfileSources.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.People.ProfileSources.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.People.ProfileSources.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.People.ProfileSources.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.People.ProfileSources.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.People.ProfileSources.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.People.ProfileSources.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Admin.People.ProfileSources.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.People.ProfileSources.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.People.ProfileSources.Count.CountRequestBuilder +Microsoft.Graph.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder.ProfileSourceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder.ProfileSourceItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder.ProfileSourceItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder.ProfileSourceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder.ProfileSourceItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProfileSource +Microsoft.Graph.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ProfileSource; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProfileSource +Microsoft.Graph.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ProfileSource; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder +Microsoft.Graph.Admin.People.ProfileSources.profileSourcesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.People.ProfileSources.profileSourcesRequestBuilder.profileSourcesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Admin.People.ProfileSources.profileSourcesRequestBuilder.profileSourcesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.People.ProfileSources.profileSourcesRequestBuilder.profileSourcesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.People.ProfileSources.profileSourcesRequestBuilder.profileSourcesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Admin.People.ProfileSources.profileSourcesRequestBuilder.profileSourcesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.People.ProfileSources.profileSourcesRequestBuilder.profileSourcesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.People.ProfileSources.profileSourcesRequestBuilder.profileSourcesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Admin.People.ProfileSources.profileSourcesRequestBuilder.profileSourcesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Admin.People.ProfileSources.profileSourcesRequestBuilder.profileSourcesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.People.ProfileSources.profileSourcesRequestBuilder.profileSourcesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.People.ProfileSources.profileSourcesRequestBuilder::[ProfileSourceId:string]:global.Microsoft.Graph.Admin.People.ProfileSources.Item.ProfileSourceItemRequestBuilder +Microsoft.Graph.Admin.People.ProfileSources.profileSourcesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.People.ProfileSources.profileSourcesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.People.ProfileSources.profileSourcesRequestBuilder::|public|Count:global.Microsoft.Graph.Admin.People.ProfileSources.Count.CountRequestBuilder +Microsoft.Graph.Admin.People.ProfileSources.profileSourcesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProfileSourceCollectionResponse +Microsoft.Graph.Admin.People.ProfileSources.profileSourcesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ProfileSource; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProfileSource +Microsoft.Graph.Admin.People.ProfileSources.profileSourcesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.People.ProfileSources.profileSourcesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ProfileSource; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.People.ProfileSources.profileSourcesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.People.ProfileSources.ProfileSourcesRequestBuilder +Microsoft.Graph.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder.profileSourcesWithSourceIdRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder.profileSourcesWithSourceIdRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder.profileSourcesWithSourceIdRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder.profileSourcesWithSourceIdRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder.profileSourcesWithSourceIdRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; sourceId?:string):void +Microsoft.Graph.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProfileSource +Microsoft.Graph.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.ProfileSource; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProfileSource +Microsoft.Graph.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.ProfileSource; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.People.ProfileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.People.ProfileSourcesWithSourceId.ProfileSourcesWithSourceIdRequestBuilder Microsoft.Graph.Admin.People.Pronouns.pronounsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Admin.People.Pronouns.pronounsRequestBuilder.pronounsRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Admin.People.Pronouns.pronounsRequestBuilder.pronounsRequestBuilderGetQueryParameters::|public|Select:string[] @@ -1036,11 +1671,173 @@ Microsoft.Graph.Admin.Teams.teamsRequestBuilder::|public|DeleteAsync(requestConf Microsoft.Graph.Admin.Teams.teamsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAdministration.TeamsAdminRoot Microsoft.Graph.Admin.Teams.teamsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TeamsAdministration.TeamsAdminRoot; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAdministration.TeamsAdminRoot Microsoft.Graph.Admin.Teams.teamsRequestBuilder::|public|policy:global.Microsoft.Graph.Admin.Teams.Policy.PolicyRequestBuilder +Microsoft.Graph.Admin.Teams.teamsRequestBuilder::|public|telephoneNumberManagement:global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.TelephoneNumberManagementRequestBuilder Microsoft.Graph.Admin.Teams.teamsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Admin.Teams.teamsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Admin.Teams.teamsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TeamsAdministration.TeamsAdminRoot; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Admin.Teams.teamsRequestBuilder::|public|userConfigurations:global.Microsoft.Graph.Admin.Teams.UserConfigurations.UserConfigurationsRequestBuilder Microsoft.Graph.Admin.Teams.teamsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Teams.TeamsRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Count.CountRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder.NumberAssignmentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder.NumberAssignmentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder.NumberAssignmentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder.NumberAssignmentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder.NumberAssignmentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAdministration.NumberAssignment +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TeamsAdministration.NumberAssignment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAdministration.NumberAssignment +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TeamsAdministration.NumberAssignment; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.assignNumberPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.assignNumberPostRequestBody::|public|AssignmentCategory:global.Microsoft.Graph.Models.TeamsAdministration.AssignmentCategory? +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.assignNumberPostRequestBody::|public|AssignmentTargetId:string +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.assignNumberPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.assignNumberPostRequestBody::|public|constructor():void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.assignNumberPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.assignNumberPostRequestBody::|public|LocationId:string +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.assignNumberPostRequestBody::|public|NumberType:global.Microsoft.Graph.Models.TeamsAdministration.NumberType? +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.assignNumberPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.assignNumberPostRequestBody::|public|TelephoneNumber:string +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.assignNumberPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.AssignNumberPostRequestBody +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.assignNumberPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.microsoftGraphTeamsAdministrationAssignNumberRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.microsoftGraphTeamsAdministrationAssignNumberRequestBuilder.microsoftGraphTeamsAdministrationAssignNumberRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.microsoftGraphTeamsAdministrationAssignNumberRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.microsoftGraphTeamsAdministrationAssignNumberRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.microsoftGraphTeamsAdministrationAssignNumberRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.AssignNumberPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.microsoftGraphTeamsAdministrationAssignNumberRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.AssignNumberPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.microsoftGraphTeamsAdministrationAssignNumberRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.microsoftGraphTeamsAdministrationUnassignNumberRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.microsoftGraphTeamsAdministrationUnassignNumberRequestBuilder.microsoftGraphTeamsAdministrationUnassignNumberRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.microsoftGraphTeamsAdministrationUnassignNumberRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.microsoftGraphTeamsAdministrationUnassignNumberRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.microsoftGraphTeamsAdministrationUnassignNumberRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.UnassignNumberPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.microsoftGraphTeamsAdministrationUnassignNumberRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.UnassignNumberPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.microsoftGraphTeamsAdministrationUnassignNumberRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.unassignNumberPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.unassignNumberPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.unassignNumberPostRequestBody::|public|constructor():void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.unassignNumberPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.unassignNumberPostRequestBody::|public|NumberType:global.Microsoft.Graph.Models.TeamsAdministration.NumberType? +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.unassignNumberPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.unassignNumberPostRequestBody::|public|TelephoneNumber:string +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.unassignNumberPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.UnassignNumberPostRequestBody +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.unassignNumberPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.microsoftGraphTeamsAdministrationUpdateNumberRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.microsoftGraphTeamsAdministrationUpdateNumberRequestBuilder.microsoftGraphTeamsAdministrationUpdateNumberRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.microsoftGraphTeamsAdministrationUpdateNumberRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.microsoftGraphTeamsAdministrationUpdateNumberRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.microsoftGraphTeamsAdministrationUpdateNumberRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.UpdateNumberPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.microsoftGraphTeamsAdministrationUpdateNumberRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.UpdateNumberPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.microsoftGraphTeamsAdministrationUpdateNumberRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.updateNumberPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.updateNumberPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.updateNumberPostRequestBody::|public|constructor():void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.updateNumberPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.updateNumberPostRequestBody::|public|LocationId:string +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.updateNumberPostRequestBody::|public|NetworkSiteId:string +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.updateNumberPostRequestBody::|public|ReverseNumberLookupOptions:List +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.updateNumberPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.updateNumberPostRequestBody::|public|TelephoneNumber:string +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.updateNumberPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.UpdateNumberPostRequestBody +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.updateNumberPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.numberAssignmentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.numberAssignmentsRequestBuilder.numberAssignmentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.numberAssignmentsRequestBuilder.numberAssignmentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.numberAssignmentsRequestBuilder.numberAssignmentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.numberAssignmentsRequestBuilder.numberAssignmentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.numberAssignmentsRequestBuilder.numberAssignmentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.numberAssignmentsRequestBuilder.numberAssignmentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.numberAssignmentsRequestBuilder.numberAssignmentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.numberAssignmentsRequestBuilder.numberAssignmentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.numberAssignmentsRequestBuilder.numberAssignmentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.numberAssignmentsRequestBuilder.numberAssignmentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.numberAssignmentsRequestBuilder::[NumberAssignmentId:string]:global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.numberAssignmentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.numberAssignmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.numberAssignmentsRequestBuilder::|public|Count:global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Count.CountRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.numberAssignmentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAdministration.NumberAssignmentCollectionResponse +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.numberAssignmentsRequestBuilder::|public|microsoftGraphTeamsAdministrationAssignNumber:global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.numberAssignmentsRequestBuilder::|public|microsoftGraphTeamsAdministrationUnassignNumber:global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.numberAssignmentsRequestBuilder::|public|microsoftGraphTeamsAdministrationUpdateNumber:global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.numberAssignmentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TeamsAdministration.NumberAssignment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAdministration.NumberAssignment +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.numberAssignmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.numberAssignmentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TeamsAdministration.NumberAssignment; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.numberAssignmentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.NumberAssignmentsRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Count.CountRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder.TelephoneNumberLongRunningOperationItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder.TelephoneNumberLongRunningOperationItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder.TelephoneNumberLongRunningOperationItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder.TelephoneNumberLongRunningOperationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder.TelephoneNumberLongRunningOperationItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.operationsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.operationsRequestBuilder.operationsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.operationsRequestBuilder.operationsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.operationsRequestBuilder::[TelephoneNumberLongRunningOperationId:string]:global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.operationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.operationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.operationsRequestBuilder::|public|Count:global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.Count.CountRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.operationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperationCollectionResponse +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.operationsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.operationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.operationsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.operationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.OperationsRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.telephoneNumberManagementRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.telephoneNumberManagementRequestBuilder.telephoneNumberManagementRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.telephoneNumberManagementRequestBuilder.telephoneNumberManagementRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.telephoneNumberManagementRequestBuilder.telephoneNumberManagementRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.telephoneNumberManagementRequestBuilder.telephoneNumberManagementRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.telephoneNumberManagementRequestBuilder.telephoneNumberManagementRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.telephoneNumberManagementRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.telephoneNumberManagementRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.telephoneNumberManagementRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.telephoneNumberManagementRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberManagementRoot +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.telephoneNumberManagementRequestBuilder::|public|numberAssignments:global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.NumberAssignments.NumberAssignmentsRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.telephoneNumberManagementRequestBuilder::|public|operations:global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.Operations.OperationsRequestBuilder +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.telephoneNumberManagementRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberManagementRoot; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberManagementRoot +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.telephoneNumberManagementRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.telephoneNumberManagementRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.telephoneNumberManagementRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberManagementRoot; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.telephoneNumberManagementRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Admin.Teams.TelephoneNumberManagement.TelephoneNumberManagementRequestBuilder Microsoft.Graph.Admin.Teams.UserConfigurations.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Admin.Teams.UserConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Admin.Teams.UserConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -1595,7 +2392,7 @@ Microsoft.Graph.Applications.Count.CountRequestBuilder::|public|WithUrl(rawUrl:s Microsoft.Graph.Applications.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse Microsoft.Graph.Applications.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Applications.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Applications.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.Applications.Delta.deltaGetResponse::|public|Value:List Microsoft.Graph.Applications.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Applications.Delta.DeltaGetResponse Microsoft.Graph.Applications.Delta.deltaRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Applications.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? @@ -4103,9 +4900,26 @@ Microsoft.Graph.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public| Microsoft.Graph.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Chats.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder Microsoft.Graph.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.Messages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void @@ -4168,9 +4982,26 @@ Microsoft.Graph.Chats.Item.Messages.messagesRequestBuilder::|public|Count:global Microsoft.Graph.Chats.Item.Messages.messagesRequestBuilder::|public|delta:global.Microsoft.Graph.Chats.Item.Messages.Delta.DeltaRequestBuilder Microsoft.Graph.Chats.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Chats.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Chats.Item.Messages.messagesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Chats.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Chats.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Chats.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.Messages.MessagesRequestBuilder +Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Chats.Item.PermissionGrants.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Chats.Item.PermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Chats.Item.PermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -61262,6 +62093,7 @@ Microsoft.Graph.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|publi Microsoft.Graph.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|enabledApps:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.EnabledAppsRequestBuilder Microsoft.Graph.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|filesFolder:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.FilesFolder.FilesFolderRequestBuilder Microsoft.Graph.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Channel Microsoft.Graph.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|members:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Members.MembersRequestBuilder @@ -61304,6 +62136,41 @@ Microsoft.Graph.Groups.Item.Team.Channels.Item.DoesUserHaveAccessuserIdUserIdTen Microsoft.Graph.Groups.Item.Team.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder Microsoft.Graph.Groups.Item.Team.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse-->global.Microsoft.Graph.Groups.Item.Team.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse Microsoft.Graph.Groups.Item.Team.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Count.CountRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.enabledAppsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.enabledAppsRequestBuilder::[TeamsAppId:string]:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|Count:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Count.CountRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAppCollectionResponse +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.EnabledAppsRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsApp +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder Microsoft.Graph.Groups.Item.Team.Channels.Item.FilesFolder.Content.contentRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Groups.Item.Team.Channels.Item.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Groups.Item.Team.Channels.Item.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderGetQueryParameters::|public|Format:string @@ -61703,9 +62570,26 @@ Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.repliesRequ Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void @@ -61768,9 +62652,26 @@ Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.messagesRequestBuilder:: Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.messagesRequestBuilder::|public|delta:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.Delta.DeltaRequestBuilder Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.messagesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.MessagesRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Groups.Item.Team.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Groups.Item.Team.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder.provisionEmailRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Groups.Item.Team.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -62454,6 +63355,41 @@ Microsoft.Graph.Groups.Item.Team.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTe Microsoft.Graph.Groups.Item.Team.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder Microsoft.Graph.Groups.Item.Team.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse-->global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse Microsoft.Graph.Groups.Item.Team.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Count.CountRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::[TeamsAppId:string]:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|Count:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Count.CountRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAppCollectionResponse +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsApp +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder Microsoft.Graph.Groups.Item.Team.PrimaryChannel.FilesFolder.Content.contentRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Groups.Item.Team.PrimaryChannel.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Groups.Item.Team.PrimaryChannel.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderGetQueryParameters::|public|Format:string @@ -62853,9 +63789,26 @@ Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.repliesReq Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Delta.DeltaRequestBuilder Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void @@ -62918,9 +63871,26 @@ Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.messagesRequestBuilder: Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.messagesRequestBuilder::|public|delta:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.Delta.DeltaRequestBuilder Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.messagesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.MessagesRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -62934,6 +63904,7 @@ Microsoft.Graph.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|p Microsoft.Graph.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder +Microsoft.Graph.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|enabledApps:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder Microsoft.Graph.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|filesFolder:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder Microsoft.Graph.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Channel Microsoft.Graph.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|members:global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Members.MembersRequestBuilder @@ -81834,9 +82805,26 @@ Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|publ Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Me.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void @@ -81899,9 +82887,26 @@ Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder::|public|Count:glo Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder::|public|delta:global.Microsoft.Graph.Me.Chats.Item.Messages.Delta.DeltaRequestBuilder Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Chats.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.MessagesRequestBuilder +Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Me.Chats.Item.PermissionGrants.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.Chats.Item.PermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Me.Chats.Item.PermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -84902,6 +85907,7 @@ Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|pu Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|enabledApps:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|filesFolder:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.FilesFolderRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Channel Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|members:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Members.MembersRequestBuilder @@ -84944,6 +85950,41 @@ Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserId Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::[TeamsAppId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAppCollectionResponse +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsApp +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderGetQueryParameters::|public|Format:string @@ -85343,9 +86384,26 @@ Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesR Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void @@ -85408,9 +86466,26 @@ Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilde Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|delta:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.Delta.DeltaRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.MessagesRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder.provisionEmailRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Me.JoinedTeams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -86094,6 +87169,41 @@ Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserI Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse-->global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::[TeamsAppId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAppCollectionResponse +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsApp +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.contentRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderGetQueryParameters::|public|Format:string @@ -86493,9 +87603,26 @@ Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.replies Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void @@ -86558,9 +87685,26 @@ Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuild Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|delta:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.Delta.DeltaRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.MessagesRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -86574,6 +87718,7 @@ Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder: Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|enabledApps:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|filesFolder:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Channel Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|members:global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Members.MembersRequestBuilder @@ -93112,6 +94257,15 @@ Microsoft.Graph.Me.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBui Microsoft.Graph.Me.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServiceProvisioningErrorCollectionResponse Microsoft.Graph.Me.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Me.Settings.Exchange.exchangeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Settings.Exchange.exchangeRequestBuilder.exchangeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Settings.Exchange.exchangeRequestBuilder.exchangeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Settings.Exchange.exchangeRequestBuilder.exchangeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Settings.Exchange.exchangeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Settings.Exchange.exchangeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Settings.Exchange.exchangeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ExchangeSettings +Microsoft.Graph.Me.Settings.Exchange.exchangeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Settings.Exchange.exchangeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Settings.Exchange.ExchangeRequestBuilder Microsoft.Graph.Me.Settings.ItemInsights.itemInsightsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.Settings.ItemInsights.itemInsightsRequestBuilder.itemInsightsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Me.Settings.ItemInsights.itemInsightsRequestBuilder.itemInsightsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -93136,6 +94290,7 @@ Microsoft.Graph.Me.Settings.settingsRequestBuilder.settingsRequestBuilderPatchRe Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|exchange:global.Microsoft.Graph.Me.Settings.Exchange.ExchangeRequestBuilder Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserSettings Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|itemInsights:global.Microsoft.Graph.Me.Settings.ItemInsights.ItemInsightsRequestBuilder Microsoft.Graph.Me.Settings.settingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.UserSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserSettings @@ -93528,14 +94683,36 @@ Microsoft.Graph.Me.Sponsors.Count.CountRequestBuilder::|public|GetAsync(requestC Microsoft.Graph.Me.Sponsors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Sponsors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Sponsors.Count.CountRequestBuilder Microsoft.Graph.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder +Microsoft.Graph.Me.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|Ref:global.Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder +Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder.RefRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Sponsors.Item.Ref.RefRequestBuilder +Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderDeleteQueryParameters::|public|Id:string +Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.StringCollectionResponse +Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ReferenceCreate; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ReferenceCreate; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder.sponsorsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder.sponsorsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -93551,6 +94728,7 @@ Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder::|public|constructor(pathPara Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Sponsors.Count.CountRequestBuilder Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObjectCollectionResponse +Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder::|public|Ref:global.Microsoft.Graph.Me.Sponsors.Ref.RefRequestBuilder Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Sponsors.sponsorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Sponsors.SponsorsRequestBuilder Microsoft.Graph.Me.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder-->BaseRequestBuilder @@ -95361,6 +96539,7 @@ Microsoft.Graph.Models.adhocCallCollectionResponse::|public|Value:List Microsoft.Graph.Models.admin::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.admin::|public|ConfigurationManagement:global.Microsoft.Graph.Models.ConfigurationManagement Microsoft.Graph.Models.admin::|public|constructor():void Microsoft.Graph.Models.admin::|public|Edge:global.Microsoft.Graph.Models.Edge Microsoft.Graph.Models.admin::|public|Exchange:global.Microsoft.Graph.Models.ExchangeAdmin @@ -95423,6 +96602,39 @@ Microsoft.Graph.Models.advancedConfigState::0000-default Microsoft.Graph.Models.advancedConfigState::0001-enabled Microsoft.Graph.Models.advancedConfigState::0002-disabled Microsoft.Graph.Models.advancedConfigState::0003-unknownFutureValue +Microsoft.Graph.Models.agentIdentity-->global.Microsoft.Graph.Models.ServicePrincipal +Microsoft.Graph.Models.agentIdentity::|public|AgentIdentityBlueprintId:string +Microsoft.Graph.Models.agentIdentity::|public|constructor():void +Microsoft.Graph.Models.agentIdentity::|public|CreatedByAppId:string +Microsoft.Graph.Models.agentIdentity::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Models.agentIdentity::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.agentIdentity::|public|OdataType:string +Microsoft.Graph.Models.agentIdentity::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.agentIdentity::|public|Sponsors:List +Microsoft.Graph.Models.agentIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AgentIdentity +Microsoft.Graph.Models.agentIdentityBlueprint-->global.Microsoft.Graph.Models.Application +Microsoft.Graph.Models.agentIdentityBlueprint::|public|constructor():void +Microsoft.Graph.Models.agentIdentityBlueprint::|public|CreatedByAppId:string +Microsoft.Graph.Models.agentIdentityBlueprint::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.agentIdentityBlueprint::|public|InheritablePermissions:List +Microsoft.Graph.Models.agentIdentityBlueprint::|public|OdataType:string +Microsoft.Graph.Models.agentIdentityBlueprint::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.agentIdentityBlueprint::|public|Sponsors:List +Microsoft.Graph.Models.agentIdentityBlueprint::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AgentIdentityBlueprint +Microsoft.Graph.Models.agentIdentityBlueprintPrincipal-->global.Microsoft.Graph.Models.ServicePrincipal +Microsoft.Graph.Models.agentIdentityBlueprintPrincipal::|public|constructor():void +Microsoft.Graph.Models.agentIdentityBlueprintPrincipal::|public|CreatedByAppId:string +Microsoft.Graph.Models.agentIdentityBlueprintPrincipal::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.agentIdentityBlueprintPrincipal::|public|OdataType:string +Microsoft.Graph.Models.agentIdentityBlueprintPrincipal::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.agentIdentityBlueprintPrincipal::|public|Sponsors:List +Microsoft.Graph.Models.agentIdentityBlueprintPrincipal::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AgentIdentityBlueprintPrincipal +Microsoft.Graph.Models.agentUser-->global.Microsoft.Graph.Models.User +Microsoft.Graph.Models.agentUser::|public|constructor():void +Microsoft.Graph.Models.agentUser::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.agentUser::|public|OdataType:string +Microsoft.Graph.Models.agentUser::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.agentUser::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AgentUser Microsoft.Graph.Models.aggregationOption::|public|AdditionalData:IDictionary Microsoft.Graph.Models.aggregationOption::|public|BackingStore:IBackingStore Microsoft.Graph.Models.aggregationOption::|public|BucketDefinition:global.Microsoft.Graph.Models.BucketAggregationDefinition @@ -95813,6 +97025,12 @@ Microsoft.Graph.Models.alertTrigger::|public|Type:string Microsoft.Graph.Models.alertTrigger::|public|Value:string Microsoft.Graph.Models.alertTrigger::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AlertTrigger Microsoft.Graph.Models.alertTrigger~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.allAllowedScopes-->global.Microsoft.Graph.Models.InheritableScopes +Microsoft.Graph.Models.allAllowedScopes::|public|constructor():void +Microsoft.Graph.Models.allAllowedScopes::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.allAllowedScopes::|public|OdataType:string +Microsoft.Graph.Models.allAllowedScopes::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.allAllowedScopes::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AllAllowedScopes Microsoft.Graph.Models.allDeviceRegistrationMembership-->global.Microsoft.Graph.Models.DeviceRegistrationMembership Microsoft.Graph.Models.allDeviceRegistrationMembership::|public|constructor():void Microsoft.Graph.Models.allDeviceRegistrationMembership::|public|GetFieldDeserializers():IDictionary> @@ -96968,6 +98186,9 @@ Microsoft.Graph.Models.attendeeNotificationInfo~~>IAdditionalDataHolder; IBacked Microsoft.Graph.Models.attendeeType::0000-required Microsoft.Graph.Models.attendeeType::0001-optional Microsoft.Graph.Models.attendeeType::0002-resource +Microsoft.Graph.Models.attestationEnforcement::0000-disabled +Microsoft.Graph.Models.attestationEnforcement::0001-registrationOnly +Microsoft.Graph.Models.attestationEnforcement::0002-unknownFutureValue Microsoft.Graph.Models.attestationLevel::0000-attested Microsoft.Graph.Models.attestationLevel::0001-notAttested Microsoft.Graph.Models.attestationLevel::0002-unknownFutureValue @@ -97494,6 +98715,7 @@ Microsoft.Graph.Models.authenticationMethodModes::0013-x509CertificateMultiFacto Microsoft.Graph.Models.authenticationMethodModes::0014-federatedSingleFactor Microsoft.Graph.Models.authenticationMethodModes::0015-federatedMultiFactor Microsoft.Graph.Models.authenticationMethodModes::0016-unknownFutureValue +Microsoft.Graph.Models.authenticationMethodModes::0017-qrCodePin Microsoft.Graph.Models.authenticationMethodPlatform::0000-unknown Microsoft.Graph.Models.authenticationMethodPlatform::0001-windows Microsoft.Graph.Models.authenticationMethodPlatform::0002-macOS @@ -97837,6 +99059,7 @@ Microsoft.Graph.Models.baseAuthenticationMethod::0009-email Microsoft.Graph.Models.baseAuthenticationMethod::0010-x509Certificate Microsoft.Graph.Models.baseAuthenticationMethod::0011-federation Microsoft.Graph.Models.baseAuthenticationMethod::0012-unknownFutureValue +Microsoft.Graph.Models.baseAuthenticationMethod::0013-qrCodePin Microsoft.Graph.Models.BaseCollectionPaginationCountResponse::|public|AdditionalData:IDictionary Microsoft.Graph.Models.BaseCollectionPaginationCountResponse::|public|BackingStore:IBackingStore Microsoft.Graph.Models.BaseCollectionPaginationCountResponse::|public|constructor():void @@ -97894,6 +99117,32 @@ Microsoft.Graph.Models.baseItemVersion::|public|OdataType:string Microsoft.Graph.Models.baseItemVersion::|public|Publication:global.Microsoft.Graph.Models.PublicationFacet Microsoft.Graph.Models.baseItemVersion::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.baseItemVersion::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.BaseItemVersion +Microsoft.Graph.Models.baselineParameter::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.baselineParameter::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.baselineParameter::|public|constructor():void +Microsoft.Graph.Models.baselineParameter::|public|Description:string +Microsoft.Graph.Models.baselineParameter::|public|DisplayName:string +Microsoft.Graph.Models.baselineParameter::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.baselineParameter::|public|OdataType:string +Microsoft.Graph.Models.baselineParameter::|public|ParameterType:global.Microsoft.Graph.Models.BaselineParameterType? +Microsoft.Graph.Models.baselineParameter::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.baselineParameter::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.BaselineParameter +Microsoft.Graph.Models.baselineParameterType::0000-string +Microsoft.Graph.Models.baselineParameterType::0001-integer +Microsoft.Graph.Models.baselineParameterType::0002-boolean +Microsoft.Graph.Models.baselineParameterType::0003-unknownFutureValue +Microsoft.Graph.Models.baselineParameter~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.baselineResource::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.baselineResource::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.baselineResource::|public|constructor():void +Microsoft.Graph.Models.baselineResource::|public|DisplayName:string +Microsoft.Graph.Models.baselineResource::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.baselineResource::|public|OdataType:string +Microsoft.Graph.Models.baselineResource::|public|Properties:global.Microsoft.Graph.Models.OpenComplexDictionaryType +Microsoft.Graph.Models.baselineResource::|public|ResourceType:string +Microsoft.Graph.Models.baselineResource::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.baselineResource::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.BaselineResource +Microsoft.Graph.Models.baselineResource~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.baseMapFeature-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.baseMapFeature::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.baseMapFeature::|public|OdataType:string @@ -99536,6 +100785,7 @@ Microsoft.Graph.Models.channel::|public|CreatedDateTime:DateTimeOffset? Microsoft.Graph.Models.channel::|public|Description:string Microsoft.Graph.Models.channel::|public|DisplayName:string Microsoft.Graph.Models.channel::|public|Email:string +Microsoft.Graph.Models.channel::|public|EnabledApps:List Microsoft.Graph.Models.channel::|public|FilesFolder:global.Microsoft.Graph.Models.DriveItem Microsoft.Graph.Models.channel::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.channel::|public|IsArchived:bool? @@ -100204,7 +101454,9 @@ Microsoft.Graph.Models.cloudPcDeviceImage::|public|OdataType:string Microsoft.Graph.Models.cloudPcDeviceImage::|public|OperatingSystem:string Microsoft.Graph.Models.cloudPcDeviceImage::|public|OsBuildNumber:string Microsoft.Graph.Models.cloudPcDeviceImage::|public|OsStatus:global.Microsoft.Graph.Models.CloudPcDeviceImageOsStatus? +Microsoft.Graph.Models.cloudPcDeviceImage::|public|OsVersionNumber:string Microsoft.Graph.Models.cloudPcDeviceImage::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.cloudPcDeviceImage::|public|SizeInGB:int? Microsoft.Graph.Models.cloudPcDeviceImage::|public|SourceImageResourceId:string Microsoft.Graph.Models.cloudPcDeviceImage::|public|Status:global.Microsoft.Graph.Models.CloudPcDeviceImageStatus? Microsoft.Graph.Models.cloudPcDeviceImage::|public|Version:string @@ -100254,6 +101506,7 @@ Microsoft.Graph.Models.cloudPcGalleryImage::|public|ExpirationDate:Date? Microsoft.Graph.Models.cloudPcGalleryImage::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.cloudPcGalleryImage::|public|OdataType:string Microsoft.Graph.Models.cloudPcGalleryImage::|public|OfferName:string +Microsoft.Graph.Models.cloudPcGalleryImage::|public|OsVersionNumber:string Microsoft.Graph.Models.cloudPcGalleryImage::|public|PublisherName:string Microsoft.Graph.Models.cloudPcGalleryImage::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.cloudPcGalleryImage::|public|SizeInGB:int? @@ -101166,6 +102419,48 @@ Microsoft.Graph.Models.conditionalAccessUsers::|public|OdataType:string Microsoft.Graph.Models.conditionalAccessUsers::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.conditionalAccessUsers::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ConditionalAccessUsers Microsoft.Graph.Models.conditionalAccessUsers~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.configurationBaseline-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.configurationBaseline::|public|Description:string +Microsoft.Graph.Models.configurationBaseline::|public|DisplayName:string +Microsoft.Graph.Models.configurationBaseline::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.configurationBaseline::|public|OdataType:string +Microsoft.Graph.Models.configurationBaseline::|public|Parameters:List +Microsoft.Graph.Models.configurationBaseline::|public|Resources:List +Microsoft.Graph.Models.configurationBaseline::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.configurationBaseline::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ConfigurationBaseline +Microsoft.Graph.Models.configurationBaselineCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.configurationBaselineCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.configurationBaselineCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.configurationBaselineCollectionResponse::|public|Value:List +Microsoft.Graph.Models.configurationBaselineCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ConfigurationBaselineCollectionResponse +Microsoft.Graph.Models.configurationDrift-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.configurationDrift::|public|BaselineResourceDisplayName:string +Microsoft.Graph.Models.configurationDrift::|public|DriftedProperties:List +Microsoft.Graph.Models.configurationDrift::|public|FirstReportedDateTime:DateTimeOffset? +Microsoft.Graph.Models.configurationDrift::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.configurationDrift::|public|MonitorId:string +Microsoft.Graph.Models.configurationDrift::|public|OdataType:string +Microsoft.Graph.Models.configurationDrift::|public|ResourceInstanceIdentifier:global.Microsoft.Graph.Models.OpenComplexDictionaryType +Microsoft.Graph.Models.configurationDrift::|public|ResourceType:string +Microsoft.Graph.Models.configurationDrift::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.configurationDrift::|public|Status:global.Microsoft.Graph.Models.DriftStatus? +Microsoft.Graph.Models.configurationDrift::|public|TenantId:string +Microsoft.Graph.Models.configurationDrift::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ConfigurationDrift +Microsoft.Graph.Models.configurationDriftCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.configurationDriftCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.configurationDriftCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.configurationDriftCollectionResponse::|public|Value:List +Microsoft.Graph.Models.configurationDriftCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ConfigurationDriftCollectionResponse +Microsoft.Graph.Models.configurationManagement-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.configurationManagement::|public|ConfigurationDrifts:List +Microsoft.Graph.Models.configurationManagement::|public|ConfigurationMonitoringResults:List +Microsoft.Graph.Models.configurationManagement::|public|ConfigurationMonitors:List +Microsoft.Graph.Models.configurationManagement::|public|ConfigurationSnapshotJobs:List +Microsoft.Graph.Models.configurationManagement::|public|ConfigurationSnapshots:List +Microsoft.Graph.Models.configurationManagement::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.configurationManagement::|public|OdataType:string +Microsoft.Graph.Models.configurationManagement::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.configurationManagement::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ConfigurationManagement Microsoft.Graph.Models.configurationManagerClientEnabledFeatures::|public|AdditionalData:IDictionary Microsoft.Graph.Models.configurationManagerClientEnabledFeatures::|public|BackingStore:IBackingStore Microsoft.Graph.Models.configurationManagerClientEnabledFeatures::|public|CompliancePolicy:bool? @@ -101187,6 +102482,66 @@ Microsoft.Graph.Models.configurationManagerCollectionAssignmentTarget::|public|G Microsoft.Graph.Models.configurationManagerCollectionAssignmentTarget::|public|OdataType:string Microsoft.Graph.Models.configurationManagerCollectionAssignmentTarget::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.configurationManagerCollectionAssignmentTarget::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ConfigurationManagerCollectionAssignmentTarget +Microsoft.Graph.Models.configurationMonitor-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.configurationMonitor::|public|Baseline:global.Microsoft.Graph.Models.ConfigurationBaseline +Microsoft.Graph.Models.configurationMonitor::|public|CreatedBy:global.Microsoft.Graph.Models.IdentitySet +Microsoft.Graph.Models.configurationMonitor::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Models.configurationMonitor::|public|Description:string +Microsoft.Graph.Models.configurationMonitor::|public|DisplayName:string +Microsoft.Graph.Models.configurationMonitor::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.configurationMonitor::|public|InactivationReason:string +Microsoft.Graph.Models.configurationMonitor::|public|LastModifiedBy:global.Microsoft.Graph.Models.IdentitySet +Microsoft.Graph.Models.configurationMonitor::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Models.configurationMonitor::|public|Mode:global.Microsoft.Graph.Models.MonitorMode? +Microsoft.Graph.Models.configurationMonitor::|public|MonitorRunFrequencyInHours:int? +Microsoft.Graph.Models.configurationMonitor::|public|OdataType:string +Microsoft.Graph.Models.configurationMonitor::|public|Parameters:global.Microsoft.Graph.Models.OpenComplexDictionaryType +Microsoft.Graph.Models.configurationMonitor::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.configurationMonitor::|public|Status:global.Microsoft.Graph.Models.MonitorStatus? +Microsoft.Graph.Models.configurationMonitor::|public|TenantId:string +Microsoft.Graph.Models.configurationMonitor::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ConfigurationMonitor +Microsoft.Graph.Models.configurationMonitorCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.configurationMonitorCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.configurationMonitorCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.configurationMonitorCollectionResponse::|public|Value:List +Microsoft.Graph.Models.configurationMonitorCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ConfigurationMonitorCollectionResponse +Microsoft.Graph.Models.configurationMonitoringResult-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.configurationMonitoringResult::|public|DriftsCount:int? +Microsoft.Graph.Models.configurationMonitoringResult::|public|ErrorDetails:List +Microsoft.Graph.Models.configurationMonitoringResult::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.configurationMonitoringResult::|public|MonitorId:string +Microsoft.Graph.Models.configurationMonitoringResult::|public|OdataType:string +Microsoft.Graph.Models.configurationMonitoringResult::|public|RunCompletionDateTime:DateTimeOffset? +Microsoft.Graph.Models.configurationMonitoringResult::|public|RunInitiationDateTime:DateTimeOffset? +Microsoft.Graph.Models.configurationMonitoringResult::|public|RunStatus:global.Microsoft.Graph.Models.MonitorRunStatus? +Microsoft.Graph.Models.configurationMonitoringResult::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.configurationMonitoringResult::|public|TenantId:string +Microsoft.Graph.Models.configurationMonitoringResult::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ConfigurationMonitoringResult +Microsoft.Graph.Models.configurationMonitoringResultCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.configurationMonitoringResultCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.configurationMonitoringResultCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.configurationMonitoringResultCollectionResponse::|public|Value:List +Microsoft.Graph.Models.configurationMonitoringResultCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ConfigurationMonitoringResultCollectionResponse +Microsoft.Graph.Models.configurationSnapshotJob-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.configurationSnapshotJob::|public|CompletedDateTime:DateTimeOffset? +Microsoft.Graph.Models.configurationSnapshotJob::|public|CreatedBy:global.Microsoft.Graph.Models.IdentitySet +Microsoft.Graph.Models.configurationSnapshotJob::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Models.configurationSnapshotJob::|public|Description:string +Microsoft.Graph.Models.configurationSnapshotJob::|public|DisplayName:string +Microsoft.Graph.Models.configurationSnapshotJob::|public|ErrorDetails:List +Microsoft.Graph.Models.configurationSnapshotJob::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.configurationSnapshotJob::|public|OdataType:string +Microsoft.Graph.Models.configurationSnapshotJob::|public|ResourceLocation:string +Microsoft.Graph.Models.configurationSnapshotJob::|public|Resources:List +Microsoft.Graph.Models.configurationSnapshotJob::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.configurationSnapshotJob::|public|Status:global.Microsoft.Graph.Models.SnapshotJobStatus? +Microsoft.Graph.Models.configurationSnapshotJob::|public|TenantId:string +Microsoft.Graph.Models.configurationSnapshotJob::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ConfigurationSnapshotJob +Microsoft.Graph.Models.configurationSnapshotJobCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.configurationSnapshotJobCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.configurationSnapshotJobCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.configurationSnapshotJobCollectionResponse::|public|Value:List +Microsoft.Graph.Models.configurationSnapshotJobCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ConfigurationSnapshotJobCollectionResponse Microsoft.Graph.Models.confirmedBy::0000-none Microsoft.Graph.Models.confirmedBy::0001-user Microsoft.Graph.Models.confirmedBy::0002-manager @@ -101272,11 +102627,14 @@ Microsoft.Graph.Models.contact::|public|OtherAddress:global.Microsoft.Graph.Mode Microsoft.Graph.Models.contact::|public|ParentFolderId:string Microsoft.Graph.Models.contact::|public|PersonalNotes:string Microsoft.Graph.Models.contact::|public|Photo:global.Microsoft.Graph.Models.ProfilePhoto +Microsoft.Graph.Models.contact::|public|PrimaryEmailAddress:global.Microsoft.Graph.Models.EmailAddress Microsoft.Graph.Models.contact::|public|Profession:string +Microsoft.Graph.Models.contact::|public|SecondaryEmailAddress:global.Microsoft.Graph.Models.EmailAddress Microsoft.Graph.Models.contact::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.contact::|public|SingleValueExtendedProperties:List Microsoft.Graph.Models.contact::|public|SpouseName:string Microsoft.Graph.Models.contact::|public|Surname:string +Microsoft.Graph.Models.contact::|public|TertiaryEmailAddress:global.Microsoft.Graph.Models.EmailAddress Microsoft.Graph.Models.contact::|public|Title:string Microsoft.Graph.Models.contact::|public|YomiCompanyName:string Microsoft.Graph.Models.contact::|public|YomiGivenName:string @@ -101599,6 +102957,15 @@ Microsoft.Graph.Models.crossTenantAccessPolicy::|public|Partners:List +Microsoft.Graph.Models.crossTenantAccessPolicyAppServiceConnectSetting::|public|Applications:global.Microsoft.Graph.Models.CrossTenantAccessPolicyTargetConfiguration +Microsoft.Graph.Models.crossTenantAccessPolicyAppServiceConnectSetting::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.crossTenantAccessPolicyAppServiceConnectSetting::|public|constructor():void +Microsoft.Graph.Models.crossTenantAccessPolicyAppServiceConnectSetting::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.crossTenantAccessPolicyAppServiceConnectSetting::|public|OdataType:string +Microsoft.Graph.Models.crossTenantAccessPolicyAppServiceConnectSetting::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.crossTenantAccessPolicyAppServiceConnectSetting::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CrossTenantAccessPolicyAppServiceConnectSetting +Microsoft.Graph.Models.crossTenantAccessPolicyAppServiceConnectSetting~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.crossTenantAccessPolicyB2BSetting::|public|AdditionalData:IDictionary Microsoft.Graph.Models.crossTenantAccessPolicyB2BSetting::|public|Applications:global.Microsoft.Graph.Models.CrossTenantAccessPolicyTargetConfiguration Microsoft.Graph.Models.crossTenantAccessPolicyB2BSetting::|public|BackingStore:IBackingStore @@ -101610,6 +102977,7 @@ Microsoft.Graph.Models.crossTenantAccessPolicyB2BSetting::|public|UsersAndGroups Microsoft.Graph.Models.crossTenantAccessPolicyB2BSetting::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CrossTenantAccessPolicyB2BSetting Microsoft.Graph.Models.crossTenantAccessPolicyB2BSetting~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationDefault-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationDefault::|public|AppServiceConnectInbound:global.Microsoft.Graph.Models.CrossTenantAccessPolicyAppServiceConnectSetting Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationDefault::|public|AutomaticUserConsentSettings:global.Microsoft.Graph.Models.InboundOutboundPolicyConfiguration Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationDefault::|public|B2bCollaborationInbound:global.Microsoft.Graph.Models.CrossTenantAccessPolicyB2BSetting Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationDefault::|public|B2bCollaborationOutbound:global.Microsoft.Graph.Models.CrossTenantAccessPolicyB2BSetting @@ -101619,11 +102987,14 @@ Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationDefault::|public|GetF Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationDefault::|public|InboundTrust:global.Microsoft.Graph.Models.CrossTenantAccessPolicyInboundTrust Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationDefault::|public|InvitationRedemptionIdentityProviderConfiguration:global.Microsoft.Graph.Models.DefaultInvitationRedemptionIdentityProviderConfiguration Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationDefault::|public|IsServiceDefault:bool? +Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationDefault::|public|M365CollaborationInbound:global.Microsoft.Graph.Models.CrossTenantAccessPolicyM365CollaborationInboundSetting +Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationDefault::|public|M365CollaborationOutbound:global.Microsoft.Graph.Models.CrossTenantAccessPolicyM365CollaborationOutboundSetting Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationDefault::|public|OdataType:string Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationDefault::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationDefault::|public|TenantRestrictions:global.Microsoft.Graph.Models.CrossTenantAccessPolicyTenantRestrictions Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationDefault::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CrossTenantAccessPolicyConfigurationDefault Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationPartner::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationPartner::|public|AppServiceConnectInbound:global.Microsoft.Graph.Models.CrossTenantAccessPolicyAppServiceConnectSetting Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationPartner::|public|AutomaticUserConsentSettings:global.Microsoft.Graph.Models.InboundOutboundPolicyConfiguration Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationPartner::|public|B2bCollaborationInbound:global.Microsoft.Graph.Models.CrossTenantAccessPolicyB2BSetting Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationPartner::|public|B2bCollaborationOutbound:global.Microsoft.Graph.Models.CrossTenantAccessPolicyB2BSetting @@ -101636,6 +103007,8 @@ Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationPartner::|public|Iden Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationPartner::|public|InboundTrust:global.Microsoft.Graph.Models.CrossTenantAccessPolicyInboundTrust Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationPartner::|public|IsInMultiTenantOrganization:bool? Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationPartner::|public|IsServiceProvider:bool? +Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationPartner::|public|M365CollaborationInbound:global.Microsoft.Graph.Models.CrossTenantAccessPolicyM365CollaborationInboundSetting +Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationPartner::|public|M365CollaborationOutbound:global.Microsoft.Graph.Models.CrossTenantAccessPolicyM365CollaborationOutboundSetting Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationPartner::|public|OdataType:string Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationPartner::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.crossTenantAccessPolicyConfigurationPartner::|public|TenantId:string @@ -101658,6 +103031,24 @@ Microsoft.Graph.Models.crossTenantAccessPolicyInboundTrust::|public|OdataType:st Microsoft.Graph.Models.crossTenantAccessPolicyInboundTrust::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.crossTenantAccessPolicyInboundTrust::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CrossTenantAccessPolicyInboundTrust Microsoft.Graph.Models.crossTenantAccessPolicyInboundTrust~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.crossTenantAccessPolicyM365CollaborationInboundSetting::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.crossTenantAccessPolicyM365CollaborationInboundSetting::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.crossTenantAccessPolicyM365CollaborationInboundSetting::|public|constructor():void +Microsoft.Graph.Models.crossTenantAccessPolicyM365CollaborationInboundSetting::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.crossTenantAccessPolicyM365CollaborationInboundSetting::|public|OdataType:string +Microsoft.Graph.Models.crossTenantAccessPolicyM365CollaborationInboundSetting::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.crossTenantAccessPolicyM365CollaborationInboundSetting::|public|Users:global.Microsoft.Graph.Models.CrossTenantAccessPolicyTargetConfiguration +Microsoft.Graph.Models.crossTenantAccessPolicyM365CollaborationInboundSetting::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CrossTenantAccessPolicyM365CollaborationInboundSetting +Microsoft.Graph.Models.crossTenantAccessPolicyM365CollaborationInboundSetting~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.crossTenantAccessPolicyM365CollaborationOutboundSetting::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.crossTenantAccessPolicyM365CollaborationOutboundSetting::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.crossTenantAccessPolicyM365CollaborationOutboundSetting::|public|constructor():void +Microsoft.Graph.Models.crossTenantAccessPolicyM365CollaborationOutboundSetting::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.crossTenantAccessPolicyM365CollaborationOutboundSetting::|public|OdataType:string +Microsoft.Graph.Models.crossTenantAccessPolicyM365CollaborationOutboundSetting::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.crossTenantAccessPolicyM365CollaborationOutboundSetting::|public|UsersAndGroups:global.Microsoft.Graph.Models.CrossTenantAccessPolicyTargetConfiguration +Microsoft.Graph.Models.crossTenantAccessPolicyM365CollaborationOutboundSetting::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CrossTenantAccessPolicyM365CollaborationOutboundSetting +Microsoft.Graph.Models.crossTenantAccessPolicyM365CollaborationOutboundSetting~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.crossTenantAccessPolicyTarget::|public|AdditionalData:IDictionary Microsoft.Graph.Models.crossTenantAccessPolicyTarget::|public|BackingStore:IBackingStore Microsoft.Graph.Models.crossTenantAccessPolicyTarget::|public|constructor():void @@ -103598,6 +104989,7 @@ Microsoft.Graph.Models.dlpAction::0008-sPBlockAnonymousAccess Microsoft.Graph.Models.dlpAction::0009-sPRuntimeAccessControl Microsoft.Graph.Models.dlpAction::0010-sPSharingNotifyUser Microsoft.Graph.Models.dlpAction::0011-sPSharingGenerateIncidentReport +Microsoft.Graph.Models.dlpAction::0012-restrictWebGrounding Microsoft.Graph.Models.dlpActionInfo::|public|Action:global.Microsoft.Graph.Models.DlpAction? Microsoft.Graph.Models.dlpActionInfo::|public|AdditionalData:IDictionary Microsoft.Graph.Models.dlpActionInfo::|public|BackingStore:IBackingStore @@ -103758,6 +105150,20 @@ Microsoft.Graph.Models.domainState::|public|Serialize(writer:ISerializationWrite Microsoft.Graph.Models.domainState::|public|Status:string Microsoft.Graph.Models.domainState::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.DomainState Microsoft.Graph.Models.domainState~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.driftedProperty::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.driftedProperty::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.driftedProperty::|public|constructor():void +Microsoft.Graph.Models.driftedProperty::|public|CurrentValue:UntypedNode +Microsoft.Graph.Models.driftedProperty::|public|DesiredValue:UntypedNode +Microsoft.Graph.Models.driftedProperty::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.driftedProperty::|public|OdataType:string +Microsoft.Graph.Models.driftedProperty::|public|PropertyName:string +Microsoft.Graph.Models.driftedProperty::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.driftedProperty::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.DriftedProperty +Microsoft.Graph.Models.driftedProperty~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.driftStatus::0000-active +Microsoft.Graph.Models.driftStatus::0001-fixed +Microsoft.Graph.Models.driftStatus::0002-unknownFutureValue Microsoft.Graph.Models.drive-->global.Microsoft.Graph.Models.BaseItem Microsoft.Graph.Models.drive::|public|Bundles:List Microsoft.Graph.Models.drive::|public|constructor():void @@ -105252,6 +106658,29 @@ Microsoft.Graph.Models.enumeratedDeviceRegistrationMembership::|public|OdataType Microsoft.Graph.Models.enumeratedDeviceRegistrationMembership::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.enumeratedDeviceRegistrationMembership::|public|Users:List Microsoft.Graph.Models.enumeratedDeviceRegistrationMembership::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.EnumeratedDeviceRegistrationMembership +Microsoft.Graph.Models.enumeratedScopes-->global.Microsoft.Graph.Models.InheritableScopes +Microsoft.Graph.Models.enumeratedScopes::|public|constructor():void +Microsoft.Graph.Models.enumeratedScopes::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.enumeratedScopes::|public|OdataType:string +Microsoft.Graph.Models.enumeratedScopes::|public|Scopes:List +Microsoft.Graph.Models.enumeratedScopes::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.enumeratedScopes::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.EnumeratedScopes +Microsoft.Graph.Models.errorCorrectionLevel::0000-l +Microsoft.Graph.Models.errorCorrectionLevel::0001-m +Microsoft.Graph.Models.errorCorrectionLevel::0002-q +Microsoft.Graph.Models.errorCorrectionLevel::0003-h +Microsoft.Graph.Models.errorCorrectionLevel::0004-unknownFutureValue +Microsoft.Graph.Models.errorDetail::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.errorDetail::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.errorDetail::|public|constructor():void +Microsoft.Graph.Models.errorDetail::|public|ErrorMessage:string +Microsoft.Graph.Models.errorDetail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.errorDetail::|public|OdataType:string +Microsoft.Graph.Models.errorDetail::|public|ResourceInstanceName:string +Microsoft.Graph.Models.errorDetail::|public|ResourceType:string +Microsoft.Graph.Models.errorDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.errorDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ErrorDetail +Microsoft.Graph.Models.errorDetail~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.event-->global.Microsoft.Graph.Models.OutlookItem Microsoft.Graph.Models.event::|public|AllowNewTimeProposals:bool? Microsoft.Graph.Models.event::|public|Attachments:List @@ -105357,6 +106786,7 @@ Microsoft.Graph.Models.eventType::0002-exception Microsoft.Graph.Models.eventType::0003-seriesMaster Microsoft.Graph.Models.exchangeAdmin-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.exchangeAdmin::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.exchangeAdmin::|public|Mailboxes:List Microsoft.Graph.Models.exchangeAdmin::|public|OdataType:string Microsoft.Graph.Models.exchangeAdmin::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.exchangeAdmin::|public|Tracing:global.Microsoft.Graph.Models.MessageTracingRoot @@ -105432,6 +106862,12 @@ Microsoft.Graph.Models.exchangeRestoreSessionCollectionResponse::|public|GetFiel Microsoft.Graph.Models.exchangeRestoreSessionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.exchangeRestoreSessionCollectionResponse::|public|Value:List Microsoft.Graph.Models.exchangeRestoreSessionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ExchangeRestoreSessionCollectionResponse +Microsoft.Graph.Models.exchangeSettings-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.exchangeSettings::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.exchangeSettings::|public|OdataType:string +Microsoft.Graph.Models.exchangeSettings::|public|PrimaryMailboxId:string +Microsoft.Graph.Models.exchangeSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.exchangeSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ExchangeSettings Microsoft.Graph.Models.excludeTarget::|public|AdditionalData:IDictionary Microsoft.Graph.Models.excludeTarget::|public|BackingStore:IBackingStore Microsoft.Graph.Models.excludeTarget::|public|constructor():void @@ -105466,6 +106902,18 @@ Microsoft.Graph.Models.expirationPatternType::0001-noExpiration Microsoft.Graph.Models.expirationPatternType::0002-afterDateTime Microsoft.Graph.Models.expirationPatternType::0003-afterDuration Microsoft.Graph.Models.expirationPattern~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.exportItemResponse::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.exportItemResponse::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.exportItemResponse::|public|ChangeKey:string +Microsoft.Graph.Models.exportItemResponse::|public|constructor():void +Microsoft.Graph.Models.exportItemResponse::|public|Data:byte[] +Microsoft.Graph.Models.exportItemResponse::|public|Error:global.Microsoft.Graph.Models.MailTipsError +Microsoft.Graph.Models.exportItemResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.exportItemResponse::|public|ItemId:string +Microsoft.Graph.Models.exportItemResponse::|public|OdataType:string +Microsoft.Graph.Models.exportItemResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.exportItemResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ExportItemResponse +Microsoft.Graph.Models.exportItemResponse~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.expressionInputObject::|public|AdditionalData:IDictionary Microsoft.Graph.Models.expressionInputObject::|public|BackingStore:IBackingStore Microsoft.Graph.Models.expressionInputObject::|public|constructor():void @@ -105599,6 +107047,21 @@ Microsoft.Graph.Models.ExternalConnectors.connectionState::0001-ready Microsoft.Graph.Models.ExternalConnectors.connectionState::0002-obsolete Microsoft.Graph.Models.ExternalConnectors.connectionState::0003-limitExceeded Microsoft.Graph.Models.ExternalConnectors.connectionState::0004-unknownFutureValue +Microsoft.Graph.Models.ExternalConnectors.contentCategory::0000-uncategorized +Microsoft.Graph.Models.ExternalConnectors.contentCategory::0001-knowledgeBase +Microsoft.Graph.Models.ExternalConnectors.contentCategory::0002-wikis +Microsoft.Graph.Models.ExternalConnectors.contentCategory::0003-fileRepository +Microsoft.Graph.Models.ExternalConnectors.contentCategory::0004-qna +Microsoft.Graph.Models.ExternalConnectors.contentCategory::0005-crm +Microsoft.Graph.Models.ExternalConnectors.contentCategory::0006-dashboard +Microsoft.Graph.Models.ExternalConnectors.contentCategory::0007-people +Microsoft.Graph.Models.ExternalConnectors.contentCategory::0008-media +Microsoft.Graph.Models.ExternalConnectors.contentCategory::0009-email +Microsoft.Graph.Models.ExternalConnectors.contentCategory::0010-messaging +Microsoft.Graph.Models.ExternalConnectors.contentCategory::0011-meetingTranscripts +Microsoft.Graph.Models.ExternalConnectors.contentCategory::0012-taskManagement +Microsoft.Graph.Models.ExternalConnectors.contentCategory::0013-learningManagement +Microsoft.Graph.Models.ExternalConnectors.contentCategory::0014-unknownFutureValue Microsoft.Graph.Models.ExternalConnectors.displayTemplate::|public|AdditionalData:IDictionary Microsoft.Graph.Models.ExternalConnectors.displayTemplate::|public|BackingStore:IBackingStore Microsoft.Graph.Models.ExternalConnectors.displayTemplate::|public|constructor():void @@ -105647,6 +107110,7 @@ Microsoft.Graph.Models.ExternalConnectors.externalConnection-->global.Microsoft. Microsoft.Graph.Models.ExternalConnectors.externalConnection::|public|ActivitySettings:global.Microsoft.Graph.Models.ExternalConnectors.ActivitySettings Microsoft.Graph.Models.ExternalConnectors.externalConnection::|public|Configuration:global.Microsoft.Graph.Models.ExternalConnectors.Configuration Microsoft.Graph.Models.ExternalConnectors.externalConnection::|public|ConnectorId:string +Microsoft.Graph.Models.ExternalConnectors.externalConnection::|public|ContentCategory:global.Microsoft.Graph.Models.ExternalConnectors.ContentCategory? Microsoft.Graph.Models.ExternalConnectors.externalConnection::|public|Description:string Microsoft.Graph.Models.ExternalConnectors.externalConnection::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.ExternalConnectors.externalConnection::|public|Groups:List @@ -105738,7 +107202,45 @@ Microsoft.Graph.Models.ExternalConnectors.label::0006-lastModifiedDateTime Microsoft.Graph.Models.ExternalConnectors.label::0007-fileName Microsoft.Graph.Models.ExternalConnectors.label::0008-fileExtension Microsoft.Graph.Models.ExternalConnectors.label::0009-unknownFutureValue -Microsoft.Graph.Models.ExternalConnectors.label::0010-iconUrl +Microsoft.Graph.Models.ExternalConnectors.label::0010-containerName +Microsoft.Graph.Models.ExternalConnectors.label::0011-containerUrl +Microsoft.Graph.Models.ExternalConnectors.label::0012-iconUrl +Microsoft.Graph.Models.ExternalConnectors.label::0013-assignedToPeople +Microsoft.Graph.Models.ExternalConnectors.label::0014-closedBy +Microsoft.Graph.Models.ExternalConnectors.label::0015-closedDate +Microsoft.Graph.Models.ExternalConnectors.label::0016-priority +Microsoft.Graph.Models.ExternalConnectors.label::0017-sprintName +Microsoft.Graph.Models.ExternalConnectors.label::0018-tags +Microsoft.Graph.Models.ExternalConnectors.label::0019-severity +Microsoft.Graph.Models.ExternalConnectors.label::0020-state +Microsoft.Graph.Models.ExternalConnectors.label::0021-dueDate +Microsoft.Graph.Models.ExternalConnectors.label::0022-itemParentId +Microsoft.Graph.Models.ExternalConnectors.label::0023-itemPath +Microsoft.Graph.Models.ExternalConnectors.label::0024-itemType +Microsoft.Graph.Models.ExternalConnectors.label::0025-numberOfReactions +Microsoft.Graph.Models.ExternalConnectors.label::0026-parentUrl +Microsoft.Graph.Models.ExternalConnectors.label::0027-priorityNormalized +Microsoft.Graph.Models.ExternalConnectors.label::0028-reportedBy +Microsoft.Graph.Models.ExternalConnectors.label::0029-secondaryId +Microsoft.Graph.Models.ExternalConnectors.label::0030-personEmails +Microsoft.Graph.Models.ExternalConnectors.label::0031-personAddresses +Microsoft.Graph.Models.ExternalConnectors.label::0032-personAnniversaries +Microsoft.Graph.Models.ExternalConnectors.label::0033-personName +Microsoft.Graph.Models.ExternalConnectors.label::0034-personNote +Microsoft.Graph.Models.ExternalConnectors.label::0035-personPhones +Microsoft.Graph.Models.ExternalConnectors.label::0036-personCurrentPosition +Microsoft.Graph.Models.ExternalConnectors.label::0037-personWebAccounts +Microsoft.Graph.Models.ExternalConnectors.label::0038-personWebSite +Microsoft.Graph.Models.ExternalConnectors.label::0039-personSkills +Microsoft.Graph.Models.ExternalConnectors.label::0040-personProjects +Microsoft.Graph.Models.ExternalConnectors.label::0041-personAccount +Microsoft.Graph.Models.ExternalConnectors.label::0042-personAwards +Microsoft.Graph.Models.ExternalConnectors.label::0043-personCertifications +Microsoft.Graph.Models.ExternalConnectors.label::0044-personAssistants +Microsoft.Graph.Models.ExternalConnectors.label::0045-personColleagues +Microsoft.Graph.Models.ExternalConnectors.label::0046-personManager +Microsoft.Graph.Models.ExternalConnectors.label::0047-personAlternateContacts +Microsoft.Graph.Models.ExternalConnectors.label::0048-personEmergencyContacts Microsoft.Graph.Models.ExternalConnectors.properties::|public|AdditionalData:IDictionary Microsoft.Graph.Models.ExternalConnectors.properties::|public|BackingStore:IBackingStore Microsoft.Graph.Models.ExternalConnectors.properties::|public|constructor():void @@ -105751,6 +107253,7 @@ Microsoft.Graph.Models.ExternalConnectors.property::|public|AdditionalData:IDict Microsoft.Graph.Models.ExternalConnectors.property::|public|Aliases:List Microsoft.Graph.Models.ExternalConnectors.property::|public|BackingStore:IBackingStore Microsoft.Graph.Models.ExternalConnectors.property::|public|constructor():void +Microsoft.Graph.Models.ExternalConnectors.property::|public|Description:string Microsoft.Graph.Models.ExternalConnectors.property::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.ExternalConnectors.property::|public|IsQueryable:bool? Microsoft.Graph.Models.ExternalConnectors.property::|public|IsRefinable:bool? @@ -105784,6 +107287,8 @@ Microsoft.Graph.Models.ExternalConnectors.propertyType::0006-int64Collection Microsoft.Graph.Models.ExternalConnectors.propertyType::0007-doubleCollection Microsoft.Graph.Models.ExternalConnectors.propertyType::0008-dateTimeCollection Microsoft.Graph.Models.ExternalConnectors.propertyType::0009-unknownFutureValue +Microsoft.Graph.Models.ExternalConnectors.propertyType::0010-principal +Microsoft.Graph.Models.ExternalConnectors.propertyType::0011-principalCollection Microsoft.Graph.Models.ExternalConnectors.property~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.ExternalConnectors.ruleOperation::0000-null Microsoft.Graph.Models.ExternalConnectors.ruleOperation::0001-equals @@ -105952,6 +107457,7 @@ Microsoft.Graph.Models.fido2AuthenticationMethod::|public|DisplayName:string Microsoft.Graph.Models.fido2AuthenticationMethod::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.fido2AuthenticationMethod::|public|Model:string Microsoft.Graph.Models.fido2AuthenticationMethod::|public|OdataType:string +Microsoft.Graph.Models.fido2AuthenticationMethod::|public|PasskeyType:global.Microsoft.Graph.Models.PasskeyType? Microsoft.Graph.Models.fido2AuthenticationMethod::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.fido2AuthenticationMethod::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Fido2AuthenticationMethod Microsoft.Graph.Models.fido2AuthenticationMethodCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse @@ -105961,12 +107467,14 @@ Microsoft.Graph.Models.fido2AuthenticationMethodCollectionResponse::|public|Valu Microsoft.Graph.Models.fido2AuthenticationMethodCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Fido2AuthenticationMethodCollectionResponse Microsoft.Graph.Models.fido2AuthenticationMethodConfiguration-->global.Microsoft.Graph.Models.AuthenticationMethodConfiguration Microsoft.Graph.Models.fido2AuthenticationMethodConfiguration::|public|constructor():void +Microsoft.Graph.Models.fido2AuthenticationMethodConfiguration::|public|DefaultPasskeyProfile:string Microsoft.Graph.Models.fido2AuthenticationMethodConfiguration::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Models.fido2AuthenticationMethodConfiguration::|public|IncludeTargets:List +Microsoft.Graph.Models.fido2AuthenticationMethodConfiguration::|public|IncludeTargets:List Microsoft.Graph.Models.fido2AuthenticationMethodConfiguration::|public|IsAttestationEnforced:bool? Microsoft.Graph.Models.fido2AuthenticationMethodConfiguration::|public|IsSelfServiceRegistrationAllowed:bool? Microsoft.Graph.Models.fido2AuthenticationMethodConfiguration::|public|KeyRestrictions:global.Microsoft.Graph.Models.Fido2KeyRestrictions Microsoft.Graph.Models.fido2AuthenticationMethodConfiguration::|public|OdataType:string +Microsoft.Graph.Models.fido2AuthenticationMethodConfiguration::|public|PasskeyProfiles:List Microsoft.Graph.Models.fido2AuthenticationMethodConfiguration::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.fido2AuthenticationMethodConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Fido2AuthenticationMethodConfiguration Microsoft.Graph.Models.fido2CombinationConfiguration-->global.Microsoft.Graph.Models.AuthenticationCombinationConfiguration @@ -106094,6 +107602,7 @@ Microsoft.Graph.Models.fileStorageContainer::|public|Permissions:List Microsoft.Graph.Models.fileStorageContainer::|public|Status:global.Microsoft.Graph.Models.FileStorageContainerStatus? Microsoft.Graph.Models.fileStorageContainer::|public|Viewpoint:global.Microsoft.Graph.Models.FileStorageContainerViewpoint Microsoft.Graph.Models.fileStorageContainer::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.FileStorageContainer @@ -106569,6 +108078,7 @@ Microsoft.Graph.Models.group::|public|TransitiveMembers:Listglobal.Microsoft.Graph.Models.DeviceAndAppManagementAssignmentTarget Microsoft.Graph.Models.groupAssignmentTarget::|public|constructor():void @@ -107583,6 +109093,16 @@ Microsoft.Graph.Models.includedUserTypes::0000-all Microsoft.Graph.Models.includedUserTypes::0001-member Microsoft.Graph.Models.includedUserTypes::0002-guest Microsoft.Graph.Models.includedUserTypes::0003-unknownFutureValue +Microsoft.Graph.Models.includeTarget::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.includeTarget::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.includeTarget::|public|constructor():void +Microsoft.Graph.Models.includeTarget::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.includeTarget::|public|Id:string +Microsoft.Graph.Models.includeTarget::|public|OdataType:string +Microsoft.Graph.Models.includeTarget::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.includeTarget::|public|TargetType:global.Microsoft.Graph.Models.AuthenticationMethodTargetType? +Microsoft.Graph.Models.includeTarget::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IncludeTarget +Microsoft.Graph.Models.includeTarget~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.incomingCallOptions-->global.Microsoft.Graph.Models.CallOptions Microsoft.Graph.Models.incomingCallOptions::|public|constructor():void Microsoft.Graph.Models.incomingCallOptions::|public|GetFieldDeserializers():IDictionary> @@ -107657,6 +109177,25 @@ Microsoft.Graph.Models.informationProtection::|public|Serialize(writer:ISerializ Microsoft.Graph.Models.informationProtection::|public|ThreatAssessmentRequests:List Microsoft.Graph.Models.informationProtection::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.InformationProtection Microsoft.Graph.Models.informationProtection~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.inheritablePermission::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.inheritablePermission::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.inheritablePermission::|public|constructor():void +Microsoft.Graph.Models.inheritablePermission::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.inheritablePermission::|public|InheritableScopes:global.Microsoft.Graph.Models.InheritableScopes +Microsoft.Graph.Models.inheritablePermission::|public|OdataType:string +Microsoft.Graph.Models.inheritablePermission::|public|ResourceAppId:string +Microsoft.Graph.Models.inheritablePermission::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.inheritablePermission::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.InheritablePermission +Microsoft.Graph.Models.inheritablePermission~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.inheritableScopes::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.inheritableScopes::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.inheritableScopes::|public|constructor():void +Microsoft.Graph.Models.inheritableScopes::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.inheritableScopes::|public|Kind:global.Microsoft.Graph.Models.ScopeCollectionKind? +Microsoft.Graph.Models.inheritableScopes::|public|OdataType:string +Microsoft.Graph.Models.inheritableScopes::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.inheritableScopes::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.InheritableScopes +Microsoft.Graph.Models.inheritableScopes~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.initiator-->global.Microsoft.Graph.Models.Identity Microsoft.Graph.Models.initiator::|public|constructor():void Microsoft.Graph.Models.initiator::|public|GetFieldDeserializers():IDictionary> @@ -109233,6 +110772,18 @@ Microsoft.Graph.Models.mailAssessmentRequest::|public|OdataType:string Microsoft.Graph.Models.mailAssessmentRequest::|public|RecipientEmail:string Microsoft.Graph.Models.mailAssessmentRequest::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.mailAssessmentRequest::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.MailAssessmentRequest +Microsoft.Graph.Models.mailbox-->global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.Models.mailbox::|public|constructor():void +Microsoft.Graph.Models.mailbox::|public|Folders:List +Microsoft.Graph.Models.mailbox::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.mailbox::|public|OdataType:string +Microsoft.Graph.Models.mailbox::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.mailbox::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Mailbox +Microsoft.Graph.Models.mailboxCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.mailboxCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.mailboxCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.mailboxCollectionResponse::|public|Value:List +Microsoft.Graph.Models.mailboxCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.MailboxCollectionResponse Microsoft.Graph.Models.mailboxDetails::|public|AdditionalData:IDictionary Microsoft.Graph.Models.mailboxDetails::|public|BackingStore:IBackingStore Microsoft.Graph.Models.mailboxDetails::|public|constructor():void @@ -109243,6 +110794,50 @@ Microsoft.Graph.Models.mailboxDetails::|public|OdataType:string Microsoft.Graph.Models.mailboxDetails::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.mailboxDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.MailboxDetails Microsoft.Graph.Models.mailboxDetails~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.mailboxFolder-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.mailboxFolder::|public|ChildFolderCount:int? +Microsoft.Graph.Models.mailboxFolder::|public|ChildFolders:List +Microsoft.Graph.Models.mailboxFolder::|public|DisplayName:string +Microsoft.Graph.Models.mailboxFolder::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.mailboxFolder::|public|Items:List +Microsoft.Graph.Models.mailboxFolder::|public|MultiValueExtendedProperties:List +Microsoft.Graph.Models.mailboxFolder::|public|OdataType:string +Microsoft.Graph.Models.mailboxFolder::|public|ParentFolderId:string +Microsoft.Graph.Models.mailboxFolder::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.mailboxFolder::|public|SingleValueExtendedProperties:List +Microsoft.Graph.Models.mailboxFolder::|public|TotalItemCount:int? +Microsoft.Graph.Models.mailboxFolder::|public|Type:string +Microsoft.Graph.Models.mailboxFolder::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.MailboxFolder +Microsoft.Graph.Models.mailboxFolderCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.mailboxFolderCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.mailboxFolderCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.mailboxFolderCollectionResponse::|public|Value:List +Microsoft.Graph.Models.mailboxFolderCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.MailboxFolderCollectionResponse +Microsoft.Graph.Models.mailboxItem-->global.Microsoft.Graph.Models.OutlookItem +Microsoft.Graph.Models.mailboxItem::|public|constructor():void +Microsoft.Graph.Models.mailboxItem::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.mailboxItem::|public|MultiValueExtendedProperties:List +Microsoft.Graph.Models.mailboxItem::|public|OdataType:string +Microsoft.Graph.Models.mailboxItem::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.mailboxItem::|public|SingleValueExtendedProperties:List +Microsoft.Graph.Models.mailboxItem::|public|Size:long? +Microsoft.Graph.Models.mailboxItem::|public|Type:string +Microsoft.Graph.Models.mailboxItem::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.MailboxItem +Microsoft.Graph.Models.mailboxItemCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.mailboxItemCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.mailboxItemCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.mailboxItemCollectionResponse::|public|Value:List +Microsoft.Graph.Models.mailboxItemCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.MailboxItemCollectionResponse +Microsoft.Graph.Models.mailboxItemImportSession::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.mailboxItemImportSession::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.mailboxItemImportSession::|public|constructor():void +Microsoft.Graph.Models.mailboxItemImportSession::|public|ExpirationDateTime:DateTimeOffset? +Microsoft.Graph.Models.mailboxItemImportSession::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.mailboxItemImportSession::|public|ImportUrl:string +Microsoft.Graph.Models.mailboxItemImportSession::|public|OdataType:string +Microsoft.Graph.Models.mailboxItemImportSession::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.mailboxItemImportSession::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.MailboxItemImportSession +Microsoft.Graph.Models.mailboxItemImportSession~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.mailboxProtectionRule-->global.Microsoft.Graph.Models.ProtectionRuleBase Microsoft.Graph.Models.mailboxProtectionRule::|public|constructor():void Microsoft.Graph.Models.mailboxProtectionRule::|public|GetFieldDeserializers():IDictionary> @@ -110860,6 +112455,15 @@ Microsoft.Graph.Models.modifiedProperty::|public|OldValue:string Microsoft.Graph.Models.modifiedProperty::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.modifiedProperty::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ModifiedProperty Microsoft.Graph.Models.modifiedProperty~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.monitorMode::0000-monitorOnly +Microsoft.Graph.Models.monitorMode::0001-unknownFutureValue +Microsoft.Graph.Models.monitorRunStatus::0000-successful +Microsoft.Graph.Models.monitorRunStatus::0001-partiallySuccessful +Microsoft.Graph.Models.monitorRunStatus::0002-failed +Microsoft.Graph.Models.monitorRunStatus::0003-unknownFutureValue +Microsoft.Graph.Models.monitorStatus::0000-active +Microsoft.Graph.Models.monitorStatus::0001-inactive +Microsoft.Graph.Models.monitorStatus::0002-unknownFutureValue Microsoft.Graph.Models.multiFactorAuthConfiguration::0000-notRequired Microsoft.Graph.Models.multiFactorAuthConfiguration::0001-required Microsoft.Graph.Models.multiFactorAuthConfiguration::0002-unknownFutureValue @@ -111024,6 +112628,12 @@ Microsoft.Graph.Models.noDeviceRegistrationMembership::|public|GetFieldDeseriali Microsoft.Graph.Models.noDeviceRegistrationMembership::|public|OdataType:string Microsoft.Graph.Models.noDeviceRegistrationMembership::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.noDeviceRegistrationMembership::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.NoDeviceRegistrationMembership +Microsoft.Graph.Models.noScopes-->global.Microsoft.Graph.Models.InheritableScopes +Microsoft.Graph.Models.noScopes::|public|constructor():void +Microsoft.Graph.Models.noScopes::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.noScopes::|public|OdataType:string +Microsoft.Graph.Models.noScopes::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.noScopes::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.NoScopes Microsoft.Graph.Models.notebook-->global.Microsoft.Graph.Models.OnenoteEntityHierarchyModel Microsoft.Graph.Models.notebook::|public|constructor():void Microsoft.Graph.Models.notebook::|public|GetFieldDeserializers():IDictionary> @@ -111902,6 +113512,36 @@ Microsoft.Graph.Models.onOtpSendHandler::|public|OdataType:string Microsoft.Graph.Models.onOtpSendHandler::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.onOtpSendHandler::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OnOtpSendHandler Microsoft.Graph.Models.onOtpSendHandler~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.onPasswordMigrationCustomExtensionHandler-->global.Microsoft.Graph.Models.OnPasswordSubmitHandler +Microsoft.Graph.Models.onPasswordMigrationCustomExtensionHandler::|public|Configuration:global.Microsoft.Graph.Models.CustomExtensionOverwriteConfiguration +Microsoft.Graph.Models.onPasswordMigrationCustomExtensionHandler::|public|constructor():void +Microsoft.Graph.Models.onPasswordMigrationCustomExtensionHandler::|public|CustomExtension:global.Microsoft.Graph.Models.OnPasswordSubmitCustomExtension +Microsoft.Graph.Models.onPasswordMigrationCustomExtensionHandler::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.onPasswordMigrationCustomExtensionHandler::|public|MigrationPropertyId:string +Microsoft.Graph.Models.onPasswordMigrationCustomExtensionHandler::|public|OdataType:string +Microsoft.Graph.Models.onPasswordMigrationCustomExtensionHandler::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.onPasswordMigrationCustomExtensionHandler::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OnPasswordMigrationCustomExtensionHandler +Microsoft.Graph.Models.onPasswordSubmitCustomExtension-->global.Microsoft.Graph.Models.CustomAuthenticationExtension +Microsoft.Graph.Models.onPasswordSubmitCustomExtension::|public|constructor():void +Microsoft.Graph.Models.onPasswordSubmitCustomExtension::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.onPasswordSubmitCustomExtension::|public|OdataType:string +Microsoft.Graph.Models.onPasswordSubmitCustomExtension::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.onPasswordSubmitCustomExtension::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OnPasswordSubmitCustomExtension +Microsoft.Graph.Models.onPasswordSubmitHandler::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.onPasswordSubmitHandler::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.onPasswordSubmitHandler::|public|constructor():void +Microsoft.Graph.Models.onPasswordSubmitHandler::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.onPasswordSubmitHandler::|public|OdataType:string +Microsoft.Graph.Models.onPasswordSubmitHandler::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.onPasswordSubmitHandler::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OnPasswordSubmitHandler +Microsoft.Graph.Models.onPasswordSubmitHandler~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.onPasswordSubmitListener-->global.Microsoft.Graph.Models.AuthenticationEventListener +Microsoft.Graph.Models.onPasswordSubmitListener::|public|constructor():void +Microsoft.Graph.Models.onPasswordSubmitListener::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.onPasswordSubmitListener::|public|Handler:global.Microsoft.Graph.Models.OnPasswordSubmitHandler +Microsoft.Graph.Models.onPasswordSubmitListener::|public|OdataType:string +Microsoft.Graph.Models.onPasswordSubmitListener::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.onPasswordSubmitListener::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OnPasswordSubmitListener Microsoft.Graph.Models.onPremisesAccidentalDeletionPrevention::|public|AdditionalData:IDictionary Microsoft.Graph.Models.onPremisesAccidentalDeletionPrevention::|public|AlertThreshold:int? Microsoft.Graph.Models.onPremisesAccidentalDeletionPrevention::|public|BackingStore:IBackingStore @@ -112075,6 +113715,11 @@ Microsoft.Graph.Models.onUserCreateStartListener::|public|Handler:global.Microso Microsoft.Graph.Models.onUserCreateStartListener::|public|OdataType:string Microsoft.Graph.Models.onUserCreateStartListener::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.onUserCreateStartListener::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OnUserCreateStartListener +Microsoft.Graph.Models.openComplexDictionaryType-->global.Microsoft.Graph.Models.Dictionary +Microsoft.Graph.Models.openComplexDictionaryType::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.openComplexDictionaryType::|public|OdataType:string +Microsoft.Graph.Models.openComplexDictionaryType::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.openComplexDictionaryType::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OpenComplexDictionaryType Microsoft.Graph.Models.openIdConnectSetting::|public|AdditionalData:IDictionary Microsoft.Graph.Models.openIdConnectSetting::|public|BackingStore:IBackingStore Microsoft.Graph.Models.openIdConnectSetting::|public|ClientId:string @@ -112623,6 +114268,27 @@ Microsoft.Graph.Models.partnerTenantType::0003-breadthPartnerDelegatedAdmin Microsoft.Graph.Models.partnerTenantType::0004-resellerPartnerDelegatedAdmin Microsoft.Graph.Models.partnerTenantType::0005-valueAddedResellerPartnerDelegatedAdmin Microsoft.Graph.Models.partnerTenantType::0006-unknownFutureValue +Microsoft.Graph.Models.passkeyAuthenticationMethodTarget-->global.Microsoft.Graph.Models.AuthenticationMethodTarget +Microsoft.Graph.Models.passkeyAuthenticationMethodTarget::|public|AllowedPasskeyProfiles:List +Microsoft.Graph.Models.passkeyAuthenticationMethodTarget::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.passkeyAuthenticationMethodTarget::|public|OdataType:string +Microsoft.Graph.Models.passkeyAuthenticationMethodTarget::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.passkeyAuthenticationMethodTarget::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PasskeyAuthenticationMethodTarget +Microsoft.Graph.Models.passkeyProfile-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.passkeyProfile::|public|AttestationEnforcement:global.Microsoft.Graph.Models.AttestationEnforcement? +Microsoft.Graph.Models.passkeyProfile::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.passkeyProfile::|public|KeyRestrictions:global.Microsoft.Graph.Models.Fido2KeyRestrictions +Microsoft.Graph.Models.passkeyProfile::|public|Name:string +Microsoft.Graph.Models.passkeyProfile::|public|OdataType:string +Microsoft.Graph.Models.passkeyProfile::|public|PasskeyTypes:global.Microsoft.Graph.Models.PasskeyTypes? +Microsoft.Graph.Models.passkeyProfile::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.passkeyProfile::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PasskeyProfile +Microsoft.Graph.Models.passkeyType::0000-deviceBound +Microsoft.Graph.Models.passkeyType::0001-synced +Microsoft.Graph.Models.passkeyType::0002-unknownFutureValue +Microsoft.Graph.Models.passkeyTypes::0000-deviceBound +Microsoft.Graph.Models.passkeyTypes::0001-synced +Microsoft.Graph.Models.passkeyTypes::0002-unknownFutureValue Microsoft.Graph.Models.passwordAuthenticationMethod-->global.Microsoft.Graph.Models.AuthenticationMethod Microsoft.Graph.Models.passwordAuthenticationMethod::|public|constructor():void Microsoft.Graph.Models.passwordAuthenticationMethod::|public|GetFieldDeserializers():IDictionary> @@ -112857,6 +114523,7 @@ Microsoft.Graph.Models.peopleAdminSettings::|public|GetFieldDeserializers():IDic Microsoft.Graph.Models.peopleAdminSettings::|public|ItemInsights:global.Microsoft.Graph.Models.InsightsSettings Microsoft.Graph.Models.peopleAdminSettings::|public|OdataType:string Microsoft.Graph.Models.peopleAdminSettings::|public|ProfileCardProperties:List +Microsoft.Graph.Models.peopleAdminSettings::|public|ProfileSources:List Microsoft.Graph.Models.peopleAdminSettings::|public|Pronouns:global.Microsoft.Graph.Models.PronounsSettings Microsoft.Graph.Models.peopleAdminSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.peopleAdminSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PeopleAdminSettings @@ -115327,6 +116994,32 @@ Microsoft.Graph.Models.profilePhotoCollectionResponse::|public|GetFieldDeseriali Microsoft.Graph.Models.profilePhotoCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.profilePhotoCollectionResponse::|public|Value:List Microsoft.Graph.Models.profilePhotoCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ProfilePhotoCollectionResponse +Microsoft.Graph.Models.profileSource-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.profileSource::|public|DisplayName:string +Microsoft.Graph.Models.profileSource::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.profileSource::|public|Kind:string +Microsoft.Graph.Models.profileSource::|public|Localizations:List +Microsoft.Graph.Models.profileSource::|public|OdataType:string +Microsoft.Graph.Models.profileSource::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.profileSource::|public|SourceId:string +Microsoft.Graph.Models.profileSource::|public|WebUrl:string +Microsoft.Graph.Models.profileSource::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ProfileSource +Microsoft.Graph.Models.profileSourceCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.profileSourceCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.profileSourceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.profileSourceCollectionResponse::|public|Value:List +Microsoft.Graph.Models.profileSourceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ProfileSourceCollectionResponse +Microsoft.Graph.Models.profileSourceLocalization::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.profileSourceLocalization::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.profileSourceLocalization::|public|constructor():void +Microsoft.Graph.Models.profileSourceLocalization::|public|DisplayName:string +Microsoft.Graph.Models.profileSourceLocalization::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.profileSourceLocalization::|public|LanguageTag:string +Microsoft.Graph.Models.profileSourceLocalization::|public|OdataType:string +Microsoft.Graph.Models.profileSourceLocalization::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.profileSourceLocalization::|public|WebUrl:string +Microsoft.Graph.Models.profileSourceLocalization::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ProfileSourceLocalization +Microsoft.Graph.Models.profileSourceLocalization~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.prompt::|public|AdditionalData:IDictionary Microsoft.Graph.Models.prompt::|public|BackingStore:IBackingStore Microsoft.Graph.Models.prompt::|public|constructor():void @@ -115668,6 +117361,55 @@ Microsoft.Graph.Models.publicKeyInfrastructureRoot::|public|GetFieldDeserializer Microsoft.Graph.Models.publicKeyInfrastructureRoot::|public|OdataType:string Microsoft.Graph.Models.publicKeyInfrastructureRoot::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.publicKeyInfrastructureRoot::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PublicKeyInfrastructureRoot +Microsoft.Graph.Models.qrCode-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.qrCode::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Models.qrCode::|public|ExpireDateTime:DateTimeOffset? +Microsoft.Graph.Models.qrCode::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.qrCode::|public|Image:global.Microsoft.Graph.Models.QrCodeImageDetails +Microsoft.Graph.Models.qrCode::|public|LastUsedDateTime:DateTimeOffset? +Microsoft.Graph.Models.qrCode::|public|OdataType:string +Microsoft.Graph.Models.qrCode::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.qrCode::|public|StartDateTime:DateTimeOffset? +Microsoft.Graph.Models.qrCode::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.QrCode +Microsoft.Graph.Models.qrCodeImageDetails::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.qrCodeImageDetails::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.qrCodeImageDetails::|public|BinaryValue:byte[] +Microsoft.Graph.Models.qrCodeImageDetails::|public|constructor():void +Microsoft.Graph.Models.qrCodeImageDetails::|public|ErrorCorrectionLevel:global.Microsoft.Graph.Models.ErrorCorrectionLevel? +Microsoft.Graph.Models.qrCodeImageDetails::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.qrCodeImageDetails::|public|OdataType:string +Microsoft.Graph.Models.qrCodeImageDetails::|public|RawContent:byte[] +Microsoft.Graph.Models.qrCodeImageDetails::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.qrCodeImageDetails::|public|Version:int? +Microsoft.Graph.Models.qrCodeImageDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.QrCodeImageDetails +Microsoft.Graph.Models.qrCodeImageDetails~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.qrCodePinAuthenticationMethod-->global.Microsoft.Graph.Models.AuthenticationMethod +Microsoft.Graph.Models.qrCodePinAuthenticationMethod::|public|constructor():void +Microsoft.Graph.Models.qrCodePinAuthenticationMethod::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.qrCodePinAuthenticationMethod::|public|OdataType:string +Microsoft.Graph.Models.qrCodePinAuthenticationMethod::|public|Pin:global.Microsoft.Graph.Models.QrPin +Microsoft.Graph.Models.qrCodePinAuthenticationMethod::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.qrCodePinAuthenticationMethod::|public|StandardQRCode:global.Microsoft.Graph.Models.QrCode +Microsoft.Graph.Models.qrCodePinAuthenticationMethod::|public|TemporaryQRCode:global.Microsoft.Graph.Models.QrCode +Microsoft.Graph.Models.qrCodePinAuthenticationMethod::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.QrCodePinAuthenticationMethod +Microsoft.Graph.Models.qrCodePinAuthenticationMethodConfiguration-->global.Microsoft.Graph.Models.AuthenticationMethodConfiguration +Microsoft.Graph.Models.qrCodePinAuthenticationMethodConfiguration::|public|constructor():void +Microsoft.Graph.Models.qrCodePinAuthenticationMethodConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.qrCodePinAuthenticationMethodConfiguration::|public|IncludeTargets:List +Microsoft.Graph.Models.qrCodePinAuthenticationMethodConfiguration::|public|OdataType:string +Microsoft.Graph.Models.qrCodePinAuthenticationMethodConfiguration::|public|PinLength:int? +Microsoft.Graph.Models.qrCodePinAuthenticationMethodConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.qrCodePinAuthenticationMethodConfiguration::|public|StandardQRCodeLifetimeInDays:int? +Microsoft.Graph.Models.qrCodePinAuthenticationMethodConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.QrCodePinAuthenticationMethodConfiguration +Microsoft.Graph.Models.qrPin-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.qrPin::|public|Code:string +Microsoft.Graph.Models.qrPin::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Models.qrPin::|public|ForceChangePinNextSignIn:bool? +Microsoft.Graph.Models.qrPin::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.qrPin::|public|OdataType:string +Microsoft.Graph.Models.qrPin::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.qrPin::|public|UpdatedDateTime:DateTimeOffset? +Microsoft.Graph.Models.qrPin::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.QrPin Microsoft.Graph.Models.quarantineReason::0000-EncounteredBaseEscrowThreshold Microsoft.Graph.Models.quarantineReason::0001-EncounteredTotalEscrowThreshold Microsoft.Graph.Models.quarantineReason::0002-EncounteredEscrowProportionThreshold @@ -117315,6 +119057,11 @@ Microsoft.Graph.Models.scopeBase::|public|OdataType:string Microsoft.Graph.Models.scopeBase::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.scopeBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ScopeBase Microsoft.Graph.Models.scopeBase~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.scopeCollectionKind::0000-allAllowed +Microsoft.Graph.Models.scopeCollectionKind::0001-enumerated +Microsoft.Graph.Models.scopeCollectionKind::0002-none +Microsoft.Graph.Models.scopeCollectionKind::0003-scopeKindNotSet +Microsoft.Graph.Models.scopeCollectionKind::0004-unknownFutureValue Microsoft.Graph.Models.scopedRoleMembership-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.scopedRoleMembership::|public|AdministrativeUnitId:string Microsoft.Graph.Models.scopedRoleMembership::|public|GetFieldDeserializers():IDictionary> @@ -121095,6 +122842,39 @@ Microsoft.Graph.Models.sharepoint::|public|OdataType:string Microsoft.Graph.Models.sharepoint::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.sharepoint::|public|Settings:global.Microsoft.Graph.Models.SharepointSettings Microsoft.Graph.Models.sharepoint::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Sharepoint +Microsoft.Graph.Models.sharePointGroup-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.sharePointGroup::|public|Description:string +Microsoft.Graph.Models.sharePointGroup::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointGroup::|public|Members:List +Microsoft.Graph.Models.sharePointGroup::|public|OdataType:string +Microsoft.Graph.Models.sharePointGroup::|public|PrincipalId:string +Microsoft.Graph.Models.sharePointGroup::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sharePointGroup::|public|Title:string +Microsoft.Graph.Models.sharePointGroup::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharePointGroup +Microsoft.Graph.Models.sharePointGroupCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.sharePointGroupCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointGroupCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sharePointGroupCollectionResponse::|public|Value:List +Microsoft.Graph.Models.sharePointGroupCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharePointGroupCollectionResponse +Microsoft.Graph.Models.sharePointGroupIdentity-->global.Microsoft.Graph.Models.Identity +Microsoft.Graph.Models.sharePointGroupIdentity::|public|constructor():void +Microsoft.Graph.Models.sharePointGroupIdentity::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointGroupIdentity::|public|OdataType:string +Microsoft.Graph.Models.sharePointGroupIdentity::|public|PrincipalId:string +Microsoft.Graph.Models.sharePointGroupIdentity::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sharePointGroupIdentity::|public|Title:string +Microsoft.Graph.Models.sharePointGroupIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharePointGroupIdentity +Microsoft.Graph.Models.sharePointGroupMember-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.sharePointGroupMember::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointGroupMember::|public|Identity:global.Microsoft.Graph.Models.SharePointIdentitySet +Microsoft.Graph.Models.sharePointGroupMember::|public|OdataType:string +Microsoft.Graph.Models.sharePointGroupMember::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sharePointGroupMember::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharePointGroupMember +Microsoft.Graph.Models.sharePointGroupMemberCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.sharePointGroupMemberCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointGroupMemberCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sharePointGroupMemberCollectionResponse::|public|Value:List +Microsoft.Graph.Models.sharePointGroupMemberCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharePointGroupMemberCollectionResponse Microsoft.Graph.Models.sharePointIdentity-->global.Microsoft.Graph.Models.Identity Microsoft.Graph.Models.sharePointIdentity::|public|constructor():void Microsoft.Graph.Models.sharePointIdentity::|public|GetFieldDeserializers():IDictionary> @@ -121108,6 +122888,7 @@ Microsoft.Graph.Models.sharePointIdentitySet::|public|GetFieldDeserializers():ID Microsoft.Graph.Models.sharePointIdentitySet::|public|Group:global.Microsoft.Graph.Models.Identity Microsoft.Graph.Models.sharePointIdentitySet::|public|OdataType:string Microsoft.Graph.Models.sharePointIdentitySet::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sharePointIdentitySet::|public|SharePointGroup:global.Microsoft.Graph.Models.SharePointGroupIdentity Microsoft.Graph.Models.sharePointIdentitySet::|public|SiteGroup:global.Microsoft.Graph.Models.SharePointIdentity Microsoft.Graph.Models.sharePointIdentitySet::|public|SiteUser:global.Microsoft.Graph.Models.SharePointIdentity Microsoft.Graph.Models.sharePointIdentitySet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharePointIdentitySet @@ -121928,6 +123709,12 @@ Microsoft.Graph.Models.smsAuthenticationMethodTarget::|public|IsUsableForSignIn: Microsoft.Graph.Models.smsAuthenticationMethodTarget::|public|OdataType:string Microsoft.Graph.Models.smsAuthenticationMethodTarget::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.smsAuthenticationMethodTarget::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SmsAuthenticationMethodTarget +Microsoft.Graph.Models.snapshotJobStatus::0000-notStarted +Microsoft.Graph.Models.snapshotJobStatus::0001-running +Microsoft.Graph.Models.snapshotJobStatus::0002-succeeded +Microsoft.Graph.Models.snapshotJobStatus::0003-failed +Microsoft.Graph.Models.snapshotJobStatus::0004-partiallySuccessful +Microsoft.Graph.Models.snapshotJobStatus::0005-unknownFutureValue Microsoft.Graph.Models.socialIdentityProvider-->global.Microsoft.Graph.Models.IdentityProviderBase Microsoft.Graph.Models.socialIdentityProvider::|public|ClientId:string Microsoft.Graph.Models.socialIdentityProvider::|public|ClientSecret:string @@ -122981,6 +124768,12 @@ Microsoft.Graph.Models.TeamsAdministration.accountType::0003-sfbOnPremUser Microsoft.Graph.Models.TeamsAdministration.accountType::0004-unknown Microsoft.Graph.Models.TeamsAdministration.accountType::0005-unknownFutureValue Microsoft.Graph.Models.TeamsAdministration.accountType::0006-ineligibleUser +Microsoft.Graph.Models.TeamsAdministration.activationState::0000-activated +Microsoft.Graph.Models.TeamsAdministration.activationState::0001-assignmentPending +Microsoft.Graph.Models.TeamsAdministration.activationState::0002-assignmentFailed +Microsoft.Graph.Models.TeamsAdministration.activationState::0003-updatePending +Microsoft.Graph.Models.TeamsAdministration.activationState::0004-updateFailed +Microsoft.Graph.Models.TeamsAdministration.activationState::0005-unknownFutureValue Microsoft.Graph.Models.TeamsAdministration.assignedTelephoneNumber::|public|AdditionalData:IDictionary Microsoft.Graph.Models.TeamsAdministration.assignedTelephoneNumber::|public|AssignmentCategory:global.Microsoft.Graph.Models.TeamsAdministration.AssignmentCategory? Microsoft.Graph.Models.TeamsAdministration.assignedTelephoneNumber::|public|BackingStore:IBackingStore @@ -122995,9 +124788,20 @@ Microsoft.Graph.Models.TeamsAdministration.assignmentCategory::0000-primary Microsoft.Graph.Models.TeamsAdministration.assignmentCategory::0001-private Microsoft.Graph.Models.TeamsAdministration.assignmentCategory::0002-alternate Microsoft.Graph.Models.TeamsAdministration.assignmentCategory::0003-unknownFutureValue +Microsoft.Graph.Models.TeamsAdministration.assignmentStatus::0000-unassigned +Microsoft.Graph.Models.TeamsAdministration.assignmentStatus::0001-internalError +Microsoft.Graph.Models.TeamsAdministration.assignmentStatus::0002-userAssigned +Microsoft.Graph.Models.TeamsAdministration.assignmentStatus::0003-conferenceAssigned +Microsoft.Graph.Models.TeamsAdministration.assignmentStatus::0004-voiceApplicationAssigned +Microsoft.Graph.Models.TeamsAdministration.assignmentStatus::0005-thirdPartyAppAssigned +Microsoft.Graph.Models.TeamsAdministration.assignmentStatus::0006-policyAssigned +Microsoft.Graph.Models.TeamsAdministration.assignmentStatus::0007-unknownFutureValue Microsoft.Graph.Models.TeamsAdministration.assignmentType::0000-direct Microsoft.Graph.Models.TeamsAdministration.assignmentType::0001-group Microsoft.Graph.Models.TeamsAdministration.assignmentType::0002-unknownFutureValue +Microsoft.Graph.Models.TeamsAdministration.customerAction::0000-locationUpdate +Microsoft.Graph.Models.TeamsAdministration.customerAction::0001-release +Microsoft.Graph.Models.TeamsAdministration.customerAction::0002-unknownFutureValue Microsoft.Graph.Models.TeamsAdministration.effectivePolicyAssignment::|public|AdditionalData:IDictionary Microsoft.Graph.Models.TeamsAdministration.effectivePolicyAssignment::|public|BackingStore:IBackingStore Microsoft.Graph.Models.TeamsAdministration.effectivePolicyAssignment::|public|constructor():void @@ -123008,6 +124812,46 @@ Microsoft.Graph.Models.TeamsAdministration.effectivePolicyAssignment::|public|Po Microsoft.Graph.Models.TeamsAdministration.effectivePolicyAssignment::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.TeamsAdministration.effectivePolicyAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TeamsAdministration.EffectivePolicyAssignment Microsoft.Graph.Models.TeamsAdministration.effectivePolicyAssignment~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.TeamsAdministration.numberAssignment-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.TeamsAdministration.numberAssignment::|public|ActivationState:global.Microsoft.Graph.Models.TeamsAdministration.ActivationState? +Microsoft.Graph.Models.TeamsAdministration.numberAssignment::|public|AssignmentCategory:global.Microsoft.Graph.Models.TeamsAdministration.AssignmentCategory? +Microsoft.Graph.Models.TeamsAdministration.numberAssignment::|public|AssignmentStatus:global.Microsoft.Graph.Models.TeamsAdministration.AssignmentStatus? +Microsoft.Graph.Models.TeamsAdministration.numberAssignment::|public|AssignmentTargetId:string +Microsoft.Graph.Models.TeamsAdministration.numberAssignment::|public|Capabilities:List +Microsoft.Graph.Models.TeamsAdministration.numberAssignment::|public|City:string +Microsoft.Graph.Models.TeamsAdministration.numberAssignment::|public|CivicAddressId:string +Microsoft.Graph.Models.TeamsAdministration.numberAssignment::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.TeamsAdministration.numberAssignment::|public|IsoCountryCode:string +Microsoft.Graph.Models.TeamsAdministration.numberAssignment::|public|LocationId:string +Microsoft.Graph.Models.TeamsAdministration.numberAssignment::|public|NetworkSiteId:string +Microsoft.Graph.Models.TeamsAdministration.numberAssignment::|public|NumberSource:global.Microsoft.Graph.Models.TeamsAdministration.NumberSource? +Microsoft.Graph.Models.TeamsAdministration.numberAssignment::|public|NumberType:global.Microsoft.Graph.Models.TeamsAdministration.NumberType? +Microsoft.Graph.Models.TeamsAdministration.numberAssignment::|public|OdataType:string +Microsoft.Graph.Models.TeamsAdministration.numberAssignment::|public|OperatorId:string +Microsoft.Graph.Models.TeamsAdministration.numberAssignment::|public|PortInStatus:global.Microsoft.Graph.Models.TeamsAdministration.PortInStatus? +Microsoft.Graph.Models.TeamsAdministration.numberAssignment::|public|ReverseNumberLookupOptions:List +Microsoft.Graph.Models.TeamsAdministration.numberAssignment::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.TeamsAdministration.numberAssignment::|public|SupportedCustomerActions:List +Microsoft.Graph.Models.TeamsAdministration.numberAssignment::|public|TelephoneNumber:string +Microsoft.Graph.Models.TeamsAdministration.numberAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TeamsAdministration.NumberAssignment +Microsoft.Graph.Models.TeamsAdministration.numberAssignmentCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.TeamsAdministration.numberAssignmentCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.TeamsAdministration.numberAssignmentCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.TeamsAdministration.numberAssignmentCollectionResponse::|public|Value:List +Microsoft.Graph.Models.TeamsAdministration.numberAssignmentCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TeamsAdministration.NumberAssignmentCollectionResponse +Microsoft.Graph.Models.TeamsAdministration.numberCapability::0000-conferenceAssignment +Microsoft.Graph.Models.TeamsAdministration.numberCapability::0001-voiceApplicationAssignment +Microsoft.Graph.Models.TeamsAdministration.numberCapability::0002-userAssignment +Microsoft.Graph.Models.TeamsAdministration.numberCapability::0003-teamsPhoneMobile +Microsoft.Graph.Models.TeamsAdministration.numberCapability::0004-unknownFutureValue +Microsoft.Graph.Models.TeamsAdministration.numberSource::0000-online +Microsoft.Graph.Models.TeamsAdministration.numberSource::0001-onPremises +Microsoft.Graph.Models.TeamsAdministration.numberSource::0002-unknownFutureValue +Microsoft.Graph.Models.TeamsAdministration.numberType::0000-internalError +Microsoft.Graph.Models.TeamsAdministration.numberType::0001-directRouting +Microsoft.Graph.Models.TeamsAdministration.numberType::0002-callingPlan +Microsoft.Graph.Models.TeamsAdministration.numberType::0003-operatorConnect +Microsoft.Graph.Models.TeamsAdministration.numberType::0004-unknownFutureValue Microsoft.Graph.Models.TeamsAdministration.policyAssignment::|public|AdditionalData:IDictionary Microsoft.Graph.Models.TeamsAdministration.policyAssignment::|public|AssignmentType:global.Microsoft.Graph.Models.TeamsAdministration.AssignmentType? Microsoft.Graph.Models.TeamsAdministration.policyAssignment::|public|BackingStore:IBackingStore @@ -123027,11 +124871,17 @@ Microsoft.Graph.Models.TeamsAdministration.policyIdentifierDetail::|public|Odata Microsoft.Graph.Models.TeamsAdministration.policyIdentifierDetail::|public|PolicyId:string Microsoft.Graph.Models.TeamsAdministration.policyIdentifierDetail::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.TeamsAdministration.policyIdentifierDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TeamsAdministration.PolicyIdentifierDetail +Microsoft.Graph.Models.TeamsAdministration.portInStatus::0000-completed +Microsoft.Graph.Models.TeamsAdministration.portInStatus::0001-firmOrderCommitmentAccepted +Microsoft.Graph.Models.TeamsAdministration.portInStatus::0002-unknownFutureValue +Microsoft.Graph.Models.TeamsAdministration.reverseNumberLookupOption::0000-skipInternalVoip +Microsoft.Graph.Models.TeamsAdministration.reverseNumberLookupOption::0001-unknownFutureValue Microsoft.Graph.Models.TeamsAdministration.teamsAdminRoot-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.TeamsAdministration.teamsAdminRoot::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.TeamsAdministration.teamsAdminRoot::|public|OdataType:string Microsoft.Graph.Models.TeamsAdministration.teamsAdminRoot::|public|Policy:global.Microsoft.Graph.Models.TeamsAdministration.TeamsPolicyAssignment Microsoft.Graph.Models.TeamsAdministration.teamsAdminRoot::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.TeamsAdministration.teamsAdminRoot::|public|TelephoneNumberManagement:global.Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberManagementRoot Microsoft.Graph.Models.TeamsAdministration.teamsAdminRoot::|public|UserConfigurations:List Microsoft.Graph.Models.TeamsAdministration.teamsAdminRoot::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TeamsAdministration.TeamsAdminRoot Microsoft.Graph.Models.TeamsAdministration.teamsPolicyAssignment-->global.Microsoft.Graph.Models.Entity @@ -123073,6 +124923,37 @@ Microsoft.Graph.Models.TeamsAdministration.teamsUserConfigurationCollectionRespo Microsoft.Graph.Models.TeamsAdministration.teamsUserConfigurationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.TeamsAdministration.teamsUserConfigurationCollectionResponse::|public|Value:List Microsoft.Graph.Models.TeamsAdministration.teamsUserConfigurationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TeamsAdministration.TeamsUserConfigurationCollectionResponse +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperation-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperation::|public|CreatedDateTime:string +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperation::|public|Numbers:List +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperation::|public|OdataType:string +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperation::|public|Status:global.Microsoft.Graph.Models.LongRunningOperationStatus? +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperation +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperationCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperationCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperationCollectionResponse::|public|Value:List +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperationCollectionResponse +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperationDetails::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperationDetails::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperationDetails::|public|constructor():void +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperationDetails::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperationDetails::|public|OdataType:string +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperationDetails::|public|ResourceLocation:string +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperationDetails::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperationDetails::|public|Status:global.Microsoft.Graph.Models.LongRunningOperationStatus? +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperationDetails::|public|StatusDetail:string +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperationDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberLongRunningOperationDetails +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberLongRunningOperationDetails~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberManagementRoot-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberManagementRoot::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberManagementRoot::|public|NumberAssignments:List +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberManagementRoot::|public|OdataType:string +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberManagementRoot::|public|Operations:List +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberManagementRoot::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.TeamsAdministration.telephoneNumberManagementRoot::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TeamsAdministration.TelephoneNumberManagementRoot Microsoft.Graph.Models.teamsApp-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.teamsApp::|public|AppDefinitions:List Microsoft.Graph.Models.teamsApp::|public|DisplayName:string @@ -124946,6 +126827,7 @@ Microsoft.Graph.Models.user::|public|GetFieldDeserializers():IDictionary +Microsoft.Graph.Models.user::|public|IdentityParentId:string Microsoft.Graph.Models.user::|public|ImAddresses:List Microsoft.Graph.Models.user::|public|InferenceClassification:global.Microsoft.Graph.Models.InferenceClassification Microsoft.Graph.Models.user::|public|Insights:global.Microsoft.Graph.Models.ItemInsights @@ -125877,6 +127759,7 @@ Microsoft.Graph.Models.userSecurityState~~>IAdditionalDataHolder; IBackedModel; Microsoft.Graph.Models.userSettings-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.userSettings::|public|ContributionToContentDiscoveryAsOrganizationDisabled:bool? Microsoft.Graph.Models.userSettings::|public|ContributionToContentDiscoveryDisabled:bool? +Microsoft.Graph.Models.userSettings::|public|Exchange:global.Microsoft.Graph.Models.ExchangeSettings Microsoft.Graph.Models.userSettings::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.userSettings::|public|ItemInsights:global.Microsoft.Graph.Models.UserInsightsSettings Microsoft.Graph.Models.userSettings::|public|OdataType:string @@ -128797,11 +130680,13 @@ Microsoft.Graph.Models.x509CertificateAffinityLevel::0001-high Microsoft.Graph.Models.x509CertificateAffinityLevel::0002-unknownFutureValue Microsoft.Graph.Models.x509CertificateAuthenticationMethodConfiguration-->global.Microsoft.Graph.Models.AuthenticationMethodConfiguration Microsoft.Graph.Models.x509CertificateAuthenticationMethodConfiguration::|public|AuthenticationModeConfiguration:global.Microsoft.Graph.Models.X509CertificateAuthenticationModeConfiguration +Microsoft.Graph.Models.x509CertificateAuthenticationMethodConfiguration::|public|CertificateAuthorityScopes:List Microsoft.Graph.Models.x509CertificateAuthenticationMethodConfiguration::|public|CertificateUserBindings:List Microsoft.Graph.Models.x509CertificateAuthenticationMethodConfiguration::|public|constructor():void Microsoft.Graph.Models.x509CertificateAuthenticationMethodConfiguration::|public|CrlValidationConfiguration:global.Microsoft.Graph.Models.X509CertificateCRLValidationConfiguration Microsoft.Graph.Models.x509CertificateAuthenticationMethodConfiguration::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.x509CertificateAuthenticationMethodConfiguration::|public|IncludeTargets:List +Microsoft.Graph.Models.x509CertificateAuthenticationMethodConfiguration::|public|IssuerHintsConfiguration:global.Microsoft.Graph.Models.X509CertificateIssuerHintsConfiguration Microsoft.Graph.Models.x509CertificateAuthenticationMethodConfiguration::|public|OdataType:string Microsoft.Graph.Models.x509CertificateAuthenticationMethodConfiguration::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.x509CertificateAuthenticationMethodConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.X509CertificateAuthenticationMethodConfiguration @@ -128819,6 +130704,17 @@ Microsoft.Graph.Models.x509CertificateAuthenticationModeConfiguration::|public|X Microsoft.Graph.Models.x509CertificateAuthenticationModeConfiguration::|public|X509CertificateDefaultRequiredAffinityLevel:global.Microsoft.Graph.Models.X509CertificateAffinityLevel? Microsoft.Graph.Models.x509CertificateAuthenticationModeConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.X509CertificateAuthenticationModeConfiguration Microsoft.Graph.Models.x509CertificateAuthenticationModeConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.x509CertificateAuthorityScope::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.x509CertificateAuthorityScope::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.x509CertificateAuthorityScope::|public|constructor():void +Microsoft.Graph.Models.x509CertificateAuthorityScope::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.x509CertificateAuthorityScope::|public|IncludeTargets:List +Microsoft.Graph.Models.x509CertificateAuthorityScope::|public|OdataType:string +Microsoft.Graph.Models.x509CertificateAuthorityScope::|public|PublicKeyInfrastructureIdentifier:string +Microsoft.Graph.Models.x509CertificateAuthorityScope::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.x509CertificateAuthorityScope::|public|SubjectKeyIdentifier:string +Microsoft.Graph.Models.x509CertificateAuthorityScope::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.X509CertificateAuthorityScope +Microsoft.Graph.Models.x509CertificateAuthorityScope~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.x509CertificateCombinationConfiguration-->global.Microsoft.Graph.Models.AuthenticationCombinationConfiguration Microsoft.Graph.Models.x509CertificateCombinationConfiguration::|public|AllowedIssuerSkis:List Microsoft.Graph.Models.x509CertificateCombinationConfiguration::|public|AllowedPolicyOIDs:List @@ -128840,6 +130736,18 @@ Microsoft.Graph.Models.x509CertificateCRLValidationConfigurationState::0000-disa Microsoft.Graph.Models.x509CertificateCRLValidationConfigurationState::0001-enabled Microsoft.Graph.Models.x509CertificateCRLValidationConfigurationState::0002-unknownFutureValue Microsoft.Graph.Models.x509CertificateCRLValidationConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.x509CertificateIssuerHintsConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.x509CertificateIssuerHintsConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.x509CertificateIssuerHintsConfiguration::|public|constructor():void +Microsoft.Graph.Models.x509CertificateIssuerHintsConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.x509CertificateIssuerHintsConfiguration::|public|OdataType:string +Microsoft.Graph.Models.x509CertificateIssuerHintsConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.x509CertificateIssuerHintsConfiguration::|public|State:global.Microsoft.Graph.Models.X509CertificateIssuerHintsState? +Microsoft.Graph.Models.x509CertificateIssuerHintsConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.X509CertificateIssuerHintsConfiguration +Microsoft.Graph.Models.x509CertificateIssuerHintsConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.x509CertificateIssuerHintsState::0000-disabled +Microsoft.Graph.Models.x509CertificateIssuerHintsState::0001-enabled +Microsoft.Graph.Models.x509CertificateIssuerHintsState::0002-unknownFutureValue Microsoft.Graph.Models.x509CertificateRule::|public|AdditionalData:IDictionary Microsoft.Graph.Models.x509CertificateRule::|public|BackingStore:IBackingStore Microsoft.Graph.Models.x509CertificateRule::|public|constructor():void @@ -158916,6 +160824,7 @@ Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequ Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|provisionMigrationContainers:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.ProvisionMigrationContainers.ProvisionMigrationContainersRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|recycleBin:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.RecycleBin.RecycleBinRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|restore:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|sharePointGroups:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.SharePointGroupsRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.FileStorageContainer; requestConfiguration?:Action>):RequestInformation @@ -159371,6 +161280,95 @@ Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore.restoreRequestBuilde Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainer Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder.SharePointGroupMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder.SharePointGroupMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder.SharePointGroupMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder.SharePointGroupMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder.SharePointGroupMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointGroupMember +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.SharePointGroupMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointGroupMember +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.SharePointGroupMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.membersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.membersRequestBuilder.membersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.membersRequestBuilder.membersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.membersRequestBuilder::[SharePointGroupMemberId:string]:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.membersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.membersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointGroupMemberCollectionResponse +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.SharePointGroupMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointGroupMember +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SharePointGroupMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.MembersRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder.SharePointGroupItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder.SharePointGroupItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder.SharePointGroupItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder.SharePointGroupItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder.SharePointGroupItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointGroup +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder::|public|members:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.MembersRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.SharePointGroup; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointGroup +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.SharePointGroup; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.sharePointGroupsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.sharePointGroupsRequestBuilder.sharePointGroupsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.sharePointGroupsRequestBuilder.sharePointGroupsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.sharePointGroupsRequestBuilder.sharePointGroupsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.sharePointGroupsRequestBuilder.sharePointGroupsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.sharePointGroupsRequestBuilder.sharePointGroupsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.sharePointGroupsRequestBuilder.sharePointGroupsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.sharePointGroupsRequestBuilder.sharePointGroupsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.sharePointGroupsRequestBuilder.sharePointGroupsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.sharePointGroupsRequestBuilder.sharePointGroupsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.sharePointGroupsRequestBuilder.sharePointGroupsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.sharePointGroupsRequestBuilder::[SharePointGroupId:string]:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.sharePointGroupsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.sharePointGroupsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.sharePointGroupsRequestBuilder::|public|Count:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.sharePointGroupsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointGroupCollectionResponse +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.sharePointGroupsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.SharePointGroup; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointGroup +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.sharePointGroupsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.sharePointGroupsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SharePointGroup; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.sharePointGroupsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.SharePointGroupsRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder.unlockRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -159631,6 +161629,7 @@ Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerI Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|provisionMigrationContainers:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.ProvisionMigrationContainers.ProvisionMigrationContainersRequestBuilder Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|recycleBin:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.RecycleBin.RecycleBinRequestBuilder Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|restore:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|sharePointGroups:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.SharePointGroupsRequestBuilder Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.FileStorageContainer; requestConfiguration?:Action>):RequestInformation @@ -160086,6 +162085,95 @@ Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore.restoreReques Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FileStorageContainer Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder.SharePointGroupMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder.SharePointGroupMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder.SharePointGroupMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder.SharePointGroupMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder.SharePointGroupMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointGroupMember +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.SharePointGroupMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointGroupMember +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.SharePointGroupMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.membersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.membersRequestBuilder.membersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.membersRequestBuilder.membersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.membersRequestBuilder.membersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.membersRequestBuilder::[SharePointGroupMemberId:string]:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Item.SharePointGroupMemberItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.membersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.membersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.membersRequestBuilder::|public|Count:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.membersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointGroupMemberCollectionResponse +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.membersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.SharePointGroupMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointGroupMember +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.membersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.membersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SharePointGroupMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.membersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.MembersRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder.SharePointGroupItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder.SharePointGroupItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder.SharePointGroupItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder.SharePointGroupItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder.SharePointGroupItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointGroup +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder::|public|members:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.MembersRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.SharePointGroup; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointGroup +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.SharePointGroup; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.sharePointGroupsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.sharePointGroupsRequestBuilder.sharePointGroupsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.sharePointGroupsRequestBuilder.sharePointGroupsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.sharePointGroupsRequestBuilder.sharePointGroupsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.sharePointGroupsRequestBuilder.sharePointGroupsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.sharePointGroupsRequestBuilder.sharePointGroupsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.sharePointGroupsRequestBuilder.sharePointGroupsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.sharePointGroupsRequestBuilder.sharePointGroupsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.sharePointGroupsRequestBuilder.sharePointGroupsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.sharePointGroupsRequestBuilder.sharePointGroupsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.sharePointGroupsRequestBuilder.sharePointGroupsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.sharePointGroupsRequestBuilder::[SharePointGroupId:string]:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.SharePointGroupItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.sharePointGroupsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.sharePointGroupsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.sharePointGroupsRequestBuilder::|public|Count:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Count.CountRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.sharePointGroupsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointGroupCollectionResponse +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.sharePointGroupsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.SharePointGroup; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointGroup +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.sharePointGroupsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.sharePointGroupsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SharePointGroup; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.sharePointGroupsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.SharePointGroupsRequestBuilder Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Unlock.unlockRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Unlock.unlockRequestBuilder.unlockRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Unlock.unlockRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -160557,6 +162645,7 @@ Microsoft.Graph.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|cons Microsoft.Graph.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName:global.Microsoft.Graph.Teams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|enabledApps:global.Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder Microsoft.Graph.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|filesFolder:global.Microsoft.Graph.Teams.Item.Channels.Item.FilesFolder.FilesFolderRequestBuilder Microsoft.Graph.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Channel Microsoft.Graph.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|members:global.Microsoft.Graph.Teams.Item.Channels.Item.Members.MembersRequestBuilder @@ -160599,6 +162688,41 @@ Microsoft.Graph.Teams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdT Microsoft.Graph.Teams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder Microsoft.Graph.Teams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse-->global.Microsoft.Graph.Teams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse Microsoft.Graph.Teams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::[TeamsAppId:string]:global.Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|Count:global.Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAppCollectionResponse +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsApp +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder Microsoft.Graph.Teams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Teams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Teams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderGetQueryParameters::|public|Format:string @@ -160998,9 +163122,26 @@ Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBui Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Teams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void @@ -161063,9 +163204,26 @@ Microsoft.Graph.Teams.Item.Channels.Item.Messages.messagesRequestBuilder::|publi Microsoft.Graph.Teams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|delta:global.Microsoft.Graph.Teams.Item.Channels.Item.Messages.Delta.DeltaRequestBuilder Microsoft.Graph.Teams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Teams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Teams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Teams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Channels.Item.Messages.MessagesRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Teams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Teams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder.provisionEmailRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Teams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -161749,6 +163907,41 @@ Microsoft.Graph.Teams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantId Microsoft.Graph.Teams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder Microsoft.Graph.Teams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse-->global.Microsoft.Graph.Teams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse Microsoft.Graph.Teams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::[TeamsAppId:string]:global.Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|Count:global.Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAppCollectionResponse +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsApp +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder Microsoft.Graph.Teams.Item.PrimaryChannel.FilesFolder.Content.contentRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Teams.Item.PrimaryChannel.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Teams.Item.PrimaryChannel.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderGetQueryParameters::|public|Format:string @@ -162148,9 +164341,26 @@ Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBu Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaRequestBuilder Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void @@ -162213,9 +164423,26 @@ Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|publ Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|delta:global.Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.Delta.DeltaRequestBuilder Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.MessagesRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -162229,6 +164456,7 @@ Microsoft.Graph.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public| Microsoft.Graph.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName:global.Microsoft.Graph.Teams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder +Microsoft.Graph.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|enabledApps:global.Microsoft.Graph.Teams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder Microsoft.Graph.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|filesFolder:global.Microsoft.Graph.Teams.Item.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder Microsoft.Graph.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Channel Microsoft.Graph.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|members:global.Microsoft.Graph.Teams.Item.PrimaryChannel.Members.MembersRequestBuilder @@ -163542,6 +165770,7 @@ Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuild Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|enabledApps:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|filesFolder:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.FilesFolder.FilesFolderRequestBuilder Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Channel Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|members:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Members.MembersRequestBuilder @@ -163584,6 +165813,41 @@ Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.DoesUserHaveAccessuserI Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse-->global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::[TeamsAppId:string]:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|Count:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAppCollectionResponse +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsApp +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderGetQueryParameters::|public|Format:string @@ -163983,9 +166247,26 @@ Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.r Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void @@ -164048,9 +166329,26 @@ Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.messagesReques Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|delta:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Delta.DeltaRequestBuilder Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.MessagesRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder.provisionEmailRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Teamwork.DeletedTeams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -168094,9 +170392,26 @@ Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.repliesRequestBuilde Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Users.Item.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void @@ -168159,9 +170474,26 @@ Microsoft.Graph.Users.Item.Chats.Item.Messages.messagesRequestBuilder::|public|C Microsoft.Graph.Users.Item.Chats.Item.Messages.messagesRequestBuilder::|public|delta:global.Microsoft.Graph.Users.Item.Chats.Item.Messages.Delta.DeltaRequestBuilder Microsoft.Graph.Users.Item.Chats.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Users.Item.Chats.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.Chats.Item.Messages.messagesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Users.Item.Chats.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Chats.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Chats.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.Messages.MessagesRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Chats.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Users.Item.Chats.Item.PermissionGrants.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.Chats.Item.PermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Users.Item.Chats.Item.PermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -171162,6 +173494,7 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuil Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|enabledApps:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|filesFolder:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.FilesFolder.FilesFolderRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Channel Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|members:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Members.MembersRequestBuilder @@ -171204,6 +173537,41 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuser Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse-->global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::[TeamsAppId:string]:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAppCollectionResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.enabledAppsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.EnabledAppsRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsApp +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.EnabledApps.Item.TeamsAppItemRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderGetQueryParameters::|public|Format:string @@ -171603,9 +173971,26 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies. Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.Delta.DeltaRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void @@ -171668,9 +174053,26 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.messagesReque Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|delta:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.Delta.DeltaRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.MessagesRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder.provisionEmailRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Users.Item.JoinedTeams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -172354,6 +174756,41 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuse Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse-->global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder.enabledAppsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::[TeamsAppId:string]:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsAppCollectionResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.enabledAppsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder.TeamsAppItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TeamsApp +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.Item.TeamsAppItemRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.contentRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.FilesFolder.Content.contentRequestBuilder.contentRequestBuilderGetQueryParameters::|public|Format:string @@ -172753,9 +175190,26 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|delta:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.Delta.DeltaRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.repliesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.RepliesRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void @@ -172818,9 +175272,26 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequ Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|delta:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.Delta.DeltaRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessageCollectionResponse Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|replyWithQuote:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ChatMessage; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.MessagesRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|MessageIds:List +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|ReplyMessage:global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuotePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder.replyWithQuoteRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ChatMessage +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuotePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.replyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Messages.ReplyWithQuote.ReplyWithQuoteRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -172834,6 +175305,7 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.primaryChannelRequest Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|enabledApps:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.EnabledApps.EnabledAppsRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|filesFolder:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Channel Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|members:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Members.MembersRequestBuilder @@ -179278,6 +181750,15 @@ Microsoft.Graph.Users.Item.ServiceProvisioningErrors.serviceProvisioningErrorsRe Microsoft.Graph.Users.Item.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ServiceProvisioningErrorCollectionResponse Microsoft.Graph.Users.Item.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Users.Item.Settings.Exchange.exchangeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Settings.Exchange.exchangeRequestBuilder.exchangeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Settings.Exchange.exchangeRequestBuilder.exchangeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Settings.Exchange.exchangeRequestBuilder.exchangeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Settings.Exchange.exchangeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Settings.Exchange.exchangeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Settings.Exchange.exchangeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ExchangeSettings +Microsoft.Graph.Users.Item.Settings.Exchange.exchangeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Settings.Exchange.exchangeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Settings.Exchange.ExchangeRequestBuilder Microsoft.Graph.Users.Item.Settings.ItemInsights.itemInsightsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.Settings.ItemInsights.itemInsightsRequestBuilder.itemInsightsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Users.Item.Settings.ItemInsights.itemInsightsRequestBuilder.itemInsightsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -179302,6 +181783,7 @@ Microsoft.Graph.Users.Item.Settings.settingsRequestBuilder.settingsRequestBuilde Microsoft.Graph.Users.Item.Settings.settingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Users.Item.Settings.settingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Users.Item.Settings.settingsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Settings.settingsRequestBuilder::|public|exchange:global.Microsoft.Graph.Users.Item.Settings.Exchange.ExchangeRequestBuilder Microsoft.Graph.Users.Item.Settings.settingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserSettings Microsoft.Graph.Users.Item.Settings.settingsRequestBuilder::|public|itemInsights:global.Microsoft.Graph.Users.Item.Settings.ItemInsights.ItemInsightsRequestBuilder Microsoft.Graph.Users.Item.Settings.settingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.UserSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.UserSettings @@ -179694,14 +182176,36 @@ Microsoft.Graph.Users.Item.Sponsors.Count.CountRequestBuilder::|public|GetAsync( Microsoft.Graph.Users.Item.Sponsors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Sponsors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Sponsors.Count.CountRequestBuilder Microsoft.Graph.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Expand:string[] -Microsoft.Graph.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Select:string[] -Microsoft.Graph.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject -Microsoft.Graph.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder +Microsoft.Graph.Users.Item.Sponsors.Item.DirectoryObjectItemRequestBuilder::|public|Ref:global.Microsoft.Graph.Users.Item.Sponsors.Item.Ref.RefRequestBuilder +Microsoft.Graph.Users.Item.Sponsors.Item.Ref.RefRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Sponsors.Item.Ref.RefRequestBuilder.RefRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Sponsors.Item.Ref.RefRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Sponsors.Item.Ref.RefRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Sponsors.Item.Ref.RefRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Sponsors.Item.Ref.RefRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Sponsors.Item.Ref.RefRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Sponsors.Item.Ref.RefRequestBuilder +Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderDeleteQueryParameters::|public|Id:string +Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder.RefRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.StringCollectionResponse +Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ReferenceCreate; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ReferenceCreate; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder Microsoft.Graph.Users.Item.Sponsors.sponsorsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.Sponsors.sponsorsRequestBuilder.sponsorsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Users.Item.Sponsors.sponsorsRequestBuilder.sponsorsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -179717,6 +182221,7 @@ Microsoft.Graph.Users.Item.Sponsors.sponsorsRequestBuilder::|public|constructor( Microsoft.Graph.Users.Item.Sponsors.sponsorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Users.Item.Sponsors.sponsorsRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.Sponsors.Count.CountRequestBuilder Microsoft.Graph.Users.Item.Sponsors.sponsorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObjectCollectionResponse +Microsoft.Graph.Users.Item.Sponsors.sponsorsRequestBuilder::|public|Ref:global.Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder Microsoft.Graph.Users.Item.Sponsors.sponsorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Sponsors.sponsorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Sponsors.SponsorsRequestBuilder Microsoft.Graph.Users.Item.Teamwork.AssociatedTeams.associatedTeamsRequestBuilder-->BaseRequestBuilder diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index 4895530a4f5..b7e97e43f08 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "8817D09BE848A713309A31E6400BDC0DF440C200CF574B9AE6A14AA9E770706ECCD379FCE76D7A3DB94A2C7FC7C3824A31023286B8D334A72B96B79A64B6D2E4", + "descriptionHash": "F9EB4193F63B251590D5439C64EBB1153E1F5379DD125831BD8F2E2DB246367BFC89980DF7CBAFB57319883451099BA3471D43319FD0F6BCDCE8B75D95CEDA6D", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.30.0",