From ced68a0be242196265d7a406c230c35e74b20737 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Wed, 18 Mar 2026 20:04:30 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 213120 --- .../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/Replies/RepliesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 ++ .../ReplyWithQuoteRequestBuilder.cs | 104 ++ .../Item/Messages/MessagesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 ++ .../ReplyWithQuoteRequestBuilder.cs | 104 ++ .../Item/Replies/RepliesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 ++ .../ReplyWithQuoteRequestBuilder.cs | 104 ++ .../Messages/MessagesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 ++ .../ReplyWithQuoteRequestBuilder.cs | 104 ++ .../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 +- .../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/Replies/RepliesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 ++ .../ReplyWithQuoteRequestBuilder.cs | 104 ++ .../Item/Messages/MessagesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 ++ .../ReplyWithQuoteRequestBuilder.cs | 104 ++ .../Item/Replies/RepliesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 ++ .../ReplyWithQuoteRequestBuilder.cs | 104 ++ .../Messages/MessagesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 ++ .../ReplyWithQuoteRequestBuilder.cs | 104 ++ .../CreateForwardRequestBuilder.cs | 5 +- .../CreateForwardRequestBuilder.cs | 5 +- .../CreateForwardRequestBuilder.cs | 5 +- .../Me/Restore/RestoreRequestBuilder.cs | 4 +- .../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 | 2 +- .../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 +- .../Generated/Models/Authentication.cs | 2 +- .../Generated/Models/AuthenticationMethod.cs | 1 + .../AuthenticationMethodConfiguration.cs | 1 + .../Models/AuthenticationMethodModes.cs | 4 + .../Models/BaseAuthenticationMethod.cs | 4 + .../Generated/Models/Contact.cs | 54 + .../Generated/Models/DirectoryObject.cs | 4 + .../Generated/Models/DlpAction.cs | 4 + .../Generated/Models/Entity.cs | 14 + .../Generated/Models/EnumeratedScopes.cs | 71 + .../Generated/Models/ErrorCorrectionLevel.cs | 32 + .../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 + .../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/NoScopes.cs | 53 + .../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 +- .../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 +- ...ficateAuthenticationMethodConfiguration.cs | 36 + .../Models/X509CertificateAuthorityScope.cs | 135 ++ ...X509CertificateIssuerHintsConfiguration.cs | 89 ++ .../Models/X509CertificateIssuerHintsState.cs | 24 + .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../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/Replies/RepliesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 ++ .../ReplyWithQuoteRequestBuilder.cs | 104 ++ .../Item/Messages/MessagesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 ++ .../ReplyWithQuoteRequestBuilder.cs | 104 ++ .../Item/Replies/RepliesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 ++ .../ReplyWithQuoteRequestBuilder.cs | 104 ++ .../Messages/MessagesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 ++ .../ReplyWithQuoteRequestBuilder.cs | 104 ++ .../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/Replies/RepliesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 ++ .../ReplyWithQuoteRequestBuilder.cs | 104 ++ .../Item/Messages/MessagesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 ++ .../ReplyWithQuoteRequestBuilder.cs | 104 ++ .../Item/Replies/RepliesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 ++ .../ReplyWithQuoteRequestBuilder.cs | 104 ++ .../Messages/MessagesRequestBuilder.cs | 6 + .../ReplyWithQuotePostRequestBody.cs | 100 ++ .../ReplyWithQuoteRequestBuilder.cs | 104 ++ .../CreateForwardRequestBuilder.cs | 5 +- .../CreateForwardRequestBuilder.cs | 5 +- .../CreateForwardRequestBuilder.cs | 5 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../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 | 1271 ++++++++++++++++- src/Microsoft.Graph/Generated/kiota-lock.json | 2 +- 261 files changed, 16556 insertions(+), 403 deletions(-) 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/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/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/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/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/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/EnumeratedScopes.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ErrorCorrectionLevel.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/NoScopes.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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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..84aba808c24 100644 --- a/src/Microsoft.Graph/Generated/Models/Admin.cs +++ b/src/Microsoft.Graph/Generated/Models/Admin.cs @@ -150,7 +150,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 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/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/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/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/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/DirectoryObject.cs b/src/Microsoft.Graph/Generated/Models/DirectoryObject.cs index 8fe3a73d8f6..c8f8ddea6c4 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(), 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/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index c0c860ae88f..88d4d1c06b8 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(), @@ -720,6 +724,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 +732,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 +883,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 +943,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/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/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/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/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/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/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/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/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/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/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/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/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/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/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..0b6477cea13 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -357,6 +357,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 +406,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 +1097,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 +1818,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 +4326,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 +4408,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 @@ -61703,9 +61960,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 +62042,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 @@ -62853,9 +63144,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 +63226,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[] @@ -81834,9 +82159,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 +82241,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 @@ -85343,9 +85702,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 +85784,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 @@ -86493,9 +86886,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 +86968,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[] @@ -93528,14 +93955,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 +94000,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 @@ -95423,6 +95873,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 +96296,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> @@ -97494,6 +97983,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 +98327,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 @@ -101272,11 +101763,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 @@ -103598,6 +104092,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 @@ -105252,6 +105747,18 @@ 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.event-->global.Microsoft.Graph.Models.OutlookItem Microsoft.Graph.Models.event::|public|AllowNewTimeProposals:bool? Microsoft.Graph.Models.event::|public|Attachments:List @@ -105599,6 +106106,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 +106169,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 +106261,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 +106312,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 +106346,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 @@ -106094,6 +106658,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 +107134,7 @@ Microsoft.Graph.Models.group::|public|TransitiveMembers:Listglobal.Microsoft.Graph.Models.DeviceAndAppManagementAssignmentTarget Microsoft.Graph.Models.groupAssignmentTarget::|public|constructor():void @@ -107583,6 +108149,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 +108233,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> @@ -111024,6 +111619,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> @@ -112857,6 +113458,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 +115929,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 +116296,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 +117992,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 +121777,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 +121823,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 @@ -122981,6 +123697,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 +123717,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 +123741,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 +123800,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 +123852,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 +125756,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 @@ -128797,11 +129608,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 +129632,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 +129664,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 +159752,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 +160208,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 +160557,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 +161013,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 @@ -160998,9 +162014,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 +162096,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 @@ -162148,9 +163198,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 +163280,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[] @@ -163983,9 +165067,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 +165149,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 +169212,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 +169294,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 @@ -171603,9 +172755,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 +172837,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 @@ -172753,9 +173939,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 +174021,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[] @@ -179694,14 +180914,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 +180959,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..51941cab5d6 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "8817D09BE848A713309A31E6400BDC0DF440C200CF574B9AE6A14AA9E770706ECCD379FCE76D7A3DB94A2C7FC7C3824A31023286B8D334A72B96B79A64B6D2E4", + "descriptionHash": "6ED2FE5669A0F58C074D9D264AA4C09D42D76ECED71A51D36FAD15F1730AAE16DB3A5D89584E0D6E653095D16B946CF9CAAB8864865001B692E97E0B2EB7D77C", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.30.0",