From 5ff66a51e57820176ebcfddc30f710be13b6b381 Mon Sep 17 00:00:00 2001 From: kanpov <71177577+kanpov@users.noreply.github.com> Date: Sat, 15 Jun 2024 16:21:43 +0300 Subject: [PATCH] feat: update Kiota SDK to Keycloak 25.0.0. (#119) * Update Kiota SDK to Keycloak 25.0.0. * Add kiota tool --- .config/dotnet-tools.json | 18 +- .../Admin/AdminRequestBuilder.cs | 13 +- .../AdminEvents/AdminEventsRequestBuilder.cs | 27 +- .../AttackDetectionRequestBuilder.cs | 13 +- .../BruteForce/BruteForceRequestBuilder.cs | 13 +- .../Users/Item/WithUserGetResponse.cs | 13 +- .../Users/Item/WithUserItemRequestBuilder.cs | 23 +- .../BruteForce/Users/UsersRequestBuilder.cs | 21 +- .../AuthenticationRequestBuilder.cs | 57 +- .../AuthenticatorProviders.cs | 13 +- .../AuthenticatorProvidersRequestBuilder.cs | 23 +- .../ClientAuthenticatorProviders.cs | 13 +- ...entAuthenticatorProvidersRequestBuilder.cs | 23 +- .../Config/ConfigRequestBuilder.cs | 32 +- .../Config/Item/ConfigItemRequestBuilder.cs | 31 +- .../ConfigDescriptionRequestBuilder.cs | 15 +- .../Item/WithProviderItemRequestBuilder.cs | 23 +- .../Executions/ExecutionsRequestBuilder.cs | 32 +- .../Item/Config/ConfigRequestBuilder.cs | 32 +- .../Config/Item/ConfigItemRequestBuilder.cs | 23 +- .../LowerPriorityRequestBuilder.cs | 15 +- .../RaisePriorityRequestBuilder.cs | 15 +- .../Item/WithExecutionItemRequestBuilder.cs | 37 +- .../Flows/FlowsRequestBuilder.cs | 40 +- .../Flows/Item/Copy/CopyPostRequestBody.cs | 13 +- .../Flows/Item/Copy/CopyRequestBuilder.cs | 26 +- .../Execution/ExecutionPostRequestBody.cs | 13 +- .../Execution/ExecutionRequestBuilder.cs | 26 +- .../Executions/ExecutionsRequestBuilder.cs | 44 +- .../Executions/Flow/FlowPostRequestBody.cs | 13 +- .../Executions/Flow/FlowRequestBuilder.cs | 26 +- .../Flows/Item/FlowAliasItemRequestBuilder.cs | 42 +- .../FormActionProviders.cs | 13 +- .../FormActionProvidersRequestBuilder.cs | 23 +- .../FormProviders/FormProviders.cs | 13 +- .../FormProvidersRequestBuilder.cs | 23 +- .../PerClientConfigDescriptionGetResponse.cs | 13 +- ...erClientConfigDescriptionRequestBuilder.cs | 23 +- .../RegisterRequiredActionPostRequestBody.cs | 13 +- .../RegisterRequiredActionRequestBuilder.cs | 23 +- .../Item/Config/ConfigRequestBuilder.cs | 156 ++++++ .../ConfigDescriptionRequestBuilder.cs | 81 +++ .../LowerPriorityRequestBuilder.cs | 15 +- .../RaisePriorityRequestBuilder.cs | 15 +- .../Item/WithAliasItemRequestBuilder.cs | 51 +- .../RequiredActionsRequestBuilder.cs | 29 +- .../UnregisteredRequiredActions.cs | 13 +- ...registeredRequiredActionsRequestBuilder.cs | 23 +- ...lientDescriptionConverterRequestBuilder.cs | 23 +- .../ClientPoliciesRequestBuilder.cs | 17 +- .../Policies/PoliciesRequestBuilder.cs | 46 +- .../Profiles/ProfilesRequestBuilder.cs | 35 +- .../ClientRegistrationPolicyRequestBuilder.cs | 13 +- .../Providers/ProvidersRequestBuilder.cs | 23 +- .../ClientScopesRequestBuilder.cs | 37 +- .../Item/ClientScopeItemRequestBuilder.cs | 39 +- .../AddModels/AddModelsRequestBuilder.cs | 23 +- .../Item/ModelsItemRequestBuilder.cs | 31 +- .../ModelsRequests/ModelsRequestBuilder.cs | 37 +- .../Item/WithProtocolItemRequestBuilder.cs | 23 +- .../Protocol/ProtocolRequestBuilder.cs | 15 +- .../ProtocolMappersRequestBuilder.cs | 21 +- .../Clients/ClientsRequestBuilder.cs | 15 +- .../Item/Available/AvailableRequestBuilder.cs | 23 +- .../Item/Composite/CompositeRequestBuilder.cs | 27 +- .../Item/WithClientItemRequestBuilder.cs | 47 +- .../Available/AvailableRequestBuilder.cs | 23 +- .../Composite/CompositeRequestBuilder.cs | 27 +- .../Realm/RealmRequestBuilder.cs | 47 +- .../ScopeMappingsRequestBuilder.cs | 31 +- .../ClientSessionStats/ClientSessionStats.cs | 13 +- .../ClientSessionStatsRequestBuilder.cs | 23 +- .../ClientTemplatesRequestBuilder.cs | 37 +- .../Item/ClientScopeItemRequestBuilder.cs | 39 +- .../AddModels/AddModelsRequestBuilder.cs | 23 +- .../Item/ModelsItemRequestBuilder.cs | 31 +- .../ModelsRequests/ModelsRequestBuilder.cs | 37 +- .../Item/WithProtocolItemRequestBuilder.cs | 23 +- .../Protocol/ProtocolRequestBuilder.cs | 15 +- .../ProtocolMappersRequestBuilder.cs | 21 +- .../Clients/ClientsRequestBuilder.cs | 15 +- .../Item/Available/AvailableRequestBuilder.cs | 23 +- .../Item/Composite/CompositeRequestBuilder.cs | 27 +- .../Item/WithClientItemRequestBuilder.cs | 47 +- .../Available/AvailableRequestBuilder.cs | 23 +- .../Composite/CompositeRequestBuilder.cs | 27 +- .../Realm/RealmRequestBuilder.cs | 47 +- .../ScopeMappingsRequestBuilder.cs | 31 +- .../ClientTypes/ClientTypesRequestBuilder.cs | 121 +++++ .../Item/Clients/ClientsRequestBuilder.cs | 41 +- .../Clients/Item/Authz/AuthzRequestBuilder.cs | 13 +- .../Import/ImportRequestBuilder.cs | 23 +- .../Evaluate/EvaluateRequestBuilder.cs | 27 +- .../Permission/PermissionRequestBuilder.cs | 39 +- .../Providers/ProvidersRequestBuilder.cs | 23 +- .../Permission/Search/SearchRequestBuilder.cs | 27 +- .../Policy/Evaluate/EvaluateRequestBuilder.cs | 27 +- .../Policy/PolicyRequestBuilder.cs | 39 +- .../Providers/ProvidersRequestBuilder.cs | 23 +- .../Policy/Search/SearchRequestBuilder.cs | 27 +- .../Attributes/AttributesRequestBuilder.cs | 23 +- .../Permissions/PermissionsRequestBuilder.cs | 27 +- .../Item/ResourceItemRequestBuilder.cs | 55 +- .../Item/Scopes/ScopesRequestBuilder.cs | 27 +- .../Resource/ResourceRequestBuilder.cs | 49 +- .../Resource/Search/SearchRequestBuilder.cs | 27 +- .../ResourceServerRequestBuilder.cs | 55 +- .../Permissions/PermissionsRequestBuilder.cs | 23 +- .../Item/Resources/ResourcesRequestBuilder.cs | 23 +- .../Scope/Item/ScopeItemRequestBuilder.cs | 39 +- .../Scope/ScopeRequestBuilder.cs | 45 +- .../Scope/Search/SearchRequestBuilder.cs | 27 +- .../Settings/SettingsRequestBuilder.cs | 23 +- .../CertificatesRequestBuilder.cs | 15 +- .../Item/Download/DownloadRequestBuilder.cs | 23 +- .../Item/Generate/GenerateRequestBuilder.cs | 23 +- .../GenerateAndDownloadRequestBuilder.cs | 23 +- .../Item/Upload/UploadRequestBuilder.cs | 23 +- .../UploadCertificateRequestBuilder.cs | 23 +- .../Item/WithAttrItemRequestBuilder.cs | 43 +- .../ClientSecretRequestBuilder.cs | 35 +- .../Rotated/RotatedRequestBuilder.cs | 23 +- .../Item/ClientUuItemRequestBuilder.cs | 111 ++-- .../DefaultClientScopesRequestBuilder.cs | 29 +- .../Item/WithClientScopeItemRequestBuilder.cs | 15 +- .../EvaluateScopesRequestBuilder.cs | 29 +- ...enerateExampleAccessTokenRequestBuilder.cs | 27 +- .../GenerateExampleIdTokenRequestBuilder.cs | 27 +- .../GenerateExampleUserinfoGetResponse.cs | 13 +- .../GenerateExampleUserinfoRequestBuilder.cs | 27 +- .../ProtocolMappersRequestBuilder.cs | 27 +- .../Item/Granted/GrantedRequestBuilder.cs | 27 +- .../NotGranted/NotGrantedRequestBuilder.cs | 27 +- .../WithRoleContainerItemRequestBuilder.cs | 17 +- .../ScopeMappingsRequestBuilder.cs | 15 +- .../InstallationRequestBuilder.cs | 13 +- .../Item/WithProviderItemRequestBuilder.cs | 15 +- .../Providers/ProvidersRequestBuilder.cs | 15 +- .../Management/ManagementRequestBuilder.cs | 13 +- .../Permissions/PermissionsRequestBuilder.cs | 35 +- .../Nodes/Item/WithNodeItemRequestBuilder.cs | 15 +- .../Item/Nodes/NodesPostRequestBody.cs | 13 +- .../Clients/Item/Nodes/NodesRequestBuilder.cs | 29 +- .../OfflineSessionCountGetResponse.cs | 13 +- .../OfflineSessionCountRequestBuilder.cs | 23 +- .../OfflineSessionsRequestBuilder.cs | 27 +- .../Item/WithClientScopeItemRequestBuilder.cs | 15 +- .../OptionalClientScopesRequestBuilder.cs | 29 +- .../AddModels/AddModelsRequestBuilder.cs | 23 +- .../Item/ModelsItemRequestBuilder.cs | 31 +- .../ModelsRequests/ModelsRequestBuilder.cs | 37 +- .../Item/WithProtocolItemRequestBuilder.cs | 23 +- .../Protocol/ProtocolRequestBuilder.cs | 15 +- .../ProtocolMappersRequestBuilder.cs | 21 +- .../PushRevocationRequestBuilder.cs | 23 +- .../RegistrationAccessTokenRequestBuilder.cs | 23 +- .../Clients/ClientsRequestBuilder.cs | 9 +- .../Item/ClientUuItemRequestBuilder.cs | 23 +- .../Composites/CompositesRequestBuilder.cs | 43 +- .../Composites/Realm/RealmRequestBuilder.cs | 23 +- .../Roles/Item/Groups/GroupsRequestBuilder.cs | 27 +- .../Management/ManagementRequestBuilder.cs | 13 +- .../Permissions/PermissionsRequestBuilder.cs | 35 +- .../Roles/Item/RoleNameItemRequestBuilder.cs | 47 +- .../Roles/Item/Users/UsersRequestBuilder.cs | 27 +- .../Clients/Item/Roles/RolesRequestBuilder.cs | 41 +- .../Clients/ClientsRequestBuilder.cs | 15 +- .../Item/Available/AvailableRequestBuilder.cs | 23 +- .../Item/Composite/CompositeRequestBuilder.cs | 27 +- .../Item/WithClientItemRequestBuilder.cs | 47 +- .../Available/AvailableRequestBuilder.cs | 23 +- .../Composite/CompositeRequestBuilder.cs | 27 +- .../Realm/RealmRequestBuilder.cs | 47 +- .../ScopeMappingsRequestBuilder.cs | 27 +- .../ServiceAccountUserRequestBuilder.cs | 23 +- .../SessionCount/SessionCountGetResponse.cs | 13 +- .../SessionCountRequestBuilder.cs | 23 +- .../TestNodesAvailableRequestBuilder.cs | 23 +- .../UserSessionsRequestBuilder.cs | 27 +- .../ClientsInitialAccessRequestBuilder.cs | 41 +- .../ClientsInitialAccessItemRequestBuilder.cs | 15 +- .../Components/ComponentsRequestBuilder.cs | 41 +- .../Item/ComponentsItemRequestBuilder.cs | 35 +- .../SubComponentTypesRequestBuilder.cs | 27 +- .../CredentialRegistratorsRequestBuilder.cs | 15 +- ...efaultDefaultClientScopesRequestBuilder.cs | 29 +- .../Item/WithClientScopeItemRequestBuilder.cs | 15 +- .../DefaultGroupsRequestBuilder.cs | 29 +- .../Item/WithGroupItemRequestBuilder.cs | 15 +- ...faultOptionalClientScopesRequestBuilder.cs | 29 +- .../Item/WithClientScopeItemRequestBuilder.cs | 15 +- .../Events/Config/ConfigRequestBuilder.cs | 31 +- .../Item/Events/EventsRequestBuilder.cs | 31 +- .../GroupByPath/GroupByPathRequestBuilder.cs | 15 +- .../Item/WithPathItemRequestBuilder.cs | 23 +- .../Item/Groups/Count/CountGetResponse.cs | 13 +- .../Item/Groups/Count/CountRequestBuilder.cs | 27 +- .../Item/Groups/GroupsRequestBuilder.cs | 45 +- .../Item/Children/ChildrenRequestBuilder.cs | 55 +- .../Groups/Item/GroupItemRequestBuilder.cs | 47 +- .../Management/ManagementRequestBuilder.cs | 13 +- .../Permissions/PermissionsRequestBuilder.cs | 35 +- .../Item/Members/MembersRequestBuilder.cs | 27 +- .../Clients/ClientsRequestBuilder.cs | 19 +- .../Item/Available/AvailableRequestBuilder.cs | 33 +- .../Clients/Item/ClientItemRequestBuilder.cs | 174 +++++++ .../Item/Composite/CompositeRequestBuilder.cs | 33 +- .../Available/AvailableRequestBuilder.cs | 23 +- .../Composite/CompositeRequestBuilder.cs | 27 +- .../RoleMappings/Realm/RealmRequestBuilder.cs | 47 +- .../RoleMappingsRequestBuilder.cs | 31 +- .../IdentityProviderRequestBuilder.cs | 21 +- .../ImportConfigPostRequestBody.cs | 13 +- .../ImportConfig/ImportConfigPostResponse.cs | 13 +- .../ImportConfigRequestBuilder.cs | 27 +- .../Instances/InstancesRequestBuilder.cs | 41 +- .../Item/Export/ExportRequestBuilder.cs | 23 +- .../Management/ManagementRequestBuilder.cs | 13 +- .../Permissions/PermissionsRequestBuilder.cs | 35 +- .../MapperTypes/MapperTypesRequestBuilder.cs | 15 +- .../Mappers/Item/MappersItemRequestBuilder.cs | 31 +- .../Item/Mappers/MappersRequestBuilder.cs | 37 +- .../ReloadKeys/ReloadKeysRequestBuilder.cs | 15 +- .../Item/WithAliasItemRequestBuilder.cs | 51 +- .../Item/WithProvider_GetResponse.cs | 13 +- .../Item/WithProvider_ItemRequestBuilder.cs | 23 +- .../Providers/ProvidersRequestBuilder.cs | 15 +- .../Realms/Item/Keys/KeysRequestBuilder.cs | 23 +- .../Item/Item/WithKeyItemRequestBuilder.cs | 15 +- .../Item/WithLocaleGetResponse.cs | 13 +- .../Item/WithLocaleItemRequestBuilder.cs | 41 +- .../Item/WithLocalePostRequestBody.cs | 13 +- .../LocalizationRequestBuilder.cs | 21 +- .../Item/LogoutAll/LogoutAllRequestBuilder.cs | 23 +- .../PartialExportRequestBuilder.cs | 23 +- .../PartialImportRequestBuilder.cs | 15 +- .../PushRevocationRequestBuilder.cs | 23 +- .../Clients/ClientsRequestBuilder.cs | 15 +- .../Item/ClientUuItemRequestBuilder.cs | 23 +- .../Composites/CompositesRequestBuilder.cs | 47 +- .../Composites/Realm/RealmRequestBuilder.cs | 23 +- .../Roles/Item/Groups/GroupsRequestBuilder.cs | 27 +- .../Management/ManagementRequestBuilder.cs | 13 +- .../Permissions/PermissionsRequestBuilder.cs | 35 +- .../Roles/Item/RoleNameItemRequestBuilder.cs | 47 +- .../Roles/Item/Users/UsersRequestBuilder.cs | 27 +- .../Realms/Item/Roles/RolesRequestBuilder.cs | 41 +- .../Clients/ClientsRequestBuilder.cs | 15 +- .../Item/WithClientUuItemRequestBuilder.cs | 23 +- .../Composites/CompositesRequestBuilder.cs | 51 +- .../Composites/Realm/RealmRequestBuilder.cs | 23 +- .../Management/ManagementRequestBuilder.cs | 13 +- .../Permissions/PermissionsRequestBuilder.cs | 35 +- .../RolesById/Item/RoleItemRequestBuilder.cs | 39 +- .../Item/RolesById/RolesByIdRequestBuilder.cs | 15 +- .../Item/WithSessionItemRequestBuilder.cs | 23 +- .../Item/Sessions/SessionsRequestBuilder.cs | 15 +- .../TestSMTPConnectionPostRequestBody.cs | 13 +- .../TestSMTPConnectionRequestBuilder.cs | 23 +- .../Item/Users/Count/CountRequestBuilder.cs | 23 +- ...serStorageCredentialTypesRequestBuilder.cs | 15 +- .../Item/Users/Item/Consents/Consents.cs | 13 +- .../Item/Consents/ConsentsRequestBuilder.cs | 29 +- .../Item/WithClientItemRequestBuilder.cs | 15 +- .../Credentials/CredentialsRequestBuilder.cs | 29 +- ...NewPreviousCredentialItemRequestBuilder.cs | 15 +- .../Item/MoveAfter/MoveAfterRequestBuilder.cs | 15 +- .../MoveToFirst/MoveToFirstRequestBuilder.cs | 15 +- .../Item/UserLabel/UserLabelRequestBuilder.cs | 15 +- .../Item/WithCredentialItemRequestBuilder.cs | 27 +- .../DisableCredentialTypesRequestBuilder.cs | 15 +- .../ExecuteActionsEmailRequestBuilder.cs | 23 +- .../FederatedIdentityRequestBuilder.cs | 29 +- .../Item/WithProviderItemRequestBuilder.cs | 15 +- .../Item/Groups/Count/CountGetResponse.cs | 13 +- .../Item/Groups/Count/CountRequestBuilder.cs | 27 +- .../Users/Item/Groups/GroupsRequestBuilder.cs | 37 +- .../Item/WithGroupItemRequestBuilder.cs | 15 +- .../ImpersonationPostResponse.cs | 13 +- .../ImpersonationRequestBuilder.cs | 23 +- .../Users/Item/Logout/LogoutRequestBuilder.cs | 15 +- .../Item/WithClientUuItemRequestBuilder.cs | 23 +- .../OfflineSessionsRequestBuilder.cs | 15 +- .../ResetPasswordRequestBuilder.cs | 23 +- .../ResetPasswordEmailRequestBuilder.cs | 23 +- .../Clients/ClientsRequestBuilder.cs | 19 +- .../Item/Available/AvailableRequestBuilder.cs | 33 +- .../Clients/Item/ClientItemRequestBuilder.cs | 174 +++++++ .../Item/Composite/CompositeRequestBuilder.cs | 33 +- .../Available/AvailableRequestBuilder.cs | 23 +- .../Composite/CompositeRequestBuilder.cs | 27 +- .../RoleMappings/Realm/RealmRequestBuilder.cs | 47 +- .../RoleMappingsRequestBuilder.cs | 31 +- .../SendVerifyEmailRequestBuilder.cs | 23 +- .../Item/Sessions/SessionsRequestBuilder.cs | 23 +- .../UnmanagedAttributesGetResponse.cs | 52 ++ .../UnmanagedAttributesRequestBuilder.cs | 74 +++ .../Item/Users/Item/UserItemRequestBuilder.cs | 101 ++-- .../Metadata/MetadataRequestBuilder.cs | 23 +- .../Users/Profile/ProfileRequestBuilder.cs | 39 +- .../Realms/Item/Users/UsersRequestBuilder.cs | 49 +- ...sersManagementPermissionsRequestBuilder.cs | 35 +- .../Item/WithRealmItemRequestBuilder.cs | 165 +++--- .../Admin/Realms/RealmsRequestBuilder.cs | 33 +- .../Keycloak.AuthServices.Sdk.Kiota.csproj | 2 +- .../KeycloakAdminApiClient.cs | 11 +- .../Models/AbstractPolicyRepresentation.cs | 53 +- .../Models/Access.cs | 17 +- .../Models/AccessToken.cs | 150 +++--- .../Models/AccessToken_otherClaims.cs | 13 +- .../Models/AccessToken_resource_access.cs | 13 +- .../Models/AddressClaimSet.cs | 25 +- .../Models/AdminEventRepresentation.cs | 35 +- .../Models/ApplicationRepresentation.cs | 153 +++--- .../ApplicationRepresentation_access.cs | 13 +- .../ApplicationRepresentation_attributes.cs | 13 +- ...tion_authenticationFlowBindingOverrides.cs | 13 +- .../ApplicationRepresentation_claims.cs | 11 +- ...plicationRepresentation_registeredNodes.cs | 13 +- .../Models/AuthDetailsRepresentation.cs | 21 +- ...enticationExecutionExportRepresentation.cs | 29 +- ...thenticationExecutionInfoRepresentation.cs | 43 +- .../AuthenticationExecutionRepresentation.cs | 31 +- .../AuthenticationFlowRepresentation.cs | 33 +- .../AuthenticatorConfigInfoRepresentation.cs | 27 +- .../AuthenticatorConfigRepresentation.cs | 25 +- ...uthenticatorConfigRepresentation_config.cs | 13 +- .../Models/Authorization.cs | 21 +- .../Models/CertificateRepresentation.cs | 21 +- .../Models/ClaimRepresentation.cs | 33 +- .../ClientInitialAccessCreatePresentation.cs | 17 +- .../Models/ClientInitialAccessPresentation.cs | 25 +- .../Models/ClientPoliciesRepresentation.cs | 31 +- .../ClientPolicyConditionRepresentation.cs | 17 +- .../ClientPolicyExecutorRepresentation.cs | 17 +- .../Models/ClientPolicyRepresentation.cs | 29 +- .../Models/ClientProfileRepresentation.cs | 25 +- .../Models/ClientProfilesRepresentation.cs | 29 +- .../Models/ClientRepresentation.cs | 145 +++--- .../Models/ClientRepresentation_access.cs | 13 +- .../Models/ClientRepresentation_attributes.cs | 13 +- ...tion_authenticationFlowBindingOverrides.cs | 13 +- .../ClientRepresentation_registeredNodes.cs | 13 +- .../Models/ClientScopeRepresentation.cs | 37 +- .../ClientScopeRepresentation_attributes.cs | 13 +- .../Models/ClientTemplateRepresentation.cs | 55 +- ...ClientTemplateRepresentation_attributes.cs | 13 +- .../Models/ClientTypeRepresentation.cs | 82 +++ .../Models/ClientTypeRepresentation_config.cs | 52 ++ .../Models/ClientTypesRepresentation.cs | 72 +++ .../Models/ComponentRepresentation.cs | 33 +- .../Models/ComponentTypeRepresentation.cs | 33 +- .../ComponentTypeRepresentation_metadata.cs | 13 +- .../Models/Composites.cs | 31 +- .../Models/Composites_application.cs | 13 +- .../Models/Composites_client.cs | 13 +- .../Models/ConfigPropertyRepresentation.cs | 31 +- .../Models/Confirmation.cs | 17 +- .../Models/CredentialRepresentation.cs | 55 +- .../Models/CredentialRepresentation_config.cs | 11 +- .../Models/DecisionEffect.cs | 3 +- .../Models/DecisionStrategy.cs | 3 +- .../Models/EvaluationResultRepresentation.cs | 51 +- .../Models/EventRepresentation.cs | 37 +- .../Models/EventRepresentation_details.cs | 13 +- .../Models/FederatedIdentityRepresentation.cs | 19 +- .../Models/GlobalRequestResult.cs | 17 +- .../Models/GroupRepresentation.cs | 57 +- .../Models/GroupRepresentation_access.cs | 13 +- .../Models/GroupRepresentation_attributes.cs | 13 +- .../Models/GroupRepresentation_clientRoles.cs | 13 +- .../Models/IDToken.cs | 116 ++--- .../Models/IDToken_otherClaims.cs | 13 +- .../IdentityProviderMapperRepresentation.cs | 29 +- ...tityProviderMapperRepresentation_config.cs | 13 +- .../Models/IdentityProviderRepresentation.cs | 49 +- .../IdentityProviderRepresentation_config.cs | 13 +- .../Models/KeyMetadataRepresentation.cs | 37 +- .../Models/KeyStoreConfig.cs | 25 +- .../Models/KeyUse.cs | 3 +- .../Models/KeysMetadataRepresentation.cs | 29 +- .../KeysMetadataRepresentation_active.cs | 13 +- .../Models/Logic.cs | 3 +- .../Models/ManagementPermissionReference.cs | 25 +- ...entPermissionReference_scopePermissions.cs | 13 +- .../Models/MappingsRepresentation.cs | 29 +- .../MappingsRepresentation_clientMappings.cs | 13 +- ...hMapStringComponentExportRepresentation.cs | 13 +- .../Models/MultivaluedHashMapStringString.cs | 13 +- .../Models/OAuthClientRepresentation.cs | 153 +++--- .../OAuthClientRepresentation_access.cs | 13 +- .../OAuthClientRepresentation_attributes.cs | 13 +- ...tion_authenticationFlowBindingOverrides.cs | 13 +- .../OAuthClientRepresentation_claims.cs | 11 +- ...uthClientRepresentation_registeredNodes.cs | 13 +- .../OrganizationDomainRepresentation.cs | 66 +++ .../Models/OrganizationRepresentation.cs | 126 +++++ .../OrganizationRepresentation_attributes.cs | 52 ++ .../Models/Permission.cs | 27 +- .../Models/Permission_claims.cs | 13 +- .../Models/PolicyEnforcementMode.cs | 3 +- .../Models/PolicyEvaluationRequest.cs | 37 +- .../Models/PolicyEvaluationRequest_context.cs | 13 +- .../Models/PolicyEvaluationResponse.cs | 37 +- .../Models/PolicyProviderRepresentation.cs | 19 +- .../Models/PolicyRepresentation.cs | 61 +-- .../Models/PolicyRepresentation_config.cs | 13 +- .../Models/PolicyResultRepresentation.cs | 37 +- .../ProtocolMapperEvaluationRepresentation.cs | 25 +- .../Models/ProtocolMapperRepresentation.cs | 33 +- .../ProtocolMapperRepresentation_config.cs | 13 +- .../Models/RealmEventsConfigRepresentation.cs | 25 +- .../Models/RealmRepresentation.cs | 491 +++++++++--------- ...Representation_applicationScopeMappings.cs | 13 +- .../Models/RealmRepresentation_attributes.cs | 13 +- ...lmRepresentation_browserSecurityHeaders.cs | 13 +- ...RealmRepresentation_clientScopeMappings.cs | 13 +- .../RealmRepresentation_localizationTexts.cs | 13 +- .../Models/RealmRepresentation_smtpServer.cs | 13 +- .../RealmRepresentation_socialProviders.cs | 13 +- .../RequiredActionConfigInfoRepresentation.cs | 62 +++ .../RequiredActionConfigRepresentation.cs | 62 +++ ...quiredActionConfigRepresentation_config.cs | 52 ++ .../RequiredActionProviderRepresentation.cs | 33 +- ...iredActionProviderRepresentation_config.cs | 13 +- .../Models/ResourceOwnerRepresentation.cs | 17 +- .../Models/ResourceRepresentation.cs | 59 +-- .../ResourceRepresentation_attributes.cs | 13 +- .../Models/ResourceRepresentation_owner.cs | 11 +- .../Models/ResourceServerRepresentation.cs | 53 +- .../Models/RoleRepresentation.cs | 37 +- .../Models/RoleRepresentation_attributes.cs | 13 +- .../Models/RolesRepresentation.cs | 37 +- .../Models/RolesRepresentation_application.cs | 13 +- .../Models/RolesRepresentation_client.cs | 13 +- .../Models/ScopeMappingRepresentation.cs | 23 +- .../Models/ScopeRepresentation.cs | 37 +- .../Models/SocialLinkRepresentation.cs | 19 +- .../Models/UPAttribute.cs | 61 +-- .../Models/UPAttributePermissions.cs | 17 +- .../Models/UPAttributeRequired.cs | 17 +- .../Models/UPAttributeSelector.cs | 15 +- .../Models/UPAttribute_annotations.cs | 13 +- .../Models/UPAttribute_validations.cs | 13 +- .../Models/UPConfig.cs | 33 +- .../Models/UPGroup.cs | 27 +- .../Models/UPGroup_annotations.cs | 13 +- .../Models/UnmanagedAttributePolicy.cs | 3 +- .../Models/UserConsentRepresentation.cs | 23 +- .../UserFederationMapperRepresentation.cs | 29 +- ...erFederationMapperRepresentation_config.cs | 13 +- .../UserFederationProviderRepresentation.cs | 35 +- ...FederationProviderRepresentation_config.cs | 13 +- .../UserProfileAttributeGroupMetadata.cs | 27 +- ...ofileAttributeGroupMetadata_annotations.cs | 13 +- .../Models/UserProfileAttributeMetadata.cs | 41 +- ...serProfileAttributeMetadata_annotations.cs | 13 +- ...UserProfileAttributeMetadata_validators.cs | 13 +- .../Models/UserProfileMetadata.cs | 29 +- .../Models/UserRepresentation.cs | 115 ++-- .../Models/UserRepresentation_access.cs | 13 +- .../UserRepresentation_applicationRoles.cs | 13 +- .../Models/UserRepresentation_attributes.cs | 13 +- .../Models/UserRepresentation_clientRoles.cs | 13 +- .../Models/UserSessionRepresentation.cs | 39 +- .../UserSessionRepresentation_clients.cs | 13 +- .../kiota-lock.json | 7 +- 467 files changed, 7942 insertions(+), 5951 deletions(-) create mode 100644 src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/Config/ConfigRequestBuilder.cs create mode 100644 src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/ConfigDescription/ConfigDescriptionRequestBuilder.cs create mode 100644 src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTypes/ClientTypesRequestBuilder.cs create mode 100644 src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Clients/Item/ClientItemRequestBuilder.cs create mode 100644 src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Clients/Item/ClientItemRequestBuilder.cs create mode 100644 src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/UnmanagedAttributes/UnmanagedAttributesGetResponse.cs create mode 100644 src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/UnmanagedAttributes/UnmanagedAttributesRequestBuilder.cs create mode 100644 src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientTypeRepresentation.cs create mode 100644 src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientTypeRepresentation_config.cs create mode 100644 src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientTypesRepresentation.cs create mode 100644 src/Keycloak.AuthServices.Sdk.Kiota/Models/OrganizationDomainRepresentation.cs create mode 100644 src/Keycloak.AuthServices.Sdk.Kiota/Models/OrganizationRepresentation.cs create mode 100644 src/Keycloak.AuthServices.Sdk.Kiota/Models/OrganizationRepresentation_attributes.cs create mode 100644 src/Keycloak.AuthServices.Sdk.Kiota/Models/RequiredActionConfigInfoRepresentation.cs create mode 100644 src/Keycloak.AuthServices.Sdk.Kiota/Models/RequiredActionConfigRepresentation.cs create mode 100644 src/Keycloak.AuthServices.Sdk.Kiota/Models/RequiredActionConfigRepresentation_config.cs diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index f5e66350..5babffaf 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -6,19 +6,29 @@ "version": "1.0.52", "commands": [ "central-pkg-converter" - ] + ], + "rollForward": false }, "cake.tool": { "version": "2.0.0", "commands": [ "dotnet-cake" - ] + ], + "rollForward": false }, "csharpier": { "version": "0.28.2", "commands": [ "dotnet-csharpier" - ] + ], + "rollForward": false + }, + "microsoft.openapi.kiota": { + "version": "1.15.0", + "commands": [ + "kiota" + ], + "rollForward": false } } -} +} \ No newline at end of file diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/AdminRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/AdminRequestBuilder.cs index 14141203..4208e7f1 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/AdminRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/AdminRequestBuilder.cs @@ -6,19 +6,20 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin +{ /// /// Builds and executes requests for operations under \admin /// - public class AdminRequestBuilder : BaseRequestBuilder + public class AdminRequestBuilder : BaseRequestBuilder { /// The realms property - public RealmsRequestBuilder Realms + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.RealmsRequestBuilder Realms { - get => new RealmsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.RealmsRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -26,7 +27,7 @@ public AdminRequestBuilder(Dictionary pathParameters, IRequestAd { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AdminEvents/AdminEventsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AdminEvents/AdminEventsRequestBuilder.cs index 5508bfe8..4a5515b8 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AdminEvents/AdminEventsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AdminEvents/AdminEventsRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AdminEvents { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AdminEvents +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\admin-events /// - public class AdminEventsRequestBuilder : BaseRequestBuilder + public class AdminEventsRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public AdminEventsRequestBuilder(Dictionary pathParameters, IReq { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -50,20 +51,20 @@ public async Task DeleteAsync(Action /// Get admin events Returns all admin events, or filters events based on URL query parameters listed here /// - /// A List<AdminEventRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AdminEventRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, AdminEventRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AdminEventRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -91,11 +92,11 @@ public RequestInformation ToDeleteRequestInformation(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -106,11 +107,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public AdminEventsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AdminEvents.AdminEventsRequestBuilder WithUrl(string rawUrl) { - return new AdminEventsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AdminEvents.AdminEventsRequestBuilder(rawUrl, RequestAdapter); } /// /// Get admin events Returns all admin events, or filters events based on URL query parameters listed here diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/AttackDetectionRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/AttackDetectionRequestBuilder.cs index 6ad918c0..901109b1 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/AttackDetectionRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/AttackDetectionRequestBuilder.cs @@ -6,19 +6,20 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\attack-detection /// - public class AttackDetectionRequestBuilder : BaseRequestBuilder + public class AttackDetectionRequestBuilder : BaseRequestBuilder { /// The bruteForce property - public BruteForceRequestBuilder BruteForce + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.BruteForce.BruteForceRequestBuilder BruteForce { - get => new BruteForceRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.BruteForce.BruteForceRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -26,7 +27,7 @@ public AttackDetectionRequestBuilder(Dictionary pathParameters, { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/BruteForceRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/BruteForceRequestBuilder.cs index 21715b44..23a39553 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/BruteForceRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/BruteForceRequestBuilder.cs @@ -6,19 +6,20 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.BruteForce { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.BruteForce +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\attack-detection\brute-force /// - public class BruteForceRequestBuilder : BaseRequestBuilder + public class BruteForceRequestBuilder : BaseRequestBuilder { /// The users property - public UsersRequestBuilder Users + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.BruteForce.Users.UsersRequestBuilder Users { - get => new UsersRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.BruteForce.Users.UsersRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -26,7 +27,7 @@ public BruteForceRequestBuilder(Dictionary pathParameters, IRequ { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/Item/WithUserGetResponse.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/Item/WithUserGetResponse.cs index 09c775b5..c51a94a0 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/Item/WithUserGetResponse.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/Item/WithUserGetResponse.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.BruteForce.Users.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.BruteForce.Users.Item +{ #pragma warning disable CS1591 - public class WithUserGetResponse : IAdditionalDataHolder, IParsable + public class WithUserGetResponse : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public WithUserGetResponse() { @@ -21,12 +22,12 @@ public WithUserGetResponse() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static WithUserGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.BruteForce.Users.Item.WithUserGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new WithUserGetResponse(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.BruteForce.Users.Item.WithUserGetResponse(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/Item/WithUserItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/Item/WithUserItemRequestBuilder.cs index d76e96a1..eb8cbef2 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/Item/WithUserItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/Item/WithUserItemRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.BruteForce.Users.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.BruteForce.Users.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\attack-detection\brute-force\users\{userId} /// - public class WithUserItemRequestBuilder : BaseRequestBuilder + public class WithUserItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public WithUserItemRequestBuilder(Dictionary pathParameters, IRe { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -49,20 +50,20 @@ public async Task DeleteAsync(Action /// Get status of a username in brute force detection /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, WithUserGetResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.BruteForce.Users.Item.WithUserGetResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Clear any user login failures for the user This can release temporary disabled user @@ -104,11 +105,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithUserItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.BruteForce.Users.Item.WithUserItemRequestBuilder WithUrl(string rawUrl) { - return new WithUserItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.BruteForce.Users.Item.WithUserItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/UsersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/UsersRequestBuilder.cs index 120b1102..54261d68 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/UsersRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/UsersRequestBuilder.cs @@ -8,26 +8,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.BruteForce.Users { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.BruteForce.Users +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\attack-detection\brute-force\users /// - public class UsersRequestBuilder : BaseRequestBuilder + public class UsersRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.attackDetection.bruteForce.users.item collection /// Unique identifier of the item - /// A - public WithUserItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.BruteForce.Users.Item.WithUserItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("userId", position); - return new WithUserItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.BruteForce.Users.Item.WithUserItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public UsersRequestBuilder(Dictionary pathParameters, IRequestAd { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -80,11 +81,11 @@ public RequestInformation ToDeleteRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public UsersRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.BruteForce.Users.UsersRequestBuilder WithUrl(string rawUrl) { - return new UsersRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.BruteForce.Users.UsersRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticationRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticationRequestBuilder.cs index 0a419322..8231b84f 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticationRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticationRequestBuilder.cs @@ -17,74 +17,75 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication /// - public class AuthenticationRequestBuilder : BaseRequestBuilder + public class AuthenticationRequestBuilder : BaseRequestBuilder { /// The authenticatorProviders property - public AuthenticatorProvidersRequestBuilder AuthenticatorProviders + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.AuthenticatorProviders.AuthenticatorProvidersRequestBuilder AuthenticatorProviders { - get => new AuthenticatorProvidersRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.AuthenticatorProviders.AuthenticatorProvidersRequestBuilder(PathParameters, RequestAdapter); } /// The clientAuthenticatorProviders property - public ClientAuthenticatorProvidersRequestBuilder ClientAuthenticatorProviders + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.ClientAuthenticatorProviders.ClientAuthenticatorProvidersRequestBuilder ClientAuthenticatorProviders { - get => new ClientAuthenticatorProvidersRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.ClientAuthenticatorProviders.ClientAuthenticatorProvidersRequestBuilder(PathParameters, RequestAdapter); } /// The config property - public ConfigRequestBuilder Config + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Config.ConfigRequestBuilder Config { - get => new ConfigRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Config.ConfigRequestBuilder(PathParameters, RequestAdapter); } /// The configDescription property - public ConfigDescriptionRequestBuilder ConfigDescription + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.ConfigDescription.ConfigDescriptionRequestBuilder ConfigDescription { - get => new ConfigDescriptionRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.ConfigDescription.ConfigDescriptionRequestBuilder(PathParameters, RequestAdapter); } /// The executions property - public ExecutionsRequestBuilder Executions + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.ExecutionsRequestBuilder Executions { - get => new ExecutionsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.ExecutionsRequestBuilder(PathParameters, RequestAdapter); } /// The flows property - public FlowsRequestBuilder Flows + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.FlowsRequestBuilder Flows { - get => new FlowsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.FlowsRequestBuilder(PathParameters, RequestAdapter); } /// The formActionProviders property - public FormActionProvidersRequestBuilder FormActionProviders + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormActionProviders.FormActionProvidersRequestBuilder FormActionProviders { - get => new FormActionProvidersRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormActionProviders.FormActionProvidersRequestBuilder(PathParameters, RequestAdapter); } /// The formProviders property - public FormProvidersRequestBuilder FormProviders + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormProviders.FormProvidersRequestBuilder FormProviders { - get => new FormProvidersRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormProviders.FormProvidersRequestBuilder(PathParameters, RequestAdapter); } /// The perClientConfigDescription property - public PerClientConfigDescriptionRequestBuilder PerClientConfigDescription + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.PerClientConfigDescription.PerClientConfigDescriptionRequestBuilder PerClientConfigDescription { - get => new PerClientConfigDescriptionRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.PerClientConfigDescription.PerClientConfigDescriptionRequestBuilder(PathParameters, RequestAdapter); } /// The registerRequiredAction property - public RegisterRequiredActionRequestBuilder RegisterRequiredAction + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RegisterRequiredAction.RegisterRequiredActionRequestBuilder RegisterRequiredAction { - get => new RegisterRequiredActionRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RegisterRequiredAction.RegisterRequiredActionRequestBuilder(PathParameters, RequestAdapter); } /// The requiredActions property - public RequiredActionsRequestBuilder RequiredActions + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.RequiredActionsRequestBuilder RequiredActions { - get => new RequiredActionsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.RequiredActionsRequestBuilder(PathParameters, RequestAdapter); } /// The unregisteredRequiredActions property - public UnregisteredRequiredActionsRequestBuilder UnregisteredRequiredActions + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.UnregisteredRequiredActions.UnregisteredRequiredActionsRequestBuilder UnregisteredRequiredActions { - get => new UnregisteredRequiredActionsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.UnregisteredRequiredActions.UnregisteredRequiredActionsRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -92,7 +93,7 @@ public AuthenticationRequestBuilder(Dictionary pathParameters, I { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticatorProviders/AuthenticatorProviders.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticatorProviders/AuthenticatorProviders.cs index 1180eb96..776c56e0 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticatorProviders/AuthenticatorProviders.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticatorProviders/AuthenticatorProviders.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.AuthenticatorProviders { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.AuthenticatorProviders +{ #pragma warning disable CS1591 - public class AuthenticatorProviders : IAdditionalDataHolder, IParsable + public class AuthenticatorProviders : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public AuthenticatorProviders() { @@ -21,12 +22,12 @@ public AuthenticatorProviders() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static AuthenticatorProviders CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.AuthenticatorProviders.AuthenticatorProviders CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new AuthenticatorProviders(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.AuthenticatorProviders.AuthenticatorProviders(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticatorProviders/AuthenticatorProvidersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticatorProviders/AuthenticatorProvidersRequestBuilder.cs index 426a3ffc..fcec3fb1 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticatorProviders/AuthenticatorProvidersRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticatorProviders/AuthenticatorProvidersRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.AuthenticatorProviders { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.AuthenticatorProviders +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\authenticator-providers /// - public class AuthenticatorProvidersRequestBuilder : BaseRequestBuilder + public class AuthenticatorProvidersRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public AuthenticatorProvidersRequestBuilder(Dictionary pathParam { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -32,20 +33,20 @@ public AuthenticatorProvidersRequestBuilder(string rawUrl, IRequestAdapter reque /// /// Get authenticator providers Returns a stream of authenticator providers. /// - /// A List<AuthenticatorProviders> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.AuthenticatorProviders.AuthenticatorProviders> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, AuthenticatorProviders.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.AuthenticatorProviders.AuthenticatorProviders.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -70,11 +71,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public AuthenticatorProvidersRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.AuthenticatorProviders.AuthenticatorProvidersRequestBuilder WithUrl(string rawUrl) { - return new AuthenticatorProvidersRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.AuthenticatorProviders.AuthenticatorProvidersRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ClientAuthenticatorProviders/ClientAuthenticatorProviders.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ClientAuthenticatorProviders/ClientAuthenticatorProviders.cs index 5a7e7a60..9abc72f4 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ClientAuthenticatorProviders/ClientAuthenticatorProviders.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ClientAuthenticatorProviders/ClientAuthenticatorProviders.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.ClientAuthenticatorProviders { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.ClientAuthenticatorProviders +{ #pragma warning disable CS1591 - public class ClientAuthenticatorProviders : IAdditionalDataHolder, IParsable + public class ClientAuthenticatorProviders : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ClientAuthenticatorProviders() { @@ -21,12 +22,12 @@ public ClientAuthenticatorProviders() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ClientAuthenticatorProviders CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.ClientAuthenticatorProviders.ClientAuthenticatorProviders CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ClientAuthenticatorProviders(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.ClientAuthenticatorProviders.ClientAuthenticatorProviders(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ClientAuthenticatorProviders/ClientAuthenticatorProvidersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ClientAuthenticatorProviders/ClientAuthenticatorProvidersRequestBuilder.cs index deae920b..be9d9cd6 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ClientAuthenticatorProviders/ClientAuthenticatorProvidersRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ClientAuthenticatorProviders/ClientAuthenticatorProvidersRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.ClientAuthenticatorProviders { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.ClientAuthenticatorProviders +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\client-authenticator-providers /// - public class ClientAuthenticatorProvidersRequestBuilder : BaseRequestBuilder + public class ClientAuthenticatorProvidersRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public ClientAuthenticatorProvidersRequestBuilder(Dictionary pat { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -32,20 +33,20 @@ public ClientAuthenticatorProvidersRequestBuilder(string rawUrl, IRequestAdapter /// /// Get client authenticator providers Returns a stream of client authenticator providers. /// - /// A List<ClientAuthenticatorProviders> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.ClientAuthenticatorProviders.ClientAuthenticatorProviders> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ClientAuthenticatorProviders.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.ClientAuthenticatorProviders.ClientAuthenticatorProviders.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -70,11 +71,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ClientAuthenticatorProvidersRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.ClientAuthenticatorProviders.ClientAuthenticatorProvidersRequestBuilder WithUrl(string rawUrl) { - return new ClientAuthenticatorProvidersRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.ClientAuthenticatorProviders.ClientAuthenticatorProvidersRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Config/ConfigRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Config/ConfigRequestBuilder.cs index ecbb90e0..caaba6cf 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Config/ConfigRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Config/ConfigRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Config { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Config +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\config /// - public class ConfigRequestBuilder : BaseRequestBuilder + public class ConfigRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.authentication.config.item collection /// Configuration id - /// A - public ConfigItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Config.Item.ConfigItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("id", position); - return new ConfigItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Config.Item.ConfigItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,7 +37,7 @@ public ConfigRequestBuilder(Dictionary pathParameters, IRequestA { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -46,23 +47,22 @@ public ConfigRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// /// Create new authenticator configuration /// - /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. [Obsolete("")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(AuthenticatorConfigRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPostRequestInformation(body, requestConfiguration); - return await RequestAdapter.SendPrimitiveAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); + await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); } /// /// Create new authenticator configuration @@ -73,11 +73,11 @@ public async Task PostAsync(AuthenticatorConfigRepresentation body, Acti [Obsolete("")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPostRequestInformation(AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(AuthenticatorConfigRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -89,12 +89,12 @@ public RequestInformation ToPostRequestInformation(AuthenticatorConfigRepresenta /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. [Obsolete("")] - public ConfigRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Config.ConfigRequestBuilder WithUrl(string rawUrl) { - return new ConfigRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Config.ConfigRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Config/Item/ConfigItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Config/Item/ConfigItemRequestBuilder.cs index 4137c90a..901bab80 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Config/Item/ConfigItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Config/Item/ConfigItemRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Config.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Config.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\config\{id} /// - public class ConfigItemRequestBuilder : BaseRequestBuilder + public class ConfigItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public ConfigItemRequestBuilder(Dictionary pathParameters, IRequ { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -50,20 +51,20 @@ public async Task DeleteAsync(Action /// Get authenticator configuration /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, AuthenticatorConfigRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Update authenticator configuration @@ -73,11 +74,11 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(AuthenticatorConfigRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -129,11 +130,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(AuthenticatorConfigRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -145,11 +146,11 @@ public RequestInformation ToPutRequestInformation(AuthenticatorConfigRepresentat /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ConfigItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Config.Item.ConfigItemRequestBuilder WithUrl(string rawUrl) { - return new ConfigItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Config.Item.ConfigItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ConfigDescription/ConfigDescriptionRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ConfigDescription/ConfigDescriptionRequestBuilder.cs index 4266afbc..3e089784 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ConfigDescription/ConfigDescriptionRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ConfigDescription/ConfigDescriptionRequestBuilder.cs @@ -6,26 +6,27 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.ConfigDescription { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.ConfigDescription +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\config-description /// - public class ConfigDescriptionRequestBuilder : BaseRequestBuilder + public class ConfigDescriptionRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.authentication.configDescription.item collection /// Unique identifier of the item - /// A - public WithProviderItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.ConfigDescription.Item.WithProviderItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("providerId", position); - return new WithProviderItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.ConfigDescription.Item.WithProviderItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -33,7 +34,7 @@ public ConfigDescriptionRequestBuilder(Dictionary pathParameters { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ConfigDescription/Item/WithProviderItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ConfigDescription/Item/WithProviderItemRequestBuilder.cs index baf8d3ba..98001538 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ConfigDescription/Item/WithProviderItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ConfigDescription/Item/WithProviderItemRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.ConfigDescription.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.ConfigDescription.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\config-description\{providerId} /// - public class WithProviderItemRequestBuilder : BaseRequestBuilder + public class WithProviderItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public WithProviderItemRequestBuilder(Dictionary pathParameters, { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public WithProviderItemRequestBuilder(string rawUrl, IRequestAdapter requestAdap /// /// Get authenticator provider's configuration description /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, AuthenticatorConfigInfoRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigInfoRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Get authenticator provider's configuration description @@ -70,11 +71,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithProviderItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.ConfigDescription.Item.WithProviderItemRequestBuilder WithUrl(string rawUrl) { - return new WithProviderItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.ConfigDescription.Item.WithProviderItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/ExecutionsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/ExecutionsRequestBuilder.cs index dd1b4099..72ef01e6 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/ExecutionsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/ExecutionsRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\executions /// - public class ExecutionsRequestBuilder : BaseRequestBuilder + public class ExecutionsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.authentication.executions.item collection /// Unique identifier of the item - /// A - public WithExecutionItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.WithExecutionItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("executionId", position); - return new WithExecutionItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.WithExecutionItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,7 +37,7 @@ public ExecutionsRequestBuilder(Dictionary pathParameters, IRequ { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -46,22 +47,21 @@ public ExecutionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// Add new authentication execution /// - /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(AuthenticationExecutionRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationExecutionRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(AuthenticationExecutionRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationExecutionRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPostRequestInformation(body, requestConfiguration); - return await RequestAdapter.SendPrimitiveAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); + await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); } /// /// Add new authentication execution @@ -71,11 +71,11 @@ public async Task PostAsync(AuthenticationExecutionRepresentation 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(AuthenticationExecutionRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationExecutionRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(AuthenticationExecutionRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationExecutionRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -87,11 +87,11 @@ public RequestInformation ToPostRequestInformation(AuthenticationExecutionRepres /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ExecutionsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.ExecutionsRequestBuilder WithUrl(string rawUrl) { - return new ExecutionsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.ExecutionsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/Config/ConfigRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/Config/ConfigRequestBuilder.cs index ab6e95bd..f678f53a 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/Config/ConfigRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/Config/ConfigRequestBuilder.cs @@ -9,27 +9,28 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.Config { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.Config +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\executions\{executionId}\config /// - public class ConfigRequestBuilder : BaseRequestBuilder + public class ConfigRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.authentication.executions.item.config.item collection /// Configuration id - /// A + /// A [Obsolete("")] - public ConfigItemRequestBuilder this[string position] + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.Config.Item.ConfigItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("id", position); - return new ConfigItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.Config.Item.ConfigItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -37,7 +38,7 @@ public ConfigRequestBuilder(Dictionary pathParameters, IRequestA { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -47,22 +48,21 @@ public ConfigRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// /// Update execution with new configuration /// - /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(AuthenticatorConfigRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPostRequestInformation(body, requestConfiguration); - return await RequestAdapter.SendPrimitiveAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); + await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); } /// /// Update execution with new configuration @@ -72,11 +72,11 @@ public async Task PostAsync(AuthenticatorConfigRepresentation body, Acti /// Configuration 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(AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(AuthenticatorConfigRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -88,11 +88,11 @@ public RequestInformation ToPostRequestInformation(AuthenticatorConfigRepresenta /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ConfigRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.Config.ConfigRequestBuilder WithUrl(string rawUrl) { - return new ConfigRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.Config.ConfigRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/Config/Item/ConfigItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/Config/Item/ConfigItemRequestBuilder.cs index 3bd7346f..5467d4c6 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/Config/Item/ConfigItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/Config/Item/ConfigItemRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.Config.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.Config.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\executions\{executionId}\config\{id} /// - public class ConfigItemRequestBuilder : BaseRequestBuilder + public class ConfigItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public ConfigItemRequestBuilder(Dictionary pathParameters, IRequ { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,21 +34,21 @@ public ConfigItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// Get execution's configuration /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. [Obsolete("")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, AuthenticatorConfigRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Get execution's configuration @@ -72,12 +73,12 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. [Obsolete("")] - public ConfigItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.Config.Item.ConfigItemRequestBuilder WithUrl(string rawUrl) { - return new ConfigItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.Config.Item.ConfigItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/LowerPriority/LowerPriorityRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/LowerPriority/LowerPriorityRequestBuilder.cs index 7f0d838e..559b42d3 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/LowerPriority/LowerPriorityRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/LowerPriority/LowerPriorityRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.LowerPriority { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.LowerPriority +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\executions\{executionId}\lower-priority /// - public class LowerPriorityRequestBuilder : BaseRequestBuilder + public class LowerPriorityRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public LowerPriorityRequestBuilder(Dictionary pathParameters, IR { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -67,11 +68,11 @@ public RequestInformation ToPostRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public LowerPriorityRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.LowerPriority.LowerPriorityRequestBuilder WithUrl(string rawUrl) { - return new LowerPriorityRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.LowerPriority.LowerPriorityRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/RaisePriority/RaisePriorityRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/RaisePriority/RaisePriorityRequestBuilder.cs index 122f0c07..416bec9e 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/RaisePriority/RaisePriorityRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/RaisePriority/RaisePriorityRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.RaisePriority { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.RaisePriority +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\executions\{executionId}\raise-priority /// - public class RaisePriorityRequestBuilder : BaseRequestBuilder + public class RaisePriorityRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public RaisePriorityRequestBuilder(Dictionary pathParameters, IR { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -67,11 +68,11 @@ public RequestInformation ToPostRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public RaisePriorityRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.RaisePriority.RaisePriorityRequestBuilder WithUrl(string rawUrl) { - return new RaisePriorityRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.RaisePriority.RaisePriorityRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/WithExecutionItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/WithExecutionItemRequestBuilder.cs index cf0be5b8..a5e5d90d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/WithExecutionItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/WithExecutionItemRequestBuilder.cs @@ -2,6 +2,7 @@ using Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.Config; using Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.LowerPriority; using Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.RaisePriority; +using Keycloak.AuthServices.Sdk.Kiota.Admin.Models; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; using System.Collections.Generic; @@ -10,29 +11,30 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\executions\{executionId} /// - public class WithExecutionItemRequestBuilder : BaseRequestBuilder + public class WithExecutionItemRequestBuilder : BaseRequestBuilder { /// The config property - public ConfigRequestBuilder Config + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.Config.ConfigRequestBuilder Config { - get => new ConfigRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.Config.ConfigRequestBuilder(PathParameters, RequestAdapter); } /// The lowerPriority property - public LowerPriorityRequestBuilder LowerPriority + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.LowerPriority.LowerPriorityRequestBuilder LowerPriority { - get => new LowerPriorityRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.LowerPriority.LowerPriorityRequestBuilder(PathParameters, RequestAdapter); } /// The raisePriority property - public RaisePriorityRequestBuilder RaisePriority + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.RaisePriority.RaisePriorityRequestBuilder RaisePriority { - get => new RaisePriorityRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.RaisePriority.RaisePriorityRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -40,7 +42,7 @@ public WithExecutionItemRequestBuilder(Dictionary pathParameters { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -67,20 +69,20 @@ public async Task DeleteAsync(Action /// Get Single Execution /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendPrimitiveAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationExecutionRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Delete execution @@ -116,16 +118,17 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithExecutionItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.WithExecutionItemRequestBuilder WithUrl(string rawUrl) { - return new WithExecutionItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Executions.Item.WithExecutionItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/FlowsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/FlowsRequestBuilder.cs index e08313b2..34d809b5 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/FlowsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/FlowsRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\flows /// - public class FlowsRequestBuilder : BaseRequestBuilder + public class FlowsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.authentication.flows.item collection /// Flow id - /// A - public FlowAliasItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.FlowAliasItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("flowAlias%2Did", position); - return new FlowAliasItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.FlowAliasItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,7 +37,7 @@ public FlowsRequestBuilder(Dictionary pathParameters, IRequestAd { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -46,41 +47,40 @@ public FlowsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// Get authentication flows Returns a stream of authentication flows. /// - /// A List<AuthenticationFlowRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationFlowRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, AuthenticationFlowRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationFlowRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// /// Create a new authentication flow /// - /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(AuthenticationFlowRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationFlowRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(AuthenticationFlowRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationFlowRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPostRequestInformation(body, requestConfiguration); - return await RequestAdapter.SendPrimitiveAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); + await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); } /// /// Get authentication flows Returns a stream of authentication flows. @@ -109,11 +109,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(AuthenticationFlowRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationFlowRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(AuthenticationFlowRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationFlowRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -125,11 +125,11 @@ public RequestInformation ToPostRequestInformation(AuthenticationFlowRepresentat /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public FlowsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.FlowsRequestBuilder WithUrl(string rawUrl) { - return new FlowsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.FlowsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Copy/CopyPostRequestBody.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Copy/CopyPostRequestBody.cs index 2b29dd78..3d0ebd6f 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Copy/CopyPostRequestBody.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Copy/CopyPostRequestBody.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Copy { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Copy +{ #pragma warning disable CS1591 - public class CopyPostRequestBody : IAdditionalDataHolder, IParsable + public class CopyPostRequestBody : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public CopyPostRequestBody() { @@ -21,12 +22,12 @@ public CopyPostRequestBody() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static CopyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Copy.CopyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new CopyPostRequestBody(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Copy.CopyPostRequestBody(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Copy/CopyRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Copy/CopyRequestBuilder.cs index 3033fa79..daffb1fd 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Copy/CopyRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Copy/CopyRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Copy { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Copy +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\flows\{flowAlias-id}\copy /// - public class CopyRequestBuilder : BaseRequestBuilder + public class CopyRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public CopyRequestBuilder(Dictionary pathParameters, IRequestAda { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -32,22 +33,21 @@ public CopyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( /// /// Copy existing authentication flow under a new name The new name is given as 'newName' attribute of the passed JSON object /// - /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(CopyPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Copy.CopyPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(CopyPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Copy.CopyPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPostRequestInformation(body, requestConfiguration); - return await RequestAdapter.SendPrimitiveAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); + await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); } /// /// Copy existing authentication flow under a new name The new name is given as 'newName' attribute of the passed JSON object @@ -57,11 +57,11 @@ public async Task PostAsync(CopyPostRequestBody body, ActionConfiguration 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(CopyPostRequestBody body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Copy.CopyPostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(CopyPostRequestBody body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Copy.CopyPostRequestBody body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -73,11 +73,11 @@ public RequestInformation ToPostRequestInformation(CopyPostRequestBody body, Act /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public CopyRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Copy.CopyRequestBuilder WithUrl(string rawUrl) { - return new CopyRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Copy.CopyRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Execution/ExecutionPostRequestBody.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Execution/ExecutionPostRequestBody.cs index a4b24c55..299687bd 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Execution/ExecutionPostRequestBody.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Execution/ExecutionPostRequestBody.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Execution { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Execution +{ #pragma warning disable CS1591 - public class ExecutionPostRequestBody : IAdditionalDataHolder, IParsable + public class ExecutionPostRequestBody : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ExecutionPostRequestBody() { @@ -21,12 +22,12 @@ public ExecutionPostRequestBody() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ExecutionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Execution.ExecutionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ExecutionPostRequestBody(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Execution.ExecutionPostRequestBody(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Execution/ExecutionRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Execution/ExecutionRequestBuilder.cs index 91b94484..f8d7d498 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Execution/ExecutionRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Execution/ExecutionRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Execution { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Execution +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\flows\{flowAlias-id}\executions\execution /// - public class ExecutionRequestBuilder : BaseRequestBuilder + public class ExecutionRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public ExecutionRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -32,22 +33,21 @@ public ExecutionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// Add new authentication execution to a flow /// - /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(ExecutionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Execution.ExecutionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(ExecutionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Execution.ExecutionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPostRequestInformation(body, requestConfiguration); - return await RequestAdapter.SendPrimitiveAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); + await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); } /// /// Add new authentication execution to a flow @@ -57,11 +57,11 @@ public async Task PostAsync(ExecutionPostRequestBody body, ActionConfiguration 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(ExecutionPostRequestBody body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Execution.ExecutionPostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(ExecutionPostRequestBody body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Execution.ExecutionPostRequestBody body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -73,11 +73,11 @@ public RequestInformation ToPostRequestInformation(ExecutionPostRequestBody body /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ExecutionRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Execution.ExecutionRequestBuilder WithUrl(string rawUrl) { - return new ExecutionRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Execution.ExecutionRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/ExecutionsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/ExecutionsRequestBuilder.cs index 069c5675..5d6911aa 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/ExecutionsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/ExecutionsRequestBuilder.cs @@ -10,24 +10,25 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\flows\{flowAlias-id}\executions /// - public class ExecutionsRequestBuilder : BaseRequestBuilder + public class ExecutionsRequestBuilder : BaseRequestBuilder { /// The execution property - public ExecutionRequestBuilder Execution + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Execution.ExecutionRequestBuilder Execution { - get => new ExecutionRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Execution.ExecutionRequestBuilder(PathParameters, RequestAdapter); } /// The flow property - public FlowRequestBuilder Flow + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Flow.FlowRequestBuilder Flow { - get => new FlowRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Flow.FlowRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public ExecutionsRequestBuilder(Dictionary pathParameters, IRequ { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -45,40 +46,40 @@ public ExecutionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// Get authentication executions for a flow /// - /// A + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationExecutionInfoRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendPrimitiveAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationExecutionInfoRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return collectionResult?.ToList(); } /// /// Update authentication executions of a Flow /// - /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(AuthenticationExecutionInfoRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationExecutionInfoRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(AuthenticationExecutionInfoRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationExecutionInfoRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPutRequestInformation(body, requestConfiguration); - return await RequestAdapter.SendPrimitiveAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); + await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); } /// /// Get authentication executions for a flow @@ -96,6 +97,7 @@ public RequestInformation ToGetRequestInformation(Action @@ -106,11 +108,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(AuthenticationExecutionInfoRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationExecutionInfoRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(AuthenticationExecutionInfoRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationExecutionInfoRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -122,11 +124,11 @@ public RequestInformation ToPutRequestInformation(AuthenticationExecutionInfoRep /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ExecutionsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.ExecutionsRequestBuilder WithUrl(string rawUrl) { - return new ExecutionsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.ExecutionsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Flow/FlowPostRequestBody.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Flow/FlowPostRequestBody.cs index 536136c2..213fd85c 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Flow/FlowPostRequestBody.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Flow/FlowPostRequestBody.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Flow { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Flow +{ #pragma warning disable CS1591 - public class FlowPostRequestBody : IAdditionalDataHolder, IParsable + public class FlowPostRequestBody : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public FlowPostRequestBody() { @@ -21,12 +22,12 @@ public FlowPostRequestBody() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static FlowPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Flow.FlowPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new FlowPostRequestBody(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Flow.FlowPostRequestBody(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Flow/FlowRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Flow/FlowRequestBuilder.cs index 6491789e..0ca3c26c 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Flow/FlowRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Flow/FlowRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Flow { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Flow +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\flows\{flowAlias-id}\executions\flow /// - public class FlowRequestBuilder : BaseRequestBuilder + public class FlowRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public FlowRequestBuilder(Dictionary pathParameters, IRequestAda { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -32,22 +33,21 @@ public FlowRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( /// /// Add new flow with new execution to existing flow /// - /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(FlowPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Flow.FlowPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(FlowPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Flow.FlowPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPostRequestInformation(body, requestConfiguration); - return await RequestAdapter.SendPrimitiveAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); + await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); } /// /// Add new flow with new execution to existing flow @@ -57,11 +57,11 @@ public async Task PostAsync(FlowPostRequestBody body, ActionConfiguration 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(FlowPostRequestBody body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Flow.FlowPostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(FlowPostRequestBody body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Flow.FlowPostRequestBody body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -73,11 +73,11 @@ public RequestInformation ToPostRequestInformation(FlowPostRequestBody body, Act /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public FlowRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Flow.FlowRequestBuilder WithUrl(string rawUrl) { - return new FlowRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Flow.FlowRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/FlowAliasItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/FlowAliasItemRequestBuilder.cs index e622c232..47fc16bd 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/FlowAliasItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/FlowAliasItemRequestBuilder.cs @@ -10,24 +10,25 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\flows\{flowAlias-id} /// - public class FlowAliasItemRequestBuilder : BaseRequestBuilder + public class FlowAliasItemRequestBuilder : BaseRequestBuilder { /// The copy property - public CopyRequestBuilder Copy + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Copy.CopyRequestBuilder Copy { - get => new CopyRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Copy.CopyRequestBuilder(PathParameters, RequestAdapter); } /// The executions property - public ExecutionsRequestBuilder Executions + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.ExecutionsRequestBuilder Executions { - get => new ExecutionsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.ExecutionsRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public FlowAliasItemRequestBuilder(Dictionary pathParameters, IR { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -62,40 +63,39 @@ public async Task DeleteAsync(Action /// Get authentication flow for id /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, AuthenticationFlowRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationFlowRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Update an authentication flow /// - /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(AuthenticationFlowRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationFlowRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(AuthenticationFlowRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationFlowRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPutRequestInformation(body, requestConfiguration); - return await RequestAdapter.SendPrimitiveAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); + await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); } /// /// Delete an authentication flow @@ -142,11 +142,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(AuthenticationFlowRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationFlowRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(AuthenticationFlowRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationFlowRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -158,11 +158,11 @@ public RequestInformation ToPutRequestInformation(AuthenticationFlowRepresentati /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public FlowAliasItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.FlowAliasItemRequestBuilder WithUrl(string rawUrl) { - return new FlowAliasItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.FlowAliasItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormActionProviders/FormActionProviders.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormActionProviders/FormActionProviders.cs index bd554a80..3548f63f 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormActionProviders/FormActionProviders.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormActionProviders/FormActionProviders.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormActionProviders { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormActionProviders +{ #pragma warning disable CS1591 - public class FormActionProviders : IAdditionalDataHolder, IParsable + public class FormActionProviders : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public FormActionProviders() { @@ -21,12 +22,12 @@ public FormActionProviders() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static FormActionProviders CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormActionProviders.FormActionProviders CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new FormActionProviders(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormActionProviders.FormActionProviders(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormActionProviders/FormActionProvidersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormActionProviders/FormActionProvidersRequestBuilder.cs index e7817857..860f458d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormActionProviders/FormActionProvidersRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormActionProviders/FormActionProvidersRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormActionProviders { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormActionProviders +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\form-action-providers /// - public class FormActionProvidersRequestBuilder : BaseRequestBuilder + public class FormActionProvidersRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public FormActionProvidersRequestBuilder(Dictionary pathParamete { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -32,20 +33,20 @@ public FormActionProvidersRequestBuilder(string rawUrl, IRequestAdapter requestA /// /// Get form action providers Returns a stream of form action providers. /// - /// A List<FormActionProviders> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormActionProviders.FormActionProviders> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, FormActionProviders.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormActionProviders.FormActionProviders.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -70,11 +71,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public FormActionProvidersRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormActionProviders.FormActionProvidersRequestBuilder WithUrl(string rawUrl) { - return new FormActionProvidersRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormActionProviders.FormActionProvidersRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormProviders/FormProviders.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormProviders/FormProviders.cs index 9a2d6775..2fd21ab8 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormProviders/FormProviders.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormProviders/FormProviders.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormProviders { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormProviders +{ #pragma warning disable CS1591 - public class FormProviders : IAdditionalDataHolder, IParsable + public class FormProviders : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public FormProviders() { @@ -21,12 +22,12 @@ public FormProviders() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static FormProviders CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormProviders.FormProviders CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new FormProviders(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormProviders.FormProviders(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormProviders/FormProvidersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormProviders/FormProvidersRequestBuilder.cs index 3a58798e..a4dc7218 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormProviders/FormProvidersRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormProviders/FormProvidersRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormProviders { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormProviders +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\form-providers /// - public class FormProvidersRequestBuilder : BaseRequestBuilder + public class FormProvidersRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public FormProvidersRequestBuilder(Dictionary pathParameters, IR { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -32,20 +33,20 @@ public FormProvidersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter /// /// Get form providers Returns a stream of form providers. /// - /// A List<FormProviders> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormProviders.FormProviders> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, FormProviders.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormProviders.FormProviders.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -70,11 +71,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public FormProvidersRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormProviders.FormProvidersRequestBuilder WithUrl(string rawUrl) { - return new FormProvidersRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormProviders.FormProvidersRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/PerClientConfigDescription/PerClientConfigDescriptionGetResponse.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/PerClientConfigDescription/PerClientConfigDescriptionGetResponse.cs index c2e126f2..a6e1368d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/PerClientConfigDescription/PerClientConfigDescriptionGetResponse.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/PerClientConfigDescription/PerClientConfigDescriptionGetResponse.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.PerClientConfigDescription { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.PerClientConfigDescription +{ #pragma warning disable CS1591 - public class PerClientConfigDescriptionGetResponse : IAdditionalDataHolder, IParsable + public class PerClientConfigDescriptionGetResponse : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public PerClientConfigDescriptionGetResponse() { @@ -21,12 +22,12 @@ public PerClientConfigDescriptionGetResponse() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static PerClientConfigDescriptionGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.PerClientConfigDescription.PerClientConfigDescriptionGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new PerClientConfigDescriptionGetResponse(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.PerClientConfigDescription.PerClientConfigDescriptionGetResponse(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/PerClientConfigDescription/PerClientConfigDescriptionRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/PerClientConfigDescription/PerClientConfigDescriptionRequestBuilder.cs index 29ca47d7..e45b455d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/PerClientConfigDescription/PerClientConfigDescriptionRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/PerClientConfigDescription/PerClientConfigDescriptionRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.PerClientConfigDescription { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.PerClientConfigDescription +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\per-client-config-description /// - public class PerClientConfigDescriptionRequestBuilder : BaseRequestBuilder + public class PerClientConfigDescriptionRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public PerClientConfigDescriptionRequestBuilder(Dictionary pathP { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -32,20 +33,20 @@ public PerClientConfigDescriptionRequestBuilder(string rawUrl, IRequestAdapter r /// /// Get configuration descriptions for all clients /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, PerClientConfigDescriptionGetResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.PerClientConfigDescription.PerClientConfigDescriptionGetResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Get configuration descriptions for all clients @@ -69,11 +70,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public PerClientConfigDescriptionRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.PerClientConfigDescription.PerClientConfigDescriptionRequestBuilder WithUrl(string rawUrl) { - return new PerClientConfigDescriptionRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.PerClientConfigDescription.PerClientConfigDescriptionRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RegisterRequiredAction/RegisterRequiredActionPostRequestBody.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RegisterRequiredAction/RegisterRequiredActionPostRequestBody.cs index 62c8448d..1c729f55 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RegisterRequiredAction/RegisterRequiredActionPostRequestBody.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RegisterRequiredAction/RegisterRequiredActionPostRequestBody.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RegisterRequiredAction { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RegisterRequiredAction +{ #pragma warning disable CS1591 - public class RegisterRequiredActionPostRequestBody : IAdditionalDataHolder, IParsable + public class RegisterRequiredActionPostRequestBody : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public RegisterRequiredActionPostRequestBody() { @@ -21,12 +22,12 @@ public RegisterRequiredActionPostRequestBody() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static RegisterRequiredActionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RegisterRequiredAction.RegisterRequiredActionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new RegisterRequiredActionPostRequestBody(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RegisterRequiredAction.RegisterRequiredActionPostRequestBody(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RegisterRequiredAction/RegisterRequiredActionRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RegisterRequiredAction/RegisterRequiredActionRequestBuilder.cs index 00e0e88a..f5a33203 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RegisterRequiredAction/RegisterRequiredActionRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RegisterRequiredAction/RegisterRequiredActionRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RegisterRequiredAction { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RegisterRequiredAction +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\register-required-action /// - public class RegisterRequiredActionRequestBuilder : BaseRequestBuilder + public class RegisterRequiredActionRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public RegisterRequiredActionRequestBuilder(Dictionary pathParam { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -37,11 +38,11 @@ public RegisterRequiredActionRequestBuilder(string rawUrl, IRequestAdapter reque /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(RegisterRequiredActionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RegisterRequiredAction.RegisterRequiredActionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(RegisterRequiredActionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RegisterRequiredAction.RegisterRequiredActionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -56,11 +57,11 @@ public async Task PostAsync(RegisterRequiredActionPostRequestBody body, ActionConfiguration 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(RegisterRequiredActionPostRequestBody body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RegisterRequiredAction.RegisterRequiredActionPostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(RegisterRequiredActionPostRequestBody body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RegisterRequiredAction.RegisterRequiredActionPostRequestBody body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -72,11 +73,11 @@ public RequestInformation ToPostRequestInformation(RegisterRequiredActionPostReq /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public RegisterRequiredActionRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RegisterRequiredAction.RegisterRequiredActionRequestBuilder WithUrl(string rawUrl) { - return new RegisterRequiredActionRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RegisterRequiredAction.RegisterRequiredActionRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/Config/ConfigRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/Config/ConfigRequestBuilder.cs new file mode 100644 index 00000000..4d587c8a --- /dev/null +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/Config/ConfigRequestBuilder.cs @@ -0,0 +1,156 @@ +// +using Keycloak.AuthServices.Sdk.Kiota.Admin.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.Config +{ + /// + /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\required-actions\{alias}\config + /// + public class ConfigRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/required-actions/{alias}/config", 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 ConfigRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/required-actions/{alias}/config", rawUrl) + { + } + /// + /// Delete RequiredAction configuration + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#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); + await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); + } + /// + /// Get RequiredAction configuration + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#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); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionConfigRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + } + /// + /// Update RequiredAction configuration + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionConfigRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionConfigRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete RequiredAction configuration + /// + /// 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); + return requestInfo; + } + /// + /// Get RequiredAction configuration + /// + /// 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 RequiredAction configuration + /// + /// 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 ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionConfigRepresentation body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionConfigRepresentation body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + 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 Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.Config.ConfigRequestBuilder WithUrl(string rawUrl) + { + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.Config.ConfigRequestBuilder(rawUrl, RequestAdapter); + } + } +} diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/ConfigDescription/ConfigDescriptionRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/ConfigDescription/ConfigDescriptionRequestBuilder.cs new file mode 100644 index 00000000..73de432f --- /dev/null +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/ConfigDescription/ConfigDescriptionRequestBuilder.cs @@ -0,0 +1,81 @@ +// +using Keycloak.AuthServices.Sdk.Kiota.Admin.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.ConfigDescription +{ + /// + /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\required-actions\{alias}\config-description + /// + public class ConfigDescriptionRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfigDescriptionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/required-actions/{alias}/config-description", 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 ConfigDescriptionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/required-actions/{alias}/config-description", rawUrl) + { + } + /// + /// Get RequiredAction provider configuration description + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#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); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionConfigInfoRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + } + /// + /// Get RequiredAction provider configuration description + /// + /// 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 Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.ConfigDescription.ConfigDescriptionRequestBuilder WithUrl(string rawUrl) + { + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.ConfigDescription.ConfigDescriptionRequestBuilder(rawUrl, RequestAdapter); + } + } +} diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/LowerPriority/LowerPriorityRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/LowerPriority/LowerPriorityRequestBuilder.cs index 2bb48383..753f1dcb 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/LowerPriority/LowerPriorityRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/LowerPriority/LowerPriorityRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.LowerPriority { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.LowerPriority +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\required-actions\{alias}\lower-priority /// - public class LowerPriorityRequestBuilder : BaseRequestBuilder + public class LowerPriorityRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public LowerPriorityRequestBuilder(Dictionary pathParameters, IR { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -67,11 +68,11 @@ public RequestInformation ToPostRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public LowerPriorityRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.LowerPriority.LowerPriorityRequestBuilder WithUrl(string rawUrl) { - return new LowerPriorityRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.LowerPriority.LowerPriorityRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/RaisePriority/RaisePriorityRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/RaisePriority/RaisePriorityRequestBuilder.cs index 261a5b20..a6f3bc13 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/RaisePriority/RaisePriorityRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/RaisePriority/RaisePriorityRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.RaisePriority { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.RaisePriority +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\required-actions\{alias}\raise-priority /// - public class RaisePriorityRequestBuilder : BaseRequestBuilder + public class RaisePriorityRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public RaisePriorityRequestBuilder(Dictionary pathParameters, IR { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -67,11 +68,11 @@ public RequestInformation ToPostRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public RaisePriorityRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.RaisePriority.RaisePriorityRequestBuilder WithUrl(string rawUrl) { - return new RaisePriorityRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.RaisePriority.RaisePriorityRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/WithAliasItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/WithAliasItemRequestBuilder.cs index 17e2794c..a23c9c55 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/WithAliasItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/WithAliasItemRequestBuilder.cs @@ -1,4 +1,6 @@ // +using Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.Config; +using Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.ConfigDescription; using Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.LowerPriority; using Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.RaisePriority; using Keycloak.AuthServices.Sdk.Kiota.Admin.Models; @@ -10,24 +12,35 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\required-actions\{alias} /// - public class WithAliasItemRequestBuilder : BaseRequestBuilder + public class WithAliasItemRequestBuilder : BaseRequestBuilder { + /// The config property + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.Config.ConfigRequestBuilder Config + { + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.Config.ConfigRequestBuilder(PathParameters, RequestAdapter); + } + /// The configDescription property + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.ConfigDescription.ConfigDescriptionRequestBuilder ConfigDescription + { + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.ConfigDescription.ConfigDescriptionRequestBuilder(PathParameters, RequestAdapter); + } /// The lowerPriority property - public LowerPriorityRequestBuilder LowerPriority + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.LowerPriority.LowerPriorityRequestBuilder LowerPriority { - get => new LowerPriorityRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.LowerPriority.LowerPriorityRequestBuilder(PathParameters, RequestAdapter); } /// The raisePriority property - public RaisePriorityRequestBuilder RaisePriority + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.RaisePriority.RaisePriorityRequestBuilder RaisePriority { - get => new RaisePriorityRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.RaisePriority.RaisePriorityRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +48,7 @@ public WithAliasItemRequestBuilder(Dictionary pathParameters, IR { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -62,20 +75,20 @@ public async Task DeleteAsync(Action /// Get required action for alias /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, RequiredActionProviderRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionProviderRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Update required action @@ -85,11 +98,11 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(RequiredActionProviderRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionProviderRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(RequiredActionProviderRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionProviderRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -141,11 +154,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(RequiredActionProviderRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionProviderRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(RequiredActionProviderRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionProviderRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -157,11 +170,11 @@ public RequestInformation ToPutRequestInformation(RequiredActionProviderRepresen /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithAliasItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.WithAliasItemRequestBuilder WithUrl(string rawUrl) { - return new WithAliasItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.WithAliasItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/RequiredActionsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/RequiredActionsRequestBuilder.cs index 0e6576b5..4ef2b60a 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/RequiredActionsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/RequiredActionsRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\required-actions /// - public class RequiredActionsRequestBuilder : BaseRequestBuilder + public class RequiredActionsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.authentication.requiredActions.item collection /// Alias of required action - /// A - public WithAliasItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.WithAliasItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("alias", position); - return new WithAliasItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.Item.WithAliasItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,7 +37,7 @@ public RequiredActionsRequestBuilder(Dictionary pathParameters, { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -46,20 +47,20 @@ public RequiredActionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt /// /// Get required actions Returns a stream of required actions. /// - /// A List<RequiredActionProviderRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionProviderRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RequiredActionProviderRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionProviderRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -84,11 +85,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public RequiredActionsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.RequiredActionsRequestBuilder WithUrl(string rawUrl) { - return new RequiredActionsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions.RequiredActionsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/UnregisteredRequiredActions/UnregisteredRequiredActions.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/UnregisteredRequiredActions/UnregisteredRequiredActions.cs index 9f7fd180..d79fcdbb 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/UnregisteredRequiredActions/UnregisteredRequiredActions.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/UnregisteredRequiredActions/UnregisteredRequiredActions.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.UnregisteredRequiredActions { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.UnregisteredRequiredActions +{ #pragma warning disable CS1591 - public class UnregisteredRequiredActions : IAdditionalDataHolder, IParsable + public class UnregisteredRequiredActions : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UnregisteredRequiredActions() { @@ -21,12 +22,12 @@ public UnregisteredRequiredActions() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UnregisteredRequiredActions CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.UnregisteredRequiredActions.UnregisteredRequiredActions CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UnregisteredRequiredActions(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.UnregisteredRequiredActions.UnregisteredRequiredActions(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/UnregisteredRequiredActions/UnregisteredRequiredActionsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/UnregisteredRequiredActions/UnregisteredRequiredActionsRequestBuilder.cs index 60841bc2..0e897480 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/UnregisteredRequiredActions/UnregisteredRequiredActionsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/UnregisteredRequiredActions/UnregisteredRequiredActionsRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.UnregisteredRequiredActions { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.UnregisteredRequiredActions +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\authentication\unregistered-required-actions /// - public class UnregisteredRequiredActionsRequestBuilder : BaseRequestBuilder + public class UnregisteredRequiredActionsRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public UnregisteredRequiredActionsRequestBuilder(Dictionary path { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -32,20 +33,20 @@ public UnregisteredRequiredActionsRequestBuilder(string rawUrl, IRequestAdapter /// /// Get unregistered required actions Returns a stream of unregistered required actions. /// - /// A List<UnregisteredRequiredActions> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.UnregisteredRequiredActions.UnregisteredRequiredActions> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, UnregisteredRequiredActions.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.UnregisteredRequiredActions.UnregisteredRequiredActions.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -70,11 +71,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public UnregisteredRequiredActionsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.UnregisteredRequiredActions.UnregisteredRequiredActionsRequestBuilder WithUrl(string rawUrl) { - return new UnregisteredRequiredActionsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.UnregisteredRequiredActions.UnregisteredRequiredActionsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientDescriptionConverter/ClientDescriptionConverterRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientDescriptionConverter/ClientDescriptionConverterRequestBuilder.cs index b8098442..9fd62586 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientDescriptionConverter/ClientDescriptionConverterRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientDescriptionConverter/ClientDescriptionConverterRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientDescriptionConverter { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientDescriptionConverter +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-description-converter /// - public class ClientDescriptionConverterRequestBuilder : BaseRequestBuilder + public class ClientDescriptionConverterRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public ClientDescriptionConverterRequestBuilder(Dictionary pathP { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,22 +34,22 @@ public ClientDescriptionConverterRequestBuilder(string rawUrl, IRequestAdapter r /// /// Base path for importing clients under this realm. /// - /// A + /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(string body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(string body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(string body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(string body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif if(string.IsNullOrEmpty(body)) throw new ArgumentNullException(nameof(body)); var requestInfo = ToPostRequestInformation(body, requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ClientRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Base path for importing clients under this realm. @@ -75,11 +76,11 @@ public RequestInformation ToPostRequestInformation(string body, Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ClientDescriptionConverterRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientDescriptionConverter.ClientDescriptionConverterRequestBuilder WithUrl(string rawUrl) { - return new ClientDescriptionConverterRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientDescriptionConverter.ClientDescriptionConverterRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientPolicies/ClientPoliciesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientPolicies/ClientPoliciesRequestBuilder.cs index 074b3b4d..54c202bb 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientPolicies/ClientPoliciesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientPolicies/ClientPoliciesRequestBuilder.cs @@ -7,24 +7,25 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientPolicies { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientPolicies +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-policies /// - public class ClientPoliciesRequestBuilder : BaseRequestBuilder + public class ClientPoliciesRequestBuilder : BaseRequestBuilder { /// The policies property - public PoliciesRequestBuilder Policies + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientPolicies.Policies.PoliciesRequestBuilder Policies { - get => new PoliciesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientPolicies.Policies.PoliciesRequestBuilder(PathParameters, RequestAdapter); } /// The profiles property - public ProfilesRequestBuilder Profiles + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientPolicies.Profiles.ProfilesRequestBuilder Profiles { - get => new ProfilesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientPolicies.Profiles.ProfilesRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -32,7 +33,7 @@ public ClientPoliciesRequestBuilder(Dictionary pathParameters, I { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientPolicies/Policies/PoliciesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientPolicies/Policies/PoliciesRequestBuilder.cs index d69aae5b..4932ccc6 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientPolicies/Policies/PoliciesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientPolicies/Policies/PoliciesRequestBuilder.cs @@ -8,42 +8,43 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientPolicies.Policies { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientPolicies.Policies +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-policies\policies /// - public class PoliciesRequestBuilder : BaseRequestBuilder + public class PoliciesRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public PoliciesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/client-policies/policies", pathParameters) + public PoliciesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/client-policies/policies{?include%2Dglobal%2Dpolicies*}", pathParameters) { } /// - /// Instantiates a new and sets the default values. + /// 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 PoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/client-policies/policies", rawUrl) + public PoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/client-policies/policies{?include%2Dglobal%2Dpolicies*}", rawUrl) { } - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ClientPoliciesRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientPoliciesRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// A /// The request body @@ -51,11 +52,11 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(ClientPoliciesRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientPoliciesRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(ClientPoliciesRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientPoliciesRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -66,11 +67,11 @@ public async Task PutAsync(ClientPoliciesRepresentation body, ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -83,11 +84,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(ClientPoliciesRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientPoliciesRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(ClientPoliciesRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientPoliciesRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -99,11 +100,18 @@ public RequestInformation ToPutRequestInformation(ClientPoliciesRepresentation b /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public PoliciesRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientPolicies.Policies.PoliciesRequestBuilder WithUrl(string rawUrl) { - return new PoliciesRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientPolicies.Policies.PoliciesRequestBuilder(rawUrl, RequestAdapter); + } + #pragma warning disable CS1591 + public class PoliciesRequestBuilderGetQueryParameters + #pragma warning restore CS1591 + { + [QueryParameter("include%2Dglobal%2Dpolicies")] + public bool? IncludeGlobalPolicies { get; set; } } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientPolicies/Profiles/ProfilesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientPolicies/Profiles/ProfilesRequestBuilder.cs index 587058aa..127c61b6 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientPolicies/Profiles/ProfilesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientPolicies/Profiles/ProfilesRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientPolicies.Profiles { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientPolicies.Profiles +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-policies\profiles /// - public class ProfilesRequestBuilder : BaseRequestBuilder + public class ProfilesRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,27 +24,27 @@ public ProfilesRequestBuilder(Dictionary pathParameters, IReques { } /// - /// Instantiates a new and sets the default values. + /// 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 ProfilesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/client-policies/profiles{?include%2Dglobal%2Dprofiles*}", rawUrl) { } - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ClientProfilesRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientProfilesRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// A /// The request body @@ -51,11 +52,11 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(ClientProfilesRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientProfilesRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(ClientProfilesRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientProfilesRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -66,11 +67,11 @@ public async Task PutAsync(ClientProfilesRepresentation body, ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -83,11 +84,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(ClientProfilesRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientProfilesRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(ClientProfilesRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientProfilesRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -99,11 +100,11 @@ public RequestInformation ToPutRequestInformation(ClientProfilesRepresentation b /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ProfilesRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientPolicies.Profiles.ProfilesRequestBuilder WithUrl(string rawUrl) { - return new ProfilesRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientPolicies.Profiles.ProfilesRequestBuilder(rawUrl, RequestAdapter); } #pragma warning disable CS1591 public class ProfilesRequestBuilderGetQueryParameters diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientRegistrationPolicy/ClientRegistrationPolicyRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientRegistrationPolicy/ClientRegistrationPolicyRequestBuilder.cs index 1e49e408..9e673b7e 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientRegistrationPolicy/ClientRegistrationPolicyRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientRegistrationPolicy/ClientRegistrationPolicyRequestBuilder.cs @@ -6,19 +6,20 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientRegistrationPolicy { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientRegistrationPolicy +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-registration-policy /// - public class ClientRegistrationPolicyRequestBuilder : BaseRequestBuilder + public class ClientRegistrationPolicyRequestBuilder : BaseRequestBuilder { /// The providers property - public ProvidersRequestBuilder Providers + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientRegistrationPolicy.Providers.ProvidersRequestBuilder Providers { - get => new ProvidersRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientRegistrationPolicy.Providers.ProvidersRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -26,7 +27,7 @@ public ClientRegistrationPolicyRequestBuilder(Dictionary pathPar { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientRegistrationPolicy/Providers/ProvidersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientRegistrationPolicy/Providers/ProvidersRequestBuilder.cs index 1a019922..744a6174 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientRegistrationPolicy/Providers/ProvidersRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientRegistrationPolicy/Providers/ProvidersRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientRegistrationPolicy.Providers { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientRegistrationPolicy.Providers +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-registration-policy\providers /// - public class ProvidersRequestBuilder : BaseRequestBuilder + public class ProvidersRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public ProvidersRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public ProvidersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// Base path for retrieve providers with the configProperties properly filled /// - /// A List<ComponentTypeRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentTypeRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ComponentTypeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentTypeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ProvidersRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientRegistrationPolicy.Providers.ProvidersRequestBuilder WithUrl(string rawUrl) { - return new ProvidersRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientRegistrationPolicy.Providers.ProvidersRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/ClientScopesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/ClientScopesRequestBuilder.cs index 9ec2e81e..af22ad1d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/ClientScopesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/ClientScopesRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-scopes /// - public class ClientScopesRequestBuilder : BaseRequestBuilder + public class ClientScopesRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.clientScopes.item collection /// Unique identifier of the item - /// A - public ClientScopeItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ClientScopeItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("client%2Dscope%2Did", position); - return new ClientScopeItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ClientScopeItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,7 +37,7 @@ public ClientScopesRequestBuilder(Dictionary pathParameters, IRe { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -46,20 +47,20 @@ public ClientScopesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) /// /// Get client scopes belonging to the realm Returns a list of client scopes belonging to the realm /// - /// A List<ClientScopeRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ClientScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(ClientScopeRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(ClientScopeRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -109,11 +110,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(ClientScopeRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(ClientScopeRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -125,11 +126,11 @@ public RequestInformation ToPostRequestInformation(ClientScopeRepresentation bod /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ClientScopesRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.ClientScopesRequestBuilder WithUrl(string rawUrl) { - return new ClientScopesRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.ClientScopesRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ClientScopeItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ClientScopeItemRequestBuilder.cs index 508442e9..f1b6b8c1 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ClientScopeItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ClientScopeItemRequestBuilder.cs @@ -10,24 +10,25 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-scopes\{client-scope-id} /// - public class ClientScopeItemRequestBuilder : BaseRequestBuilder + public class ClientScopeItemRequestBuilder : BaseRequestBuilder { /// The protocolMappers property - public ProtocolMappersRequestBuilder ProtocolMappers + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.ProtocolMappersRequestBuilder ProtocolMappers { - get => new ProtocolMappersRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.ProtocolMappersRequestBuilder(PathParameters, RequestAdapter); } /// The scopeMappings property - public ScopeMappingsRequestBuilder ScopeMappings + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.ScopeMappingsRequestBuilder ScopeMappings { - get => new ScopeMappingsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.ScopeMappingsRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public ClientScopeItemRequestBuilder(Dictionary pathParameters, { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -63,20 +64,20 @@ public async Task DeleteAsync(Action /// Get representation of the client scope /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ClientScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Update the client scope @@ -87,11 +88,11 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(ClientScopeRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(ClientScopeRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -143,11 +144,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(ClientScopeRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(ClientScopeRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -159,11 +160,11 @@ public RequestInformation ToPutRequestInformation(ClientScopeRepresentation body /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ClientScopeItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ClientScopeItemRequestBuilder WithUrl(string rawUrl) { - return new ClientScopeItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ClientScopeItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/AddModels/AddModelsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/AddModels/AddModelsRequestBuilder.cs index 00a21a63..61f448d6 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/AddModels/AddModelsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/AddModels/AddModelsRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.AddModels { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.AddModels +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-scopes\{client-scope-id}\protocol-mappers\add-models /// - public class AddModelsRequestBuilder : BaseRequestBuilder + public class AddModelsRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public AddModelsRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -38,11 +39,11 @@ public AddModelsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -57,11 +58,11 @@ public async Task PostAsync(List body, ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -73,11 +74,11 @@ public RequestInformation ToPostRequestInformation(List /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public AddModelsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.AddModels.AddModelsRequestBuilder WithUrl(string rawUrl) { - return new AddModelsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.AddModels.AddModelsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/ModelsRequests/Item/ModelsItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/ModelsRequests/Item/ModelsItemRequestBuilder.cs index ea28dd5b..267c1b6e 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/ModelsRequests/Item/ModelsItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/ModelsRequests/Item/ModelsItemRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.ModelsRequests.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.ModelsRequests.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-scopes\{client-scope-id}\protocol-mappers\models\{id} /// - public class ModelsItemRequestBuilder : BaseRequestBuilder + public class ModelsItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public ModelsItemRequestBuilder(Dictionary pathParameters, IRequ { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -50,20 +51,20 @@ public async Task DeleteAsync(Action /// Get mapper by id /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ProtocolMapperRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Update the mapper @@ -73,11 +74,11 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(ProtocolMapperRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(ProtocolMapperRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -129,11 +130,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(ProtocolMapperRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(ProtocolMapperRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -145,11 +146,11 @@ public RequestInformation ToPutRequestInformation(ProtocolMapperRepresentation b /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ModelsItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.ModelsRequests.Item.ModelsItemRequestBuilder WithUrl(string rawUrl) { - return new ModelsItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.ModelsRequests.Item.ModelsItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/ModelsRequests/ModelsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/ModelsRequests/ModelsRequestBuilder.cs index 76d00275..fdbde559 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/ModelsRequests/ModelsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/ModelsRequests/ModelsRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.ModelsRequests { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.ModelsRequests +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-scopes\{client-scope-id}\protocol-mappers\models /// - public class ModelsRequestBuilder : BaseRequestBuilder + public class ModelsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.clientScopes.item.protocolMappers.modelsRequests.item collection /// Mapper id - /// A - public ModelsItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.ModelsRequests.Item.ModelsItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("id", position); - return new ModelsItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.ModelsRequests.Item.ModelsItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,7 +37,7 @@ public ModelsRequestBuilder(Dictionary pathParameters, IRequestA { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -46,20 +47,20 @@ public ModelsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// /// Get mappers /// - /// A List<ProtocolMapperRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ProtocolMapperRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(ProtocolMapperRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(ProtocolMapperRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -109,11 +110,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(ProtocolMapperRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(ProtocolMapperRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -125,11 +126,11 @@ public RequestInformation ToPostRequestInformation(ProtocolMapperRepresentation /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ModelsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.ModelsRequests.ModelsRequestBuilder WithUrl(string rawUrl) { - return new ModelsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.ModelsRequests.ModelsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/Protocol/Item/WithProtocolItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/Protocol/Item/WithProtocolItemRequestBuilder.cs index e5df31d7..c801d370 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/Protocol/Item/WithProtocolItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/Protocol/Item/WithProtocolItemRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.Protocol.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.Protocol.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-scopes\{client-scope-id}\protocol-mappers\protocol\{protocol} /// - public class WithProtocolItemRequestBuilder : BaseRequestBuilder + public class WithProtocolItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public WithProtocolItemRequestBuilder(Dictionary pathParameters, { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public WithProtocolItemRequestBuilder(string rawUrl, IRequestAdapter requestAdap /// /// Get mappers by name for a specific protocol /// - /// A List<ProtocolMapperRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ProtocolMapperRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithProtocolItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.Protocol.Item.WithProtocolItemRequestBuilder WithUrl(string rawUrl) { - return new WithProtocolItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.Protocol.Item.WithProtocolItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/Protocol/ProtocolRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/Protocol/ProtocolRequestBuilder.cs index a6cf5d08..b960d525 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/Protocol/ProtocolRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/Protocol/ProtocolRequestBuilder.cs @@ -6,26 +6,27 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.Protocol { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.Protocol +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-scopes\{client-scope-id}\protocol-mappers\protocol /// - public class ProtocolRequestBuilder : BaseRequestBuilder + public class ProtocolRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.clientScopes.item.protocolMappers.protocol.item collection /// Unique identifier of the item - /// A - public WithProtocolItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.Protocol.Item.WithProtocolItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("protocol", position); - return new WithProtocolItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.Protocol.Item.WithProtocolItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -33,7 +34,7 @@ public ProtocolRequestBuilder(Dictionary pathParameters, IReques { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/ProtocolMappersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/ProtocolMappersRequestBuilder.cs index 2d204598..1baa69c7 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/ProtocolMappersRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ProtocolMappers/ProtocolMappersRequestBuilder.cs @@ -8,29 +8,30 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-scopes\{client-scope-id}\protocol-mappers /// - public class ProtocolMappersRequestBuilder : BaseRequestBuilder + public class ProtocolMappersRequestBuilder : BaseRequestBuilder { /// The addModels property - public AddModelsRequestBuilder AddModels + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.AddModels.AddModelsRequestBuilder AddModels { - get => new AddModelsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.AddModels.AddModelsRequestBuilder(PathParameters, RequestAdapter); } /// The models property - public ModelsRequestBuilder Models + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.ModelsRequests.ModelsRequestBuilder Models { - get => new ModelsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.ModelsRequests.ModelsRequestBuilder(PathParameters, RequestAdapter); } /// The protocol property - public ProtocolRequestBuilder Protocol + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.Protocol.ProtocolRequestBuilder Protocol { - get => new ProtocolRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ProtocolMappers.Protocol.ProtocolRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -38,7 +39,7 @@ public ProtocolMappersRequestBuilder(Dictionary pathParameters, { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Clients/ClientsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Clients/ClientsRequestBuilder.cs index 54d4c91a..74988051 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Clients/ClientsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Clients/ClientsRequestBuilder.cs @@ -6,26 +6,27 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Clients { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Clients +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-scopes\{client-scope-id}\scope-mappings\clients /// - public class ClientsRequestBuilder : BaseRequestBuilder + public class ClientsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.clientScopes.item.scopeMappings.clients.item collection /// Unique identifier of the item - /// A - public WithClientItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Clients.Item.WithClientItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("client", position); - return new WithClientItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Clients.Item.WithClientItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -33,7 +34,7 @@ public ClientsRequestBuilder(Dictionary pathParameters, IRequest { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Clients/Item/Available/AvailableRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Clients/Item/Available/AvailableRequestBuilder.cs index 183c4f7a..9dd3f709 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Clients/Item/Available/AvailableRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Clients/Item/Available/AvailableRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Clients.Item.Available { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Clients.Item.Available +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-scopes\{client-scope-id}\scope-mappings\clients\{client}\available /// - public class AvailableRequestBuilder : BaseRequestBuilder + public class AvailableRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public AvailableRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public AvailableRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// The available client-level roles Returns the roles for the client that can be associated with the client's scope /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public AvailableRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Clients.Item.Available.AvailableRequestBuilder WithUrl(string rawUrl) { - return new AvailableRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Clients.Item.Available.AvailableRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Clients/Item/Composite/CompositeRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Clients/Item/Composite/CompositeRequestBuilder.cs index 7e6ef573..a70ae707 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Clients/Item/Composite/CompositeRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Clients/Item/Composite/CompositeRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Clients.Item.Composite { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Clients.Item.Composite +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-scopes\{client-scope-id}\scope-mappings\clients\{client}\composite /// - public class CompositeRequestBuilder : BaseRequestBuilder + public class CompositeRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public CompositeRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public CompositeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// Get effective client roles Returns the roles for the client that are associated with the client's scope. /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -56,11 +57,11 @@ public async Task> GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public CompositeRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Clients.Item.Composite.CompositeRequestBuilder WithUrl(string rawUrl) { - return new CompositeRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Clients.Item.Composite.CompositeRequestBuilder(rawUrl, RequestAdapter); } /// /// Get effective client roles Returns the roles for the client that are associated with the client's scope. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Clients/Item/WithClientItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Clients/Item/WithClientItemRequestBuilder.cs index f4f0f6d4..684241e0 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Clients/Item/WithClientItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Clients/Item/WithClientItemRequestBuilder.cs @@ -10,24 +10,25 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Clients.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Clients.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-scopes\{client-scope-id}\scope-mappings\clients\{client} /// - public class WithClientItemRequestBuilder : BaseRequestBuilder + public class WithClientItemRequestBuilder : BaseRequestBuilder { /// The available property - public AvailableRequestBuilder Available + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Clients.Item.Available.AvailableRequestBuilder Available { - get => new AvailableRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Clients.Item.Available.AvailableRequestBuilder(PathParameters, RequestAdapter); } /// The composite property - public CompositeRequestBuilder Composite + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Clients.Item.Composite.CompositeRequestBuilder Composite { - get => new CompositeRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Clients.Item.Composite.CompositeRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public WithClientItemRequestBuilder(Dictionary pathParameters, I { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -50,11 +51,11 @@ public WithClientItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapte /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -64,20 +65,20 @@ public async Task DeleteAsync(List body, Action /// Get the roles associated with a client's scope Returns roles for the client. /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -88,11 +89,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -107,11 +108,11 @@ public async Task PostAsync(List body, ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -147,11 +148,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -163,11 +164,11 @@ public RequestInformation ToPostRequestInformation(List body /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithClientItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Clients.Item.WithClientItemRequestBuilder WithUrl(string rawUrl) { - return new WithClientItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Clients.Item.WithClientItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Realm/Available/AvailableRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Realm/Available/AvailableRequestBuilder.cs index 8c6e8cae..10b4e01a 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Realm/Available/AvailableRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Realm/Available/AvailableRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Realm.Available { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Realm.Available +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-scopes\{client-scope-id}\scope-mappings\realm\available /// - public class AvailableRequestBuilder : BaseRequestBuilder + public class AvailableRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public AvailableRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public AvailableRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// Get realm-level roles that are available to attach to this client's scope /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public AvailableRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Realm.Available.AvailableRequestBuilder WithUrl(string rawUrl) { - return new AvailableRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Realm.Available.AvailableRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Realm/Composite/CompositeRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Realm/Composite/CompositeRequestBuilder.cs index 12fb05f3..c6013ec3 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Realm/Composite/CompositeRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Realm/Composite/CompositeRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Realm.Composite { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Realm.Composite +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-scopes\{client-scope-id}\scope-mappings\realm\composite /// - public class CompositeRequestBuilder : BaseRequestBuilder + public class CompositeRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public CompositeRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public CompositeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// The method is really to show a comprehensive total view of realm-level roles associated with the client. /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -56,11 +57,11 @@ public async Task> GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public CompositeRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Realm.Composite.CompositeRequestBuilder WithUrl(string rawUrl) { - return new CompositeRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Realm.Composite.CompositeRequestBuilder(rawUrl, RequestAdapter); } /// /// The method is really to show a comprehensive total view of realm-level roles associated with the client. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Realm/RealmRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Realm/RealmRequestBuilder.cs index da06e48d..f1bc8893 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Realm/RealmRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/Realm/RealmRequestBuilder.cs @@ -10,24 +10,25 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Realm { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Realm +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-scopes\{client-scope-id}\scope-mappings\realm /// - public class RealmRequestBuilder : BaseRequestBuilder + public class RealmRequestBuilder : BaseRequestBuilder { /// The available property - public AvailableRequestBuilder Available + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Realm.Available.AvailableRequestBuilder Available { - get => new AvailableRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Realm.Available.AvailableRequestBuilder(PathParameters, RequestAdapter); } /// The composite property - public CompositeRequestBuilder Composite + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Realm.Composite.CompositeRequestBuilder Composite { - get => new CompositeRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Realm.Composite.CompositeRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public RealmRequestBuilder(Dictionary pathParameters, IRequestAd { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -50,11 +51,11 @@ public RealmRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -64,20 +65,20 @@ public async Task DeleteAsync(List body, Action /// Get realm-level roles associated with the client's scope /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -88,11 +89,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -107,11 +108,11 @@ public async Task PostAsync(List body, ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -147,11 +148,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -163,11 +164,11 @@ public RequestInformation ToPostRequestInformation(List body /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public RealmRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Realm.RealmRequestBuilder WithUrl(string rawUrl) { - return new RealmRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Realm.RealmRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/ScopeMappingsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/ScopeMappingsRequestBuilder.cs index 6d959833..08222cc1 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/ScopeMappingsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientScopes/Item/ScopeMappings/ScopeMappingsRequestBuilder.cs @@ -10,26 +10,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-scopes\{client-scope-id}\scope-mappings /// - public class ScopeMappingsRequestBuilder : BaseRequestBuilder + public class ScopeMappingsRequestBuilder : BaseRequestBuilder { /// The clients property [Obsolete("")] - public ClientsRequestBuilder Clients + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Clients.ClientsRequestBuilder Clients { - get => new ClientsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Clients.ClientsRequestBuilder(PathParameters, RequestAdapter); } /// The realm property [Obsolete("")] - public RealmRequestBuilder Realm + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Realm.RealmRequestBuilder Realm { - get => new RealmRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.Realm.RealmRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -37,7 +38,7 @@ public ScopeMappingsRequestBuilder(Dictionary pathParameters, IR { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -47,21 +48,21 @@ public ScopeMappingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter /// /// Get all scope mappings for the client /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. [Obsolete("")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, MappingsRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.MappingsRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Get all scope mappings for the client @@ -86,12 +87,12 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. [Obsolete("")] - public ScopeMappingsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.ScopeMappingsRequestBuilder WithUrl(string rawUrl) { - return new ScopeMappingsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.Item.ScopeMappings.ScopeMappingsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientSessionStats/ClientSessionStats.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientSessionStats/ClientSessionStats.cs index a37f08f4..28f04092 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientSessionStats/ClientSessionStats.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientSessionStats/ClientSessionStats.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientSessionStats { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientSessionStats +{ #pragma warning disable CS1591 - public class ClientSessionStats : IAdditionalDataHolder, IParsable + public class ClientSessionStats : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ClientSessionStats() { @@ -21,12 +22,12 @@ public ClientSessionStats() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ClientSessionStats CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientSessionStats.ClientSessionStats CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ClientSessionStats(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientSessionStats.ClientSessionStats(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientSessionStats/ClientSessionStatsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientSessionStats/ClientSessionStatsRequestBuilder.cs index 41397930..60d36ae7 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientSessionStats/ClientSessionStatsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientSessionStats/ClientSessionStatsRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientSessionStats { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientSessionStats +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-session-stats /// - public class ClientSessionStatsRequestBuilder : BaseRequestBuilder + public class ClientSessionStatsRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public ClientSessionStatsRequestBuilder(Dictionary pathParameter { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -32,20 +33,20 @@ public ClientSessionStatsRequestBuilder(string rawUrl, IRequestAdapter requestAd /// /// The key is the client id, the value is the number of sessions that currently are active with that client. Only clients that actually have a session associated with them will be in this map. /// - /// A List<ClientSessionStats> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientSessionStats.ClientSessionStats> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ClientSessionStats.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientSessionStats.ClientSessionStats.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -70,11 +71,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ClientSessionStatsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientSessionStats.ClientSessionStatsRequestBuilder WithUrl(string rawUrl) { - return new ClientSessionStatsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientSessionStats.ClientSessionStatsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/ClientTemplatesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/ClientTemplatesRequestBuilder.cs index 64241efc..36e3cea2 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/ClientTemplatesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/ClientTemplatesRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-templates /// - public class ClientTemplatesRequestBuilder : BaseRequestBuilder + public class ClientTemplatesRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.clientTemplates.item collection /// Unique identifier of the item - /// A - public ClientScopeItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ClientScopeItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("client%2Dscope%2Did", position); - return new ClientScopeItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ClientScopeItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,7 +37,7 @@ public ClientTemplatesRequestBuilder(Dictionary pathParameters, { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -46,20 +47,20 @@ public ClientTemplatesRequestBuilder(string rawUrl, IRequestAdapter requestAdapt /// /// Get client scopes belonging to the realm Returns a list of client scopes belonging to the realm /// - /// A List<ClientScopeRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ClientScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(ClientScopeRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(ClientScopeRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -109,11 +110,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(ClientScopeRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(ClientScopeRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -125,11 +126,11 @@ public RequestInformation ToPostRequestInformation(ClientScopeRepresentation bod /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ClientTemplatesRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.ClientTemplatesRequestBuilder WithUrl(string rawUrl) { - return new ClientTemplatesRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.ClientTemplatesRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ClientScopeItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ClientScopeItemRequestBuilder.cs index 67af544a..7725bb1a 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ClientScopeItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ClientScopeItemRequestBuilder.cs @@ -10,24 +10,25 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-templates\{client-scope-id} /// - public class ClientScopeItemRequestBuilder : BaseRequestBuilder + public class ClientScopeItemRequestBuilder : BaseRequestBuilder { /// The protocolMappers property - public ProtocolMappersRequestBuilder ProtocolMappers + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.ProtocolMappersRequestBuilder ProtocolMappers { - get => new ProtocolMappersRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.ProtocolMappersRequestBuilder(PathParameters, RequestAdapter); } /// The scopeMappings property - public ScopeMappingsRequestBuilder ScopeMappings + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.ScopeMappingsRequestBuilder ScopeMappings { - get => new ScopeMappingsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.ScopeMappingsRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public ClientScopeItemRequestBuilder(Dictionary pathParameters, { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -63,20 +64,20 @@ public async Task DeleteAsync(Action /// Get representation of the client scope /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ClientScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Update the client scope @@ -87,11 +88,11 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(ClientScopeRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(ClientScopeRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -143,11 +144,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(ClientScopeRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(ClientScopeRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -159,11 +160,11 @@ public RequestInformation ToPutRequestInformation(ClientScopeRepresentation body /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ClientScopeItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ClientScopeItemRequestBuilder WithUrl(string rawUrl) { - return new ClientScopeItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ClientScopeItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/AddModels/AddModelsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/AddModels/AddModelsRequestBuilder.cs index 4b7ed5ee..18745355 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/AddModels/AddModelsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/AddModels/AddModelsRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.AddModels { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.AddModels +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-templates\{client-scope-id}\protocol-mappers\add-models /// - public class AddModelsRequestBuilder : BaseRequestBuilder + public class AddModelsRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public AddModelsRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -38,11 +39,11 @@ public AddModelsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -57,11 +58,11 @@ public async Task PostAsync(List body, ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -73,11 +74,11 @@ public RequestInformation ToPostRequestInformation(List /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public AddModelsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.AddModels.AddModelsRequestBuilder WithUrl(string rawUrl) { - return new AddModelsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.AddModels.AddModelsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/ModelsRequests/Item/ModelsItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/ModelsRequests/Item/ModelsItemRequestBuilder.cs index 0919b377..b98fbc0a 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/ModelsRequests/Item/ModelsItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/ModelsRequests/Item/ModelsItemRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.ModelsRequests.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.ModelsRequests.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-templates\{client-scope-id}\protocol-mappers\models\{id} /// - public class ModelsItemRequestBuilder : BaseRequestBuilder + public class ModelsItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public ModelsItemRequestBuilder(Dictionary pathParameters, IRequ { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -50,20 +51,20 @@ public async Task DeleteAsync(Action /// Get mapper by id /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ProtocolMapperRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Update the mapper @@ -73,11 +74,11 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(ProtocolMapperRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(ProtocolMapperRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -129,11 +130,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(ProtocolMapperRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(ProtocolMapperRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -145,11 +146,11 @@ public RequestInformation ToPutRequestInformation(ProtocolMapperRepresentation b /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ModelsItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.ModelsRequests.Item.ModelsItemRequestBuilder WithUrl(string rawUrl) { - return new ModelsItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.ModelsRequests.Item.ModelsItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/ModelsRequests/ModelsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/ModelsRequests/ModelsRequestBuilder.cs index bafe6731..fbacdf90 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/ModelsRequests/ModelsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/ModelsRequests/ModelsRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.ModelsRequests { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.ModelsRequests +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-templates\{client-scope-id}\protocol-mappers\models /// - public class ModelsRequestBuilder : BaseRequestBuilder + public class ModelsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.clientTemplates.item.protocolMappers.modelsRequests.item collection /// Mapper id - /// A - public ModelsItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.ModelsRequests.Item.ModelsItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("id", position); - return new ModelsItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.ModelsRequests.Item.ModelsItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,7 +37,7 @@ public ModelsRequestBuilder(Dictionary pathParameters, IRequestA { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -46,20 +47,20 @@ public ModelsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// /// Get mappers /// - /// A List<ProtocolMapperRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ProtocolMapperRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(ProtocolMapperRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(ProtocolMapperRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -109,11 +110,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(ProtocolMapperRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(ProtocolMapperRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -125,11 +126,11 @@ public RequestInformation ToPostRequestInformation(ProtocolMapperRepresentation /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ModelsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.ModelsRequests.ModelsRequestBuilder WithUrl(string rawUrl) { - return new ModelsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.ModelsRequests.ModelsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/Protocol/Item/WithProtocolItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/Protocol/Item/WithProtocolItemRequestBuilder.cs index 2f7965e7..7a9835c7 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/Protocol/Item/WithProtocolItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/Protocol/Item/WithProtocolItemRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.Protocol.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.Protocol.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-templates\{client-scope-id}\protocol-mappers\protocol\{protocol} /// - public class WithProtocolItemRequestBuilder : BaseRequestBuilder + public class WithProtocolItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public WithProtocolItemRequestBuilder(Dictionary pathParameters, { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public WithProtocolItemRequestBuilder(string rawUrl, IRequestAdapter requestAdap /// /// Get mappers by name for a specific protocol /// - /// A List<ProtocolMapperRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ProtocolMapperRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithProtocolItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.Protocol.Item.WithProtocolItemRequestBuilder WithUrl(string rawUrl) { - return new WithProtocolItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.Protocol.Item.WithProtocolItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/Protocol/ProtocolRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/Protocol/ProtocolRequestBuilder.cs index 7a864324..0634e511 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/Protocol/ProtocolRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/Protocol/ProtocolRequestBuilder.cs @@ -6,26 +6,27 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.Protocol { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.Protocol +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-templates\{client-scope-id}\protocol-mappers\protocol /// - public class ProtocolRequestBuilder : BaseRequestBuilder + public class ProtocolRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.clientTemplates.item.protocolMappers.protocol.item collection /// Unique identifier of the item - /// A - public WithProtocolItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.Protocol.Item.WithProtocolItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("protocol", position); - return new WithProtocolItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.Protocol.Item.WithProtocolItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -33,7 +34,7 @@ public ProtocolRequestBuilder(Dictionary pathParameters, IReques { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/ProtocolMappersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/ProtocolMappersRequestBuilder.cs index 7d87eba9..856206ec 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/ProtocolMappersRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ProtocolMappers/ProtocolMappersRequestBuilder.cs @@ -8,29 +8,30 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-templates\{client-scope-id}\protocol-mappers /// - public class ProtocolMappersRequestBuilder : BaseRequestBuilder + public class ProtocolMappersRequestBuilder : BaseRequestBuilder { /// The addModels property - public AddModelsRequestBuilder AddModels + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.AddModels.AddModelsRequestBuilder AddModels { - get => new AddModelsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.AddModels.AddModelsRequestBuilder(PathParameters, RequestAdapter); } /// The models property - public ModelsRequestBuilder Models + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.ModelsRequests.ModelsRequestBuilder Models { - get => new ModelsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.ModelsRequests.ModelsRequestBuilder(PathParameters, RequestAdapter); } /// The protocol property - public ProtocolRequestBuilder Protocol + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.Protocol.ProtocolRequestBuilder Protocol { - get => new ProtocolRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ProtocolMappers.Protocol.ProtocolRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -38,7 +39,7 @@ public ProtocolMappersRequestBuilder(Dictionary pathParameters, { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Clients/ClientsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Clients/ClientsRequestBuilder.cs index 7747f8bb..f6fc8da8 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Clients/ClientsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Clients/ClientsRequestBuilder.cs @@ -6,26 +6,27 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Clients { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Clients +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-templates\{client-scope-id}\scope-mappings\clients /// - public class ClientsRequestBuilder : BaseRequestBuilder + public class ClientsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.clientTemplates.item.scopeMappings.clients.item collection /// Unique identifier of the item - /// A - public WithClientItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Clients.Item.WithClientItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("client", position); - return new WithClientItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Clients.Item.WithClientItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -33,7 +34,7 @@ public ClientsRequestBuilder(Dictionary pathParameters, IRequest { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Clients/Item/Available/AvailableRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Clients/Item/Available/AvailableRequestBuilder.cs index 3f66d993..5ae818fa 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Clients/Item/Available/AvailableRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Clients/Item/Available/AvailableRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Clients.Item.Available { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Clients.Item.Available +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-templates\{client-scope-id}\scope-mappings\clients\{client}\available /// - public class AvailableRequestBuilder : BaseRequestBuilder + public class AvailableRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public AvailableRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public AvailableRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// The available client-level roles Returns the roles for the client that can be associated with the client's scope /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public AvailableRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Clients.Item.Available.AvailableRequestBuilder WithUrl(string rawUrl) { - return new AvailableRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Clients.Item.Available.AvailableRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Clients/Item/Composite/CompositeRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Clients/Item/Composite/CompositeRequestBuilder.cs index cbd5b250..3129dcd8 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Clients/Item/Composite/CompositeRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Clients/Item/Composite/CompositeRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Clients.Item.Composite { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Clients.Item.Composite +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-templates\{client-scope-id}\scope-mappings\clients\{client}\composite /// - public class CompositeRequestBuilder : BaseRequestBuilder + public class CompositeRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public CompositeRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public CompositeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// Get effective client roles Returns the roles for the client that are associated with the client's scope. /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -56,11 +57,11 @@ public async Task> GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public CompositeRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Clients.Item.Composite.CompositeRequestBuilder WithUrl(string rawUrl) { - return new CompositeRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Clients.Item.Composite.CompositeRequestBuilder(rawUrl, RequestAdapter); } /// /// Get effective client roles Returns the roles for the client that are associated with the client's scope. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Clients/Item/WithClientItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Clients/Item/WithClientItemRequestBuilder.cs index 78c263d2..d9e726ac 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Clients/Item/WithClientItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Clients/Item/WithClientItemRequestBuilder.cs @@ -10,24 +10,25 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Clients.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Clients.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-templates\{client-scope-id}\scope-mappings\clients\{client} /// - public class WithClientItemRequestBuilder : BaseRequestBuilder + public class WithClientItemRequestBuilder : BaseRequestBuilder { /// The available property - public AvailableRequestBuilder Available + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Clients.Item.Available.AvailableRequestBuilder Available { - get => new AvailableRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Clients.Item.Available.AvailableRequestBuilder(PathParameters, RequestAdapter); } /// The composite property - public CompositeRequestBuilder Composite + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Clients.Item.Composite.CompositeRequestBuilder Composite { - get => new CompositeRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Clients.Item.Composite.CompositeRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public WithClientItemRequestBuilder(Dictionary pathParameters, I { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -50,11 +51,11 @@ public WithClientItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapte /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -64,20 +65,20 @@ public async Task DeleteAsync(List body, Action /// Get the roles associated with a client's scope Returns roles for the client. /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -88,11 +89,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -107,11 +108,11 @@ public async Task PostAsync(List body, ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -147,11 +148,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -163,11 +164,11 @@ public RequestInformation ToPostRequestInformation(List body /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithClientItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Clients.Item.WithClientItemRequestBuilder WithUrl(string rawUrl) { - return new WithClientItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Clients.Item.WithClientItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Realm/Available/AvailableRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Realm/Available/AvailableRequestBuilder.cs index a67c4160..c69692c5 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Realm/Available/AvailableRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Realm/Available/AvailableRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Realm.Available { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Realm.Available +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-templates\{client-scope-id}\scope-mappings\realm\available /// - public class AvailableRequestBuilder : BaseRequestBuilder + public class AvailableRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public AvailableRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public AvailableRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// Get realm-level roles that are available to attach to this client's scope /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public AvailableRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Realm.Available.AvailableRequestBuilder WithUrl(string rawUrl) { - return new AvailableRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Realm.Available.AvailableRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Realm/Composite/CompositeRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Realm/Composite/CompositeRequestBuilder.cs index 22a5b284..b76e2e7d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Realm/Composite/CompositeRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Realm/Composite/CompositeRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Realm.Composite { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Realm.Composite +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-templates\{client-scope-id}\scope-mappings\realm\composite /// - public class CompositeRequestBuilder : BaseRequestBuilder + public class CompositeRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public CompositeRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public CompositeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// The method is really to show a comprehensive total view of realm-level roles associated with the client. /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -56,11 +57,11 @@ public async Task> GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public CompositeRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Realm.Composite.CompositeRequestBuilder WithUrl(string rawUrl) { - return new CompositeRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Realm.Composite.CompositeRequestBuilder(rawUrl, RequestAdapter); } /// /// The method is really to show a comprehensive total view of realm-level roles associated with the client. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Realm/RealmRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Realm/RealmRequestBuilder.cs index c6df7322..a65dc973 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Realm/RealmRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/Realm/RealmRequestBuilder.cs @@ -10,24 +10,25 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Realm { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Realm +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-templates\{client-scope-id}\scope-mappings\realm /// - public class RealmRequestBuilder : BaseRequestBuilder + public class RealmRequestBuilder : BaseRequestBuilder { /// The available property - public AvailableRequestBuilder Available + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Realm.Available.AvailableRequestBuilder Available { - get => new AvailableRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Realm.Available.AvailableRequestBuilder(PathParameters, RequestAdapter); } /// The composite property - public CompositeRequestBuilder Composite + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Realm.Composite.CompositeRequestBuilder Composite { - get => new CompositeRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Realm.Composite.CompositeRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public RealmRequestBuilder(Dictionary pathParameters, IRequestAd { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -50,11 +51,11 @@ public RealmRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -64,20 +65,20 @@ public async Task DeleteAsync(List body, Action /// Get realm-level roles associated with the client's scope /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -88,11 +89,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -107,11 +108,11 @@ public async Task PostAsync(List body, ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -147,11 +148,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -163,11 +164,11 @@ public RequestInformation ToPostRequestInformation(List body /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public RealmRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Realm.RealmRequestBuilder WithUrl(string rawUrl) { - return new RealmRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Realm.RealmRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/ScopeMappingsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/ScopeMappingsRequestBuilder.cs index f65fa42d..f981278a 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/ScopeMappingsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTemplates/Item/ScopeMappings/ScopeMappingsRequestBuilder.cs @@ -10,26 +10,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\client-templates\{client-scope-id}\scope-mappings /// - public class ScopeMappingsRequestBuilder : BaseRequestBuilder + public class ScopeMappingsRequestBuilder : BaseRequestBuilder { /// The clients property [Obsolete("")] - public ClientsRequestBuilder Clients + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Clients.ClientsRequestBuilder Clients { - get => new ClientsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Clients.ClientsRequestBuilder(PathParameters, RequestAdapter); } /// The realm property [Obsolete("")] - public RealmRequestBuilder Realm + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Realm.RealmRequestBuilder Realm { - get => new RealmRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.Realm.RealmRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -37,7 +38,7 @@ public ScopeMappingsRequestBuilder(Dictionary pathParameters, IR { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -47,21 +48,21 @@ public ScopeMappingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter /// /// Get all scope mappings for the client /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. [Obsolete("")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, MappingsRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.MappingsRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Get all scope mappings for the client @@ -86,12 +87,12 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. [Obsolete("")] - public ScopeMappingsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.ScopeMappingsRequestBuilder WithUrl(string rawUrl) { - return new ScopeMappingsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.Item.ScopeMappings.ScopeMappingsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTypes/ClientTypesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTypes/ClientTypesRequestBuilder.cs new file mode 100644 index 00000000..91a87e43 --- /dev/null +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientTypes/ClientTypesRequestBuilder.cs @@ -0,0 +1,121 @@ +// +using Keycloak.AuthServices.Sdk.Kiota.Admin.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTypes +{ + /// + /// Builds and executes requests for operations under \admin\realms\{realm}\client-types + /// + public class ClientTypesRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ClientTypesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/client-types", 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 ClientTypesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/client-types", rawUrl) + { + } + /// + /// This endpoint returns a list of both global and realm level client types and the attributes they set + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#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); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTypesRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + } + /// + /// This endpoint allows you to update a realm level client type + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTypesRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTypesRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); + } + /// + /// This endpoint returns a list of both global and realm level client types and the attributes they set + /// + /// 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; + } + /// + /// This endpoint allows you to update a realm level client type + /// + /// 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 ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTypesRepresentation body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTypesRepresentation body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + 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 Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTypes.ClientTypesRequestBuilder WithUrl(string rawUrl) + { + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTypes.ClientTypesRequestBuilder(rawUrl, RequestAdapter); + } + } +} diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/ClientsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/ClientsRequestBuilder.cs index 10df2d10..e4d0f0b8 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/ClientsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/ClientsRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients /// - public class ClientsRequestBuilder : BaseRequestBuilder + public class ClientsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.clients.item collection /// id of client (not client-id!) - /// A - public ClientUuItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ClientUuItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("client%2Duuid", position); - return new ClientUuItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ClientUuItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,7 +37,7 @@ public ClientsRequestBuilder(Dictionary pathParameters, IRequest { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -46,20 +47,20 @@ public ClientsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba /// /// If a client can’t be retrieved from the storage due to a problem with the underlying storage, it is silently removed from the returned list. This ensures that concurrent modifications to the list don’t prevent callers from retrieving this list. /// - /// A List<ClientRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ClientRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -70,11 +71,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(ClientRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(ClientRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -88,11 +89,11 @@ public async Task PostAsync(ClientRepresentation body, ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -108,11 +109,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(ClientRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(ClientRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -124,11 +125,11 @@ public RequestInformation ToPostRequestInformation(ClientRepresentation body, Ac /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ClientsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.ClientsRequestBuilder WithUrl(string rawUrl) { - return new ClientsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.ClientsRequestBuilder(rawUrl, RequestAdapter); } /// /// If a client can’t be retrieved from the storage due to a problem with the underlying storage, it is silently removed from the returned list. This ensures that concurrent modifications to the list don’t prevent callers from retrieving this list. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/AuthzRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/AuthzRequestBuilder.cs index ba874704..823b7333 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/AuthzRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/AuthzRequestBuilder.cs @@ -6,19 +6,20 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\authz /// - public class AuthzRequestBuilder : BaseRequestBuilder + public class AuthzRequestBuilder : BaseRequestBuilder { /// The resourceServer property - public ResourceServerRequestBuilder ResourceServer + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.ResourceServerRequestBuilder ResourceServer { - get => new ResourceServerRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.ResourceServerRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -26,7 +27,7 @@ public AuthzRequestBuilder(Dictionary pathParameters, IRequestAd { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Import/ImportRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Import/ImportRequestBuilder.cs index 3a24f0ea..72dde530 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Import/ImportRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Import/ImportRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Import { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Import +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\authz\resource-server\import /// - public class ImportRequestBuilder : BaseRequestBuilder + public class ImportRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public ImportRequestBuilder(Dictionary pathParameters, IRequestA { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -35,11 +36,11 @@ public ImportRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(ResourceServerRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceServerRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(ResourceServerRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceServerRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -51,11 +52,11 @@ public async Task PostAsync(ResourceServerRepresentation body, ActionConfiguration 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(ResourceServerRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceServerRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(ResourceServerRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceServerRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -67,11 +68,11 @@ public RequestInformation ToPostRequestInformation(ResourceServerRepresentation /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ImportRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Import.ImportRequestBuilder WithUrl(string rawUrl) { - return new ImportRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Import.ImportRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Permission/Evaluate/EvaluateRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Permission/Evaluate/EvaluateRequestBuilder.cs index ac123f30..6faf3697 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Permission/Evaluate/EvaluateRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Permission/Evaluate/EvaluateRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission.Evaluate { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission.Evaluate +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\authz\resource-server\permission\evaluate /// - public class EvaluateRequestBuilder : BaseRequestBuilder + public class EvaluateRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,40 +24,40 @@ public EvaluateRequestBuilder(Dictionary pathParameters, IReques { } /// - /// Instantiates a new and sets the default values. + /// 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 EvaluateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/clients/{client%2Duuid}/authz/resource-server/permission/evaluate", rawUrl) { } - /// A + /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(PolicyEvaluationRequest body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyEvaluationRequest body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(PolicyEvaluationRequest body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyEvaluationRequest body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPostRequestInformation(body, requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, PolicyEvaluationResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyEvaluationResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// 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(PolicyEvaluationRequest body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyEvaluationRequest body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(PolicyEvaluationRequest body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyEvaluationRequest body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -69,11 +70,11 @@ public RequestInformation ToPostRequestInformation(PolicyEvaluationRequest body, /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public EvaluateRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission.Evaluate.EvaluateRequestBuilder WithUrl(string rawUrl) { - return new EvaluateRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission.Evaluate.EvaluateRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Permission/PermissionRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Permission/PermissionRequestBuilder.cs index 7b0956ef..efb941c7 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Permission/PermissionRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Permission/PermissionRequestBuilder.cs @@ -11,29 +11,30 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\authz\resource-server\permission /// - public class PermissionRequestBuilder : BaseRequestBuilder + public class PermissionRequestBuilder : BaseRequestBuilder { /// The evaluate property - public EvaluateRequestBuilder Evaluate + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission.Evaluate.EvaluateRequestBuilder Evaluate { - get => new EvaluateRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission.Evaluate.EvaluateRequestBuilder(PathParameters, RequestAdapter); } /// The providers property - public ProvidersRequestBuilder Providers + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission.Providers.ProvidersRequestBuilder Providers { - get => new ProvidersRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission.Providers.ProvidersRequestBuilder(PathParameters, RequestAdapter); } /// The search property - public SearchRequestBuilder Search + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission.Search.SearchRequestBuilder Search { - get => new SearchRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission.Search.SearchRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -41,27 +42,27 @@ public PermissionRequestBuilder(Dictionary pathParameters, IRequ { } /// - /// Instantiates a new and sets the default values. + /// 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 PermissionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/clients/{client%2Duuid}/authz/resource-server/permission{?fields*,first*,max*,name*,owner*,permission*,policyId*,resource*,scope*,type*}", rawUrl) { } - /// A List<AbstractPolicyRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AbstractPolicyRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, AbstractPolicyRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AbstractPolicyRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// The request body @@ -84,11 +85,11 @@ public async Task PostAsync(string body, ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -117,11 +118,11 @@ public RequestInformation ToPostRequestInformation(string body, Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public PermissionRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission.PermissionRequestBuilder WithUrl(string rawUrl) { - return new PermissionRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission.PermissionRequestBuilder(rawUrl, RequestAdapter); } #pragma warning disable CS1591 public class PermissionRequestBuilderGetQueryParameters diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Permission/Providers/ProvidersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Permission/Providers/ProvidersRequestBuilder.cs index e4b1a262..5801646b 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Permission/Providers/ProvidersRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Permission/Providers/ProvidersRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission.Providers { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission.Providers +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\authz\resource-server\permission\providers /// - public class ProvidersRequestBuilder : BaseRequestBuilder + public class ProvidersRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,27 +24,27 @@ public ProvidersRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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 ProvidersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/clients/{client%2Duuid}/authz/resource-server/permission/providers", rawUrl) { } - /// A List<PolicyProviderRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyProviderRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, PolicyProviderRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyProviderRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// A @@ -65,11 +66,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ProvidersRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission.Providers.ProvidersRequestBuilder WithUrl(string rawUrl) { - return new ProvidersRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission.Providers.ProvidersRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Permission/Search/SearchRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Permission/Search/SearchRequestBuilder.cs index fa6fe51e..05f0e043 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Permission/Search/SearchRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Permission/Search/SearchRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission.Search { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission.Search +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\authz\resource-server\permission\search /// - public class SearchRequestBuilder : BaseRequestBuilder + public class SearchRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,37 +24,37 @@ public SearchRequestBuilder(Dictionary pathParameters, IRequestA { } /// - /// Instantiates a new and sets the default values. + /// 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 SearchRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/clients/{client%2Duuid}/authz/resource-server/permission/search{?fields*,name*}", rawUrl) { } - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, AbstractPolicyRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AbstractPolicyRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -64,11 +65,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public SearchRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission.Search.SearchRequestBuilder WithUrl(string rawUrl) { - return new SearchRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission.Search.SearchRequestBuilder(rawUrl, RequestAdapter); } #pragma warning disable CS1591 public class SearchRequestBuilderGetQueryParameters diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Policy/Evaluate/EvaluateRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Policy/Evaluate/EvaluateRequestBuilder.cs index 60e713a4..8dcf4aab 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Policy/Evaluate/EvaluateRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Policy/Evaluate/EvaluateRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy.Evaluate { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy.Evaluate +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\authz\resource-server\policy\evaluate /// - public class EvaluateRequestBuilder : BaseRequestBuilder + public class EvaluateRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,40 +24,40 @@ public EvaluateRequestBuilder(Dictionary pathParameters, IReques { } /// - /// Instantiates a new and sets the default values. + /// 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 EvaluateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/clients/{client%2Duuid}/authz/resource-server/policy/evaluate", rawUrl) { } - /// A + /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(PolicyEvaluationRequest body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyEvaluationRequest body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(PolicyEvaluationRequest body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyEvaluationRequest body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPostRequestInformation(body, requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, PolicyEvaluationResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyEvaluationResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// 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(PolicyEvaluationRequest body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyEvaluationRequest body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(PolicyEvaluationRequest body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyEvaluationRequest body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -69,11 +70,11 @@ public RequestInformation ToPostRequestInformation(PolicyEvaluationRequest body, /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public EvaluateRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy.Evaluate.EvaluateRequestBuilder WithUrl(string rawUrl) { - return new EvaluateRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy.Evaluate.EvaluateRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Policy/PolicyRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Policy/PolicyRequestBuilder.cs index 13a2f9a9..504cbc1b 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Policy/PolicyRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Policy/PolicyRequestBuilder.cs @@ -11,29 +11,30 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\authz\resource-server\policy /// - public class PolicyRequestBuilder : BaseRequestBuilder + public class PolicyRequestBuilder : BaseRequestBuilder { /// The evaluate property - public EvaluateRequestBuilder Evaluate + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy.Evaluate.EvaluateRequestBuilder Evaluate { - get => new EvaluateRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy.Evaluate.EvaluateRequestBuilder(PathParameters, RequestAdapter); } /// The providers property - public ProvidersRequestBuilder Providers + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy.Providers.ProvidersRequestBuilder Providers { - get => new ProvidersRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy.Providers.ProvidersRequestBuilder(PathParameters, RequestAdapter); } /// The search property - public SearchRequestBuilder Search + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy.Search.SearchRequestBuilder Search { - get => new SearchRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy.Search.SearchRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -41,27 +42,27 @@ public PolicyRequestBuilder(Dictionary pathParameters, IRequestA { } /// - /// Instantiates a new and sets the default values. + /// 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 PolicyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/clients/{client%2Duuid}/authz/resource-server/policy{?fields*,first*,max*,name*,owner*,permission*,policyId*,resource*,scope*,type*}", rawUrl) { } - /// A List<AbstractPolicyRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AbstractPolicyRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, AbstractPolicyRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AbstractPolicyRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// The request body @@ -84,11 +85,11 @@ public async Task PostAsync(string body, ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -117,11 +118,11 @@ public RequestInformation ToPostRequestInformation(string body, Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public PolicyRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy.PolicyRequestBuilder WithUrl(string rawUrl) { - return new PolicyRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy.PolicyRequestBuilder(rawUrl, RequestAdapter); } #pragma warning disable CS1591 public class PolicyRequestBuilderGetQueryParameters diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Policy/Providers/ProvidersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Policy/Providers/ProvidersRequestBuilder.cs index 78e8d3cd..25e48be2 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Policy/Providers/ProvidersRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Policy/Providers/ProvidersRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy.Providers { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy.Providers +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\authz\resource-server\policy\providers /// - public class ProvidersRequestBuilder : BaseRequestBuilder + public class ProvidersRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,27 +24,27 @@ public ProvidersRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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 ProvidersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/clients/{client%2Duuid}/authz/resource-server/policy/providers", rawUrl) { } - /// A List<PolicyProviderRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyProviderRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, PolicyProviderRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyProviderRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// A @@ -65,11 +66,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ProvidersRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy.Providers.ProvidersRequestBuilder WithUrl(string rawUrl) { - return new ProvidersRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy.Providers.ProvidersRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Policy/Search/SearchRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Policy/Search/SearchRequestBuilder.cs index 664fc9b7..25e2e9e1 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Policy/Search/SearchRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Policy/Search/SearchRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy.Search { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy.Search +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\authz\resource-server\policy\search /// - public class SearchRequestBuilder : BaseRequestBuilder + public class SearchRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,37 +24,37 @@ public SearchRequestBuilder(Dictionary pathParameters, IRequestA { } /// - /// Instantiates a new and sets the default values. + /// 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 SearchRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/clients/{client%2Duuid}/authz/resource-server/policy/search{?fields*,name*}", rawUrl) { } - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, AbstractPolicyRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AbstractPolicyRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -64,11 +65,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public SearchRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy.Search.SearchRequestBuilder WithUrl(string rawUrl) { - return new SearchRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy.Search.SearchRequestBuilder(rawUrl, RequestAdapter); } #pragma warning disable CS1591 public class SearchRequestBuilderGetQueryParameters diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/Item/Attributes/AttributesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/Item/Attributes/AttributesRequestBuilder.cs index 4e855937..5de951d3 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/Item/Attributes/AttributesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/Item/Attributes/AttributesRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item.Attributes { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item.Attributes +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\authz\resource-server\resource\{resource-id}\attributes /// - public class AttributesRequestBuilder : BaseRequestBuilder + public class AttributesRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public AttributesRequestBuilder(Dictionary pathParameters, IRequ { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -34,11 +35,11 @@ public AttributesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); @@ -48,11 +49,11 @@ public async Task GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -62,11 +63,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public AttributesRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item.Attributes.AttributesRequestBuilder WithUrl(string rawUrl) { - return new AttributesRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item.Attributes.AttributesRequestBuilder(rawUrl, RequestAdapter); } #pragma warning disable CS1591 public class AttributesRequestBuilderGetQueryParameters diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/Item/Permissions/PermissionsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/Item/Permissions/PermissionsRequestBuilder.cs index 5a3ac6dd..4d43b669 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/Item/Permissions/PermissionsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/Item/Permissions/PermissionsRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item.Permissions { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item.Permissions +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\authz\resource-server\resource\{resource-id}\permissions /// - public class PermissionsRequestBuilder : BaseRequestBuilder + public class PermissionsRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,38 +24,38 @@ public PermissionsRequestBuilder(Dictionary pathParameters, IReq { } /// - /// Instantiates a new and sets the default values. + /// 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 PermissionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/clients/{client%2Duuid}/authz/resource-server/resource/{resource%2Did}/permissions{?_id*,deep*,exactName*,first*,matchingUri*,max*,name*,owner*,scope*,type*,uri*}", rawUrl) { } - /// A List<PolicyRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, PolicyRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -65,11 +66,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public PermissionsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item.Permissions.PermissionsRequestBuilder WithUrl(string rawUrl) { - return new PermissionsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item.Permissions.PermissionsRequestBuilder(rawUrl, RequestAdapter); } #pragma warning disable CS1591 public class PermissionsRequestBuilderGetQueryParameters diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/Item/ResourceItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/Item/ResourceItemRequestBuilder.cs index 42511dba..7288bf9e 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/Item/ResourceItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/Item/ResourceItemRequestBuilder.cs @@ -11,29 +11,30 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\authz\resource-server\resource\{resource-id} /// - public class ResourceItemRequestBuilder : BaseRequestBuilder + public class ResourceItemRequestBuilder : BaseRequestBuilder { /// The attributes property - public AttributesRequestBuilder Attributes + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item.Attributes.AttributesRequestBuilder Attributes { - get => new AttributesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item.Attributes.AttributesRequestBuilder(PathParameters, RequestAdapter); } /// The permissions property - public PermissionsRequestBuilder Permissions + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item.Permissions.PermissionsRequestBuilder Permissions { - get => new PermissionsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item.Permissions.PermissionsRequestBuilder(PathParameters, RequestAdapter); } /// The scopes property - public ScopesRequestBuilder Scopes + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item.Scopes.ScopesRequestBuilder Scopes { - get => new ScopesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item.Scopes.ScopesRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -41,7 +42,7 @@ public ResourceItemRequestBuilder(Dictionary pathParameters, IRe { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -52,41 +53,41 @@ public ResourceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToDeleteRequestInformation(requestConfiguration); await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); } - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ResourceRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(ResourceRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(ResourceRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -97,11 +98,11 @@ public async Task PutAsync(ResourceRepresentation body, ActionConfiguration 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) + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); @@ -112,11 +113,11 @@ public RequestInformation ToDeleteRequestInformation(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -129,11 +130,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(ResourceRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(ResourceRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -145,11 +146,11 @@ public RequestInformation ToPutRequestInformation(ResourceRepresentation body, A /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ResourceItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item.ResourceItemRequestBuilder WithUrl(string rawUrl) { - return new ResourceItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item.ResourceItemRequestBuilder(rawUrl, RequestAdapter); } #pragma warning disable CS1591 public class ResourceItemRequestBuilderDeleteQueryParameters diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/Item/Scopes/ScopesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/Item/Scopes/ScopesRequestBuilder.cs index d3f5333d..39a711b8 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/Item/Scopes/ScopesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/Item/Scopes/ScopesRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item.Scopes { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item.Scopes +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\authz\resource-server\resource\{resource-id}\scopes /// - public class ScopesRequestBuilder : BaseRequestBuilder + public class ScopesRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,38 +24,38 @@ public ScopesRequestBuilder(Dictionary pathParameters, IRequestA { } /// - /// Instantiates a new and sets the default values. + /// 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 ScopesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/clients/{client%2Duuid}/authz/resource-server/resource/{resource%2Did}/scopes{?_id*,deep*,exactName*,first*,matchingUri*,max*,name*,owner*,scope*,type*,uri*}", rawUrl) { } - /// A List<ScopeRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -65,11 +66,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ScopesRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item.Scopes.ScopesRequestBuilder WithUrl(string rawUrl) { - return new ScopesRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item.Scopes.ScopesRequestBuilder(rawUrl, RequestAdapter); } #pragma warning disable CS1591 public class ScopesRequestBuilderGetQueryParameters diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/ResourceRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/ResourceRequestBuilder.cs index 4f67458d..5d7701f2 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/ResourceRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/ResourceRequestBuilder.cs @@ -10,31 +10,32 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\authz\resource-server\resource /// - public class ResourceRequestBuilder : BaseRequestBuilder + public class ResourceRequestBuilder : BaseRequestBuilder { /// The search property - public SearchRequestBuilder Search + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Search.SearchRequestBuilder Search { - get => new SearchRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Search.SearchRequestBuilder(PathParameters, RequestAdapter); } /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.clients.item.authz.resourceServer.resource.item collection /// Unique identifier of the item - /// A - public ResourceItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item.ResourceItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("resource%2Did", position); - return new ResourceItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Item.ResourceItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -42,55 +43,55 @@ public ResourceRequestBuilder(Dictionary pathParameters, IReques { } /// - /// Instantiates a new and sets the default values. + /// 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 ResourceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/clients/{client%2Duuid}/authz/resource-server/resource{?_id*,deep*,exactName*,first*,matchingUri*,max*,name*,owner*,scope*,type*,uri*}", rawUrl) { } - /// A List<ResourceRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ResourceRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } - /// A + /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(ResourceRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(ResourceRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPostRequestInformation(body, requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ResourceRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -103,11 +104,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(ResourceRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(ResourceRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -120,11 +121,11 @@ public RequestInformation ToPostRequestInformation(ResourceRepresentation body, /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ResourceRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.ResourceRequestBuilder WithUrl(string rawUrl) { - return new ResourceRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.ResourceRequestBuilder(rawUrl, RequestAdapter); } #pragma warning disable CS1591 public class ResourceRequestBuilderGetQueryParameters diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/Search/SearchRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/Search/SearchRequestBuilder.cs index 6574aabc..6f8468a2 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/Search/SearchRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Resource/Search/SearchRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Search { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Search +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\authz\resource-server\resource\search /// - public class SearchRequestBuilder : BaseRequestBuilder + public class SearchRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,37 +24,37 @@ public SearchRequestBuilder(Dictionary pathParameters, IRequestA { } /// - /// Instantiates a new and sets the default values. + /// 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 SearchRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/clients/{client%2Duuid}/authz/resource-server/resource/search{?_id*,deep*,exactName*,first*,matchingUri*,max*,name*,owner*,scope*,type*,uri*}", rawUrl) { } - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ResourceRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -64,11 +65,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public SearchRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Search.SearchRequestBuilder WithUrl(string rawUrl) { - return new SearchRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.Search.SearchRequestBuilder(rawUrl, RequestAdapter); } #pragma warning disable CS1591 public class SearchRequestBuilderGetQueryParameters diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/ResourceServerRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/ResourceServerRequestBuilder.cs index 3eeba36e..a5af243e 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/ResourceServerRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/ResourceServerRequestBuilder.cs @@ -14,44 +14,45 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\authz\resource-server /// - public class ResourceServerRequestBuilder : BaseRequestBuilder + public class ResourceServerRequestBuilder : BaseRequestBuilder { /// The import property - public ImportRequestBuilder Import + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Import.ImportRequestBuilder Import { - get => new ImportRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Import.ImportRequestBuilder(PathParameters, RequestAdapter); } /// The permission property - public PermissionRequestBuilder Permission + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission.PermissionRequestBuilder Permission { - get => new PermissionRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Permission.PermissionRequestBuilder(PathParameters, RequestAdapter); } /// The policy property - public PolicyRequestBuilder Policy + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy.PolicyRequestBuilder Policy { - get => new PolicyRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Policy.PolicyRequestBuilder(PathParameters, RequestAdapter); } /// The resource property - public ResourceRequestBuilder Resource + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.ResourceRequestBuilder Resource { - get => new ResourceRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Resource.ResourceRequestBuilder(PathParameters, RequestAdapter); } /// The scope property - public ScopeRequestBuilder Scope + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.ScopeRequestBuilder Scope { - get => new ScopeRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.ScopeRequestBuilder(PathParameters, RequestAdapter); } /// The settings property - public SettingsRequestBuilder Settings + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Settings.SettingsRequestBuilder Settings { - get => new SettingsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Settings.SettingsRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -59,38 +60,38 @@ public ResourceServerRequestBuilder(Dictionary pathParameters, I { } /// - /// Instantiates a new and sets the default values. + /// 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 ResourceServerRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/clients/{client%2Duuid}/authz/resource-server", rawUrl) { } - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ResourceServerRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceServerRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(ResourceServerRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceServerRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(ResourceServerRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceServerRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -118,11 +119,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(ResourceServerRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceServerRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(ResourceServerRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceServerRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -134,11 +135,11 @@ public RequestInformation ToPutRequestInformation(ResourceServerRepresentation b /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ResourceServerRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.ResourceServerRequestBuilder WithUrl(string rawUrl) { - return new ResourceServerRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.ResourceServerRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Scope/Item/Permissions/PermissionsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Scope/Item/Permissions/PermissionsRequestBuilder.cs index dceef0ea..5dd5c7ab 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Scope/Item/Permissions/PermissionsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Scope/Item/Permissions/PermissionsRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Item.Permissions { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Item.Permissions +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\authz\resource-server\scope\{scope-id}\permissions /// - public class PermissionsRequestBuilder : BaseRequestBuilder + public class PermissionsRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,27 +24,27 @@ public PermissionsRequestBuilder(Dictionary pathParameters, IReq { } /// - /// Instantiates a new and sets the default values. + /// 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 PermissionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/clients/{client%2Duuid}/authz/resource-server/scope/{scope%2Did}/permissions", rawUrl) { } - /// A List<PolicyRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, PolicyRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// A @@ -65,11 +66,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public PermissionsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Item.Permissions.PermissionsRequestBuilder WithUrl(string rawUrl) { - return new PermissionsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Item.Permissions.PermissionsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Scope/Item/Resources/ResourcesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Scope/Item/Resources/ResourcesRequestBuilder.cs index 4100968e..3eab541a 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Scope/Item/Resources/ResourcesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Scope/Item/Resources/ResourcesRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Item.Resources { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Item.Resources +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\authz\resource-server\scope\{scope-id}\resources /// - public class ResourcesRequestBuilder : BaseRequestBuilder + public class ResourcesRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,27 +24,27 @@ public ResourcesRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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 ResourcesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/clients/{client%2Duuid}/authz/resource-server/scope/{scope%2Did}/resources", rawUrl) { } - /// A List<ResourceRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ResourceRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// A @@ -65,11 +66,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ResourcesRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Item.Resources.ResourcesRequestBuilder WithUrl(string rawUrl) { - return new ResourcesRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Item.Resources.ResourcesRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Scope/Item/ScopeItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Scope/Item/ScopeItemRequestBuilder.cs index 94abb135..279d141b 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Scope/Item/ScopeItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Scope/Item/ScopeItemRequestBuilder.cs @@ -10,24 +10,25 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\authz\resource-server\scope\{scope-id} /// - public class ScopeItemRequestBuilder : BaseRequestBuilder + public class ScopeItemRequestBuilder : BaseRequestBuilder { /// The permissions property - public PermissionsRequestBuilder Permissions + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Item.Permissions.PermissionsRequestBuilder Permissions { - get => new PermissionsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Item.Permissions.PermissionsRequestBuilder(PathParameters, RequestAdapter); } /// The resources property - public ResourcesRequestBuilder Resources + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Item.Resources.ResourcesRequestBuilder Resources { - get => new ResourcesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Item.Resources.ResourcesRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public ScopeItemRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -57,20 +58,20 @@ public async Task DeleteAsync(Action(requestInfo, default, cancellationToken).ConfigureAwait(false); } - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// A /// The request body @@ -78,11 +79,11 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(ScopeRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(ScopeRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -125,11 +126,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(ScopeRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(ScopeRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -141,11 +142,11 @@ public RequestInformation ToPutRequestInformation(ScopeRepresentation body, Acti /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ScopeItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Item.ScopeItemRequestBuilder WithUrl(string rawUrl) { - return new ScopeItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Item.ScopeItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Scope/ScopeRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Scope/ScopeRequestBuilder.cs index ef4f2d81..b0a1e543 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Scope/ScopeRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Scope/ScopeRequestBuilder.cs @@ -10,31 +10,32 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\authz\resource-server\scope /// - public class ScopeRequestBuilder : BaseRequestBuilder + public class ScopeRequestBuilder : BaseRequestBuilder { /// The search property - public SearchRequestBuilder Search + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Search.SearchRequestBuilder Search { - get => new SearchRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Search.SearchRequestBuilder(PathParameters, RequestAdapter); } /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.clients.item.authz.resourceServer.scope.item collection /// Unique identifier of the item - /// A - public ScopeItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Item.ScopeItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("scope%2Did", position); - return new ScopeItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Item.ScopeItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -42,27 +43,27 @@ public ScopeRequestBuilder(Dictionary pathParameters, IRequestAd { } /// - /// Instantiates a new and sets the default values. + /// 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 ScopeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/clients/{client%2Duuid}/authz/resource-server/scope{?first*,max*,name*,scopeId*}", rawUrl) { } - /// A List<ScopeRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// A @@ -71,11 +72,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(ScopeRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(ScopeRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -86,11 +87,11 @@ public async Task PostAsync(ScopeRepresentation body, ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -103,11 +104,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(ScopeRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(ScopeRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -119,11 +120,11 @@ public RequestInformation ToPostRequestInformation(ScopeRepresentation body, Act /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ScopeRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.ScopeRequestBuilder WithUrl(string rawUrl) { - return new ScopeRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.ScopeRequestBuilder(rawUrl, RequestAdapter); } #pragma warning disable CS1591 public class ScopeRequestBuilderGetQueryParameters diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Scope/Search/SearchRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Scope/Search/SearchRequestBuilder.cs index 6a173813..51a9e8c7 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Scope/Search/SearchRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Scope/Search/SearchRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Search { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Search +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\authz\resource-server\scope\search /// - public class SearchRequestBuilder : BaseRequestBuilder + public class SearchRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,38 +24,38 @@ public SearchRequestBuilder(Dictionary pathParameters, IRequestA { } /// - /// Instantiates a new and sets the default values. + /// 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 SearchRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/clients/{client%2Duuid}/authz/resource-server/scope/search{?name*}", rawUrl) { } - /// A List<ScopeRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -65,11 +66,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public SearchRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Search.SearchRequestBuilder WithUrl(string rawUrl) { - return new SearchRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Scope.Search.SearchRequestBuilder(rawUrl, RequestAdapter); } #pragma warning disable CS1591 public class SearchRequestBuilderGetQueryParameters diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Settings/SettingsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Settings/SettingsRequestBuilder.cs index 65dcaee1..b42ecb95 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Settings/SettingsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Authz/ResourceServer/Settings/SettingsRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Settings { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Settings +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\authz\resource-server\settings /// - public class SettingsRequestBuilder : BaseRequestBuilder + public class SettingsRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,27 +24,27 @@ public SettingsRequestBuilder(Dictionary pathParameters, IReques { } /// - /// Instantiates a new and sets the default values. + /// 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 SettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/clients/{client%2Duuid}/authz/resource-server/settings", rawUrl) { } - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ResourceServerRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceServerRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -64,11 +65,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public SettingsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Settings.SettingsRequestBuilder WithUrl(string rawUrl) { - return new SettingsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.ResourceServer.Settings.SettingsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/CertificatesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/CertificatesRequestBuilder.cs index 59a78f73..00e582ed 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/CertificatesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/CertificatesRequestBuilder.cs @@ -6,26 +6,27 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\certificates /// - public class CertificatesRequestBuilder : BaseRequestBuilder + public class CertificatesRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.clients.item.certificates.item collection /// Unique identifier of the item - /// A - public WithAttrItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.WithAttrItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("attr", position); - return new WithAttrItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.WithAttrItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -33,7 +34,7 @@ public CertificatesRequestBuilder(Dictionary pathParameters, IRe { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/Download/DownloadRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/Download/DownloadRequestBuilder.cs index 199217d3..e5cbd432 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/Download/DownloadRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/Download/DownloadRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.Download { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.Download +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\certificates\{attr}\download /// - public class DownloadRequestBuilder : BaseRequestBuilder + public class DownloadRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public DownloadRequestBuilder(Dictionary pathParameters, IReques { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -39,11 +40,11 @@ public DownloadRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(KeyStoreConfig body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.KeyStoreConfig body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(KeyStoreConfig body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.KeyStoreConfig body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -58,11 +59,11 @@ public async Task PostAsync(KeyStoreConfig body, ActionConfiguration 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(KeyStoreConfig body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.KeyStoreConfig body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(KeyStoreConfig body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.KeyStoreConfig body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -75,11 +76,11 @@ public RequestInformation ToPostRequestInformation(KeyStoreConfig body, Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public DownloadRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.Download.DownloadRequestBuilder WithUrl(string rawUrl) { - return new DownloadRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.Download.DownloadRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/Generate/GenerateRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/Generate/GenerateRequestBuilder.cs index f866a0aa..06c6fa46 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/Generate/GenerateRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/Generate/GenerateRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.Generate { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.Generate +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\certificates\{attr}\generate /// - public class GenerateRequestBuilder : BaseRequestBuilder + public class GenerateRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public GenerateRequestBuilder(Dictionary pathParameters, IReques { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public GenerateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// /// Generate a new certificate with new key pair /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToPostRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, CertificateRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.CertificateRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Generate a new certificate with new key pair @@ -70,11 +71,11 @@ public RequestInformation ToPostRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public GenerateRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.Generate.GenerateRequestBuilder WithUrl(string rawUrl) { - return new GenerateRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.Generate.GenerateRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/GenerateAndDownload/GenerateAndDownloadRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/GenerateAndDownload/GenerateAndDownloadRequestBuilder.cs index b896d450..f82458fa 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/GenerateAndDownload/GenerateAndDownloadRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/GenerateAndDownload/GenerateAndDownloadRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.GenerateAndDownload { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.GenerateAndDownload +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\certificates\{attr}\generate-and-download /// - public class GenerateAndDownloadRequestBuilder : BaseRequestBuilder + public class GenerateAndDownloadRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public GenerateAndDownloadRequestBuilder(Dictionary pathParamete { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -39,11 +40,11 @@ public GenerateAndDownloadRequestBuilder(string rawUrl, IRequestAdapter requestA /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(KeyStoreConfig body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.KeyStoreConfig body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(KeyStoreConfig body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.KeyStoreConfig body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -58,11 +59,11 @@ public async Task PostAsync(KeyStoreConfig body, ActionConfiguration 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(KeyStoreConfig body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.KeyStoreConfig body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(KeyStoreConfig body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.KeyStoreConfig body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -75,11 +76,11 @@ public RequestInformation ToPostRequestInformation(KeyStoreConfig body, Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public GenerateAndDownloadRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.GenerateAndDownload.GenerateAndDownloadRequestBuilder WithUrl(string rawUrl) { - return new GenerateAndDownloadRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.GenerateAndDownload.GenerateAndDownloadRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/Upload/UploadRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/Upload/UploadRequestBuilder.cs index abb27a6b..a3a10d92 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/Upload/UploadRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/Upload/UploadRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.Upload { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.Upload +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\certificates\{attr}\upload /// - public class UploadRequestBuilder : BaseRequestBuilder + public class UploadRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public UploadRequestBuilder(Dictionary pathParameters, IRequestA { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public UploadRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// /// Upload certificate and eventually private key /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToPostRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, CertificateRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.CertificateRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Upload certificate and eventually private key @@ -70,11 +71,11 @@ public RequestInformation ToPostRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public UploadRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.Upload.UploadRequestBuilder WithUrl(string rawUrl) { - return new UploadRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.Upload.UploadRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/UploadCertificate/UploadCertificateRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/UploadCertificate/UploadCertificateRequestBuilder.cs index 592b5793..1b1d7cfe 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/UploadCertificate/UploadCertificateRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/UploadCertificate/UploadCertificateRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.UploadCertificate { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.UploadCertificate +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\certificates\{attr}\upload-certificate /// - public class UploadCertificateRequestBuilder : BaseRequestBuilder + public class UploadCertificateRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public UploadCertificateRequestBuilder(Dictionary pathParameters { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public UploadCertificateRequestBuilder(string rawUrl, IRequestAdapter requestAda /// /// Upload only certificate, not private key /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToPostRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, CertificateRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.CertificateRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Upload only certificate, not private key @@ -70,11 +71,11 @@ public RequestInformation ToPostRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public UploadCertificateRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.UploadCertificate.UploadCertificateRequestBuilder WithUrl(string rawUrl) { - return new UploadCertificateRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.UploadCertificate.UploadCertificateRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/WithAttrItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/WithAttrItemRequestBuilder.cs index 2e20a271..58efe30a 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/WithAttrItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Certificates/Item/WithAttrItemRequestBuilder.cs @@ -13,39 +13,40 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\certificates\{attr} /// - public class WithAttrItemRequestBuilder : BaseRequestBuilder + public class WithAttrItemRequestBuilder : BaseRequestBuilder { /// The download property - public DownloadRequestBuilder Download + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.Download.DownloadRequestBuilder Download { - get => new DownloadRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.Download.DownloadRequestBuilder(PathParameters, RequestAdapter); } /// The generate property - public GenerateRequestBuilder Generate + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.Generate.GenerateRequestBuilder Generate { - get => new GenerateRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.Generate.GenerateRequestBuilder(PathParameters, RequestAdapter); } /// The generateAndDownload property - public GenerateAndDownloadRequestBuilder GenerateAndDownload + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.GenerateAndDownload.GenerateAndDownloadRequestBuilder GenerateAndDownload { - get => new GenerateAndDownloadRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.GenerateAndDownload.GenerateAndDownloadRequestBuilder(PathParameters, RequestAdapter); } /// The upload property - public UploadRequestBuilder Upload + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.Upload.UploadRequestBuilder Upload { - get => new UploadRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.Upload.UploadRequestBuilder(PathParameters, RequestAdapter); } /// The uploadCertificate property - public UploadCertificateRequestBuilder UploadCertificate + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.UploadCertificate.UploadCertificateRequestBuilder UploadCertificate { - get => new UploadCertificateRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.UploadCertificate.UploadCertificateRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -53,7 +54,7 @@ public WithAttrItemRequestBuilder(Dictionary pathParameters, IRe { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -63,20 +64,20 @@ public WithAttrItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) /// /// Get key info /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, CertificateRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.CertificateRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Get key info @@ -100,11 +101,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithAttrItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.WithAttrItemRequestBuilder WithUrl(string rawUrl) { - return new WithAttrItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item.WithAttrItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ClientSecret/ClientSecretRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ClientSecret/ClientSecretRequestBuilder.cs index 8ec71e32..15de11eb 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ClientSecret/ClientSecretRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ClientSecret/ClientSecretRequestBuilder.cs @@ -9,19 +9,20 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ClientSecret { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ClientSecret +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\client-secret /// - public class ClientSecretRequestBuilder : BaseRequestBuilder + public class ClientSecretRequestBuilder : BaseRequestBuilder { /// The rotated property - public RotatedRequestBuilder Rotated + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ClientSecret.Rotated.RotatedRequestBuilder Rotated { - get => new RotatedRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ClientSecret.Rotated.RotatedRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -29,7 +30,7 @@ public ClientSecretRequestBuilder(Dictionary pathParameters, IRe { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -39,38 +40,38 @@ public ClientSecretRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) /// /// Get the client secret /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, CredentialRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.CredentialRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Generate a new secret for the client /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToPostRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, CredentialRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.CredentialRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Get the client secret @@ -113,11 +114,11 @@ public RequestInformation ToPostRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ClientSecretRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ClientSecret.ClientSecretRequestBuilder WithUrl(string rawUrl) { - return new ClientSecretRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ClientSecret.ClientSecretRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ClientSecret/Rotated/RotatedRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ClientSecret/Rotated/RotatedRequestBuilder.cs index 4007043c..ff555e18 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ClientSecret/Rotated/RotatedRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ClientSecret/Rotated/RotatedRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ClientSecret.Rotated { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ClientSecret.Rotated +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\client-secret\rotated /// - public class RotatedRequestBuilder : BaseRequestBuilder + public class RotatedRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public RotatedRequestBuilder(Dictionary pathParameters, IRequest { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -51,20 +52,20 @@ public async Task DeleteAsync(Action /// Get the rotated client secret /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, CredentialRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.CredentialRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Invalidate the rotated secret for the client @@ -106,11 +107,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public RotatedRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ClientSecret.Rotated.RotatedRequestBuilder WithUrl(string rawUrl) { - return new RotatedRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ClientSecret.Rotated.RotatedRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ClientUuItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ClientUuItemRequestBuilder.cs index 8b436b20..ebc2b856 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ClientUuItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ClientUuItemRequestBuilder.cs @@ -28,114 +28,115 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid} /// - public class ClientUuItemRequestBuilder : BaseRequestBuilder + public class ClientUuItemRequestBuilder : BaseRequestBuilder { /// The authz property - public AuthzRequestBuilder Authz + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.AuthzRequestBuilder Authz { - get => new AuthzRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Authz.AuthzRequestBuilder(PathParameters, RequestAdapter); } /// The certificates property - public CertificatesRequestBuilder Certificates + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.CertificatesRequestBuilder Certificates { - get => new CertificatesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.CertificatesRequestBuilder(PathParameters, RequestAdapter); } /// The clientSecret property - public ClientSecretRequestBuilder ClientSecret + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ClientSecret.ClientSecretRequestBuilder ClientSecret { - get => new ClientSecretRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ClientSecret.ClientSecretRequestBuilder(PathParameters, RequestAdapter); } /// The defaultClientScopes property - public DefaultClientScopesRequestBuilder DefaultClientScopes + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.DefaultClientScopes.DefaultClientScopesRequestBuilder DefaultClientScopes { - get => new DefaultClientScopesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.DefaultClientScopes.DefaultClientScopesRequestBuilder(PathParameters, RequestAdapter); } /// The evaluateScopes property - public EvaluateScopesRequestBuilder EvaluateScopes + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.EvaluateScopesRequestBuilder EvaluateScopes { - get => new EvaluateScopesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.EvaluateScopesRequestBuilder(PathParameters, RequestAdapter); } /// The installation property - public InstallationRequestBuilder Installation + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Installation.InstallationRequestBuilder Installation { - get => new InstallationRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Installation.InstallationRequestBuilder(PathParameters, RequestAdapter); } /// The management property - public ManagementRequestBuilder Management + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Management.ManagementRequestBuilder Management { - get => new ManagementRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Management.ManagementRequestBuilder(PathParameters, RequestAdapter); } /// The nodes property - public NodesRequestBuilder Nodes + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Nodes.NodesRequestBuilder Nodes { - get => new NodesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Nodes.NodesRequestBuilder(PathParameters, RequestAdapter); } /// The offlineSessionCount property - public OfflineSessionCountRequestBuilder OfflineSessionCount + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OfflineSessionCount.OfflineSessionCountRequestBuilder OfflineSessionCount { - get => new OfflineSessionCountRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OfflineSessionCount.OfflineSessionCountRequestBuilder(PathParameters, RequestAdapter); } /// The offlineSessions property - public OfflineSessionsRequestBuilder OfflineSessions + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OfflineSessions.OfflineSessionsRequestBuilder OfflineSessions { - get => new OfflineSessionsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OfflineSessions.OfflineSessionsRequestBuilder(PathParameters, RequestAdapter); } /// The optionalClientScopes property - public OptionalClientScopesRequestBuilder OptionalClientScopes + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OptionalClientScopes.OptionalClientScopesRequestBuilder OptionalClientScopes { - get => new OptionalClientScopesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OptionalClientScopes.OptionalClientScopesRequestBuilder(PathParameters, RequestAdapter); } /// The protocolMappers property - public ProtocolMappersRequestBuilder ProtocolMappers + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.ProtocolMappersRequestBuilder ProtocolMappers { - get => new ProtocolMappersRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.ProtocolMappersRequestBuilder(PathParameters, RequestAdapter); } /// The pushRevocation property - public PushRevocationRequestBuilder PushRevocation + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.PushRevocation.PushRevocationRequestBuilder PushRevocation { - get => new PushRevocationRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.PushRevocation.PushRevocationRequestBuilder(PathParameters, RequestAdapter); } /// The registrationAccessToken property - public RegistrationAccessTokenRequestBuilder RegistrationAccessToken + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.RegistrationAccessToken.RegistrationAccessTokenRequestBuilder RegistrationAccessToken { - get => new RegistrationAccessTokenRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.RegistrationAccessToken.RegistrationAccessTokenRequestBuilder(PathParameters, RequestAdapter); } /// The roles property - public RolesRequestBuilder Roles + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.RolesRequestBuilder Roles { - get => new RolesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.RolesRequestBuilder(PathParameters, RequestAdapter); } /// The scopeMappings property - public ScopeMappingsRequestBuilder ScopeMappings + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.ScopeMappingsRequestBuilder ScopeMappings { - get => new ScopeMappingsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.ScopeMappingsRequestBuilder(PathParameters, RequestAdapter); } /// The serviceAccountUser property - public ServiceAccountUserRequestBuilder ServiceAccountUser + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ServiceAccountUser.ServiceAccountUserRequestBuilder ServiceAccountUser { - get => new ServiceAccountUserRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ServiceAccountUser.ServiceAccountUserRequestBuilder(PathParameters, RequestAdapter); } /// The sessionCount property - public SessionCountRequestBuilder SessionCount + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.SessionCount.SessionCountRequestBuilder SessionCount { - get => new SessionCountRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.SessionCount.SessionCountRequestBuilder(PathParameters, RequestAdapter); } /// The testNodesAvailable property - public TestNodesAvailableRequestBuilder TestNodesAvailable + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.TestNodesAvailable.TestNodesAvailableRequestBuilder TestNodesAvailable { - get => new TestNodesAvailableRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.TestNodesAvailable.TestNodesAvailableRequestBuilder(PathParameters, RequestAdapter); } /// The userSessions property - public UserSessionsRequestBuilder UserSessions + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.UserSessions.UserSessionsRequestBuilder UserSessions { - get => new UserSessionsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.UserSessions.UserSessionsRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -143,7 +144,7 @@ public ClientUuItemRequestBuilder(Dictionary pathParameters, IRe { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -170,20 +171,20 @@ public async Task DeleteAsync(Action /// Get representation of the client /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ClientRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Update the client @@ -194,11 +195,11 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(ClientRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(ClientRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -250,11 +251,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(ClientRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(ClientRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -266,11 +267,11 @@ public RequestInformation ToPutRequestInformation(ClientRepresentation body, Act /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ClientUuItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ClientUuItemRequestBuilder WithUrl(string rawUrl) { - return new ClientUuItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ClientUuItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/DefaultClientScopes/DefaultClientScopesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/DefaultClientScopes/DefaultClientScopesRequestBuilder.cs index 803f73b7..2ddc1479 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/DefaultClientScopes/DefaultClientScopesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/DefaultClientScopes/DefaultClientScopesRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.DefaultClientScopes { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.DefaultClientScopes +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\default-client-scopes /// - public class DefaultClientScopesRequestBuilder : BaseRequestBuilder + public class DefaultClientScopesRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.clients.item.defaultClientScopes.item collection /// Unique identifier of the item - /// A - public WithClientScopeItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.DefaultClientScopes.Item.WithClientScopeItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("clientScopeId", position); - return new WithClientScopeItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.DefaultClientScopes.Item.WithClientScopeItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,7 +37,7 @@ public DefaultClientScopesRequestBuilder(Dictionary pathParamete { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -46,20 +47,20 @@ public DefaultClientScopesRequestBuilder(string rawUrl, IRequestAdapter requestA /// /// Get default client scopes. Only name and ids are returned. /// - /// A List<ClientScopeRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ClientScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -84,11 +85,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public DefaultClientScopesRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.DefaultClientScopes.DefaultClientScopesRequestBuilder WithUrl(string rawUrl) { - return new DefaultClientScopesRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.DefaultClientScopes.DefaultClientScopesRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/DefaultClientScopes/Item/WithClientScopeItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/DefaultClientScopes/Item/WithClientScopeItemRequestBuilder.cs index 1afd11bb..bd33b4c5 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/DefaultClientScopes/Item/WithClientScopeItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/DefaultClientScopes/Item/WithClientScopeItemRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.DefaultClientScopes.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.DefaultClientScopes.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\default-client-scopes\{clientScopeId} /// - public class WithClientScopeItemRequestBuilder : BaseRequestBuilder + public class WithClientScopeItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public WithClientScopeItemRequestBuilder(Dictionary pathParamete { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -90,11 +91,11 @@ public RequestInformation ToPutRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithClientScopeItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.DefaultClientScopes.Item.WithClientScopeItemRequestBuilder WithUrl(string rawUrl) { - return new WithClientScopeItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.DefaultClientScopes.Item.WithClientScopeItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/EvaluateScopesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/EvaluateScopesRequestBuilder.cs index 3891eba0..23d76058 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/EvaluateScopesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/EvaluateScopesRequestBuilder.cs @@ -10,39 +10,40 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\evaluate-scopes /// - public class EvaluateScopesRequestBuilder : BaseRequestBuilder + public class EvaluateScopesRequestBuilder : BaseRequestBuilder { /// The generateExampleAccessToken property - public GenerateExampleAccessTokenRequestBuilder GenerateExampleAccessToken + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleAccessToken.GenerateExampleAccessTokenRequestBuilder GenerateExampleAccessToken { - get => new GenerateExampleAccessTokenRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleAccessToken.GenerateExampleAccessTokenRequestBuilder(PathParameters, RequestAdapter); } /// The generateExampleIdToken property - public GenerateExampleIdTokenRequestBuilder GenerateExampleIdToken + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleIdToken.GenerateExampleIdTokenRequestBuilder GenerateExampleIdToken { - get => new GenerateExampleIdTokenRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleIdToken.GenerateExampleIdTokenRequestBuilder(PathParameters, RequestAdapter); } /// The generateExampleUserinfo property - public GenerateExampleUserinfoRequestBuilder GenerateExampleUserinfo + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleUserinfo.GenerateExampleUserinfoRequestBuilder GenerateExampleUserinfo { - get => new GenerateExampleUserinfoRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleUserinfo.GenerateExampleUserinfoRequestBuilder(PathParameters, RequestAdapter); } /// The protocolMappers property - public ProtocolMappersRequestBuilder ProtocolMappers + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ProtocolMappers.ProtocolMappersRequestBuilder ProtocolMappers { - get => new ProtocolMappersRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ProtocolMappers.ProtocolMappersRequestBuilder(PathParameters, RequestAdapter); } /// The scopeMappings property - public ScopeMappingsRequestBuilder ScopeMappings + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ScopeMappings.ScopeMappingsRequestBuilder ScopeMappings { - get => new ScopeMappingsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ScopeMappings.ScopeMappingsRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -50,7 +51,7 @@ public EvaluateScopesRequestBuilder(Dictionary pathParameters, I { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/GenerateExampleAccessToken/GenerateExampleAccessTokenRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/GenerateExampleAccessToken/GenerateExampleAccessTokenRequestBuilder.cs index 8d05e798..a0b218e8 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/GenerateExampleAccessToken/GenerateExampleAccessTokenRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/GenerateExampleAccessToken/GenerateExampleAccessTokenRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleAccessToken { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleAccessToken +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\evaluate-scopes\generate-example-access-token /// - public class GenerateExampleAccessTokenRequestBuilder : BaseRequestBuilder + public class GenerateExampleAccessTokenRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public GenerateExampleAccessTokenRequestBuilder(Dictionary pathP { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public GenerateExampleAccessTokenRequestBuilder(string rawUrl, IRequestAdapter r /// /// Create JSON with payload of example access token /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, AccessToken.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AccessToken.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Create JSON with payload of example access token @@ -55,11 +56,11 @@ public async Task GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -70,11 +71,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public GenerateExampleAccessTokenRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleAccessToken.GenerateExampleAccessTokenRequestBuilder WithUrl(string rawUrl) { - return new GenerateExampleAccessTokenRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleAccessToken.GenerateExampleAccessTokenRequestBuilder(rawUrl, RequestAdapter); } /// /// Create JSON with payload of example access token diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/GenerateExampleIdToken/GenerateExampleIdTokenRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/GenerateExampleIdToken/GenerateExampleIdTokenRequestBuilder.cs index 2a1083d9..8fe4b6b7 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/GenerateExampleIdToken/GenerateExampleIdTokenRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/GenerateExampleIdToken/GenerateExampleIdTokenRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleIdToken { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleIdToken +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\evaluate-scopes\generate-example-id-token /// - public class GenerateExampleIdTokenRequestBuilder : BaseRequestBuilder + public class GenerateExampleIdTokenRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public GenerateExampleIdTokenRequestBuilder(Dictionary pathParam { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public GenerateExampleIdTokenRequestBuilder(string rawUrl, IRequestAdapter reque /// /// Create JSON with payload of example id token /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, IDToken.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IDToken.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Create JSON with payload of example id token @@ -55,11 +56,11 @@ public async Task GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -70,11 +71,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public GenerateExampleIdTokenRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleIdToken.GenerateExampleIdTokenRequestBuilder WithUrl(string rawUrl) { - return new GenerateExampleIdTokenRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleIdToken.GenerateExampleIdTokenRequestBuilder(rawUrl, RequestAdapter); } /// /// Create JSON with payload of example id token diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/GenerateExampleUserinfo/GenerateExampleUserinfoGetResponse.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/GenerateExampleUserinfo/GenerateExampleUserinfoGetResponse.cs index 915ec070..5d084e4f 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/GenerateExampleUserinfo/GenerateExampleUserinfoGetResponse.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/GenerateExampleUserinfo/GenerateExampleUserinfoGetResponse.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleUserinfo { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleUserinfo +{ #pragma warning disable CS1591 - public class GenerateExampleUserinfoGetResponse : IAdditionalDataHolder, IParsable + public class GenerateExampleUserinfoGetResponse : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public GenerateExampleUserinfoGetResponse() { @@ -21,12 +22,12 @@ public GenerateExampleUserinfoGetResponse() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static GenerateExampleUserinfoGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleUserinfo.GenerateExampleUserinfoGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new GenerateExampleUserinfoGetResponse(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleUserinfo.GenerateExampleUserinfoGetResponse(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/GenerateExampleUserinfo/GenerateExampleUserinfoRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/GenerateExampleUserinfo/GenerateExampleUserinfoRequestBuilder.cs index 66c69283..70077da8 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/GenerateExampleUserinfo/GenerateExampleUserinfoRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/GenerateExampleUserinfo/GenerateExampleUserinfoRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleUserinfo { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleUserinfo +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\evaluate-scopes\generate-example-userinfo /// - public class GenerateExampleUserinfoRequestBuilder : BaseRequestBuilder + public class GenerateExampleUserinfoRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public GenerateExampleUserinfoRequestBuilder(Dictionary pathPara { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -32,20 +33,20 @@ public GenerateExampleUserinfoRequestBuilder(string rawUrl, IRequestAdapter requ /// /// Create JSON with payload of example user info /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, GenerateExampleUserinfoGetResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleUserinfo.GenerateExampleUserinfoGetResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Create JSON with payload of example user info @@ -54,11 +55,11 @@ public async Task GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -69,11 +70,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public GenerateExampleUserinfoRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleUserinfo.GenerateExampleUserinfoRequestBuilder WithUrl(string rawUrl) { - return new GenerateExampleUserinfoRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleUserinfo.GenerateExampleUserinfoRequestBuilder(rawUrl, RequestAdapter); } /// /// Create JSON with payload of example user info diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/ProtocolMappers/ProtocolMappersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/ProtocolMappers/ProtocolMappersRequestBuilder.cs index 991fb909..0afd1bdc 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/ProtocolMappers/ProtocolMappersRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/ProtocolMappers/ProtocolMappersRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ProtocolMappers { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ProtocolMappers +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\evaluate-scopes\protocol-mappers /// - public class ProtocolMappersRequestBuilder : BaseRequestBuilder + public class ProtocolMappersRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public ProtocolMappersRequestBuilder(Dictionary pathParameters, { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public ProtocolMappersRequestBuilder(string rawUrl, IRequestAdapter requestAdapt /// /// This means protocol mappers assigned to this client directly and protocol mappers assigned to all client scopes of this client. /// - /// A List<ProtocolMapperEvaluationRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperEvaluationRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ProtocolMapperEvaluationRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperEvaluationRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -56,11 +57,11 @@ public async Task> GetAsync(Action< /// Configuration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ProtocolMappersRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ProtocolMappers.ProtocolMappersRequestBuilder WithUrl(string rawUrl) { - return new ProtocolMappersRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ProtocolMappers.ProtocolMappersRequestBuilder(rawUrl, RequestAdapter); } /// /// This means protocol mappers assigned to this client directly and protocol mappers assigned to all client scopes of this client. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/ScopeMappings/Item/Granted/GrantedRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/ScopeMappings/Item/Granted/GrantedRequestBuilder.cs index d6cd715c..f86d7092 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/ScopeMappings/Item/Granted/GrantedRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/ScopeMappings/Item/Granted/GrantedRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ScopeMappings.Item.Granted { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ScopeMappings.Item.Granted +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\evaluate-scopes\scope-mappings\{roleContainerId}\granted /// - public class GrantedRequestBuilder : BaseRequestBuilder + public class GrantedRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public GrantedRequestBuilder(Dictionary pathParameters, IRequest { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public GrantedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba /// /// This contains scope mappings, which this client has directly, as well as scope mappings, which are granted to all client scopes, which are linked with this client. /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -56,11 +57,11 @@ public async Task> GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public GrantedRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ScopeMappings.Item.Granted.GrantedRequestBuilder WithUrl(string rawUrl) { - return new GrantedRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ScopeMappings.Item.Granted.GrantedRequestBuilder(rawUrl, RequestAdapter); } /// /// This contains scope mappings, which this client has directly, as well as scope mappings, which are granted to all client scopes, which are linked with this client. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/ScopeMappings/Item/NotGranted/NotGrantedRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/ScopeMappings/Item/NotGranted/NotGrantedRequestBuilder.cs index 856b3c05..03199a3f 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/ScopeMappings/Item/NotGranted/NotGrantedRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/ScopeMappings/Item/NotGranted/NotGrantedRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ScopeMappings.Item.NotGranted { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ScopeMappings.Item.NotGranted +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\evaluate-scopes\scope-mappings\{roleContainerId}\not-granted /// - public class NotGrantedRequestBuilder : BaseRequestBuilder + public class NotGrantedRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public NotGrantedRequestBuilder(Dictionary pathParameters, IRequ { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public NotGrantedRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// Defacto all the other roles of particular role container, which are not in {@link #getGrantedScopeMappings()} /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -56,11 +57,11 @@ public async Task> GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public NotGrantedRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ScopeMappings.Item.NotGranted.NotGrantedRequestBuilder WithUrl(string rawUrl) { - return new NotGrantedRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ScopeMappings.Item.NotGranted.NotGrantedRequestBuilder(rawUrl, RequestAdapter); } /// /// Defacto all the other roles of particular role container, which are not in {@link #getGrantedScopeMappings()} diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/ScopeMappings/Item/WithRoleContainerItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/ScopeMappings/Item/WithRoleContainerItemRequestBuilder.cs index f2037305..04db589d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/ScopeMappings/Item/WithRoleContainerItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/ScopeMappings/Item/WithRoleContainerItemRequestBuilder.cs @@ -7,24 +7,25 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ScopeMappings.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ScopeMappings.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\evaluate-scopes\scope-mappings\{roleContainerId} /// - public class WithRoleContainerItemRequestBuilder : BaseRequestBuilder + public class WithRoleContainerItemRequestBuilder : BaseRequestBuilder { /// The granted property - public GrantedRequestBuilder Granted + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ScopeMappings.Item.Granted.GrantedRequestBuilder Granted { - get => new GrantedRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ScopeMappings.Item.Granted.GrantedRequestBuilder(PathParameters, RequestAdapter); } /// The notGranted property - public NotGrantedRequestBuilder NotGranted + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ScopeMappings.Item.NotGranted.NotGrantedRequestBuilder NotGranted { - get => new NotGrantedRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ScopeMappings.Item.NotGranted.NotGrantedRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -32,7 +33,7 @@ public WithRoleContainerItemRequestBuilder(Dictionary pathParame { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/ScopeMappings/ScopeMappingsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/ScopeMappings/ScopeMappingsRequestBuilder.cs index 96c4c9ea..586c0ef2 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/ScopeMappings/ScopeMappingsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/EvaluateScopes/ScopeMappings/ScopeMappingsRequestBuilder.cs @@ -6,26 +6,27 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ScopeMappings { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ScopeMappings +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\evaluate-scopes\scope-mappings /// - public class ScopeMappingsRequestBuilder : BaseRequestBuilder + public class ScopeMappingsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.clients.item.evaluateScopes.scopeMappings.item collection /// either realm name OR client UUID - /// A - public WithRoleContainerItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ScopeMappings.Item.WithRoleContainerItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("roleContainerId", position); - return new WithRoleContainerItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ScopeMappings.Item.WithRoleContainerItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -33,7 +34,7 @@ public ScopeMappingsRequestBuilder(Dictionary pathParameters, IR { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Installation/InstallationRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Installation/InstallationRequestBuilder.cs index 41e85ac8..1ae00787 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Installation/InstallationRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Installation/InstallationRequestBuilder.cs @@ -6,19 +6,20 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Installation { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Installation +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\installation /// - public class InstallationRequestBuilder : BaseRequestBuilder + public class InstallationRequestBuilder : BaseRequestBuilder { /// The providers property - public ProvidersRequestBuilder Providers + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Installation.Providers.ProvidersRequestBuilder Providers { - get => new ProvidersRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Installation.Providers.ProvidersRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -26,7 +27,7 @@ public InstallationRequestBuilder(Dictionary pathParameters, IRe { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Installation/Providers/Item/WithProviderItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Installation/Providers/Item/WithProviderItemRequestBuilder.cs index 94b0ee88..e40f8776 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Installation/Providers/Item/WithProviderItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Installation/Providers/Item/WithProviderItemRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Installation.Providers.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Installation.Providers.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\installation\providers\{providerId} /// - public class WithProviderItemRequestBuilder : BaseRequestBuilder + public class WithProviderItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public WithProviderItemRequestBuilder(Dictionary pathParameters, { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -62,11 +63,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithProviderItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Installation.Providers.Item.WithProviderItemRequestBuilder WithUrl(string rawUrl) { - return new WithProviderItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Installation.Providers.Item.WithProviderItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Installation/Providers/ProvidersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Installation/Providers/ProvidersRequestBuilder.cs index 2c51f5a5..60fef5fd 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Installation/Providers/ProvidersRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Installation/Providers/ProvidersRequestBuilder.cs @@ -6,26 +6,27 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Installation.Providers { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Installation.Providers +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\installation\providers /// - public class ProvidersRequestBuilder : BaseRequestBuilder + public class ProvidersRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.clients.item.installation.providers.item collection /// Unique identifier of the item - /// A - public WithProviderItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Installation.Providers.Item.WithProviderItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("providerId", position); - return new WithProviderItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Installation.Providers.Item.WithProviderItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -33,7 +34,7 @@ public ProvidersRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Management/ManagementRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Management/ManagementRequestBuilder.cs index 5b21e177..e2ece527 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Management/ManagementRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Management/ManagementRequestBuilder.cs @@ -6,19 +6,20 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Management { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Management +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\management /// - public class ManagementRequestBuilder : BaseRequestBuilder + public class ManagementRequestBuilder : BaseRequestBuilder { /// The permissions property - public PermissionsRequestBuilder Permissions + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Management.Permissions.PermissionsRequestBuilder Permissions { - get => new PermissionsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Management.Permissions.PermissionsRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -26,7 +27,7 @@ public ManagementRequestBuilder(Dictionary pathParameters, IRequ { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Management/Permissions/PermissionsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Management/Permissions/PermissionsRequestBuilder.cs index a61f1115..ef916c8d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Management/Permissions/PermissionsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Management/Permissions/PermissionsRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Management.Permissions { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Management.Permissions +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\management\permissions /// - public class PermissionsRequestBuilder : BaseRequestBuilder + public class PermissionsRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public PermissionsRequestBuilder(Dictionary pathParameters, IReq { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,40 +34,40 @@ public PermissionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) /// /// Return object stating whether client Authorization permissions have been initialized or not and a reference /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Return object stating whether client Authorization permissions have been initialized or not and a reference /// - /// A + /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(ManagementPermissionReference body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(ManagementPermissionReference body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPutRequestInformation(body, requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Return object stating whether client Authorization permissions have been initialized or not and a reference @@ -95,11 +96,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(ManagementPermissionReference body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(ManagementPermissionReference body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -112,11 +113,11 @@ public RequestInformation ToPutRequestInformation(ManagementPermissionReference /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public PermissionsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Management.Permissions.PermissionsRequestBuilder WithUrl(string rawUrl) { - return new PermissionsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Management.Permissions.PermissionsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Nodes/Item/WithNodeItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Nodes/Item/WithNodeItemRequestBuilder.cs index 172f1f8f..a6f587f1 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Nodes/Item/WithNodeItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Nodes/Item/WithNodeItemRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Nodes.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Nodes.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\nodes\{node} /// - public class WithNodeItemRequestBuilder : BaseRequestBuilder + public class WithNodeItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public WithNodeItemRequestBuilder(Dictionary pathParameters, IRe { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -67,11 +68,11 @@ public RequestInformation ToDeleteRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithNodeItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Nodes.Item.WithNodeItemRequestBuilder WithUrl(string rawUrl) { - return new WithNodeItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Nodes.Item.WithNodeItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Nodes/NodesPostRequestBody.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Nodes/NodesPostRequestBody.cs index 34a59fa7..442314c0 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Nodes/NodesPostRequestBody.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Nodes/NodesPostRequestBody.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Nodes { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Nodes +{ #pragma warning disable CS1591 - public class NodesPostRequestBody : IAdditionalDataHolder, IParsable + public class NodesPostRequestBody : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public NodesPostRequestBody() { @@ -21,12 +22,12 @@ public NodesPostRequestBody() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static NodesPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Nodes.NodesPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new NodesPostRequestBody(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Nodes.NodesPostRequestBody(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Nodes/NodesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Nodes/NodesRequestBuilder.cs index 8dd9947b..d4a16296 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Nodes/NodesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Nodes/NodesRequestBuilder.cs @@ -8,26 +8,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Nodes { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Nodes +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\nodes /// - public class NodesRequestBuilder : BaseRequestBuilder + public class NodesRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.clients.item.nodes.item collection /// Unique identifier of the item - /// A - public WithNodeItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Nodes.Item.WithNodeItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("node", position); - return new WithNodeItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Nodes.Item.WithNodeItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public NodesRequestBuilder(Dictionary pathParameters, IRequestAd { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -50,11 +51,11 @@ public NodesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(NodesPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Nodes.NodesPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(NodesPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Nodes.NodesPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -69,11 +70,11 @@ public async Task PostAsync(NodesPostRequestBody body, ActionConfiguration 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(NodesPostRequestBody body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Nodes.NodesPostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(NodesPostRequestBody body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Nodes.NodesPostRequestBody body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -85,11 +86,11 @@ public RequestInformation ToPostRequestInformation(NodesPostRequestBody body, Ac /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public NodesRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Nodes.NodesRequestBuilder WithUrl(string rawUrl) { - return new NodesRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Nodes.NodesRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/OfflineSessionCount/OfflineSessionCountGetResponse.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/OfflineSessionCount/OfflineSessionCountGetResponse.cs index e80f8820..a6658133 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/OfflineSessionCount/OfflineSessionCountGetResponse.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/OfflineSessionCount/OfflineSessionCountGetResponse.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OfflineSessionCount { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OfflineSessionCount +{ #pragma warning disable CS1591 - public class OfflineSessionCountGetResponse : IAdditionalDataHolder, IParsable + public class OfflineSessionCountGetResponse : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public OfflineSessionCountGetResponse() { @@ -21,12 +22,12 @@ public OfflineSessionCountGetResponse() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static OfflineSessionCountGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OfflineSessionCount.OfflineSessionCountGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new OfflineSessionCountGetResponse(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OfflineSessionCount.OfflineSessionCountGetResponse(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/OfflineSessionCount/OfflineSessionCountRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/OfflineSessionCount/OfflineSessionCountRequestBuilder.cs index 02446553..409bafb4 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/OfflineSessionCount/OfflineSessionCountRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/OfflineSessionCount/OfflineSessionCountRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OfflineSessionCount { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OfflineSessionCount +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\offline-session-count /// - public class OfflineSessionCountRequestBuilder : BaseRequestBuilder + public class OfflineSessionCountRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public OfflineSessionCountRequestBuilder(Dictionary pathParamete { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -32,20 +33,20 @@ public OfflineSessionCountRequestBuilder(string rawUrl, IRequestAdapter requestA /// /// Get application offline session count Returns a number of offline user sessions associated with this client { "count": number } /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, OfflineSessionCountGetResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OfflineSessionCount.OfflineSessionCountGetResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Get application offline session count Returns a number of offline user sessions associated with this client { "count": number } @@ -69,11 +70,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public OfflineSessionCountRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OfflineSessionCount.OfflineSessionCountRequestBuilder WithUrl(string rawUrl) { - return new OfflineSessionCountRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OfflineSessionCount.OfflineSessionCountRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/OfflineSessions/OfflineSessionsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/OfflineSessions/OfflineSessionsRequestBuilder.cs index cb987a0f..8c0bd2fd 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/OfflineSessions/OfflineSessionsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/OfflineSessions/OfflineSessionsRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OfflineSessions { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OfflineSessions +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\offline-sessions /// - public class OfflineSessionsRequestBuilder : BaseRequestBuilder + public class OfflineSessionsRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public OfflineSessionsRequestBuilder(Dictionary pathParameters, { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public OfflineSessionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt /// /// Get offline sessions for client Returns a list of offline user sessions associated with this client /// - /// A List<UserSessionRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserSessionRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, UserSessionRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserSessionRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -56,11 +57,11 @@ public async Task> GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public OfflineSessionsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OfflineSessions.OfflineSessionsRequestBuilder WithUrl(string rawUrl) { - return new OfflineSessionsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OfflineSessions.OfflineSessionsRequestBuilder(rawUrl, RequestAdapter); } /// /// Get offline sessions for client Returns a list of offline user sessions associated with this client diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/OptionalClientScopes/Item/WithClientScopeItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/OptionalClientScopes/Item/WithClientScopeItemRequestBuilder.cs index 1a747751..6f9fc6cb 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/OptionalClientScopes/Item/WithClientScopeItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/OptionalClientScopes/Item/WithClientScopeItemRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OptionalClientScopes.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OptionalClientScopes.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\optional-client-scopes\{clientScopeId} /// - public class WithClientScopeItemRequestBuilder : BaseRequestBuilder + public class WithClientScopeItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public WithClientScopeItemRequestBuilder(Dictionary pathParamete { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -90,11 +91,11 @@ public RequestInformation ToPutRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithClientScopeItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OptionalClientScopes.Item.WithClientScopeItemRequestBuilder WithUrl(string rawUrl) { - return new WithClientScopeItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OptionalClientScopes.Item.WithClientScopeItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/OptionalClientScopes/OptionalClientScopesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/OptionalClientScopes/OptionalClientScopesRequestBuilder.cs index e5f2f538..6d639df5 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/OptionalClientScopes/OptionalClientScopesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/OptionalClientScopes/OptionalClientScopesRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OptionalClientScopes { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OptionalClientScopes +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\optional-client-scopes /// - public class OptionalClientScopesRequestBuilder : BaseRequestBuilder + public class OptionalClientScopesRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.clients.item.optionalClientScopes.item collection /// Unique identifier of the item - /// A - public WithClientScopeItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OptionalClientScopes.Item.WithClientScopeItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("clientScopeId", position); - return new WithClientScopeItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OptionalClientScopes.Item.WithClientScopeItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,7 +37,7 @@ public OptionalClientScopesRequestBuilder(Dictionary pathParamet { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -46,20 +47,20 @@ public OptionalClientScopesRequestBuilder(string rawUrl, IRequestAdapter request /// /// Get optional client scopes. Only name and ids are returned. /// - /// A List<ClientScopeRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ClientScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -84,11 +85,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public OptionalClientScopesRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OptionalClientScopes.OptionalClientScopesRequestBuilder WithUrl(string rawUrl) { - return new OptionalClientScopesRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.OptionalClientScopes.OptionalClientScopesRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/AddModels/AddModelsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/AddModels/AddModelsRequestBuilder.cs index 90d67294..bddc704e 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/AddModels/AddModelsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/AddModels/AddModelsRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.AddModels { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.AddModels +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\protocol-mappers\add-models /// - public class AddModelsRequestBuilder : BaseRequestBuilder + public class AddModelsRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public AddModelsRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -38,11 +39,11 @@ public AddModelsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -57,11 +58,11 @@ public async Task PostAsync(List body, ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -73,11 +74,11 @@ public RequestInformation ToPostRequestInformation(List /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public AddModelsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.AddModels.AddModelsRequestBuilder WithUrl(string rawUrl) { - return new AddModelsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.AddModels.AddModelsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/ModelsRequests/Item/ModelsItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/ModelsRequests/Item/ModelsItemRequestBuilder.cs index a149c8f6..81ccf4aa 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/ModelsRequests/Item/ModelsItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/ModelsRequests/Item/ModelsItemRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.ModelsRequests.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.ModelsRequests.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\protocol-mappers\models\{id} /// - public class ModelsItemRequestBuilder : BaseRequestBuilder + public class ModelsItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public ModelsItemRequestBuilder(Dictionary pathParameters, IRequ { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -50,20 +51,20 @@ public async Task DeleteAsync(Action /// Get mapper by id /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ProtocolMapperRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Update the mapper @@ -73,11 +74,11 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(ProtocolMapperRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(ProtocolMapperRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -129,11 +130,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(ProtocolMapperRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(ProtocolMapperRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -145,11 +146,11 @@ public RequestInformation ToPutRequestInformation(ProtocolMapperRepresentation b /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ModelsItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.ModelsRequests.Item.ModelsItemRequestBuilder WithUrl(string rawUrl) { - return new ModelsItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.ModelsRequests.Item.ModelsItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/ModelsRequests/ModelsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/ModelsRequests/ModelsRequestBuilder.cs index 4368e44e..c2cd12b5 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/ModelsRequests/ModelsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/ModelsRequests/ModelsRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.ModelsRequests { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.ModelsRequests +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\protocol-mappers\models /// - public class ModelsRequestBuilder : BaseRequestBuilder + public class ModelsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.clients.item.protocolMappers.modelsRequests.item collection /// Mapper id - /// A - public ModelsItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.ModelsRequests.Item.ModelsItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("id", position); - return new ModelsItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.ModelsRequests.Item.ModelsItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,7 +37,7 @@ public ModelsRequestBuilder(Dictionary pathParameters, IRequestA { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -46,20 +47,20 @@ public ModelsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// /// Get mappers /// - /// A List<ProtocolMapperRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ProtocolMapperRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(ProtocolMapperRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(ProtocolMapperRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -109,11 +110,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(ProtocolMapperRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(ProtocolMapperRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -125,11 +126,11 @@ public RequestInformation ToPostRequestInformation(ProtocolMapperRepresentation /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ModelsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.ModelsRequests.ModelsRequestBuilder WithUrl(string rawUrl) { - return new ModelsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.ModelsRequests.ModelsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/Protocol/Item/WithProtocolItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/Protocol/Item/WithProtocolItemRequestBuilder.cs index 13ab00ac..825da572 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/Protocol/Item/WithProtocolItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/Protocol/Item/WithProtocolItemRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.Protocol.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.Protocol.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\protocol-mappers\protocol\{protocol} /// - public class WithProtocolItemRequestBuilder : BaseRequestBuilder + public class WithProtocolItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public WithProtocolItemRequestBuilder(Dictionary pathParameters, { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public WithProtocolItemRequestBuilder(string rawUrl, IRequestAdapter requestAdap /// /// Get mappers by name for a specific protocol /// - /// A List<ProtocolMapperRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ProtocolMapperRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithProtocolItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.Protocol.Item.WithProtocolItemRequestBuilder WithUrl(string rawUrl) { - return new WithProtocolItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.Protocol.Item.WithProtocolItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/Protocol/ProtocolRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/Protocol/ProtocolRequestBuilder.cs index 42ee31ed..e2680ed6 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/Protocol/ProtocolRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/Protocol/ProtocolRequestBuilder.cs @@ -6,26 +6,27 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.Protocol { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.Protocol +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\protocol-mappers\protocol /// - public class ProtocolRequestBuilder : BaseRequestBuilder + public class ProtocolRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.clients.item.protocolMappers.protocol.item collection /// Unique identifier of the item - /// A - public WithProtocolItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.Protocol.Item.WithProtocolItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("protocol", position); - return new WithProtocolItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.Protocol.Item.WithProtocolItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -33,7 +34,7 @@ public ProtocolRequestBuilder(Dictionary pathParameters, IReques { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/ProtocolMappersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/ProtocolMappersRequestBuilder.cs index cc8e42f9..633ce101 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/ProtocolMappersRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ProtocolMappers/ProtocolMappersRequestBuilder.cs @@ -8,29 +8,30 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\protocol-mappers /// - public class ProtocolMappersRequestBuilder : BaseRequestBuilder + public class ProtocolMappersRequestBuilder : BaseRequestBuilder { /// The addModels property - public AddModelsRequestBuilder AddModels + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.AddModels.AddModelsRequestBuilder AddModels { - get => new AddModelsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.AddModels.AddModelsRequestBuilder(PathParameters, RequestAdapter); } /// The models property - public ModelsRequestBuilder Models + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.ModelsRequests.ModelsRequestBuilder Models { - get => new ModelsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.ModelsRequests.ModelsRequestBuilder(PathParameters, RequestAdapter); } /// The protocol property - public ProtocolRequestBuilder Protocol + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.Protocol.ProtocolRequestBuilder Protocol { - get => new ProtocolRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ProtocolMappers.Protocol.ProtocolRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -38,7 +39,7 @@ public ProtocolMappersRequestBuilder(Dictionary pathParameters, { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/PushRevocation/PushRevocationRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/PushRevocation/PushRevocationRequestBuilder.cs index 5254d6f2..42f5cf41 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/PushRevocation/PushRevocationRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/PushRevocation/PushRevocationRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.PushRevocation { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.PushRevocation +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\push-revocation /// - public class PushRevocationRequestBuilder : BaseRequestBuilder + public class PushRevocationRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public PushRevocationRequestBuilder(Dictionary pathParameters, I { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public PushRevocationRequestBuilder(string rawUrl, IRequestAdapter requestAdapte /// /// Push the client's revocation policy to its admin URL If the client has an admin URL, push revocation policy to it. /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToPostRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, GlobalRequestResult.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GlobalRequestResult.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Push the client's revocation policy to its admin URL If the client has an admin URL, push revocation policy to it. @@ -70,11 +71,11 @@ public RequestInformation ToPostRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public PushRevocationRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.PushRevocation.PushRevocationRequestBuilder WithUrl(string rawUrl) { - return new PushRevocationRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.PushRevocation.PushRevocationRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/RegistrationAccessToken/RegistrationAccessTokenRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/RegistrationAccessToken/RegistrationAccessTokenRequestBuilder.cs index 60774410..49f3a524 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/RegistrationAccessToken/RegistrationAccessTokenRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/RegistrationAccessToken/RegistrationAccessTokenRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.RegistrationAccessToken { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.RegistrationAccessToken +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\registration-access-token /// - public class RegistrationAccessTokenRequestBuilder : BaseRequestBuilder + public class RegistrationAccessTokenRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public RegistrationAccessTokenRequestBuilder(Dictionary pathPara { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public RegistrationAccessTokenRequestBuilder(string rawUrl, IRequestAdapter requ /// /// Generate a new registration access token for the client /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToPostRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ClientRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Generate a new registration access token for the client @@ -70,11 +71,11 @@ public RequestInformation ToPostRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public RegistrationAccessTokenRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.RegistrationAccessToken.RegistrationAccessTokenRequestBuilder WithUrl(string rawUrl) { - return new RegistrationAccessTokenRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.RegistrationAccessToken.RegistrationAccessTokenRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Composites/Clients/ClientsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Composites/Clients/ClientsRequestBuilder.cs index 59dc534a..c5eaacad 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Composites/Clients/ClientsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Composites/Clients/ClientsRequestBuilder.cs @@ -6,11 +6,12 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Composites.Clients { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Composites.Clients +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\roles\{role-name}\composites\clients /// - public class ClientsRequestBuilder : BaseRequestBuilder + public class ClientsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.clients.item.roles.item.composites.clients.item collection /// Unique identifier of the item @@ -25,7 +26,7 @@ public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Role } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -33,7 +34,7 @@ public ClientsRequestBuilder(Dictionary pathParameters, IRequest { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Composites/Clients/Item/ClientUuItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Composites/Clients/Item/ClientUuItemRequestBuilder.cs index 40c72010..1fbe56eb 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Composites/Clients/Item/ClientUuItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Composites/Clients/Item/ClientUuItemRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Composites.Clients.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Composites.Clients.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\roles\{role-name}\composites\clients\{client-uuid} /// - public class ClientUuItemRequestBuilder : BaseRequestBuilder + public class ClientUuItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public ClientUuItemRequestBuilder(Dictionary pathParameters, IRe { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public ClientUuItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) /// /// Get client-level roles for the client that are in the role's composite /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ClientUuItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Composites.Clients.Item.ClientUuItemRequestBuilder WithUrl(string rawUrl) { - return new ClientUuItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Composites.Clients.Item.ClientUuItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Composites/CompositesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Composites/CompositesRequestBuilder.cs index 71febd65..a9d25a51 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Composites/CompositesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Composites/CompositesRequestBuilder.cs @@ -10,11 +10,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Composites { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Composites +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\roles\{role-name}\composites /// - public class CompositesRequestBuilder : BaseRequestBuilder + public class CompositesRequestBuilder : BaseRequestBuilder { /// The clients property public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Composites.Clients.ClientsRequestBuilder Clients @@ -22,12 +23,12 @@ public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Role get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Composites.Clients.ClientsRequestBuilder(PathParameters, RequestAdapter); } /// The realm property - public RealmRequestBuilder Realm + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Composites.Realm.RealmRequestBuilder Realm { - get => new RealmRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Composites.Realm.RealmRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public CompositesRequestBuilder(Dictionary pathParameters, IRequ { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -50,11 +51,11 @@ public CompositesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -64,20 +65,20 @@ public async Task DeleteAsync(List body, Action /// Get composites of the role /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -88,11 +89,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -107,11 +108,11 @@ public async Task PostAsync(List body, ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -147,11 +148,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -163,11 +164,11 @@ public RequestInformation ToPostRequestInformation(List body /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public CompositesRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Composites.CompositesRequestBuilder WithUrl(string rawUrl) { - return new CompositesRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Composites.CompositesRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Composites/Realm/RealmRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Composites/Realm/RealmRequestBuilder.cs index 6e795169..3136f25e 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Composites/Realm/RealmRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Composites/Realm/RealmRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Composites.Realm { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Composites.Realm +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\roles\{role-name}\composites\realm /// - public class RealmRequestBuilder : BaseRequestBuilder + public class RealmRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public RealmRequestBuilder(Dictionary pathParameters, IRequestAd { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public RealmRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// Get realm-level roles of the role's composite /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public RealmRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Composites.Realm.RealmRequestBuilder WithUrl(string rawUrl) { - return new RealmRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Composites.Realm.RealmRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Groups/GroupsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Groups/GroupsRequestBuilder.cs index 87145879..a6a0b8d3 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Groups/GroupsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Groups/GroupsRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Groups { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Groups +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\roles\{role-name}\groups /// - public class GroupsRequestBuilder : BaseRequestBuilder + public class GroupsRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public GroupsRequestBuilder(Dictionary pathParameters, IRequestA { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public GroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// /// Returns a stream of groups that have the specified role name /// - /// A List<GroupRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, GroupRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -56,11 +57,11 @@ public async Task> GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public GroupsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Groups.GroupsRequestBuilder WithUrl(string rawUrl) { - return new GroupsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Groups.GroupsRequestBuilder(rawUrl, RequestAdapter); } /// /// Returns a stream of groups that have the specified role name diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Management/ManagementRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Management/ManagementRequestBuilder.cs index d644ad3c..8ac4438c 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Management/ManagementRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Management/ManagementRequestBuilder.cs @@ -6,19 +6,20 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Management { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Management +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\roles\{role-name}\management /// - public class ManagementRequestBuilder : BaseRequestBuilder + public class ManagementRequestBuilder : BaseRequestBuilder { /// The permissions property - public PermissionsRequestBuilder Permissions + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Management.Permissions.PermissionsRequestBuilder Permissions { - get => new PermissionsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Management.Permissions.PermissionsRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -26,7 +27,7 @@ public ManagementRequestBuilder(Dictionary pathParameters, IRequ { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Management/Permissions/PermissionsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Management/Permissions/PermissionsRequestBuilder.cs index 1956866f..b2b5cdb7 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Management/Permissions/PermissionsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Management/Permissions/PermissionsRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Management.Permissions { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Management.Permissions +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\roles\{role-name}\management\permissions /// - public class PermissionsRequestBuilder : BaseRequestBuilder + public class PermissionsRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public PermissionsRequestBuilder(Dictionary pathParameters, IReq { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,40 +34,40 @@ public PermissionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) /// /// Return object stating whether role Authorization permissions have been initialized or not and a reference /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Return object stating whether role Authorization permissions have been initialized or not and a reference /// - /// A + /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(ManagementPermissionReference body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(ManagementPermissionReference body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPutRequestInformation(body, requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Return object stating whether role Authorization permissions have been initialized or not and a reference @@ -95,11 +96,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(ManagementPermissionReference body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(ManagementPermissionReference body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -112,11 +113,11 @@ public RequestInformation ToPutRequestInformation(ManagementPermissionReference /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public PermissionsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Management.Permissions.PermissionsRequestBuilder WithUrl(string rawUrl) { - return new PermissionsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Management.Permissions.PermissionsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/RoleNameItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/RoleNameItemRequestBuilder.cs index fb0e71b3..3902db32 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/RoleNameItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/RoleNameItemRequestBuilder.cs @@ -12,34 +12,35 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\roles\{role-name} /// - public class RoleNameItemRequestBuilder : BaseRequestBuilder + public class RoleNameItemRequestBuilder : BaseRequestBuilder { /// The composites property - public CompositesRequestBuilder Composites + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Composites.CompositesRequestBuilder Composites { - get => new CompositesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Composites.CompositesRequestBuilder(PathParameters, RequestAdapter); } /// The groups property - public GroupsRequestBuilder Groups + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Groups.GroupsRequestBuilder Groups { - get => new GroupsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Groups.GroupsRequestBuilder(PathParameters, RequestAdapter); } /// The management property - public ManagementRequestBuilder Management + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Management.ManagementRequestBuilder Management { - get => new ManagementRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Management.ManagementRequestBuilder(PathParameters, RequestAdapter); } /// The users property - public UsersRequestBuilder Users + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Users.UsersRequestBuilder Users { - get => new UsersRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Users.UsersRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -47,7 +48,7 @@ public RoleNameItemRequestBuilder(Dictionary pathParameters, IRe { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -74,20 +75,20 @@ public async Task DeleteAsync(Action /// Get a role by name /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Update a role by name @@ -98,11 +99,11 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(RoleRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(RoleRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -154,11 +155,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(RoleRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(RoleRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -170,11 +171,11 @@ public RequestInformation ToPutRequestInformation(RoleRepresentation body, Actio /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public RoleNameItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.RoleNameItemRequestBuilder WithUrl(string rawUrl) { - return new RoleNameItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.RoleNameItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Users/UsersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Users/UsersRequestBuilder.cs index ddf48a0f..5e42c33c 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Users/UsersRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/Item/Users/UsersRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Users { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Users +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\roles\{role-name}\users /// - public class UsersRequestBuilder : BaseRequestBuilder + public class UsersRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public UsersRequestBuilder(Dictionary pathParameters, IRequestAd { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// Returns a stream of users that have the specified role name. /// - /// A List<UserRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, UserRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -56,11 +57,11 @@ public async Task> GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public UsersRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Users.UsersRequestBuilder WithUrl(string rawUrl) { - return new UsersRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.Users.UsersRequestBuilder(rawUrl, RequestAdapter); } /// /// Returns a stream of users that have the specified role name. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/RolesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/RolesRequestBuilder.cs index 7e727505..c44f1c40 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/RolesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/Roles/RolesRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\roles /// - public class RolesRequestBuilder : BaseRequestBuilder + public class RolesRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.clients.item.roles.item collection /// role's name (not id!) - /// A - public RoleNameItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.RoleNameItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("role%2Dname", position); - return new RoleNameItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.Item.RoleNameItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,7 +37,7 @@ public RolesRequestBuilder(Dictionary pathParameters, IRequestAd { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -46,20 +47,20 @@ public RolesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// Get all roles for the realm or client /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(RoleRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(RoleRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -89,11 +90,11 @@ public async Task PostAsync(RoleRepresentation body, ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -109,11 +110,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(RoleRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(RoleRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -125,11 +126,11 @@ public RequestInformation ToPostRequestInformation(RoleRepresentation body, Acti /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public RolesRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.RolesRequestBuilder WithUrl(string rawUrl) { - return new RolesRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Roles.RolesRequestBuilder(rawUrl, RequestAdapter); } /// /// Get all roles for the realm or client diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Clients/ClientsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Clients/ClientsRequestBuilder.cs index 9decbe80..6e36ed73 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Clients/ClientsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Clients/ClientsRequestBuilder.cs @@ -6,26 +6,27 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Clients { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Clients +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\scope-mappings\clients /// - public class ClientsRequestBuilder : BaseRequestBuilder + public class ClientsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.clients.item.scopeMappings.clients.item collection /// Unique identifier of the item - /// A - public WithClientItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Clients.Item.WithClientItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("client", position); - return new WithClientItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Clients.Item.WithClientItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -33,7 +34,7 @@ public ClientsRequestBuilder(Dictionary pathParameters, IRequest { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Clients/Item/Available/AvailableRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Clients/Item/Available/AvailableRequestBuilder.cs index 960ecdcf..854c38c3 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Clients/Item/Available/AvailableRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Clients/Item/Available/AvailableRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Clients.Item.Available { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Clients.Item.Available +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\scope-mappings\clients\{client}\available /// - public class AvailableRequestBuilder : BaseRequestBuilder + public class AvailableRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public AvailableRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public AvailableRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// The available client-level roles Returns the roles for the client that can be associated with the client's scope /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public AvailableRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Clients.Item.Available.AvailableRequestBuilder WithUrl(string rawUrl) { - return new AvailableRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Clients.Item.Available.AvailableRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Clients/Item/Composite/CompositeRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Clients/Item/Composite/CompositeRequestBuilder.cs index fb50ade5..77ac28c1 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Clients/Item/Composite/CompositeRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Clients/Item/Composite/CompositeRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Clients.Item.Composite { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Clients.Item.Composite +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\scope-mappings\clients\{client}\composite /// - public class CompositeRequestBuilder : BaseRequestBuilder + public class CompositeRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public CompositeRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public CompositeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// Get effective client roles Returns the roles for the client that are associated with the client's scope. /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -56,11 +57,11 @@ public async Task> GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public CompositeRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Clients.Item.Composite.CompositeRequestBuilder WithUrl(string rawUrl) { - return new CompositeRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Clients.Item.Composite.CompositeRequestBuilder(rawUrl, RequestAdapter); } /// /// Get effective client roles Returns the roles for the client that are associated with the client's scope. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Clients/Item/WithClientItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Clients/Item/WithClientItemRequestBuilder.cs index 32c6ea3a..afa1b468 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Clients/Item/WithClientItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Clients/Item/WithClientItemRequestBuilder.cs @@ -10,24 +10,25 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Clients.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Clients.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\scope-mappings\clients\{client} /// - public class WithClientItemRequestBuilder : BaseRequestBuilder + public class WithClientItemRequestBuilder : BaseRequestBuilder { /// The available property - public AvailableRequestBuilder Available + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Clients.Item.Available.AvailableRequestBuilder Available { - get => new AvailableRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Clients.Item.Available.AvailableRequestBuilder(PathParameters, RequestAdapter); } /// The composite property - public CompositeRequestBuilder Composite + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Clients.Item.Composite.CompositeRequestBuilder Composite { - get => new CompositeRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Clients.Item.Composite.CompositeRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public WithClientItemRequestBuilder(Dictionary pathParameters, I { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -50,11 +51,11 @@ public WithClientItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapte /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -64,20 +65,20 @@ public async Task DeleteAsync(List body, Action /// Get the roles associated with a client's scope Returns roles for the client. /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -88,11 +89,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -107,11 +108,11 @@ public async Task PostAsync(List body, ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -147,11 +148,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -163,11 +164,11 @@ public RequestInformation ToPostRequestInformation(List body /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithClientItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Clients.Item.WithClientItemRequestBuilder WithUrl(string rawUrl) { - return new WithClientItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Clients.Item.WithClientItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Realm/Available/AvailableRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Realm/Available/AvailableRequestBuilder.cs index 1facd51f..ee3b5489 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Realm/Available/AvailableRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Realm/Available/AvailableRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Realm.Available { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Realm.Available +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\scope-mappings\realm\available /// - public class AvailableRequestBuilder : BaseRequestBuilder + public class AvailableRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public AvailableRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public AvailableRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// Get realm-level roles that are available to attach to this client's scope /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public AvailableRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Realm.Available.AvailableRequestBuilder WithUrl(string rawUrl) { - return new AvailableRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Realm.Available.AvailableRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Realm/Composite/CompositeRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Realm/Composite/CompositeRequestBuilder.cs index c00c5997..d6d7872d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Realm/Composite/CompositeRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Realm/Composite/CompositeRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Realm.Composite { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Realm.Composite +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\scope-mappings\realm\composite /// - public class CompositeRequestBuilder : BaseRequestBuilder + public class CompositeRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public CompositeRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public CompositeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// The method is really to show a comprehensive total view of realm-level roles associated with the client. /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -56,11 +57,11 @@ public async Task> GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public CompositeRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Realm.Composite.CompositeRequestBuilder WithUrl(string rawUrl) { - return new CompositeRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Realm.Composite.CompositeRequestBuilder(rawUrl, RequestAdapter); } /// /// The method is really to show a comprehensive total view of realm-level roles associated with the client. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Realm/RealmRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Realm/RealmRequestBuilder.cs index 79618fe6..fc16252d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Realm/RealmRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/Realm/RealmRequestBuilder.cs @@ -10,24 +10,25 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Realm { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Realm +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\scope-mappings\realm /// - public class RealmRequestBuilder : BaseRequestBuilder + public class RealmRequestBuilder : BaseRequestBuilder { /// The available property - public AvailableRequestBuilder Available + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Realm.Available.AvailableRequestBuilder Available { - get => new AvailableRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Realm.Available.AvailableRequestBuilder(PathParameters, RequestAdapter); } /// The composite property - public CompositeRequestBuilder Composite + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Realm.Composite.CompositeRequestBuilder Composite { - get => new CompositeRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Realm.Composite.CompositeRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public RealmRequestBuilder(Dictionary pathParameters, IRequestAd { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -50,11 +51,11 @@ public RealmRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -64,20 +65,20 @@ public async Task DeleteAsync(List body, Action /// Get realm-level roles associated with the client's scope /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -88,11 +89,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -107,11 +108,11 @@ public async Task PostAsync(List body, ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -147,11 +148,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -163,11 +164,11 @@ public RequestInformation ToPostRequestInformation(List body /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public RealmRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Realm.RealmRequestBuilder WithUrl(string rawUrl) { - return new RealmRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Realm.RealmRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/ScopeMappingsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/ScopeMappingsRequestBuilder.cs index 84333b4a..f9c6c59a 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/ScopeMappingsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ScopeMappings/ScopeMappingsRequestBuilder.cs @@ -10,11 +10,12 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\scope-mappings /// - public class ScopeMappingsRequestBuilder : BaseRequestBuilder + public class ScopeMappingsRequestBuilder : BaseRequestBuilder { /// The clients property [Obsolete("")] @@ -24,12 +25,12 @@ public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Scop } /// The realm property [Obsolete("")] - public RealmRequestBuilder Realm + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Realm.RealmRequestBuilder Realm { - get => new RealmRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.Realm.RealmRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -37,7 +38,7 @@ public ScopeMappingsRequestBuilder(Dictionary pathParameters, IR { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -47,21 +48,21 @@ public ScopeMappingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter /// /// Get all scope mappings for the client /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. [Obsolete("")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, MappingsRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.MappingsRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Get all scope mappings for the client @@ -86,12 +87,12 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. [Obsolete("")] - public ScopeMappingsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.ScopeMappingsRequestBuilder WithUrl(string rawUrl) { - return new ScopeMappingsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ScopeMappings.ScopeMappingsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ServiceAccountUser/ServiceAccountUserRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ServiceAccountUser/ServiceAccountUserRequestBuilder.cs index f31119d1..882ab71b 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ServiceAccountUser/ServiceAccountUserRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/ServiceAccountUser/ServiceAccountUserRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ServiceAccountUser { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ServiceAccountUser +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\service-account-user /// - public class ServiceAccountUserRequestBuilder : BaseRequestBuilder + public class ServiceAccountUserRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public ServiceAccountUserRequestBuilder(Dictionary pathParameter { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public ServiceAccountUserRequestBuilder(string rawUrl, IRequestAdapter requestAd /// /// Get a user dedicated to the service account /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, UserRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Get a user dedicated to the service account @@ -70,11 +71,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ServiceAccountUserRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ServiceAccountUser.ServiceAccountUserRequestBuilder WithUrl(string rawUrl) { - return new ServiceAccountUserRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.ServiceAccountUser.ServiceAccountUserRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/SessionCount/SessionCountGetResponse.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/SessionCount/SessionCountGetResponse.cs index 76b007bc..2e905842 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/SessionCount/SessionCountGetResponse.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/SessionCount/SessionCountGetResponse.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.SessionCount { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.SessionCount +{ #pragma warning disable CS1591 - public class SessionCountGetResponse : IAdditionalDataHolder, IParsable + public class SessionCountGetResponse : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public SessionCountGetResponse() { @@ -21,12 +22,12 @@ public SessionCountGetResponse() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static SessionCountGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.SessionCount.SessionCountGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new SessionCountGetResponse(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.SessionCount.SessionCountGetResponse(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/SessionCount/SessionCountRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/SessionCount/SessionCountRequestBuilder.cs index e9e9b039..fcdee325 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/SessionCount/SessionCountRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/SessionCount/SessionCountRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.SessionCount { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.SessionCount +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\session-count /// - public class SessionCountRequestBuilder : BaseRequestBuilder + public class SessionCountRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public SessionCountRequestBuilder(Dictionary pathParameters, IRe { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -32,20 +33,20 @@ public SessionCountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) /// /// Get application session count Returns a number of user sessions associated with this client { "count": number } /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, SessionCountGetResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.SessionCount.SessionCountGetResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Get application session count Returns a number of user sessions associated with this client { "count": number } @@ -69,11 +70,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public SessionCountRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.SessionCount.SessionCountRequestBuilder WithUrl(string rawUrl) { - return new SessionCountRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.SessionCount.SessionCountRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/TestNodesAvailable/TestNodesAvailableRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/TestNodesAvailable/TestNodesAvailableRequestBuilder.cs index 8041626f..45363b6d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/TestNodesAvailable/TestNodesAvailableRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/TestNodesAvailable/TestNodesAvailableRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.TestNodesAvailable { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.TestNodesAvailable +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\test-nodes-available /// - public class TestNodesAvailableRequestBuilder : BaseRequestBuilder + public class TestNodesAvailableRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public TestNodesAvailableRequestBuilder(Dictionary pathParameter { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public TestNodesAvailableRequestBuilder(string rawUrl, IRequestAdapter requestAd /// /// Test if registered cluster nodes are available Tests availability by sending 'ping' request to all cluster nodes. /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, GlobalRequestResult.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GlobalRequestResult.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Test if registered cluster nodes are available Tests availability by sending 'ping' request to all cluster nodes. @@ -70,11 +71,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public TestNodesAvailableRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.TestNodesAvailable.TestNodesAvailableRequestBuilder WithUrl(string rawUrl) { - return new TestNodesAvailableRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.TestNodesAvailable.TestNodesAvailableRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/UserSessions/UserSessionsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/UserSessions/UserSessionsRequestBuilder.cs index dfd7f043..e1e1ebff 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/UserSessions/UserSessionsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Clients/Item/UserSessions/UserSessionsRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.UserSessions { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.UserSessions +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients\{client-uuid}\user-sessions /// - public class UserSessionsRequestBuilder : BaseRequestBuilder + public class UserSessionsRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public UserSessionsRequestBuilder(Dictionary pathParameters, IRe { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public UserSessionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) /// /// Get user sessions for client Returns a list of user sessions associated with this client /// - /// A List<UserSessionRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserSessionRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, UserSessionRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserSessionRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -56,11 +57,11 @@ public async Task> GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public UserSessionsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.UserSessions.UserSessionsRequestBuilder WithUrl(string rawUrl) { - return new UserSessionsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.UserSessions.UserSessionsRequestBuilder(rawUrl, RequestAdapter); } /// /// Get user sessions for client Returns a list of user sessions associated with this client diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientsInitialAccess/ClientsInitialAccessRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientsInitialAccess/ClientsInitialAccessRequestBuilder.cs index 0f7c5134..8864b4db 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientsInitialAccess/ClientsInitialAccessRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientsInitialAccess/ClientsInitialAccessRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientsInitialAccess { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientsInitialAccess +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients-initial-access /// - public class ClientsInitialAccessRequestBuilder : BaseRequestBuilder + public class ClientsInitialAccessRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.clientsInitialAccess.item collection /// Unique identifier of the item - /// A - public ClientsInitialAccessItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientsInitialAccess.Item.ClientsInitialAccessItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("id", position); - return new ClientsInitialAccessItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientsInitialAccess.Item.ClientsInitialAccessItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,48 +37,48 @@ public ClientsInitialAccessRequestBuilder(Dictionary pathParamet { } /// - /// Instantiates a new and sets the default values. + /// 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 ClientsInitialAccessRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/clients-initial-access", rawUrl) { } - /// A List<ClientInitialAccessPresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientInitialAccessPresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ClientInitialAccessPresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientInitialAccessPresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// /// Create a new initial access token. /// - /// A + /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(ClientInitialAccessCreatePresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientInitialAccessCreatePresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(ClientInitialAccessCreatePresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientInitialAccessCreatePresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPostRequestInformation(body, requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ClientInitialAccessCreatePresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientInitialAccessCreatePresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -103,11 +104,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(ClientInitialAccessCreatePresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientInitialAccessCreatePresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(ClientInitialAccessCreatePresentation body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientInitialAccessCreatePresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -120,11 +121,11 @@ public RequestInformation ToPostRequestInformation(ClientInitialAccessCreatePres /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ClientsInitialAccessRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientsInitialAccess.ClientsInitialAccessRequestBuilder WithUrl(string rawUrl) { - return new ClientsInitialAccessRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientsInitialAccess.ClientsInitialAccessRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientsInitialAccess/Item/ClientsInitialAccessItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientsInitialAccess/Item/ClientsInitialAccessItemRequestBuilder.cs index bcced8c7..6e648aa0 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientsInitialAccess/Item/ClientsInitialAccessItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientsInitialAccess/Item/ClientsInitialAccessItemRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientsInitialAccess.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientsInitialAccess.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\clients-initial-access\{id} /// - public class ClientsInitialAccessItemRequestBuilder : BaseRequestBuilder + public class ClientsInitialAccessItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public ClientsInitialAccessItemRequestBuilder(Dictionary pathPar { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -61,11 +62,11 @@ public RequestInformation ToDeleteRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ClientsInitialAccessItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientsInitialAccess.Item.ClientsInitialAccessItemRequestBuilder WithUrl(string rawUrl) { - return new ClientsInitialAccessItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientsInitialAccess.Item.ClientsInitialAccessItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Components/ComponentsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Components/ComponentsRequestBuilder.cs index e7ac12c5..fd39f092 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Components/ComponentsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Components/ComponentsRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Components { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Components +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\components /// - public class ComponentsRequestBuilder : BaseRequestBuilder + public class ComponentsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.components.item collection /// Unique identifier of the item - /// A - public ComponentsItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Components.Item.ComponentsItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("id", position); - return new ComponentsItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Components.Item.ComponentsItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,27 +37,27 @@ public ComponentsRequestBuilder(Dictionary pathParameters, IRequ { } /// - /// Instantiates a new and sets the default values. + /// 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 ComponentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/components{?name*,parent*,type*}", rawUrl) { } - /// A List<ComponentRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ComponentRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// A @@ -65,11 +66,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(ComponentRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(ComponentRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -80,11 +81,11 @@ public async Task PostAsync(ComponentRepresentation body, ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -97,11 +98,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(ComponentRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(ComponentRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -113,11 +114,11 @@ public RequestInformation ToPostRequestInformation(ComponentRepresentation body, /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ComponentsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Components.ComponentsRequestBuilder WithUrl(string rawUrl) { - return new ComponentsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Components.ComponentsRequestBuilder(rawUrl, RequestAdapter); } #pragma warning disable CS1591 public class ComponentsRequestBuilderGetQueryParameters diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Components/Item/ComponentsItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Components/Item/ComponentsItemRequestBuilder.cs index 6c2c7e49..4967e6fe 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Components/Item/ComponentsItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Components/Item/ComponentsItemRequestBuilder.cs @@ -9,19 +9,20 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Components.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Components.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\components\{id} /// - public class ComponentsItemRequestBuilder : BaseRequestBuilder + public class ComponentsItemRequestBuilder : BaseRequestBuilder { /// The subComponentTypes property - public SubComponentTypesRequestBuilder SubComponentTypes + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Components.Item.SubComponentTypes.SubComponentTypesRequestBuilder SubComponentTypes { - get => new SubComponentTypesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Components.Item.SubComponentTypes.SubComponentTypesRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -29,7 +30,7 @@ public ComponentsItemRequestBuilder(Dictionary pathParameters, I { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -50,20 +51,20 @@ public async Task DeleteAsync(ActionA + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ComponentRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// A /// The request body @@ -71,11 +72,11 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(ComponentRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(ComponentRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -118,11 +119,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(ComponentRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(ComponentRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -134,11 +135,11 @@ public RequestInformation ToPutRequestInformation(ComponentRepresentation body, /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ComponentsItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Components.Item.ComponentsItemRequestBuilder WithUrl(string rawUrl) { - return new ComponentsItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Components.Item.ComponentsItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Components/Item/SubComponentTypes/SubComponentTypesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Components/Item/SubComponentTypes/SubComponentTypesRequestBuilder.cs index e01b055c..d9bb95f8 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Components/Item/SubComponentTypes/SubComponentTypesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Components/Item/SubComponentTypes/SubComponentTypesRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Components.Item.SubComponentTypes { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Components.Item.SubComponentTypes +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\components\{id}\sub-component-types /// - public class SubComponentTypesRequestBuilder : BaseRequestBuilder + public class SubComponentTypesRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public SubComponentTypesRequestBuilder(Dictionary pathParameters { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public SubComponentTypesRequestBuilder(string rawUrl, IRequestAdapter requestAda /// /// List of subcomponent types that are available to configure for a particular parent component. /// - /// A List<ComponentTypeRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentTypeRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ComponentTypeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentTypeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -56,11 +57,11 @@ public async Task> GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public SubComponentTypesRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Components.Item.SubComponentTypes.SubComponentTypesRequestBuilder WithUrl(string rawUrl) { - return new SubComponentTypesRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Components.Item.SubComponentTypes.SubComponentTypesRequestBuilder(rawUrl, RequestAdapter); } /// /// List of subcomponent types that are available to configure for a particular parent component. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/CredentialRegistrators/CredentialRegistratorsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/CredentialRegistrators/CredentialRegistratorsRequestBuilder.cs index 047e7530..fe5e591e 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/CredentialRegistrators/CredentialRegistratorsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/CredentialRegistrators/CredentialRegistratorsRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.CredentialRegistrators { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.CredentialRegistrators +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\credential-registrators /// - public class CredentialRegistratorsRequestBuilder : BaseRequestBuilder + public class CredentialRegistratorsRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public CredentialRegistratorsRequestBuilder(Dictionary pathParam { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -64,11 +65,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public CredentialRegistratorsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.CredentialRegistrators.CredentialRegistratorsRequestBuilder WithUrl(string rawUrl) { - return new CredentialRegistratorsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.CredentialRegistrators.CredentialRegistratorsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultDefaultClientScopes/DefaultDefaultClientScopesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultDefaultClientScopes/DefaultDefaultClientScopesRequestBuilder.cs index dc27276d..eae5bd40 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultDefaultClientScopes/DefaultDefaultClientScopesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultDefaultClientScopes/DefaultDefaultClientScopesRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultDefaultClientScopes { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultDefaultClientScopes +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\default-default-client-scopes /// - public class DefaultDefaultClientScopesRequestBuilder : BaseRequestBuilder + public class DefaultDefaultClientScopesRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.defaultDefaultClientScopes.item collection /// Unique identifier of the item - /// A - public WithClientScopeItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultDefaultClientScopes.Item.WithClientScopeItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("clientScopeId", position); - return new WithClientScopeItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultDefaultClientScopes.Item.WithClientScopeItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,7 +37,7 @@ public DefaultDefaultClientScopesRequestBuilder(Dictionary pathP { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -46,20 +47,20 @@ public DefaultDefaultClientScopesRequestBuilder(string rawUrl, IRequestAdapter r /// /// Get realm default client scopes. Only name and ids are returned. /// - /// A List<ClientScopeRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ClientScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -84,11 +85,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public DefaultDefaultClientScopesRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultDefaultClientScopes.DefaultDefaultClientScopesRequestBuilder WithUrl(string rawUrl) { - return new DefaultDefaultClientScopesRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultDefaultClientScopes.DefaultDefaultClientScopesRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultDefaultClientScopes/Item/WithClientScopeItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultDefaultClientScopes/Item/WithClientScopeItemRequestBuilder.cs index 8851e41b..cefdb34e 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultDefaultClientScopes/Item/WithClientScopeItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultDefaultClientScopes/Item/WithClientScopeItemRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultDefaultClientScopes.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultDefaultClientScopes.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\default-default-client-scopes\{clientScopeId} /// - public class WithClientScopeItemRequestBuilder : BaseRequestBuilder + public class WithClientScopeItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public WithClientScopeItemRequestBuilder(Dictionary pathParamete { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -90,11 +91,11 @@ public RequestInformation ToPutRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithClientScopeItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultDefaultClientScopes.Item.WithClientScopeItemRequestBuilder WithUrl(string rawUrl) { - return new WithClientScopeItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultDefaultClientScopes.Item.WithClientScopeItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultGroups/DefaultGroupsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultGroups/DefaultGroupsRequestBuilder.cs index 5eddce18..c3b5941e 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultGroups/DefaultGroupsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultGroups/DefaultGroupsRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultGroups { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultGroups +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\default-groups /// - public class DefaultGroupsRequestBuilder : BaseRequestBuilder + public class DefaultGroupsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.defaultGroups.item collection /// Unique identifier of the item - /// A - public WithGroupItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultGroups.Item.WithGroupItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("groupId", position); - return new WithGroupItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultGroups.Item.WithGroupItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,7 +37,7 @@ public DefaultGroupsRequestBuilder(Dictionary pathParameters, IR { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -46,20 +47,20 @@ public DefaultGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter /// /// Get group hierarchy. Only name and ids are returned. /// - /// A List<GroupRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, GroupRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -84,11 +85,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public DefaultGroupsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultGroups.DefaultGroupsRequestBuilder WithUrl(string rawUrl) { - return new DefaultGroupsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultGroups.DefaultGroupsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultGroups/Item/WithGroupItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultGroups/Item/WithGroupItemRequestBuilder.cs index 646c148f..9c038a22 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultGroups/Item/WithGroupItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultGroups/Item/WithGroupItemRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultGroups.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultGroups.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\default-groups\{groupId} /// - public class WithGroupItemRequestBuilder : BaseRequestBuilder + public class WithGroupItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public WithGroupItemRequestBuilder(Dictionary pathParameters, IR { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -90,11 +91,11 @@ public RequestInformation ToPutRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithGroupItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultGroups.Item.WithGroupItemRequestBuilder WithUrl(string rawUrl) { - return new WithGroupItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultGroups.Item.WithGroupItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultOptionalClientScopes/DefaultOptionalClientScopesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultOptionalClientScopes/DefaultOptionalClientScopesRequestBuilder.cs index aa933c25..bddc9e5c 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultOptionalClientScopes/DefaultOptionalClientScopesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultOptionalClientScopes/DefaultOptionalClientScopesRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultOptionalClientScopes { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultOptionalClientScopes +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\default-optional-client-scopes /// - public class DefaultOptionalClientScopesRequestBuilder : BaseRequestBuilder + public class DefaultOptionalClientScopesRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.defaultOptionalClientScopes.item collection /// Unique identifier of the item - /// A - public WithClientScopeItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultOptionalClientScopes.Item.WithClientScopeItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("clientScopeId", position); - return new WithClientScopeItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultOptionalClientScopes.Item.WithClientScopeItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,7 +37,7 @@ public DefaultOptionalClientScopesRequestBuilder(Dictionary path { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -46,20 +47,20 @@ public DefaultOptionalClientScopesRequestBuilder(string rawUrl, IRequestAdapter /// /// Get realm optional client scopes. Only name and ids are returned. /// - /// A List<ClientScopeRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ClientScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -84,11 +85,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public DefaultOptionalClientScopesRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultOptionalClientScopes.DefaultOptionalClientScopesRequestBuilder WithUrl(string rawUrl) { - return new DefaultOptionalClientScopesRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultOptionalClientScopes.DefaultOptionalClientScopesRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultOptionalClientScopes/Item/WithClientScopeItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultOptionalClientScopes/Item/WithClientScopeItemRequestBuilder.cs index feb8ca80..d3803d02 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultOptionalClientScopes/Item/WithClientScopeItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/DefaultOptionalClientScopes/Item/WithClientScopeItemRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultOptionalClientScopes.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultOptionalClientScopes.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\default-optional-client-scopes\{clientScopeId} /// - public class WithClientScopeItemRequestBuilder : BaseRequestBuilder + public class WithClientScopeItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public WithClientScopeItemRequestBuilder(Dictionary pathParamete { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -90,11 +91,11 @@ public RequestInformation ToPutRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithClientScopeItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultOptionalClientScopes.Item.WithClientScopeItemRequestBuilder WithUrl(string rawUrl) { - return new WithClientScopeItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultOptionalClientScopes.Item.WithClientScopeItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Events/Config/ConfigRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Events/Config/ConfigRequestBuilder.cs index efc2a430..3c2f01c6 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Events/Config/ConfigRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Events/Config/ConfigRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Events.Config { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Events.Config +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\events\config /// - public class ConfigRequestBuilder : BaseRequestBuilder + public class ConfigRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public ConfigRequestBuilder(Dictionary pathParameters, IRequestA { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public ConfigRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// /// Get the events provider configuration Returns JSON object with events provider configuration /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, RealmEventsConfigRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmEventsConfigRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Update the events provider Change the events provider and/or its configuration @@ -56,11 +57,11 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(RealmEventsConfigRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmEventsConfigRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(RealmEventsConfigRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmEventsConfigRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -94,11 +95,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(RealmEventsConfigRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmEventsConfigRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(RealmEventsConfigRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmEventsConfigRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -110,11 +111,11 @@ public RequestInformation ToPutRequestInformation(RealmEventsConfigRepresentatio /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ConfigRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Events.Config.ConfigRequestBuilder WithUrl(string rawUrl) { - return new ConfigRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Events.Config.ConfigRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Events/EventsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Events/EventsRequestBuilder.cs index 73abb234..a01b7eef 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Events/EventsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Events/EventsRequestBuilder.cs @@ -9,19 +9,20 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Events { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Events +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\events /// - public class EventsRequestBuilder : BaseRequestBuilder + public class EventsRequestBuilder : BaseRequestBuilder { /// The config property - public ConfigRequestBuilder Config + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Events.Config.ConfigRequestBuilder Config { - get => new ConfigRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Events.Config.ConfigRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -29,7 +30,7 @@ public EventsRequestBuilder(Dictionary pathParameters, IRequestA { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -56,20 +57,20 @@ public async Task DeleteAsync(Action /// Get events Returns all events, or filters them based on URL query parameters listed here /// - /// A List<EventRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.EventRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, EventRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.EventRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -97,11 +98,11 @@ public RequestInformation ToDeleteRequestInformation(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -112,11 +113,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public EventsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Events.EventsRequestBuilder WithUrl(string rawUrl) { - return new EventsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Events.EventsRequestBuilder(rawUrl, RequestAdapter); } /// /// Get events Returns all events, or filters them based on URL query parameters listed here diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/GroupByPath/GroupByPathRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/GroupByPath/GroupByPathRequestBuilder.cs index 77d56db5..917f5a93 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/GroupByPath/GroupByPathRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/GroupByPath/GroupByPathRequestBuilder.cs @@ -6,26 +6,27 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.GroupByPath { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.GroupByPath +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\group-by-path /// - public class GroupByPathRequestBuilder : BaseRequestBuilder + public class GroupByPathRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.groupByPath.item collection /// Unique identifier of the item - /// A - public WithPathItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.GroupByPath.Item.WithPathItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("path", position); - return new WithPathItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.GroupByPath.Item.WithPathItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -33,7 +34,7 @@ public GroupByPathRequestBuilder(Dictionary pathParameters, IReq { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/GroupByPath/Item/WithPathItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/GroupByPath/Item/WithPathItemRequestBuilder.cs index b5043d8d..92348419 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/GroupByPath/Item/WithPathItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/GroupByPath/Item/WithPathItemRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.GroupByPath.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.GroupByPath.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\group-by-path\{path} /// - public class WithPathItemRequestBuilder : BaseRequestBuilder + public class WithPathItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,27 +24,27 @@ public WithPathItemRequestBuilder(Dictionary pathParameters, IRe { } /// - /// Instantiates a new and sets the default values. + /// 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 WithPathItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/group-by-path/{path}", rawUrl) { } - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, GroupRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -64,11 +65,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithPathItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.GroupByPath.Item.WithPathItemRequestBuilder WithUrl(string rawUrl) { - return new WithPathItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.GroupByPath.Item.WithPathItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Count/CountGetResponse.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Count/CountGetResponse.cs index c93d638a..e912cd95 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Count/CountGetResponse.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Count/CountGetResponse.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Count { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Count +{ #pragma warning disable CS1591 - public class CountGetResponse : IAdditionalDataHolder, IParsable + public class CountGetResponse : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public CountGetResponse() { @@ -21,12 +22,12 @@ public CountGetResponse() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static CountGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Count.CountGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new CountGetResponse(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Count.CountGetResponse(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Count/CountRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Count/CountRequestBuilder.cs index d7fa4ef0..85857c9f 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Count/CountRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Count/CountRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Count { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Count +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\groups\count /// - public class CountRequestBuilder : BaseRequestBuilder + public class CountRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public CountRequestBuilder(Dictionary pathParameters, IRequestAd { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -32,20 +33,20 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// Returns the groups counts. /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, CountGetResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Count.CountGetResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Returns the groups counts. @@ -54,11 +55,11 @@ public async Task GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -69,11 +70,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public CountRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Count.CountRequestBuilder WithUrl(string rawUrl) { - return new CountRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Count.CountRequestBuilder(rawUrl, RequestAdapter); } /// /// Returns the groups counts. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/GroupsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/GroupsRequestBuilder.cs index 0ce81afd..7722fb2d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/GroupsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/GroupsRequestBuilder.cs @@ -10,31 +10,32 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\groups /// - public class GroupsRequestBuilder : BaseRequestBuilder + public class GroupsRequestBuilder : BaseRequestBuilder { /// The count property - public CountRequestBuilder Count + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Count.CountRequestBuilder Count { - get => new CountRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Count.CountRequestBuilder(PathParameters, RequestAdapter); } /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.groups.item collection /// Unique identifier of the item - /// A - public GroupItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.GroupItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("group%2Did", position); - return new GroupItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.GroupItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -42,7 +43,7 @@ public GroupsRequestBuilder(Dictionary pathParameters, IRequestA { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -52,20 +53,20 @@ public GroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// /// Get group hierarchy. Only name and ids are returned. /// - /// A List<GroupRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, GroupRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -77,11 +78,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(GroupRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(GroupRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -95,11 +96,11 @@ public async Task PostAsync(GroupRepresentation body, ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -115,11 +116,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(GroupRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(GroupRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -131,11 +132,11 @@ public RequestInformation ToPostRequestInformation(GroupRepresentation body, Act /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public GroupsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.GroupsRequestBuilder WithUrl(string rawUrl) { - return new GroupsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.GroupsRequestBuilder(rawUrl, RequestAdapter); } /// /// Get group hierarchy. Only name and ids are returned. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/Children/ChildrenRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/Children/ChildrenRequestBuilder.cs index daeaf2fa..485ac0cc 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/Children/ChildrenRequestBuilder.cs @@ -8,45 +8,46 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.Children { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.Children +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\groups\{group-id}\children /// - public class ChildrenRequestBuilder : BaseRequestBuilder + public class ChildrenRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public ChildrenRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/groups/{group%2Did}/children{?briefRepresentation*,first*,max*}", pathParameters) + public ChildrenRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/groups/{group%2Did}/children{?briefRepresentation*,exact*,first*,max*,search*}", pathParameters) { } /// - /// Instantiates a new and sets the default values. + /// 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 ChildrenRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/groups/{group%2Did}/children{?briefRepresentation*,first*,max*}", rawUrl) + public ChildrenRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/groups/{group%2Did}/children{?briefRepresentation*,exact*,first*,max*,search*}", rawUrl) { } /// /// Return a paginated list of subgroups that have a parent group corresponding to the group on the URL /// - /// A List<GroupRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, GroupRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -58,11 +59,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(GroupRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(GroupRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -76,11 +77,11 @@ public async Task PostAsync(GroupRepresentation body, ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -96,11 +97,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(GroupRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(GroupRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -112,23 +113,39 @@ public RequestInformation ToPostRequestInformation(GroupRepresentation body, Act /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ChildrenRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.Children.ChildrenRequestBuilder WithUrl(string rawUrl) { - return new ChildrenRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.Children.ChildrenRequestBuilder(rawUrl, RequestAdapter); } /// /// Return a paginated list of subgroups that have a parent group corresponding to the group on the URL /// public class ChildrenRequestBuilderGetQueryParameters { + /// Boolean which defines whether brief groups representations are returned or not (default: false) [QueryParameter("briefRepresentation")] public bool? BriefRepresentation { get; set; } + /// Boolean which defines whether the params "search" must match exactly or not + [QueryParameter("exact")] + public bool? Exact { get; set; } + /// The position of the first result to be returned (pagination offset). [QueryParameter("first")] public int? First { get; set; } + /// The maximum number of results that are to be returned. Defaults to 10 [QueryParameter("max")] public int? Max { get; set; } + /// A String representing either an exact group name or a partial name +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("search")] + public string Search { get; set; } +#endif } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/GroupItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/GroupItemRequestBuilder.cs index d4270bb0..ab6ee4f4 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/GroupItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/GroupItemRequestBuilder.cs @@ -12,34 +12,35 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\groups\{group-id} /// - public class GroupItemRequestBuilder : BaseRequestBuilder + public class GroupItemRequestBuilder : BaseRequestBuilder { /// The children property - public ChildrenRequestBuilder Children + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.Children.ChildrenRequestBuilder Children { - get => new ChildrenRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.Children.ChildrenRequestBuilder(PathParameters, RequestAdapter); } /// The management property - public ManagementRequestBuilder Management + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.Management.ManagementRequestBuilder Management { - get => new ManagementRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.Management.ManagementRequestBuilder(PathParameters, RequestAdapter); } /// The members property - public MembersRequestBuilder Members + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.Members.MembersRequestBuilder Members { - get => new MembersRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.Members.MembersRequestBuilder(PathParameters, RequestAdapter); } /// The roleMappings property - public RoleMappingsRequestBuilder RoleMappings + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.RoleMappingsRequestBuilder RoleMappings { - get => new RoleMappingsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.RoleMappingsRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -47,7 +48,7 @@ public GroupItemRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -68,20 +69,20 @@ public async Task DeleteAsync(ActionA + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, GroupRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Update group, ignores subgroups. @@ -92,11 +93,11 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(GroupRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(GroupRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -142,11 +143,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(GroupRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(GroupRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -158,11 +159,11 @@ public RequestInformation ToPutRequestInformation(GroupRepresentation body, Acti /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public GroupItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.GroupItemRequestBuilder WithUrl(string rawUrl) { - return new GroupItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.GroupItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/Management/ManagementRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/Management/ManagementRequestBuilder.cs index 027a8ba7..1c8a6007 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/Management/ManagementRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/Management/ManagementRequestBuilder.cs @@ -6,19 +6,20 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.Management { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.Management +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\groups\{group-id}\management /// - public class ManagementRequestBuilder : BaseRequestBuilder + public class ManagementRequestBuilder : BaseRequestBuilder { /// The permissions property - public PermissionsRequestBuilder Permissions + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.Management.Permissions.PermissionsRequestBuilder Permissions { - get => new PermissionsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.Management.Permissions.PermissionsRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -26,7 +27,7 @@ public ManagementRequestBuilder(Dictionary pathParameters, IRequ { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/Management/Permissions/PermissionsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/Management/Permissions/PermissionsRequestBuilder.cs index 0fe920e8..46cf6488 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/Management/Permissions/PermissionsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/Management/Permissions/PermissionsRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.Management.Permissions { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.Management.Permissions +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\groups\{group-id}\management\permissions /// - public class PermissionsRequestBuilder : BaseRequestBuilder + public class PermissionsRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public PermissionsRequestBuilder(Dictionary pathParameters, IReq { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,40 +34,40 @@ public PermissionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) /// /// Return object stating whether client Authorization permissions have been initialized or not and a reference /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Return object stating whether client Authorization permissions have been initialized or not and a reference /// - /// A + /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(ManagementPermissionReference body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(ManagementPermissionReference body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPutRequestInformation(body, requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Return object stating whether client Authorization permissions have been initialized or not and a reference @@ -95,11 +96,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(ManagementPermissionReference body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(ManagementPermissionReference body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -112,11 +113,11 @@ public RequestInformation ToPutRequestInformation(ManagementPermissionReference /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public PermissionsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.Management.Permissions.PermissionsRequestBuilder WithUrl(string rawUrl) { - return new PermissionsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.Management.Permissions.PermissionsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/Members/MembersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/Members/MembersRequestBuilder.cs index 880ed265..ac9e6e93 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/Members/MembersRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/Members/MembersRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.Members { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.Members +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\groups\{group-id}\members /// - public class MembersRequestBuilder : BaseRequestBuilder + public class MembersRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public MembersRequestBuilder(Dictionary pathParameters, IRequest { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba /// /// Get users Returns a stream of users, filtered according to query parameters /// - /// A List<UserRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, UserRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -56,11 +57,11 @@ public async Task> GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public MembersRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.Members.MembersRequestBuilder WithUrl(string rawUrl) { - return new MembersRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.Members.MembersRequestBuilder(rawUrl, RequestAdapter); } /// /// Get users Returns a stream of users, filtered according to query parameters diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Clients/ClientsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Clients/ClientsRequestBuilder.cs index 283e50b9..86c52e00 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Clients/ClientsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Clients/ClientsRequestBuilder.cs @@ -6,26 +6,27 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Clients { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Clients +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\groups\{group-id}\role-mappings\clients /// - public class ClientsRequestBuilder : BaseRequestBuilder + public class ClientsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.groups.item.roleMappings.clients.item collection - /// Unique identifier of the item - /// A - public WithClientItemRequestBuilder this[string position] + /// client id (not clientId!) + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Clients.Item.ClientItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("client", position); - return new WithClientItemRequestBuilder(urlTplParams, RequestAdapter); + urlTplParams.Add("client%2Did", position); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Clients.Item.ClientItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -33,7 +34,7 @@ public ClientsRequestBuilder(Dictionary pathParameters, IRequest { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Clients/Item/Available/AvailableRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Clients/Item/Available/AvailableRequestBuilder.cs index f90e776f..4f82b017 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Clients/Item/Available/AvailableRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Clients/Item/Available/AvailableRequestBuilder.cs @@ -8,49 +8,50 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Clients.Item.Available { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Clients.Item.Available +{ /// - /// Builds and executes requests for operations under \admin\realms\{realm}\groups\{group-id}\role-mappings\clients\{client}\available + /// Builds and executes requests for operations under \admin\realms\{realm}\groups\{group-id}\role-mappings\clients\{client-id}\available /// - public class AvailableRequestBuilder : BaseRequestBuilder + public class AvailableRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public AvailableRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/groups/{group%2Did}/role-mappings/clients/{client}/available", pathParameters) + public AvailableRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/groups/{group%2Did}/role-mappings/clients/{client%2Did}/available", pathParameters) { } /// - /// Instantiates a new and sets the default values. + /// 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 AvailableRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/groups/{group%2Did}/role-mappings/clients/{client}/available", rawUrl) + public AvailableRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/groups/{group%2Did}/role-mappings/clients/{client%2Did}/available", rawUrl) { } /// - /// Get available client-level roles that can be mapped to the user + /// Get available client-level roles that can be mapped to the user or group /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// - /// Get available client-level roles that can be mapped to the user + /// Get available client-level roles that can be mapped to the user or group /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public AvailableRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Clients.Item.Available.AvailableRequestBuilder WithUrl(string rawUrl) { - return new AvailableRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Clients.Item.Available.AvailableRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Clients/Item/ClientItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Clients/Item/ClientItemRequestBuilder.cs new file mode 100644 index 00000000..c34234f8 --- /dev/null +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Clients/Item/ClientItemRequestBuilder.cs @@ -0,0 +1,174 @@ +// +using Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Clients.Item.Available; +using Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Clients.Item.Composite; +using Keycloak.AuthServices.Sdk.Kiota.Admin.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Clients.Item +{ + /// + /// Builds and executes requests for operations under \admin\realms\{realm}\groups\{group-id}\role-mappings\clients\{client-id} + /// + public class ClientItemRequestBuilder : BaseRequestBuilder + { + /// The available property + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Clients.Item.Available.AvailableRequestBuilder Available + { + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Clients.Item.Available.AvailableRequestBuilder(PathParameters, RequestAdapter); + } + /// The composite property + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Clients.Item.Composite.CompositeRequestBuilder Composite + { + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Clients.Item.Composite.CompositeRequestBuilder(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 ClientItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/groups/{group%2Did}/role-mappings/clients/{client%2Did}", 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 ClientItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/groups/{group%2Did}/role-mappings/clients/{client%2Did}", rawUrl) + { + } + /// + /// Delete client-level roles from user or group role mapping + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToDeleteRequestInformation(body, requestConfiguration); + await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); + } + /// + /// Get client-level role mappings for the user or group, and the app + /// + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#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 collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return collectionResult?.ToList(); + } + /// + /// Add client-level roles to the user or group role mapping + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete client-level roles from user or group role mapping + /// + /// 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 ToDeleteRequestInformation(List body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Get client-level role mappings for the user or group, and the app + /// + /// 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; + } + /// + /// Add client-level roles to the user or group role mapping + /// + /// 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(List body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + 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 Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Clients.Item.ClientItemRequestBuilder WithUrl(string rawUrl) + { + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Clients.Item.ClientItemRequestBuilder(rawUrl, RequestAdapter); + } + } +} diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Clients/Item/Composite/CompositeRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Clients/Item/Composite/CompositeRequestBuilder.cs index c0bf3cbb..de879962 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Clients/Item/Composite/CompositeRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Clients/Item/Composite/CompositeRequestBuilder.cs @@ -8,45 +8,46 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Clients.Item.Composite { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Clients.Item.Composite +{ /// - /// Builds and executes requests for operations under \admin\realms\{realm}\groups\{group-id}\role-mappings\clients\{client}\composite + /// Builds and executes requests for operations under \admin\realms\{realm}\groups\{group-id}\role-mappings\clients\{client-id}\composite /// - public class CompositeRequestBuilder : BaseRequestBuilder + public class CompositeRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public CompositeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/groups/{group%2Did}/role-mappings/clients/{client}/composite{?briefRepresentation*}", pathParameters) + public CompositeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/groups/{group%2Did}/role-mappings/clients/{client%2Did}/composite{?briefRepresentation*}", pathParameters) { } /// - /// Instantiates a new and sets the default values. + /// 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 CompositeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/groups/{group%2Did}/role-mappings/clients/{client}/composite{?briefRepresentation*}", rawUrl) + public CompositeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/groups/{group%2Did}/role-mappings/clients/{client%2Did}/composite{?briefRepresentation*}", rawUrl) { } /// /// Get effective client-level role mappings This recurses any composite roles /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -56,11 +57,11 @@ public async Task> GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public CompositeRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Clients.Item.Composite.CompositeRequestBuilder WithUrl(string rawUrl) { - return new CompositeRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Clients.Item.Composite.CompositeRequestBuilder(rawUrl, RequestAdapter); } /// /// Get effective client-level role mappings This recurses any composite roles diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Realm/Available/AvailableRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Realm/Available/AvailableRequestBuilder.cs index 10e88130..6b760a37 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Realm/Available/AvailableRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Realm/Available/AvailableRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Realm.Available { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Realm.Available +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\groups\{group-id}\role-mappings\realm\available /// - public class AvailableRequestBuilder : BaseRequestBuilder + public class AvailableRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public AvailableRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public AvailableRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// Get realm-level roles that can be mapped /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public AvailableRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Realm.Available.AvailableRequestBuilder WithUrl(string rawUrl) { - return new AvailableRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Realm.Available.AvailableRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Realm/Composite/CompositeRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Realm/Composite/CompositeRequestBuilder.cs index 1c5ae23b..1c65ad53 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Realm/Composite/CompositeRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Realm/Composite/CompositeRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Realm.Composite { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Realm.Composite +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\groups\{group-id}\role-mappings\realm\composite /// - public class CompositeRequestBuilder : BaseRequestBuilder + public class CompositeRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public CompositeRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public CompositeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// Get effective realm-level role mappings This will recurse all composite roles to get the result. /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -56,11 +57,11 @@ public async Task> GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public CompositeRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Realm.Composite.CompositeRequestBuilder WithUrl(string rawUrl) { - return new CompositeRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Realm.Composite.CompositeRequestBuilder(rawUrl, RequestAdapter); } /// /// Get effective realm-level role mappings This will recurse all composite roles to get the result. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Realm/RealmRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Realm/RealmRequestBuilder.cs index f697d0ea..37142201 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Realm/RealmRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/Realm/RealmRequestBuilder.cs @@ -10,24 +10,25 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Realm { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Realm +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\groups\{group-id}\role-mappings\realm /// - public class RealmRequestBuilder : BaseRequestBuilder + public class RealmRequestBuilder : BaseRequestBuilder { /// The available property - public AvailableRequestBuilder Available + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Realm.Available.AvailableRequestBuilder Available { - get => new AvailableRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Realm.Available.AvailableRequestBuilder(PathParameters, RequestAdapter); } /// The composite property - public CompositeRequestBuilder Composite + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Realm.Composite.CompositeRequestBuilder Composite { - get => new CompositeRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Realm.Composite.CompositeRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public RealmRequestBuilder(Dictionary pathParameters, IRequestAd { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -50,11 +51,11 @@ public RealmRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -64,20 +65,20 @@ public async Task DeleteAsync(List body, Action /// Get realm-level role mappings /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -88,11 +89,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -107,11 +108,11 @@ public async Task PostAsync(List body, ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -147,11 +148,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -163,11 +164,11 @@ public RequestInformation ToPostRequestInformation(List body /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public RealmRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Realm.RealmRequestBuilder WithUrl(string rawUrl) { - return new RealmRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Realm.RealmRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/RoleMappingsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/RoleMappingsRequestBuilder.cs index e764283f..79497f8b 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/RoleMappingsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Groups/Item/RoleMappings/RoleMappingsRequestBuilder.cs @@ -10,24 +10,25 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\groups\{group-id}\role-mappings /// - public class RoleMappingsRequestBuilder : BaseRequestBuilder + public class RoleMappingsRequestBuilder : BaseRequestBuilder { /// The clients property - public ClientsRequestBuilder Clients + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Clients.ClientsRequestBuilder Clients { - get => new ClientsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Clients.ClientsRequestBuilder(PathParameters, RequestAdapter); } /// The realm property - public RealmRequestBuilder Realm + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Realm.RealmRequestBuilder Realm { - get => new RealmRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.Realm.RealmRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public RoleMappingsRequestBuilder(Dictionary pathParameters, IRe { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -45,20 +46,20 @@ public RoleMappingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) /// /// Get role mappings /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, MappingsRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.MappingsRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Get role mappings @@ -82,11 +83,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public RoleMappingsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.RoleMappingsRequestBuilder WithUrl(string rawUrl) { - return new RoleMappingsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.Item.RoleMappings.RoleMappingsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/IdentityProviderRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/IdentityProviderRequestBuilder.cs index 07590f81..53bf2e03 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/IdentityProviderRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/IdentityProviderRequestBuilder.cs @@ -8,29 +8,30 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\identity-provider /// - public class IdentityProviderRequestBuilder : BaseRequestBuilder + public class IdentityProviderRequestBuilder : BaseRequestBuilder { /// The importConfig property - public ImportConfigRequestBuilder ImportConfig + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.ImportConfig.ImportConfigRequestBuilder ImportConfig { - get => new ImportConfigRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.ImportConfig.ImportConfigRequestBuilder(PathParameters, RequestAdapter); } /// The instances property - public InstancesRequestBuilder Instances + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.InstancesRequestBuilder Instances { - get => new InstancesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.InstancesRequestBuilder(PathParameters, RequestAdapter); } /// The providers property - public ProvidersRequestBuilder Providers + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Providers.ProvidersRequestBuilder Providers { - get => new ProvidersRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Providers.ProvidersRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -38,7 +39,7 @@ public IdentityProviderRequestBuilder(Dictionary pathParameters, { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/ImportConfig/ImportConfigPostRequestBody.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/ImportConfig/ImportConfigPostRequestBody.cs index d749448c..c89f3ece 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/ImportConfig/ImportConfigPostRequestBody.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/ImportConfig/ImportConfigPostRequestBody.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.ImportConfig { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.ImportConfig +{ #pragma warning disable CS1591 - public class ImportConfigPostRequestBody : IAdditionalDataHolder, IParsable + public class ImportConfigPostRequestBody : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ImportConfigPostRequestBody() { @@ -21,12 +22,12 @@ public ImportConfigPostRequestBody() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ImportConfigPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.ImportConfig.ImportConfigPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ImportConfigPostRequestBody(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.ImportConfig.ImportConfigPostRequestBody(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/ImportConfig/ImportConfigPostResponse.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/ImportConfig/ImportConfigPostResponse.cs index 3443c2e4..25de4391 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/ImportConfig/ImportConfigPostResponse.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/ImportConfig/ImportConfigPostResponse.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.ImportConfig { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.ImportConfig +{ #pragma warning disable CS1591 - public class ImportConfigPostResponse : IAdditionalDataHolder, IParsable + public class ImportConfigPostResponse : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ImportConfigPostResponse() { @@ -21,12 +22,12 @@ public ImportConfigPostResponse() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ImportConfigPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.ImportConfig.ImportConfigPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ImportConfigPostResponse(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.ImportConfig.ImportConfigPostResponse(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/ImportConfig/ImportConfigRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/ImportConfig/ImportConfigRequestBuilder.cs index 88de2f38..7a70df0b 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/ImportConfig/ImportConfigRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/ImportConfig/ImportConfigRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.ImportConfig { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.ImportConfig +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\identity-provider\import-config /// - public class ImportConfigRequestBuilder : BaseRequestBuilder + public class ImportConfigRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public ImportConfigRequestBuilder(Dictionary pathParameters, IRe { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -32,22 +33,22 @@ public ImportConfigRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) /// /// Import identity provider from uploaded JSON file /// - /// A + /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(ImportConfigPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.ImportConfig.ImportConfigPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(ImportConfigPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.ImportConfig.ImportConfigPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPostRequestInformation(body, requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ImportConfigPostResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.ImportConfig.ImportConfigPostResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Import identity provider from uploaded JSON file @@ -57,11 +58,11 @@ public async Task PostAsync(ImportConfigPostRequestBod /// Configuration 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(ImportConfigPostRequestBody body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.ImportConfig.ImportConfigPostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(ImportConfigPostRequestBody body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.ImportConfig.ImportConfigPostRequestBody body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -74,11 +75,11 @@ public RequestInformation ToPostRequestInformation(ImportConfigPostRequestBody b /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ImportConfigRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.ImportConfig.ImportConfigRequestBuilder WithUrl(string rawUrl) { - return new ImportConfigRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.ImportConfig.ImportConfigRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/InstancesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/InstancesRequestBuilder.cs index 1c7d44cc..5093e267 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/InstancesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/InstancesRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\identity-provider\instances /// - public class InstancesRequestBuilder : BaseRequestBuilder + public class InstancesRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.identityProvider.instances.item collection /// Unique identifier of the item - /// A - public WithAliasItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.WithAliasItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("alias", position); - return new WithAliasItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.WithAliasItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,7 +37,7 @@ public InstancesRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -46,20 +47,20 @@ public InstancesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// List identity providers /// - /// A List<IdentityProviderRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, IdentityProviderRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(IdentityProviderRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(IdentityProviderRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -89,11 +90,11 @@ public async Task PostAsync(IdentityProviderRepresentation body, Action< /// Configuration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -109,11 +110,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(IdentityProviderRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(IdentityProviderRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -125,11 +126,11 @@ public RequestInformation ToPostRequestInformation(IdentityProviderRepresentatio /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public InstancesRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.InstancesRequestBuilder WithUrl(string rawUrl) { - return new InstancesRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.InstancesRequestBuilder(rawUrl, RequestAdapter); } /// /// List identity providers diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/Export/ExportRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/Export/ExportRequestBuilder.cs index 0224f73a..593d1fc6 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/Export/ExportRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/Export/ExportRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Export { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Export +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\identity-provider\instances\{alias}\export /// - public class ExportRequestBuilder : BaseRequestBuilder + public class ExportRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public ExportRequestBuilder(Dictionary pathParameters, IRequestA { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -37,11 +38,11 @@ public ExportRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); @@ -54,11 +55,11 @@ public async Task GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -68,11 +69,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ExportRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Export.ExportRequestBuilder WithUrl(string rawUrl) { - return new ExportRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Export.ExportRequestBuilder(rawUrl, RequestAdapter); } /// /// Export public broker configuration for identity provider diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/Management/ManagementRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/Management/ManagementRequestBuilder.cs index 5efd8a3f..db263e43 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/Management/ManagementRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/Management/ManagementRequestBuilder.cs @@ -6,19 +6,20 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Management { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Management +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\identity-provider\instances\{alias}\management /// - public class ManagementRequestBuilder : BaseRequestBuilder + public class ManagementRequestBuilder : BaseRequestBuilder { /// The permissions property - public PermissionsRequestBuilder Permissions + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Management.Permissions.PermissionsRequestBuilder Permissions { - get => new PermissionsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Management.Permissions.PermissionsRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -26,7 +27,7 @@ public ManagementRequestBuilder(Dictionary pathParameters, IRequ { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/Management/Permissions/PermissionsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/Management/Permissions/PermissionsRequestBuilder.cs index 11695326..cbbf00dd 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/Management/Permissions/PermissionsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/Management/Permissions/PermissionsRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Management.Permissions { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Management.Permissions +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\identity-provider\instances\{alias}\management\permissions /// - public class PermissionsRequestBuilder : BaseRequestBuilder + public class PermissionsRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public PermissionsRequestBuilder(Dictionary pathParameters, IReq { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,40 +34,40 @@ public PermissionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) /// /// Return object stating whether client Authorization permissions have been initialized or not and a reference /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Return object stating whether client Authorization permissions have been initialized or not and a reference /// - /// A + /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(ManagementPermissionReference body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(ManagementPermissionReference body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPutRequestInformation(body, requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Return object stating whether client Authorization permissions have been initialized or not and a reference @@ -95,11 +96,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(ManagementPermissionReference body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(ManagementPermissionReference body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -112,11 +113,11 @@ public RequestInformation ToPutRequestInformation(ManagementPermissionReference /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public PermissionsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Management.Permissions.PermissionsRequestBuilder WithUrl(string rawUrl) { - return new PermissionsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Management.Permissions.PermissionsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/MapperTypes/MapperTypesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/MapperTypes/MapperTypesRequestBuilder.cs index fbeb662e..037c1348 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/MapperTypes/MapperTypesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/MapperTypes/MapperTypesRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.MapperTypes { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.MapperTypes +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\identity-provider\instances\{alias}\mapper-types /// - public class MapperTypesRequestBuilder : BaseRequestBuilder + public class MapperTypesRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public MapperTypesRequestBuilder(Dictionary pathParameters, IReq { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -69,11 +70,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public MapperTypesRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.MapperTypes.MapperTypesRequestBuilder WithUrl(string rawUrl) { - return new MapperTypesRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.MapperTypes.MapperTypesRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/Mappers/Item/MappersItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/Mappers/Item/MappersItemRequestBuilder.cs index 1d853fb7..4c453b77 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/Mappers/Item/MappersItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/Mappers/Item/MappersItemRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Mappers.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Mappers.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\identity-provider\instances\{alias}\mappers\{id} /// - public class MappersItemRequestBuilder : BaseRequestBuilder + public class MappersItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public MappersItemRequestBuilder(Dictionary pathParameters, IReq { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -50,20 +51,20 @@ public async Task DeleteAsync(Action /// Get mapper by id for the identity provider /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, IdentityProviderMapperRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderMapperRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Update a mapper for the identity provider @@ -73,11 +74,11 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(IdentityProviderMapperRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderMapperRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(IdentityProviderMapperRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderMapperRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -129,11 +130,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(IdentityProviderMapperRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderMapperRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(IdentityProviderMapperRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderMapperRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -145,11 +146,11 @@ public RequestInformation ToPutRequestInformation(IdentityProviderMapperRepresen /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public MappersItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Mappers.Item.MappersItemRequestBuilder WithUrl(string rawUrl) { - return new MappersItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Mappers.Item.MappersItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/Mappers/MappersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/Mappers/MappersRequestBuilder.cs index 45e7b9b3..f7562eaf 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/Mappers/MappersRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/Mappers/MappersRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Mappers { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Mappers +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\identity-provider\instances\{alias}\mappers /// - public class MappersRequestBuilder : BaseRequestBuilder + public class MappersRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.identityProvider.instances.item.mappers.item collection /// Unique identifier of the item - /// A - public MappersItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Mappers.Item.MappersItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("id", position); - return new MappersItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Mappers.Item.MappersItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,7 +37,7 @@ public MappersRequestBuilder(Dictionary pathParameters, IRequest { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -46,20 +47,20 @@ public MappersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba /// /// Get mappers for identity provider /// - /// A List<IdentityProviderMapperRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderMapperRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, IdentityProviderMapperRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderMapperRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(IdentityProviderMapperRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderMapperRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(IdentityProviderMapperRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderMapperRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -109,11 +110,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(IdentityProviderMapperRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderMapperRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(IdentityProviderMapperRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderMapperRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -125,11 +126,11 @@ public RequestInformation ToPostRequestInformation(IdentityProviderMapperReprese /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public MappersRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Mappers.MappersRequestBuilder WithUrl(string rawUrl) { - return new MappersRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Mappers.MappersRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/ReloadKeys/ReloadKeysRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/ReloadKeys/ReloadKeysRequestBuilder.cs index 85caa60b..53a8c95d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/ReloadKeys/ReloadKeysRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/ReloadKeys/ReloadKeysRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.ReloadKeys { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.ReloadKeys +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\identity-provider\instances\{alias}\reload-keys /// - public class ReloadKeysRequestBuilder : BaseRequestBuilder + public class ReloadKeysRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public ReloadKeysRequestBuilder(Dictionary pathParameters, IRequ { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -69,11 +70,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ReloadKeysRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.ReloadKeys.ReloadKeysRequestBuilder WithUrl(string rawUrl) { - return new ReloadKeysRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.ReloadKeys.ReloadKeysRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/WithAliasItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/WithAliasItemRequestBuilder.cs index 64980650..ed2bc752 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/WithAliasItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Instances/Item/WithAliasItemRequestBuilder.cs @@ -13,39 +13,40 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\identity-provider\instances\{alias} /// - public class WithAliasItemRequestBuilder : BaseRequestBuilder + public class WithAliasItemRequestBuilder : BaseRequestBuilder { /// The export property - public ExportRequestBuilder Export + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Export.ExportRequestBuilder Export { - get => new ExportRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Export.ExportRequestBuilder(PathParameters, RequestAdapter); } /// The management property - public ManagementRequestBuilder Management + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Management.ManagementRequestBuilder Management { - get => new ManagementRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Management.ManagementRequestBuilder(PathParameters, RequestAdapter); } /// The mappers property - public MappersRequestBuilder Mappers + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Mappers.MappersRequestBuilder Mappers { - get => new MappersRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.Mappers.MappersRequestBuilder(PathParameters, RequestAdapter); } /// The mapperTypes property - public MapperTypesRequestBuilder MapperTypes + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.MapperTypes.MapperTypesRequestBuilder MapperTypes { - get => new MapperTypesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.MapperTypes.MapperTypesRequestBuilder(PathParameters, RequestAdapter); } /// The reloadKeys property - public ReloadKeysRequestBuilder ReloadKeys + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.ReloadKeys.ReloadKeysRequestBuilder ReloadKeys { - get => new ReloadKeysRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.ReloadKeys.ReloadKeysRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -53,7 +54,7 @@ public WithAliasItemRequestBuilder(Dictionary pathParameters, IR { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -81,20 +82,20 @@ public async Task DeleteAsync(Action /// Get the identity provider /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, IdentityProviderRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Update the identity provider @@ -105,11 +106,11 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(IdentityProviderRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(IdentityProviderRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -161,11 +162,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(IdentityProviderRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(IdentityProviderRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -177,11 +178,11 @@ public RequestInformation ToPutRequestInformation(IdentityProviderRepresentation /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithAliasItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.WithAliasItemRequestBuilder WithUrl(string rawUrl) { - return new WithAliasItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item.WithAliasItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Providers/Item/WithProvider_GetResponse.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Providers/Item/WithProvider_GetResponse.cs index 442a2d42..1686adb6 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Providers/Item/WithProvider_GetResponse.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Providers/Item/WithProvider_GetResponse.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Providers.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Providers.Item +{ #pragma warning disable CS1591 - public class WithProvider_GetResponse : IAdditionalDataHolder, IParsable + public class WithProvider_GetResponse : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public WithProvider_GetResponse() { @@ -21,12 +22,12 @@ public WithProvider_GetResponse() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static WithProvider_GetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Providers.Item.WithProvider_GetResponse CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new WithProvider_GetResponse(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Providers.Item.WithProvider_GetResponse(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Providers/Item/WithProvider_ItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Providers/Item/WithProvider_ItemRequestBuilder.cs index 15dcb7ac..a15a4231 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Providers/Item/WithProvider_ItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Providers/Item/WithProvider_ItemRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Providers.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Providers.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\identity-provider\providers\{provider_id} /// - public class WithProvider_ItemRequestBuilder : BaseRequestBuilder + public class WithProvider_ItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public WithProvider_ItemRequestBuilder(Dictionary pathParameters { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -32,20 +33,20 @@ public WithProvider_ItemRequestBuilder(string rawUrl, IRequestAdapter requestAda /// /// Get the identity provider factory for that provider id /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, WithProvider_GetResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Providers.Item.WithProvider_GetResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Get the identity provider factory for that provider id @@ -69,11 +70,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithProvider_ItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Providers.Item.WithProvider_ItemRequestBuilder WithUrl(string rawUrl) { - return new WithProvider_ItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Providers.Item.WithProvider_ItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Providers/ProvidersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Providers/ProvidersRequestBuilder.cs index ce5800b3..bcf6e23c 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Providers/ProvidersRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/IdentityProvider/Providers/ProvidersRequestBuilder.cs @@ -6,26 +6,27 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Providers { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Providers +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\identity-provider\providers /// - public class ProvidersRequestBuilder : BaseRequestBuilder + public class ProvidersRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.identityProvider.providers.item collection /// The provider id to get the factory - /// A - public WithProvider_ItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Providers.Item.WithProvider_ItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("provider_id", position); - return new WithProvider_ItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Providers.Item.WithProvider_ItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -33,7 +34,7 @@ public ProvidersRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Keys/KeysRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Keys/KeysRequestBuilder.cs index 4cd8fcec..4281e4e7 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Keys/KeysRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Keys/KeysRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Keys { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Keys +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\keys /// - public class KeysRequestBuilder : BaseRequestBuilder + public class KeysRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,27 +24,27 @@ public KeysRequestBuilder(Dictionary pathParameters, IRequestAda { } /// - /// Instantiates a new and sets the default values. + /// 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 KeysRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/keys", rawUrl) { } - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, KeysMetadataRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.KeysMetadataRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -64,11 +65,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public KeysRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Keys.KeysRequestBuilder WithUrl(string rawUrl) { - return new KeysRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Keys.KeysRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Localization/Item/Item/WithKeyItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Localization/Item/Item/WithKeyItemRequestBuilder.cs index 0506cc3b..fbc3d2b1 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Localization/Item/Item/WithKeyItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Localization/Item/Item/WithKeyItemRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\localization\{locale}\{key} /// - public class WithKeyItemRequestBuilder : BaseRequestBuilder + public class WithKeyItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public WithKeyItemRequestBuilder(Dictionary pathParameters, IReq { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -126,11 +127,11 @@ public RequestInformation ToPutRequestInformation(string body, Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithKeyItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item.Item.WithKeyItemRequestBuilder WithUrl(string rawUrl) { - return new WithKeyItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item.Item.WithKeyItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Localization/Item/WithLocaleGetResponse.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Localization/Item/WithLocaleGetResponse.cs index f15f9404..48ab2084 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Localization/Item/WithLocaleGetResponse.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Localization/Item/WithLocaleGetResponse.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item +{ #pragma warning disable CS1591 - public class WithLocaleGetResponse : IAdditionalDataHolder, IParsable + public class WithLocaleGetResponse : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public WithLocaleGetResponse() { @@ -21,12 +22,12 @@ public WithLocaleGetResponse() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static WithLocaleGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item.WithLocaleGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new WithLocaleGetResponse(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item.WithLocaleGetResponse(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Localization/Item/WithLocaleItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Localization/Item/WithLocaleItemRequestBuilder.cs index 40c2fae9..754d27bd 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Localization/Item/WithLocaleItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Localization/Item/WithLocaleItemRequestBuilder.cs @@ -8,26 +8,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\localization\{locale} /// - public class WithLocaleItemRequestBuilder : BaseRequestBuilder + public class WithLocaleItemRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.localization.item.item collection /// Unique identifier of the item - /// A - public WithKeyItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item.Item.WithKeyItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("key", position); - return new WithKeyItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item.Item.WithKeyItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public WithLocaleItemRequestBuilder(Dictionary pathParameters, I { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -56,20 +57,20 @@ public async Task DeleteAsync(ActionA + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, WithLocaleGetResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item.WithLocaleGetResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Import localization from uploaded JSON file @@ -79,11 +80,11 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(WithLocalePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item.WithLocalePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(WithLocalePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item.WithLocalePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -109,11 +110,11 @@ public RequestInformation ToDeleteRequestInformation(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -129,11 +130,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(WithLocalePostRequestBody body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item.WithLocalePostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(WithLocalePostRequestBody body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item.WithLocalePostRequestBody body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -145,11 +146,11 @@ public RequestInformation ToPostRequestInformation(WithLocalePostRequestBody bod /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithLocaleItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item.WithLocaleItemRequestBuilder WithUrl(string rawUrl) { - return new WithLocaleItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item.WithLocaleItemRequestBuilder(rawUrl, RequestAdapter); } #pragma warning disable CS1591 public class WithLocaleItemRequestBuilderGetQueryParameters diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Localization/Item/WithLocalePostRequestBody.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Localization/Item/WithLocalePostRequestBody.cs index 1cc318a4..53f1ca4b 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Localization/Item/WithLocalePostRequestBody.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Localization/Item/WithLocalePostRequestBody.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item +{ #pragma warning disable CS1591 - public class WithLocalePostRequestBody : IAdditionalDataHolder, IParsable + public class WithLocalePostRequestBody : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public WithLocalePostRequestBody() { @@ -21,12 +22,12 @@ public WithLocalePostRequestBody() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static WithLocalePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item.WithLocalePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new WithLocalePostRequestBody(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item.WithLocalePostRequestBody(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Localization/LocalizationRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Localization/LocalizationRequestBuilder.cs index f36a6dcc..61020770 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Localization/LocalizationRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Localization/LocalizationRequestBuilder.cs @@ -8,26 +8,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\localization /// - public class LocalizationRequestBuilder : BaseRequestBuilder + public class LocalizationRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.localization.item collection /// Unique identifier of the item - /// A - public WithLocaleItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item.WithLocaleItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("locale", position); - return new WithLocaleItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.Item.WithLocaleItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public LocalizationRequestBuilder(Dictionary pathParameters, IRe { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -77,11 +78,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public LocalizationRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.LocalizationRequestBuilder WithUrl(string rawUrl) { - return new LocalizationRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.LocalizationRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/LogoutAll/LogoutAllRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/LogoutAll/LogoutAllRequestBuilder.cs index a4bc1a5c..24f2387d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/LogoutAll/LogoutAllRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/LogoutAll/LogoutAllRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.LogoutAll { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.LogoutAll +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\logout-all /// - public class LogoutAllRequestBuilder : BaseRequestBuilder + public class LogoutAllRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public LogoutAllRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public LogoutAllRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// Any client that has an admin url will also be told to invalidate any sessions they have. /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToPostRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, GlobalRequestResult.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GlobalRequestResult.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Any client that has an admin url will also be told to invalidate any sessions they have. @@ -70,11 +71,11 @@ public RequestInformation ToPostRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public LogoutAllRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.LogoutAll.LogoutAllRequestBuilder WithUrl(string rawUrl) { - return new LogoutAllRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.LogoutAll.LogoutAllRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/PartialExport/PartialExportRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/PartialExport/PartialExportRequestBuilder.cs index b5ba6703..a5a4a2d6 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/PartialExport/PartialExportRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/PartialExport/PartialExportRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.PartialExport { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.PartialExport +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\partial-export /// - public class PartialExportRequestBuilder : BaseRequestBuilder + public class PartialExportRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public PartialExportRequestBuilder(Dictionary pathParameters, IR { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -37,11 +38,11 @@ public PartialExportRequestBuilder(string rawUrl, IRequestAdapter requestAdapter /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToPostRequestInformation(requestConfiguration); @@ -54,11 +55,11 @@ public async Task PostAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); @@ -68,11 +69,11 @@ public RequestInformation ToPostRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public PartialExportRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.PartialExport.PartialExportRequestBuilder WithUrl(string rawUrl) { - return new PartialExportRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.PartialExport.PartialExportRequestBuilder(rawUrl, RequestAdapter); } /// /// Partial export of existing realm into a JSON file. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/PartialImport/PartialImportRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/PartialImport/PartialImportRequestBuilder.cs index b4dffaee..b9b8caa8 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/PartialImport/PartialImportRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/PartialImport/PartialImportRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.PartialImport { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.PartialImport +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\partialImport /// - public class PartialImportRequestBuilder : BaseRequestBuilder + public class PartialImportRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public PartialImportRequestBuilder(Dictionary pathParameters, IR { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -73,11 +74,11 @@ public RequestInformation ToPostRequestInformation(string body, Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public PartialImportRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.PartialImport.PartialImportRequestBuilder WithUrl(string rawUrl) { - return new PartialImportRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.PartialImport.PartialImportRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/PushRevocation/PushRevocationRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/PushRevocation/PushRevocationRequestBuilder.cs index ff0d5c4a..6e57c508 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/PushRevocation/PushRevocationRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/PushRevocation/PushRevocationRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.PushRevocation { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.PushRevocation +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\push-revocation /// - public class PushRevocationRequestBuilder : BaseRequestBuilder + public class PushRevocationRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public PushRevocationRequestBuilder(Dictionary pathParameters, I { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public PushRevocationRequestBuilder(string rawUrl, IRequestAdapter requestAdapte /// /// Push the realm's revocation policy to any client that has an admin url associated with it. /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToPostRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, GlobalRequestResult.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GlobalRequestResult.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Push the realm's revocation policy to any client that has an admin url associated with it. @@ -70,11 +71,11 @@ public RequestInformation ToPostRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public PushRevocationRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.PushRevocation.PushRevocationRequestBuilder WithUrl(string rawUrl) { - return new PushRevocationRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.PushRevocation.PushRevocationRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Composites/Clients/ClientsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Composites/Clients/ClientsRequestBuilder.cs index ccd50c47..e547e063 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Composites/Clients/ClientsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Composites/Clients/ClientsRequestBuilder.cs @@ -6,26 +6,27 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Composites.Clients { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Composites.Clients +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\roles\{role-name}\composites\clients /// - public class ClientsRequestBuilder : BaseRequestBuilder + public class ClientsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.roles.item.composites.clients.item collection /// Unique identifier of the item - /// A - public ClientUuItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Composites.Clients.Item.ClientUuItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("client%2Duuid", position); - return new ClientUuItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Composites.Clients.Item.ClientUuItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -33,7 +34,7 @@ public ClientsRequestBuilder(Dictionary pathParameters, IRequest { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Composites/Clients/Item/ClientUuItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Composites/Clients/Item/ClientUuItemRequestBuilder.cs index 6d24708c..d05ac861 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Composites/Clients/Item/ClientUuItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Composites/Clients/Item/ClientUuItemRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Composites.Clients.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Composites.Clients.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\roles\{role-name}\composites\clients\{client-uuid} /// - public class ClientUuItemRequestBuilder : BaseRequestBuilder + public class ClientUuItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public ClientUuItemRequestBuilder(Dictionary pathParameters, IRe { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public ClientUuItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) /// /// Get client-level roles for the client that are in the role's composite /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ClientUuItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Composites.Clients.Item.ClientUuItemRequestBuilder WithUrl(string rawUrl) { - return new ClientUuItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Composites.Clients.Item.ClientUuItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Composites/CompositesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Composites/CompositesRequestBuilder.cs index 14309a22..399f84fe 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Composites/CompositesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Composites/CompositesRequestBuilder.cs @@ -10,24 +10,25 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Composites { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Composites +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\roles\{role-name}\composites /// - public class CompositesRequestBuilder : BaseRequestBuilder + public class CompositesRequestBuilder : BaseRequestBuilder { /// The clients property - public ClientsRequestBuilder Clients + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Composites.Clients.ClientsRequestBuilder Clients { - get => new ClientsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Composites.Clients.ClientsRequestBuilder(PathParameters, RequestAdapter); } /// The realm property - public RealmRequestBuilder Realm + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Composites.Realm.RealmRequestBuilder Realm { - get => new RealmRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Composites.Realm.RealmRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public CompositesRequestBuilder(Dictionary pathParameters, IRequ { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -50,11 +51,11 @@ public CompositesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -64,20 +65,20 @@ public async Task DeleteAsync(List body, Action /// Get composites of the role /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -88,11 +89,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -107,11 +108,11 @@ public async Task PostAsync(List body, ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -147,11 +148,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -163,11 +164,11 @@ public RequestInformation ToPostRequestInformation(List body /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public CompositesRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Composites.CompositesRequestBuilder WithUrl(string rawUrl) { - return new CompositesRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Composites.CompositesRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Composites/Realm/RealmRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Composites/Realm/RealmRequestBuilder.cs index 9b755cac..3a219da7 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Composites/Realm/RealmRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Composites/Realm/RealmRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Composites.Realm { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Composites.Realm +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\roles\{role-name}\composites\realm /// - public class RealmRequestBuilder : BaseRequestBuilder + public class RealmRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public RealmRequestBuilder(Dictionary pathParameters, IRequestAd { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public RealmRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// Get realm-level roles of the role's composite /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public RealmRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Composites.Realm.RealmRequestBuilder WithUrl(string rawUrl) { - return new RealmRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Composites.Realm.RealmRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Groups/GroupsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Groups/GroupsRequestBuilder.cs index fc81ee0f..d9c2bb29 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Groups/GroupsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Groups/GroupsRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Groups { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Groups +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\roles\{role-name}\groups /// - public class GroupsRequestBuilder : BaseRequestBuilder + public class GroupsRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public GroupsRequestBuilder(Dictionary pathParameters, IRequestA { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public GroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// /// Returns a stream of groups that have the specified role name /// - /// A List<GroupRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, GroupRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -56,11 +57,11 @@ public async Task> GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public GroupsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Groups.GroupsRequestBuilder WithUrl(string rawUrl) { - return new GroupsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Groups.GroupsRequestBuilder(rawUrl, RequestAdapter); } /// /// Returns a stream of groups that have the specified role name diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Management/ManagementRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Management/ManagementRequestBuilder.cs index 015ca5c7..ad8a064b 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Management/ManagementRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Management/ManagementRequestBuilder.cs @@ -6,19 +6,20 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Management { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Management +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\roles\{role-name}\management /// - public class ManagementRequestBuilder : BaseRequestBuilder + public class ManagementRequestBuilder : BaseRequestBuilder { /// The permissions property - public PermissionsRequestBuilder Permissions + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Management.Permissions.PermissionsRequestBuilder Permissions { - get => new PermissionsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Management.Permissions.PermissionsRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -26,7 +27,7 @@ public ManagementRequestBuilder(Dictionary pathParameters, IRequ { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Management/Permissions/PermissionsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Management/Permissions/PermissionsRequestBuilder.cs index 9956a58f..bbd043aa 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Management/Permissions/PermissionsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Management/Permissions/PermissionsRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Management.Permissions { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Management.Permissions +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\roles\{role-name}\management\permissions /// - public class PermissionsRequestBuilder : BaseRequestBuilder + public class PermissionsRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public PermissionsRequestBuilder(Dictionary pathParameters, IReq { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,40 +34,40 @@ public PermissionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) /// /// Return object stating whether role Authorization permissions have been initialized or not and a reference /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Return object stating whether role Authorization permissions have been initialized or not and a reference /// - /// A + /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(ManagementPermissionReference body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(ManagementPermissionReference body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPutRequestInformation(body, requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Return object stating whether role Authorization permissions have been initialized or not and a reference @@ -95,11 +96,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(ManagementPermissionReference body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(ManagementPermissionReference body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -112,11 +113,11 @@ public RequestInformation ToPutRequestInformation(ManagementPermissionReference /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public PermissionsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Management.Permissions.PermissionsRequestBuilder WithUrl(string rawUrl) { - return new PermissionsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Management.Permissions.PermissionsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/RoleNameItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/RoleNameItemRequestBuilder.cs index d54f38c1..48de8dcc 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/RoleNameItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/RoleNameItemRequestBuilder.cs @@ -12,34 +12,35 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\roles\{role-name} /// - public class RoleNameItemRequestBuilder : BaseRequestBuilder + public class RoleNameItemRequestBuilder : BaseRequestBuilder { /// The composites property - public CompositesRequestBuilder Composites + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Composites.CompositesRequestBuilder Composites { - get => new CompositesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Composites.CompositesRequestBuilder(PathParameters, RequestAdapter); } /// The groups property - public GroupsRequestBuilder Groups + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Groups.GroupsRequestBuilder Groups { - get => new GroupsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Groups.GroupsRequestBuilder(PathParameters, RequestAdapter); } /// The management property - public ManagementRequestBuilder Management + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Management.ManagementRequestBuilder Management { - get => new ManagementRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Management.ManagementRequestBuilder(PathParameters, RequestAdapter); } /// The users property - public UsersRequestBuilder Users + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Users.UsersRequestBuilder Users { - get => new UsersRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Users.UsersRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -47,7 +48,7 @@ public RoleNameItemRequestBuilder(Dictionary pathParameters, IRe { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -74,20 +75,20 @@ public async Task DeleteAsync(Action /// Get a role by name /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Update a role by name @@ -98,11 +99,11 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(RoleRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(RoleRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -154,11 +155,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(RoleRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(RoleRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -170,11 +171,11 @@ public RequestInformation ToPutRequestInformation(RoleRepresentation body, Actio /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public RoleNameItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.RoleNameItemRequestBuilder WithUrl(string rawUrl) { - return new RoleNameItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.RoleNameItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Users/UsersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Users/UsersRequestBuilder.cs index 35b3764e..d8832a61 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Users/UsersRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/Item/Users/UsersRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Users { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Users +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\roles\{role-name}\users /// - public class UsersRequestBuilder : BaseRequestBuilder + public class UsersRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public UsersRequestBuilder(Dictionary pathParameters, IRequestAd { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// Returns a stream of users that have the specified role name. /// - /// A List<UserRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, UserRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -56,11 +57,11 @@ public async Task> GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public UsersRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Users.UsersRequestBuilder WithUrl(string rawUrl) { - return new UsersRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.Users.UsersRequestBuilder(rawUrl, RequestAdapter); } /// /// Returns a stream of users that have the specified role name. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/RolesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/RolesRequestBuilder.cs index abcff83a..f3be1345 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/RolesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Roles/RolesRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\roles /// - public class RolesRequestBuilder : BaseRequestBuilder + public class RolesRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.roles.item collection /// role's name (not id!) - /// A - public RoleNameItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.RoleNameItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("role%2Dname", position); - return new RoleNameItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.Item.RoleNameItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,7 +37,7 @@ public RolesRequestBuilder(Dictionary pathParameters, IRequestAd { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -46,20 +47,20 @@ public RolesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// Get all roles for the realm or client /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(RoleRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(RoleRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -89,11 +90,11 @@ public async Task PostAsync(RoleRepresentation body, ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -109,11 +110,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(RoleRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(RoleRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -125,11 +126,11 @@ public RequestInformation ToPostRequestInformation(RoleRepresentation body, Acti /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public RolesRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.RolesRequestBuilder WithUrl(string rawUrl) { - return new RolesRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.RolesRequestBuilder(rawUrl, RequestAdapter); } /// /// Get all roles for the realm or client diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Composites/Clients/ClientsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Composites/Clients/ClientsRequestBuilder.cs index a52bd4a2..7f9ce9dc 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Composites/Clients/ClientsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Composites/Clients/ClientsRequestBuilder.cs @@ -6,26 +6,27 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Composites.Clients { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Composites.Clients +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\roles-by-id\{role-id}\composites\clients /// - public class ClientsRequestBuilder : BaseRequestBuilder + public class ClientsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.rolesById.item.composites.clients.item collection /// Unique identifier of the item - /// A - public WithClientUuItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Composites.Clients.Item.WithClientUuItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("clientUuid", position); - return new WithClientUuItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Composites.Clients.Item.WithClientUuItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -33,7 +34,7 @@ public ClientsRequestBuilder(Dictionary pathParameters, IRequest { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Composites/Clients/Item/WithClientUuItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Composites/Clients/Item/WithClientUuItemRequestBuilder.cs index 1907cf66..aaf908ec 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Composites/Clients/Item/WithClientUuItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Composites/Clients/Item/WithClientUuItemRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Composites.Clients.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Composites.Clients.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\roles-by-id\{role-id}\composites\clients\{clientUuid} /// - public class WithClientUuItemRequestBuilder : BaseRequestBuilder + public class WithClientUuItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public WithClientUuItemRequestBuilder(Dictionary pathParameters, { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public WithClientUuItemRequestBuilder(string rawUrl, IRequestAdapter requestAdap /// /// Get client-level roles for the client that are in the role's composite /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithClientUuItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Composites.Clients.Item.WithClientUuItemRequestBuilder WithUrl(string rawUrl) { - return new WithClientUuItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Composites.Clients.Item.WithClientUuItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Composites/CompositesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Composites/CompositesRequestBuilder.cs index cfe28dd5..582ac8c5 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Composites/CompositesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Composites/CompositesRequestBuilder.cs @@ -10,24 +10,25 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Composites { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Composites +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\roles-by-id\{role-id}\composites /// - public class CompositesRequestBuilder : BaseRequestBuilder + public class CompositesRequestBuilder : BaseRequestBuilder { /// The clients property - public ClientsRequestBuilder Clients + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Composites.Clients.ClientsRequestBuilder Clients { - get => new ClientsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Composites.Clients.ClientsRequestBuilder(PathParameters, RequestAdapter); } /// The realm property - public RealmRequestBuilder Realm + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Composites.Realm.RealmRequestBuilder Realm { - get => new RealmRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Composites.Realm.RealmRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public CompositesRequestBuilder(Dictionary pathParameters, IRequ { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -50,11 +51,11 @@ public CompositesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -64,20 +65,20 @@ public async Task DeleteAsync(List body, Action /// Get role's children Returns a set of role's children provided the role is a composite. /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -88,11 +89,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -107,11 +108,11 @@ public async Task PostAsync(List body, ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -127,11 +128,11 @@ public RequestInformation ToDeleteRequestInformation(List bo /// Configuration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -147,11 +148,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -163,11 +164,11 @@ public RequestInformation ToPostRequestInformation(List body /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public CompositesRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Composites.CompositesRequestBuilder WithUrl(string rawUrl) { - return new CompositesRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Composites.CompositesRequestBuilder(rawUrl, RequestAdapter); } /// /// Get role's children Returns a set of role's children provided the role is a composite. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Composites/Realm/RealmRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Composites/Realm/RealmRequestBuilder.cs index 0ed3fff4..162fb5f6 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Composites/Realm/RealmRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Composites/Realm/RealmRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Composites.Realm { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Composites.Realm +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\roles-by-id\{role-id}\composites\realm /// - public class RealmRequestBuilder : BaseRequestBuilder + public class RealmRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public RealmRequestBuilder(Dictionary pathParameters, IRequestAd { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public RealmRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// Get realm-level roles that are in the role's composite /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public RealmRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Composites.Realm.RealmRequestBuilder WithUrl(string rawUrl) { - return new RealmRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Composites.Realm.RealmRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Management/ManagementRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Management/ManagementRequestBuilder.cs index 1f2d0242..190aad79 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Management/ManagementRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Management/ManagementRequestBuilder.cs @@ -6,19 +6,20 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Management { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Management +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\roles-by-id\{role-id}\management /// - public class ManagementRequestBuilder : BaseRequestBuilder + public class ManagementRequestBuilder : BaseRequestBuilder { /// The permissions property - public PermissionsRequestBuilder Permissions + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Management.Permissions.PermissionsRequestBuilder Permissions { - get => new PermissionsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Management.Permissions.PermissionsRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -26,7 +27,7 @@ public ManagementRequestBuilder(Dictionary pathParameters, IRequ { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Management/Permissions/PermissionsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Management/Permissions/PermissionsRequestBuilder.cs index b640f6ce..be72621d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Management/Permissions/PermissionsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/Management/Permissions/PermissionsRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Management.Permissions { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Management.Permissions +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\roles-by-id\{role-id}\management\permissions /// - public class PermissionsRequestBuilder : BaseRequestBuilder + public class PermissionsRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public PermissionsRequestBuilder(Dictionary pathParameters, IReq { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,40 +34,40 @@ public PermissionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) /// /// Return object stating whether role Authorization permissions have been initialized or not and a reference /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Return object stating whether role Authorization permissions have been initialized or not and a reference /// - /// A + /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(ManagementPermissionReference body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(ManagementPermissionReference body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPutRequestInformation(body, requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Return object stating whether role Authorization permissions have been initialized or not and a reference @@ -95,11 +96,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(ManagementPermissionReference body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(ManagementPermissionReference body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -112,11 +113,11 @@ public RequestInformation ToPutRequestInformation(ManagementPermissionReference /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public PermissionsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Management.Permissions.PermissionsRequestBuilder WithUrl(string rawUrl) { - return new PermissionsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Management.Permissions.PermissionsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/RoleItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/RoleItemRequestBuilder.cs index 847b2bfc..eadbf172 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/RoleItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/Item/RoleItemRequestBuilder.cs @@ -10,24 +10,25 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\roles-by-id\{role-id} /// - public class RoleItemRequestBuilder : BaseRequestBuilder + public class RoleItemRequestBuilder : BaseRequestBuilder { /// The composites property - public CompositesRequestBuilder Composites + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Composites.CompositesRequestBuilder Composites { - get => new CompositesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Composites.CompositesRequestBuilder(PathParameters, RequestAdapter); } /// The management property - public ManagementRequestBuilder Management + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Management.ManagementRequestBuilder Management { - get => new ManagementRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.Management.ManagementRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public RoleItemRequestBuilder(Dictionary pathParameters, IReques { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -62,20 +63,20 @@ public async Task DeleteAsync(Action /// Get a specific role's representation /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Update the role @@ -85,11 +86,11 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(RoleRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(RoleRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -141,11 +142,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(RoleRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(RoleRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -157,11 +158,11 @@ public RequestInformation ToPutRequestInformation(RoleRepresentation body, Actio /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public RoleItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.RoleItemRequestBuilder WithUrl(string rawUrl) { - return new RoleItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.RoleItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/RolesByIdRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/RolesByIdRequestBuilder.cs index 0dc870f2..8f11be2e 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/RolesByIdRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/RolesById/RolesByIdRequestBuilder.cs @@ -6,26 +6,27 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\roles-by-id /// - public class RolesByIdRequestBuilder : BaseRequestBuilder + public class RolesByIdRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.rolesById.item collection /// id of role - /// A - public RoleItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.RoleItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("role%2Did", position); - return new RoleItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.Item.RoleItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -33,7 +34,7 @@ public RolesByIdRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Sessions/Item/WithSessionItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Sessions/Item/WithSessionItemRequestBuilder.cs index a11bd646..1769f3cd 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Sessions/Item/WithSessionItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Sessions/Item/WithSessionItemRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Sessions.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Sessions.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\sessions\{session} /// - public class WithSessionItemRequestBuilder : BaseRequestBuilder + public class WithSessionItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public WithSessionItemRequestBuilder(Dictionary pathParameters, { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -36,11 +37,11 @@ public WithSessionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapt /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToDeleteRequestInformation(requestConfiguration); @@ -53,11 +54,11 @@ public async Task DeleteAsync(ActionConfiguration 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) + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); @@ -67,11 +68,11 @@ public RequestInformation ToDeleteRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithSessionItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Sessions.Item.WithSessionItemRequestBuilder WithUrl(string rawUrl) { - return new WithSessionItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Sessions.Item.WithSessionItemRequestBuilder(rawUrl, RequestAdapter); } /// /// Any client that has an admin url will also be told to invalidate this particular session. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Sessions/SessionsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Sessions/SessionsRequestBuilder.cs index e12475cf..e5b9f0f0 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Sessions/SessionsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Sessions/SessionsRequestBuilder.cs @@ -6,26 +6,27 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Sessions { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Sessions +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\sessions /// - public class SessionsRequestBuilder : BaseRequestBuilder + public class SessionsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.sessions.item collection /// Unique identifier of the item - /// A - public WithSessionItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Sessions.Item.WithSessionItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("session", position); - return new WithSessionItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Sessions.Item.WithSessionItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -33,7 +34,7 @@ public SessionsRequestBuilder(Dictionary pathParameters, IReques { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/TestSMTPConnection/TestSMTPConnectionPostRequestBody.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/TestSMTPConnection/TestSMTPConnectionPostRequestBody.cs index 6fe3114f..5a19de1a 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/TestSMTPConnection/TestSMTPConnectionPostRequestBody.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/TestSMTPConnection/TestSMTPConnectionPostRequestBody.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.TestSMTPConnection { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.TestSMTPConnection +{ #pragma warning disable CS1591 - public class TestSMTPConnectionPostRequestBody : IAdditionalDataHolder, IParsable + public class TestSMTPConnectionPostRequestBody : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public TestSMTPConnectionPostRequestBody() { @@ -21,12 +22,12 @@ public TestSMTPConnectionPostRequestBody() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static TestSMTPConnectionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.TestSMTPConnection.TestSMTPConnectionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new TestSMTPConnectionPostRequestBody(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.TestSMTPConnection.TestSMTPConnectionPostRequestBody(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/TestSMTPConnection/TestSMTPConnectionRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/TestSMTPConnection/TestSMTPConnectionRequestBuilder.cs index 2abf6223..28424cc2 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/TestSMTPConnection/TestSMTPConnectionRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/TestSMTPConnection/TestSMTPConnectionRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.TestSMTPConnection { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.TestSMTPConnection +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\testSMTPConnection /// - public class TestSMTPConnectionRequestBuilder : BaseRequestBuilder + public class TestSMTPConnectionRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public TestSMTPConnectionRequestBuilder(Dictionary pathParameter { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -39,11 +40,11 @@ public TestSMTPConnectionRequestBuilder(string rawUrl, IRequestAdapter requestAd [Obsolete("")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(TestSMTPConnectionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.TestSMTPConnection.TestSMTPConnectionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(TestSMTPConnectionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.TestSMTPConnection.TestSMTPConnectionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -59,11 +60,11 @@ public async Task PostAsync(TestSMTPConnectionPostRequestBody body, Acti [Obsolete("")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPostRequestInformation(TestSMTPConnectionPostRequestBody body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.TestSMTPConnection.TestSMTPConnectionPostRequestBody body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(TestSMTPConnectionPostRequestBody body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.TestSMTPConnection.TestSMTPConnectionPostRequestBody body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -75,12 +76,12 @@ public RequestInformation ToPostRequestInformation(TestSMTPConnectionPostRequest /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. [Obsolete("")] - public TestSMTPConnectionRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.TestSMTPConnection.TestSMTPConnectionRequestBuilder WithUrl(string rawUrl) { - return new TestSMTPConnectionRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.TestSMTPConnection.TestSMTPConnectionRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Count/CountRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Count/CountRequestBuilder.cs index d24a58a7..79a2710d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Count/CountRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Count/CountRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Count { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Count +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\count /// - public class CountRequestBuilder : BaseRequestBuilder + public class CountRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public CountRequestBuilder(Dictionary pathParameters, IRequestAd { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -37,11 +38,11 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); @@ -54,11 +55,11 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// Configuration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -69,11 +70,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public CountRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Count.CountRequestBuilder WithUrl(string rawUrl) { - return new CountRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Count.CountRequestBuilder(rawUrl, RequestAdapter); } /// /// It can be called in three different ways. 1. Don’t specify any criteria and pass {@code null}. The number of all users within that realm will be returned. <p> 2. If {@code search} is specified other criteria such as {@code last} will be ignored even though you set them. The {@code search} string will be matched against the first and last name, the username and the email of a user. <p> 3. If {@code search} is unspecified but any of {@code last}, {@code first}, {@code email} or {@code username} those criteria are matched against their respective fields on a user entity. Combined with a logical and. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/ConfiguredUserStorageCredentialTypes/ConfiguredUserStorageCredentialTypesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/ConfiguredUserStorageCredentialTypes/ConfiguredUserStorageCredentialTypesRequestBuilder.cs index 98ba79f2..6ce97b16 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/ConfiguredUserStorageCredentialTypes/ConfiguredUserStorageCredentialTypesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/ConfiguredUserStorageCredentialTypes/ConfiguredUserStorageCredentialTypesRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ConfiguredUserStorageCredentialTypes { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ConfiguredUserStorageCredentialTypes +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\configured-user-storage-credential-types /// - public class ConfiguredUserStorageCredentialTypesRequestBuilder : BaseRequestBuilder + public class ConfiguredUserStorageCredentialTypesRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public ConfiguredUserStorageCredentialTypesRequestBuilder(Dictionary - /// Instantiates a new and sets the default values. + /// 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. @@ -70,11 +71,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ConfiguredUserStorageCredentialTypesRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ConfiguredUserStorageCredentialTypes.ConfiguredUserStorageCredentialTypesRequestBuilder WithUrl(string rawUrl) { - return new ConfiguredUserStorageCredentialTypesRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ConfiguredUserStorageCredentialTypes.ConfiguredUserStorageCredentialTypesRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Consents/Consents.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Consents/Consents.cs index 9c75ddb8..8b2b9638 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Consents/Consents.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Consents/Consents.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Consents { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Consents +{ #pragma warning disable CS1591 - public class Consents : IAdditionalDataHolder, IParsable + public class Consents : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public Consents() { @@ -21,12 +22,12 @@ public Consents() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static Consents CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Consents.Consents CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new Consents(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Consents.Consents(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Consents/ConsentsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Consents/ConsentsRequestBuilder.cs index ae4bba0e..79e92cb4 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Consents/ConsentsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Consents/ConsentsRequestBuilder.cs @@ -8,26 +8,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Consents { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Consents +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\consents /// - public class ConsentsRequestBuilder : BaseRequestBuilder + public class ConsentsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.users.item.consents.item collection /// Client id - /// A - public WithClientItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Consents.Item.WithClientItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("client", position); - return new WithClientItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Consents.Item.WithClientItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public ConsentsRequestBuilder(Dictionary pathParameters, IReques { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -45,20 +46,20 @@ public ConsentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// /// Get consents granted by the user /// - /// A List<Consents> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Consents.Consents> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Consents.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Consents.Consents.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -83,11 +84,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ConsentsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Consents.ConsentsRequestBuilder WithUrl(string rawUrl) { - return new ConsentsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Consents.ConsentsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Consents/Item/WithClientItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Consents/Item/WithClientItemRequestBuilder.cs index b04b2881..17872f2b 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Consents/Item/WithClientItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Consents/Item/WithClientItemRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Consents.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Consents.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\consents\{client} /// - public class WithClientItemRequestBuilder : BaseRequestBuilder + public class WithClientItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public WithClientItemRequestBuilder(Dictionary pathParameters, I { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -67,11 +68,11 @@ public RequestInformation ToDeleteRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithClientItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Consents.Item.WithClientItemRequestBuilder WithUrl(string rawUrl) { - return new WithClientItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Consents.Item.WithClientItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/CredentialsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/CredentialsRequestBuilder.cs index a04efe8c..fea09130 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/CredentialsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/CredentialsRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\credentials /// - public class CredentialsRequestBuilder : BaseRequestBuilder + public class CredentialsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.users.item.credentials.item collection /// Unique identifier of the item - /// A - public WithCredentialItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.WithCredentialItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("credentialId", position); - return new WithCredentialItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.WithCredentialItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,27 +37,27 @@ public CredentialsRequestBuilder(Dictionary pathParameters, IReq { } /// - /// Instantiates a new and sets the default values. + /// 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 CredentialsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/users/{user%2Did}/credentials", rawUrl) { } - /// A List<CredentialRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.CredentialRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, CredentialRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.CredentialRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// A @@ -78,11 +79,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public CredentialsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.CredentialsRequestBuilder WithUrl(string rawUrl) { - return new CredentialsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.CredentialsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/Item/MoveAfter/Item/WithNewPreviousCredentialItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/Item/MoveAfter/Item/WithNewPreviousCredentialItemRequestBuilder.cs index f3eaf79a..042851c6 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/Item/MoveAfter/Item/WithNewPreviousCredentialItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/Item/MoveAfter/Item/WithNewPreviousCredentialItemRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.MoveAfter.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.MoveAfter.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\credentials\{credentialId}\moveAfter\{newPreviousCredentialId} /// - public class WithNewPreviousCredentialItemRequestBuilder : BaseRequestBuilder + public class WithNewPreviousCredentialItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public WithNewPreviousCredentialItemRequestBuilder(Dictionary pa { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -67,11 +68,11 @@ public RequestInformation ToPostRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithNewPreviousCredentialItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.MoveAfter.Item.WithNewPreviousCredentialItemRequestBuilder WithUrl(string rawUrl) { - return new WithNewPreviousCredentialItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.MoveAfter.Item.WithNewPreviousCredentialItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/Item/MoveAfter/MoveAfterRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/Item/MoveAfter/MoveAfterRequestBuilder.cs index 4eb26fd5..7bf57f8d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/Item/MoveAfter/MoveAfterRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/Item/MoveAfter/MoveAfterRequestBuilder.cs @@ -6,26 +6,27 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.MoveAfter { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.MoveAfter +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\credentials\{credentialId}\moveAfter /// - public class MoveAfterRequestBuilder : BaseRequestBuilder + public class MoveAfterRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.users.item.credentials.item.moveAfter.item collection /// The credential that will be the previous element in the list. If set to null, the moved credential will be the first element in the list. - /// A - public WithNewPreviousCredentialItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.MoveAfter.Item.WithNewPreviousCredentialItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("newPreviousCredentialId", position); - return new WithNewPreviousCredentialItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.MoveAfter.Item.WithNewPreviousCredentialItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -33,7 +34,7 @@ public MoveAfterRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/Item/MoveToFirst/MoveToFirstRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/Item/MoveToFirst/MoveToFirstRequestBuilder.cs index 34bec038..f988198d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/Item/MoveToFirst/MoveToFirstRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/Item/MoveToFirst/MoveToFirstRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.MoveToFirst { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.MoveToFirst +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\credentials\{credentialId}\moveToFirst /// - public class MoveToFirstRequestBuilder : BaseRequestBuilder + public class MoveToFirstRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public MoveToFirstRequestBuilder(Dictionary pathParameters, IReq { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -67,11 +68,11 @@ public RequestInformation ToPostRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public MoveToFirstRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.MoveToFirst.MoveToFirstRequestBuilder WithUrl(string rawUrl) { - return new MoveToFirstRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.MoveToFirst.MoveToFirstRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/Item/UserLabel/UserLabelRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/Item/UserLabel/UserLabelRequestBuilder.cs index 5e4d9645..ee349a54 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/Item/UserLabel/UserLabelRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/Item/UserLabel/UserLabelRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.UserLabel { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.UserLabel +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\credentials\{credentialId}\userLabel /// - public class UserLabelRequestBuilder : BaseRequestBuilder + public class UserLabelRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public UserLabelRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -72,11 +73,11 @@ public RequestInformation ToPutRequestInformation(string body, Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public UserLabelRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.UserLabel.UserLabelRequestBuilder WithUrl(string rawUrl) { - return new UserLabelRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.UserLabel.UserLabelRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/Item/WithCredentialItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/Item/WithCredentialItemRequestBuilder.cs index 23905f67..99af5a87 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/Item/WithCredentialItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Credentials/Item/WithCredentialItemRequestBuilder.cs @@ -10,29 +10,30 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\credentials\{credentialId} /// - public class WithCredentialItemRequestBuilder : BaseRequestBuilder + public class WithCredentialItemRequestBuilder : BaseRequestBuilder { /// The moveAfter property - public MoveAfterRequestBuilder MoveAfter + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.MoveAfter.MoveAfterRequestBuilder MoveAfter { - get => new MoveAfterRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.MoveAfter.MoveAfterRequestBuilder(PathParameters, RequestAdapter); } /// The moveToFirst property - public MoveToFirstRequestBuilder MoveToFirst + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.MoveToFirst.MoveToFirstRequestBuilder MoveToFirst { - get => new MoveToFirstRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.MoveToFirst.MoveToFirstRequestBuilder(PathParameters, RequestAdapter); } /// The userLabel property - public UserLabelRequestBuilder UserLabel + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.UserLabel.UserLabelRequestBuilder UserLabel { - get => new UserLabelRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.UserLabel.UserLabelRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -40,7 +41,7 @@ public WithCredentialItemRequestBuilder(Dictionary pathParameter { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -85,11 +86,11 @@ public RequestInformation ToDeleteRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithCredentialItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.WithCredentialItemRequestBuilder WithUrl(string rawUrl) { - return new WithCredentialItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.Item.WithCredentialItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/DisableCredentialTypes/DisableCredentialTypesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/DisableCredentialTypes/DisableCredentialTypesRequestBuilder.cs index 8e6ebd9a..e797c758 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/DisableCredentialTypes/DisableCredentialTypesRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/DisableCredentialTypes/DisableCredentialTypesRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.DisableCredentialTypes { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.DisableCredentialTypes +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\disable-credential-types /// - public class DisableCredentialTypesRequestBuilder : BaseRequestBuilder + public class DisableCredentialTypesRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public DisableCredentialTypesRequestBuilder(Dictionary pathParam { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -72,11 +73,11 @@ public RequestInformation ToPutRequestInformation(List body, Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public DisableCredentialTypesRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.DisableCredentialTypes.DisableCredentialTypesRequestBuilder WithUrl(string rawUrl) { - return new DisableCredentialTypesRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.DisableCredentialTypes.DisableCredentialTypesRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/ExecuteActionsEmail/ExecuteActionsEmailRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/ExecuteActionsEmail/ExecuteActionsEmailRequestBuilder.cs index bb2f16ab..3855c420 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/ExecuteActionsEmail/ExecuteActionsEmailRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/ExecuteActionsEmail/ExecuteActionsEmailRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ExecuteActionsEmail { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ExecuteActionsEmail +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\execute-actions-email /// - public class ExecuteActionsEmailRequestBuilder : BaseRequestBuilder + public class ExecuteActionsEmailRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public ExecuteActionsEmailRequestBuilder(Dictionary pathParamete { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -38,11 +39,11 @@ public ExecuteActionsEmailRequestBuilder(string rawUrl, IRequestAdapter requestA /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -57,11 +58,11 @@ public async Task PutAsync(List body, ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(List body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -73,11 +74,11 @@ public RequestInformation ToPutRequestInformation(List body, Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ExecuteActionsEmailRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ExecuteActionsEmail.ExecuteActionsEmailRequestBuilder WithUrl(string rawUrl) { - return new ExecuteActionsEmailRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ExecuteActionsEmail.ExecuteActionsEmailRequestBuilder(rawUrl, RequestAdapter); } /// /// An email contains a link the user can click to perform a set of required actions. The redirectUri and clientId parameters are optional. If no redirect is given, then there will be no link back to click after actions have completed. Redirect uri must be a valid uri for the particular clientId. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/FederatedIdentity/FederatedIdentityRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/FederatedIdentity/FederatedIdentityRequestBuilder.cs index e203dd53..fcaf5c94 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/FederatedIdentity/FederatedIdentityRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/FederatedIdentity/FederatedIdentityRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.FederatedIdentity { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.FederatedIdentity +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\federated-identity /// - public class FederatedIdentityRequestBuilder : BaseRequestBuilder + public class FederatedIdentityRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.users.item.federatedIdentity.item collection /// Social login provider id - /// A - public WithProviderItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.FederatedIdentity.Item.WithProviderItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("provider", position); - return new WithProviderItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.FederatedIdentity.Item.WithProviderItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,7 +37,7 @@ public FederatedIdentityRequestBuilder(Dictionary pathParameters { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -46,20 +47,20 @@ public FederatedIdentityRequestBuilder(string rawUrl, IRequestAdapter requestAda /// /// Get social logins associated with the user /// - /// A List<FederatedIdentityRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.FederatedIdentityRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, FederatedIdentityRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.FederatedIdentityRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -84,11 +85,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public FederatedIdentityRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.FederatedIdentity.FederatedIdentityRequestBuilder WithUrl(string rawUrl) { - return new FederatedIdentityRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.FederatedIdentity.FederatedIdentityRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/FederatedIdentity/Item/WithProviderItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/FederatedIdentity/Item/WithProviderItemRequestBuilder.cs index 9c5ac583..c4785af2 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/FederatedIdentity/Item/WithProviderItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/FederatedIdentity/Item/WithProviderItemRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.FederatedIdentity.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.FederatedIdentity.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\federated-identity\{provider} /// - public class WithProviderItemRequestBuilder : BaseRequestBuilder + public class WithProviderItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public WithProviderItemRequestBuilder(Dictionary pathParameters, { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -103,11 +104,11 @@ public RequestInformation ToPostRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithProviderItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.FederatedIdentity.Item.WithProviderItemRequestBuilder WithUrl(string rawUrl) { - return new WithProviderItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.FederatedIdentity.Item.WithProviderItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Groups/Count/CountGetResponse.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Groups/Count/CountGetResponse.cs index a42ae696..46ee9ec1 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Groups/Count/CountGetResponse.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Groups/Count/CountGetResponse.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Groups.Count { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Groups.Count +{ #pragma warning disable CS1591 - public class CountGetResponse : IAdditionalDataHolder, IParsable + public class CountGetResponse : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public CountGetResponse() { @@ -21,12 +22,12 @@ public CountGetResponse() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static CountGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Groups.Count.CountGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new CountGetResponse(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Groups.Count.CountGetResponse(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Groups/Count/CountRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Groups/Count/CountRequestBuilder.cs index 660a71e0..dabce9c8 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Groups/Count/CountRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Groups/Count/CountRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Groups.Count { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Groups.Count +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\groups\count /// - public class CountRequestBuilder : BaseRequestBuilder + public class CountRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,37 +23,37 @@ public CountRequestBuilder(Dictionary pathParameters, IRequestAd { } /// - /// Instantiates a new and sets the default values. + /// 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/realms/{realm}/users/{user%2Did}/groups/count{?search*}", rawUrl) { } - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, CountGetResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Groups.Count.CountGetResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -63,11 +64,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public CountRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Groups.Count.CountRequestBuilder WithUrl(string rawUrl) { - return new CountRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Groups.Count.CountRequestBuilder(rawUrl, RequestAdapter); } #pragma warning disable CS1591 public class CountRequestBuilderGetQueryParameters diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Groups/GroupsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Groups/GroupsRequestBuilder.cs index c630c778..788bac91 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Groups/GroupsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Groups/GroupsRequestBuilder.cs @@ -10,31 +10,32 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Groups { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Groups +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\groups /// - public class GroupsRequestBuilder : BaseRequestBuilder + public class GroupsRequestBuilder : BaseRequestBuilder { /// The count property - public CountRequestBuilder Count + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Groups.Count.CountRequestBuilder Count { - get => new CountRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Groups.Count.CountRequestBuilder(PathParameters, RequestAdapter); } /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.users.item.groups.item collection /// Unique identifier of the item - /// A - public WithGroupItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Groups.Item.WithGroupItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("groupId", position); - return new WithGroupItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Groups.Item.WithGroupItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -42,38 +43,38 @@ public GroupsRequestBuilder(Dictionary pathParameters, IRequestA { } /// - /// Instantiates a new and sets the default values. + /// 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 GroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/users/{user%2Did}/groups{?briefRepresentation*,first*,max*,search*}", rawUrl) { } - /// A List<GroupRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, GroupRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -84,11 +85,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public GroupsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Groups.GroupsRequestBuilder WithUrl(string rawUrl) { - return new GroupsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Groups.GroupsRequestBuilder(rawUrl, RequestAdapter); } #pragma warning disable CS1591 public class GroupsRequestBuilderGetQueryParameters diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Groups/Item/WithGroupItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Groups/Item/WithGroupItemRequestBuilder.cs index 6a30c923..913e8cc8 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Groups/Item/WithGroupItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Groups/Item/WithGroupItemRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Groups.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Groups.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\groups\{groupId} /// - public class WithGroupItemRequestBuilder : BaseRequestBuilder + public class WithGroupItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public WithGroupItemRequestBuilder(Dictionary pathParameters, IR { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -90,11 +91,11 @@ public RequestInformation ToPutRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithGroupItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Groups.Item.WithGroupItemRequestBuilder WithUrl(string rawUrl) { - return new WithGroupItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Groups.Item.WithGroupItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Impersonation/ImpersonationPostResponse.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Impersonation/ImpersonationPostResponse.cs index e48084e6..3322d9e5 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Impersonation/ImpersonationPostResponse.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Impersonation/ImpersonationPostResponse.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Impersonation { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Impersonation +{ #pragma warning disable CS1591 - public class ImpersonationPostResponse : IAdditionalDataHolder, IParsable + public class ImpersonationPostResponse : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ImpersonationPostResponse() { @@ -21,12 +22,12 @@ public ImpersonationPostResponse() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ImpersonationPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Impersonation.ImpersonationPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ImpersonationPostResponse(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Impersonation.ImpersonationPostResponse(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Impersonation/ImpersonationRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Impersonation/ImpersonationRequestBuilder.cs index b73c7806..04fb653d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Impersonation/ImpersonationRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Impersonation/ImpersonationRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Impersonation { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Impersonation +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\impersonation /// - public class ImpersonationRequestBuilder : BaseRequestBuilder + public class ImpersonationRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public ImpersonationRequestBuilder(Dictionary pathParameters, IR { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -32,20 +33,20 @@ public ImpersonationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter /// /// Impersonate the user /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToPostRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ImpersonationPostResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Impersonation.ImpersonationPostResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Impersonate the user @@ -69,11 +70,11 @@ public RequestInformation ToPostRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ImpersonationRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Impersonation.ImpersonationRequestBuilder WithUrl(string rawUrl) { - return new ImpersonationRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Impersonation.ImpersonationRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Logout/LogoutRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Logout/LogoutRequestBuilder.cs index 5dc35d73..c2cb75ce 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Logout/LogoutRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Logout/LogoutRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Logout { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Logout +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\logout /// - public class LogoutRequestBuilder : BaseRequestBuilder + public class LogoutRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public LogoutRequestBuilder(Dictionary pathParameters, IRequestA { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -67,11 +68,11 @@ public RequestInformation ToPostRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public LogoutRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Logout.LogoutRequestBuilder WithUrl(string rawUrl) { - return new LogoutRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Logout.LogoutRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/OfflineSessions/Item/WithClientUuItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/OfflineSessions/Item/WithClientUuItemRequestBuilder.cs index 78130c3b..3ee2880b 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/OfflineSessions/Item/WithClientUuItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/OfflineSessions/Item/WithClientUuItemRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.OfflineSessions.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.OfflineSessions.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\offline-sessions\{clientUuid} /// - public class WithClientUuItemRequestBuilder : BaseRequestBuilder + public class WithClientUuItemRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public WithClientUuItemRequestBuilder(Dictionary pathParameters, { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public WithClientUuItemRequestBuilder(string rawUrl, IRequestAdapter requestAdap /// /// Get offline sessions associated with the user and client /// - /// A List<UserSessionRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserSessionRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, UserSessionRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserSessionRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithClientUuItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.OfflineSessions.Item.WithClientUuItemRequestBuilder WithUrl(string rawUrl) { - return new WithClientUuItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.OfflineSessions.Item.WithClientUuItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/OfflineSessions/OfflineSessionsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/OfflineSessions/OfflineSessionsRequestBuilder.cs index 0bba0094..1562c8d6 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/OfflineSessions/OfflineSessionsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/OfflineSessions/OfflineSessionsRequestBuilder.cs @@ -6,26 +6,27 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.OfflineSessions { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.OfflineSessions +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\offline-sessions /// - public class OfflineSessionsRequestBuilder : BaseRequestBuilder + public class OfflineSessionsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.users.item.offlineSessions.item collection /// Unique identifier of the item - /// A - public WithClientUuItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.OfflineSessions.Item.WithClientUuItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("clientUuid", position); - return new WithClientUuItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.OfflineSessions.Item.WithClientUuItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -33,7 +34,7 @@ public OfflineSessionsRequestBuilder(Dictionary pathParameters, { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/ResetPassword/ResetPasswordRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/ResetPassword/ResetPasswordRequestBuilder.cs index e85c7cb9..a466db33 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/ResetPassword/ResetPasswordRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/ResetPassword/ResetPasswordRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ResetPassword { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ResetPassword +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\reset-password /// - public class ResetPasswordRequestBuilder : BaseRequestBuilder + public class ResetPasswordRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public ResetPasswordRequestBuilder(Dictionary pathParameters, IR { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -38,11 +39,11 @@ public ResetPasswordRequestBuilder(string rawUrl, IRequestAdapter requestAdapter /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(CredentialRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.CredentialRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(CredentialRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.CredentialRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -57,11 +58,11 @@ public async Task PutAsync(CredentialRepresentation body, ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(CredentialRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.CredentialRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(CredentialRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.CredentialRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -73,11 +74,11 @@ public RequestInformation ToPutRequestInformation(CredentialRepresentation body, /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ResetPasswordRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ResetPassword.ResetPasswordRequestBuilder WithUrl(string rawUrl) { - return new ResetPasswordRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ResetPassword.ResetPasswordRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/ResetPasswordEmail/ResetPasswordEmailRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/ResetPasswordEmail/ResetPasswordEmailRequestBuilder.cs index 08c0d83d..4b91b849 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/ResetPasswordEmail/ResetPasswordEmailRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/ResetPasswordEmail/ResetPasswordEmailRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ResetPasswordEmail { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ResetPasswordEmail +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\reset-password-email /// - public class ResetPasswordEmailRequestBuilder : BaseRequestBuilder + public class ResetPasswordEmailRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public ResetPasswordEmailRequestBuilder(Dictionary pathParameter { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -38,11 +39,11 @@ public ResetPasswordEmailRequestBuilder(string rawUrl, IRequestAdapter requestAd [Obsolete("")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToPutRequestInformation(requestConfiguration); @@ -56,11 +57,11 @@ public async Task PutAsync(Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); @@ -70,12 +71,12 @@ public RequestInformation ToPutRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. [Obsolete("")] - public ResetPasswordEmailRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ResetPasswordEmail.ResetPasswordEmailRequestBuilder WithUrl(string rawUrl) { - return new ResetPasswordEmailRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ResetPasswordEmail.ResetPasswordEmailRequestBuilder(rawUrl, RequestAdapter); } /// /// The redirectUri and clientId parameters are optional. The default for the redirect is the account client. This endpoint has been deprecated. Please use the execute-actions-email passing a list with UPDATE_PASSWORD within it. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Clients/ClientsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Clients/ClientsRequestBuilder.cs index fe9c5ee4..c7734af2 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Clients/ClientsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Clients/ClientsRequestBuilder.cs @@ -6,26 +6,27 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Clients { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Clients +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\role-mappings\clients /// - public class ClientsRequestBuilder : BaseRequestBuilder + public class ClientsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.users.item.roleMappings.clients.item collection - /// Unique identifier of the item - /// A - public WithClientItemRequestBuilder this[string position] + /// client id (not clientId!) + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Clients.Item.ClientItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("client", position); - return new WithClientItemRequestBuilder(urlTplParams, RequestAdapter); + urlTplParams.Add("client%2Did", position); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Clients.Item.ClientItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -33,7 +34,7 @@ public ClientsRequestBuilder(Dictionary pathParameters, IRequest { } /// - /// Instantiates a new and sets the default values. + /// 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. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Clients/Item/Available/AvailableRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Clients/Item/Available/AvailableRequestBuilder.cs index 5f7abca4..67be9d36 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Clients/Item/Available/AvailableRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Clients/Item/Available/AvailableRequestBuilder.cs @@ -8,49 +8,50 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Clients.Item.Available { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Clients.Item.Available +{ /// - /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\role-mappings\clients\{client}\available + /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\role-mappings\clients\{client-id}\available /// - public class AvailableRequestBuilder : BaseRequestBuilder + public class AvailableRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public AvailableRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/users/{user%2Did}/role-mappings/clients/{client}/available", pathParameters) + public AvailableRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/users/{user%2Did}/role-mappings/clients/{client%2Did}/available", pathParameters) { } /// - /// Instantiates a new and sets the default values. + /// 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 AvailableRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/users/{user%2Did}/role-mappings/clients/{client}/available", rawUrl) + public AvailableRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/users/{user%2Did}/role-mappings/clients/{client%2Did}/available", rawUrl) { } /// - /// Get available client-level roles that can be mapped to the user + /// Get available client-level roles that can be mapped to the user or group /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// - /// Get available client-level roles that can be mapped to the user + /// Get available client-level roles that can be mapped to the user or group /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public AvailableRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Clients.Item.Available.AvailableRequestBuilder WithUrl(string rawUrl) { - return new AvailableRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Clients.Item.Available.AvailableRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Clients/Item/ClientItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Clients/Item/ClientItemRequestBuilder.cs new file mode 100644 index 00000000..87bdba3f --- /dev/null +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Clients/Item/ClientItemRequestBuilder.cs @@ -0,0 +1,174 @@ +// +using Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Clients.Item.Available; +using Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Clients.Item.Composite; +using Keycloak.AuthServices.Sdk.Kiota.Admin.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Clients.Item +{ + /// + /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\role-mappings\clients\{client-id} + /// + public class ClientItemRequestBuilder : BaseRequestBuilder + { + /// The available property + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Clients.Item.Available.AvailableRequestBuilder Available + { + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Clients.Item.Available.AvailableRequestBuilder(PathParameters, RequestAdapter); + } + /// The composite property + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Clients.Item.Composite.CompositeRequestBuilder Composite + { + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Clients.Item.Composite.CompositeRequestBuilder(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 ClientItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/users/{user%2Did}/role-mappings/clients/{client%2Did}", 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 ClientItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/users/{user%2Did}/role-mappings/clients/{client%2Did}", rawUrl) + { + } + /// + /// Delete client-level roles from user or group role mapping + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToDeleteRequestInformation(body, requestConfiguration); + await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); + } + /// + /// Get client-level role mappings for the user or group, and the app + /// + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#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 collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return collectionResult?.ToList(); + } + /// + /// Add client-level roles to the user or group role mapping + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete client-level roles from user or group role mapping + /// + /// 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 ToDeleteRequestInformation(List body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Get client-level role mappings for the user or group, and the app + /// + /// 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; + } + /// + /// Add client-level roles to the user or group role mapping + /// + /// 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(List body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + 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 Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Clients.Item.ClientItemRequestBuilder WithUrl(string rawUrl) + { + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Clients.Item.ClientItemRequestBuilder(rawUrl, RequestAdapter); + } + } +} diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Clients/Item/Composite/CompositeRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Clients/Item/Composite/CompositeRequestBuilder.cs index 1cee3e88..239cbfed 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Clients/Item/Composite/CompositeRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Clients/Item/Composite/CompositeRequestBuilder.cs @@ -8,45 +8,46 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Clients.Item.Composite { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Clients.Item.Composite +{ /// - /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\role-mappings\clients\{client}\composite + /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\role-mappings\clients\{client-id}\composite /// - public class CompositeRequestBuilder : BaseRequestBuilder + public class CompositeRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. - public CompositeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/users/{user%2Did}/role-mappings/clients/{client}/composite{?briefRepresentation*}", pathParameters) + public CompositeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/users/{user%2Did}/role-mappings/clients/{client%2Did}/composite{?briefRepresentation*}", pathParameters) { } /// - /// Instantiates a new and sets the default values. + /// 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 CompositeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/users/{user%2Did}/role-mappings/clients/{client}/composite{?briefRepresentation*}", rawUrl) + public CompositeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/users/{user%2Did}/role-mappings/clients/{client%2Did}/composite{?briefRepresentation*}", rawUrl) { } /// /// Get effective client-level role mappings This recurses any composite roles /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -56,11 +57,11 @@ public async Task> GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public CompositeRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Clients.Item.Composite.CompositeRequestBuilder WithUrl(string rawUrl) { - return new CompositeRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Clients.Item.Composite.CompositeRequestBuilder(rawUrl, RequestAdapter); } /// /// Get effective client-level role mappings This recurses any composite roles diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Realm/Available/AvailableRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Realm/Available/AvailableRequestBuilder.cs index e559174c..9075141b 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Realm/Available/AvailableRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Realm/Available/AvailableRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Realm.Available { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Realm.Available +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\role-mappings\realm\available /// - public class AvailableRequestBuilder : BaseRequestBuilder + public class AvailableRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public AvailableRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public AvailableRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// Get realm-level roles that can be mapped /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public AvailableRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Realm.Available.AvailableRequestBuilder WithUrl(string rawUrl) { - return new AvailableRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Realm.Available.AvailableRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Realm/Composite/CompositeRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Realm/Composite/CompositeRequestBuilder.cs index b29f01fe..a64ef54c 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Realm/Composite/CompositeRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Realm/Composite/CompositeRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Realm.Composite { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Realm.Composite +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\role-mappings\realm\composite /// - public class CompositeRequestBuilder : BaseRequestBuilder + public class CompositeRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public CompositeRequestBuilder(Dictionary pathParameters, IReque { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public CompositeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// /// Get effective realm-level role mappings This will recurse all composite roles to get the result. /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -56,11 +57,11 @@ public async Task> GetAsync(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public CompositeRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Realm.Composite.CompositeRequestBuilder WithUrl(string rawUrl) { - return new CompositeRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Realm.Composite.CompositeRequestBuilder(rawUrl, RequestAdapter); } /// /// Get effective realm-level role mappings This will recurse all composite roles to get the result. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Realm/RealmRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Realm/RealmRequestBuilder.cs index 647acfae..cd6881ea 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Realm/RealmRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/Realm/RealmRequestBuilder.cs @@ -10,24 +10,25 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Realm { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Realm +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\role-mappings\realm /// - public class RealmRequestBuilder : BaseRequestBuilder + public class RealmRequestBuilder : BaseRequestBuilder { /// The available property - public AvailableRequestBuilder Available + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Realm.Available.AvailableRequestBuilder Available { - get => new AvailableRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Realm.Available.AvailableRequestBuilder(PathParameters, RequestAdapter); } /// The composite property - public CompositeRequestBuilder Composite + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Realm.Composite.CompositeRequestBuilder Composite { - get => new CompositeRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Realm.Composite.CompositeRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public RealmRequestBuilder(Dictionary pathParameters, IRequestAd { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -50,11 +51,11 @@ public RealmRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task DeleteAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -64,20 +65,20 @@ public async Task DeleteAsync(List body, Action /// Get realm-level role mappings /// - /// A List<RoleRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -88,11 +89,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(List body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -107,11 +108,11 @@ public async Task PostAsync(List body, ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToDeleteRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -147,11 +148,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(List body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(List body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -163,11 +164,11 @@ public RequestInformation ToPostRequestInformation(List body /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public RealmRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Realm.RealmRequestBuilder WithUrl(string rawUrl) { - return new RealmRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Realm.RealmRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/RoleMappingsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/RoleMappingsRequestBuilder.cs index feecea48..c92a4503 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/RoleMappingsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/RoleMappings/RoleMappingsRequestBuilder.cs @@ -10,24 +10,25 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\role-mappings /// - public class RoleMappingsRequestBuilder : BaseRequestBuilder + public class RoleMappingsRequestBuilder : BaseRequestBuilder { /// The clients property - public ClientsRequestBuilder Clients + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Clients.ClientsRequestBuilder Clients { - get => new ClientsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Clients.ClientsRequestBuilder(PathParameters, RequestAdapter); } /// The realm property - public RealmRequestBuilder Realm + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Realm.RealmRequestBuilder Realm { - get => new RealmRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.Realm.RealmRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -35,7 +36,7 @@ public RoleMappingsRequestBuilder(Dictionary pathParameters, IRe { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -45,20 +46,20 @@ public RoleMappingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) /// /// Get role mappings /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, MappingsRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.MappingsRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Get role mappings @@ -82,11 +83,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public RoleMappingsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.RoleMappingsRequestBuilder WithUrl(string rawUrl) { - return new RoleMappingsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.RoleMappingsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/SendVerifyEmail/SendVerifyEmailRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/SendVerifyEmail/SendVerifyEmailRequestBuilder.cs index a7c6d336..c1c9a748 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/SendVerifyEmail/SendVerifyEmailRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/SendVerifyEmail/SendVerifyEmailRequestBuilder.cs @@ -7,14 +7,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.SendVerifyEmail { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.SendVerifyEmail +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\send-verify-email /// - public class SendVerifyEmailRequestBuilder : BaseRequestBuilder + public class SendVerifyEmailRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -22,7 +23,7 @@ public SendVerifyEmailRequestBuilder(Dictionary pathParameters, { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -37,11 +38,11 @@ public SendVerifyEmailRequestBuilder(string rawUrl, IRequestAdapter requestAdapt /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToPutRequestInformation(requestConfiguration); @@ -54,11 +55,11 @@ public async Task PutAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters); @@ -68,11 +69,11 @@ public RequestInformation ToPutRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public SendVerifyEmailRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.SendVerifyEmail.SendVerifyEmailRequestBuilder WithUrl(string rawUrl) { - return new SendVerifyEmailRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.SendVerifyEmail.SendVerifyEmailRequestBuilder(rawUrl, RequestAdapter); } /// /// The redirectUri, clientId and lifespan parameters are optional. The default for the redirect is the account client. The default for the lifespan is 12 hours diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Sessions/SessionsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Sessions/SessionsRequestBuilder.cs index 3054b75f..95a91dc9 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Sessions/SessionsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/Sessions/SessionsRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Sessions { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Sessions +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\sessions /// - public class SessionsRequestBuilder : BaseRequestBuilder + public class SessionsRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public SessionsRequestBuilder(Dictionary pathParameters, IReques { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public SessionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// /// Get sessions associated with the user /// - /// A List<UserSessionRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserSessionRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, UserSessionRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserSessionRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -71,11 +72,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public SessionsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Sessions.SessionsRequestBuilder WithUrl(string rawUrl) { - return new SessionsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Sessions.SessionsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/UnmanagedAttributes/UnmanagedAttributesGetResponse.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/UnmanagedAttributes/UnmanagedAttributesGetResponse.cs new file mode 100644 index 00000000..c79dd7a8 --- /dev/null +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/UnmanagedAttributes/UnmanagedAttributesGetResponse.cs @@ -0,0 +1,52 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.UnmanagedAttributes +{ + #pragma warning disable CS1591 + public class UnmanagedAttributesGetResponse : IAdditionalDataHolder, 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; set; } + /// + /// Instantiates a new and sets the default values. + /// + public UnmanagedAttributesGetResponse() + { + 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 Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.UnmanagedAttributes.UnmanagedAttributesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.UnmanagedAttributes.UnmanagedAttributesGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/UnmanagedAttributes/UnmanagedAttributesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/UnmanagedAttributes/UnmanagedAttributesRequestBuilder.cs new file mode 100644 index 00000000..955ea3b4 --- /dev/null +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/UnmanagedAttributes/UnmanagedAttributesRequestBuilder.cs @@ -0,0 +1,74 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.UnmanagedAttributes +{ + /// + /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id}\unmanagedAttributes + /// + public class UnmanagedAttributesRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UnmanagedAttributesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/users/{user%2Did}/unmanagedAttributes", 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 UnmanagedAttributesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/users/{user%2Did}/unmanagedAttributes", rawUrl) + { + } + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#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); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.UnmanagedAttributes.UnmanagedAttributesGetResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + } + /// 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 Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.UnmanagedAttributes.UnmanagedAttributesRequestBuilder WithUrl(string rawUrl) + { + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.UnmanagedAttributes.UnmanagedAttributesRequestBuilder(rawUrl, RequestAdapter); + } + } +} diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/UserItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/UserItemRequestBuilder.cs index 197d8699..bbc6b1cf 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/UserItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Item/UserItemRequestBuilder.cs @@ -14,6 +14,7 @@ using Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings; using Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.SendVerifyEmail; using Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Sessions; +using Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.UnmanagedAttributes; using Keycloak.AuthServices.Sdk.Kiota.Admin.Models; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -23,89 +24,95 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\{user-id} /// - public class UserItemRequestBuilder : BaseRequestBuilder + public class UserItemRequestBuilder : BaseRequestBuilder { /// The configuredUserStorageCredentialTypes property - public ConfiguredUserStorageCredentialTypesRequestBuilder ConfiguredUserStorageCredentialTypes + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ConfiguredUserStorageCredentialTypes.ConfiguredUserStorageCredentialTypesRequestBuilder ConfiguredUserStorageCredentialTypes { - get => new ConfiguredUserStorageCredentialTypesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ConfiguredUserStorageCredentialTypes.ConfiguredUserStorageCredentialTypesRequestBuilder(PathParameters, RequestAdapter); } /// The consents property - public ConsentsRequestBuilder Consents + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Consents.ConsentsRequestBuilder Consents { - get => new ConsentsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Consents.ConsentsRequestBuilder(PathParameters, RequestAdapter); } /// The credentials property - public CredentialsRequestBuilder Credentials + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.CredentialsRequestBuilder Credentials { - get => new CredentialsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Credentials.CredentialsRequestBuilder(PathParameters, RequestAdapter); } /// The disableCredentialTypes property - public DisableCredentialTypesRequestBuilder DisableCredentialTypes + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.DisableCredentialTypes.DisableCredentialTypesRequestBuilder DisableCredentialTypes { - get => new DisableCredentialTypesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.DisableCredentialTypes.DisableCredentialTypesRequestBuilder(PathParameters, RequestAdapter); } /// The executeActionsEmail property - public ExecuteActionsEmailRequestBuilder ExecuteActionsEmail + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ExecuteActionsEmail.ExecuteActionsEmailRequestBuilder ExecuteActionsEmail { - get => new ExecuteActionsEmailRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ExecuteActionsEmail.ExecuteActionsEmailRequestBuilder(PathParameters, RequestAdapter); } /// The federatedIdentity property - public FederatedIdentityRequestBuilder FederatedIdentity + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.FederatedIdentity.FederatedIdentityRequestBuilder FederatedIdentity { - get => new FederatedIdentityRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.FederatedIdentity.FederatedIdentityRequestBuilder(PathParameters, RequestAdapter); } /// The groups property - public GroupsRequestBuilder Groups + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Groups.GroupsRequestBuilder Groups { - get => new GroupsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Groups.GroupsRequestBuilder(PathParameters, RequestAdapter); } /// The impersonation property - public ImpersonationRequestBuilder Impersonation + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Impersonation.ImpersonationRequestBuilder Impersonation { - get => new ImpersonationRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Impersonation.ImpersonationRequestBuilder(PathParameters, RequestAdapter); } /// The logout property - public LogoutRequestBuilder Logout + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Logout.LogoutRequestBuilder Logout { - get => new LogoutRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Logout.LogoutRequestBuilder(PathParameters, RequestAdapter); } /// The offlineSessions property - public OfflineSessionsRequestBuilder OfflineSessions + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.OfflineSessions.OfflineSessionsRequestBuilder OfflineSessions { - get => new OfflineSessionsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.OfflineSessions.OfflineSessionsRequestBuilder(PathParameters, RequestAdapter); } /// The resetPassword property - public ResetPasswordRequestBuilder ResetPassword + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ResetPassword.ResetPasswordRequestBuilder ResetPassword { - get => new ResetPasswordRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ResetPassword.ResetPasswordRequestBuilder(PathParameters, RequestAdapter); } /// The resetPasswordEmail property - public ResetPasswordEmailRequestBuilder ResetPasswordEmail + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ResetPasswordEmail.ResetPasswordEmailRequestBuilder ResetPasswordEmail { - get => new ResetPasswordEmailRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ResetPasswordEmail.ResetPasswordEmailRequestBuilder(PathParameters, RequestAdapter); } /// The roleMappings property - public RoleMappingsRequestBuilder RoleMappings + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.RoleMappingsRequestBuilder RoleMappings { - get => new RoleMappingsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.RoleMappings.RoleMappingsRequestBuilder(PathParameters, RequestAdapter); } /// The sendVerifyEmail property - public SendVerifyEmailRequestBuilder SendVerifyEmail + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.SendVerifyEmail.SendVerifyEmailRequestBuilder SendVerifyEmail { - get => new SendVerifyEmailRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.SendVerifyEmail.SendVerifyEmailRequestBuilder(PathParameters, RequestAdapter); } /// The sessions property - public SessionsRequestBuilder Sessions + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Sessions.SessionsRequestBuilder Sessions { - get => new SessionsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.Sessions.SessionsRequestBuilder(PathParameters, RequestAdapter); + } + /// The unmanagedAttributes property + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.UnmanagedAttributes.UnmanagedAttributesRequestBuilder UnmanagedAttributes + { + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.UnmanagedAttributes.UnmanagedAttributesRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -113,7 +120,7 @@ public UserItemRequestBuilder(Dictionary pathParameters, IReques { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -141,20 +148,20 @@ public async Task DeleteAsync(Action /// Get representation of the user /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, UserRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Update the user @@ -165,11 +172,11 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(UserRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(UserRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -201,11 +208,11 @@ public RequestInformation ToDeleteRequestInformation(ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -221,11 +228,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(UserRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(UserRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -237,11 +244,11 @@ public RequestInformation ToPutRequestInformation(UserRepresentation body, Actio /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public UserItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.UserItemRequestBuilder WithUrl(string rawUrl) { - return new UserItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.UserItemRequestBuilder(rawUrl, RequestAdapter); } /// /// Get representation of the user diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Profile/Metadata/MetadataRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Profile/Metadata/MetadataRequestBuilder.cs index 4ce7c514..efb56531 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Profile/Metadata/MetadataRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Profile/Metadata/MetadataRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Profile.Metadata { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Profile.Metadata +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\profile\metadata /// - public class MetadataRequestBuilder : BaseRequestBuilder + public class MetadataRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,7 +24,7 @@ public MetadataRequestBuilder(Dictionary pathParameters, IReques { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -33,20 +34,20 @@ public MetadataRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// /// Get the UserProfileMetadata from the configuration /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, UserProfileMetadata.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileMetadata.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Get the UserProfileMetadata from the configuration @@ -70,11 +71,11 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public MetadataRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Profile.Metadata.MetadataRequestBuilder WithUrl(string rawUrl) { - return new MetadataRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Profile.Metadata.MetadataRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Profile/ProfileRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Profile/ProfileRequestBuilder.cs index 00304b47..06f76de1 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Profile/ProfileRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/Profile/ProfileRequestBuilder.cs @@ -9,19 +9,20 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Profile { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Profile +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users\profile /// - public class ProfileRequestBuilder : BaseRequestBuilder + public class ProfileRequestBuilder : BaseRequestBuilder { /// The metadata property - public MetadataRequestBuilder Metadata + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Profile.Metadata.MetadataRequestBuilder Metadata { - get => new MetadataRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Profile.Metadata.MetadataRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -29,7 +30,7 @@ public ProfileRequestBuilder(Dictionary pathParameters, IRequest { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -39,40 +40,40 @@ public ProfileRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba /// /// Get the configuration for the user profile /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, UPConfig.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPConfig.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Set the configuration for the user profile /// - /// A + /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(UPConfig body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPConfig body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(UPConfig body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPConfig body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPutRequestInformation(body, requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, UPConfig.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPConfig.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// Get the configuration for the user profile @@ -101,11 +102,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(UPConfig body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPConfig body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(UPConfig body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPConfig body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -118,11 +119,11 @@ public RequestInformation ToPutRequestInformation(UPConfig body, Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public ProfileRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Profile.ProfileRequestBuilder WithUrl(string rawUrl) { - return new ProfileRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Profile.ProfileRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/UsersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/UsersRequestBuilder.cs index b26bd0c1..b1f31f42 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/UsersRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Users/UsersRequestBuilder.cs @@ -11,36 +11,37 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users /// - public class UsersRequestBuilder : BaseRequestBuilder + public class UsersRequestBuilder : BaseRequestBuilder { /// The count property - public CountRequestBuilder Count + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Count.CountRequestBuilder Count { - get => new CountRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Count.CountRequestBuilder(PathParameters, RequestAdapter); } /// The profile property - public ProfileRequestBuilder Profile + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Profile.ProfileRequestBuilder Profile { - get => new ProfileRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Profile.ProfileRequestBuilder(PathParameters, RequestAdapter); } /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.users.item collection /// Unique identifier of the item - /// A - public UserItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.UserItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("user%2Did", position); - return new UserItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.UserItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -48,7 +49,7 @@ public UsersRequestBuilder(Dictionary pathParameters, IRequestAd { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -58,20 +59,20 @@ public UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// /// Get users Returns a stream of users, filtered according to query parameters. /// - /// A List<UserRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, UserRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -83,11 +84,11 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PostAsync(UserRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PostAsync(UserRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PostAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -101,11 +102,11 @@ public async Task PostAsync(UserRepresentation body, ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -121,11 +122,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration 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(UserRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPostRequestInformation(UserRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPostRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -137,11 +138,11 @@ public RequestInformation ToPostRequestInformation(UserRepresentation body, Acti /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public UsersRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.UsersRequestBuilder WithUrl(string rawUrl) { - return new UsersRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.UsersRequestBuilder(rawUrl, RequestAdapter); } /// /// Get users Returns a stream of users, filtered according to query parameters. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/UsersManagementPermissions/UsersManagementPermissionsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/UsersManagementPermissions/UsersManagementPermissionsRequestBuilder.cs index a2fcda79..05624d18 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/UsersManagementPermissions/UsersManagementPermissionsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/UsersManagementPermissions/UsersManagementPermissionsRequestBuilder.cs @@ -8,14 +8,15 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.UsersManagementPermissions { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.UsersManagementPermissions +{ /// /// Builds and executes requests for operations under \admin\realms\{realm}\users-management-permissions /// - public class UsersManagementPermissionsRequestBuilder : BaseRequestBuilder + public class UsersManagementPermissionsRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -23,44 +24,44 @@ public UsersManagementPermissionsRequestBuilder(Dictionary pathP { } /// - /// Instantiates a new and sets the default values. + /// 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 UsersManagementPermissionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/users-management-permissions", rawUrl) { } - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } - /// A + /// A /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(ManagementPermissionReference body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(ManagementPermissionReference body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = ToPutRequestInformation(body, requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -83,11 +84,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(ManagementPermissionReference body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(ManagementPermissionReference body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -100,11 +101,11 @@ public RequestInformation ToPutRequestInformation(ManagementPermissionReference /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public UsersManagementPermissionsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.UsersManagementPermissions.UsersManagementPermissionsRequestBuilder WithUrl(string rawUrl) { - return new UsersManagementPermissionsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.UsersManagementPermissions.UsersManagementPermissionsRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/WithRealmItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/WithRealmItemRequestBuilder.cs index f7b84332..1dac20be 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/WithRealmItemRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/WithRealmItemRequestBuilder.cs @@ -8,6 +8,7 @@ using Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes; using Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientSessionStats; using Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates; +using Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTypes; using Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients; using Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientsInitialAccess; using Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Components; @@ -40,174 +41,180 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item +{ /// /// Builds and executes requests for operations under \admin\realms\{realm} /// - public class WithRealmItemRequestBuilder : BaseRequestBuilder + public class WithRealmItemRequestBuilder : BaseRequestBuilder { /// The adminEvents property - public AdminEventsRequestBuilder AdminEvents + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AdminEvents.AdminEventsRequestBuilder AdminEvents { - get => new AdminEventsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AdminEvents.AdminEventsRequestBuilder(PathParameters, RequestAdapter); } /// The attackDetection property - public AttackDetectionRequestBuilder AttackDetection + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.AttackDetectionRequestBuilder AttackDetection { - get => new AttackDetectionRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.AttackDetectionRequestBuilder(PathParameters, RequestAdapter); } /// The authentication property - public AuthenticationRequestBuilder Authentication + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.AuthenticationRequestBuilder Authentication { - get => new AuthenticationRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.AuthenticationRequestBuilder(PathParameters, RequestAdapter); } /// The clientDescriptionConverter property - public ClientDescriptionConverterRequestBuilder ClientDescriptionConverter + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientDescriptionConverter.ClientDescriptionConverterRequestBuilder ClientDescriptionConverter { - get => new ClientDescriptionConverterRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientDescriptionConverter.ClientDescriptionConverterRequestBuilder(PathParameters, RequestAdapter); } /// The clientPolicies property - public ClientPoliciesRequestBuilder ClientPolicies + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientPolicies.ClientPoliciesRequestBuilder ClientPolicies { - get => new ClientPoliciesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientPolicies.ClientPoliciesRequestBuilder(PathParameters, RequestAdapter); } /// The clientRegistrationPolicy property - public ClientRegistrationPolicyRequestBuilder ClientRegistrationPolicy + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientRegistrationPolicy.ClientRegistrationPolicyRequestBuilder ClientRegistrationPolicy { - get => new ClientRegistrationPolicyRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientRegistrationPolicy.ClientRegistrationPolicyRequestBuilder(PathParameters, RequestAdapter); } /// The clients property - public ClientsRequestBuilder Clients + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.ClientsRequestBuilder Clients { - get => new ClientsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.ClientsRequestBuilder(PathParameters, RequestAdapter); } /// The clientScopes property - public ClientScopesRequestBuilder ClientScopes + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.ClientScopesRequestBuilder ClientScopes { - get => new ClientScopesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientScopes.ClientScopesRequestBuilder(PathParameters, RequestAdapter); } /// The clientSessionStats property - public ClientSessionStatsRequestBuilder ClientSessionStats + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientSessionStats.ClientSessionStatsRequestBuilder ClientSessionStats { - get => new ClientSessionStatsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientSessionStats.ClientSessionStatsRequestBuilder(PathParameters, RequestAdapter); } /// The clientsInitialAccess property - public ClientsInitialAccessRequestBuilder ClientsInitialAccess + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientsInitialAccess.ClientsInitialAccessRequestBuilder ClientsInitialAccess { - get => new ClientsInitialAccessRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientsInitialAccess.ClientsInitialAccessRequestBuilder(PathParameters, RequestAdapter); } /// The clientTemplates property - public ClientTemplatesRequestBuilder ClientTemplates + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.ClientTemplatesRequestBuilder ClientTemplates { - get => new ClientTemplatesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTemplates.ClientTemplatesRequestBuilder(PathParameters, RequestAdapter); + } + /// The clientTypes property + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTypes.ClientTypesRequestBuilder ClientTypes + { + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientTypes.ClientTypesRequestBuilder(PathParameters, RequestAdapter); } /// The components property - public ComponentsRequestBuilder Components + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Components.ComponentsRequestBuilder Components { - get => new ComponentsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Components.ComponentsRequestBuilder(PathParameters, RequestAdapter); } /// The credentialRegistrators property - public CredentialRegistratorsRequestBuilder CredentialRegistrators + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.CredentialRegistrators.CredentialRegistratorsRequestBuilder CredentialRegistrators { - get => new CredentialRegistratorsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.CredentialRegistrators.CredentialRegistratorsRequestBuilder(PathParameters, RequestAdapter); } /// The defaultDefaultClientScopes property - public DefaultDefaultClientScopesRequestBuilder DefaultDefaultClientScopes + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultDefaultClientScopes.DefaultDefaultClientScopesRequestBuilder DefaultDefaultClientScopes { - get => new DefaultDefaultClientScopesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultDefaultClientScopes.DefaultDefaultClientScopesRequestBuilder(PathParameters, RequestAdapter); } /// The defaultGroups property - public DefaultGroupsRequestBuilder DefaultGroups + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultGroups.DefaultGroupsRequestBuilder DefaultGroups { - get => new DefaultGroupsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultGroups.DefaultGroupsRequestBuilder(PathParameters, RequestAdapter); } /// The defaultOptionalClientScopes property - public DefaultOptionalClientScopesRequestBuilder DefaultOptionalClientScopes + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultOptionalClientScopes.DefaultOptionalClientScopesRequestBuilder DefaultOptionalClientScopes { - get => new DefaultOptionalClientScopesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.DefaultOptionalClientScopes.DefaultOptionalClientScopesRequestBuilder(PathParameters, RequestAdapter); } /// The events property - public EventsRequestBuilder Events + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Events.EventsRequestBuilder Events { - get => new EventsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Events.EventsRequestBuilder(PathParameters, RequestAdapter); } /// The groupByPath property - public GroupByPathRequestBuilder GroupByPath + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.GroupByPath.GroupByPathRequestBuilder GroupByPath { - get => new GroupByPathRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.GroupByPath.GroupByPathRequestBuilder(PathParameters, RequestAdapter); } /// The groups property - public GroupsRequestBuilder Groups + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.GroupsRequestBuilder Groups { - get => new GroupsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Groups.GroupsRequestBuilder(PathParameters, RequestAdapter); } /// The identityProvider property - public IdentityProviderRequestBuilder IdentityProvider + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.IdentityProviderRequestBuilder IdentityProvider { - get => new IdentityProviderRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.IdentityProviderRequestBuilder(PathParameters, RequestAdapter); } /// The keys property - public KeysRequestBuilder Keys + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Keys.KeysRequestBuilder Keys { - get => new KeysRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Keys.KeysRequestBuilder(PathParameters, RequestAdapter); } /// The localization property - public LocalizationRequestBuilder Localization + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.LocalizationRequestBuilder Localization { - get => new LocalizationRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Localization.LocalizationRequestBuilder(PathParameters, RequestAdapter); } /// The logoutAll property - public LogoutAllRequestBuilder LogoutAll + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.LogoutAll.LogoutAllRequestBuilder LogoutAll { - get => new LogoutAllRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.LogoutAll.LogoutAllRequestBuilder(PathParameters, RequestAdapter); } /// The partialExport property - public PartialExportRequestBuilder PartialExport + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.PartialExport.PartialExportRequestBuilder PartialExport { - get => new PartialExportRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.PartialExport.PartialExportRequestBuilder(PathParameters, RequestAdapter); } /// The partialImport property - public PartialImportRequestBuilder PartialImport + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.PartialImport.PartialImportRequestBuilder PartialImport { - get => new PartialImportRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.PartialImport.PartialImportRequestBuilder(PathParameters, RequestAdapter); } /// The pushRevocation property - public PushRevocationRequestBuilder PushRevocation + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.PushRevocation.PushRevocationRequestBuilder PushRevocation { - get => new PushRevocationRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.PushRevocation.PushRevocationRequestBuilder(PathParameters, RequestAdapter); } /// The roles property - public RolesRequestBuilder Roles + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.RolesRequestBuilder Roles { - get => new RolesRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Roles.RolesRequestBuilder(PathParameters, RequestAdapter); } /// The rolesById property - public RolesByIdRequestBuilder RolesById + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.RolesByIdRequestBuilder RolesById { - get => new RolesByIdRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.RolesById.RolesByIdRequestBuilder(PathParameters, RequestAdapter); } /// The sessions property - public SessionsRequestBuilder Sessions + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Sessions.SessionsRequestBuilder Sessions { - get => new SessionsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Sessions.SessionsRequestBuilder(PathParameters, RequestAdapter); } /// The testSMTPConnection property - public TestSMTPConnectionRequestBuilder TestSMTPConnection + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.TestSMTPConnection.TestSMTPConnectionRequestBuilder TestSMTPConnection { - get => new TestSMTPConnectionRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.TestSMTPConnection.TestSMTPConnectionRequestBuilder(PathParameters, RequestAdapter); } /// The users property - public UsersRequestBuilder Users + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.UsersRequestBuilder Users { - get => new UsersRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.UsersRequestBuilder(PathParameters, RequestAdapter); } /// The usersManagementPermissions property - public UsersManagementPermissionsRequestBuilder UsersManagementPermissions + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.UsersManagementPermissions.UsersManagementPermissionsRequestBuilder UsersManagementPermissions { - get => new UsersManagementPermissionsRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.UsersManagementPermissions.UsersManagementPermissionsRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -215,7 +222,7 @@ public WithRealmItemRequestBuilder(Dictionary pathParameters, IR { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -242,20 +249,20 @@ public async Task DeleteAsync(Action /// Get the top-level representation of the realm It will not include nested information like User and Client representations. /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - return await RequestAdapter.SendAsync(requestInfo, RealmRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); } /// /// This will only update top-level attributes of the realm. @@ -266,11 +273,11 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PutAsync(RealmRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PutAsync(RealmRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task PutAsync(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -322,11 +329,11 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToPutRequestInformation(RealmRepresentation body, Action>? requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation body, Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPutRequestInformation(RealmRepresentation body, Action> requestConfiguration = default) + public RequestInformation ToPutRequestInformation(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation body, Action> requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); @@ -338,11 +345,11 @@ public RequestInformation ToPutRequestInformation(RealmRepresentation body, Acti /// /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public WithRealmItemRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.WithRealmItemRequestBuilder WithUrl(string rawUrl) { - return new WithRealmItemRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.WithRealmItemRequestBuilder(rawUrl, RequestAdapter); } } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/RealmsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/RealmsRequestBuilder.cs index 417c8f43..ed08c438 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/RealmsRequestBuilder.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/RealmsRequestBuilder.cs @@ -9,26 +9,27 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms +{ /// /// Builds and executes requests for operations under \admin\realms /// - public class RealmsRequestBuilder : BaseRequestBuilder + public class RealmsRequestBuilder : BaseRequestBuilder { /// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item collection /// realm name (not id!) - /// A - public WithRealmItemRequestBuilder this[string position] + /// A + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.WithRealmItemRequestBuilder this[string position] { get { var urlTplParams = new Dictionary(PathParameters); urlTplParams.Add("realm", position); - return new WithRealmItemRequestBuilder(urlTplParams, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.WithRealmItemRequestBuilder(urlTplParams, RequestAdapter); } } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Path parameters for the request /// The request adapter to use to execute the requests. @@ -36,7 +37,7 @@ public RealmsRequestBuilder(Dictionary pathParameters, IRequestA { } /// - /// Instantiates a new and sets the default values. + /// 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. @@ -46,20 +47,20 @@ public RealmsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas /// /// Get accessible realms Returns a list of accessible realms. The list is filtered based on what realms the caller is allowed to view. /// - /// A List<RealmRepresentation> + /// A List<Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation> /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); - var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RealmRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// @@ -88,11 +89,11 @@ public async Task PostAsync(string body, ActionConfiguration 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) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -124,11 +125,11 @@ public RequestInformation ToPostRequestInformation(string body, Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public RealmsRequestBuilder WithUrl(string rawUrl) + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.RealmsRequestBuilder WithUrl(string rawUrl) { - return new RealmsRequestBuilder(rawUrl, RequestAdapter); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.RealmsRequestBuilder(rawUrl, RequestAdapter); } /// /// Get accessible realms Returns a list of accessible realms. The list is filtered based on what realms the caller is allowed to view. diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Keycloak.AuthServices.Sdk.Kiota.csproj b/src/Keycloak.AuthServices.Sdk.Kiota/Keycloak.AuthServices.Sdk.Kiota.csproj index 980622d4..b26c3f56 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Keycloak.AuthServices.Sdk.Kiota.csproj +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Keycloak.AuthServices.Sdk.Kiota.csproj @@ -10,7 +10,7 @@ Keycloak HTTP Admin API generated by Kiota Keycloak;KeycloakAdminAPI;HttpClient true - 24.0.4 + 25.0.0 diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/KeycloakAdminApiClient.cs b/src/Keycloak.AuthServices.Sdk.Kiota/KeycloakAdminApiClient.cs index 624e3e25..160c0506 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/KeycloakAdminApiClient.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/KeycloakAdminApiClient.cs @@ -11,19 +11,20 @@ using System.Linq; using System.Threading.Tasks; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin +{ /// /// The main entry point of the SDK, exposes the configuration and the fluent API. /// - public class KeycloakAdminApiClient : BaseRequestBuilder + public class KeycloakAdminApiClient : BaseRequestBuilder { /// The admin property - public AdminRequestBuilder Admin + public Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.AdminRequestBuilder Admin { - get => new AdminRequestBuilder(PathParameters, RequestAdapter); + get => new Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.AdminRequestBuilder(PathParameters, RequestAdapter); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// The request adapter to use to execute the requests. public KeycloakAdminApiClient(IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}", new Dictionary()) diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AbstractPolicyRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AbstractPolicyRepresentation.cs index 20e0e437..d48fff56 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AbstractPolicyRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AbstractPolicyRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class AbstractPolicyRepresentation : IAdditionalDataHolder, IParsable + public class AbstractPolicyRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -66,10 +67,10 @@ public class AbstractPolicyRepresentation : IAdditionalDataHolder, IParsable /// The resourcesData property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? ResourcesData { get; set; } + public List? ResourcesData { get; set; } #nullable restore #else - public List ResourcesData { get; set; } + public List ResourcesData { get; set; } #endif /// The scopes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -82,10 +83,10 @@ public class AbstractPolicyRepresentation : IAdditionalDataHolder, IParsable /// The scopesData property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? ScopesData { get; set; } + public List? ScopesData { get; set; } #nullable restore #else - public List ScopesData { get; set; } + public List ScopesData { get; set; } #endif /// The type property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -96,7 +97,7 @@ public class AbstractPolicyRepresentation : IAdditionalDataHolder, IParsable public string Type { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public AbstractPolicyRepresentation() { @@ -105,12 +106,12 @@ public AbstractPolicyRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static AbstractPolicyRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AbstractPolicyRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new AbstractPolicyRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AbstractPolicyRepresentation(); } /// /// The deserialization information for the current model @@ -120,18 +121,18 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"decisionStrategy", n => { DecisionStrategy = n.GetEnumValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"logic", n => { Logic = n.GetEnumValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"owner", n => { Owner = n.GetStringValue(); } }, - {"policies", n => { Policies = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"resources", n => { Resources = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"resourcesData", n => { ResourcesData = n.GetCollectionOfObjectValues(ResourceRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"scopes", n => { Scopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"scopesData", n => { ScopesData = n.GetCollectionOfObjectValues(ScopeRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "decisionStrategy", n => { DecisionStrategy = n.GetEnumValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "logic", n => { Logic = n.GetEnumValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "owner", n => { Owner = n.GetStringValue(); } }, + { "policies", n => { Policies = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "resources", n => { Resources = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "resourcesData", n => { ResourcesData = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "scopes", n => { Scopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "scopesData", n => { ScopesData = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// @@ -141,17 +142,17 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteEnumValue("decisionStrategy", DecisionStrategy); + writer.WriteEnumValue("decisionStrategy", DecisionStrategy); writer.WriteStringValue("description", Description); writer.WriteStringValue("id", Id); - writer.WriteEnumValue("logic", Logic); + writer.WriteEnumValue("logic", Logic); writer.WriteStringValue("name", Name); writer.WriteStringValue("owner", Owner); writer.WriteCollectionOfPrimitiveValues("policies", Policies); writer.WriteCollectionOfPrimitiveValues("resources", Resources); - writer.WriteCollectionOfObjectValues("resourcesData", ResourcesData); + writer.WriteCollectionOfObjectValues("resourcesData", ResourcesData); writer.WriteCollectionOfPrimitiveValues("scopes", Scopes); - writer.WriteCollectionOfObjectValues("scopesData", ScopesData); + writer.WriteCollectionOfObjectValues("scopesData", ScopesData); writer.WriteStringValue("type", Type); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/Access.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/Access.cs index db60334f..06110319 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/Access.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/Access.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class Access : IAdditionalDataHolder, IParsable + public class Access : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -22,7 +23,7 @@ public class Access : IAdditionalDataHolder, IParsable /// The verify_caller property public bool? VerifyCaller { get; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public Access() { @@ -31,12 +32,12 @@ public Access() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static Access CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Access CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new Access(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Access(); } /// /// The deserialization information for the current model @@ -46,8 +47,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"roles", n => { Roles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"verify_caller", n => { VerifyCaller = n.GetBoolValue(); } }, + { "roles", n => { Roles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "verify_caller", n => { VerifyCaller = n.GetBoolValue(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AccessToken.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AccessToken.cs index 2b047622..5cfd5134 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AccessToken.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AccessToken.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class AccessToken : IAdditionalDataHolder, IParsable + public class AccessToken : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// The acr property @@ -22,10 +23,10 @@ public class AccessToken : IAdditionalDataHolder, IParsable /// The address property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public AddressClaimSet? Address { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AddressClaimSet? Address { get; set; } #nullable restore #else - public AddressClaimSet Address { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AddressClaimSet Address { get; set; } #endif /// The allowedOrigins property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -43,8 +44,6 @@ public class AccessToken : IAdditionalDataHolder, IParsable #else public string AtHash { get; set; } #endif - /// The auth_time property - public long? Auth_time { get; set; } /// The authorization property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -53,9 +52,8 @@ public class AccessToken : IAdditionalDataHolder, IParsable #else public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Authorization Authorization { get; set; } #endif - /// The authTime property - [Obsolete("")] - public int? AuthTime { get; set; } + /// The auth_time property + public long? AuthTime { get; set; } /// The azp property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -91,10 +89,10 @@ public class AccessToken : IAdditionalDataHolder, IParsable /// The cnf property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public Confirmation? Cnf { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Confirmation? Cnf { get; set; } #nullable restore #else - public Confirmation Cnf { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Confirmation Cnf { get; set; } #endif /// The email property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -195,10 +193,10 @@ public class AccessToken : IAdditionalDataHolder, IParsable /// The otherClaims property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public AccessToken_otherClaims? OtherClaims { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AccessToken_otherClaims? OtherClaims { get; set; } #nullable restore #else - public AccessToken_otherClaims OtherClaims { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AccessToken_otherClaims OtherClaims { get; set; } #endif /// The phone_number property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -237,18 +235,18 @@ public class AccessToken : IAdditionalDataHolder, IParsable /// The realm_access property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public Access? RealmAccess { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Access? RealmAccess { get; set; } #nullable restore #else - public Access RealmAccess { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Access RealmAccess { get; set; } #endif /// The resource_access property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public AccessToken_resource_access? ResourceAccess { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AccessToken_resource_access? ResourceAccess { get; set; } #nullable restore #else - public AccessToken_resource_access ResourceAccess { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AccessToken_resource_access ResourceAccess { get; set; } #endif /// The scope property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -257,14 +255,6 @@ public class AccessToken : IAdditionalDataHolder, IParsable #nullable restore #else public string Scope { get; set; } -#endif - /// The session_state property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SessionState { get; set; } -#nullable restore -#else - public string SessionState { get; set; } #endif /// The s_hash property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -325,7 +315,7 @@ public class AccessToken : IAdditionalDataHolder, IParsable public string Zoneinfo { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public AccessToken() { @@ -334,12 +324,12 @@ public AccessToken() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static AccessToken CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AccessToken CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new AccessToken(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AccessToken(); } /// /// The deserialization information for the current model @@ -349,51 +339,49 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"acr", n => { Acr = n.GetStringValue(); } }, - {"address", n => { Address = n.GetObjectValue(AddressClaimSet.CreateFromDiscriminatorValue); } }, - {"allowed-origins", n => { AllowedOrigins = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"at_hash", n => { AtHash = n.GetStringValue(); } }, - {"authTime", n => { AuthTime = n.GetIntValue(); } }, - {"authorization", n => { Authorization = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Authorization.CreateFromDiscriminatorValue); } }, - {"azp", n => { Azp = n.GetStringValue(); } }, - {"birthdate", n => { Birthdate = n.GetStringValue(); } }, - {"c_hash", n => { CHash = n.GetStringValue(); } }, - {"claims_locales", n => { ClaimsLocales = n.GetStringValue(); } }, - {"cnf", n => { Cnf = n.GetObjectValue(Confirmation.CreateFromDiscriminatorValue); } }, - {"email", n => { Email = n.GetStringValue(); } }, - {"email_verified", n => { EmailVerified = n.GetBoolValue(); } }, - {"exp", n => { Exp = n.GetLongValue(); } }, - {"family_name", n => { FamilyName = n.GetStringValue(); } }, - {"gender", n => { Gender = n.GetStringValue(); } }, - {"given_name", n => { GivenName = n.GetStringValue(); } }, - {"iat", n => { Iat = n.GetLongValue(); } }, - {"iss", n => { Iss = n.GetStringValue(); } }, - {"jti", n => { Jti = n.GetStringValue(); } }, - {"locale", n => { Locale = n.GetStringValue(); } }, - {"middle_name", n => { MiddleName = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"nbf", n => { Nbf = n.GetLongValue(); } }, - {"nickname", n => { Nickname = n.GetStringValue(); } }, - {"nonce", n => { Nonce = n.GetStringValue(); } }, - {"otherClaims", n => { OtherClaims = n.GetObjectValue(AccessToken_otherClaims.CreateFromDiscriminatorValue); } }, - {"phone_number", n => { PhoneNumber = n.GetStringValue(); } }, - {"phone_number_verified", n => { PhoneNumberVerified = n.GetBoolValue(); } }, - {"picture", n => { Picture = n.GetStringValue(); } }, - {"preferred_username", n => { PreferredUsername = n.GetStringValue(); } }, - {"profile", n => { Profile = n.GetStringValue(); } }, - {"realm_access", n => { RealmAccess = n.GetObjectValue(Access.CreateFromDiscriminatorValue); } }, - {"resource_access", n => { ResourceAccess = n.GetObjectValue(AccessToken_resource_access.CreateFromDiscriminatorValue); } }, - {"s_hash", n => { SHash = n.GetStringValue(); } }, - {"scope", n => { Scope = n.GetStringValue(); } }, - {"session_state", n => { SessionState = n.GetStringValue(); } }, - {"sid", n => { Sid = n.GetStringValue(); } }, - {"sub", n => { Sub = n.GetStringValue(); } }, - {"trusted-certs", n => { TrustedCerts = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"typ", n => { Typ = n.GetStringValue(); } }, - {"updated_at", n => { UpdatedAt = n.GetLongValue(); } }, - {"website", n => { Website = n.GetStringValue(); } }, - {"zoneinfo", n => { Zoneinfo = n.GetStringValue(); } }, - {"auth_time", n => { Auth_time = n.GetLongValue(); } }, + { "acr", n => { Acr = n.GetStringValue(); } }, + { "address", n => { Address = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AddressClaimSet.CreateFromDiscriminatorValue); } }, + { "allowed-origins", n => { AllowedOrigins = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "at_hash", n => { AtHash = n.GetStringValue(); } }, + { "auth_time", n => { AuthTime = n.GetLongValue(); } }, + { "authorization", n => { Authorization = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Authorization.CreateFromDiscriminatorValue); } }, + { "azp", n => { Azp = n.GetStringValue(); } }, + { "birthdate", n => { Birthdate = n.GetStringValue(); } }, + { "c_hash", n => { CHash = n.GetStringValue(); } }, + { "claims_locales", n => { ClaimsLocales = n.GetStringValue(); } }, + { "cnf", n => { Cnf = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Confirmation.CreateFromDiscriminatorValue); } }, + { "email", n => { Email = n.GetStringValue(); } }, + { "email_verified", n => { EmailVerified = n.GetBoolValue(); } }, + { "exp", n => { Exp = n.GetLongValue(); } }, + { "family_name", n => { FamilyName = n.GetStringValue(); } }, + { "gender", n => { Gender = n.GetStringValue(); } }, + { "given_name", n => { GivenName = n.GetStringValue(); } }, + { "iat", n => { Iat = n.GetLongValue(); } }, + { "iss", n => { Iss = n.GetStringValue(); } }, + { "jti", n => { Jti = n.GetStringValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "middle_name", n => { MiddleName = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "nbf", n => { Nbf = n.GetLongValue(); } }, + { "nickname", n => { Nickname = n.GetStringValue(); } }, + { "nonce", n => { Nonce = n.GetStringValue(); } }, + { "otherClaims", n => { OtherClaims = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AccessToken_otherClaims.CreateFromDiscriminatorValue); } }, + { "phone_number", n => { PhoneNumber = n.GetStringValue(); } }, + { "phone_number_verified", n => { PhoneNumberVerified = n.GetBoolValue(); } }, + { "picture", n => { Picture = n.GetStringValue(); } }, + { "preferred_username", n => { PreferredUsername = n.GetStringValue(); } }, + { "profile", n => { Profile = n.GetStringValue(); } }, + { "realm_access", n => { RealmAccess = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Access.CreateFromDiscriminatorValue); } }, + { "resource_access", n => { ResourceAccess = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AccessToken_resource_access.CreateFromDiscriminatorValue); } }, + { "s_hash", n => { SHash = n.GetStringValue(); } }, + { "scope", n => { Scope = n.GetStringValue(); } }, + { "sid", n => { Sid = n.GetStringValue(); } }, + { "sub", n => { Sub = n.GetStringValue(); } }, + { "trusted-certs", n => { TrustedCerts = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "typ", n => { Typ = n.GetStringValue(); } }, + { "updated_at", n => { UpdatedAt = n.GetLongValue(); } }, + { "website", n => { Website = n.GetStringValue(); } }, + { "zoneinfo", n => { Zoneinfo = n.GetStringValue(); } }, }; } /// @@ -404,17 +392,16 @@ public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("acr", Acr); - writer.WriteObjectValue("address", Address); + writer.WriteObjectValue("address", Address); writer.WriteCollectionOfPrimitiveValues("allowed-origins", AllowedOrigins); writer.WriteStringValue("at_hash", AtHash); - writer.WriteLongValue("auth_time", Auth_time); writer.WriteObjectValue("authorization", Authorization); - writer.WriteIntValue("authTime", AuthTime); + writer.WriteLongValue("auth_time", AuthTime); writer.WriteStringValue("azp", Azp); writer.WriteStringValue("birthdate", Birthdate); writer.WriteStringValue("c_hash", CHash); writer.WriteStringValue("claims_locales", ClaimsLocales); - writer.WriteObjectValue("cnf", Cnf); + writer.WriteObjectValue("cnf", Cnf); writer.WriteStringValue("email", Email); writer.WriteBoolValue("email_verified", EmailVerified); writer.WriteLongValue("exp", Exp); @@ -430,16 +417,15 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteLongValue("nbf", Nbf); writer.WriteStringValue("nickname", Nickname); writer.WriteStringValue("nonce", Nonce); - writer.WriteObjectValue("otherClaims", OtherClaims); + writer.WriteObjectValue("otherClaims", OtherClaims); writer.WriteStringValue("phone_number", PhoneNumber); writer.WriteBoolValue("phone_number_verified", PhoneNumberVerified); writer.WriteStringValue("picture", Picture); writer.WriteStringValue("preferred_username", PreferredUsername); writer.WriteStringValue("profile", Profile); - writer.WriteObjectValue("realm_access", RealmAccess); - writer.WriteObjectValue("resource_access", ResourceAccess); + writer.WriteObjectValue("realm_access", RealmAccess); + writer.WriteObjectValue("resource_access", ResourceAccess); writer.WriteStringValue("scope", Scope); - writer.WriteStringValue("session_state", SessionState); writer.WriteStringValue("s_hash", SHash); writer.WriteStringValue("sid", Sid); writer.WriteStringValue("sub", Sub); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AccessToken_otherClaims.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AccessToken_otherClaims.cs index 35a399e6..527a6095 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AccessToken_otherClaims.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AccessToken_otherClaims.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class AccessToken_otherClaims : IAdditionalDataHolder, IParsable + public class AccessToken_otherClaims : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public AccessToken_otherClaims() { @@ -21,12 +22,12 @@ public AccessToken_otherClaims() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static AccessToken_otherClaims CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AccessToken_otherClaims CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new AccessToken_otherClaims(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AccessToken_otherClaims(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AccessToken_resource_access.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AccessToken_resource_access.cs index 6fab3937..b769d767 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AccessToken_resource_access.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AccessToken_resource_access.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class AccessToken_resource_access : IAdditionalDataHolder, IParsable + public class AccessToken_resource_access : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public AccessToken_resource_access() { @@ -21,12 +22,12 @@ public AccessToken_resource_access() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static AccessToken_resource_access CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AccessToken_resource_access CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new AccessToken_resource_access(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AccessToken_resource_access(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AddressClaimSet.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AddressClaimSet.cs index 650053d8..2282eba2 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AddressClaimSet.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AddressClaimSet.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class AddressClaimSet : IAdditionalDataHolder, IParsable + public class AddressClaimSet : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -60,7 +61,7 @@ public class AddressClaimSet : IAdditionalDataHolder, IParsable public string StreetAddress { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public AddressClaimSet() { @@ -69,12 +70,12 @@ public AddressClaimSet() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static AddressClaimSet CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AddressClaimSet CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new AddressClaimSet(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AddressClaimSet(); } /// /// The deserialization information for the current model @@ -84,12 +85,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"country", n => { Country = n.GetStringValue(); } }, - {"formatted", n => { Formatted = n.GetStringValue(); } }, - {"locality", n => { Locality = n.GetStringValue(); } }, - {"postal_code", n => { PostalCode = n.GetStringValue(); } }, - {"region", n => { Region = n.GetStringValue(); } }, - {"street_address", n => { StreetAddress = n.GetStringValue(); } }, + { "country", n => { Country = n.GetStringValue(); } }, + { "formatted", n => { Formatted = n.GetStringValue(); } }, + { "locality", n => { Locality = n.GetStringValue(); } }, + { "postal_code", n => { PostalCode = n.GetStringValue(); } }, + { "region", n => { Region = n.GetStringValue(); } }, + { "street_address", n => { StreetAddress = n.GetStringValue(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AdminEventRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AdminEventRepresentation.cs index acfcc0a5..2c654de5 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AdminEventRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AdminEventRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class AdminEventRepresentation : IAdditionalDataHolder, IParsable + public class AdminEventRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -14,10 +15,10 @@ public class AdminEventRepresentation : IAdditionalDataHolder, IParsable /// The authDetails property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public AuthDetailsRepresentation? AuthDetails { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthDetailsRepresentation? AuthDetails { get; set; } #nullable restore #else - public AuthDetailsRepresentation AuthDetails { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthDetailsRepresentation AuthDetails { get; set; } #endif /// The error property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -70,7 +71,7 @@ public class AdminEventRepresentation : IAdditionalDataHolder, IParsable /// The time property public long? Time { get; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public AdminEventRepresentation() { @@ -79,12 +80,12 @@ public AdminEventRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static AdminEventRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AdminEventRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new AdminEventRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AdminEventRepresentation(); } /// /// The deserialization information for the current model @@ -94,14 +95,14 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"authDetails", n => { AuthDetails = n.GetObjectValue(AuthDetailsRepresentation.CreateFromDiscriminatorValue); } }, - {"error", n => { Error = n.GetStringValue(); } }, - {"operationType", n => { OperationType = n.GetStringValue(); } }, - {"realmId", n => { RealmId = n.GetStringValue(); } }, - {"representation", n => { Representation = n.GetStringValue(); } }, - {"resourcePath", n => { ResourcePath = n.GetStringValue(); } }, - {"resourceType", n => { ResourceType = n.GetStringValue(); } }, - {"time", n => { Time = n.GetLongValue(); } }, + { "authDetails", n => { AuthDetails = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthDetailsRepresentation.CreateFromDiscriminatorValue); } }, + { "error", n => { Error = n.GetStringValue(); } }, + { "operationType", n => { OperationType = n.GetStringValue(); } }, + { "realmId", n => { RealmId = n.GetStringValue(); } }, + { "representation", n => { Representation = n.GetStringValue(); } }, + { "resourcePath", n => { ResourcePath = n.GetStringValue(); } }, + { "resourceType", n => { ResourceType = n.GetStringValue(); } }, + { "time", n => { Time = n.GetLongValue(); } }, }; } /// @@ -111,7 +112,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("authDetails", AuthDetails); + writer.WriteObjectValue("authDetails", AuthDetails); writer.WriteStringValue("error", Error); writer.WriteStringValue("operationType", OperationType); writer.WriteStringValue("realmId", RealmId); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation.cs index 8ab1e618..e3faf89b 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation.cs @@ -4,19 +4,20 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ [Obsolete("")] #pragma warning disable CS1591 - public class ApplicationRepresentation : IAdditionalDataHolder, IParsable + public class ApplicationRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// The access property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public ApplicationRepresentation_access? Access { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_access? Access { get; set; } #nullable restore #else - public ApplicationRepresentation_access Access { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_access Access { get; set; } #endif /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -33,28 +34,28 @@ public class ApplicationRepresentation : IAdditionalDataHolder, IParsable /// The attributes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public ApplicationRepresentation_attributes? Attributes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_attributes? Attributes { get; set; } #nullable restore #else - public ApplicationRepresentation_attributes Attributes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_attributes Attributes { get; set; } #endif /// The authenticationFlowBindingOverrides property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public ApplicationRepresentation_authenticationFlowBindingOverrides? AuthenticationFlowBindingOverrides { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_authenticationFlowBindingOverrides? AuthenticationFlowBindingOverrides { get; set; } #nullable restore #else - public ApplicationRepresentation_authenticationFlowBindingOverrides AuthenticationFlowBindingOverrides { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_authenticationFlowBindingOverrides AuthenticationFlowBindingOverrides { get; set; } #endif /// The authorizationServicesEnabled property public bool? AuthorizationServicesEnabled { get; set; } /// The authorizationSettings property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public ResourceServerRepresentation? AuthorizationSettings { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceServerRepresentation? AuthorizationSettings { get; set; } #nullable restore #else - public ResourceServerRepresentation AuthorizationSettings { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceServerRepresentation AuthorizationSettings { get; set; } #endif /// The baseUrl property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -70,10 +71,10 @@ public class ApplicationRepresentation : IAdditionalDataHolder, IParsable [Obsolete("")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public ApplicationRepresentation_claims? Claims { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_claims? Claims { get; set; } #nullable restore #else - public ApplicationRepresentation_claims Claims { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_claims Claims { get; set; } #endif /// The clientAuthenticatorType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -187,10 +188,10 @@ public class ApplicationRepresentation : IAdditionalDataHolder, IParsable /// The protocolMappers property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? ProtocolMappers { get; set; } + public List? ProtocolMappers { get; set; } #nullable restore #else - public List ProtocolMappers { get; set; } + public List ProtocolMappers { get; set; } #endif /// The publicClient property public bool? PublicClient { get; set; } @@ -205,10 +206,10 @@ public class ApplicationRepresentation : IAdditionalDataHolder, IParsable /// The registeredNodes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public ApplicationRepresentation_registeredNodes? RegisteredNodes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_registeredNodes? RegisteredNodes { get; set; } #nullable restore #else - public ApplicationRepresentation_registeredNodes RegisteredNodes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_registeredNodes RegisteredNodes { get; set; } #endif /// The registrationAccessToken property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -240,6 +241,14 @@ public class ApplicationRepresentation : IAdditionalDataHolder, IParsable public bool? StandardFlowEnabled { get; set; } /// The surrogateAuthRequired property public bool? SurrogateAuthRequired { get; set; } + /// The type property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Type { get; set; } +#nullable restore +#else + public string Type { get; set; } +#endif /// The useTemplateConfig property [Obsolete("")] public bool? UseTemplateConfig { get; set; } @@ -258,7 +267,7 @@ public class ApplicationRepresentation : IAdditionalDataHolder, IParsable public List WebOrigins { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ApplicationRepresentation() { @@ -267,12 +276,12 @@ public ApplicationRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ApplicationRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ApplicationRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation(); } /// /// The deserialization information for the current model @@ -282,50 +291,51 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"access", n => { Access = n.GetObjectValue(ApplicationRepresentation_access.CreateFromDiscriminatorValue); } }, - {"adminUrl", n => { AdminUrl = n.GetStringValue(); } }, - {"alwaysDisplayInConsole", n => { AlwaysDisplayInConsole = n.GetBoolValue(); } }, - {"attributes", n => { Attributes = n.GetObjectValue(ApplicationRepresentation_attributes.CreateFromDiscriminatorValue); } }, - {"authenticationFlowBindingOverrides", n => { AuthenticationFlowBindingOverrides = n.GetObjectValue(ApplicationRepresentation_authenticationFlowBindingOverrides.CreateFromDiscriminatorValue); } }, - {"authorizationServicesEnabled", n => { AuthorizationServicesEnabled = n.GetBoolValue(); } }, - {"authorizationSettings", n => { AuthorizationSettings = n.GetObjectValue(ResourceServerRepresentation.CreateFromDiscriminatorValue); } }, - {"baseUrl", n => { BaseUrl = n.GetStringValue(); } }, - {"bearerOnly", n => { BearerOnly = n.GetBoolValue(); } }, - {"claims", n => { Claims = n.GetObjectValue(ApplicationRepresentation_claims.CreateFromDiscriminatorValue); } }, - {"clientAuthenticatorType", n => { ClientAuthenticatorType = n.GetStringValue(); } }, - {"clientId", n => { ClientId = n.GetStringValue(); } }, - {"clientTemplate", n => { ClientTemplate = n.GetStringValue(); } }, - {"consentRequired", n => { ConsentRequired = n.GetBoolValue(); } }, - {"defaultClientScopes", n => { DefaultClientScopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"defaultRoles", n => { DefaultRoles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"directAccessGrantsEnabled", n => { DirectAccessGrantsEnabled = n.GetBoolValue(); } }, - {"directGrantsOnly", n => { DirectGrantsOnly = n.GetBoolValue(); } }, - {"enabled", n => { Enabled = n.GetBoolValue(); } }, - {"frontchannelLogout", n => { FrontchannelLogout = n.GetBoolValue(); } }, - {"fullScopeAllowed", n => { FullScopeAllowed = n.GetBoolValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"implicitFlowEnabled", n => { ImplicitFlowEnabled = n.GetBoolValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"nodeReRegistrationTimeout", n => { NodeReRegistrationTimeout = n.GetIntValue(); } }, - {"notBefore", n => { NotBefore = n.GetIntValue(); } }, - {"optionalClientScopes", n => { OptionalClientScopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"origin", n => { Origin = n.GetStringValue(); } }, - {"protocol", n => { Protocol = n.GetStringValue(); } }, - {"protocolMappers", n => { ProtocolMappers = n.GetCollectionOfObjectValues(ProtocolMapperRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"publicClient", n => { PublicClient = n.GetBoolValue(); } }, - {"redirectUris", n => { RedirectUris = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"registeredNodes", n => { RegisteredNodes = n.GetObjectValue(ApplicationRepresentation_registeredNodes.CreateFromDiscriminatorValue); } }, - {"registrationAccessToken", n => { RegistrationAccessToken = n.GetStringValue(); } }, - {"rootUrl", n => { RootUrl = n.GetStringValue(); } }, - {"secret", n => { Secret = n.GetStringValue(); } }, - {"serviceAccountsEnabled", n => { ServiceAccountsEnabled = n.GetBoolValue(); } }, - {"standardFlowEnabled", n => { StandardFlowEnabled = n.GetBoolValue(); } }, - {"surrogateAuthRequired", n => { SurrogateAuthRequired = n.GetBoolValue(); } }, - {"useTemplateConfig", n => { UseTemplateConfig = n.GetBoolValue(); } }, - {"useTemplateMappers", n => { UseTemplateMappers = n.GetBoolValue(); } }, - {"useTemplateScope", n => { UseTemplateScope = n.GetBoolValue(); } }, - {"webOrigins", n => { WebOrigins = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "access", n => { Access = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_access.CreateFromDiscriminatorValue); } }, + { "adminUrl", n => { AdminUrl = n.GetStringValue(); } }, + { "alwaysDisplayInConsole", n => { AlwaysDisplayInConsole = n.GetBoolValue(); } }, + { "attributes", n => { Attributes = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_attributes.CreateFromDiscriminatorValue); } }, + { "authenticationFlowBindingOverrides", n => { AuthenticationFlowBindingOverrides = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_authenticationFlowBindingOverrides.CreateFromDiscriminatorValue); } }, + { "authorizationServicesEnabled", n => { AuthorizationServicesEnabled = n.GetBoolValue(); } }, + { "authorizationSettings", n => { AuthorizationSettings = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceServerRepresentation.CreateFromDiscriminatorValue); } }, + { "baseUrl", n => { BaseUrl = n.GetStringValue(); } }, + { "bearerOnly", n => { BearerOnly = n.GetBoolValue(); } }, + { "claims", n => { Claims = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_claims.CreateFromDiscriminatorValue); } }, + { "clientAuthenticatorType", n => { ClientAuthenticatorType = n.GetStringValue(); } }, + { "clientId", n => { ClientId = n.GetStringValue(); } }, + { "clientTemplate", n => { ClientTemplate = n.GetStringValue(); } }, + { "consentRequired", n => { ConsentRequired = n.GetBoolValue(); } }, + { "defaultClientScopes", n => { DefaultClientScopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "defaultRoles", n => { DefaultRoles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "directAccessGrantsEnabled", n => { DirectAccessGrantsEnabled = n.GetBoolValue(); } }, + { "directGrantsOnly", n => { DirectGrantsOnly = n.GetBoolValue(); } }, + { "enabled", n => { Enabled = n.GetBoolValue(); } }, + { "frontchannelLogout", n => { FrontchannelLogout = n.GetBoolValue(); } }, + { "fullScopeAllowed", n => { FullScopeAllowed = n.GetBoolValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "implicitFlowEnabled", n => { ImplicitFlowEnabled = n.GetBoolValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "nodeReRegistrationTimeout", n => { NodeReRegistrationTimeout = n.GetIntValue(); } }, + { "notBefore", n => { NotBefore = n.GetIntValue(); } }, + { "optionalClientScopes", n => { OptionalClientScopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "origin", n => { Origin = n.GetStringValue(); } }, + { "protocol", n => { Protocol = n.GetStringValue(); } }, + { "protocolMappers", n => { ProtocolMappers = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "publicClient", n => { PublicClient = n.GetBoolValue(); } }, + { "redirectUris", n => { RedirectUris = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "registeredNodes", n => { RegisteredNodes = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_registeredNodes.CreateFromDiscriminatorValue); } }, + { "registrationAccessToken", n => { RegistrationAccessToken = n.GetStringValue(); } }, + { "rootUrl", n => { RootUrl = n.GetStringValue(); } }, + { "secret", n => { Secret = n.GetStringValue(); } }, + { "serviceAccountsEnabled", n => { ServiceAccountsEnabled = n.GetBoolValue(); } }, + { "standardFlowEnabled", n => { StandardFlowEnabled = n.GetBoolValue(); } }, + { "surrogateAuthRequired", n => { SurrogateAuthRequired = n.GetBoolValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, + { "useTemplateConfig", n => { UseTemplateConfig = n.GetBoolValue(); } }, + { "useTemplateMappers", n => { UseTemplateMappers = n.GetBoolValue(); } }, + { "useTemplateScope", n => { UseTemplateScope = n.GetBoolValue(); } }, + { "webOrigins", n => { WebOrigins = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// @@ -335,16 +345,16 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("access", Access); + writer.WriteObjectValue("access", Access); writer.WriteStringValue("adminUrl", AdminUrl); writer.WriteBoolValue("alwaysDisplayInConsole", AlwaysDisplayInConsole); - writer.WriteObjectValue("attributes", Attributes); - writer.WriteObjectValue("authenticationFlowBindingOverrides", AuthenticationFlowBindingOverrides); + writer.WriteObjectValue("attributes", Attributes); + writer.WriteObjectValue("authenticationFlowBindingOverrides", AuthenticationFlowBindingOverrides); writer.WriteBoolValue("authorizationServicesEnabled", AuthorizationServicesEnabled); - writer.WriteObjectValue("authorizationSettings", AuthorizationSettings); + writer.WriteObjectValue("authorizationSettings", AuthorizationSettings); writer.WriteStringValue("baseUrl", BaseUrl); writer.WriteBoolValue("bearerOnly", BearerOnly); - writer.WriteObjectValue("claims", Claims); + writer.WriteObjectValue("claims", Claims); writer.WriteStringValue("clientAuthenticatorType", ClientAuthenticatorType); writer.WriteStringValue("clientId", ClientId); writer.WriteStringValue("clientTemplate", ClientTemplate); @@ -365,16 +375,17 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteCollectionOfPrimitiveValues("optionalClientScopes", OptionalClientScopes); writer.WriteStringValue("origin", Origin); writer.WriteStringValue("protocol", Protocol); - writer.WriteCollectionOfObjectValues("protocolMappers", ProtocolMappers); + writer.WriteCollectionOfObjectValues("protocolMappers", ProtocolMappers); writer.WriteBoolValue("publicClient", PublicClient); writer.WriteCollectionOfPrimitiveValues("redirectUris", RedirectUris); - writer.WriteObjectValue("registeredNodes", RegisteredNodes); + writer.WriteObjectValue("registeredNodes", RegisteredNodes); writer.WriteStringValue("registrationAccessToken", RegistrationAccessToken); writer.WriteStringValue("rootUrl", RootUrl); writer.WriteStringValue("secret", Secret); writer.WriteBoolValue("serviceAccountsEnabled", ServiceAccountsEnabled); writer.WriteBoolValue("standardFlowEnabled", StandardFlowEnabled); writer.WriteBoolValue("surrogateAuthRequired", SurrogateAuthRequired); + writer.WriteStringValue("type", Type); writer.WriteBoolValue("useTemplateConfig", UseTemplateConfig); writer.WriteBoolValue("useTemplateMappers", UseTemplateMappers); writer.WriteBoolValue("useTemplateScope", UseTemplateScope); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation_access.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation_access.cs index 536f8749..397f036e 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation_access.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation_access.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ApplicationRepresentation_access : IAdditionalDataHolder, IParsable + public class ApplicationRepresentation_access : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ApplicationRepresentation_access() { @@ -21,12 +22,12 @@ public ApplicationRepresentation_access() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ApplicationRepresentation_access CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_access CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ApplicationRepresentation_access(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_access(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation_attributes.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation_attributes.cs index 4a698dbf..a3db53c9 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation_attributes.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation_attributes.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ApplicationRepresentation_attributes : IAdditionalDataHolder, IParsable + public class ApplicationRepresentation_attributes : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ApplicationRepresentation_attributes() { @@ -21,12 +22,12 @@ public ApplicationRepresentation_attributes() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ApplicationRepresentation_attributes CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_attributes CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ApplicationRepresentation_attributes(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_attributes(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation_authenticationFlowBindingOverrides.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation_authenticationFlowBindingOverrides.cs index 3ca16739..046fc96e 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation_authenticationFlowBindingOverrides.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation_authenticationFlowBindingOverrides.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ApplicationRepresentation_authenticationFlowBindingOverrides : IAdditionalDataHolder, IParsable + public class ApplicationRepresentation_authenticationFlowBindingOverrides : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ApplicationRepresentation_authenticationFlowBindingOverrides() { @@ -21,12 +22,12 @@ public ApplicationRepresentation_authenticationFlowBindingOverrides() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ApplicationRepresentation_authenticationFlowBindingOverrides CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_authenticationFlowBindingOverrides CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ApplicationRepresentation_authenticationFlowBindingOverrides(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_authenticationFlowBindingOverrides(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation_claims.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation_claims.cs index 22f5093b..dd272e16 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation_claims.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation_claims.cs @@ -4,21 +4,22 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ [Obsolete("")] #pragma warning disable CS1591 - public class ApplicationRepresentation_claims : ClaimRepresentation, IParsable + public class ApplicationRepresentation_claims : Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClaimRepresentation, IParsable #pragma warning restore CS1591 { /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static new ApplicationRepresentation_claims CreateFromDiscriminatorValue(IParseNode parseNode) + public static new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_claims CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ApplicationRepresentation_claims(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_claims(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation_registeredNodes.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation_registeredNodes.cs index b0593fd0..398b75fb 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation_registeredNodes.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ApplicationRepresentation_registeredNodes.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ApplicationRepresentation_registeredNodes : IAdditionalDataHolder, IParsable + public class ApplicationRepresentation_registeredNodes : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ApplicationRepresentation_registeredNodes() { @@ -21,12 +22,12 @@ public ApplicationRepresentation_registeredNodes() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ApplicationRepresentation_registeredNodes CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_registeredNodes CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ApplicationRepresentation_registeredNodes(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation_registeredNodes(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthDetailsRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthDetailsRepresentation.cs index f14e51ae..1c3ecfa1 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthDetailsRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthDetailsRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class AuthDetailsRepresentation : IAdditionalDataHolder, IParsable + public class AuthDetailsRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -44,7 +45,7 @@ public class AuthDetailsRepresentation : IAdditionalDataHolder, IParsable public string UserId { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public AuthDetailsRepresentation() { @@ -53,12 +54,12 @@ public AuthDetailsRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static AuthDetailsRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthDetailsRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new AuthDetailsRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthDetailsRepresentation(); } /// /// The deserialization information for the current model @@ -68,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"clientId", n => { ClientId = n.GetStringValue(); } }, - {"ipAddress", n => { IpAddress = n.GetStringValue(); } }, - {"realmId", n => { RealmId = n.GetStringValue(); } }, - {"userId", n => { UserId = n.GetStringValue(); } }, + { "clientId", n => { ClientId = n.GetStringValue(); } }, + { "ipAddress", n => { IpAddress = n.GetStringValue(); } }, + { "realmId", n => { RealmId = n.GetStringValue(); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticationExecutionExportRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticationExecutionExportRepresentation.cs index 134c6573..d270ae04 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticationExecutionExportRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticationExecutionExportRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class AuthenticationExecutionExportRepresentation : IAdditionalDataHolder, IParsable + public class AuthenticationExecutionExportRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -53,7 +54,7 @@ public class AuthenticationExecutionExportRepresentation : IAdditionalDataHolder /// The userSetupAllowed property public bool? UserSetupAllowed { get; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public AuthenticationExecutionExportRepresentation() { @@ -62,12 +63,12 @@ public AuthenticationExecutionExportRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static AuthenticationExecutionExportRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationExecutionExportRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new AuthenticationExecutionExportRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationExecutionExportRepresentation(); } /// /// The deserialization information for the current model @@ -77,14 +78,14 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"authenticator", n => { Authenticator = n.GetStringValue(); } }, - {"authenticatorConfig", n => { AuthenticatorConfig = n.GetStringValue(); } }, - {"authenticatorFlow", n => { AuthenticatorFlow = n.GetBoolValue(); } }, - {"autheticatorFlow", n => { AutheticatorFlow = n.GetBoolValue(); } }, - {"flowAlias", n => { FlowAlias = n.GetStringValue(); } }, - {"priority", n => { Priority = n.GetIntValue(); } }, - {"requirement", n => { Requirement = n.GetStringValue(); } }, - {"userSetupAllowed", n => { UserSetupAllowed = n.GetBoolValue(); } }, + { "authenticator", n => { Authenticator = n.GetStringValue(); } }, + { "authenticatorConfig", n => { AuthenticatorConfig = n.GetStringValue(); } }, + { "authenticatorFlow", n => { AuthenticatorFlow = n.GetBoolValue(); } }, + { "autheticatorFlow", n => { AutheticatorFlow = n.GetBoolValue(); } }, + { "flowAlias", n => { FlowAlias = n.GetStringValue(); } }, + { "priority", n => { Priority = n.GetIntValue(); } }, + { "requirement", n => { Requirement = n.GetStringValue(); } }, + { "userSetupAllowed", n => { UserSetupAllowed = n.GetBoolValue(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticationExecutionInfoRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticationExecutionInfoRepresentation.cs index a81387f6..9b79ce52 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticationExecutionInfoRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticationExecutionInfoRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class AuthenticationExecutionInfoRepresentation : IAdditionalDataHolder, IParsable + public class AuthenticationExecutionInfoRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -67,6 +68,8 @@ public class AuthenticationExecutionInfoRepresentation : IAdditionalDataHolder, public int? Index { get; set; } /// The level property public int? Level { get; set; } + /// The priority property + public int? Priority { get; set; } /// The providerId property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -92,7 +95,7 @@ public class AuthenticationExecutionInfoRepresentation : IAdditionalDataHolder, public List RequirementChoices { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public AuthenticationExecutionInfoRepresentation() { @@ -101,12 +104,12 @@ public AuthenticationExecutionInfoRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static AuthenticationExecutionInfoRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationExecutionInfoRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new AuthenticationExecutionInfoRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationExecutionInfoRepresentation(); } /// /// The deserialization information for the current model @@ -116,19 +119,20 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"alias", n => { Alias = n.GetStringValue(); } }, - {"authenticationConfig", n => { AuthenticationConfig = n.GetStringValue(); } }, - {"authenticationFlow", n => { AuthenticationFlow = n.GetBoolValue(); } }, - {"configurable", n => { Configurable = n.GetBoolValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"flowId", n => { FlowId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"index", n => { Index = n.GetIntValue(); } }, - {"level", n => { Level = n.GetIntValue(); } }, - {"providerId", n => { ProviderId = n.GetStringValue(); } }, - {"requirement", n => { Requirement = n.GetStringValue(); } }, - {"requirementChoices", n => { RequirementChoices = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "alias", n => { Alias = n.GetStringValue(); } }, + { "authenticationConfig", n => { AuthenticationConfig = n.GetStringValue(); } }, + { "authenticationFlow", n => { AuthenticationFlow = n.GetBoolValue(); } }, + { "configurable", n => { Configurable = n.GetBoolValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "flowId", n => { FlowId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "index", n => { Index = n.GetIntValue(); } }, + { "level", n => { Level = n.GetIntValue(); } }, + { "priority", n => { Priority = n.GetIntValue(); } }, + { "providerId", n => { ProviderId = n.GetStringValue(); } }, + { "requirement", n => { Requirement = n.GetStringValue(); } }, + { "requirementChoices", n => { RequirementChoices = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// @@ -148,6 +152,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteStringValue("id", Id); writer.WriteIntValue("index", Index); writer.WriteIntValue("level", Level); + writer.WriteIntValue("priority", Priority); writer.WriteStringValue("providerId", ProviderId); writer.WriteStringValue("requirement", Requirement); writer.WriteCollectionOfPrimitiveValues("requirementChoices", RequirementChoices); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticationExecutionRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticationExecutionRepresentation.cs index dbceeed4..31c94419 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticationExecutionRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticationExecutionRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class AuthenticationExecutionRepresentation : IAdditionalDataHolder, IParsable + public class AuthenticationExecutionRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -67,7 +68,7 @@ public class AuthenticationExecutionRepresentation : IAdditionalDataHolder, IPar public string Requirement { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public AuthenticationExecutionRepresentation() { @@ -76,12 +77,12 @@ public AuthenticationExecutionRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static AuthenticationExecutionRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationExecutionRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new AuthenticationExecutionRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationExecutionRepresentation(); } /// /// The deserialization information for the current model @@ -91,15 +92,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"authenticator", n => { Authenticator = n.GetStringValue(); } }, - {"authenticatorConfig", n => { AuthenticatorConfig = n.GetStringValue(); } }, - {"authenticatorFlow", n => { AuthenticatorFlow = n.GetBoolValue(); } }, - {"autheticatorFlow", n => { AutheticatorFlow = n.GetBoolValue(); } }, - {"flowId", n => { FlowId = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"parentFlow", n => { ParentFlow = n.GetStringValue(); } }, - {"priority", n => { Priority = n.GetIntValue(); } }, - {"requirement", n => { Requirement = n.GetStringValue(); } }, + { "authenticator", n => { Authenticator = n.GetStringValue(); } }, + { "authenticatorConfig", n => { AuthenticatorConfig = n.GetStringValue(); } }, + { "authenticatorFlow", n => { AuthenticatorFlow = n.GetBoolValue(); } }, + { "autheticatorFlow", n => { AutheticatorFlow = n.GetBoolValue(); } }, + { "flowId", n => { FlowId = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "parentFlow", n => { ParentFlow = n.GetStringValue(); } }, + { "priority", n => { Priority = n.GetIntValue(); } }, + { "requirement", n => { Requirement = n.GetStringValue(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticationFlowRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticationFlowRepresentation.cs index 671610b6..4a397ec6 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticationFlowRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticationFlowRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class AuthenticationFlowRepresentation : IAdditionalDataHolder, IParsable + public class AuthenticationFlowRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -22,10 +23,10 @@ public class AuthenticationFlowRepresentation : IAdditionalDataHolder, IParsable /// The authenticationExecutions property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? AuthenticationExecutions { get; set; } + public List? AuthenticationExecutions { get; set; } #nullable restore #else - public List AuthenticationExecutions { get; set; } + public List AuthenticationExecutions { get; set; } #endif /// The builtIn property public bool? BuiltIn { get; set; } @@ -56,7 +57,7 @@ public class AuthenticationFlowRepresentation : IAdditionalDataHolder, IParsable /// The topLevel property public bool? TopLevel { get; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public AuthenticationFlowRepresentation() { @@ -65,12 +66,12 @@ public AuthenticationFlowRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static AuthenticationFlowRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationFlowRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new AuthenticationFlowRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationFlowRepresentation(); } /// /// The deserialization information for the current model @@ -80,13 +81,13 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"alias", n => { Alias = n.GetStringValue(); } }, - {"authenticationExecutions", n => { AuthenticationExecutions = n.GetCollectionOfObjectValues(AuthenticationExecutionExportRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"builtIn", n => { BuiltIn = n.GetBoolValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"providerId", n => { ProviderId = n.GetStringValue(); } }, - {"topLevel", n => { TopLevel = n.GetBoolValue(); } }, + { "alias", n => { Alias = n.GetStringValue(); } }, + { "authenticationExecutions", n => { AuthenticationExecutions = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationExecutionExportRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "builtIn", n => { BuiltIn = n.GetBoolValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "providerId", n => { ProviderId = n.GetStringValue(); } }, + { "topLevel", n => { TopLevel = n.GetBoolValue(); } }, }; } /// @@ -97,7 +98,7 @@ public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("alias", Alias); - writer.WriteCollectionOfObjectValues("authenticationExecutions", AuthenticationExecutions); + writer.WriteCollectionOfObjectValues("authenticationExecutions", AuthenticationExecutions); writer.WriteBoolValue("builtIn", BuiltIn); writer.WriteStringValue("description", Description); writer.WriteStringValue("id", Id); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticatorConfigInfoRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticatorConfigInfoRepresentation.cs index ac8cb4d6..08905341 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticatorConfigInfoRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticatorConfigInfoRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class AuthenticatorConfigInfoRepresentation : IAdditionalDataHolder, IParsable + public class AuthenticatorConfigInfoRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -30,10 +31,10 @@ public class AuthenticatorConfigInfoRepresentation : IAdditionalDataHolder, IPar /// The properties property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Properties { get; set; } + public List? Properties { get; set; } #nullable restore #else - public List Properties { get; set; } + public List Properties { get; set; } #endif /// The providerId property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -44,7 +45,7 @@ public class AuthenticatorConfigInfoRepresentation : IAdditionalDataHolder, IPar public string ProviderId { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public AuthenticatorConfigInfoRepresentation() { @@ -53,12 +54,12 @@ public AuthenticatorConfigInfoRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static AuthenticatorConfigInfoRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigInfoRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new AuthenticatorConfigInfoRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigInfoRepresentation(); } /// /// The deserialization information for the current model @@ -68,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"helpText", n => { HelpText = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"properties", n => { Properties = n.GetCollectionOfObjectValues(ConfigPropertyRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"providerId", n => { ProviderId = n.GetStringValue(); } }, + { "helpText", n => { HelpText = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "properties", n => { Properties = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ConfigPropertyRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "providerId", n => { ProviderId = n.GetStringValue(); } }, }; } /// @@ -83,7 +84,7 @@ public virtual void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("helpText", HelpText); writer.WriteStringValue("name", Name); - writer.WriteCollectionOfObjectValues("properties", Properties); + writer.WriteCollectionOfObjectValues("properties", Properties); writer.WriteStringValue("providerId", ProviderId); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticatorConfigRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticatorConfigRepresentation.cs index 52021999..569ad989 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticatorConfigRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticatorConfigRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class AuthenticatorConfigRepresentation : IAdditionalDataHolder, IParsable + public class AuthenticatorConfigRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -22,10 +23,10 @@ public class AuthenticatorConfigRepresentation : IAdditionalDataHolder, IParsabl /// The config property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public AuthenticatorConfigRepresentation_config? Config { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigRepresentation_config? Config { get; set; } #nullable restore #else - public AuthenticatorConfigRepresentation_config Config { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigRepresentation_config Config { get; set; } #endif /// The id property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -36,7 +37,7 @@ public class AuthenticatorConfigRepresentation : IAdditionalDataHolder, IParsabl public string Id { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public AuthenticatorConfigRepresentation() { @@ -45,12 +46,12 @@ public AuthenticatorConfigRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static AuthenticatorConfigRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new AuthenticatorConfigRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigRepresentation(); } /// /// The deserialization information for the current model @@ -60,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"alias", n => { Alias = n.GetStringValue(); } }, - {"config", n => { Config = n.GetObjectValue(AuthenticatorConfigRepresentation_config.CreateFromDiscriminatorValue); } }, - {"id", n => { Id = n.GetStringValue(); } }, + { "alias", n => { Alias = n.GetStringValue(); } }, + { "config", n => { Config = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigRepresentation_config.CreateFromDiscriminatorValue); } }, + { "id", n => { Id = n.GetStringValue(); } }, }; } /// @@ -73,7 +74,7 @@ public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("alias", Alias); - writer.WriteObjectValue("config", Config); + writer.WriteObjectValue("config", Config); writer.WriteStringValue("id", Id); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticatorConfigRepresentation_config.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticatorConfigRepresentation_config.cs index 4f58391b..f00a69fb 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticatorConfigRepresentation_config.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/AuthenticatorConfigRepresentation_config.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class AuthenticatorConfigRepresentation_config : IAdditionalDataHolder, IParsable + public class AuthenticatorConfigRepresentation_config : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public AuthenticatorConfigRepresentation_config() { @@ -21,12 +22,12 @@ public AuthenticatorConfigRepresentation_config() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static AuthenticatorConfigRepresentation_config CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigRepresentation_config CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new AuthenticatorConfigRepresentation_config(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigRepresentation_config(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/Authorization.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/Authorization.cs index 9f3fc3d9..9f3be7fc 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/Authorization.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/Authorization.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class Authorization : IAdditionalDataHolder, IParsable + public class Authorization : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -14,13 +15,13 @@ public class Authorization : IAdditionalDataHolder, IParsable /// The permissions property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Permissions { get; set; } + public List? Permissions { get; set; } #nullable restore #else - public List Permissions { get; set; } + public List Permissions { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public Authorization() { @@ -29,12 +30,12 @@ public Authorization() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static Authorization CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Authorization CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new Authorization(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Authorization(); } /// /// The deserialization information for the current model @@ -44,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"permissions", n => { Permissions = n.GetCollectionOfObjectValues(Permission.CreateFromDiscriminatorValue)?.ToList(); } }, + { "permissions", n => { Permissions = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Permission.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -54,7 +55,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("permissions", Permissions); + writer.WriteCollectionOfObjectValues("permissions", Permissions); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/CertificateRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/CertificateRepresentation.cs index b07fc7fc..6b61465b 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/CertificateRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/CertificateRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class CertificateRepresentation : IAdditionalDataHolder, IParsable + public class CertificateRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -44,7 +45,7 @@ public class CertificateRepresentation : IAdditionalDataHolder, IParsable public string PublicKey { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public CertificateRepresentation() { @@ -53,12 +54,12 @@ public CertificateRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static CertificateRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.CertificateRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new CertificateRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.CertificateRepresentation(); } /// /// The deserialization information for the current model @@ -68,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"certificate", n => { Certificate = n.GetStringValue(); } }, - {"kid", n => { Kid = n.GetStringValue(); } }, - {"privateKey", n => { PrivateKey = n.GetStringValue(); } }, - {"publicKey", n => { PublicKey = n.GetStringValue(); } }, + { "certificate", n => { Certificate = n.GetStringValue(); } }, + { "kid", n => { Kid = n.GetStringValue(); } }, + { "privateKey", n => { PrivateKey = n.GetStringValue(); } }, + { "publicKey", n => { PublicKey = n.GetStringValue(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClaimRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClaimRepresentation.cs index 48757d13..af4ee69d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClaimRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClaimRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ClaimRepresentation : IAdditionalDataHolder, IParsable + public class ClaimRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -32,7 +33,7 @@ public class ClaimRepresentation : IAdditionalDataHolder, IParsable /// The website property public bool? Website { get; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ClaimRepresentation() { @@ -41,12 +42,12 @@ public ClaimRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ClaimRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClaimRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ClaimRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClaimRepresentation(); } /// /// The deserialization information for the current model @@ -56,16 +57,16 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"address", n => { Address = n.GetBoolValue(); } }, - {"email", n => { Email = n.GetBoolValue(); } }, - {"gender", n => { Gender = n.GetBoolValue(); } }, - {"locale", n => { Locale = n.GetBoolValue(); } }, - {"name", n => { Name = n.GetBoolValue(); } }, - {"phone", n => { Phone = n.GetBoolValue(); } }, - {"picture", n => { Picture = n.GetBoolValue(); } }, - {"profile", n => { Profile = n.GetBoolValue(); } }, - {"username", n => { Username = n.GetBoolValue(); } }, - {"website", n => { Website = n.GetBoolValue(); } }, + { "address", n => { Address = n.GetBoolValue(); } }, + { "email", n => { Email = n.GetBoolValue(); } }, + { "gender", n => { Gender = n.GetBoolValue(); } }, + { "locale", n => { Locale = n.GetBoolValue(); } }, + { "name", n => { Name = n.GetBoolValue(); } }, + { "phone", n => { Phone = n.GetBoolValue(); } }, + { "picture", n => { Picture = n.GetBoolValue(); } }, + { "profile", n => { Profile = n.GetBoolValue(); } }, + { "username", n => { Username = n.GetBoolValue(); } }, + { "website", n => { Website = n.GetBoolValue(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientInitialAccessCreatePresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientInitialAccessCreatePresentation.cs index 731c73c7..9bab309d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientInitialAccessCreatePresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientInitialAccessCreatePresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ClientInitialAccessCreatePresentation : IAdditionalDataHolder, IParsable + public class ClientInitialAccessCreatePresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -16,7 +17,7 @@ public class ClientInitialAccessCreatePresentation : IAdditionalDataHolder, IPar /// The expiration property public int? Expiration { get; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ClientInitialAccessCreatePresentation() { @@ -25,12 +26,12 @@ public ClientInitialAccessCreatePresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ClientInitialAccessCreatePresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientInitialAccessCreatePresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ClientInitialAccessCreatePresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientInitialAccessCreatePresentation(); } /// /// The deserialization information for the current model @@ -40,8 +41,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"count", n => { Count = n.GetIntValue(); } }, - {"expiration", n => { Expiration = n.GetIntValue(); } }, + { "count", n => { Count = n.GetIntValue(); } }, + { "expiration", n => { Expiration = n.GetIntValue(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientInitialAccessPresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientInitialAccessPresentation.cs index 6c69f620..4db7a38e 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientInitialAccessPresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientInitialAccessPresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ClientInitialAccessPresentation : IAdditionalDataHolder, IParsable + public class ClientInitialAccessPresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -36,7 +37,7 @@ public class ClientInitialAccessPresentation : IAdditionalDataHolder, IParsable public string Token { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ClientInitialAccessPresentation() { @@ -45,12 +46,12 @@ public ClientInitialAccessPresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ClientInitialAccessPresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientInitialAccessPresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ClientInitialAccessPresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientInitialAccessPresentation(); } /// /// The deserialization information for the current model @@ -60,12 +61,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"count", n => { Count = n.GetIntValue(); } }, - {"expiration", n => { Expiration = n.GetIntValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"remainingCount", n => { RemainingCount = n.GetIntValue(); } }, - {"timestamp", n => { Timestamp = n.GetIntValue(); } }, - {"token", n => { Token = n.GetStringValue(); } }, + { "count", n => { Count = n.GetIntValue(); } }, + { "expiration", n => { Expiration = n.GetIntValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "remainingCount", n => { RemainingCount = n.GetIntValue(); } }, + { "timestamp", n => { Timestamp = n.GetIntValue(); } }, + { "token", n => { Token = n.GetStringValue(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientPoliciesRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientPoliciesRepresentation.cs index 7af3018c..8c2a5ead 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientPoliciesRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientPoliciesRepresentation.cs @@ -4,23 +4,32 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ClientPoliciesRepresentation : IAdditionalDataHolder, IParsable + public class ClientPoliciesRepresentation : IAdditionalDataHolder, 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; set; } + /// The globalPolicies property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? GlobalPolicies { get; set; } +#nullable restore +#else + public List GlobalPolicies { get; set; } +#endif /// The policies property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Policies { get; set; } + public List? Policies { get; set; } #nullable restore #else - public List Policies { get; set; } + public List Policies { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ClientPoliciesRepresentation() { @@ -29,12 +38,12 @@ public ClientPoliciesRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ClientPoliciesRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientPoliciesRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ClientPoliciesRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientPoliciesRepresentation(); } /// /// The deserialization information for the current model @@ -44,7 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"policies", n => { Policies = n.GetCollectionOfObjectValues(ClientPolicyRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "globalPolicies", n => { GlobalPolicies = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientPolicyRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "policies", n => { Policies = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientPolicyRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -54,7 +64,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("policies", Policies); + writer.WriteCollectionOfObjectValues("globalPolicies", GlobalPolicies); + writer.WriteCollectionOfObjectValues("policies", Policies); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientPolicyConditionRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientPolicyConditionRepresentation.cs index 37062048..cc55034f 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientPolicyConditionRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientPolicyConditionRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ClientPolicyConditionRepresentation : IAdditionalDataHolder, IParsable + public class ClientPolicyConditionRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -28,7 +29,7 @@ public class ClientPolicyConditionRepresentation : IAdditionalDataHolder, IParsa public UntypedNode Configuration { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ClientPolicyConditionRepresentation() { @@ -37,12 +38,12 @@ public ClientPolicyConditionRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ClientPolicyConditionRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientPolicyConditionRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ClientPolicyConditionRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientPolicyConditionRepresentation(); } /// /// The deserialization information for the current model @@ -52,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"condition", n => { Condition = n.GetStringValue(); } }, - {"configuration", n => { Configuration = n.GetObjectValue(UntypedNode.CreateFromDiscriminatorValue); } }, + { "condition", n => { Condition = n.GetStringValue(); } }, + { "configuration", n => { Configuration = n.GetObjectValue(UntypedNode.CreateFromDiscriminatorValue); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientPolicyExecutorRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientPolicyExecutorRepresentation.cs index 89a0e7a2..34121337 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientPolicyExecutorRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientPolicyExecutorRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ClientPolicyExecutorRepresentation : IAdditionalDataHolder, IParsable + public class ClientPolicyExecutorRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -28,7 +29,7 @@ public class ClientPolicyExecutorRepresentation : IAdditionalDataHolder, IParsab public string Executor { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ClientPolicyExecutorRepresentation() { @@ -37,12 +38,12 @@ public ClientPolicyExecutorRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ClientPolicyExecutorRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientPolicyExecutorRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ClientPolicyExecutorRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientPolicyExecutorRepresentation(); } /// /// The deserialization information for the current model @@ -52,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"configuration", n => { Configuration = n.GetObjectValue(UntypedNode.CreateFromDiscriminatorValue); } }, - {"executor", n => { Executor = n.GetStringValue(); } }, + { "configuration", n => { Configuration = n.GetObjectValue(UntypedNode.CreateFromDiscriminatorValue); } }, + { "executor", n => { Executor = n.GetStringValue(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientPolicyRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientPolicyRepresentation.cs index 0507593d..f15d5dc1 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientPolicyRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientPolicyRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ClientPolicyRepresentation : IAdditionalDataHolder, IParsable + public class ClientPolicyRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -14,10 +15,10 @@ public class ClientPolicyRepresentation : IAdditionalDataHolder, IParsable /// The conditions property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Conditions { get; set; } + public List? Conditions { get; set; } #nullable restore #else - public List Conditions { get; set; } + public List Conditions { get; set; } #endif /// The description property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -46,7 +47,7 @@ public class ClientPolicyRepresentation : IAdditionalDataHolder, IParsable public List Profiles { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ClientPolicyRepresentation() { @@ -55,12 +56,12 @@ public ClientPolicyRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ClientPolicyRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientPolicyRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ClientPolicyRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientPolicyRepresentation(); } /// /// The deserialization information for the current model @@ -70,11 +71,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"conditions", n => { Conditions = n.GetCollectionOfObjectValues(ClientPolicyConditionRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"enabled", n => { Enabled = n.GetBoolValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"profiles", n => { Profiles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "conditions", n => { Conditions = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientPolicyConditionRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "enabled", n => { Enabled = n.GetBoolValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "profiles", n => { Profiles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// @@ -84,7 +85,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("conditions", Conditions); + writer.WriteCollectionOfObjectValues("conditions", Conditions); writer.WriteStringValue("description", Description); writer.WriteBoolValue("enabled", Enabled); writer.WriteStringValue("name", Name); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientProfileRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientProfileRepresentation.cs index ed09388a..35904fc1 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientProfileRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientProfileRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ClientProfileRepresentation : IAdditionalDataHolder, IParsable + public class ClientProfileRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -22,10 +23,10 @@ public class ClientProfileRepresentation : IAdditionalDataHolder, IParsable /// The executors property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Executors { get; set; } + public List? Executors { get; set; } #nullable restore #else - public List Executors { get; set; } + public List Executors { get; set; } #endif /// The name property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -36,7 +37,7 @@ public class ClientProfileRepresentation : IAdditionalDataHolder, IParsable public string Name { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ClientProfileRepresentation() { @@ -45,12 +46,12 @@ public ClientProfileRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ClientProfileRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientProfileRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ClientProfileRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientProfileRepresentation(); } /// /// The deserialization information for the current model @@ -60,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"description", n => { Description = n.GetStringValue(); } }, - {"executors", n => { Executors = n.GetCollectionOfObjectValues(ClientPolicyExecutorRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"name", n => { Name = n.GetStringValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "executors", n => { Executors = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientPolicyExecutorRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "name", n => { Name = n.GetStringValue(); } }, }; } /// @@ -73,7 +74,7 @@ public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("description", Description); - writer.WriteCollectionOfObjectValues("executors", Executors); + writer.WriteCollectionOfObjectValues("executors", Executors); writer.WriteStringValue("name", Name); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientProfilesRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientProfilesRepresentation.cs index 47214d4d..7cb68688 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientProfilesRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientProfilesRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ClientProfilesRepresentation : IAdditionalDataHolder, IParsable + public class ClientProfilesRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -14,21 +15,21 @@ public class ClientProfilesRepresentation : IAdditionalDataHolder, IParsable /// The globalProfiles property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? GlobalProfiles { get; set; } + public List? GlobalProfiles { get; set; } #nullable restore #else - public List GlobalProfiles { get; set; } + public List GlobalProfiles { get; set; } #endif /// The profiles property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Profiles { get; set; } + public List? Profiles { get; set; } #nullable restore #else - public List Profiles { get; set; } + public List Profiles { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ClientProfilesRepresentation() { @@ -37,12 +38,12 @@ public ClientProfilesRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ClientProfilesRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientProfilesRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ClientProfilesRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientProfilesRepresentation(); } /// /// The deserialization information for the current model @@ -52,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"globalProfiles", n => { GlobalProfiles = n.GetCollectionOfObjectValues(ClientProfileRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"profiles", n => { Profiles = n.GetCollectionOfObjectValues(ClientProfileRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "globalProfiles", n => { GlobalProfiles = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientProfileRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "profiles", n => { Profiles = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientProfileRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -63,8 +64,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("globalProfiles", GlobalProfiles); - writer.WriteCollectionOfObjectValues("profiles", Profiles); + writer.WriteCollectionOfObjectValues("globalProfiles", GlobalProfiles); + writer.WriteCollectionOfObjectValues("profiles", Profiles); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientRepresentation.cs index 556d203f..17a6ebc7 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientRepresentation.cs @@ -4,18 +4,19 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ClientRepresentation : IAdditionalDataHolder, IParsable + public class ClientRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// The access property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public ClientRepresentation_access? Access { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation_access? Access { get; set; } #nullable restore #else - public ClientRepresentation_access Access { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation_access Access { get; set; } #endif /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -32,28 +33,28 @@ public class ClientRepresentation : IAdditionalDataHolder, IParsable /// The attributes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public ClientRepresentation_attributes? Attributes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation_attributes? Attributes { get; set; } #nullable restore #else - public ClientRepresentation_attributes Attributes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation_attributes Attributes { get; set; } #endif /// The authenticationFlowBindingOverrides property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public ClientRepresentation_authenticationFlowBindingOverrides? AuthenticationFlowBindingOverrides { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation_authenticationFlowBindingOverrides? AuthenticationFlowBindingOverrides { get; set; } #nullable restore #else - public ClientRepresentation_authenticationFlowBindingOverrides AuthenticationFlowBindingOverrides { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation_authenticationFlowBindingOverrides AuthenticationFlowBindingOverrides { get; set; } #endif /// The authorizationServicesEnabled property public bool? AuthorizationServicesEnabled { get; set; } /// The authorizationSettings property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public ResourceServerRepresentation? AuthorizationSettings { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceServerRepresentation? AuthorizationSettings { get; set; } #nullable restore #else - public ResourceServerRepresentation AuthorizationSettings { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceServerRepresentation AuthorizationSettings { get; set; } #endif /// The baseUrl property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -177,10 +178,10 @@ public class ClientRepresentation : IAdditionalDataHolder, IParsable /// The protocolMappers property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? ProtocolMappers { get; set; } + public List? ProtocolMappers { get; set; } #nullable restore #else - public List ProtocolMappers { get; set; } + public List ProtocolMappers { get; set; } #endif /// The publicClient property public bool? PublicClient { get; set; } @@ -195,10 +196,10 @@ public class ClientRepresentation : IAdditionalDataHolder, IParsable /// The registeredNodes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public ClientRepresentation_registeredNodes? RegisteredNodes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation_registeredNodes? RegisteredNodes { get; set; } #nullable restore #else - public ClientRepresentation_registeredNodes RegisteredNodes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation_registeredNodes RegisteredNodes { get; set; } #endif /// The registrationAccessToken property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -230,6 +231,14 @@ public class ClientRepresentation : IAdditionalDataHolder, IParsable public bool? StandardFlowEnabled { get; set; } /// The surrogateAuthRequired property public bool? SurrogateAuthRequired { get; set; } + /// The type property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Type { get; set; } +#nullable restore +#else + public string Type { get; set; } +#endif /// The useTemplateConfig property [Obsolete("")] public bool? UseTemplateConfig { get; set; } @@ -248,7 +257,7 @@ public class ClientRepresentation : IAdditionalDataHolder, IParsable public List WebOrigins { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ClientRepresentation() { @@ -257,12 +266,12 @@ public ClientRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ClientRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ClientRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation(); } /// /// The deserialization information for the current model @@ -272,49 +281,50 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"access", n => { Access = n.GetObjectValue(ClientRepresentation_access.CreateFromDiscriminatorValue); } }, - {"adminUrl", n => { AdminUrl = n.GetStringValue(); } }, - {"alwaysDisplayInConsole", n => { AlwaysDisplayInConsole = n.GetBoolValue(); } }, - {"attributes", n => { Attributes = n.GetObjectValue(ClientRepresentation_attributes.CreateFromDiscriminatorValue); } }, - {"authenticationFlowBindingOverrides", n => { AuthenticationFlowBindingOverrides = n.GetObjectValue(ClientRepresentation_authenticationFlowBindingOverrides.CreateFromDiscriminatorValue); } }, - {"authorizationServicesEnabled", n => { AuthorizationServicesEnabled = n.GetBoolValue(); } }, - {"authorizationSettings", n => { AuthorizationSettings = n.GetObjectValue(ResourceServerRepresentation.CreateFromDiscriminatorValue); } }, - {"baseUrl", n => { BaseUrl = n.GetStringValue(); } }, - {"bearerOnly", n => { BearerOnly = n.GetBoolValue(); } }, - {"clientAuthenticatorType", n => { ClientAuthenticatorType = n.GetStringValue(); } }, - {"clientId", n => { ClientId = n.GetStringValue(); } }, - {"clientTemplate", n => { ClientTemplate = n.GetStringValue(); } }, - {"consentRequired", n => { ConsentRequired = n.GetBoolValue(); } }, - {"defaultClientScopes", n => { DefaultClientScopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"defaultRoles", n => { DefaultRoles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"directAccessGrantsEnabled", n => { DirectAccessGrantsEnabled = n.GetBoolValue(); } }, - {"directGrantsOnly", n => { DirectGrantsOnly = n.GetBoolValue(); } }, - {"enabled", n => { Enabled = n.GetBoolValue(); } }, - {"frontchannelLogout", n => { FrontchannelLogout = n.GetBoolValue(); } }, - {"fullScopeAllowed", n => { FullScopeAllowed = n.GetBoolValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"implicitFlowEnabled", n => { ImplicitFlowEnabled = n.GetBoolValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"nodeReRegistrationTimeout", n => { NodeReRegistrationTimeout = n.GetIntValue(); } }, - {"notBefore", n => { NotBefore = n.GetIntValue(); } }, - {"optionalClientScopes", n => { OptionalClientScopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"origin", n => { Origin = n.GetStringValue(); } }, - {"protocol", n => { Protocol = n.GetStringValue(); } }, - {"protocolMappers", n => { ProtocolMappers = n.GetCollectionOfObjectValues(ProtocolMapperRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"publicClient", n => { PublicClient = n.GetBoolValue(); } }, - {"redirectUris", n => { RedirectUris = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"registeredNodes", n => { RegisteredNodes = n.GetObjectValue(ClientRepresentation_registeredNodes.CreateFromDiscriminatorValue); } }, - {"registrationAccessToken", n => { RegistrationAccessToken = n.GetStringValue(); } }, - {"rootUrl", n => { RootUrl = n.GetStringValue(); } }, - {"secret", n => { Secret = n.GetStringValue(); } }, - {"serviceAccountsEnabled", n => { ServiceAccountsEnabled = n.GetBoolValue(); } }, - {"standardFlowEnabled", n => { StandardFlowEnabled = n.GetBoolValue(); } }, - {"surrogateAuthRequired", n => { SurrogateAuthRequired = n.GetBoolValue(); } }, - {"useTemplateConfig", n => { UseTemplateConfig = n.GetBoolValue(); } }, - {"useTemplateMappers", n => { UseTemplateMappers = n.GetBoolValue(); } }, - {"useTemplateScope", n => { UseTemplateScope = n.GetBoolValue(); } }, - {"webOrigins", n => { WebOrigins = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "access", n => { Access = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation_access.CreateFromDiscriminatorValue); } }, + { "adminUrl", n => { AdminUrl = n.GetStringValue(); } }, + { "alwaysDisplayInConsole", n => { AlwaysDisplayInConsole = n.GetBoolValue(); } }, + { "attributes", n => { Attributes = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation_attributes.CreateFromDiscriminatorValue); } }, + { "authenticationFlowBindingOverrides", n => { AuthenticationFlowBindingOverrides = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation_authenticationFlowBindingOverrides.CreateFromDiscriminatorValue); } }, + { "authorizationServicesEnabled", n => { AuthorizationServicesEnabled = n.GetBoolValue(); } }, + { "authorizationSettings", n => { AuthorizationSettings = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceServerRepresentation.CreateFromDiscriminatorValue); } }, + { "baseUrl", n => { BaseUrl = n.GetStringValue(); } }, + { "bearerOnly", n => { BearerOnly = n.GetBoolValue(); } }, + { "clientAuthenticatorType", n => { ClientAuthenticatorType = n.GetStringValue(); } }, + { "clientId", n => { ClientId = n.GetStringValue(); } }, + { "clientTemplate", n => { ClientTemplate = n.GetStringValue(); } }, + { "consentRequired", n => { ConsentRequired = n.GetBoolValue(); } }, + { "defaultClientScopes", n => { DefaultClientScopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "defaultRoles", n => { DefaultRoles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "directAccessGrantsEnabled", n => { DirectAccessGrantsEnabled = n.GetBoolValue(); } }, + { "directGrantsOnly", n => { DirectGrantsOnly = n.GetBoolValue(); } }, + { "enabled", n => { Enabled = n.GetBoolValue(); } }, + { "frontchannelLogout", n => { FrontchannelLogout = n.GetBoolValue(); } }, + { "fullScopeAllowed", n => { FullScopeAllowed = n.GetBoolValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "implicitFlowEnabled", n => { ImplicitFlowEnabled = n.GetBoolValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "nodeReRegistrationTimeout", n => { NodeReRegistrationTimeout = n.GetIntValue(); } }, + { "notBefore", n => { NotBefore = n.GetIntValue(); } }, + { "optionalClientScopes", n => { OptionalClientScopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "origin", n => { Origin = n.GetStringValue(); } }, + { "protocol", n => { Protocol = n.GetStringValue(); } }, + { "protocolMappers", n => { ProtocolMappers = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "publicClient", n => { PublicClient = n.GetBoolValue(); } }, + { "redirectUris", n => { RedirectUris = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "registeredNodes", n => { RegisteredNodes = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation_registeredNodes.CreateFromDiscriminatorValue); } }, + { "registrationAccessToken", n => { RegistrationAccessToken = n.GetStringValue(); } }, + { "rootUrl", n => { RootUrl = n.GetStringValue(); } }, + { "secret", n => { Secret = n.GetStringValue(); } }, + { "serviceAccountsEnabled", n => { ServiceAccountsEnabled = n.GetBoolValue(); } }, + { "standardFlowEnabled", n => { StandardFlowEnabled = n.GetBoolValue(); } }, + { "surrogateAuthRequired", n => { SurrogateAuthRequired = n.GetBoolValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, + { "useTemplateConfig", n => { UseTemplateConfig = n.GetBoolValue(); } }, + { "useTemplateMappers", n => { UseTemplateMappers = n.GetBoolValue(); } }, + { "useTemplateScope", n => { UseTemplateScope = n.GetBoolValue(); } }, + { "webOrigins", n => { WebOrigins = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// @@ -324,13 +334,13 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("access", Access); + writer.WriteObjectValue("access", Access); writer.WriteStringValue("adminUrl", AdminUrl); writer.WriteBoolValue("alwaysDisplayInConsole", AlwaysDisplayInConsole); - writer.WriteObjectValue("attributes", Attributes); - writer.WriteObjectValue("authenticationFlowBindingOverrides", AuthenticationFlowBindingOverrides); + writer.WriteObjectValue("attributes", Attributes); + writer.WriteObjectValue("authenticationFlowBindingOverrides", AuthenticationFlowBindingOverrides); writer.WriteBoolValue("authorizationServicesEnabled", AuthorizationServicesEnabled); - writer.WriteObjectValue("authorizationSettings", AuthorizationSettings); + writer.WriteObjectValue("authorizationSettings", AuthorizationSettings); writer.WriteStringValue("baseUrl", BaseUrl); writer.WriteBoolValue("bearerOnly", BearerOnly); writer.WriteStringValue("clientAuthenticatorType", ClientAuthenticatorType); @@ -353,16 +363,17 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteCollectionOfPrimitiveValues("optionalClientScopes", OptionalClientScopes); writer.WriteStringValue("origin", Origin); writer.WriteStringValue("protocol", Protocol); - writer.WriteCollectionOfObjectValues("protocolMappers", ProtocolMappers); + writer.WriteCollectionOfObjectValues("protocolMappers", ProtocolMappers); writer.WriteBoolValue("publicClient", PublicClient); writer.WriteCollectionOfPrimitiveValues("redirectUris", RedirectUris); - writer.WriteObjectValue("registeredNodes", RegisteredNodes); + writer.WriteObjectValue("registeredNodes", RegisteredNodes); writer.WriteStringValue("registrationAccessToken", RegistrationAccessToken); writer.WriteStringValue("rootUrl", RootUrl); writer.WriteStringValue("secret", Secret); writer.WriteBoolValue("serviceAccountsEnabled", ServiceAccountsEnabled); writer.WriteBoolValue("standardFlowEnabled", StandardFlowEnabled); writer.WriteBoolValue("surrogateAuthRequired", SurrogateAuthRequired); + writer.WriteStringValue("type", Type); writer.WriteBoolValue("useTemplateConfig", UseTemplateConfig); writer.WriteBoolValue("useTemplateMappers", UseTemplateMappers); writer.WriteBoolValue("useTemplateScope", UseTemplateScope); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientRepresentation_access.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientRepresentation_access.cs index 752215ba..edf40798 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientRepresentation_access.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientRepresentation_access.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ClientRepresentation_access : IAdditionalDataHolder, IParsable + public class ClientRepresentation_access : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ClientRepresentation_access() { @@ -21,12 +22,12 @@ public ClientRepresentation_access() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ClientRepresentation_access CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation_access CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ClientRepresentation_access(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation_access(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientRepresentation_attributes.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientRepresentation_attributes.cs index 8bccd7fe..75561d4f 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientRepresentation_attributes.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientRepresentation_attributes.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ClientRepresentation_attributes : IAdditionalDataHolder, IParsable + public class ClientRepresentation_attributes : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ClientRepresentation_attributes() { @@ -21,12 +22,12 @@ public ClientRepresentation_attributes() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ClientRepresentation_attributes CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation_attributes CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ClientRepresentation_attributes(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation_attributes(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientRepresentation_authenticationFlowBindingOverrides.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientRepresentation_authenticationFlowBindingOverrides.cs index b770841e..f6564b21 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientRepresentation_authenticationFlowBindingOverrides.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientRepresentation_authenticationFlowBindingOverrides.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ClientRepresentation_authenticationFlowBindingOverrides : IAdditionalDataHolder, IParsable + public class ClientRepresentation_authenticationFlowBindingOverrides : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ClientRepresentation_authenticationFlowBindingOverrides() { @@ -21,12 +22,12 @@ public ClientRepresentation_authenticationFlowBindingOverrides() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ClientRepresentation_authenticationFlowBindingOverrides CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation_authenticationFlowBindingOverrides CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ClientRepresentation_authenticationFlowBindingOverrides(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation_authenticationFlowBindingOverrides(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientRepresentation_registeredNodes.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientRepresentation_registeredNodes.cs index e4de2858..11e8ad93 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientRepresentation_registeredNodes.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientRepresentation_registeredNodes.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ClientRepresentation_registeredNodes : IAdditionalDataHolder, IParsable + public class ClientRepresentation_registeredNodes : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ClientRepresentation_registeredNodes() { @@ -21,12 +22,12 @@ public ClientRepresentation_registeredNodes() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ClientRepresentation_registeredNodes CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation_registeredNodes CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ClientRepresentation_registeredNodes(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation_registeredNodes(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientScopeRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientScopeRepresentation.cs index a0611580..e3e0c65d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientScopeRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientScopeRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ClientScopeRepresentation : IAdditionalDataHolder, IParsable + public class ClientScopeRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -14,10 +15,10 @@ public class ClientScopeRepresentation : IAdditionalDataHolder, IParsable /// The attributes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public ClientScopeRepresentation_attributes? Attributes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation_attributes? Attributes { get; set; } #nullable restore #else - public ClientScopeRepresentation_attributes Attributes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation_attributes Attributes { get; set; } #endif /// The description property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -54,13 +55,13 @@ public class ClientScopeRepresentation : IAdditionalDataHolder, IParsable /// The protocolMappers property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? ProtocolMappers { get; set; } + public List? ProtocolMappers { get; set; } #nullable restore #else - public List ProtocolMappers { get; set; } + public List ProtocolMappers { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ClientScopeRepresentation() { @@ -69,12 +70,12 @@ public ClientScopeRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ClientScopeRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ClientScopeRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation(); } /// /// The deserialization information for the current model @@ -84,12 +85,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"attributes", n => { Attributes = n.GetObjectValue(ClientScopeRepresentation_attributes.CreateFromDiscriminatorValue); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"protocol", n => { Protocol = n.GetStringValue(); } }, - {"protocolMappers", n => { ProtocolMappers = n.GetCollectionOfObjectValues(ProtocolMapperRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "attributes", n => { Attributes = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation_attributes.CreateFromDiscriminatorValue); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "protocol", n => { Protocol = n.GetStringValue(); } }, + { "protocolMappers", n => { ProtocolMappers = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -99,12 +100,12 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("attributes", Attributes); + writer.WriteObjectValue("attributes", Attributes); writer.WriteStringValue("description", Description); writer.WriteStringValue("id", Id); writer.WriteStringValue("name", Name); writer.WriteStringValue("protocol", Protocol); - writer.WriteCollectionOfObjectValues("protocolMappers", ProtocolMappers); + writer.WriteCollectionOfObjectValues("protocolMappers", ProtocolMappers); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientScopeRepresentation_attributes.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientScopeRepresentation_attributes.cs index fdd53aa2..1e41d66a 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientScopeRepresentation_attributes.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientScopeRepresentation_attributes.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ClientScopeRepresentation_attributes : IAdditionalDataHolder, IParsable + public class ClientScopeRepresentation_attributes : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ClientScopeRepresentation_attributes() { @@ -21,12 +22,12 @@ public ClientScopeRepresentation_attributes() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ClientScopeRepresentation_attributes CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation_attributes CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ClientScopeRepresentation_attributes(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation_attributes(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientTemplateRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientTemplateRepresentation.cs index e8897722..e98fd27a 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientTemplateRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientTemplateRepresentation.cs @@ -4,10 +4,11 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ [Obsolete("")] #pragma warning disable CS1591 - public class ClientTemplateRepresentation : IAdditionalDataHolder, IParsable + public class ClientTemplateRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -15,10 +16,10 @@ public class ClientTemplateRepresentation : IAdditionalDataHolder, IParsable /// The attributes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public ClientTemplateRepresentation_attributes? Attributes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTemplateRepresentation_attributes? Attributes { get; set; } #nullable restore #else - public ClientTemplateRepresentation_attributes Attributes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTemplateRepresentation_attributes Attributes { get; set; } #endif /// The bearerOnly property public bool? BearerOnly { get; set; } @@ -67,10 +68,10 @@ public class ClientTemplateRepresentation : IAdditionalDataHolder, IParsable /// The protocolMappers property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? ProtocolMappers { get; set; } + public List? ProtocolMappers { get; set; } #nullable restore #else - public List ProtocolMappers { get; set; } + public List ProtocolMappers { get; set; } #endif /// The publicClient property public bool? PublicClient { get; set; } @@ -79,7 +80,7 @@ public class ClientTemplateRepresentation : IAdditionalDataHolder, IParsable /// The standardFlowEnabled property public bool? StandardFlowEnabled { get; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ClientTemplateRepresentation() { @@ -88,12 +89,12 @@ public ClientTemplateRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ClientTemplateRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTemplateRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ClientTemplateRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTemplateRepresentation(); } /// /// The deserialization information for the current model @@ -103,21 +104,21 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"attributes", n => { Attributes = n.GetObjectValue(ClientTemplateRepresentation_attributes.CreateFromDiscriminatorValue); } }, - {"bearerOnly", n => { BearerOnly = n.GetBoolValue(); } }, - {"consentRequired", n => { ConsentRequired = n.GetBoolValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"directAccessGrantsEnabled", n => { DirectAccessGrantsEnabled = n.GetBoolValue(); } }, - {"frontchannelLogout", n => { FrontchannelLogout = n.GetBoolValue(); } }, - {"fullScopeAllowed", n => { FullScopeAllowed = n.GetBoolValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"implicitFlowEnabled", n => { ImplicitFlowEnabled = n.GetBoolValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"protocol", n => { Protocol = n.GetStringValue(); } }, - {"protocolMappers", n => { ProtocolMappers = n.GetCollectionOfObjectValues(ProtocolMapperRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"publicClient", n => { PublicClient = n.GetBoolValue(); } }, - {"serviceAccountsEnabled", n => { ServiceAccountsEnabled = n.GetBoolValue(); } }, - {"standardFlowEnabled", n => { StandardFlowEnabled = n.GetBoolValue(); } }, + { "attributes", n => { Attributes = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTemplateRepresentation_attributes.CreateFromDiscriminatorValue); } }, + { "bearerOnly", n => { BearerOnly = n.GetBoolValue(); } }, + { "consentRequired", n => { ConsentRequired = n.GetBoolValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "directAccessGrantsEnabled", n => { DirectAccessGrantsEnabled = n.GetBoolValue(); } }, + { "frontchannelLogout", n => { FrontchannelLogout = n.GetBoolValue(); } }, + { "fullScopeAllowed", n => { FullScopeAllowed = n.GetBoolValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "implicitFlowEnabled", n => { ImplicitFlowEnabled = n.GetBoolValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "protocol", n => { Protocol = n.GetStringValue(); } }, + { "protocolMappers", n => { ProtocolMappers = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "publicClient", n => { PublicClient = n.GetBoolValue(); } }, + { "serviceAccountsEnabled", n => { ServiceAccountsEnabled = n.GetBoolValue(); } }, + { "standardFlowEnabled", n => { StandardFlowEnabled = n.GetBoolValue(); } }, }; } /// @@ -127,7 +128,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("attributes", Attributes); + writer.WriteObjectValue("attributes", Attributes); writer.WriteBoolValue("bearerOnly", BearerOnly); writer.WriteBoolValue("consentRequired", ConsentRequired); writer.WriteStringValue("description", Description); @@ -138,7 +139,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteBoolValue("implicitFlowEnabled", ImplicitFlowEnabled); writer.WriteStringValue("name", Name); writer.WriteStringValue("protocol", Protocol); - writer.WriteCollectionOfObjectValues("protocolMappers", ProtocolMappers); + writer.WriteCollectionOfObjectValues("protocolMappers", ProtocolMappers); writer.WriteBoolValue("publicClient", PublicClient); writer.WriteBoolValue("serviceAccountsEnabled", ServiceAccountsEnabled); writer.WriteBoolValue("standardFlowEnabled", StandardFlowEnabled); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientTemplateRepresentation_attributes.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientTemplateRepresentation_attributes.cs index 635179bf..7375994b 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientTemplateRepresentation_attributes.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientTemplateRepresentation_attributes.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ClientTemplateRepresentation_attributes : IAdditionalDataHolder, IParsable + public class ClientTemplateRepresentation_attributes : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ClientTemplateRepresentation_attributes() { @@ -21,12 +22,12 @@ public ClientTemplateRepresentation_attributes() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ClientTemplateRepresentation_attributes CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTemplateRepresentation_attributes CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ClientTemplateRepresentation_attributes(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTemplateRepresentation_attributes(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientTypeRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientTypeRepresentation.cs new file mode 100644 index 00000000..e064d096 --- /dev/null +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientTypeRepresentation.cs @@ -0,0 +1,82 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ + #pragma warning disable CS1591 + public class ClientTypeRepresentation : IAdditionalDataHolder, 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; set; } + /// The config property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTypeRepresentation_config? Config { get; set; } +#nullable restore +#else + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTypeRepresentation_config Config { get; set; } +#endif + /// The name property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Name { get; set; } +#nullable restore +#else + public string Name { get; set; } +#endif + /// The provider property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Provider { get; set; } +#nullable restore +#else + public string Provider { get; set; } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClientTypeRepresentation() + { + 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 Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTypeRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTypeRepresentation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "config", n => { Config = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTypeRepresentation_config.CreateFromDiscriminatorValue); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "provider", n => { Provider = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("config", Config); + writer.WriteStringValue("name", Name); + writer.WriteStringValue("provider", Provider); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientTypeRepresentation_config.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientTypeRepresentation_config.cs new file mode 100644 index 00000000..53df5abe --- /dev/null +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientTypeRepresentation_config.cs @@ -0,0 +1,52 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ + #pragma warning disable CS1591 + public class ClientTypeRepresentation_config : IAdditionalDataHolder, 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; set; } + /// + /// Instantiates a new and sets the default values. + /// + public ClientTypeRepresentation_config() + { + 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 Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTypeRepresentation_config CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTypeRepresentation_config(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientTypesRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientTypesRepresentation.cs new file mode 100644 index 00000000..174677ac --- /dev/null +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ClientTypesRepresentation.cs @@ -0,0 +1,72 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ + #pragma warning disable CS1591 + public class ClientTypesRepresentation : IAdditionalDataHolder, 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; set; } + /// The clientTypes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ClientTypes { get; set; } +#nullable restore +#else + public List ClientTypes { get; set; } +#endif + /// The globalClientTypes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? GlobalClientTypes { get; set; } +#nullable restore +#else + public List GlobalClientTypes { get; set; } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClientTypesRepresentation() + { + 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 Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTypesRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTypesRepresentation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "client-types", n => { ClientTypes = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTypeRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "global-client-types", n => { GlobalClientTypes = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTypeRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("client-types", ClientTypes); + writer.WriteCollectionOfObjectValues("global-client-types", GlobalClientTypes); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ComponentRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ComponentRepresentation.cs index fc1f8dd8..d1ba86b4 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ComponentRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ComponentRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ComponentRepresentation : IAdditionalDataHolder, IParsable + public class ComponentRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -14,10 +15,10 @@ public class ComponentRepresentation : IAdditionalDataHolder, IParsable /// The config property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public MultivaluedHashMapStringString? Config { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.MultivaluedHashMapStringString? Config { get; set; } #nullable restore #else - public MultivaluedHashMapStringString Config { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.MultivaluedHashMapStringString Config { get; set; } #endif /// The id property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -68,7 +69,7 @@ public class ComponentRepresentation : IAdditionalDataHolder, IParsable public string SubType { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ComponentRepresentation() { @@ -77,12 +78,12 @@ public ComponentRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ComponentRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ComponentRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentRepresentation(); } /// /// The deserialization information for the current model @@ -92,13 +93,13 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"config", n => { Config = n.GetObjectValue(MultivaluedHashMapStringString.CreateFromDiscriminatorValue); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"parentId", n => { ParentId = n.GetStringValue(); } }, - {"providerId", n => { ProviderId = n.GetStringValue(); } }, - {"providerType", n => { ProviderType = n.GetStringValue(); } }, - {"subType", n => { SubType = n.GetStringValue(); } }, + { "config", n => { Config = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.MultivaluedHashMapStringString.CreateFromDiscriminatorValue); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "parentId", n => { ParentId = n.GetStringValue(); } }, + { "providerId", n => { ProviderId = n.GetStringValue(); } }, + { "providerType", n => { ProviderType = n.GetStringValue(); } }, + { "subType", n => { SubType = n.GetStringValue(); } }, }; } /// @@ -108,7 +109,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("config", Config); + writer.WriteObjectValue("config", Config); writer.WriteStringValue("id", Id); writer.WriteStringValue("name", Name); writer.WriteStringValue("parentId", ParentId); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ComponentTypeRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ComponentTypeRepresentation.cs index e21831ce..5752903c 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ComponentTypeRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ComponentTypeRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ComponentTypeRepresentation : IAdditionalDataHolder, IParsable + public class ComponentTypeRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -30,21 +31,21 @@ public class ComponentTypeRepresentation : IAdditionalDataHolder, IParsable /// The metadata property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public ComponentTypeRepresentation_metadata? Metadata { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentTypeRepresentation_metadata? Metadata { get; set; } #nullable restore #else - public ComponentTypeRepresentation_metadata Metadata { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentTypeRepresentation_metadata Metadata { get; set; } #endif /// The properties property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Properties { get; set; } + public List? Properties { get; set; } #nullable restore #else - public List Properties { get; set; } + public List Properties { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ComponentTypeRepresentation() { @@ -53,12 +54,12 @@ public ComponentTypeRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ComponentTypeRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentTypeRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ComponentTypeRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentTypeRepresentation(); } /// /// The deserialization information for the current model @@ -68,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"helpText", n => { HelpText = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"metadata", n => { Metadata = n.GetObjectValue(ComponentTypeRepresentation_metadata.CreateFromDiscriminatorValue); } }, - {"properties", n => { Properties = n.GetCollectionOfObjectValues(ConfigPropertyRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "helpText", n => { HelpText = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "metadata", n => { Metadata = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentTypeRepresentation_metadata.CreateFromDiscriminatorValue); } }, + { "properties", n => { Properties = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ConfigPropertyRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -83,8 +84,8 @@ public virtual void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("helpText", HelpText); writer.WriteStringValue("id", Id); - writer.WriteObjectValue("metadata", Metadata); - writer.WriteCollectionOfObjectValues("properties", Properties); + writer.WriteObjectValue("metadata", Metadata); + writer.WriteCollectionOfObjectValues("properties", Properties); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ComponentTypeRepresentation_metadata.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ComponentTypeRepresentation_metadata.cs index e2b61138..02ec2dce 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ComponentTypeRepresentation_metadata.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ComponentTypeRepresentation_metadata.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ComponentTypeRepresentation_metadata : IAdditionalDataHolder, IParsable + public class ComponentTypeRepresentation_metadata : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ComponentTypeRepresentation_metadata() { @@ -21,12 +22,12 @@ public ComponentTypeRepresentation_metadata() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ComponentTypeRepresentation_metadata CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentTypeRepresentation_metadata CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ComponentTypeRepresentation_metadata(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ComponentTypeRepresentation_metadata(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/Composites.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/Composites.cs index 4e9bc587..82c2dacc 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/Composites.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/Composites.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class Composites : IAdditionalDataHolder, IParsable + public class Composites : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -15,18 +16,18 @@ public class Composites : IAdditionalDataHolder, IParsable [Obsolete("")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public Composites_application? Application { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Composites_application? Application { get; set; } #nullable restore #else - public Composites_application Application { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Composites_application Application { get; set; } #endif /// The client property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public Composites_client? Client { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Composites_client? Client { get; set; } #nullable restore #else - public Composites_client Client { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Composites_client Client { get; set; } #endif /// The realm property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -37,7 +38,7 @@ public class Composites : IAdditionalDataHolder, IParsable public List Realm { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public Composites() { @@ -46,12 +47,12 @@ public Composites() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static Composites CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Composites CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new Composites(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Composites(); } /// /// The deserialization information for the current model @@ -61,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"application", n => { Application = n.GetObjectValue(Composites_application.CreateFromDiscriminatorValue); } }, - {"client", n => { Client = n.GetObjectValue(Composites_client.CreateFromDiscriminatorValue); } }, - {"realm", n => { Realm = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "application", n => { Application = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Composites_application.CreateFromDiscriminatorValue); } }, + { "client", n => { Client = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Composites_client.CreateFromDiscriminatorValue); } }, + { "realm", n => { Realm = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// @@ -73,8 +74,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("application", Application); - writer.WriteObjectValue("client", Client); + writer.WriteObjectValue("application", Application); + writer.WriteObjectValue("client", Client); writer.WriteCollectionOfPrimitiveValues("realm", Realm); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/Composites_application.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/Composites_application.cs index bb1bcb40..50c27656 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/Composites_application.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/Composites_application.cs @@ -4,16 +4,17 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ [Obsolete("")] #pragma warning disable CS1591 - public class Composites_application : IAdditionalDataHolder, IParsable + public class Composites_application : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public Composites_application() { @@ -22,12 +23,12 @@ public Composites_application() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static Composites_application CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Composites_application CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new Composites_application(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Composites_application(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/Composites_client.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/Composites_client.cs index a5931452..b8bd4d96 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/Composites_client.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/Composites_client.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class Composites_client : IAdditionalDataHolder, IParsable + public class Composites_client : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public Composites_client() { @@ -21,12 +22,12 @@ public Composites_client() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static Composites_client CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Composites_client CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new Composites_client(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Composites_client(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ConfigPropertyRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ConfigPropertyRepresentation.cs index fcf5c4c5..32d1ba65 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ConfigPropertyRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ConfigPropertyRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ConfigPropertyRepresentation : IAdditionalDataHolder, IParsable + public class ConfigPropertyRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -66,7 +67,7 @@ public class ConfigPropertyRepresentation : IAdditionalDataHolder, IParsable public string Type { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ConfigPropertyRepresentation() { @@ -75,12 +76,12 @@ public ConfigPropertyRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ConfigPropertyRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ConfigPropertyRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ConfigPropertyRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ConfigPropertyRepresentation(); } /// /// The deserialization information for the current model @@ -90,15 +91,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"defaultValue", n => { DefaultValue = n.GetObjectValue(UntypedNode.CreateFromDiscriminatorValue); } }, - {"helpText", n => { HelpText = n.GetStringValue(); } }, - {"label", n => { Label = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"options", n => { Options = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"readOnly", n => { ReadOnly = n.GetBoolValue(); } }, - {"required", n => { Required = n.GetBoolValue(); } }, - {"secret", n => { Secret = n.GetBoolValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "defaultValue", n => { DefaultValue = n.GetObjectValue(UntypedNode.CreateFromDiscriminatorValue); } }, + { "helpText", n => { HelpText = n.GetStringValue(); } }, + { "label", n => { Label = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "options", n => { Options = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "readOnly", n => { ReadOnly = n.GetBoolValue(); } }, + { "required", n => { Required = n.GetBoolValue(); } }, + { "secret", n => { Secret = n.GetBoolValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/Confirmation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/Confirmation.cs index 63cfe37c..94d0a5e1 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/Confirmation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/Confirmation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class Confirmation : IAdditionalDataHolder, IParsable + public class Confirmation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -28,7 +29,7 @@ public class Confirmation : IAdditionalDataHolder, IParsable public string X5tS256 { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public Confirmation() { @@ -37,12 +38,12 @@ public Confirmation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static Confirmation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Confirmation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new Confirmation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Confirmation(); } /// /// The deserialization information for the current model @@ -52,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"jkt", n => { Jkt = n.GetStringValue(); } }, - {"x5t#S256", n => { X5tS256 = n.GetStringValue(); } }, + { "jkt", n => { Jkt = n.GetStringValue(); } }, + { "x5t#S256", n => { X5tS256 = n.GetStringValue(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/CredentialRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/CredentialRepresentation.cs index 8d5f00fa..bdf51ab9 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/CredentialRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/CredentialRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class CredentialRepresentation : IAdditionalDataHolder, IParsable + public class CredentialRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -24,10 +25,10 @@ public class CredentialRepresentation : IAdditionalDataHolder, IParsable [Obsolete("")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public CredentialRepresentation_config? Config { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.CredentialRepresentation_config? Config { get; set; } #nullable restore #else - public CredentialRepresentation_config Config { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.CredentialRepresentation_config Config { get; set; } #endif /// The counter property [Obsolete("")] @@ -123,7 +124,7 @@ public class CredentialRepresentation : IAdditionalDataHolder, IParsable public string Value { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public CredentialRepresentation() { @@ -132,12 +133,12 @@ public CredentialRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static CredentialRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.CredentialRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new CredentialRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.CredentialRepresentation(); } /// /// The deserialization information for the current model @@ -147,24 +148,24 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"algorithm", n => { Algorithm = n.GetStringValue(); } }, - {"config", n => { Config = n.GetObjectValue(CredentialRepresentation_config.CreateFromDiscriminatorValue); } }, - {"counter", n => { Counter = n.GetIntValue(); } }, - {"createdDate", n => { CreatedDate = n.GetLongValue(); } }, - {"credentialData", n => { CredentialData = n.GetStringValue(); } }, - {"device", n => { Device = n.GetStringValue(); } }, - {"digits", n => { Digits = n.GetIntValue(); } }, - {"hashIterations", n => { HashIterations = n.GetIntValue(); } }, - {"hashedSaltedValue", n => { HashedSaltedValue = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"period", n => { Period = n.GetIntValue(); } }, - {"priority", n => { Priority = n.GetIntValue(); } }, - {"salt", n => { Salt = n.GetStringValue(); } }, - {"secretData", n => { SecretData = n.GetStringValue(); } }, - {"temporary", n => { Temporary = n.GetBoolValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, - {"userLabel", n => { UserLabel = n.GetStringValue(); } }, - {"value", n => { Value = n.GetStringValue(); } }, + { "algorithm", n => { Algorithm = n.GetStringValue(); } }, + { "config", n => { Config = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.CredentialRepresentation_config.CreateFromDiscriminatorValue); } }, + { "counter", n => { Counter = n.GetIntValue(); } }, + { "createdDate", n => { CreatedDate = n.GetLongValue(); } }, + { "credentialData", n => { CredentialData = n.GetStringValue(); } }, + { "device", n => { Device = n.GetStringValue(); } }, + { "digits", n => { Digits = n.GetIntValue(); } }, + { "hashIterations", n => { HashIterations = n.GetIntValue(); } }, + { "hashedSaltedValue", n => { HashedSaltedValue = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "period", n => { Period = n.GetIntValue(); } }, + { "priority", n => { Priority = n.GetIntValue(); } }, + { "salt", n => { Salt = n.GetStringValue(); } }, + { "secretData", n => { SecretData = n.GetStringValue(); } }, + { "temporary", n => { Temporary = n.GetBoolValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, + { "userLabel", n => { UserLabel = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, }; } /// @@ -175,7 +176,7 @@ public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("algorithm", Algorithm); - writer.WriteObjectValue("config", Config); + writer.WriteObjectValue("config", Config); writer.WriteIntValue("counter", Counter); writer.WriteLongValue("createdDate", CreatedDate); writer.WriteStringValue("credentialData", CredentialData); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/CredentialRepresentation_config.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/CredentialRepresentation_config.cs index 364fc8ca..584634cf 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/CredentialRepresentation_config.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/CredentialRepresentation_config.cs @@ -4,21 +4,22 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ [Obsolete("")] #pragma warning disable CS1591 - public class CredentialRepresentation_config : MultivaluedHashMapStringString, IParsable + public class CredentialRepresentation_config : Keycloak.AuthServices.Sdk.Kiota.Admin.Models.MultivaluedHashMapStringString, IParsable #pragma warning restore CS1591 { /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static new CredentialRepresentation_config CreateFromDiscriminatorValue(IParseNode parseNode) + public static new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.CredentialRepresentation_config CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new CredentialRepresentation_config(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.CredentialRepresentation_config(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/DecisionEffect.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/DecisionEffect.cs index 6ab90989..b56fcda8 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/DecisionEffect.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/DecisionEffect.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 public enum DecisionEffect #pragma warning restore CS1591 diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/DecisionStrategy.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/DecisionStrategy.cs index 1b66ab8f..8d145c32 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/DecisionStrategy.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/DecisionStrategy.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 public enum DecisionStrategy #pragma warning restore CS1591 diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/EvaluationResultRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/EvaluationResultRepresentation.cs index 34c2b10d..cc715041 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/EvaluationResultRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/EvaluationResultRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class EvaluationResultRepresentation : IAdditionalDataHolder, IParsable + public class EvaluationResultRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -14,39 +15,39 @@ public class EvaluationResultRepresentation : IAdditionalDataHolder, IParsable /// The allowedScopes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? AllowedScopes { get; set; } + public List? AllowedScopes { get; set; } #nullable restore #else - public List AllowedScopes { get; set; } + public List AllowedScopes { get; set; } #endif /// The policies property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Policies { get; set; } + public List? Policies { get; set; } #nullable restore #else - public List Policies { get; set; } + public List Policies { get; set; } #endif /// The resource property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public ResourceRepresentation? Resource { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation? Resource { get; set; } #nullable restore #else - public ResourceRepresentation Resource { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation Resource { get; set; } #endif /// The scopes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Scopes { get; set; } + public List? Scopes { get; set; } #nullable restore #else - public List Scopes { get; set; } + public List Scopes { get; set; } #endif /// The status property - public DecisionEffect? Status { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.DecisionEffect? Status { get; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public EvaluationResultRepresentation() { @@ -55,12 +56,12 @@ public EvaluationResultRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static EvaluationResultRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.EvaluationResultRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new EvaluationResultRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.EvaluationResultRepresentation(); } /// /// The deserialization information for the current model @@ -70,11 +71,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"allowedScopes", n => { AllowedScopes = n.GetCollectionOfObjectValues(ScopeRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"policies", n => { Policies = n.GetCollectionOfObjectValues(PolicyResultRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"resource", n => { Resource = n.GetObjectValue(ResourceRepresentation.CreateFromDiscriminatorValue); } }, - {"scopes", n => { Scopes = n.GetCollectionOfObjectValues(ScopeRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, + { "allowedScopes", n => { AllowedScopes = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "policies", n => { Policies = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyResultRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "resource", n => { Resource = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation.CreateFromDiscriminatorValue); } }, + { "scopes", n => { Scopes = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, }; } /// @@ -84,11 +85,11 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("allowedScopes", AllowedScopes); - writer.WriteCollectionOfObjectValues("policies", Policies); - writer.WriteObjectValue("resource", Resource); - writer.WriteCollectionOfObjectValues("scopes", Scopes); - writer.WriteEnumValue("status", Status); + writer.WriteCollectionOfObjectValues("allowedScopes", AllowedScopes); + writer.WriteCollectionOfObjectValues("policies", Policies); + writer.WriteObjectValue("resource", Resource); + writer.WriteCollectionOfObjectValues("scopes", Scopes); + writer.WriteEnumValue("status", Status); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/EventRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/EventRepresentation.cs index 7c63c49f..5a89d559 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/EventRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/EventRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class EventRepresentation : IAdditionalDataHolder, IParsable + public class EventRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -22,10 +23,10 @@ public class EventRepresentation : IAdditionalDataHolder, IParsable /// The details property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public EventRepresentation_details? Details { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.EventRepresentation_details? Details { get; set; } #nullable restore #else - public EventRepresentation_details Details { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.EventRepresentation_details Details { get; set; } #endif /// The error property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -78,7 +79,7 @@ public class EventRepresentation : IAdditionalDataHolder, IParsable public string UserId { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public EventRepresentation() { @@ -87,12 +88,12 @@ public EventRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static EventRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.EventRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new EventRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.EventRepresentation(); } /// /// The deserialization information for the current model @@ -102,15 +103,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"clientId", n => { ClientId = n.GetStringValue(); } }, - {"details", n => { Details = n.GetObjectValue(EventRepresentation_details.CreateFromDiscriminatorValue); } }, - {"error", n => { Error = n.GetStringValue(); } }, - {"ipAddress", n => { IpAddress = n.GetStringValue(); } }, - {"realmId", n => { RealmId = n.GetStringValue(); } }, - {"sessionId", n => { SessionId = n.GetStringValue(); } }, - {"time", n => { Time = n.GetLongValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, - {"userId", n => { UserId = n.GetStringValue(); } }, + { "clientId", n => { ClientId = n.GetStringValue(); } }, + { "details", n => { Details = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.EventRepresentation_details.CreateFromDiscriminatorValue); } }, + { "error", n => { Error = n.GetStringValue(); } }, + { "ipAddress", n => { IpAddress = n.GetStringValue(); } }, + { "realmId", n => { RealmId = n.GetStringValue(); } }, + { "sessionId", n => { SessionId = n.GetStringValue(); } }, + { "time", n => { Time = n.GetLongValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, }; } /// @@ -121,7 +122,7 @@ public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("clientId", ClientId); - writer.WriteObjectValue("details", Details); + writer.WriteObjectValue("details", Details); writer.WriteStringValue("error", Error); writer.WriteStringValue("ipAddress", IpAddress); writer.WriteStringValue("realmId", RealmId); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/EventRepresentation_details.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/EventRepresentation_details.cs index 938de22d..9c99db29 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/EventRepresentation_details.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/EventRepresentation_details.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class EventRepresentation_details : IAdditionalDataHolder, IParsable + public class EventRepresentation_details : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public EventRepresentation_details() { @@ -21,12 +22,12 @@ public EventRepresentation_details() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static EventRepresentation_details CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.EventRepresentation_details CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new EventRepresentation_details(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.EventRepresentation_details(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/FederatedIdentityRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/FederatedIdentityRepresentation.cs index c3c1c1cc..69dcc1f1 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/FederatedIdentityRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/FederatedIdentityRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class FederatedIdentityRepresentation : IAdditionalDataHolder, IParsable + public class FederatedIdentityRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -36,7 +37,7 @@ public class FederatedIdentityRepresentation : IAdditionalDataHolder, IParsable public string UserName { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public FederatedIdentityRepresentation() { @@ -45,12 +46,12 @@ public FederatedIdentityRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static FederatedIdentityRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.FederatedIdentityRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new FederatedIdentityRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.FederatedIdentityRepresentation(); } /// /// The deserialization information for the current model @@ -60,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"identityProvider", n => { IdentityProvider = n.GetStringValue(); } }, - {"userId", n => { UserId = n.GetStringValue(); } }, - {"userName", n => { UserName = n.GetStringValue(); } }, + { "identityProvider", n => { IdentityProvider = n.GetStringValue(); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, + { "userName", n => { UserName = n.GetStringValue(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/GlobalRequestResult.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/GlobalRequestResult.cs index 564f20a8..a6b4b798 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/GlobalRequestResult.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/GlobalRequestResult.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class GlobalRequestResult : IAdditionalDataHolder, IParsable + public class GlobalRequestResult : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -28,7 +29,7 @@ public class GlobalRequestResult : IAdditionalDataHolder, IParsable public List SuccessRequests { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public GlobalRequestResult() { @@ -37,12 +38,12 @@ public GlobalRequestResult() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static GlobalRequestResult CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GlobalRequestResult CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new GlobalRequestResult(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GlobalRequestResult(); } /// /// The deserialization information for the current model @@ -52,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"failedRequests", n => { FailedRequests = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"successRequests", n => { SuccessRequests = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "failedRequests", n => { FailedRequests = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "successRequests", n => { SuccessRequests = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/GroupRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/GroupRepresentation.cs index 2035b2b9..622d2ae7 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/GroupRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/GroupRepresentation.cs @@ -4,36 +4,37 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class GroupRepresentation : IAdditionalDataHolder, IParsable + public class GroupRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// The access property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public GroupRepresentation_access? Access { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation_access? Access { get; set; } #nullable restore #else - public GroupRepresentation_access Access { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation_access Access { get; set; } #endif /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } /// The attributes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public GroupRepresentation_attributes? Attributes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation_attributes? Attributes { get; set; } #nullable restore #else - public GroupRepresentation_attributes Attributes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation_attributes Attributes { get; set; } #endif /// The clientRoles property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public GroupRepresentation_clientRoles? ClientRoles { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation_clientRoles? ClientRoles { get; set; } #nullable restore #else - public GroupRepresentation_clientRoles ClientRoles { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation_clientRoles ClientRoles { get; set; } #endif /// The id property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -80,13 +81,13 @@ public class GroupRepresentation : IAdditionalDataHolder, IParsable /// The subGroups property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? SubGroups { get; set; } + public List? SubGroups { get; set; } #nullable restore #else - public List SubGroups { get; set; } + public List SubGroups { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public GroupRepresentation() { @@ -95,12 +96,12 @@ public GroupRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static GroupRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new GroupRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation(); } /// /// The deserialization information for the current model @@ -110,16 +111,16 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"access", n => { Access = n.GetObjectValue(GroupRepresentation_access.CreateFromDiscriminatorValue); } }, - {"attributes", n => { Attributes = n.GetObjectValue(GroupRepresentation_attributes.CreateFromDiscriminatorValue); } }, - {"clientRoles", n => { ClientRoles = n.GetObjectValue(GroupRepresentation_clientRoles.CreateFromDiscriminatorValue); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"parentId", n => { ParentId = n.GetStringValue(); } }, - {"path", n => { Path = n.GetStringValue(); } }, - {"realmRoles", n => { RealmRoles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"subGroupCount", n => { SubGroupCount = n.GetLongValue(); } }, - {"subGroups", n => { SubGroups = n.GetCollectionOfObjectValues(GroupRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "access", n => { Access = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation_access.CreateFromDiscriminatorValue); } }, + { "attributes", n => { Attributes = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation_attributes.CreateFromDiscriminatorValue); } }, + { "clientRoles", n => { ClientRoles = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation_clientRoles.CreateFromDiscriminatorValue); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "parentId", n => { ParentId = n.GetStringValue(); } }, + { "path", n => { Path = n.GetStringValue(); } }, + { "realmRoles", n => { RealmRoles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "subGroupCount", n => { SubGroupCount = n.GetLongValue(); } }, + { "subGroups", n => { SubGroups = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -129,16 +130,16 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("access", Access); - writer.WriteObjectValue("attributes", Attributes); - writer.WriteObjectValue("clientRoles", ClientRoles); + writer.WriteObjectValue("access", Access); + writer.WriteObjectValue("attributes", Attributes); + writer.WriteObjectValue("clientRoles", ClientRoles); writer.WriteStringValue("id", Id); writer.WriteStringValue("name", Name); writer.WriteStringValue("parentId", ParentId); writer.WriteStringValue("path", Path); writer.WriteCollectionOfPrimitiveValues("realmRoles", RealmRoles); writer.WriteLongValue("subGroupCount", SubGroupCount); - writer.WriteCollectionOfObjectValues("subGroups", SubGroups); + writer.WriteCollectionOfObjectValues("subGroups", SubGroups); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/GroupRepresentation_access.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/GroupRepresentation_access.cs index 825e377b..cc810da3 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/GroupRepresentation_access.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/GroupRepresentation_access.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class GroupRepresentation_access : IAdditionalDataHolder, IParsable + public class GroupRepresentation_access : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public GroupRepresentation_access() { @@ -21,12 +22,12 @@ public GroupRepresentation_access() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static GroupRepresentation_access CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation_access CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new GroupRepresentation_access(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation_access(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/GroupRepresentation_attributes.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/GroupRepresentation_attributes.cs index 9c0cf36e..6a9aa547 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/GroupRepresentation_attributes.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/GroupRepresentation_attributes.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class GroupRepresentation_attributes : IAdditionalDataHolder, IParsable + public class GroupRepresentation_attributes : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public GroupRepresentation_attributes() { @@ -21,12 +22,12 @@ public GroupRepresentation_attributes() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static GroupRepresentation_attributes CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation_attributes CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new GroupRepresentation_attributes(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation_attributes(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/GroupRepresentation_clientRoles.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/GroupRepresentation_clientRoles.cs index 52719b86..0ce908ec 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/GroupRepresentation_clientRoles.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/GroupRepresentation_clientRoles.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class GroupRepresentation_clientRoles : IAdditionalDataHolder, IParsable + public class GroupRepresentation_clientRoles : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public GroupRepresentation_clientRoles() { @@ -21,12 +22,12 @@ public GroupRepresentation_clientRoles() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static GroupRepresentation_clientRoles CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation_clientRoles CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new GroupRepresentation_clientRoles(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation_clientRoles(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/IDToken.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/IDToken.cs index c88bc049..9da05d19 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/IDToken.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/IDToken.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class IDToken : IAdditionalDataHolder, IParsable + public class IDToken : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// The acr property @@ -22,10 +23,10 @@ public class IDToken : IAdditionalDataHolder, IParsable /// The address property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public AddressClaimSet? Address { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AddressClaimSet? Address { get; set; } #nullable restore #else - public AddressClaimSet Address { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AddressClaimSet Address { get; set; } #endif /// The at_hash property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -36,10 +37,7 @@ public class IDToken : IAdditionalDataHolder, IParsable public string AtHash { get; set; } #endif /// The auth_time property - public long? Auth_time { get; set; } - /// The authTime property - [Obsolete("")] - public int? AuthTime { get; set; } + public long? AuthTime { get; set; } /// The azp property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -171,10 +169,10 @@ public class IDToken : IAdditionalDataHolder, IParsable /// The otherClaims property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public IDToken_otherClaims? OtherClaims { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IDToken_otherClaims? OtherClaims { get; set; } #nullable restore #else - public IDToken_otherClaims OtherClaims { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IDToken_otherClaims OtherClaims { get; set; } #endif /// The phone_number property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -209,14 +207,6 @@ public class IDToken : IAdditionalDataHolder, IParsable #nullable restore #else public string Profile { get; set; } -#endif - /// The session_state property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public string? SessionState { get; set; } -#nullable restore -#else - public string SessionState { get; set; } #endif /// The s_hash property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -269,7 +259,7 @@ public class IDToken : IAdditionalDataHolder, IParsable public string Zoneinfo { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public IDToken() { @@ -278,12 +268,12 @@ public IDToken() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static IDToken CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IDToken CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new IDToken(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IDToken(); } /// /// The deserialization information for the current model @@ -293,44 +283,42 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"acr", n => { Acr = n.GetStringValue(); } }, - {"address", n => { Address = n.GetObjectValue(AddressClaimSet.CreateFromDiscriminatorValue); } }, - {"at_hash", n => { AtHash = n.GetStringValue(); } }, - {"authTime", n => { AuthTime = n.GetIntValue(); } }, - {"azp", n => { Azp = n.GetStringValue(); } }, - {"birthdate", n => { Birthdate = n.GetStringValue(); } }, - {"c_hash", n => { CHash = n.GetStringValue(); } }, - {"claims_locales", n => { ClaimsLocales = n.GetStringValue(); } }, - {"email", n => { Email = n.GetStringValue(); } }, - {"email_verified", n => { EmailVerified = n.GetBoolValue(); } }, - {"exp", n => { Exp = n.GetLongValue(); } }, - {"family_name", n => { FamilyName = n.GetStringValue(); } }, - {"gender", n => { Gender = n.GetStringValue(); } }, - {"given_name", n => { GivenName = n.GetStringValue(); } }, - {"iat", n => { Iat = n.GetLongValue(); } }, - {"iss", n => { Iss = n.GetStringValue(); } }, - {"jti", n => { Jti = n.GetStringValue(); } }, - {"locale", n => { Locale = n.GetStringValue(); } }, - {"middle_name", n => { MiddleName = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"nbf", n => { Nbf = n.GetLongValue(); } }, - {"nickname", n => { Nickname = n.GetStringValue(); } }, - {"nonce", n => { Nonce = n.GetStringValue(); } }, - {"otherClaims", n => { OtherClaims = n.GetObjectValue(IDToken_otherClaims.CreateFromDiscriminatorValue); } }, - {"phone_number", n => { PhoneNumber = n.GetStringValue(); } }, - {"phone_number_verified", n => { PhoneNumberVerified = n.GetBoolValue(); } }, - {"picture", n => { Picture = n.GetStringValue(); } }, - {"preferred_username", n => { PreferredUsername = n.GetStringValue(); } }, - {"profile", n => { Profile = n.GetStringValue(); } }, - {"s_hash", n => { SHash = n.GetStringValue(); } }, - {"session_state", n => { SessionState = n.GetStringValue(); } }, - {"sid", n => { Sid = n.GetStringValue(); } }, - {"sub", n => { Sub = n.GetStringValue(); } }, - {"typ", n => { Typ = n.GetStringValue(); } }, - {"updated_at", n => { UpdatedAt = n.GetLongValue(); } }, - {"website", n => { Website = n.GetStringValue(); } }, - {"zoneinfo", n => { Zoneinfo = n.GetStringValue(); } }, - {"auth_time", n => { Auth_time = n.GetLongValue(); } }, + { "acr", n => { Acr = n.GetStringValue(); } }, + { "address", n => { Address = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AddressClaimSet.CreateFromDiscriminatorValue); } }, + { "at_hash", n => { AtHash = n.GetStringValue(); } }, + { "auth_time", n => { AuthTime = n.GetLongValue(); } }, + { "azp", n => { Azp = n.GetStringValue(); } }, + { "birthdate", n => { Birthdate = n.GetStringValue(); } }, + { "c_hash", n => { CHash = n.GetStringValue(); } }, + { "claims_locales", n => { ClaimsLocales = n.GetStringValue(); } }, + { "email", n => { Email = n.GetStringValue(); } }, + { "email_verified", n => { EmailVerified = n.GetBoolValue(); } }, + { "exp", n => { Exp = n.GetLongValue(); } }, + { "family_name", n => { FamilyName = n.GetStringValue(); } }, + { "gender", n => { Gender = n.GetStringValue(); } }, + { "given_name", n => { GivenName = n.GetStringValue(); } }, + { "iat", n => { Iat = n.GetLongValue(); } }, + { "iss", n => { Iss = n.GetStringValue(); } }, + { "jti", n => { Jti = n.GetStringValue(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "middle_name", n => { MiddleName = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "nbf", n => { Nbf = n.GetLongValue(); } }, + { "nickname", n => { Nickname = n.GetStringValue(); } }, + { "nonce", n => { Nonce = n.GetStringValue(); } }, + { "otherClaims", n => { OtherClaims = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IDToken_otherClaims.CreateFromDiscriminatorValue); } }, + { "phone_number", n => { PhoneNumber = n.GetStringValue(); } }, + { "phone_number_verified", n => { PhoneNumberVerified = n.GetBoolValue(); } }, + { "picture", n => { Picture = n.GetStringValue(); } }, + { "preferred_username", n => { PreferredUsername = n.GetStringValue(); } }, + { "profile", n => { Profile = n.GetStringValue(); } }, + { "s_hash", n => { SHash = n.GetStringValue(); } }, + { "sid", n => { Sid = n.GetStringValue(); } }, + { "sub", n => { Sub = n.GetStringValue(); } }, + { "typ", n => { Typ = n.GetStringValue(); } }, + { "updated_at", n => { UpdatedAt = n.GetLongValue(); } }, + { "website", n => { Website = n.GetStringValue(); } }, + { "zoneinfo", n => { Zoneinfo = n.GetStringValue(); } }, }; } /// @@ -341,10 +329,9 @@ public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("acr", Acr); - writer.WriteObjectValue("address", Address); + writer.WriteObjectValue("address", Address); writer.WriteStringValue("at_hash", AtHash); - writer.WriteLongValue("auth_time", Auth_time); - writer.WriteIntValue("authTime", AuthTime); + writer.WriteLongValue("auth_time", AuthTime); writer.WriteStringValue("azp", Azp); writer.WriteStringValue("birthdate", Birthdate); writer.WriteStringValue("c_hash", CHash); @@ -364,13 +351,12 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteLongValue("nbf", Nbf); writer.WriteStringValue("nickname", Nickname); writer.WriteStringValue("nonce", Nonce); - writer.WriteObjectValue("otherClaims", OtherClaims); + writer.WriteObjectValue("otherClaims", OtherClaims); writer.WriteStringValue("phone_number", PhoneNumber); writer.WriteBoolValue("phone_number_verified", PhoneNumberVerified); writer.WriteStringValue("picture", Picture); writer.WriteStringValue("preferred_username", PreferredUsername); writer.WriteStringValue("profile", Profile); - writer.WriteStringValue("session_state", SessionState); writer.WriteStringValue("s_hash", SHash); writer.WriteStringValue("sid", Sid); writer.WriteStringValue("sub", Sub); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/IDToken_otherClaims.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/IDToken_otherClaims.cs index 3beacdcf..4e33c786 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/IDToken_otherClaims.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/IDToken_otherClaims.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class IDToken_otherClaims : IAdditionalDataHolder, IParsable + public class IDToken_otherClaims : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public IDToken_otherClaims() { @@ -21,12 +22,12 @@ public IDToken_otherClaims() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static IDToken_otherClaims CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IDToken_otherClaims CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new IDToken_otherClaims(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IDToken_otherClaims(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/IdentityProviderMapperRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/IdentityProviderMapperRepresentation.cs index a12e6f90..482ea88e 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/IdentityProviderMapperRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/IdentityProviderMapperRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class IdentityProviderMapperRepresentation : IAdditionalDataHolder, IParsable + public class IdentityProviderMapperRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -14,10 +15,10 @@ public class IdentityProviderMapperRepresentation : IAdditionalDataHolder, IPars /// The config property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public IdentityProviderMapperRepresentation_config? Config { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderMapperRepresentation_config? Config { get; set; } #nullable restore #else - public IdentityProviderMapperRepresentation_config Config { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderMapperRepresentation_config Config { get; set; } #endif /// The id property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -52,7 +53,7 @@ public class IdentityProviderMapperRepresentation : IAdditionalDataHolder, IPars public string Name { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public IdentityProviderMapperRepresentation() { @@ -61,12 +62,12 @@ public IdentityProviderMapperRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static IdentityProviderMapperRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderMapperRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new IdentityProviderMapperRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderMapperRepresentation(); } /// /// The deserialization information for the current model @@ -76,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"config", n => { Config = n.GetObjectValue(IdentityProviderMapperRepresentation_config.CreateFromDiscriminatorValue); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"identityProviderAlias", n => { IdentityProviderAlias = n.GetStringValue(); } }, - {"identityProviderMapper", n => { IdentityProviderMapper = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, + { "config", n => { Config = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderMapperRepresentation_config.CreateFromDiscriminatorValue); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "identityProviderAlias", n => { IdentityProviderAlias = n.GetStringValue(); } }, + { "identityProviderMapper", n => { IdentityProviderMapper = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, }; } /// @@ -90,7 +91,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("config", Config); + writer.WriteObjectValue("config", Config); writer.WriteStringValue("id", Id); writer.WriteStringValue("identityProviderAlias", IdentityProviderAlias); writer.WriteStringValue("identityProviderMapper", IdentityProviderMapper); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/IdentityProviderMapperRepresentation_config.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/IdentityProviderMapperRepresentation_config.cs index a314ddc0..b9327573 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/IdentityProviderMapperRepresentation_config.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/IdentityProviderMapperRepresentation_config.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class IdentityProviderMapperRepresentation_config : IAdditionalDataHolder, IParsable + public class IdentityProviderMapperRepresentation_config : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public IdentityProviderMapperRepresentation_config() { @@ -21,12 +22,12 @@ public IdentityProviderMapperRepresentation_config() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static IdentityProviderMapperRepresentation_config CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderMapperRepresentation_config CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new IdentityProviderMapperRepresentation_config(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderMapperRepresentation_config(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/IdentityProviderRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/IdentityProviderRepresentation.cs index 4a63ca79..67dd7d3e 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/IdentityProviderRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/IdentityProviderRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class IdentityProviderRepresentation : IAdditionalDataHolder, IParsable + public class IdentityProviderRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -26,10 +27,10 @@ public class IdentityProviderRepresentation : IAdditionalDataHolder, IParsable /// The config property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public IdentityProviderRepresentation_config? Config { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderRepresentation_config? Config { get; set; } #nullable restore #else - public IdentityProviderRepresentation_config Config { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderRepresentation_config Config { get; set; } #endif /// The displayName property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -92,7 +93,7 @@ public class IdentityProviderRepresentation : IAdditionalDataHolder, IParsable public string UpdateProfileFirstLoginMode { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public IdentityProviderRepresentation() { @@ -101,12 +102,12 @@ public IdentityProviderRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static IdentityProviderRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new IdentityProviderRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderRepresentation(); } /// /// The deserialization information for the current model @@ -116,21 +117,21 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"addReadTokenRoleOnCreate", n => { AddReadTokenRoleOnCreate = n.GetBoolValue(); } }, - {"alias", n => { Alias = n.GetStringValue(); } }, - {"authenticateByDefault", n => { AuthenticateByDefault = n.GetBoolValue(); } }, - {"config", n => { Config = n.GetObjectValue(IdentityProviderRepresentation_config.CreateFromDiscriminatorValue); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"enabled", n => { Enabled = n.GetBoolValue(); } }, - {"firstBrokerLoginFlowAlias", n => { FirstBrokerLoginFlowAlias = n.GetStringValue(); } }, - {"internalId", n => { InternalId = n.GetStringValue(); } }, - {"linkOnly", n => { LinkOnly = n.GetBoolValue(); } }, - {"postBrokerLoginFlowAlias", n => { PostBrokerLoginFlowAlias = n.GetStringValue(); } }, - {"providerId", n => { ProviderId = n.GetStringValue(); } }, - {"storeToken", n => { StoreToken = n.GetBoolValue(); } }, - {"trustEmail", n => { TrustEmail = n.GetBoolValue(); } }, - {"updateProfileFirstLogin", n => { UpdateProfileFirstLogin = n.GetBoolValue(); } }, - {"updateProfileFirstLoginMode", n => { UpdateProfileFirstLoginMode = n.GetStringValue(); } }, + { "addReadTokenRoleOnCreate", n => { AddReadTokenRoleOnCreate = n.GetBoolValue(); } }, + { "alias", n => { Alias = n.GetStringValue(); } }, + { "authenticateByDefault", n => { AuthenticateByDefault = n.GetBoolValue(); } }, + { "config", n => { Config = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderRepresentation_config.CreateFromDiscriminatorValue); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "enabled", n => { Enabled = n.GetBoolValue(); } }, + { "firstBrokerLoginFlowAlias", n => { FirstBrokerLoginFlowAlias = n.GetStringValue(); } }, + { "internalId", n => { InternalId = n.GetStringValue(); } }, + { "linkOnly", n => { LinkOnly = n.GetBoolValue(); } }, + { "postBrokerLoginFlowAlias", n => { PostBrokerLoginFlowAlias = n.GetStringValue(); } }, + { "providerId", n => { ProviderId = n.GetStringValue(); } }, + { "storeToken", n => { StoreToken = n.GetBoolValue(); } }, + { "trustEmail", n => { TrustEmail = n.GetBoolValue(); } }, + { "updateProfileFirstLogin", n => { UpdateProfileFirstLogin = n.GetBoolValue(); } }, + { "updateProfileFirstLoginMode", n => { UpdateProfileFirstLoginMode = n.GetStringValue(); } }, }; } /// @@ -143,7 +144,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteBoolValue("addReadTokenRoleOnCreate", AddReadTokenRoleOnCreate); writer.WriteStringValue("alias", Alias); writer.WriteBoolValue("authenticateByDefault", AuthenticateByDefault); - writer.WriteObjectValue("config", Config); + writer.WriteObjectValue("config", Config); writer.WriteStringValue("displayName", DisplayName); writer.WriteBoolValue("enabled", Enabled); writer.WriteStringValue("firstBrokerLoginFlowAlias", FirstBrokerLoginFlowAlias); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/IdentityProviderRepresentation_config.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/IdentityProviderRepresentation_config.cs index e5b72be8..5d52b9f6 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/IdentityProviderRepresentation_config.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/IdentityProviderRepresentation_config.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class IdentityProviderRepresentation_config : IAdditionalDataHolder, IParsable + public class IdentityProviderRepresentation_config : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public IdentityProviderRepresentation_config() { @@ -21,12 +22,12 @@ public IdentityProviderRepresentation_config() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static IdentityProviderRepresentation_config CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderRepresentation_config CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new IdentityProviderRepresentation_config(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderRepresentation_config(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/KeyMetadataRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/KeyMetadataRepresentation.cs index b471a38e..cdc5505c 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/KeyMetadataRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/KeyMetadataRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class KeyMetadataRepresentation : IAdditionalDataHolder, IParsable + public class KeyMetadataRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -70,11 +71,11 @@ public class KeyMetadataRepresentation : IAdditionalDataHolder, IParsable public string Type { get; set; } #endif /// The use property - public KeyUse? Use { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.KeyUse? Use { get; set; } /// The validTo property public long? ValidTo { get; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public KeyMetadataRepresentation() { @@ -83,12 +84,12 @@ public KeyMetadataRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static KeyMetadataRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.KeyMetadataRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new KeyMetadataRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.KeyMetadataRepresentation(); } /// /// The deserialization information for the current model @@ -98,16 +99,16 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"algorithm", n => { Algorithm = n.GetStringValue(); } }, - {"certificate", n => { Certificate = n.GetStringValue(); } }, - {"kid", n => { Kid = n.GetStringValue(); } }, - {"providerId", n => { ProviderId = n.GetStringValue(); } }, - {"providerPriority", n => { ProviderPriority = n.GetLongValue(); } }, - {"publicKey", n => { PublicKey = n.GetStringValue(); } }, - {"status", n => { Status = n.GetStringValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, - {"use", n => { Use = n.GetEnumValue(); } }, - {"validTo", n => { ValidTo = n.GetLongValue(); } }, + { "algorithm", n => { Algorithm = n.GetStringValue(); } }, + { "certificate", n => { Certificate = n.GetStringValue(); } }, + { "kid", n => { Kid = n.GetStringValue(); } }, + { "providerId", n => { ProviderId = n.GetStringValue(); } }, + { "providerPriority", n => { ProviderPriority = n.GetLongValue(); } }, + { "publicKey", n => { PublicKey = n.GetStringValue(); } }, + { "status", n => { Status = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, + { "use", n => { Use = n.GetEnumValue(); } }, + { "validTo", n => { ValidTo = n.GetLongValue(); } }, }; } /// @@ -125,7 +126,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteStringValue("publicKey", PublicKey); writer.WriteStringValue("status", Status); writer.WriteStringValue("type", Type); - writer.WriteEnumValue("use", Use); + writer.WriteEnumValue("use", Use); writer.WriteLongValue("validTo", ValidTo); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/KeyStoreConfig.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/KeyStoreConfig.cs index f33bd3e0..ac43d017 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/KeyStoreConfig.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/KeyStoreConfig.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class KeyStoreConfig : IAdditionalDataHolder, IParsable + public class KeyStoreConfig : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -54,7 +55,7 @@ public class KeyStoreConfig : IAdditionalDataHolder, IParsable public string StorePassword { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public KeyStoreConfig() { @@ -63,12 +64,12 @@ public KeyStoreConfig() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static KeyStoreConfig CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.KeyStoreConfig CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new KeyStoreConfig(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.KeyStoreConfig(); } /// /// The deserialization information for the current model @@ -78,12 +79,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"format", n => { Format = n.GetStringValue(); } }, - {"keyAlias", n => { KeyAlias = n.GetStringValue(); } }, - {"keyPassword", n => { KeyPassword = n.GetStringValue(); } }, - {"realmAlias", n => { RealmAlias = n.GetStringValue(); } }, - {"realmCertificate", n => { RealmCertificate = n.GetBoolValue(); } }, - {"storePassword", n => { StorePassword = n.GetStringValue(); } }, + { "format", n => { Format = n.GetStringValue(); } }, + { "keyAlias", n => { KeyAlias = n.GetStringValue(); } }, + { "keyPassword", n => { KeyPassword = n.GetStringValue(); } }, + { "realmAlias", n => { RealmAlias = n.GetStringValue(); } }, + { "realmCertificate", n => { RealmCertificate = n.GetBoolValue(); } }, + { "storePassword", n => { StorePassword = n.GetStringValue(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/KeyUse.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/KeyUse.cs index 47dd9a84..a6d2380b 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/KeyUse.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/KeyUse.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 public enum KeyUse #pragma warning restore CS1591 diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/KeysMetadataRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/KeysMetadataRepresentation.cs index e5ae445c..39f9ae9d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/KeysMetadataRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/KeysMetadataRepresentation.cs @@ -4,31 +4,32 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class KeysMetadataRepresentation : IAdditionalDataHolder, IParsable + public class KeysMetadataRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// The active property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public KeysMetadataRepresentation_active? Active { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.KeysMetadataRepresentation_active? Active { get; set; } #nullable restore #else - public KeysMetadataRepresentation_active Active { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.KeysMetadataRepresentation_active Active { get; set; } #endif /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } /// The keys property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Keys { get; set; } + public List? Keys { get; set; } #nullable restore #else - public List Keys { get; set; } + public List Keys { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public KeysMetadataRepresentation() { @@ -37,12 +38,12 @@ public KeysMetadataRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static KeysMetadataRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.KeysMetadataRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new KeysMetadataRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.KeysMetadataRepresentation(); } /// /// The deserialization information for the current model @@ -52,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"active", n => { Active = n.GetObjectValue(KeysMetadataRepresentation_active.CreateFromDiscriminatorValue); } }, - {"keys", n => { Keys = n.GetCollectionOfObjectValues(KeyMetadataRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "active", n => { Active = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.KeysMetadataRepresentation_active.CreateFromDiscriminatorValue); } }, + { "keys", n => { Keys = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.KeyMetadataRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -63,8 +64,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("active", Active); - writer.WriteCollectionOfObjectValues("keys", Keys); + writer.WriteObjectValue("active", Active); + writer.WriteCollectionOfObjectValues("keys", Keys); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/KeysMetadataRepresentation_active.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/KeysMetadataRepresentation_active.cs index 0c389ef0..5726896b 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/KeysMetadataRepresentation_active.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/KeysMetadataRepresentation_active.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class KeysMetadataRepresentation_active : IAdditionalDataHolder, IParsable + public class KeysMetadataRepresentation_active : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public KeysMetadataRepresentation_active() { @@ -21,12 +22,12 @@ public KeysMetadataRepresentation_active() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static KeysMetadataRepresentation_active CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.KeysMetadataRepresentation_active CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new KeysMetadataRepresentation_active(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.KeysMetadataRepresentation_active(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/Logic.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/Logic.cs index 708b1417..92e172ee 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/Logic.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/Logic.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 public enum Logic #pragma warning restore CS1591 diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ManagementPermissionReference.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ManagementPermissionReference.cs index 7036f499..5d46aabc 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ManagementPermissionReference.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ManagementPermissionReference.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ManagementPermissionReference : IAdditionalDataHolder, IParsable + public class ManagementPermissionReference : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -24,13 +25,13 @@ public class ManagementPermissionReference : IAdditionalDataHolder, IParsable /// The scopePermissions property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public ManagementPermissionReference_scopePermissions? ScopePermissions { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference_scopePermissions? ScopePermissions { get; set; } #nullable restore #else - public ManagementPermissionReference_scopePermissions ScopePermissions { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference_scopePermissions ScopePermissions { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ManagementPermissionReference() { @@ -39,12 +40,12 @@ public ManagementPermissionReference() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ManagementPermissionReference CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ManagementPermissionReference(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference(); } /// /// The deserialization information for the current model @@ -54,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"enabled", n => { Enabled = n.GetBoolValue(); } }, - {"resource", n => { Resource = n.GetStringValue(); } }, - {"scopePermissions", n => { ScopePermissions = n.GetObjectValue(ManagementPermissionReference_scopePermissions.CreateFromDiscriminatorValue); } }, + { "enabled", n => { Enabled = n.GetBoolValue(); } }, + { "resource", n => { Resource = n.GetStringValue(); } }, + { "scopePermissions", n => { ScopePermissions = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference_scopePermissions.CreateFromDiscriminatorValue); } }, }; } /// @@ -68,7 +69,7 @@ public virtual void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteBoolValue("enabled", Enabled); writer.WriteStringValue("resource", Resource); - writer.WriteObjectValue("scopePermissions", ScopePermissions); + writer.WriteObjectValue("scopePermissions", ScopePermissions); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ManagementPermissionReference_scopePermissions.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ManagementPermissionReference_scopePermissions.cs index 4fd5d673..bef7affd 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ManagementPermissionReference_scopePermissions.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ManagementPermissionReference_scopePermissions.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ManagementPermissionReference_scopePermissions : IAdditionalDataHolder, IParsable + public class ManagementPermissionReference_scopePermissions : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ManagementPermissionReference_scopePermissions() { @@ -21,12 +22,12 @@ public ManagementPermissionReference_scopePermissions() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ManagementPermissionReference_scopePermissions CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference_scopePermissions CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ManagementPermissionReference_scopePermissions(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ManagementPermissionReference_scopePermissions(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/MappingsRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/MappingsRepresentation.cs index 94ac22cb..61af4416 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/MappingsRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/MappingsRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class MappingsRepresentation : IAdditionalDataHolder, IParsable + public class MappingsRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -14,21 +15,21 @@ public class MappingsRepresentation : IAdditionalDataHolder, IParsable /// The clientMappings property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public MappingsRepresentation_clientMappings? ClientMappings { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.MappingsRepresentation_clientMappings? ClientMappings { get; set; } #nullable restore #else - public MappingsRepresentation_clientMappings ClientMappings { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.MappingsRepresentation_clientMappings ClientMappings { get; set; } #endif /// The realmMappings property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? RealmMappings { get; set; } + public List? RealmMappings { get; set; } #nullable restore #else - public List RealmMappings { get; set; } + public List RealmMappings { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public MappingsRepresentation() { @@ -37,12 +38,12 @@ public MappingsRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static MappingsRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.MappingsRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new MappingsRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.MappingsRepresentation(); } /// /// The deserialization information for the current model @@ -52,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"clientMappings", n => { ClientMappings = n.GetObjectValue(MappingsRepresentation_clientMappings.CreateFromDiscriminatorValue); } }, - {"realmMappings", n => { RealmMappings = n.GetCollectionOfObjectValues(RoleRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "clientMappings", n => { ClientMappings = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.MappingsRepresentation_clientMappings.CreateFromDiscriminatorValue); } }, + { "realmMappings", n => { RealmMappings = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -63,8 +64,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("clientMappings", ClientMappings); - writer.WriteCollectionOfObjectValues("realmMappings", RealmMappings); + writer.WriteObjectValue("clientMappings", ClientMappings); + writer.WriteCollectionOfObjectValues("realmMappings", RealmMappings); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/MappingsRepresentation_clientMappings.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/MappingsRepresentation_clientMappings.cs index eec53632..35e2e74c 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/MappingsRepresentation_clientMappings.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/MappingsRepresentation_clientMappings.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class MappingsRepresentation_clientMappings : IAdditionalDataHolder, IParsable + public class MappingsRepresentation_clientMappings : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public MappingsRepresentation_clientMappings() { @@ -21,12 +22,12 @@ public MappingsRepresentation_clientMappings() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static MappingsRepresentation_clientMappings CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.MappingsRepresentation_clientMappings CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new MappingsRepresentation_clientMappings(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.MappingsRepresentation_clientMappings(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/MultivaluedHashMapStringComponentExportRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/MultivaluedHashMapStringComponentExportRepresentation.cs index a92abaa3..4843ac42 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/MultivaluedHashMapStringComponentExportRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/MultivaluedHashMapStringComponentExportRepresentation.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class MultivaluedHashMapStringComponentExportRepresentation : IAdditionalDataHolder, IParsable + public class MultivaluedHashMapStringComponentExportRepresentation : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public MultivaluedHashMapStringComponentExportRepresentation() { @@ -21,12 +22,12 @@ public MultivaluedHashMapStringComponentExportRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static MultivaluedHashMapStringComponentExportRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.MultivaluedHashMapStringComponentExportRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new MultivaluedHashMapStringComponentExportRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.MultivaluedHashMapStringComponentExportRepresentation(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/MultivaluedHashMapStringString.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/MultivaluedHashMapStringString.cs index 9235db83..1ddbc1d6 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/MultivaluedHashMapStringString.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/MultivaluedHashMapStringString.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class MultivaluedHashMapStringString : IAdditionalDataHolder, IParsable + public class MultivaluedHashMapStringString : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public MultivaluedHashMapStringString() { @@ -21,12 +22,12 @@ public MultivaluedHashMapStringString() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static MultivaluedHashMapStringString CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.MultivaluedHashMapStringString CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new MultivaluedHashMapStringString(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.MultivaluedHashMapStringString(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation.cs index 99f1cacd..05474417 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation.cs @@ -4,19 +4,20 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ [Obsolete("")] #pragma warning disable CS1591 - public class OAuthClientRepresentation : IAdditionalDataHolder, IParsable + public class OAuthClientRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// The access property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public OAuthClientRepresentation_access? Access { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_access? Access { get; set; } #nullable restore #else - public OAuthClientRepresentation_access Access { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_access Access { get; set; } #endif /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -33,28 +34,28 @@ public class OAuthClientRepresentation : IAdditionalDataHolder, IParsable /// The attributes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public OAuthClientRepresentation_attributes? Attributes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_attributes? Attributes { get; set; } #nullable restore #else - public OAuthClientRepresentation_attributes Attributes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_attributes Attributes { get; set; } #endif /// The authenticationFlowBindingOverrides property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public OAuthClientRepresentation_authenticationFlowBindingOverrides? AuthenticationFlowBindingOverrides { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_authenticationFlowBindingOverrides? AuthenticationFlowBindingOverrides { get; set; } #nullable restore #else - public OAuthClientRepresentation_authenticationFlowBindingOverrides AuthenticationFlowBindingOverrides { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_authenticationFlowBindingOverrides AuthenticationFlowBindingOverrides { get; set; } #endif /// The authorizationServicesEnabled property public bool? AuthorizationServicesEnabled { get; set; } /// The authorizationSettings property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public ResourceServerRepresentation? AuthorizationSettings { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceServerRepresentation? AuthorizationSettings { get; set; } #nullable restore #else - public ResourceServerRepresentation AuthorizationSettings { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceServerRepresentation AuthorizationSettings { get; set; } #endif /// The baseUrl property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -70,10 +71,10 @@ public class OAuthClientRepresentation : IAdditionalDataHolder, IParsable [Obsolete("")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public OAuthClientRepresentation_claims? Claims { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_claims? Claims { get; set; } #nullable restore #else - public OAuthClientRepresentation_claims Claims { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_claims Claims { get; set; } #endif /// The clientAuthenticatorType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -187,10 +188,10 @@ public class OAuthClientRepresentation : IAdditionalDataHolder, IParsable /// The protocolMappers property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? ProtocolMappers { get; set; } + public List? ProtocolMappers { get; set; } #nullable restore #else - public List ProtocolMappers { get; set; } + public List ProtocolMappers { get; set; } #endif /// The publicClient property public bool? PublicClient { get; set; } @@ -205,10 +206,10 @@ public class OAuthClientRepresentation : IAdditionalDataHolder, IParsable /// The registeredNodes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public OAuthClientRepresentation_registeredNodes? RegisteredNodes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_registeredNodes? RegisteredNodes { get; set; } #nullable restore #else - public OAuthClientRepresentation_registeredNodes RegisteredNodes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_registeredNodes RegisteredNodes { get; set; } #endif /// The registrationAccessToken property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -240,6 +241,14 @@ public class OAuthClientRepresentation : IAdditionalDataHolder, IParsable public bool? StandardFlowEnabled { get; set; } /// The surrogateAuthRequired property public bool? SurrogateAuthRequired { get; set; } + /// The type property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Type { get; set; } +#nullable restore +#else + public string Type { get; set; } +#endif /// The useTemplateConfig property [Obsolete("")] public bool? UseTemplateConfig { get; set; } @@ -258,7 +267,7 @@ public class OAuthClientRepresentation : IAdditionalDataHolder, IParsable public List WebOrigins { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public OAuthClientRepresentation() { @@ -267,12 +276,12 @@ public OAuthClientRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static OAuthClientRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new OAuthClientRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation(); } /// /// The deserialization information for the current model @@ -282,50 +291,51 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"access", n => { Access = n.GetObjectValue(OAuthClientRepresentation_access.CreateFromDiscriminatorValue); } }, - {"adminUrl", n => { AdminUrl = n.GetStringValue(); } }, - {"alwaysDisplayInConsole", n => { AlwaysDisplayInConsole = n.GetBoolValue(); } }, - {"attributes", n => { Attributes = n.GetObjectValue(OAuthClientRepresentation_attributes.CreateFromDiscriminatorValue); } }, - {"authenticationFlowBindingOverrides", n => { AuthenticationFlowBindingOverrides = n.GetObjectValue(OAuthClientRepresentation_authenticationFlowBindingOverrides.CreateFromDiscriminatorValue); } }, - {"authorizationServicesEnabled", n => { AuthorizationServicesEnabled = n.GetBoolValue(); } }, - {"authorizationSettings", n => { AuthorizationSettings = n.GetObjectValue(ResourceServerRepresentation.CreateFromDiscriminatorValue); } }, - {"baseUrl", n => { BaseUrl = n.GetStringValue(); } }, - {"bearerOnly", n => { BearerOnly = n.GetBoolValue(); } }, - {"claims", n => { Claims = n.GetObjectValue(OAuthClientRepresentation_claims.CreateFromDiscriminatorValue); } }, - {"clientAuthenticatorType", n => { ClientAuthenticatorType = n.GetStringValue(); } }, - {"clientId", n => { ClientId = n.GetStringValue(); } }, - {"clientTemplate", n => { ClientTemplate = n.GetStringValue(); } }, - {"consentRequired", n => { ConsentRequired = n.GetBoolValue(); } }, - {"defaultClientScopes", n => { DefaultClientScopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"defaultRoles", n => { DefaultRoles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"directAccessGrantsEnabled", n => { DirectAccessGrantsEnabled = n.GetBoolValue(); } }, - {"directGrantsOnly", n => { DirectGrantsOnly = n.GetBoolValue(); } }, - {"enabled", n => { Enabled = n.GetBoolValue(); } }, - {"frontchannelLogout", n => { FrontchannelLogout = n.GetBoolValue(); } }, - {"fullScopeAllowed", n => { FullScopeAllowed = n.GetBoolValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"implicitFlowEnabled", n => { ImplicitFlowEnabled = n.GetBoolValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"nodeReRegistrationTimeout", n => { NodeReRegistrationTimeout = n.GetIntValue(); } }, - {"notBefore", n => { NotBefore = n.GetIntValue(); } }, - {"optionalClientScopes", n => { OptionalClientScopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"origin", n => { Origin = n.GetStringValue(); } }, - {"protocol", n => { Protocol = n.GetStringValue(); } }, - {"protocolMappers", n => { ProtocolMappers = n.GetCollectionOfObjectValues(ProtocolMapperRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"publicClient", n => { PublicClient = n.GetBoolValue(); } }, - {"redirectUris", n => { RedirectUris = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"registeredNodes", n => { RegisteredNodes = n.GetObjectValue(OAuthClientRepresentation_registeredNodes.CreateFromDiscriminatorValue); } }, - {"registrationAccessToken", n => { RegistrationAccessToken = n.GetStringValue(); } }, - {"rootUrl", n => { RootUrl = n.GetStringValue(); } }, - {"secret", n => { Secret = n.GetStringValue(); } }, - {"serviceAccountsEnabled", n => { ServiceAccountsEnabled = n.GetBoolValue(); } }, - {"standardFlowEnabled", n => { StandardFlowEnabled = n.GetBoolValue(); } }, - {"surrogateAuthRequired", n => { SurrogateAuthRequired = n.GetBoolValue(); } }, - {"useTemplateConfig", n => { UseTemplateConfig = n.GetBoolValue(); } }, - {"useTemplateMappers", n => { UseTemplateMappers = n.GetBoolValue(); } }, - {"useTemplateScope", n => { UseTemplateScope = n.GetBoolValue(); } }, - {"webOrigins", n => { WebOrigins = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "access", n => { Access = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_access.CreateFromDiscriminatorValue); } }, + { "adminUrl", n => { AdminUrl = n.GetStringValue(); } }, + { "alwaysDisplayInConsole", n => { AlwaysDisplayInConsole = n.GetBoolValue(); } }, + { "attributes", n => { Attributes = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_attributes.CreateFromDiscriminatorValue); } }, + { "authenticationFlowBindingOverrides", n => { AuthenticationFlowBindingOverrides = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_authenticationFlowBindingOverrides.CreateFromDiscriminatorValue); } }, + { "authorizationServicesEnabled", n => { AuthorizationServicesEnabled = n.GetBoolValue(); } }, + { "authorizationSettings", n => { AuthorizationSettings = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceServerRepresentation.CreateFromDiscriminatorValue); } }, + { "baseUrl", n => { BaseUrl = n.GetStringValue(); } }, + { "bearerOnly", n => { BearerOnly = n.GetBoolValue(); } }, + { "claims", n => { Claims = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_claims.CreateFromDiscriminatorValue); } }, + { "clientAuthenticatorType", n => { ClientAuthenticatorType = n.GetStringValue(); } }, + { "clientId", n => { ClientId = n.GetStringValue(); } }, + { "clientTemplate", n => { ClientTemplate = n.GetStringValue(); } }, + { "consentRequired", n => { ConsentRequired = n.GetBoolValue(); } }, + { "defaultClientScopes", n => { DefaultClientScopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "defaultRoles", n => { DefaultRoles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "directAccessGrantsEnabled", n => { DirectAccessGrantsEnabled = n.GetBoolValue(); } }, + { "directGrantsOnly", n => { DirectGrantsOnly = n.GetBoolValue(); } }, + { "enabled", n => { Enabled = n.GetBoolValue(); } }, + { "frontchannelLogout", n => { FrontchannelLogout = n.GetBoolValue(); } }, + { "fullScopeAllowed", n => { FullScopeAllowed = n.GetBoolValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "implicitFlowEnabled", n => { ImplicitFlowEnabled = n.GetBoolValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "nodeReRegistrationTimeout", n => { NodeReRegistrationTimeout = n.GetIntValue(); } }, + { "notBefore", n => { NotBefore = n.GetIntValue(); } }, + { "optionalClientScopes", n => { OptionalClientScopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "origin", n => { Origin = n.GetStringValue(); } }, + { "protocol", n => { Protocol = n.GetStringValue(); } }, + { "protocolMappers", n => { ProtocolMappers = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "publicClient", n => { PublicClient = n.GetBoolValue(); } }, + { "redirectUris", n => { RedirectUris = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "registeredNodes", n => { RegisteredNodes = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_registeredNodes.CreateFromDiscriminatorValue); } }, + { "registrationAccessToken", n => { RegistrationAccessToken = n.GetStringValue(); } }, + { "rootUrl", n => { RootUrl = n.GetStringValue(); } }, + { "secret", n => { Secret = n.GetStringValue(); } }, + { "serviceAccountsEnabled", n => { ServiceAccountsEnabled = n.GetBoolValue(); } }, + { "standardFlowEnabled", n => { StandardFlowEnabled = n.GetBoolValue(); } }, + { "surrogateAuthRequired", n => { SurrogateAuthRequired = n.GetBoolValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, + { "useTemplateConfig", n => { UseTemplateConfig = n.GetBoolValue(); } }, + { "useTemplateMappers", n => { UseTemplateMappers = n.GetBoolValue(); } }, + { "useTemplateScope", n => { UseTemplateScope = n.GetBoolValue(); } }, + { "webOrigins", n => { WebOrigins = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// @@ -335,16 +345,16 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("access", Access); + writer.WriteObjectValue("access", Access); writer.WriteStringValue("adminUrl", AdminUrl); writer.WriteBoolValue("alwaysDisplayInConsole", AlwaysDisplayInConsole); - writer.WriteObjectValue("attributes", Attributes); - writer.WriteObjectValue("authenticationFlowBindingOverrides", AuthenticationFlowBindingOverrides); + writer.WriteObjectValue("attributes", Attributes); + writer.WriteObjectValue("authenticationFlowBindingOverrides", AuthenticationFlowBindingOverrides); writer.WriteBoolValue("authorizationServicesEnabled", AuthorizationServicesEnabled); - writer.WriteObjectValue("authorizationSettings", AuthorizationSettings); + writer.WriteObjectValue("authorizationSettings", AuthorizationSettings); writer.WriteStringValue("baseUrl", BaseUrl); writer.WriteBoolValue("bearerOnly", BearerOnly); - writer.WriteObjectValue("claims", Claims); + writer.WriteObjectValue("claims", Claims); writer.WriteStringValue("clientAuthenticatorType", ClientAuthenticatorType); writer.WriteStringValue("clientId", ClientId); writer.WriteStringValue("clientTemplate", ClientTemplate); @@ -365,16 +375,17 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteCollectionOfPrimitiveValues("optionalClientScopes", OptionalClientScopes); writer.WriteStringValue("origin", Origin); writer.WriteStringValue("protocol", Protocol); - writer.WriteCollectionOfObjectValues("protocolMappers", ProtocolMappers); + writer.WriteCollectionOfObjectValues("protocolMappers", ProtocolMappers); writer.WriteBoolValue("publicClient", PublicClient); writer.WriteCollectionOfPrimitiveValues("redirectUris", RedirectUris); - writer.WriteObjectValue("registeredNodes", RegisteredNodes); + writer.WriteObjectValue("registeredNodes", RegisteredNodes); writer.WriteStringValue("registrationAccessToken", RegistrationAccessToken); writer.WriteStringValue("rootUrl", RootUrl); writer.WriteStringValue("secret", Secret); writer.WriteBoolValue("serviceAccountsEnabled", ServiceAccountsEnabled); writer.WriteBoolValue("standardFlowEnabled", StandardFlowEnabled); writer.WriteBoolValue("surrogateAuthRequired", SurrogateAuthRequired); + writer.WriteStringValue("type", Type); writer.WriteBoolValue("useTemplateConfig", UseTemplateConfig); writer.WriteBoolValue("useTemplateMappers", UseTemplateMappers); writer.WriteBoolValue("useTemplateScope", UseTemplateScope); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation_access.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation_access.cs index 74842c18..d016097e 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation_access.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation_access.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class OAuthClientRepresentation_access : IAdditionalDataHolder, IParsable + public class OAuthClientRepresentation_access : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public OAuthClientRepresentation_access() { @@ -21,12 +22,12 @@ public OAuthClientRepresentation_access() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static OAuthClientRepresentation_access CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_access CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new OAuthClientRepresentation_access(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_access(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation_attributes.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation_attributes.cs index 9d4c07fa..fc958ef0 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation_attributes.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation_attributes.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class OAuthClientRepresentation_attributes : IAdditionalDataHolder, IParsable + public class OAuthClientRepresentation_attributes : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public OAuthClientRepresentation_attributes() { @@ -21,12 +22,12 @@ public OAuthClientRepresentation_attributes() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static OAuthClientRepresentation_attributes CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_attributes CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new OAuthClientRepresentation_attributes(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_attributes(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation_authenticationFlowBindingOverrides.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation_authenticationFlowBindingOverrides.cs index 94923e59..8bec0cc5 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation_authenticationFlowBindingOverrides.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation_authenticationFlowBindingOverrides.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class OAuthClientRepresentation_authenticationFlowBindingOverrides : IAdditionalDataHolder, IParsable + public class OAuthClientRepresentation_authenticationFlowBindingOverrides : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public OAuthClientRepresentation_authenticationFlowBindingOverrides() { @@ -21,12 +22,12 @@ public OAuthClientRepresentation_authenticationFlowBindingOverrides() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static OAuthClientRepresentation_authenticationFlowBindingOverrides CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_authenticationFlowBindingOverrides CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new OAuthClientRepresentation_authenticationFlowBindingOverrides(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_authenticationFlowBindingOverrides(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation_claims.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation_claims.cs index 11b0e582..c0015fea 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation_claims.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation_claims.cs @@ -4,21 +4,22 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ [Obsolete("")] #pragma warning disable CS1591 - public class OAuthClientRepresentation_claims : ClaimRepresentation, IParsable + public class OAuthClientRepresentation_claims : Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClaimRepresentation, IParsable #pragma warning restore CS1591 { /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static new OAuthClientRepresentation_claims CreateFromDiscriminatorValue(IParseNode parseNode) + public static new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_claims CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new OAuthClientRepresentation_claims(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_claims(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation_registeredNodes.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation_registeredNodes.cs index f0068e78..1df34c42 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation_registeredNodes.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/OAuthClientRepresentation_registeredNodes.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class OAuthClientRepresentation_registeredNodes : IAdditionalDataHolder, IParsable + public class OAuthClientRepresentation_registeredNodes : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public OAuthClientRepresentation_registeredNodes() { @@ -21,12 +22,12 @@ public OAuthClientRepresentation_registeredNodes() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static OAuthClientRepresentation_registeredNodes CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_registeredNodes CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new OAuthClientRepresentation_registeredNodes(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation_registeredNodes(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/OrganizationDomainRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/OrganizationDomainRepresentation.cs new file mode 100644 index 00000000..e44b0d17 --- /dev/null +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/OrganizationDomainRepresentation.cs @@ -0,0 +1,66 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ + #pragma warning disable CS1591 + public class OrganizationDomainRepresentation : IAdditionalDataHolder, 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; set; } + /// The name property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Name { get; set; } +#nullable restore +#else + public string Name { get; set; } +#endif + /// The verified property + public bool? Verified { get; set; } + /// + /// Instantiates a new and sets the default values. + /// + public OrganizationDomainRepresentation() + { + 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 Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OrganizationDomainRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OrganizationDomainRepresentation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "name", n => { Name = n.GetStringValue(); } }, + { "verified", n => { Verified = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("name", Name); + writer.WriteBoolValue("verified", Verified); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/OrganizationRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/OrganizationRepresentation.cs new file mode 100644 index 00000000..28b2069b --- /dev/null +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/OrganizationRepresentation.cs @@ -0,0 +1,126 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ + #pragma warning disable CS1591 + public class OrganizationRepresentation : IAdditionalDataHolder, 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; set; } + /// The attributes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OrganizationRepresentation_attributes? Attributes { get; set; } +#nullable restore +#else + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OrganizationRepresentation_attributes Attributes { get; set; } +#endif + /// The description property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description { get; set; } +#nullable restore +#else + public string Description { get; set; } +#endif + /// The domains property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Domains { get; set; } +#nullable restore +#else + public List Domains { get; set; } +#endif + /// The enabled property + public bool? Enabled { get; set; } + /// The id property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Id { get; set; } +#nullable restore +#else + public string Id { get; set; } +#endif + /// The identityProviders property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? IdentityProviders { get; set; } +#nullable restore +#else + public List IdentityProviders { get; set; } +#endif + /// The members property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Members { get; set; } +#nullable restore +#else + public List Members { get; set; } +#endif + /// The name property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Name { get; set; } +#nullable restore +#else + public string Name { get; set; } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public OrganizationRepresentation() + { + 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 Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OrganizationRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OrganizationRepresentation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "attributes", n => { Attributes = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OrganizationRepresentation_attributes.CreateFromDiscriminatorValue); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "domains", n => { Domains = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OrganizationDomainRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "enabled", n => { Enabled = n.GetBoolValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "identityProviders", n => { IdentityProviders = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "members", n => { Members = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("attributes", Attributes); + writer.WriteStringValue("description", Description); + writer.WriteCollectionOfObjectValues("domains", Domains); + writer.WriteBoolValue("enabled", Enabled); + writer.WriteStringValue("id", Id); + writer.WriteCollectionOfObjectValues("identityProviders", IdentityProviders); + writer.WriteCollectionOfObjectValues("members", Members); + writer.WriteStringValue("name", Name); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/OrganizationRepresentation_attributes.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/OrganizationRepresentation_attributes.cs new file mode 100644 index 00000000..bbfa1e81 --- /dev/null +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/OrganizationRepresentation_attributes.cs @@ -0,0 +1,52 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ + #pragma warning disable CS1591 + public class OrganizationRepresentation_attributes : IAdditionalDataHolder, 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; set; } + /// + /// Instantiates a new and sets the default values. + /// + public OrganizationRepresentation_attributes() + { + 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 Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OrganizationRepresentation_attributes CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OrganizationRepresentation_attributes(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/Permission.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/Permission.cs index af47ec97..61273b81 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/Permission.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/Permission.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class Permission : IAdditionalDataHolder, IParsable + public class Permission : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -14,10 +15,10 @@ public class Permission : IAdditionalDataHolder, IParsable /// The claims property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public Permission_claims? Claims { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Permission_claims? Claims { get; set; } #nullable restore #else - public Permission_claims Claims { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Permission_claims Claims { get; set; } #endif /// The rsid property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -44,7 +45,7 @@ public class Permission : IAdditionalDataHolder, IParsable public List Scopes { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public Permission() { @@ -53,12 +54,12 @@ public Permission() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static Permission CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Permission CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new Permission(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Permission(); } /// /// The deserialization information for the current model @@ -68,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"claims", n => { Claims = n.GetObjectValue(Permission_claims.CreateFromDiscriminatorValue); } }, - {"rsid", n => { Rsid = n.GetStringValue(); } }, - {"rsname", n => { Rsname = n.GetStringValue(); } }, - {"scopes", n => { Scopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "claims", n => { Claims = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Permission_claims.CreateFromDiscriminatorValue); } }, + { "rsid", n => { Rsid = n.GetStringValue(); } }, + { "rsname", n => { Rsname = n.GetStringValue(); } }, + { "scopes", n => { Scopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// @@ -81,7 +82,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("claims", Claims); + writer.WriteObjectValue("claims", Claims); writer.WriteStringValue("rsid", Rsid); writer.WriteStringValue("rsname", Rsname); writer.WriteCollectionOfPrimitiveValues("scopes", Scopes); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/Permission_claims.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/Permission_claims.cs index 6caa6874..a6e2c98e 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/Permission_claims.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/Permission_claims.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class Permission_claims : IAdditionalDataHolder, IParsable + public class Permission_claims : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public Permission_claims() { @@ -21,12 +22,12 @@ public Permission_claims() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static Permission_claims CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Permission_claims CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new Permission_claims(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Permission_claims(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyEnforcementMode.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyEnforcementMode.cs index 834c5d58..88dcc5b2 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyEnforcementMode.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyEnforcementMode.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 public enum PolicyEnforcementMode #pragma warning restore CS1591 diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyEvaluationRequest.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyEvaluationRequest.cs index 0eb6d07b..3677f9da 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyEvaluationRequest.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyEvaluationRequest.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class PolicyEvaluationRequest : IAdditionalDataHolder, IParsable + public class PolicyEvaluationRequest : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -22,20 +23,20 @@ public class PolicyEvaluationRequest : IAdditionalDataHolder, IParsable /// The context property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public PolicyEvaluationRequest_context? Context { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyEvaluationRequest_context? Context { get; set; } #nullable restore #else - public PolicyEvaluationRequest_context Context { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyEvaluationRequest_context Context { get; set; } #endif /// The entitlements property public bool? Entitlements { get; set; } /// The resources property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Resources { get; set; } + public List? Resources { get; set; } #nullable restore #else - public List Resources { get; set; } + public List Resources { get; set; } #endif /// The roleIds property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -54,7 +55,7 @@ public class PolicyEvaluationRequest : IAdditionalDataHolder, IParsable public string UserId { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public PolicyEvaluationRequest() { @@ -63,12 +64,12 @@ public PolicyEvaluationRequest() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static PolicyEvaluationRequest CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyEvaluationRequest CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new PolicyEvaluationRequest(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyEvaluationRequest(); } /// /// The deserialization information for the current model @@ -78,12 +79,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"clientId", n => { ClientId = n.GetStringValue(); } }, - {"context", n => { Context = n.GetObjectValue(PolicyEvaluationRequest_context.CreateFromDiscriminatorValue); } }, - {"entitlements", n => { Entitlements = n.GetBoolValue(); } }, - {"resources", n => { Resources = n.GetCollectionOfObjectValues(ResourceRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"roleIds", n => { RoleIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"userId", n => { UserId = n.GetStringValue(); } }, + { "clientId", n => { ClientId = n.GetStringValue(); } }, + { "context", n => { Context = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyEvaluationRequest_context.CreateFromDiscriminatorValue); } }, + { "entitlements", n => { Entitlements = n.GetBoolValue(); } }, + { "resources", n => { Resources = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "roleIds", n => { RoleIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, }; } /// @@ -94,9 +95,9 @@ public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("clientId", ClientId); - writer.WriteObjectValue("context", Context); + writer.WriteObjectValue("context", Context); writer.WriteBoolValue("entitlements", Entitlements); - writer.WriteCollectionOfObjectValues("resources", Resources); + writer.WriteCollectionOfObjectValues("resources", Resources); writer.WriteCollectionOfPrimitiveValues("roleIds", RoleIds); writer.WriteStringValue("userId", UserId); writer.WriteAdditionalData(AdditionalData); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyEvaluationRequest_context.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyEvaluationRequest_context.cs index 4cb50d17..56a40ef1 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyEvaluationRequest_context.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyEvaluationRequest_context.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class PolicyEvaluationRequest_context : IAdditionalDataHolder, IParsable + public class PolicyEvaluationRequest_context : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public PolicyEvaluationRequest_context() { @@ -21,12 +22,12 @@ public PolicyEvaluationRequest_context() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static PolicyEvaluationRequest_context CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyEvaluationRequest_context CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new PolicyEvaluationRequest_context(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyEvaluationRequest_context(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyEvaluationResponse.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyEvaluationResponse.cs index b7198e15..fe2b12a2 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyEvaluationResponse.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyEvaluationResponse.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class PolicyEvaluationResponse : IAdditionalDataHolder, IParsable + public class PolicyEvaluationResponse : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -16,23 +17,23 @@ public class PolicyEvaluationResponse : IAdditionalDataHolder, IParsable /// The results property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Results { get; set; } + public List? Results { get; set; } #nullable restore #else - public List Results { get; set; } + public List Results { get; set; } #endif /// The rpt property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public AccessToken? Rpt { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AccessToken? Rpt { get; set; } #nullable restore #else - public AccessToken Rpt { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AccessToken Rpt { get; set; } #endif /// The status property - public DecisionEffect? Status { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.DecisionEffect? Status { get; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public PolicyEvaluationResponse() { @@ -41,12 +42,12 @@ public PolicyEvaluationResponse() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static PolicyEvaluationResponse CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyEvaluationResponse CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new PolicyEvaluationResponse(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyEvaluationResponse(); } /// /// The deserialization information for the current model @@ -56,10 +57,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"entitlements", n => { Entitlements = n.GetBoolValue(); } }, - {"results", n => { Results = n.GetCollectionOfObjectValues(EvaluationResultRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"rpt", n => { Rpt = n.GetObjectValue(AccessToken.CreateFromDiscriminatorValue); } }, - {"status", n => { Status = n.GetEnumValue(); } }, + { "entitlements", n => { Entitlements = n.GetBoolValue(); } }, + { "results", n => { Results = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.EvaluationResultRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "rpt", n => { Rpt = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AccessToken.CreateFromDiscriminatorValue); } }, + { "status", n => { Status = n.GetEnumValue(); } }, }; } /// @@ -70,9 +71,9 @@ public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteBoolValue("entitlements", Entitlements); - writer.WriteCollectionOfObjectValues("results", Results); - writer.WriteObjectValue("rpt", Rpt); - writer.WriteEnumValue("status", Status); + writer.WriteCollectionOfObjectValues("results", Results); + writer.WriteObjectValue("rpt", Rpt); + writer.WriteEnumValue("status", Status); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyProviderRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyProviderRepresentation.cs index a0c556e9..37d1b570 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyProviderRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyProviderRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class PolicyProviderRepresentation : IAdditionalDataHolder, IParsable + public class PolicyProviderRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -36,7 +37,7 @@ public class PolicyProviderRepresentation : IAdditionalDataHolder, IParsable public string Type { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public PolicyProviderRepresentation() { @@ -45,12 +46,12 @@ public PolicyProviderRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static PolicyProviderRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyProviderRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new PolicyProviderRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyProviderRepresentation(); } /// /// The deserialization information for the current model @@ -60,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"group", n => { Group = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "group", n => { Group = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyRepresentation.cs index eee1d0e2..42ac5bfb 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class PolicyRepresentation : IAdditionalDataHolder, IParsable + public class PolicyRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -14,10 +15,10 @@ public class PolicyRepresentation : IAdditionalDataHolder, IParsable /// The config property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public PolicyRepresentation_config? Config { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyRepresentation_config? Config { get; set; } #nullable restore #else - public PolicyRepresentation_config Config { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyRepresentation_config Config { get; set; } #endif /// The decisionStrategy property public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.DecisionStrategy? DecisionStrategy { get; set; } @@ -74,10 +75,10 @@ public class PolicyRepresentation : IAdditionalDataHolder, IParsable /// The resourcesData property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? ResourcesData { get; set; } + public List? ResourcesData { get; set; } #nullable restore #else - public List ResourcesData { get; set; } + public List ResourcesData { get; set; } #endif /// The scopes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -90,10 +91,10 @@ public class PolicyRepresentation : IAdditionalDataHolder, IParsable /// The scopesData property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? ScopesData { get; set; } + public List? ScopesData { get; set; } #nullable restore #else - public List ScopesData { get; set; } + public List ScopesData { get; set; } #endif /// The type property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -104,7 +105,7 @@ public class PolicyRepresentation : IAdditionalDataHolder, IParsable public string Type { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public PolicyRepresentation() { @@ -113,12 +114,12 @@ public PolicyRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static PolicyRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new PolicyRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyRepresentation(); } /// /// The deserialization information for the current model @@ -128,19 +129,19 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"config", n => { Config = n.GetObjectValue(PolicyRepresentation_config.CreateFromDiscriminatorValue); } }, - {"decisionStrategy", n => { DecisionStrategy = n.GetEnumValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"logic", n => { Logic = n.GetEnumValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"owner", n => { Owner = n.GetStringValue(); } }, - {"policies", n => { Policies = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"resources", n => { Resources = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"resourcesData", n => { ResourcesData = n.GetCollectionOfObjectValues(ResourceRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"scopes", n => { Scopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"scopesData", n => { ScopesData = n.GetCollectionOfObjectValues(ScopeRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"type", n => { Type = n.GetStringValue(); } }, + { "config", n => { Config = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyRepresentation_config.CreateFromDiscriminatorValue); } }, + { "decisionStrategy", n => { DecisionStrategy = n.GetEnumValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "logic", n => { Logic = n.GetEnumValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "owner", n => { Owner = n.GetStringValue(); } }, + { "policies", n => { Policies = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "resources", n => { Resources = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "resourcesData", n => { ResourcesData = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "scopes", n => { Scopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "scopesData", n => { ScopesData = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "type", n => { Type = n.GetStringValue(); } }, }; } /// @@ -150,18 +151,18 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("config", Config); - writer.WriteEnumValue("decisionStrategy", DecisionStrategy); + writer.WriteObjectValue("config", Config); + writer.WriteEnumValue("decisionStrategy", DecisionStrategy); writer.WriteStringValue("description", Description); writer.WriteStringValue("id", Id); - writer.WriteEnumValue("logic", Logic); + writer.WriteEnumValue("logic", Logic); writer.WriteStringValue("name", Name); writer.WriteStringValue("owner", Owner); writer.WriteCollectionOfPrimitiveValues("policies", Policies); writer.WriteCollectionOfPrimitiveValues("resources", Resources); - writer.WriteCollectionOfObjectValues("resourcesData", ResourcesData); + writer.WriteCollectionOfObjectValues("resourcesData", ResourcesData); writer.WriteCollectionOfPrimitiveValues("scopes", Scopes); - writer.WriteCollectionOfObjectValues("scopesData", ScopesData); + writer.WriteCollectionOfObjectValues("scopesData", ScopesData); writer.WriteStringValue("type", Type); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyRepresentation_config.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyRepresentation_config.cs index 4505d594..a54ba2ff 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyRepresentation_config.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyRepresentation_config.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class PolicyRepresentation_config : IAdditionalDataHolder, IParsable + public class PolicyRepresentation_config : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public PolicyRepresentation_config() { @@ -21,12 +22,12 @@ public PolicyRepresentation_config() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static PolicyRepresentation_config CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyRepresentation_config CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new PolicyRepresentation_config(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyRepresentation_config(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyResultRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyResultRepresentation.cs index 04faf75b..59622385 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyResultRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/PolicyResultRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class PolicyResultRepresentation : IAdditionalDataHolder, IParsable + public class PolicyResultRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -14,18 +15,18 @@ public class PolicyResultRepresentation : IAdditionalDataHolder, IParsable /// The associatedPolicies property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? AssociatedPolicies { get; set; } + public List? AssociatedPolicies { get; set; } #nullable restore #else - public List AssociatedPolicies { get; set; } + public List AssociatedPolicies { get; set; } #endif /// The policy property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public PolicyRepresentation? Policy { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyRepresentation? Policy { get; set; } #nullable restore #else - public PolicyRepresentation Policy { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyRepresentation Policy { get; set; } #endif /// The scopes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -36,9 +37,9 @@ public class PolicyResultRepresentation : IAdditionalDataHolder, IParsable public List Scopes { get; set; } #endif /// The status property - public DecisionEffect? Status { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.DecisionEffect? Status { get; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public PolicyResultRepresentation() { @@ -47,12 +48,12 @@ public PolicyResultRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static PolicyResultRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyResultRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new PolicyResultRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyResultRepresentation(); } /// /// The deserialization information for the current model @@ -62,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"associatedPolicies", n => { AssociatedPolicies = n.GetCollectionOfObjectValues(PolicyResultRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"policy", n => { Policy = n.GetObjectValue(PolicyRepresentation.CreateFromDiscriminatorValue); } }, - {"scopes", n => { Scopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"status", n => { Status = n.GetEnumValue(); } }, + { "associatedPolicies", n => { AssociatedPolicies = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyResultRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "policy", n => { Policy = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyRepresentation.CreateFromDiscriminatorValue); } }, + { "scopes", n => { Scopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, }; } /// @@ -75,10 +76,10 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("associatedPolicies", AssociatedPolicies); - writer.WriteObjectValue("policy", Policy); + writer.WriteCollectionOfObjectValues("associatedPolicies", AssociatedPolicies); + writer.WriteObjectValue("policy", Policy); writer.WriteCollectionOfPrimitiveValues("scopes", Scopes); - writer.WriteEnumValue("status", Status); + writer.WriteEnumValue("status", Status); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ProtocolMapperEvaluationRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ProtocolMapperEvaluationRepresentation.cs index 6e2a5a37..745a98c4 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ProtocolMapperEvaluationRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ProtocolMapperEvaluationRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ProtocolMapperEvaluationRepresentation : IAdditionalDataHolder, IParsable + public class ProtocolMapperEvaluationRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -60,7 +61,7 @@ public class ProtocolMapperEvaluationRepresentation : IAdditionalDataHolder, IPa public string ProtocolMapper { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ProtocolMapperEvaluationRepresentation() { @@ -69,12 +70,12 @@ public ProtocolMapperEvaluationRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ProtocolMapperEvaluationRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperEvaluationRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ProtocolMapperEvaluationRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperEvaluationRepresentation(); } /// /// The deserialization information for the current model @@ -84,12 +85,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"containerId", n => { ContainerId = n.GetStringValue(); } }, - {"containerName", n => { ContainerName = n.GetStringValue(); } }, - {"containerType", n => { ContainerType = n.GetStringValue(); } }, - {"mapperId", n => { MapperId = n.GetStringValue(); } }, - {"mapperName", n => { MapperName = n.GetStringValue(); } }, - {"protocolMapper", n => { ProtocolMapper = n.GetStringValue(); } }, + { "containerId", n => { ContainerId = n.GetStringValue(); } }, + { "containerName", n => { ContainerName = n.GetStringValue(); } }, + { "containerType", n => { ContainerType = n.GetStringValue(); } }, + { "mapperId", n => { MapperId = n.GetStringValue(); } }, + { "mapperName", n => { MapperName = n.GetStringValue(); } }, + { "protocolMapper", n => { ProtocolMapper = n.GetStringValue(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ProtocolMapperRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ProtocolMapperRepresentation.cs index 2000d8d0..695d5421 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ProtocolMapperRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ProtocolMapperRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ProtocolMapperRepresentation : IAdditionalDataHolder, IParsable + public class ProtocolMapperRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -14,10 +15,10 @@ public class ProtocolMapperRepresentation : IAdditionalDataHolder, IParsable /// The config property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public ProtocolMapperRepresentation_config? Config { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation_config? Config { get; set; } #nullable restore #else - public ProtocolMapperRepresentation_config Config { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation_config Config { get; set; } #endif /// The consentRequired property [Obsolete("")] @@ -64,7 +65,7 @@ public class ProtocolMapperRepresentation : IAdditionalDataHolder, IParsable public string ProtocolMapper { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ProtocolMapperRepresentation() { @@ -73,12 +74,12 @@ public ProtocolMapperRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ProtocolMapperRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ProtocolMapperRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation(); } /// /// The deserialization information for the current model @@ -88,13 +89,13 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"config", n => { Config = n.GetObjectValue(ProtocolMapperRepresentation_config.CreateFromDiscriminatorValue); } }, - {"consentRequired", n => { ConsentRequired = n.GetBoolValue(); } }, - {"consentText", n => { ConsentText = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"protocol", n => { Protocol = n.GetStringValue(); } }, - {"protocolMapper", n => { ProtocolMapper = n.GetStringValue(); } }, + { "config", n => { Config = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation_config.CreateFromDiscriminatorValue); } }, + { "consentRequired", n => { ConsentRequired = n.GetBoolValue(); } }, + { "consentText", n => { ConsentText = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "protocol", n => { Protocol = n.GetStringValue(); } }, + { "protocolMapper", n => { ProtocolMapper = n.GetStringValue(); } }, }; } /// @@ -104,7 +105,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("config", Config); + writer.WriteObjectValue("config", Config); writer.WriteBoolValue("consentRequired", ConsentRequired); writer.WriteStringValue("consentText", ConsentText); writer.WriteStringValue("id", Id); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ProtocolMapperRepresentation_config.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ProtocolMapperRepresentation_config.cs index 0fd707d3..51cea5ea 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ProtocolMapperRepresentation_config.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ProtocolMapperRepresentation_config.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ProtocolMapperRepresentation_config : IAdditionalDataHolder, IParsable + public class ProtocolMapperRepresentation_config : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ProtocolMapperRepresentation_config() { @@ -21,12 +22,12 @@ public ProtocolMapperRepresentation_config() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ProtocolMapperRepresentation_config CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation_config CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ProtocolMapperRepresentation_config(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation_config(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmEventsConfigRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmEventsConfigRepresentation.cs index 93a67223..3d2b6b25 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmEventsConfigRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmEventsConfigRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class RealmEventsConfigRepresentation : IAdditionalDataHolder, IParsable + public class RealmEventsConfigRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -36,7 +37,7 @@ public class RealmEventsConfigRepresentation : IAdditionalDataHolder, IParsable public List EventsListeners { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public RealmEventsConfigRepresentation() { @@ -45,12 +46,12 @@ public RealmEventsConfigRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static RealmEventsConfigRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmEventsConfigRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new RealmEventsConfigRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmEventsConfigRepresentation(); } /// /// The deserialization information for the current model @@ -60,12 +61,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"adminEventsDetailsEnabled", n => { AdminEventsDetailsEnabled = n.GetBoolValue(); } }, - {"adminEventsEnabled", n => { AdminEventsEnabled = n.GetBoolValue(); } }, - {"enabledEventTypes", n => { EnabledEventTypes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"eventsEnabled", n => { EventsEnabled = n.GetBoolValue(); } }, - {"eventsExpiration", n => { EventsExpiration = n.GetLongValue(); } }, - {"eventsListeners", n => { EventsListeners = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "adminEventsDetailsEnabled", n => { AdminEventsDetailsEnabled = n.GetBoolValue(); } }, + { "adminEventsEnabled", n => { AdminEventsEnabled = n.GetBoolValue(); } }, + { "enabledEventTypes", n => { EnabledEventTypes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "eventsEnabled", n => { EventsEnabled = n.GetBoolValue(); } }, + { "eventsExpiration", n => { EventsExpiration = n.GetLongValue(); } }, + { "eventsListeners", n => { EventsListeners = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation.cs index 4413a785..037c069f 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class RealmRepresentation : IAdditionalDataHolder, IParsable + public class RealmRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// The accessCodeLifespan property @@ -49,43 +50,43 @@ public class RealmRepresentation : IAdditionalDataHolder, IParsable [Obsolete("")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Applications { get; set; } + public List? Applications { get; set; } #nullable restore #else - public List Applications { get; set; } + public List Applications { get; set; } #endif /// The applicationScopeMappings property [Obsolete("")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RealmRepresentation_applicationScopeMappings? ApplicationScopeMappings { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_applicationScopeMappings? ApplicationScopeMappings { get; set; } #nullable restore #else - public RealmRepresentation_applicationScopeMappings ApplicationScopeMappings { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_applicationScopeMappings ApplicationScopeMappings { get; set; } #endif /// The attributes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RealmRepresentation_attributes? Attributes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_attributes? Attributes { get; set; } #nullable restore #else - public RealmRepresentation_attributes Attributes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_attributes Attributes { get; set; } #endif /// The authenticationFlows property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? AuthenticationFlows { get; set; } + public List? AuthenticationFlows { get; set; } #nullable restore #else - public List AuthenticationFlows { get; set; } + public List AuthenticationFlows { get; set; } #endif /// The authenticatorConfig property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? AuthenticatorConfig { get; set; } + public List? AuthenticatorConfig { get; set; } #nullable restore #else - public List AuthenticatorConfig { get; set; } + public List AuthenticatorConfig { get; set; } #endif /// The browserFlow property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -98,10 +99,10 @@ public class RealmRepresentation : IAdditionalDataHolder, IParsable /// The browserSecurityHeaders property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RealmRepresentation_browserSecurityHeaders? BrowserSecurityHeaders { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_browserSecurityHeaders? BrowserSecurityHeaders { get; set; } #nullable restore #else - public RealmRepresentation_browserSecurityHeaders BrowserSecurityHeaders { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_browserSecurityHeaders BrowserSecurityHeaders { get; set; } #endif /// The bruteForceProtected property public bool? BruteForceProtected { get; set; } @@ -129,42 +130,42 @@ public class RealmRepresentation : IAdditionalDataHolder, IParsable /// The clientPolicies property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public ClientPoliciesRepresentation? ClientPolicies { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientPoliciesRepresentation? ClientPolicies { get; set; } #nullable restore #else - public ClientPoliciesRepresentation ClientPolicies { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientPoliciesRepresentation ClientPolicies { get; set; } #endif /// The clientProfiles property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public ClientProfilesRepresentation? ClientProfiles { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientProfilesRepresentation? ClientProfiles { get; set; } #nullable restore #else - public ClientProfilesRepresentation ClientProfiles { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientProfilesRepresentation ClientProfiles { get; set; } #endif /// The clients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Clients { get; set; } + public List? Clients { get; set; } #nullable restore #else - public List Clients { get; set; } + public List Clients { get; set; } #endif /// The clientScopeMappings property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RealmRepresentation_clientScopeMappings? ClientScopeMappings { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_clientScopeMappings? ClientScopeMappings { get; set; } #nullable restore #else - public RealmRepresentation_clientScopeMappings ClientScopeMappings { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_clientScopeMappings ClientScopeMappings { get; set; } #endif /// The clientScopes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? ClientScopes { get; set; } + public List? ClientScopes { get; set; } #nullable restore #else - public List ClientScopes { get; set; } + public List ClientScopes { get; set; } #endif /// The clientSessionIdleTimeout property public int? ClientSessionIdleTimeout { get; set; } @@ -174,10 +175,10 @@ public class RealmRepresentation : IAdditionalDataHolder, IParsable [Obsolete("")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? ClientTemplates { get; set; } + public List? ClientTemplates { get; set; } #nullable restore #else - public List ClientTemplates { get; set; } + public List ClientTemplates { get; set; } #endif /// The codeSecret property [Obsolete("")] @@ -191,10 +192,10 @@ public class RealmRepresentation : IAdditionalDataHolder, IParsable /// The components property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public MultivaluedHashMapStringComponentExportRepresentation? Components { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.MultivaluedHashMapStringComponentExportRepresentation? Components { get; set; } #nullable restore #else - public MultivaluedHashMapStringComponentExportRepresentation Components { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.MultivaluedHashMapStringComponentExportRepresentation Components { get; set; } #endif /// The defaultDefaultClientScopes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -231,10 +232,10 @@ public class RealmRepresentation : IAdditionalDataHolder, IParsable /// The defaultRole property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RoleRepresentation? DefaultRole { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation? DefaultRole { get; set; } #nullable restore #else - public RoleRepresentation DefaultRole { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation DefaultRole { get; set; } #endif /// The defaultRoles property [Obsolete("")] @@ -324,10 +325,10 @@ public class RealmRepresentation : IAdditionalDataHolder, IParsable /// The federatedUsers property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? FederatedUsers { get; set; } + public List? FederatedUsers { get; set; } #nullable restore #else - public List FederatedUsers { get; set; } + public List FederatedUsers { get; set; } #endif /// The firstBrokerLoginFlow property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -340,10 +341,10 @@ public class RealmRepresentation : IAdditionalDataHolder, IParsable /// The groups property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Groups { get; set; } + public List? Groups { get; set; } #nullable restore #else - public List Groups { get; set; } + public List Groups { get; set; } #endif /// The id property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -356,18 +357,18 @@ public class RealmRepresentation : IAdditionalDataHolder, IParsable /// The identityProviderMappers property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? IdentityProviderMappers { get; set; } + public List? IdentityProviderMappers { get; set; } #nullable restore #else - public List IdentityProviderMappers { get; set; } + public List IdentityProviderMappers { get; set; } #endif /// The identityProviders property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? IdentityProviders { get; set; } + public List? IdentityProviders { get; set; } #nullable restore #else - public List IdentityProviders { get; set; } + public List IdentityProviders { get; set; } #endif /// The internationalizationEnabled property public bool? InternationalizationEnabled { get; set; } @@ -382,10 +383,10 @@ public class RealmRepresentation : IAdditionalDataHolder, IParsable /// The localizationTexts property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RealmRepresentation_localizationTexts? LocalizationTexts { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_localizationTexts? LocalizationTexts { get; set; } #nullable restore #else - public RealmRepresentation_localizationTexts LocalizationTexts { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_localizationTexts LocalizationTexts { get; set; } #endif /// The loginTheme property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -415,10 +416,10 @@ public class RealmRepresentation : IAdditionalDataHolder, IParsable [Obsolete("")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? OauthClients { get; set; } + public List? OauthClients { get; set; } #nullable restore #else - public List OauthClients { get; set; } + public List OauthClients { get; set; } #endif /// The offlineSessionIdleTimeout property public int? OfflineSessionIdleTimeout { get; set; } @@ -426,6 +427,16 @@ public class RealmRepresentation : IAdditionalDataHolder, IParsable public int? OfflineSessionMaxLifespan { get; set; } /// The offlineSessionMaxLifespanEnabled property public bool? OfflineSessionMaxLifespanEnabled { get; set; } + /// The organizations property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Organizations { get; set; } +#nullable restore +#else + public List Organizations { get; set; } +#endif + /// The organizationsEnabled property + public bool? OrganizationsEnabled { get; set; } /// The otpPolicyAlgorithm property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -485,10 +496,10 @@ public class RealmRepresentation : IAdditionalDataHolder, IParsable /// The protocolMappers property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? ProtocolMappers { get; set; } + public List? ProtocolMappers { get; set; } #nullable restore #else - public List ProtocolMappers { get; set; } + public List ProtocolMappers { get; set; } #endif /// The publicKey property [Obsolete("")] @@ -535,10 +546,10 @@ public class RealmRepresentation : IAdditionalDataHolder, IParsable /// The requiredActions property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? RequiredActions { get; set; } + public List? RequiredActions { get; set; } #nullable restore #else - public List RequiredActions { get; set; } + public List RequiredActions { get; set; } #endif /// The requiredCredentials property [Obsolete("")] @@ -564,26 +575,26 @@ public class RealmRepresentation : IAdditionalDataHolder, IParsable /// The roles property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RolesRepresentation? Roles { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RolesRepresentation? Roles { get; set; } #nullable restore #else - public RolesRepresentation Roles { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RolesRepresentation Roles { get; set; } #endif /// The scopeMappings property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? ScopeMappings { get; set; } + public List? ScopeMappings { get; set; } #nullable restore #else - public List ScopeMappings { get; set; } + public List ScopeMappings { get; set; } #endif /// The smtpServer property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RealmRepresentation_smtpServer? SmtpServer { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_smtpServer? SmtpServer { get; set; } #nullable restore #else - public RealmRepresentation_smtpServer SmtpServer { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_smtpServer SmtpServer { get; set; } #endif /// The social property [Obsolete("")] @@ -592,10 +603,10 @@ public class RealmRepresentation : IAdditionalDataHolder, IParsable [Obsolete("")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RealmRepresentation_socialProviders? SocialProviders { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_socialProviders? SocialProviders { get; set; } #nullable restore #else - public RealmRepresentation_socialProviders SocialProviders { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_socialProviders SocialProviders { get; set; } #endif /// The sslRequired property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -630,28 +641,28 @@ public class RealmRepresentation : IAdditionalDataHolder, IParsable /// The userFederationMappers property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? UserFederationMappers { get; set; } + public List? UserFederationMappers { get; set; } #nullable restore #else - public List UserFederationMappers { get; set; } + public List UserFederationMappers { get; set; } #endif /// The userFederationProviders property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? UserFederationProviders { get; set; } + public List? UserFederationProviders { get; set; } #nullable restore #else - public List UserFederationProviders { get; set; } + public List UserFederationProviders { get; set; } #endif /// The userManagedAccessAllowed property public bool? UserManagedAccessAllowed { get; set; } /// The users property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Users { get; set; } + public List? Users { get; set; } #nullable restore #else - public List Users { get; set; } + public List Users { get; set; } #endif /// The verifyEmail property public bool? VerifyEmail { get; set; } @@ -810,7 +821,7 @@ public class RealmRepresentation : IAdditionalDataHolder, IParsable public string WebAuthnPolicyUserVerificationRequirement { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public RealmRepresentation() { @@ -819,12 +830,12 @@ public RealmRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static RealmRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new RealmRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation(); } /// /// The deserialization information for the current model @@ -834,151 +845,153 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"accessCodeLifespan", n => { AccessCodeLifespan = n.GetIntValue(); } }, - {"accessCodeLifespanLogin", n => { AccessCodeLifespanLogin = n.GetIntValue(); } }, - {"accessCodeLifespanUserAction", n => { AccessCodeLifespanUserAction = n.GetIntValue(); } }, - {"accessTokenLifespan", n => { AccessTokenLifespan = n.GetIntValue(); } }, - {"accessTokenLifespanForImplicitFlow", n => { AccessTokenLifespanForImplicitFlow = n.GetIntValue(); } }, - {"accountTheme", n => { AccountTheme = n.GetStringValue(); } }, - {"actionTokenGeneratedByAdminLifespan", n => { ActionTokenGeneratedByAdminLifespan = n.GetIntValue(); } }, - {"actionTokenGeneratedByUserLifespan", n => { ActionTokenGeneratedByUserLifespan = n.GetIntValue(); } }, - {"adminEventsDetailsEnabled", n => { AdminEventsDetailsEnabled = n.GetBoolValue(); } }, - {"adminEventsEnabled", n => { AdminEventsEnabled = n.GetBoolValue(); } }, - {"adminTheme", n => { AdminTheme = n.GetStringValue(); } }, - {"applicationScopeMappings", n => { ApplicationScopeMappings = n.GetObjectValue(RealmRepresentation_applicationScopeMappings.CreateFromDiscriminatorValue); } }, - {"applications", n => { Applications = n.GetCollectionOfObjectValues(ApplicationRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"attributes", n => { Attributes = n.GetObjectValue(RealmRepresentation_attributes.CreateFromDiscriminatorValue); } }, - {"authenticationFlows", n => { AuthenticationFlows = n.GetCollectionOfObjectValues(AuthenticationFlowRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"authenticatorConfig", n => { AuthenticatorConfig = n.GetCollectionOfObjectValues(AuthenticatorConfigRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"browserFlow", n => { BrowserFlow = n.GetStringValue(); } }, - {"browserSecurityHeaders", n => { BrowserSecurityHeaders = n.GetObjectValue(RealmRepresentation_browserSecurityHeaders.CreateFromDiscriminatorValue); } }, - {"bruteForceProtected", n => { BruteForceProtected = n.GetBoolValue(); } }, - {"certificate", n => { Certificate = n.GetStringValue(); } }, - {"clientAuthenticationFlow", n => { ClientAuthenticationFlow = n.GetStringValue(); } }, - {"clientOfflineSessionIdleTimeout", n => { ClientOfflineSessionIdleTimeout = n.GetIntValue(); } }, - {"clientOfflineSessionMaxLifespan", n => { ClientOfflineSessionMaxLifespan = n.GetIntValue(); } }, - {"clientPolicies", n => { ClientPolicies = n.GetObjectValue(ClientPoliciesRepresentation.CreateFromDiscriminatorValue); } }, - {"clientProfiles", n => { ClientProfiles = n.GetObjectValue(ClientProfilesRepresentation.CreateFromDiscriminatorValue); } }, - {"clientScopeMappings", n => { ClientScopeMappings = n.GetObjectValue(RealmRepresentation_clientScopeMappings.CreateFromDiscriminatorValue); } }, - {"clientScopes", n => { ClientScopes = n.GetCollectionOfObjectValues(ClientScopeRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"clientSessionIdleTimeout", n => { ClientSessionIdleTimeout = n.GetIntValue(); } }, - {"clientSessionMaxLifespan", n => { ClientSessionMaxLifespan = n.GetIntValue(); } }, - {"clientTemplates", n => { ClientTemplates = n.GetCollectionOfObjectValues(ClientTemplateRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"clients", n => { Clients = n.GetCollectionOfObjectValues(ClientRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"codeSecret", n => { CodeSecret = n.GetStringValue(); } }, - {"components", n => { Components = n.GetObjectValue(MultivaluedHashMapStringComponentExportRepresentation.CreateFromDiscriminatorValue); } }, - {"defaultDefaultClientScopes", n => { DefaultDefaultClientScopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"defaultGroups", n => { DefaultGroups = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"defaultLocale", n => { DefaultLocale = n.GetStringValue(); } }, - {"defaultOptionalClientScopes", n => { DefaultOptionalClientScopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"defaultRole", n => { DefaultRole = n.GetObjectValue(RoleRepresentation.CreateFromDiscriminatorValue); } }, - {"defaultRoles", n => { DefaultRoles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"defaultSignatureAlgorithm", n => { DefaultSignatureAlgorithm = n.GetStringValue(); } }, - {"directGrantFlow", n => { DirectGrantFlow = n.GetStringValue(); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"displayNameHtml", n => { DisplayNameHtml = n.GetStringValue(); } }, - {"dockerAuthenticationFlow", n => { DockerAuthenticationFlow = n.GetStringValue(); } }, - {"duplicateEmailsAllowed", n => { DuplicateEmailsAllowed = n.GetBoolValue(); } }, - {"editUsernameAllowed", n => { EditUsernameAllowed = n.GetBoolValue(); } }, - {"emailTheme", n => { EmailTheme = n.GetStringValue(); } }, - {"enabled", n => { Enabled = n.GetBoolValue(); } }, - {"enabledEventTypes", n => { EnabledEventTypes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"eventsEnabled", n => { EventsEnabled = n.GetBoolValue(); } }, - {"eventsExpiration", n => { EventsExpiration = n.GetLongValue(); } }, - {"eventsListeners", n => { EventsListeners = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"failureFactor", n => { FailureFactor = n.GetIntValue(); } }, - {"federatedUsers", n => { FederatedUsers = n.GetCollectionOfObjectValues(UserRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"firstBrokerLoginFlow", n => { FirstBrokerLoginFlow = n.GetStringValue(); } }, - {"groups", n => { Groups = n.GetCollectionOfObjectValues(GroupRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"identityProviderMappers", n => { IdentityProviderMappers = n.GetCollectionOfObjectValues(IdentityProviderMapperRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"identityProviders", n => { IdentityProviders = n.GetCollectionOfObjectValues(IdentityProviderRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"internationalizationEnabled", n => { InternationalizationEnabled = n.GetBoolValue(); } }, - {"keycloakVersion", n => { KeycloakVersion = n.GetStringValue(); } }, - {"localizationTexts", n => { LocalizationTexts = n.GetObjectValue(RealmRepresentation_localizationTexts.CreateFromDiscriminatorValue); } }, - {"loginTheme", n => { LoginTheme = n.GetStringValue(); } }, - {"loginWithEmailAllowed", n => { LoginWithEmailAllowed = n.GetBoolValue(); } }, - {"maxDeltaTimeSeconds", n => { MaxDeltaTimeSeconds = n.GetIntValue(); } }, - {"maxFailureWaitSeconds", n => { MaxFailureWaitSeconds = n.GetIntValue(); } }, - {"maxTemporaryLockouts", n => { MaxTemporaryLockouts = n.GetIntValue(); } }, - {"minimumQuickLoginWaitSeconds", n => { MinimumQuickLoginWaitSeconds = n.GetIntValue(); } }, - {"notBefore", n => { NotBefore = n.GetIntValue(); } }, - {"oauth2DeviceCodeLifespan", n => { Oauth2DeviceCodeLifespan = n.GetIntValue(); } }, - {"oauth2DevicePollingInterval", n => { Oauth2DevicePollingInterval = n.GetIntValue(); } }, - {"oauthClients", n => { OauthClients = n.GetCollectionOfObjectValues(OAuthClientRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"offlineSessionIdleTimeout", n => { OfflineSessionIdleTimeout = n.GetIntValue(); } }, - {"offlineSessionMaxLifespan", n => { OfflineSessionMaxLifespan = n.GetIntValue(); } }, - {"offlineSessionMaxLifespanEnabled", n => { OfflineSessionMaxLifespanEnabled = n.GetBoolValue(); } }, - {"otpPolicyAlgorithm", n => { OtpPolicyAlgorithm = n.GetStringValue(); } }, - {"otpPolicyCodeReusable", n => { OtpPolicyCodeReusable = n.GetBoolValue(); } }, - {"otpPolicyDigits", n => { OtpPolicyDigits = n.GetIntValue(); } }, - {"otpPolicyInitialCounter", n => { OtpPolicyInitialCounter = n.GetIntValue(); } }, - {"otpPolicyLookAheadWindow", n => { OtpPolicyLookAheadWindow = n.GetIntValue(); } }, - {"otpPolicyPeriod", n => { OtpPolicyPeriod = n.GetIntValue(); } }, - {"otpPolicyType", n => { OtpPolicyType = n.GetStringValue(); } }, - {"otpSupportedApplications", n => { OtpSupportedApplications = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"passwordCredentialGrantAllowed", n => { PasswordCredentialGrantAllowed = n.GetBoolValue(); } }, - {"passwordPolicy", n => { PasswordPolicy = n.GetStringValue(); } }, - {"permanentLockout", n => { PermanentLockout = n.GetBoolValue(); } }, - {"privateKey", n => { PrivateKey = n.GetStringValue(); } }, - {"protocolMappers", n => { ProtocolMappers = n.GetCollectionOfObjectValues(ProtocolMapperRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"publicKey", n => { PublicKey = n.GetStringValue(); } }, - {"quickLoginCheckMilliSeconds", n => { QuickLoginCheckMilliSeconds = n.GetLongValue(); } }, - {"realm", n => { Realm = n.GetStringValue(); } }, - {"realmCacheEnabled", n => { RealmCacheEnabled = n.GetBoolValue(); } }, - {"oAuth2DeviceCodeLifespan", n => { RealmRepresentationOAuth2DeviceCodeLifespan = n.GetIntValue(); } }, - {"oAuth2DevicePollingInterval", n => { RealmRepresentationOAuth2DevicePollingInterval = n.GetIntValue(); } }, - {"refreshTokenMaxReuse", n => { RefreshTokenMaxReuse = n.GetIntValue(); } }, - {"registrationAllowed", n => { RegistrationAllowed = n.GetBoolValue(); } }, - {"registrationEmailAsUsername", n => { RegistrationEmailAsUsername = n.GetBoolValue(); } }, - {"registrationFlow", n => { RegistrationFlow = n.GetStringValue(); } }, - {"rememberMe", n => { RememberMe = n.GetBoolValue(); } }, - {"requiredActions", n => { RequiredActions = n.GetCollectionOfObjectValues(RequiredActionProviderRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"requiredCredentials", n => { RequiredCredentials = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"resetCredentialsFlow", n => { ResetCredentialsFlow = n.GetStringValue(); } }, - {"resetPasswordAllowed", n => { ResetPasswordAllowed = n.GetBoolValue(); } }, - {"revokeRefreshToken", n => { RevokeRefreshToken = n.GetBoolValue(); } }, - {"roles", n => { Roles = n.GetObjectValue(RolesRepresentation.CreateFromDiscriminatorValue); } }, - {"scopeMappings", n => { ScopeMappings = n.GetCollectionOfObjectValues(ScopeMappingRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"smtpServer", n => { SmtpServer = n.GetObjectValue(RealmRepresentation_smtpServer.CreateFromDiscriminatorValue); } }, - {"social", n => { Social = n.GetBoolValue(); } }, - {"socialProviders", n => { SocialProviders = n.GetObjectValue(RealmRepresentation_socialProviders.CreateFromDiscriminatorValue); } }, - {"sslRequired", n => { SslRequired = n.GetStringValue(); } }, - {"ssoSessionIdleTimeout", n => { SsoSessionIdleTimeout = n.GetIntValue(); } }, - {"ssoSessionIdleTimeoutRememberMe", n => { SsoSessionIdleTimeoutRememberMe = n.GetIntValue(); } }, - {"ssoSessionMaxLifespan", n => { SsoSessionMaxLifespan = n.GetIntValue(); } }, - {"ssoSessionMaxLifespanRememberMe", n => { SsoSessionMaxLifespanRememberMe = n.GetIntValue(); } }, - {"supportedLocales", n => { SupportedLocales = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"updateProfileOnInitialSocialLogin", n => { UpdateProfileOnInitialSocialLogin = n.GetBoolValue(); } }, - {"userCacheEnabled", n => { UserCacheEnabled = n.GetBoolValue(); } }, - {"userFederationMappers", n => { UserFederationMappers = n.GetCollectionOfObjectValues(UserFederationMapperRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userFederationProviders", n => { UserFederationProviders = n.GetCollectionOfObjectValues(UserFederationProviderRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"userManagedAccessAllowed", n => { UserManagedAccessAllowed = n.GetBoolValue(); } }, - {"users", n => { Users = n.GetCollectionOfObjectValues(UserRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"verifyEmail", n => { VerifyEmail = n.GetBoolValue(); } }, - {"waitIncrementSeconds", n => { WaitIncrementSeconds = n.GetIntValue(); } }, - {"webAuthnPolicyAcceptableAaguids", n => { WebAuthnPolicyAcceptableAaguids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"webAuthnPolicyAttestationConveyancePreference", n => { WebAuthnPolicyAttestationConveyancePreference = n.GetStringValue(); } }, - {"webAuthnPolicyAuthenticatorAttachment", n => { WebAuthnPolicyAuthenticatorAttachment = n.GetStringValue(); } }, - {"webAuthnPolicyAvoidSameAuthenticatorRegister", n => { WebAuthnPolicyAvoidSameAuthenticatorRegister = n.GetBoolValue(); } }, - {"webAuthnPolicyCreateTimeout", n => { WebAuthnPolicyCreateTimeout = n.GetIntValue(); } }, - {"webAuthnPolicyExtraOrigins", n => { WebAuthnPolicyExtraOrigins = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"webAuthnPolicyPasswordlessAcceptableAaguids", n => { WebAuthnPolicyPasswordlessAcceptableAaguids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"webAuthnPolicyPasswordlessAttestationConveyancePreference", n => { WebAuthnPolicyPasswordlessAttestationConveyancePreference = n.GetStringValue(); } }, - {"webAuthnPolicyPasswordlessAuthenticatorAttachment", n => { WebAuthnPolicyPasswordlessAuthenticatorAttachment = n.GetStringValue(); } }, - {"webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister", n => { WebAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister = n.GetBoolValue(); } }, - {"webAuthnPolicyPasswordlessCreateTimeout", n => { WebAuthnPolicyPasswordlessCreateTimeout = n.GetIntValue(); } }, - {"webAuthnPolicyPasswordlessExtraOrigins", n => { WebAuthnPolicyPasswordlessExtraOrigins = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"webAuthnPolicyPasswordlessRequireResidentKey", n => { WebAuthnPolicyPasswordlessRequireResidentKey = n.GetStringValue(); } }, - {"webAuthnPolicyPasswordlessRpEntityName", n => { WebAuthnPolicyPasswordlessRpEntityName = n.GetStringValue(); } }, - {"webAuthnPolicyPasswordlessRpId", n => { WebAuthnPolicyPasswordlessRpId = n.GetStringValue(); } }, - {"webAuthnPolicyPasswordlessSignatureAlgorithms", n => { WebAuthnPolicyPasswordlessSignatureAlgorithms = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"webAuthnPolicyPasswordlessUserVerificationRequirement", n => { WebAuthnPolicyPasswordlessUserVerificationRequirement = n.GetStringValue(); } }, - {"webAuthnPolicyRequireResidentKey", n => { WebAuthnPolicyRequireResidentKey = n.GetStringValue(); } }, - {"webAuthnPolicyRpEntityName", n => { WebAuthnPolicyRpEntityName = n.GetStringValue(); } }, - {"webAuthnPolicyRpId", n => { WebAuthnPolicyRpId = n.GetStringValue(); } }, - {"webAuthnPolicySignatureAlgorithms", n => { WebAuthnPolicySignatureAlgorithms = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"webAuthnPolicyUserVerificationRequirement", n => { WebAuthnPolicyUserVerificationRequirement = n.GetStringValue(); } }, + { "accessCodeLifespan", n => { AccessCodeLifespan = n.GetIntValue(); } }, + { "accessCodeLifespanLogin", n => { AccessCodeLifespanLogin = n.GetIntValue(); } }, + { "accessCodeLifespanUserAction", n => { AccessCodeLifespanUserAction = n.GetIntValue(); } }, + { "accessTokenLifespan", n => { AccessTokenLifespan = n.GetIntValue(); } }, + { "accessTokenLifespanForImplicitFlow", n => { AccessTokenLifespanForImplicitFlow = n.GetIntValue(); } }, + { "accountTheme", n => { AccountTheme = n.GetStringValue(); } }, + { "actionTokenGeneratedByAdminLifespan", n => { ActionTokenGeneratedByAdminLifespan = n.GetIntValue(); } }, + { "actionTokenGeneratedByUserLifespan", n => { ActionTokenGeneratedByUserLifespan = n.GetIntValue(); } }, + { "adminEventsDetailsEnabled", n => { AdminEventsDetailsEnabled = n.GetBoolValue(); } }, + { "adminEventsEnabled", n => { AdminEventsEnabled = n.GetBoolValue(); } }, + { "adminTheme", n => { AdminTheme = n.GetStringValue(); } }, + { "applicationScopeMappings", n => { ApplicationScopeMappings = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_applicationScopeMappings.CreateFromDiscriminatorValue); } }, + { "applications", n => { Applications = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ApplicationRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "attributes", n => { Attributes = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_attributes.CreateFromDiscriminatorValue); } }, + { "authenticationFlows", n => { AuthenticationFlows = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticationFlowRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "authenticatorConfig", n => { AuthenticatorConfig = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.AuthenticatorConfigRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "browserFlow", n => { BrowserFlow = n.GetStringValue(); } }, + { "browserSecurityHeaders", n => { BrowserSecurityHeaders = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_browserSecurityHeaders.CreateFromDiscriminatorValue); } }, + { "bruteForceProtected", n => { BruteForceProtected = n.GetBoolValue(); } }, + { "certificate", n => { Certificate = n.GetStringValue(); } }, + { "clientAuthenticationFlow", n => { ClientAuthenticationFlow = n.GetStringValue(); } }, + { "clientOfflineSessionIdleTimeout", n => { ClientOfflineSessionIdleTimeout = n.GetIntValue(); } }, + { "clientOfflineSessionMaxLifespan", n => { ClientOfflineSessionMaxLifespan = n.GetIntValue(); } }, + { "clientPolicies", n => { ClientPolicies = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientPoliciesRepresentation.CreateFromDiscriminatorValue); } }, + { "clientProfiles", n => { ClientProfiles = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientProfilesRepresentation.CreateFromDiscriminatorValue); } }, + { "clientScopeMappings", n => { ClientScopeMappings = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_clientScopeMappings.CreateFromDiscriminatorValue); } }, + { "clientScopes", n => { ClientScopes = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientScopeRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "clientSessionIdleTimeout", n => { ClientSessionIdleTimeout = n.GetIntValue(); } }, + { "clientSessionMaxLifespan", n => { ClientSessionMaxLifespan = n.GetIntValue(); } }, + { "clientTemplates", n => { ClientTemplates = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientTemplateRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "clients", n => { Clients = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ClientRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "codeSecret", n => { CodeSecret = n.GetStringValue(); } }, + { "components", n => { Components = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.MultivaluedHashMapStringComponentExportRepresentation.CreateFromDiscriminatorValue); } }, + { "defaultDefaultClientScopes", n => { DefaultDefaultClientScopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "defaultGroups", n => { DefaultGroups = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "defaultLocale", n => { DefaultLocale = n.GetStringValue(); } }, + { "defaultOptionalClientScopes", n => { DefaultOptionalClientScopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "defaultRole", n => { DefaultRole = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue); } }, + { "defaultRoles", n => { DefaultRoles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "defaultSignatureAlgorithm", n => { DefaultSignatureAlgorithm = n.GetStringValue(); } }, + { "directGrantFlow", n => { DirectGrantFlow = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "displayNameHtml", n => { DisplayNameHtml = n.GetStringValue(); } }, + { "dockerAuthenticationFlow", n => { DockerAuthenticationFlow = n.GetStringValue(); } }, + { "duplicateEmailsAllowed", n => { DuplicateEmailsAllowed = n.GetBoolValue(); } }, + { "editUsernameAllowed", n => { EditUsernameAllowed = n.GetBoolValue(); } }, + { "emailTheme", n => { EmailTheme = n.GetStringValue(); } }, + { "enabled", n => { Enabled = n.GetBoolValue(); } }, + { "enabledEventTypes", n => { EnabledEventTypes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "eventsEnabled", n => { EventsEnabled = n.GetBoolValue(); } }, + { "eventsExpiration", n => { EventsExpiration = n.GetLongValue(); } }, + { "eventsListeners", n => { EventsListeners = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "failureFactor", n => { FailureFactor = n.GetIntValue(); } }, + { "federatedUsers", n => { FederatedUsers = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "firstBrokerLoginFlow", n => { FirstBrokerLoginFlow = n.GetStringValue(); } }, + { "groups", n => { Groups = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.GroupRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "identityProviderMappers", n => { IdentityProviderMappers = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderMapperRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "identityProviders", n => { IdentityProviders = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.IdentityProviderRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "internationalizationEnabled", n => { InternationalizationEnabled = n.GetBoolValue(); } }, + { "keycloakVersion", n => { KeycloakVersion = n.GetStringValue(); } }, + { "localizationTexts", n => { LocalizationTexts = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_localizationTexts.CreateFromDiscriminatorValue); } }, + { "loginTheme", n => { LoginTheme = n.GetStringValue(); } }, + { "loginWithEmailAllowed", n => { LoginWithEmailAllowed = n.GetBoolValue(); } }, + { "maxDeltaTimeSeconds", n => { MaxDeltaTimeSeconds = n.GetIntValue(); } }, + { "maxFailureWaitSeconds", n => { MaxFailureWaitSeconds = n.GetIntValue(); } }, + { "maxTemporaryLockouts", n => { MaxTemporaryLockouts = n.GetIntValue(); } }, + { "minimumQuickLoginWaitSeconds", n => { MinimumQuickLoginWaitSeconds = n.GetIntValue(); } }, + { "notBefore", n => { NotBefore = n.GetIntValue(); } }, + { "oauth2DeviceCodeLifespan", n => { Oauth2DeviceCodeLifespan = n.GetIntValue(); } }, + { "oauth2DevicePollingInterval", n => { Oauth2DevicePollingInterval = n.GetIntValue(); } }, + { "oauthClients", n => { OauthClients = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OAuthClientRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "offlineSessionIdleTimeout", n => { OfflineSessionIdleTimeout = n.GetIntValue(); } }, + { "offlineSessionMaxLifespan", n => { OfflineSessionMaxLifespan = n.GetIntValue(); } }, + { "offlineSessionMaxLifespanEnabled", n => { OfflineSessionMaxLifespanEnabled = n.GetBoolValue(); } }, + { "organizations", n => { Organizations = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.OrganizationRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "organizationsEnabled", n => { OrganizationsEnabled = n.GetBoolValue(); } }, + { "otpPolicyAlgorithm", n => { OtpPolicyAlgorithm = n.GetStringValue(); } }, + { "otpPolicyCodeReusable", n => { OtpPolicyCodeReusable = n.GetBoolValue(); } }, + { "otpPolicyDigits", n => { OtpPolicyDigits = n.GetIntValue(); } }, + { "otpPolicyInitialCounter", n => { OtpPolicyInitialCounter = n.GetIntValue(); } }, + { "otpPolicyLookAheadWindow", n => { OtpPolicyLookAheadWindow = n.GetIntValue(); } }, + { "otpPolicyPeriod", n => { OtpPolicyPeriod = n.GetIntValue(); } }, + { "otpPolicyType", n => { OtpPolicyType = n.GetStringValue(); } }, + { "otpSupportedApplications", n => { OtpSupportedApplications = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "passwordCredentialGrantAllowed", n => { PasswordCredentialGrantAllowed = n.GetBoolValue(); } }, + { "passwordPolicy", n => { PasswordPolicy = n.GetStringValue(); } }, + { "permanentLockout", n => { PermanentLockout = n.GetBoolValue(); } }, + { "privateKey", n => { PrivateKey = n.GetStringValue(); } }, + { "protocolMappers", n => { ProtocolMappers = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ProtocolMapperRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "publicKey", n => { PublicKey = n.GetStringValue(); } }, + { "quickLoginCheckMilliSeconds", n => { QuickLoginCheckMilliSeconds = n.GetLongValue(); } }, + { "realm", n => { Realm = n.GetStringValue(); } }, + { "realmCacheEnabled", n => { RealmCacheEnabled = n.GetBoolValue(); } }, + { "oAuth2DeviceCodeLifespan", n => { RealmRepresentationOAuth2DeviceCodeLifespan = n.GetIntValue(); } }, + { "oAuth2DevicePollingInterval", n => { RealmRepresentationOAuth2DevicePollingInterval = n.GetIntValue(); } }, + { "refreshTokenMaxReuse", n => { RefreshTokenMaxReuse = n.GetIntValue(); } }, + { "registrationAllowed", n => { RegistrationAllowed = n.GetBoolValue(); } }, + { "registrationEmailAsUsername", n => { RegistrationEmailAsUsername = n.GetBoolValue(); } }, + { "registrationFlow", n => { RegistrationFlow = n.GetStringValue(); } }, + { "rememberMe", n => { RememberMe = n.GetBoolValue(); } }, + { "requiredActions", n => { RequiredActions = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionProviderRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "requiredCredentials", n => { RequiredCredentials = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "resetCredentialsFlow", n => { ResetCredentialsFlow = n.GetStringValue(); } }, + { "resetPasswordAllowed", n => { ResetPasswordAllowed = n.GetBoolValue(); } }, + { "revokeRefreshToken", n => { RevokeRefreshToken = n.GetBoolValue(); } }, + { "roles", n => { Roles = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RolesRepresentation.CreateFromDiscriminatorValue); } }, + { "scopeMappings", n => { ScopeMappings = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeMappingRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "smtpServer", n => { SmtpServer = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_smtpServer.CreateFromDiscriminatorValue); } }, + { "social", n => { Social = n.GetBoolValue(); } }, + { "socialProviders", n => { SocialProviders = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_socialProviders.CreateFromDiscriminatorValue); } }, + { "sslRequired", n => { SslRequired = n.GetStringValue(); } }, + { "ssoSessionIdleTimeout", n => { SsoSessionIdleTimeout = n.GetIntValue(); } }, + { "ssoSessionIdleTimeoutRememberMe", n => { SsoSessionIdleTimeoutRememberMe = n.GetIntValue(); } }, + { "ssoSessionMaxLifespan", n => { SsoSessionMaxLifespan = n.GetIntValue(); } }, + { "ssoSessionMaxLifespanRememberMe", n => { SsoSessionMaxLifespanRememberMe = n.GetIntValue(); } }, + { "supportedLocales", n => { SupportedLocales = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "updateProfileOnInitialSocialLogin", n => { UpdateProfileOnInitialSocialLogin = n.GetBoolValue(); } }, + { "userCacheEnabled", n => { UserCacheEnabled = n.GetBoolValue(); } }, + { "userFederationMappers", n => { UserFederationMappers = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserFederationMapperRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userFederationProviders", n => { UserFederationProviders = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserFederationProviderRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "userManagedAccessAllowed", n => { UserManagedAccessAllowed = n.GetBoolValue(); } }, + { "users", n => { Users = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "verifyEmail", n => { VerifyEmail = n.GetBoolValue(); } }, + { "waitIncrementSeconds", n => { WaitIncrementSeconds = n.GetIntValue(); } }, + { "webAuthnPolicyAcceptableAaguids", n => { WebAuthnPolicyAcceptableAaguids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "webAuthnPolicyAttestationConveyancePreference", n => { WebAuthnPolicyAttestationConveyancePreference = n.GetStringValue(); } }, + { "webAuthnPolicyAuthenticatorAttachment", n => { WebAuthnPolicyAuthenticatorAttachment = n.GetStringValue(); } }, + { "webAuthnPolicyAvoidSameAuthenticatorRegister", n => { WebAuthnPolicyAvoidSameAuthenticatorRegister = n.GetBoolValue(); } }, + { "webAuthnPolicyCreateTimeout", n => { WebAuthnPolicyCreateTimeout = n.GetIntValue(); } }, + { "webAuthnPolicyExtraOrigins", n => { WebAuthnPolicyExtraOrigins = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "webAuthnPolicyPasswordlessAcceptableAaguids", n => { WebAuthnPolicyPasswordlessAcceptableAaguids = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "webAuthnPolicyPasswordlessAttestationConveyancePreference", n => { WebAuthnPolicyPasswordlessAttestationConveyancePreference = n.GetStringValue(); } }, + { "webAuthnPolicyPasswordlessAuthenticatorAttachment", n => { WebAuthnPolicyPasswordlessAuthenticatorAttachment = n.GetStringValue(); } }, + { "webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister", n => { WebAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister = n.GetBoolValue(); } }, + { "webAuthnPolicyPasswordlessCreateTimeout", n => { WebAuthnPolicyPasswordlessCreateTimeout = n.GetIntValue(); } }, + { "webAuthnPolicyPasswordlessExtraOrigins", n => { WebAuthnPolicyPasswordlessExtraOrigins = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "webAuthnPolicyPasswordlessRequireResidentKey", n => { WebAuthnPolicyPasswordlessRequireResidentKey = n.GetStringValue(); } }, + { "webAuthnPolicyPasswordlessRpEntityName", n => { WebAuthnPolicyPasswordlessRpEntityName = n.GetStringValue(); } }, + { "webAuthnPolicyPasswordlessRpId", n => { WebAuthnPolicyPasswordlessRpId = n.GetStringValue(); } }, + { "webAuthnPolicyPasswordlessSignatureAlgorithms", n => { WebAuthnPolicyPasswordlessSignatureAlgorithms = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "webAuthnPolicyPasswordlessUserVerificationRequirement", n => { WebAuthnPolicyPasswordlessUserVerificationRequirement = n.GetStringValue(); } }, + { "webAuthnPolicyRequireResidentKey", n => { WebAuthnPolicyRequireResidentKey = n.GetStringValue(); } }, + { "webAuthnPolicyRpEntityName", n => { WebAuthnPolicyRpEntityName = n.GetStringValue(); } }, + { "webAuthnPolicyRpId", n => { WebAuthnPolicyRpId = n.GetStringValue(); } }, + { "webAuthnPolicySignatureAlgorithms", n => { WebAuthnPolicySignatureAlgorithms = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "webAuthnPolicyUserVerificationRequirement", n => { WebAuthnPolicyUserVerificationRequirement = n.GetStringValue(); } }, }; } /// @@ -999,33 +1012,33 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteBoolValue("adminEventsDetailsEnabled", AdminEventsDetailsEnabled); writer.WriteBoolValue("adminEventsEnabled", AdminEventsEnabled); writer.WriteStringValue("adminTheme", AdminTheme); - writer.WriteCollectionOfObjectValues("applications", Applications); - writer.WriteObjectValue("applicationScopeMappings", ApplicationScopeMappings); - writer.WriteObjectValue("attributes", Attributes); - writer.WriteCollectionOfObjectValues("authenticationFlows", AuthenticationFlows); - writer.WriteCollectionOfObjectValues("authenticatorConfig", AuthenticatorConfig); + writer.WriteCollectionOfObjectValues("applications", Applications); + writer.WriteObjectValue("applicationScopeMappings", ApplicationScopeMappings); + writer.WriteObjectValue("attributes", Attributes); + writer.WriteCollectionOfObjectValues("authenticationFlows", AuthenticationFlows); + writer.WriteCollectionOfObjectValues("authenticatorConfig", AuthenticatorConfig); writer.WriteStringValue("browserFlow", BrowserFlow); - writer.WriteObjectValue("browserSecurityHeaders", BrowserSecurityHeaders); + writer.WriteObjectValue("browserSecurityHeaders", BrowserSecurityHeaders); writer.WriteBoolValue("bruteForceProtected", BruteForceProtected); writer.WriteStringValue("certificate", Certificate); writer.WriteStringValue("clientAuthenticationFlow", ClientAuthenticationFlow); writer.WriteIntValue("clientOfflineSessionIdleTimeout", ClientOfflineSessionIdleTimeout); writer.WriteIntValue("clientOfflineSessionMaxLifespan", ClientOfflineSessionMaxLifespan); - writer.WriteObjectValue("clientPolicies", ClientPolicies); - writer.WriteObjectValue("clientProfiles", ClientProfiles); - writer.WriteCollectionOfObjectValues("clients", Clients); - writer.WriteObjectValue("clientScopeMappings", ClientScopeMappings); - writer.WriteCollectionOfObjectValues("clientScopes", ClientScopes); + writer.WriteObjectValue("clientPolicies", ClientPolicies); + writer.WriteObjectValue("clientProfiles", ClientProfiles); + writer.WriteCollectionOfObjectValues("clients", Clients); + writer.WriteObjectValue("clientScopeMappings", ClientScopeMappings); + writer.WriteCollectionOfObjectValues("clientScopes", ClientScopes); writer.WriteIntValue("clientSessionIdleTimeout", ClientSessionIdleTimeout); writer.WriteIntValue("clientSessionMaxLifespan", ClientSessionMaxLifespan); - writer.WriteCollectionOfObjectValues("clientTemplates", ClientTemplates); + writer.WriteCollectionOfObjectValues("clientTemplates", ClientTemplates); writer.WriteStringValue("codeSecret", CodeSecret); - writer.WriteObjectValue("components", Components); + writer.WriteObjectValue("components", Components); writer.WriteCollectionOfPrimitiveValues("defaultDefaultClientScopes", DefaultDefaultClientScopes); writer.WriteCollectionOfPrimitiveValues("defaultGroups", DefaultGroups); writer.WriteStringValue("defaultLocale", DefaultLocale); writer.WriteCollectionOfPrimitiveValues("defaultOptionalClientScopes", DefaultOptionalClientScopes); - writer.WriteObjectValue("defaultRole", DefaultRole); + writer.WriteObjectValue("defaultRole", DefaultRole); writer.WriteCollectionOfPrimitiveValues("defaultRoles", DefaultRoles); writer.WriteStringValue("defaultSignatureAlgorithm", DefaultSignatureAlgorithm); writer.WriteStringValue("directGrantFlow", DirectGrantFlow); @@ -1041,15 +1054,15 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteLongValue("eventsExpiration", EventsExpiration); writer.WriteCollectionOfPrimitiveValues("eventsListeners", EventsListeners); writer.WriteIntValue("failureFactor", FailureFactor); - writer.WriteCollectionOfObjectValues("federatedUsers", FederatedUsers); + writer.WriteCollectionOfObjectValues("federatedUsers", FederatedUsers); writer.WriteStringValue("firstBrokerLoginFlow", FirstBrokerLoginFlow); - writer.WriteCollectionOfObjectValues("groups", Groups); + writer.WriteCollectionOfObjectValues("groups", Groups); writer.WriteStringValue("id", Id); - writer.WriteCollectionOfObjectValues("identityProviderMappers", IdentityProviderMappers); - writer.WriteCollectionOfObjectValues("identityProviders", IdentityProviders); + writer.WriteCollectionOfObjectValues("identityProviderMappers", IdentityProviderMappers); + writer.WriteCollectionOfObjectValues("identityProviders", IdentityProviders); writer.WriteBoolValue("internationalizationEnabled", InternationalizationEnabled); writer.WriteStringValue("keycloakVersion", KeycloakVersion); - writer.WriteObjectValue("localizationTexts", LocalizationTexts); + writer.WriteObjectValue("localizationTexts", LocalizationTexts); writer.WriteStringValue("loginTheme", LoginTheme); writer.WriteBoolValue("loginWithEmailAllowed", LoginWithEmailAllowed); writer.WriteIntValue("maxDeltaTimeSeconds", MaxDeltaTimeSeconds); @@ -1059,10 +1072,12 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteIntValue("notBefore", NotBefore); writer.WriteIntValue("oauth2DeviceCodeLifespan", Oauth2DeviceCodeLifespan); writer.WriteIntValue("oauth2DevicePollingInterval", Oauth2DevicePollingInterval); - writer.WriteCollectionOfObjectValues("oauthClients", OauthClients); + writer.WriteCollectionOfObjectValues("oauthClients", OauthClients); writer.WriteIntValue("offlineSessionIdleTimeout", OfflineSessionIdleTimeout); writer.WriteIntValue("offlineSessionMaxLifespan", OfflineSessionMaxLifespan); writer.WriteBoolValue("offlineSessionMaxLifespanEnabled", OfflineSessionMaxLifespanEnabled); + writer.WriteCollectionOfObjectValues("organizations", Organizations); + writer.WriteBoolValue("organizationsEnabled", OrganizationsEnabled); writer.WriteStringValue("otpPolicyAlgorithm", OtpPolicyAlgorithm); writer.WriteBoolValue("otpPolicyCodeReusable", OtpPolicyCodeReusable); writer.WriteIntValue("otpPolicyDigits", OtpPolicyDigits); @@ -1075,7 +1090,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteStringValue("passwordPolicy", PasswordPolicy); writer.WriteBoolValue("permanentLockout", PermanentLockout); writer.WriteStringValue("privateKey", PrivateKey); - writer.WriteCollectionOfObjectValues("protocolMappers", ProtocolMappers); + writer.WriteCollectionOfObjectValues("protocolMappers", ProtocolMappers); writer.WriteStringValue("publicKey", PublicKey); writer.WriteLongValue("quickLoginCheckMilliSeconds", QuickLoginCheckMilliSeconds); writer.WriteStringValue("realm", Realm); @@ -1087,16 +1102,16 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteBoolValue("registrationEmailAsUsername", RegistrationEmailAsUsername); writer.WriteStringValue("registrationFlow", RegistrationFlow); writer.WriteBoolValue("rememberMe", RememberMe); - writer.WriteCollectionOfObjectValues("requiredActions", RequiredActions); + writer.WriteCollectionOfObjectValues("requiredActions", RequiredActions); writer.WriteCollectionOfPrimitiveValues("requiredCredentials", RequiredCredentials); writer.WriteStringValue("resetCredentialsFlow", ResetCredentialsFlow); writer.WriteBoolValue("resetPasswordAllowed", ResetPasswordAllowed); writer.WriteBoolValue("revokeRefreshToken", RevokeRefreshToken); - writer.WriteObjectValue("roles", Roles); - writer.WriteCollectionOfObjectValues("scopeMappings", ScopeMappings); - writer.WriteObjectValue("smtpServer", SmtpServer); + writer.WriteObjectValue("roles", Roles); + writer.WriteCollectionOfObjectValues("scopeMappings", ScopeMappings); + writer.WriteObjectValue("smtpServer", SmtpServer); writer.WriteBoolValue("social", Social); - writer.WriteObjectValue("socialProviders", SocialProviders); + writer.WriteObjectValue("socialProviders", SocialProviders); writer.WriteStringValue("sslRequired", SslRequired); writer.WriteIntValue("ssoSessionIdleTimeout", SsoSessionIdleTimeout); writer.WriteIntValue("ssoSessionIdleTimeoutRememberMe", SsoSessionIdleTimeoutRememberMe); @@ -1105,10 +1120,10 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteCollectionOfPrimitiveValues("supportedLocales", SupportedLocales); writer.WriteBoolValue("updateProfileOnInitialSocialLogin", UpdateProfileOnInitialSocialLogin); writer.WriteBoolValue("userCacheEnabled", UserCacheEnabled); - writer.WriteCollectionOfObjectValues("userFederationMappers", UserFederationMappers); - writer.WriteCollectionOfObjectValues("userFederationProviders", UserFederationProviders); + writer.WriteCollectionOfObjectValues("userFederationMappers", UserFederationMappers); + writer.WriteCollectionOfObjectValues("userFederationProviders", UserFederationProviders); writer.WriteBoolValue("userManagedAccessAllowed", UserManagedAccessAllowed); - writer.WriteCollectionOfObjectValues("users", Users); + writer.WriteCollectionOfObjectValues("users", Users); writer.WriteBoolValue("verifyEmail", VerifyEmail); writer.WriteIntValue("waitIncrementSeconds", WaitIncrementSeconds); writer.WriteCollectionOfPrimitiveValues("webAuthnPolicyAcceptableAaguids", WebAuthnPolicyAcceptableAaguids); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_applicationScopeMappings.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_applicationScopeMappings.cs index 9d515940..03b721c9 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_applicationScopeMappings.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_applicationScopeMappings.cs @@ -4,16 +4,17 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ [Obsolete("")] #pragma warning disable CS1591 - public class RealmRepresentation_applicationScopeMappings : IAdditionalDataHolder, IParsable + public class RealmRepresentation_applicationScopeMappings : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public RealmRepresentation_applicationScopeMappings() { @@ -22,12 +23,12 @@ public RealmRepresentation_applicationScopeMappings() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static RealmRepresentation_applicationScopeMappings CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_applicationScopeMappings CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new RealmRepresentation_applicationScopeMappings(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_applicationScopeMappings(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_attributes.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_attributes.cs index 4690d0d2..8ab9c2c0 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_attributes.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_attributes.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class RealmRepresentation_attributes : IAdditionalDataHolder, IParsable + public class RealmRepresentation_attributes : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public RealmRepresentation_attributes() { @@ -21,12 +22,12 @@ public RealmRepresentation_attributes() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static RealmRepresentation_attributes CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_attributes CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new RealmRepresentation_attributes(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_attributes(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_browserSecurityHeaders.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_browserSecurityHeaders.cs index 8cc6d35c..77695a2d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_browserSecurityHeaders.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_browserSecurityHeaders.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class RealmRepresentation_browserSecurityHeaders : IAdditionalDataHolder, IParsable + public class RealmRepresentation_browserSecurityHeaders : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public RealmRepresentation_browserSecurityHeaders() { @@ -21,12 +22,12 @@ public RealmRepresentation_browserSecurityHeaders() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static RealmRepresentation_browserSecurityHeaders CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_browserSecurityHeaders CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new RealmRepresentation_browserSecurityHeaders(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_browserSecurityHeaders(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_clientScopeMappings.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_clientScopeMappings.cs index 957100a0..58926bd5 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_clientScopeMappings.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_clientScopeMappings.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class RealmRepresentation_clientScopeMappings : IAdditionalDataHolder, IParsable + public class RealmRepresentation_clientScopeMappings : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public RealmRepresentation_clientScopeMappings() { @@ -21,12 +22,12 @@ public RealmRepresentation_clientScopeMappings() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static RealmRepresentation_clientScopeMappings CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_clientScopeMappings CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new RealmRepresentation_clientScopeMappings(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_clientScopeMappings(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_localizationTexts.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_localizationTexts.cs index 7bac847c..c47ba653 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_localizationTexts.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_localizationTexts.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class RealmRepresentation_localizationTexts : IAdditionalDataHolder, IParsable + public class RealmRepresentation_localizationTexts : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public RealmRepresentation_localizationTexts() { @@ -21,12 +22,12 @@ public RealmRepresentation_localizationTexts() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static RealmRepresentation_localizationTexts CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_localizationTexts CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new RealmRepresentation_localizationTexts(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_localizationTexts(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_smtpServer.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_smtpServer.cs index 081879e0..7f762a15 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_smtpServer.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_smtpServer.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class RealmRepresentation_smtpServer : IAdditionalDataHolder, IParsable + public class RealmRepresentation_smtpServer : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public RealmRepresentation_smtpServer() { @@ -21,12 +22,12 @@ public RealmRepresentation_smtpServer() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static RealmRepresentation_smtpServer CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_smtpServer CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new RealmRepresentation_smtpServer(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_smtpServer(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_socialProviders.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_socialProviders.cs index 7b3b72e3..06f61d01 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_socialProviders.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RealmRepresentation_socialProviders.cs @@ -4,16 +4,17 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ [Obsolete("")] #pragma warning disable CS1591 - public class RealmRepresentation_socialProviders : IAdditionalDataHolder, IParsable + public class RealmRepresentation_socialProviders : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public RealmRepresentation_socialProviders() { @@ -22,12 +23,12 @@ public RealmRepresentation_socialProviders() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static RealmRepresentation_socialProviders CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_socialProviders CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new RealmRepresentation_socialProviders(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RealmRepresentation_socialProviders(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RequiredActionConfigInfoRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RequiredActionConfigInfoRepresentation.cs new file mode 100644 index 00000000..3be806b6 --- /dev/null +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RequiredActionConfigInfoRepresentation.cs @@ -0,0 +1,62 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ + #pragma warning disable CS1591 + public class RequiredActionConfigInfoRepresentation : IAdditionalDataHolder, 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; set; } + /// The properties property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Properties { get; set; } +#nullable restore +#else + public List Properties { get; set; } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RequiredActionConfigInfoRepresentation() + { + 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 Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionConfigInfoRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionConfigInfoRepresentation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "properties", n => { Properties = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ConfigPropertyRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("properties", Properties); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RequiredActionConfigRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RequiredActionConfigRepresentation.cs new file mode 100644 index 00000000..22904eab --- /dev/null +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RequiredActionConfigRepresentation.cs @@ -0,0 +1,62 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ + #pragma warning disable CS1591 + public class RequiredActionConfigRepresentation : IAdditionalDataHolder, 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; set; } + /// The config property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionConfigRepresentation_config? Config { get; set; } +#nullable restore +#else + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionConfigRepresentation_config Config { get; set; } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RequiredActionConfigRepresentation() + { + 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 Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionConfigRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionConfigRepresentation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "config", n => { Config = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionConfigRepresentation_config.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("config", Config); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RequiredActionConfigRepresentation_config.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RequiredActionConfigRepresentation_config.cs new file mode 100644 index 00000000..8484d93d --- /dev/null +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RequiredActionConfigRepresentation_config.cs @@ -0,0 +1,52 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ + #pragma warning disable CS1591 + public class RequiredActionConfigRepresentation_config : IAdditionalDataHolder, 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; set; } + /// + /// Instantiates a new and sets the default values. + /// + public RequiredActionConfigRepresentation_config() + { + 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 Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionConfigRepresentation_config CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionConfigRepresentation_config(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RequiredActionProviderRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RequiredActionProviderRepresentation.cs index 5888963d..451a3c60 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RequiredActionProviderRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RequiredActionProviderRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class RequiredActionProviderRepresentation : IAdditionalDataHolder, IParsable + public class RequiredActionProviderRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -22,10 +23,10 @@ public class RequiredActionProviderRepresentation : IAdditionalDataHolder, IPars /// The config property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequiredActionProviderRepresentation_config? Config { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionProviderRepresentation_config? Config { get; set; } #nullable restore #else - public RequiredActionProviderRepresentation_config Config { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionProviderRepresentation_config Config { get; set; } #endif /// The defaultAction property public bool? DefaultAction { get; set; } @@ -50,7 +51,7 @@ public class RequiredActionProviderRepresentation : IAdditionalDataHolder, IPars public string ProviderId { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public RequiredActionProviderRepresentation() { @@ -59,12 +60,12 @@ public RequiredActionProviderRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static RequiredActionProviderRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionProviderRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new RequiredActionProviderRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionProviderRepresentation(); } /// /// The deserialization information for the current model @@ -74,13 +75,13 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"alias", n => { Alias = n.GetStringValue(); } }, - {"config", n => { Config = n.GetObjectValue(RequiredActionProviderRepresentation_config.CreateFromDiscriminatorValue); } }, - {"defaultAction", n => { DefaultAction = n.GetBoolValue(); } }, - {"enabled", n => { Enabled = n.GetBoolValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"priority", n => { Priority = n.GetIntValue(); } }, - {"providerId", n => { ProviderId = n.GetStringValue(); } }, + { "alias", n => { Alias = n.GetStringValue(); } }, + { "config", n => { Config = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionProviderRepresentation_config.CreateFromDiscriminatorValue); } }, + { "defaultAction", n => { DefaultAction = n.GetBoolValue(); } }, + { "enabled", n => { Enabled = n.GetBoolValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "priority", n => { Priority = n.GetIntValue(); } }, + { "providerId", n => { ProviderId = n.GetStringValue(); } }, }; } /// @@ -91,7 +92,7 @@ public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("alias", Alias); - writer.WriteObjectValue("config", Config); + writer.WriteObjectValue("config", Config); writer.WriteBoolValue("defaultAction", DefaultAction); writer.WriteBoolValue("enabled", Enabled); writer.WriteStringValue("name", Name); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RequiredActionProviderRepresentation_config.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RequiredActionProviderRepresentation_config.cs index 46cfd787..d467df33 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RequiredActionProviderRepresentation_config.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RequiredActionProviderRepresentation_config.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class RequiredActionProviderRepresentation_config : IAdditionalDataHolder, IParsable + public class RequiredActionProviderRepresentation_config : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public RequiredActionProviderRepresentation_config() { @@ -21,12 +22,12 @@ public RequiredActionProviderRepresentation_config() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static RequiredActionProviderRepresentation_config CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionProviderRepresentation_config CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new RequiredActionProviderRepresentation_config(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RequiredActionProviderRepresentation_config(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ResourceOwnerRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ResourceOwnerRepresentation.cs index ffeb00c6..73d899e7 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ResourceOwnerRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ResourceOwnerRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ResourceOwnerRepresentation : IAdditionalDataHolder, IParsable + public class ResourceOwnerRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -28,7 +29,7 @@ public class ResourceOwnerRepresentation : IAdditionalDataHolder, IParsable public string Name { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ResourceOwnerRepresentation() { @@ -37,12 +38,12 @@ public ResourceOwnerRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ResourceOwnerRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceOwnerRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ResourceOwnerRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceOwnerRepresentation(); } /// /// The deserialization information for the current model @@ -52,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"id", n => { Id = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ResourceRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ResourceRepresentation.cs index 9678f1e9..4c796843 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ResourceRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ResourceRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ResourceRepresentation : IAdditionalDataHolder, IParsable + public class ResourceRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -14,10 +15,10 @@ public class ResourceRepresentation : IAdditionalDataHolder, IParsable /// The attributes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public ResourceRepresentation_attributes? Attributes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation_attributes? Attributes { get; set; } #nullable restore #else - public ResourceRepresentation_attributes Attributes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation_attributes Attributes { get; set; } #endif /// The displayName property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -54,28 +55,28 @@ public class ResourceRepresentation : IAdditionalDataHolder, IParsable /// The owner property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public ResourceRepresentation_owner? Owner { get; private set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation_owner? Owner { get; private set; } #nullable restore #else - public ResourceRepresentation_owner Owner { get; private set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation_owner Owner { get; private set; } #endif /// The ownerManagedAccess property public bool? OwnerManagedAccess { get; set; } /// The scopes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Scopes { get; set; } + public List? Scopes { get; set; } #nullable restore #else - public List Scopes { get; set; } + public List Scopes { get; set; } #endif /// The scopesUma property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? ScopesUma { get; set; } + public List? ScopesUma { get; set; } #nullable restore #else - public List ScopesUma { get; set; } + public List ScopesUma { get; set; } #endif /// The type property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -103,7 +104,7 @@ public class ResourceRepresentation : IAdditionalDataHolder, IParsable public List Uris { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ResourceRepresentation() { @@ -112,12 +113,12 @@ public ResourceRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ResourceRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ResourceRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation(); } /// /// The deserialization information for the current model @@ -127,18 +128,18 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"attributes", n => { Attributes = n.GetObjectValue(ResourceRepresentation_attributes.CreateFromDiscriminatorValue); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"icon_uri", n => { IconUri = n.GetStringValue(); } }, - {"_id", n => { Id = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"owner", n => { Owner = n.GetObjectValue(ResourceRepresentation_owner.CreateFromDiscriminatorValue); } }, - {"ownerManagedAccess", n => { OwnerManagedAccess = n.GetBoolValue(); } }, - {"scopes", n => { Scopes = n.GetCollectionOfObjectValues(ScopeRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"scopesUma", n => { ScopesUma = n.GetCollectionOfObjectValues(ScopeRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"type", n => { Type = n.GetStringValue(); } }, - {"uri", n => { Uri = n.GetStringValue(); } }, - {"uris", n => { Uris = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "attributes", n => { Attributes = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation_attributes.CreateFromDiscriminatorValue); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "icon_uri", n => { IconUri = n.GetStringValue(); } }, + { "_id", n => { Id = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "owner", n => { Owner = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation_owner.CreateFromDiscriminatorValue); } }, + { "ownerManagedAccess", n => { OwnerManagedAccess = n.GetBoolValue(); } }, + { "scopes", n => { Scopes = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "scopesUma", n => { ScopesUma = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "type", n => { Type = n.GetStringValue(); } }, + { "uri", n => { Uri = n.GetStringValue(); } }, + { "uris", n => { Uris = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// @@ -148,14 +149,14 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("attributes", Attributes); + writer.WriteObjectValue("attributes", Attributes); writer.WriteStringValue("displayName", DisplayName); writer.WriteStringValue("icon_uri", IconUri); writer.WriteStringValue("_id", Id); writer.WriteStringValue("name", Name); writer.WriteBoolValue("ownerManagedAccess", OwnerManagedAccess); - writer.WriteCollectionOfObjectValues("scopes", Scopes); - writer.WriteCollectionOfObjectValues("scopesUma", ScopesUma); + writer.WriteCollectionOfObjectValues("scopes", Scopes); + writer.WriteCollectionOfObjectValues("scopesUma", ScopesUma); writer.WriteStringValue("type", Type); writer.WriteStringValue("uri", Uri); writer.WriteCollectionOfPrimitiveValues("uris", Uris); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ResourceRepresentation_attributes.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ResourceRepresentation_attributes.cs index 25d03c6a..971e20d9 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ResourceRepresentation_attributes.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ResourceRepresentation_attributes.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ResourceRepresentation_attributes : IAdditionalDataHolder, IParsable + public class ResourceRepresentation_attributes : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ResourceRepresentation_attributes() { @@ -21,12 +22,12 @@ public ResourceRepresentation_attributes() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ResourceRepresentation_attributes CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation_attributes CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ResourceRepresentation_attributes(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation_attributes(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ResourceRepresentation_owner.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ResourceRepresentation_owner.cs index 96d966ca..831b932f 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ResourceRepresentation_owner.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ResourceRepresentation_owner.cs @@ -4,20 +4,21 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ResourceRepresentation_owner : ResourceOwnerRepresentation, IParsable + public class ResourceRepresentation_owner : Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceOwnerRepresentation, IParsable #pragma warning restore CS1591 { /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static new ResourceRepresentation_owner CreateFromDiscriminatorValue(IParseNode parseNode) + public static new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation_owner CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ResourceRepresentation_owner(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation_owner(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ResourceServerRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ResourceServerRepresentation.cs index 08efba8c..579ef4e8 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ResourceServerRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ResourceServerRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ResourceServerRepresentation : IAdditionalDataHolder, IParsable + public class ResourceServerRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -42,31 +43,31 @@ public class ResourceServerRepresentation : IAdditionalDataHolder, IParsable /// The policies property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Policies { get; set; } + public List? Policies { get; set; } #nullable restore #else - public List Policies { get; set; } + public List Policies { get; set; } #endif /// The policyEnforcementMode property public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyEnforcementMode? PolicyEnforcementMode { get; set; } /// The resources property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Resources { get; set; } + public List? Resources { get; set; } #nullable restore #else - public List Resources { get; set; } + public List Resources { get; set; } #endif /// The scopes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Scopes { get; set; } + public List? Scopes { get; set; } #nullable restore #else - public List Scopes { get; set; } + public List Scopes { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ResourceServerRepresentation() { @@ -75,12 +76,12 @@ public ResourceServerRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ResourceServerRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceServerRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ResourceServerRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceServerRepresentation(); } /// /// The deserialization information for the current model @@ -90,15 +91,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"allowRemoteResourceManagement", n => { AllowRemoteResourceManagement = n.GetBoolValue(); } }, - {"clientId", n => { ClientId = n.GetStringValue(); } }, - {"decisionStrategy", n => { DecisionStrategy = n.GetEnumValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"policies", n => { Policies = n.GetCollectionOfObjectValues(PolicyRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"policyEnforcementMode", n => { PolicyEnforcementMode = n.GetEnumValue(); } }, - {"resources", n => { Resources = n.GetCollectionOfObjectValues(ResourceRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"scopes", n => { Scopes = n.GetCollectionOfObjectValues(ScopeRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "allowRemoteResourceManagement", n => { AllowRemoteResourceManagement = n.GetBoolValue(); } }, + { "clientId", n => { ClientId = n.GetStringValue(); } }, + { "decisionStrategy", n => { DecisionStrategy = n.GetEnumValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "policies", n => { Policies = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "policyEnforcementMode", n => { PolicyEnforcementMode = n.GetEnumValue(); } }, + { "resources", n => { Resources = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "scopes", n => { Scopes = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -110,13 +111,13 @@ public virtual void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteBoolValue("allowRemoteResourceManagement", AllowRemoteResourceManagement); writer.WriteStringValue("clientId", ClientId); - writer.WriteEnumValue("decisionStrategy", DecisionStrategy); + writer.WriteEnumValue("decisionStrategy", DecisionStrategy); writer.WriteStringValue("id", Id); writer.WriteStringValue("name", Name); - writer.WriteCollectionOfObjectValues("policies", Policies); - writer.WriteEnumValue("policyEnforcementMode", PolicyEnforcementMode); - writer.WriteCollectionOfObjectValues("resources", Resources); - writer.WriteCollectionOfObjectValues("scopes", Scopes); + writer.WriteCollectionOfObjectValues("policies", Policies); + writer.WriteEnumValue("policyEnforcementMode", PolicyEnforcementMode); + writer.WriteCollectionOfObjectValues("resources", Resources); + writer.WriteCollectionOfObjectValues("scopes", Scopes); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RoleRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RoleRepresentation.cs index fdc8a7d7..a757a8f8 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RoleRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RoleRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class RoleRepresentation : IAdditionalDataHolder, IParsable + public class RoleRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -14,10 +15,10 @@ public class RoleRepresentation : IAdditionalDataHolder, IParsable /// The attributes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RoleRepresentation_attributes? Attributes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation_attributes? Attributes { get; set; } #nullable restore #else - public RoleRepresentation_attributes Attributes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation_attributes Attributes { get; set; } #endif /// The clientRole property public bool? ClientRole { get; set; } @@ -67,7 +68,7 @@ public class RoleRepresentation : IAdditionalDataHolder, IParsable [Obsolete("")] public bool? ScopeParamRequired { get; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public RoleRepresentation() { @@ -76,12 +77,12 @@ public RoleRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static RoleRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new RoleRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation(); } /// /// The deserialization information for the current model @@ -91,15 +92,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"attributes", n => { Attributes = n.GetObjectValue(RoleRepresentation_attributes.CreateFromDiscriminatorValue); } }, - {"clientRole", n => { ClientRole = n.GetBoolValue(); } }, - {"composite", n => { Composite = n.GetBoolValue(); } }, - {"composites", n => { Composites = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Composites.CreateFromDiscriminatorValue); } }, - {"containerId", n => { ContainerId = n.GetStringValue(); } }, - {"description", n => { Description = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"scopeParamRequired", n => { ScopeParamRequired = n.GetBoolValue(); } }, + { "attributes", n => { Attributes = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation_attributes.CreateFromDiscriminatorValue); } }, + { "clientRole", n => { ClientRole = n.GetBoolValue(); } }, + { "composite", n => { Composite = n.GetBoolValue(); } }, + { "composites", n => { Composites = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.Composites.CreateFromDiscriminatorValue); } }, + { "containerId", n => { ContainerId = n.GetStringValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "scopeParamRequired", n => { ScopeParamRequired = n.GetBoolValue(); } }, }; } /// @@ -109,7 +110,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("attributes", Attributes); + writer.WriteObjectValue("attributes", Attributes); writer.WriteBoolValue("clientRole", ClientRole); writer.WriteBoolValue("composite", Composite); writer.WriteObjectValue("composites", Composites); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RoleRepresentation_attributes.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RoleRepresentation_attributes.cs index 1442ff0c..a2d9be28 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RoleRepresentation_attributes.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RoleRepresentation_attributes.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class RoleRepresentation_attributes : IAdditionalDataHolder, IParsable + public class RoleRepresentation_attributes : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public RoleRepresentation_attributes() { @@ -21,12 +22,12 @@ public RoleRepresentation_attributes() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static RoleRepresentation_attributes CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation_attributes CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new RoleRepresentation_attributes(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation_attributes(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RolesRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RolesRepresentation.cs index 6a09037f..f9f4d6dd 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RolesRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RolesRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class RolesRepresentation : IAdditionalDataHolder, IParsable + public class RolesRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -15,29 +16,29 @@ public class RolesRepresentation : IAdditionalDataHolder, IParsable [Obsolete("")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RolesRepresentation_application? Application { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RolesRepresentation_application? Application { get; set; } #nullable restore #else - public RolesRepresentation_application Application { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RolesRepresentation_application Application { get; set; } #endif /// The client property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RolesRepresentation_client? Client { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RolesRepresentation_client? Client { get; set; } #nullable restore #else - public RolesRepresentation_client Client { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RolesRepresentation_client Client { get; set; } #endif /// The realm property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Realm { get; set; } + public List? Realm { get; set; } #nullable restore #else - public List Realm { get; set; } + public List Realm { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public RolesRepresentation() { @@ -46,12 +47,12 @@ public RolesRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static RolesRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RolesRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new RolesRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RolesRepresentation(); } /// /// The deserialization information for the current model @@ -61,9 +62,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"application", n => { Application = n.GetObjectValue(RolesRepresentation_application.CreateFromDiscriminatorValue); } }, - {"client", n => { Client = n.GetObjectValue(RolesRepresentation_client.CreateFromDiscriminatorValue); } }, - {"realm", n => { Realm = n.GetCollectionOfObjectValues(RoleRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "application", n => { Application = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RolesRepresentation_application.CreateFromDiscriminatorValue); } }, + { "client", n => { Client = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RolesRepresentation_client.CreateFromDiscriminatorValue); } }, + { "realm", n => { Realm = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RoleRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,9 +74,9 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("application", Application); - writer.WriteObjectValue("client", Client); - writer.WriteCollectionOfObjectValues("realm", Realm); + writer.WriteObjectValue("application", Application); + writer.WriteObjectValue("client", Client); + writer.WriteCollectionOfObjectValues("realm", Realm); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RolesRepresentation_application.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RolesRepresentation_application.cs index 5d01eabf..0498be24 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RolesRepresentation_application.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RolesRepresentation_application.cs @@ -4,16 +4,17 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ [Obsolete("")] #pragma warning disable CS1591 - public class RolesRepresentation_application : IAdditionalDataHolder, IParsable + public class RolesRepresentation_application : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public RolesRepresentation_application() { @@ -22,12 +23,12 @@ public RolesRepresentation_application() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static RolesRepresentation_application CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RolesRepresentation_application CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new RolesRepresentation_application(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RolesRepresentation_application(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RolesRepresentation_client.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RolesRepresentation_client.cs index e0ac65b6..507efea0 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/RolesRepresentation_client.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/RolesRepresentation_client.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class RolesRepresentation_client : IAdditionalDataHolder, IParsable + public class RolesRepresentation_client : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public RolesRepresentation_client() { @@ -21,12 +22,12 @@ public RolesRepresentation_client() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static RolesRepresentation_client CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RolesRepresentation_client CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new RolesRepresentation_client(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.RolesRepresentation_client(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ScopeMappingRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ScopeMappingRepresentation.cs index d2d3e61f..afe66bbd 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ScopeMappingRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ScopeMappingRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ScopeMappingRepresentation : IAdditionalDataHolder, IParsable + public class ScopeMappingRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -53,7 +54,7 @@ public class ScopeMappingRepresentation : IAdditionalDataHolder, IParsable public string Self { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ScopeMappingRepresentation() { @@ -62,12 +63,12 @@ public ScopeMappingRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ScopeMappingRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeMappingRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ScopeMappingRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeMappingRepresentation(); } /// /// The deserialization information for the current model @@ -77,11 +78,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"client", n => { Client = n.GetStringValue(); } }, - {"clientScope", n => { ClientScope = n.GetStringValue(); } }, - {"clientTemplate", n => { ClientTemplate = n.GetStringValue(); } }, - {"roles", n => { Roles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"self", n => { Self = n.GetStringValue(); } }, + { "client", n => { Client = n.GetStringValue(); } }, + { "clientScope", n => { ClientScope = n.GetStringValue(); } }, + { "clientTemplate", n => { ClientTemplate = n.GetStringValue(); } }, + { "roles", n => { Roles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "self", n => { Self = n.GetStringValue(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ScopeRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ScopeRepresentation.cs index 37f07da9..7b520441 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/ScopeRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/ScopeRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class ScopeRepresentation : IAdditionalDataHolder, IParsable + public class ScopeRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -46,21 +47,21 @@ public class ScopeRepresentation : IAdditionalDataHolder, IParsable /// The policies property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Policies { get; set; } + public List? Policies { get; set; } #nullable restore #else - public List Policies { get; set; } + public List Policies { get; set; } #endif /// The resources property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Resources { get; set; } + public List? Resources { get; set; } #nullable restore #else - public List Resources { get; set; } + public List Resources { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public ScopeRepresentation() { @@ -69,12 +70,12 @@ public ScopeRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static ScopeRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new ScopeRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ScopeRepresentation(); } /// /// The deserialization information for the current model @@ -84,12 +85,12 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"iconUri", n => { IconUri = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"policies", n => { Policies = n.GetCollectionOfObjectValues(PolicyRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"resources", n => { Resources = n.GetCollectionOfObjectValues(ResourceRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "iconUri", n => { IconUri = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "policies", n => { Policies = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.PolicyRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "resources", n => { Resources = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.ResourceRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -103,8 +104,8 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteStringValue("iconUri", IconUri); writer.WriteStringValue("id", Id); writer.WriteStringValue("name", Name); - writer.WriteCollectionOfObjectValues("policies", Policies); - writer.WriteCollectionOfObjectValues("resources", Resources); + writer.WriteCollectionOfObjectValues("policies", Policies); + writer.WriteCollectionOfObjectValues("resources", Resources); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/SocialLinkRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/SocialLinkRepresentation.cs index 3df8b8de..66207a8b 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/SocialLinkRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/SocialLinkRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class SocialLinkRepresentation : IAdditionalDataHolder, IParsable + public class SocialLinkRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -36,7 +37,7 @@ public class SocialLinkRepresentation : IAdditionalDataHolder, IParsable public string SocialUsername { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public SocialLinkRepresentation() { @@ -45,12 +46,12 @@ public SocialLinkRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static SocialLinkRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.SocialLinkRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new SocialLinkRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.SocialLinkRepresentation(); } /// /// The deserialization information for the current model @@ -60,9 +61,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"socialProvider", n => { SocialProvider = n.GetStringValue(); } }, - {"socialUserId", n => { SocialUserId = n.GetStringValue(); } }, - {"socialUsername", n => { SocialUsername = n.GetStringValue(); } }, + { "socialProvider", n => { SocialProvider = n.GetStringValue(); } }, + { "socialUserId", n => { SocialUserId = n.GetStringValue(); } }, + { "socialUsername", n => { SocialUsername = n.GetStringValue(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttribute.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttribute.cs index e632f207..b27efad1 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttribute.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttribute.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UPAttribute : IAdditionalDataHolder, IParsable + public class UPAttribute : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -14,10 +15,10 @@ public class UPAttribute : IAdditionalDataHolder, IParsable /// The annotations property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public UPAttribute_annotations? Annotations { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttribute_annotations? Annotations { get; set; } #nullable restore #else - public UPAttribute_annotations Annotations { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttribute_annotations Annotations { get; set; } #endif /// The displayName property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -48,37 +49,37 @@ public class UPAttribute : IAdditionalDataHolder, IParsable /// The permissions property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public UPAttributePermissions? Permissions { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttributePermissions? Permissions { get; set; } #nullable restore #else - public UPAttributePermissions Permissions { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttributePermissions Permissions { get; set; } #endif /// The required property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public UPAttributeRequired? Required { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttributeRequired? Required { get; set; } #nullable restore #else - public UPAttributeRequired Required { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttributeRequired Required { get; set; } #endif /// The selector property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public UPAttributeSelector? Selector { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttributeSelector? Selector { get; set; } #nullable restore #else - public UPAttributeSelector Selector { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttributeSelector Selector { get; set; } #endif /// The validations property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public UPAttribute_validations? Validations { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttribute_validations? Validations { get; set; } #nullable restore #else - public UPAttribute_validations Validations { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttribute_validations Validations { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UPAttribute() { @@ -87,12 +88,12 @@ public UPAttribute() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UPAttribute CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttribute CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UPAttribute(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttribute(); } /// /// The deserialization information for the current model @@ -102,15 +103,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"annotations", n => { Annotations = n.GetObjectValue(UPAttribute_annotations.CreateFromDiscriminatorValue); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"group", n => { Group = n.GetStringValue(); } }, - {"multivalued", n => { Multivalued = n.GetBoolValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"permissions", n => { Permissions = n.GetObjectValue(UPAttributePermissions.CreateFromDiscriminatorValue); } }, - {"required", n => { Required = n.GetObjectValue(UPAttributeRequired.CreateFromDiscriminatorValue); } }, - {"selector", n => { Selector = n.GetObjectValue(UPAttributeSelector.CreateFromDiscriminatorValue); } }, - {"validations", n => { Validations = n.GetObjectValue(UPAttribute_validations.CreateFromDiscriminatorValue); } }, + { "annotations", n => { Annotations = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttribute_annotations.CreateFromDiscriminatorValue); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "group", n => { Group = n.GetStringValue(); } }, + { "multivalued", n => { Multivalued = n.GetBoolValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "permissions", n => { Permissions = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttributePermissions.CreateFromDiscriminatorValue); } }, + { "required", n => { Required = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttributeRequired.CreateFromDiscriminatorValue); } }, + { "selector", n => { Selector = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttributeSelector.CreateFromDiscriminatorValue); } }, + { "validations", n => { Validations = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttribute_validations.CreateFromDiscriminatorValue); } }, }; } /// @@ -120,15 +121,15 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("annotations", Annotations); + writer.WriteObjectValue("annotations", Annotations); writer.WriteStringValue("displayName", DisplayName); writer.WriteStringValue("group", Group); writer.WriteBoolValue("multivalued", Multivalued); writer.WriteStringValue("name", Name); - writer.WriteObjectValue("permissions", Permissions); - writer.WriteObjectValue("required", Required); - writer.WriteObjectValue("selector", Selector); - writer.WriteObjectValue("validations", Validations); + writer.WriteObjectValue("permissions", Permissions); + writer.WriteObjectValue("required", Required); + writer.WriteObjectValue("selector", Selector); + writer.WriteObjectValue("validations", Validations); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttributePermissions.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttributePermissions.cs index 97929042..9cc9af6f 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttributePermissions.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttributePermissions.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UPAttributePermissions : IAdditionalDataHolder, IParsable + public class UPAttributePermissions : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -28,7 +29,7 @@ public class UPAttributePermissions : IAdditionalDataHolder, IParsable public List View { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UPAttributePermissions() { @@ -37,12 +38,12 @@ public UPAttributePermissions() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UPAttributePermissions CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttributePermissions CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UPAttributePermissions(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttributePermissions(); } /// /// The deserialization information for the current model @@ -52,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"edit", n => { Edit = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"view", n => { View = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "edit", n => { Edit = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "view", n => { View = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttributeRequired.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttributeRequired.cs index 9b2e504d..284c494a 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttributeRequired.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttributeRequired.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UPAttributeRequired : IAdditionalDataHolder, IParsable + public class UPAttributeRequired : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -28,7 +29,7 @@ public class UPAttributeRequired : IAdditionalDataHolder, IParsable public List Scopes { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UPAttributeRequired() { @@ -37,12 +38,12 @@ public UPAttributeRequired() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UPAttributeRequired CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttributeRequired CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UPAttributeRequired(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttributeRequired(); } /// /// The deserialization information for the current model @@ -52,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"roles", n => { Roles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"scopes", n => { Scopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "roles", n => { Roles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "scopes", n => { Scopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttributeSelector.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttributeSelector.cs index 516edd5f..865b04a6 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttributeSelector.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttributeSelector.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UPAttributeSelector : IAdditionalDataHolder, IParsable + public class UPAttributeSelector : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -20,7 +21,7 @@ public class UPAttributeSelector : IAdditionalDataHolder, IParsable public List Scopes { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UPAttributeSelector() { @@ -29,12 +30,12 @@ public UPAttributeSelector() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UPAttributeSelector CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttributeSelector CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UPAttributeSelector(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttributeSelector(); } /// /// The deserialization information for the current model @@ -44,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"scopes", n => { Scopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "scopes", n => { Scopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttribute_annotations.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttribute_annotations.cs index fa6f4641..6a68ad54 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttribute_annotations.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttribute_annotations.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UPAttribute_annotations : IAdditionalDataHolder, IParsable + public class UPAttribute_annotations : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UPAttribute_annotations() { @@ -21,12 +22,12 @@ public UPAttribute_annotations() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UPAttribute_annotations CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttribute_annotations CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UPAttribute_annotations(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttribute_annotations(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttribute_validations.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttribute_validations.cs index 67957d1f..ddf94c0d 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttribute_validations.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPAttribute_validations.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UPAttribute_validations : IAdditionalDataHolder, IParsable + public class UPAttribute_validations : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UPAttribute_validations() { @@ -21,12 +22,12 @@ public UPAttribute_validations() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UPAttribute_validations CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttribute_validations CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UPAttribute_validations(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttribute_validations(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPConfig.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPConfig.cs index 5514a357..0af0dbdf 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPConfig.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPConfig.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UPConfig : IAdditionalDataHolder, IParsable + public class UPConfig : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -14,23 +15,23 @@ public class UPConfig : IAdditionalDataHolder, IParsable /// The attributes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Attributes { get; set; } + public List? Attributes { get; set; } #nullable restore #else - public List Attributes { get; set; } + public List Attributes { get; set; } #endif /// The groups property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Groups { get; set; } + public List? Groups { get; set; } #nullable restore #else - public List Groups { get; set; } + public List Groups { get; set; } #endif /// The unmanagedAttributePolicy property public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UnmanagedAttributePolicy? UnmanagedAttributePolicy { get; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UPConfig() { @@ -39,12 +40,12 @@ public UPConfig() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UPConfig CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPConfig CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UPConfig(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPConfig(); } /// /// The deserialization information for the current model @@ -54,9 +55,9 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"attributes", n => { Attributes = n.GetCollectionOfObjectValues(UPAttribute.CreateFromDiscriminatorValue)?.ToList(); } }, - {"groups", n => { Groups = n.GetCollectionOfObjectValues(UPGroup.CreateFromDiscriminatorValue)?.ToList(); } }, - {"unmanagedAttributePolicy", n => { UnmanagedAttributePolicy = n.GetEnumValue(); } }, + { "attributes", n => { Attributes = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPAttribute.CreateFromDiscriminatorValue)?.ToList(); } }, + { "groups", n => { Groups = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPGroup.CreateFromDiscriminatorValue)?.ToList(); } }, + { "unmanagedAttributePolicy", n => { UnmanagedAttributePolicy = n.GetEnumValue(); } }, }; } /// @@ -66,9 +67,9 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("attributes", Attributes); - writer.WriteCollectionOfObjectValues("groups", Groups); - writer.WriteEnumValue("unmanagedAttributePolicy", UnmanagedAttributePolicy); + writer.WriteCollectionOfObjectValues("attributes", Attributes); + writer.WriteCollectionOfObjectValues("groups", Groups); + writer.WriteEnumValue("unmanagedAttributePolicy", UnmanagedAttributePolicy); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPGroup.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPGroup.cs index eb5bb0cc..88085dae 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPGroup.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPGroup.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UPGroup : IAdditionalDataHolder, IParsable + public class UPGroup : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -14,10 +15,10 @@ public class UPGroup : IAdditionalDataHolder, IParsable /// The annotations property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public UPGroup_annotations? Annotations { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPGroup_annotations? Annotations { get; set; } #nullable restore #else - public UPGroup_annotations Annotations { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPGroup_annotations Annotations { get; set; } #endif /// The displayDescription property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -44,7 +45,7 @@ public class UPGroup : IAdditionalDataHolder, IParsable public string Name { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UPGroup() { @@ -53,12 +54,12 @@ public UPGroup() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UPGroup CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPGroup CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UPGroup(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPGroup(); } /// /// The deserialization information for the current model @@ -68,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"annotations", n => { Annotations = n.GetObjectValue(UPGroup_annotations.CreateFromDiscriminatorValue); } }, - {"displayDescription", n => { DisplayDescription = n.GetStringValue(); } }, - {"displayHeader", n => { DisplayHeader = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, + { "annotations", n => { Annotations = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPGroup_annotations.CreateFromDiscriminatorValue); } }, + { "displayDescription", n => { DisplayDescription = n.GetStringValue(); } }, + { "displayHeader", n => { DisplayHeader = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, }; } /// @@ -81,7 +82,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("annotations", Annotations); + writer.WriteObjectValue("annotations", Annotations); writer.WriteStringValue("displayDescription", DisplayDescription); writer.WriteStringValue("displayHeader", DisplayHeader); writer.WriteStringValue("name", Name); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPGroup_annotations.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPGroup_annotations.cs index aa052aaf..b5198641 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPGroup_annotations.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UPGroup_annotations.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UPGroup_annotations : IAdditionalDataHolder, IParsable + public class UPGroup_annotations : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UPGroup_annotations() { @@ -21,12 +22,12 @@ public UPGroup_annotations() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UPGroup_annotations CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPGroup_annotations CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UPGroup_annotations(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UPGroup_annotations(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UnmanagedAttributePolicy.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UnmanagedAttributePolicy.cs index 4479da7a..7f5917f9 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UnmanagedAttributePolicy.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UnmanagedAttributePolicy.cs @@ -1,7 +1,8 @@ // using System.Runtime.Serialization; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 public enum UnmanagedAttributePolicy #pragma warning restore CS1591 diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserConsentRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserConsentRepresentation.cs index 8417d553..d52d85cf 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserConsentRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserConsentRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UserConsentRepresentation : IAdditionalDataHolder, IParsable + public class UserConsentRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -41,7 +42,7 @@ public class UserConsentRepresentation : IAdditionalDataHolder, IParsable /// The lastUpdatedDate property public long? LastUpdatedDate { get; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UserConsentRepresentation() { @@ -50,12 +51,12 @@ public UserConsentRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UserConsentRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserConsentRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UserConsentRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserConsentRepresentation(); } /// /// The deserialization information for the current model @@ -65,11 +66,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"clientId", n => { ClientId = n.GetStringValue(); } }, - {"createdDate", n => { CreatedDate = n.GetLongValue(); } }, - {"grantedClientScopes", n => { GrantedClientScopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"grantedRealmRoles", n => { GrantedRealmRoles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"lastUpdatedDate", n => { LastUpdatedDate = n.GetLongValue(); } }, + { "clientId", n => { ClientId = n.GetStringValue(); } }, + { "createdDate", n => { CreatedDate = n.GetLongValue(); } }, + { "grantedClientScopes", n => { GrantedClientScopes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "grantedRealmRoles", n => { GrantedRealmRoles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "lastUpdatedDate", n => { LastUpdatedDate = n.GetLongValue(); } }, }; } /// diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserFederationMapperRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserFederationMapperRepresentation.cs index cacfff24..0fb6a950 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserFederationMapperRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserFederationMapperRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UserFederationMapperRepresentation : IAdditionalDataHolder, IParsable + public class UserFederationMapperRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -14,10 +15,10 @@ public class UserFederationMapperRepresentation : IAdditionalDataHolder, IParsab /// The config property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public UserFederationMapperRepresentation_config? Config { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserFederationMapperRepresentation_config? Config { get; set; } #nullable restore #else - public UserFederationMapperRepresentation_config Config { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserFederationMapperRepresentation_config Config { get; set; } #endif /// The federationMapperType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -52,7 +53,7 @@ public class UserFederationMapperRepresentation : IAdditionalDataHolder, IParsab public string Name { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UserFederationMapperRepresentation() { @@ -61,12 +62,12 @@ public UserFederationMapperRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UserFederationMapperRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserFederationMapperRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UserFederationMapperRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserFederationMapperRepresentation(); } /// /// The deserialization information for the current model @@ -76,11 +77,11 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"config", n => { Config = n.GetObjectValue(UserFederationMapperRepresentation_config.CreateFromDiscriminatorValue); } }, - {"federationMapperType", n => { FederationMapperType = n.GetStringValue(); } }, - {"federationProviderDisplayName", n => { FederationProviderDisplayName = n.GetStringValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, + { "config", n => { Config = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserFederationMapperRepresentation_config.CreateFromDiscriminatorValue); } }, + { "federationMapperType", n => { FederationMapperType = n.GetStringValue(); } }, + { "federationProviderDisplayName", n => { FederationProviderDisplayName = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, }; } /// @@ -90,7 +91,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("config", Config); + writer.WriteObjectValue("config", Config); writer.WriteStringValue("federationMapperType", FederationMapperType); writer.WriteStringValue("federationProviderDisplayName", FederationProviderDisplayName); writer.WriteStringValue("id", Id); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserFederationMapperRepresentation_config.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserFederationMapperRepresentation_config.cs index 7affdfaa..dafb9e11 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserFederationMapperRepresentation_config.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserFederationMapperRepresentation_config.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UserFederationMapperRepresentation_config : IAdditionalDataHolder, IParsable + public class UserFederationMapperRepresentation_config : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UserFederationMapperRepresentation_config() { @@ -21,12 +22,12 @@ public UserFederationMapperRepresentation_config() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UserFederationMapperRepresentation_config CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserFederationMapperRepresentation_config CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UserFederationMapperRepresentation_config(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserFederationMapperRepresentation_config(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserFederationProviderRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserFederationProviderRepresentation.cs index a7e0e618..afc4c971 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserFederationProviderRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserFederationProviderRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UserFederationProviderRepresentation : IAdditionalDataHolder, IParsable + public class UserFederationProviderRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -16,10 +17,10 @@ public class UserFederationProviderRepresentation : IAdditionalDataHolder, IPars /// The config property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public UserFederationProviderRepresentation_config? Config { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserFederationProviderRepresentation_config? Config { get; set; } #nullable restore #else - public UserFederationProviderRepresentation_config Config { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserFederationProviderRepresentation_config Config { get; set; } #endif /// The displayName property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -52,7 +53,7 @@ public class UserFederationProviderRepresentation : IAdditionalDataHolder, IPars public string ProviderName { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UserFederationProviderRepresentation() { @@ -61,12 +62,12 @@ public UserFederationProviderRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UserFederationProviderRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserFederationProviderRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UserFederationProviderRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserFederationProviderRepresentation(); } /// /// The deserialization information for the current model @@ -76,14 +77,14 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"changedSyncPeriod", n => { ChangedSyncPeriod = n.GetIntValue(); } }, - {"config", n => { Config = n.GetObjectValue(UserFederationProviderRepresentation_config.CreateFromDiscriminatorValue); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"fullSyncPeriod", n => { FullSyncPeriod = n.GetIntValue(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"lastSync", n => { LastSync = n.GetIntValue(); } }, - {"priority", n => { Priority = n.GetIntValue(); } }, - {"providerName", n => { ProviderName = n.GetStringValue(); } }, + { "changedSyncPeriod", n => { ChangedSyncPeriod = n.GetIntValue(); } }, + { "config", n => { Config = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserFederationProviderRepresentation_config.CreateFromDiscriminatorValue); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "fullSyncPeriod", n => { FullSyncPeriod = n.GetIntValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "lastSync", n => { LastSync = n.GetIntValue(); } }, + { "priority", n => { Priority = n.GetIntValue(); } }, + { "providerName", n => { ProviderName = n.GetStringValue(); } }, }; } /// @@ -94,7 +95,7 @@ public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteIntValue("changedSyncPeriod", ChangedSyncPeriod); - writer.WriteObjectValue("config", Config); + writer.WriteObjectValue("config", Config); writer.WriteStringValue("displayName", DisplayName); writer.WriteIntValue("fullSyncPeriod", FullSyncPeriod); writer.WriteStringValue("id", Id); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserFederationProviderRepresentation_config.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserFederationProviderRepresentation_config.cs index bd8981f7..0eaf6672 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserFederationProviderRepresentation_config.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserFederationProviderRepresentation_config.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UserFederationProviderRepresentation_config : IAdditionalDataHolder, IParsable + public class UserFederationProviderRepresentation_config : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UserFederationProviderRepresentation_config() { @@ -21,12 +22,12 @@ public UserFederationProviderRepresentation_config() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UserFederationProviderRepresentation_config CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserFederationProviderRepresentation_config CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UserFederationProviderRepresentation_config(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserFederationProviderRepresentation_config(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileAttributeGroupMetadata.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileAttributeGroupMetadata.cs index 19d81f9e..b00cffad 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileAttributeGroupMetadata.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileAttributeGroupMetadata.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UserProfileAttributeGroupMetadata : IAdditionalDataHolder, IParsable + public class UserProfileAttributeGroupMetadata : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -14,10 +15,10 @@ public class UserProfileAttributeGroupMetadata : IAdditionalDataHolder, IParsabl /// The annotations property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public UserProfileAttributeGroupMetadata_annotations? Annotations { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileAttributeGroupMetadata_annotations? Annotations { get; set; } #nullable restore #else - public UserProfileAttributeGroupMetadata_annotations Annotations { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileAttributeGroupMetadata_annotations Annotations { get; set; } #endif /// The displayDescription property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -44,7 +45,7 @@ public class UserProfileAttributeGroupMetadata : IAdditionalDataHolder, IParsabl public string Name { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UserProfileAttributeGroupMetadata() { @@ -53,12 +54,12 @@ public UserProfileAttributeGroupMetadata() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UserProfileAttributeGroupMetadata CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileAttributeGroupMetadata CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UserProfileAttributeGroupMetadata(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileAttributeGroupMetadata(); } /// /// The deserialization information for the current model @@ -68,10 +69,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"annotations", n => { Annotations = n.GetObjectValue(UserProfileAttributeGroupMetadata_annotations.CreateFromDiscriminatorValue); } }, - {"displayDescription", n => { DisplayDescription = n.GetStringValue(); } }, - {"displayHeader", n => { DisplayHeader = n.GetStringValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, + { "annotations", n => { Annotations = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileAttributeGroupMetadata_annotations.CreateFromDiscriminatorValue); } }, + { "displayDescription", n => { DisplayDescription = n.GetStringValue(); } }, + { "displayHeader", n => { DisplayHeader = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, }; } /// @@ -81,7 +82,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("annotations", Annotations); + writer.WriteObjectValue("annotations", Annotations); writer.WriteStringValue("displayDescription", DisplayDescription); writer.WriteStringValue("displayHeader", DisplayHeader); writer.WriteStringValue("name", Name); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileAttributeGroupMetadata_annotations.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileAttributeGroupMetadata_annotations.cs index 0489bf41..0796de99 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileAttributeGroupMetadata_annotations.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileAttributeGroupMetadata_annotations.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UserProfileAttributeGroupMetadata_annotations : IAdditionalDataHolder, IParsable + public class UserProfileAttributeGroupMetadata_annotations : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UserProfileAttributeGroupMetadata_annotations() { @@ -21,12 +22,12 @@ public UserProfileAttributeGroupMetadata_annotations() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UserProfileAttributeGroupMetadata_annotations CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileAttributeGroupMetadata_annotations CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UserProfileAttributeGroupMetadata_annotations(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileAttributeGroupMetadata_annotations(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileAttributeMetadata.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileAttributeMetadata.cs index 7a4e8ea6..a19fe1bf 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileAttributeMetadata.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileAttributeMetadata.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UserProfileAttributeMetadata : IAdditionalDataHolder, IParsable + public class UserProfileAttributeMetadata : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -14,10 +15,10 @@ public class UserProfileAttributeMetadata : IAdditionalDataHolder, IParsable /// The annotations property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public UserProfileAttributeMetadata_annotations? Annotations { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileAttributeMetadata_annotations? Annotations { get; set; } #nullable restore #else - public UserProfileAttributeMetadata_annotations Annotations { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileAttributeMetadata_annotations Annotations { get; set; } #endif /// The displayName property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -52,13 +53,13 @@ public class UserProfileAttributeMetadata : IAdditionalDataHolder, IParsable /// The validators property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public UserProfileAttributeMetadata_validators? Validators { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileAttributeMetadata_validators? Validators { get; set; } #nullable restore #else - public UserProfileAttributeMetadata_validators Validators { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileAttributeMetadata_validators Validators { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UserProfileAttributeMetadata() { @@ -67,12 +68,12 @@ public UserProfileAttributeMetadata() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UserProfileAttributeMetadata CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileAttributeMetadata CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UserProfileAttributeMetadata(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileAttributeMetadata(); } /// /// The deserialization information for the current model @@ -82,14 +83,14 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"annotations", n => { Annotations = n.GetObjectValue(UserProfileAttributeMetadata_annotations.CreateFromDiscriminatorValue); } }, - {"displayName", n => { DisplayName = n.GetStringValue(); } }, - {"group", n => { Group = n.GetStringValue(); } }, - {"multivalued", n => { Multivalued = n.GetBoolValue(); } }, - {"name", n => { Name = n.GetStringValue(); } }, - {"readOnly", n => { ReadOnly = n.GetBoolValue(); } }, - {"required", n => { Required = n.GetBoolValue(); } }, - {"validators", n => { Validators = n.GetObjectValue(UserProfileAttributeMetadata_validators.CreateFromDiscriminatorValue); } }, + { "annotations", n => { Annotations = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileAttributeMetadata_annotations.CreateFromDiscriminatorValue); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "group", n => { Group = n.GetStringValue(); } }, + { "multivalued", n => { Multivalued = n.GetBoolValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "readOnly", n => { ReadOnly = n.GetBoolValue(); } }, + { "required", n => { Required = n.GetBoolValue(); } }, + { "validators", n => { Validators = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileAttributeMetadata_validators.CreateFromDiscriminatorValue); } }, }; } /// @@ -99,14 +100,14 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("annotations", Annotations); + writer.WriteObjectValue("annotations", Annotations); writer.WriteStringValue("displayName", DisplayName); writer.WriteStringValue("group", Group); writer.WriteBoolValue("multivalued", Multivalued); writer.WriteStringValue("name", Name); writer.WriteBoolValue("readOnly", ReadOnly); writer.WriteBoolValue("required", Required); - writer.WriteObjectValue("validators", Validators); + writer.WriteObjectValue("validators", Validators); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileAttributeMetadata_annotations.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileAttributeMetadata_annotations.cs index 3f14f23b..8aa63c7b 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileAttributeMetadata_annotations.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileAttributeMetadata_annotations.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UserProfileAttributeMetadata_annotations : IAdditionalDataHolder, IParsable + public class UserProfileAttributeMetadata_annotations : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UserProfileAttributeMetadata_annotations() { @@ -21,12 +22,12 @@ public UserProfileAttributeMetadata_annotations() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UserProfileAttributeMetadata_annotations CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileAttributeMetadata_annotations CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UserProfileAttributeMetadata_annotations(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileAttributeMetadata_annotations(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileAttributeMetadata_validators.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileAttributeMetadata_validators.cs index 917dec21..d965cbbb 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileAttributeMetadata_validators.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileAttributeMetadata_validators.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UserProfileAttributeMetadata_validators : IAdditionalDataHolder, IParsable + public class UserProfileAttributeMetadata_validators : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UserProfileAttributeMetadata_validators() { @@ -21,12 +22,12 @@ public UserProfileAttributeMetadata_validators() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UserProfileAttributeMetadata_validators CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileAttributeMetadata_validators CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UserProfileAttributeMetadata_validators(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileAttributeMetadata_validators(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileMetadata.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileMetadata.cs index e6713d32..d81c80c9 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileMetadata.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserProfileMetadata.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UserProfileMetadata : IAdditionalDataHolder, IParsable + public class UserProfileMetadata : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -14,21 +15,21 @@ public class UserProfileMetadata : IAdditionalDataHolder, IParsable /// The attributes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Attributes { get; set; } + public List? Attributes { get; set; } #nullable restore #else - public List Attributes { get; set; } + public List Attributes { get; set; } #endif /// The groups property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Groups { get; set; } + public List? Groups { get; set; } #nullable restore #else - public List Groups { get; set; } + public List Groups { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UserProfileMetadata() { @@ -37,12 +38,12 @@ public UserProfileMetadata() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UserProfileMetadata CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileMetadata CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UserProfileMetadata(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileMetadata(); } /// /// The deserialization information for the current model @@ -52,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"attributes", n => { Attributes = n.GetCollectionOfObjectValues(UserProfileAttributeMetadata.CreateFromDiscriminatorValue)?.ToList(); } }, - {"groups", n => { Groups = n.GetCollectionOfObjectValues(UserProfileAttributeGroupMetadata.CreateFromDiscriminatorValue)?.ToList(); } }, + { "attributes", n => { Attributes = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileAttributeMetadata.CreateFromDiscriminatorValue)?.ToList(); } }, + { "groups", n => { Groups = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileAttributeGroupMetadata.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -63,8 +64,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfObjectValues("attributes", Attributes); - writer.WriteCollectionOfObjectValues("groups", Groups); + writer.WriteCollectionOfObjectValues("attributes", Attributes); + writer.WriteCollectionOfObjectValues("groups", Groups); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserRepresentation.cs index f2d1c8ad..f9088879 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserRepresentation.cs @@ -4,18 +4,19 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UserRepresentation : IAdditionalDataHolder, IParsable + public class UserRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// The access property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public UserRepresentation_access? Access { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation_access? Access { get; set; } #nullable restore #else - public UserRepresentation_access Access { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation_access Access { get; set; } #endif /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } @@ -23,44 +24,44 @@ public class UserRepresentation : IAdditionalDataHolder, IParsable [Obsolete("")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public UserRepresentation_applicationRoles? ApplicationRoles { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation_applicationRoles? ApplicationRoles { get; set; } #nullable restore #else - public UserRepresentation_applicationRoles ApplicationRoles { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation_applicationRoles ApplicationRoles { get; set; } #endif /// The attributes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public UserRepresentation_attributes? Attributes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation_attributes? Attributes { get; set; } #nullable restore #else - public UserRepresentation_attributes Attributes { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation_attributes Attributes { get; set; } #endif /// The clientConsents property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? ClientConsents { get; set; } + public List? ClientConsents { get; set; } #nullable restore #else - public List ClientConsents { get; set; } + public List ClientConsents { get; set; } #endif /// The clientRoles property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public UserRepresentation_clientRoles? ClientRoles { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation_clientRoles? ClientRoles { get; set; } #nullable restore #else - public UserRepresentation_clientRoles ClientRoles { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation_clientRoles ClientRoles { get; set; } #endif /// The createdTimestamp property public long? CreatedTimestamp { get; set; } /// The credentials property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? Credentials { get; set; } + public List? Credentials { get; set; } #nullable restore #else - public List Credentials { get; set; } + public List Credentials { get; set; } #endif /// The disableableCredentialTypes property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -85,10 +86,10 @@ public class UserRepresentation : IAdditionalDataHolder, IParsable /// The federatedIdentities property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? FederatedIdentities { get; set; } + public List? FederatedIdentities { get; set; } #nullable restore #else - public List FederatedIdentities { get; set; } + public List FederatedIdentities { get; set; } #endif /// The federationLink property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -176,10 +177,10 @@ public class UserRepresentation : IAdditionalDataHolder, IParsable [Obsolete("")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public List? SocialLinks { get; set; } + public List? SocialLinks { get; set; } #nullable restore #else - public List SocialLinks { get; set; } + public List SocialLinks { get; set; } #endif /// The totp property public bool? Totp { get; set; } @@ -200,7 +201,7 @@ public class UserRepresentation : IAdditionalDataHolder, IParsable public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileMetadata UserProfileMetadata { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UserRepresentation() { @@ -209,12 +210,12 @@ public UserRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UserRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UserRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation(); } /// /// The deserialization information for the current model @@ -224,33 +225,33 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"access", n => { Access = n.GetObjectValue(UserRepresentation_access.CreateFromDiscriminatorValue); } }, - {"applicationRoles", n => { ApplicationRoles = n.GetObjectValue(UserRepresentation_applicationRoles.CreateFromDiscriminatorValue); } }, - {"attributes", n => { Attributes = n.GetObjectValue(UserRepresentation_attributes.CreateFromDiscriminatorValue); } }, - {"clientConsents", n => { ClientConsents = n.GetCollectionOfObjectValues(UserConsentRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"clientRoles", n => { ClientRoles = n.GetObjectValue(UserRepresentation_clientRoles.CreateFromDiscriminatorValue); } }, - {"createdTimestamp", n => { CreatedTimestamp = n.GetLongValue(); } }, - {"credentials", n => { Credentials = n.GetCollectionOfObjectValues(CredentialRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"disableableCredentialTypes", n => { DisableableCredentialTypes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"email", n => { Email = n.GetStringValue(); } }, - {"emailVerified", n => { EmailVerified = n.GetBoolValue(); } }, - {"enabled", n => { Enabled = n.GetBoolValue(); } }, - {"federatedIdentities", n => { FederatedIdentities = n.GetCollectionOfObjectValues(FederatedIdentityRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"federationLink", n => { FederationLink = n.GetStringValue(); } }, - {"firstName", n => { FirstName = n.GetStringValue(); } }, - {"groups", n => { Groups = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"lastName", n => { LastName = n.GetStringValue(); } }, - {"notBefore", n => { NotBefore = n.GetIntValue(); } }, - {"origin", n => { Origin = n.GetStringValue(); } }, - {"realmRoles", n => { RealmRoles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"requiredActions", n => { RequiredActions = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"self", n => { Self = n.GetStringValue(); } }, - {"serviceAccountClientId", n => { ServiceAccountClientId = n.GetStringValue(); } }, - {"socialLinks", n => { SocialLinks = n.GetCollectionOfObjectValues(SocialLinkRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, - {"totp", n => { Totp = n.GetBoolValue(); } }, - {"userProfileMetadata", n => { UserProfileMetadata = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileMetadata.CreateFromDiscriminatorValue); } }, - {"username", n => { Username = n.GetStringValue(); } }, + { "access", n => { Access = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation_access.CreateFromDiscriminatorValue); } }, + { "applicationRoles", n => { ApplicationRoles = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation_applicationRoles.CreateFromDiscriminatorValue); } }, + { "attributes", n => { Attributes = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation_attributes.CreateFromDiscriminatorValue); } }, + { "clientConsents", n => { ClientConsents = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserConsentRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "clientRoles", n => { ClientRoles = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation_clientRoles.CreateFromDiscriminatorValue); } }, + { "createdTimestamp", n => { CreatedTimestamp = n.GetLongValue(); } }, + { "credentials", n => { Credentials = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.CredentialRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "disableableCredentialTypes", n => { DisableableCredentialTypes = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "email", n => { Email = n.GetStringValue(); } }, + { "emailVerified", n => { EmailVerified = n.GetBoolValue(); } }, + { "enabled", n => { Enabled = n.GetBoolValue(); } }, + { "federatedIdentities", n => { FederatedIdentities = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.FederatedIdentityRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "federationLink", n => { FederationLink = n.GetStringValue(); } }, + { "firstName", n => { FirstName = n.GetStringValue(); } }, + { "groups", n => { Groups = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "lastName", n => { LastName = n.GetStringValue(); } }, + { "notBefore", n => { NotBefore = n.GetIntValue(); } }, + { "origin", n => { Origin = n.GetStringValue(); } }, + { "realmRoles", n => { RealmRoles = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "requiredActions", n => { RequiredActions = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + { "self", n => { Self = n.GetStringValue(); } }, + { "serviceAccountClientId", n => { ServiceAccountClientId = n.GetStringValue(); } }, + { "socialLinks", n => { SocialLinks = n.GetCollectionOfObjectValues(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.SocialLinkRepresentation.CreateFromDiscriminatorValue)?.ToList(); } }, + { "totp", n => { Totp = n.GetBoolValue(); } }, + { "userProfileMetadata", n => { UserProfileMetadata = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserProfileMetadata.CreateFromDiscriminatorValue); } }, + { "username", n => { Username = n.GetStringValue(); } }, }; } /// @@ -260,18 +261,18 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("access", Access); - writer.WriteObjectValue("applicationRoles", ApplicationRoles); - writer.WriteObjectValue("attributes", Attributes); - writer.WriteCollectionOfObjectValues("clientConsents", ClientConsents); - writer.WriteObjectValue("clientRoles", ClientRoles); + writer.WriteObjectValue("access", Access); + writer.WriteObjectValue("applicationRoles", ApplicationRoles); + writer.WriteObjectValue("attributes", Attributes); + writer.WriteCollectionOfObjectValues("clientConsents", ClientConsents); + writer.WriteObjectValue("clientRoles", ClientRoles); writer.WriteLongValue("createdTimestamp", CreatedTimestamp); - writer.WriteCollectionOfObjectValues("credentials", Credentials); + writer.WriteCollectionOfObjectValues("credentials", Credentials); writer.WriteCollectionOfPrimitiveValues("disableableCredentialTypes", DisableableCredentialTypes); writer.WriteStringValue("email", Email); writer.WriteBoolValue("emailVerified", EmailVerified); writer.WriteBoolValue("enabled", Enabled); - writer.WriteCollectionOfObjectValues("federatedIdentities", FederatedIdentities); + writer.WriteCollectionOfObjectValues("federatedIdentities", FederatedIdentities); writer.WriteStringValue("federationLink", FederationLink); writer.WriteStringValue("firstName", FirstName); writer.WriteCollectionOfPrimitiveValues("groups", Groups); @@ -283,7 +284,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteCollectionOfPrimitiveValues("requiredActions", RequiredActions); writer.WriteStringValue("self", Self); writer.WriteStringValue("serviceAccountClientId", ServiceAccountClientId); - writer.WriteCollectionOfObjectValues("socialLinks", SocialLinks); + writer.WriteCollectionOfObjectValues("socialLinks", SocialLinks); writer.WriteBoolValue("totp", Totp); writer.WriteStringValue("username", Username); writer.WriteObjectValue("userProfileMetadata", UserProfileMetadata); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserRepresentation_access.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserRepresentation_access.cs index 2ecbf2b3..4112fb75 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserRepresentation_access.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserRepresentation_access.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UserRepresentation_access : IAdditionalDataHolder, IParsable + public class UserRepresentation_access : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UserRepresentation_access() { @@ -21,12 +22,12 @@ public UserRepresentation_access() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UserRepresentation_access CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation_access CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UserRepresentation_access(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation_access(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserRepresentation_applicationRoles.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserRepresentation_applicationRoles.cs index 8df2bea4..49830afa 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserRepresentation_applicationRoles.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserRepresentation_applicationRoles.cs @@ -4,16 +4,17 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ [Obsolete("")] #pragma warning disable CS1591 - public class UserRepresentation_applicationRoles : IAdditionalDataHolder, IParsable + public class UserRepresentation_applicationRoles : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UserRepresentation_applicationRoles() { @@ -22,12 +23,12 @@ public UserRepresentation_applicationRoles() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UserRepresentation_applicationRoles CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation_applicationRoles CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UserRepresentation_applicationRoles(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation_applicationRoles(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserRepresentation_attributes.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserRepresentation_attributes.cs index d5031016..a40a427a 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserRepresentation_attributes.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserRepresentation_attributes.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UserRepresentation_attributes : IAdditionalDataHolder, IParsable + public class UserRepresentation_attributes : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UserRepresentation_attributes() { @@ -21,12 +22,12 @@ public UserRepresentation_attributes() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UserRepresentation_attributes CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation_attributes CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UserRepresentation_attributes(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation_attributes(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserRepresentation_clientRoles.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserRepresentation_clientRoles.cs index 1fc65d8d..c54bafa4 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserRepresentation_clientRoles.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserRepresentation_clientRoles.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UserRepresentation_clientRoles : IAdditionalDataHolder, IParsable + public class UserRepresentation_clientRoles : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UserRepresentation_clientRoles() { @@ -21,12 +22,12 @@ public UserRepresentation_clientRoles() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UserRepresentation_clientRoles CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation_clientRoles CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UserRepresentation_clientRoles(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserRepresentation_clientRoles(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserSessionRepresentation.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserSessionRepresentation.cs index dadbe523..a23a2b5a 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserSessionRepresentation.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserSessionRepresentation.cs @@ -4,9 +4,10 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UserSessionRepresentation : IAdditionalDataHolder, IParsable + public class UserSessionRepresentation : IAdditionalDataHolder, IParsable #pragma warning restore CS1591 { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -14,10 +15,10 @@ public class UserSessionRepresentation : IAdditionalDataHolder, IParsable /// The clients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public UserSessionRepresentation_clients? Clients { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserSessionRepresentation_clients? Clients { get; set; } #nullable restore #else - public UserSessionRepresentation_clients Clients { get; set; } + public Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserSessionRepresentation_clients Clients { get; set; } #endif /// The id property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -41,6 +42,8 @@ public class UserSessionRepresentation : IAdditionalDataHolder, IParsable public bool? RememberMe { get; set; } /// The start property public long? Start { get; set; } + /// The transientUser property + public bool? TransientUser { get; set; } /// The userId property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -58,7 +61,7 @@ public class UserSessionRepresentation : IAdditionalDataHolder, IParsable public string Username { get; set; } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UserSessionRepresentation() { @@ -67,12 +70,12 @@ public UserSessionRepresentation() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UserSessionRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserSessionRepresentation CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UserSessionRepresentation(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserSessionRepresentation(); } /// /// The deserialization information for the current model @@ -82,14 +85,15 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"clients", n => { Clients = n.GetObjectValue(UserSessionRepresentation_clients.CreateFromDiscriminatorValue); } }, - {"id", n => { Id = n.GetStringValue(); } }, - {"ipAddress", n => { IpAddress = n.GetStringValue(); } }, - {"lastAccess", n => { LastAccess = n.GetLongValue(); } }, - {"rememberMe", n => { RememberMe = n.GetBoolValue(); } }, - {"start", n => { Start = n.GetLongValue(); } }, - {"userId", n => { UserId = n.GetStringValue(); } }, - {"username", n => { Username = n.GetStringValue(); } }, + { "clients", n => { Clients = n.GetObjectValue(Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserSessionRepresentation_clients.CreateFromDiscriminatorValue); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "ipAddress", n => { IpAddress = n.GetStringValue(); } }, + { "lastAccess", n => { LastAccess = n.GetLongValue(); } }, + { "rememberMe", n => { RememberMe = n.GetBoolValue(); } }, + { "start", n => { Start = n.GetLongValue(); } }, + { "transientUser", n => { TransientUser = n.GetBoolValue(); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, + { "username", n => { Username = n.GetStringValue(); } }, }; } /// @@ -99,12 +103,13 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("clients", Clients); + writer.WriteObjectValue("clients", Clients); writer.WriteStringValue("id", Id); writer.WriteStringValue("ipAddress", IpAddress); writer.WriteLongValue("lastAccess", LastAccess); writer.WriteBoolValue("rememberMe", RememberMe); writer.WriteLongValue("start", Start); + writer.WriteBoolValue("transientUser", TransientUser); writer.WriteStringValue("userId", UserId); writer.WriteStringValue("username", Username); writer.WriteAdditionalData(AdditionalData); diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserSessionRepresentation_clients.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserSessionRepresentation_clients.cs index 37c586e1..d1e20168 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserSessionRepresentation_clients.cs +++ b/src/Keycloak.AuthServices.Sdk.Kiota/Models/UserSessionRepresentation_clients.cs @@ -4,15 +4,16 @@ using System.IO; using System.Linq; using System; -namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models { +namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Models +{ #pragma warning disable CS1591 - public class UserSessionRepresentation_clients : IAdditionalDataHolder, IParsable + public class UserSessionRepresentation_clients : IAdditionalDataHolder, 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; set; } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// public UserSessionRepresentation_clients() { @@ -21,12 +22,12 @@ public UserSessionRepresentation_clients() /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static UserSessionRepresentation_clients CreateFromDiscriminatorValue(IParseNode parseNode) + public static Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserSessionRepresentation_clients CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new UserSessionRepresentation_clients(); + return new Keycloak.AuthServices.Sdk.Kiota.Admin.Models.UserSessionRepresentation_clients(); } /// /// The deserialization information for the current model diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/kiota-lock.json b/src/Keycloak.AuthServices.Sdk.Kiota/kiota-lock.json index 95eb6fd2..af2124ac 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/kiota-lock.json +++ b/src/Keycloak.AuthServices.Sdk.Kiota/kiota-lock.json @@ -1,14 +1,15 @@ { - "descriptionHash": "BF480BBDAB623D7A884D69DCD1B3708477AB74BB4A4AEAEF9CF0C0B8C9D5D1466F96A86DC1EAA4C798F0C01180F4A24E44F08AF2797F4F7968776118A087CD66", - "descriptionLocation": "https://www.keycloak.org/docs-api/24.0.4/rest-api/openapi.json", + "descriptionHash": "136EC0484489931BA29BC141F2D4E405C2A9455F2EE0150C92E381C3B884F51E525E1814787B0D9C39E290DB3AF95D7545B7A3E03612A1600DD2E76C422E6B5C", + "descriptionLocation": "https://www.keycloak.org/docs-api/25.0.0/rest-api/openapi.json", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.14.0", + "kiotaVersion": "1.15.0", "clientClassName": "KeycloakAdminApiClient", "clientNamespaceName": "Keycloak.AuthServices.Sdk.Kiota.Admin", "language": "CSharp", "usesBackingStore": false, "excludeBackwardCompatible": true, "includeAdditionalData": true, + "disableSSLValidation": false, "serializers": [ "Microsoft.Kiota.Serialization.Json.JsonSerializationWriterFactory", "Microsoft.Kiota.Serialization.Text.TextSerializationWriterFactory",