From a3f408669d55abb9c2b00d4965dd0e17e6ab7b06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabjan=20Vu=C4=8Dina?= Date: Fri, 24 Jan 2025 17:30:20 +0100 Subject: [PATCH] chore: upgrade to v26.1.0 (#1) Signed-off-by: fabjanvucina --- README.md | 38 +- api/openapi.json | 19691 ++++++++++++++++ api/openapi.yaml | 2314 +- api_attack_detection.go | 78 +- api_authentication_management.go | 1057 +- api_client_attribute_certificate.go | 209 +- api_client_initial_access.go | 79 +- api_client_registration_policy.go | 26 +- api_client_role_mappings.go | 363 +- api_client_scopes.go | 265 +- api_clients.go | 982 +- api_component.go | 172 +- api_default.go | 1144 +- api_groups.go | 348 +- api_identity_providers.go | 513 +- api_key.go | 26 +- api_organizations.go | 1141 +- api_protocol_mappers.go | 660 +- api_realms_admin.go | 1179 +- api_role_mapper.go | 365 +- api_roles.go | 911 +- api_roles_by_id.go | 307 +- api_scope_mappings.go | 1061 +- api_users.go | 1075 +- client.go | 153 +- configuration.go | 17 +- docs/AbstractPolicyRepresentation.md | 26 + docs/AttackDetectionAPI.md | 6 +- docs/AuthenticationManagementAPI.md | 78 +- docs/AuthorizationSchema.md | 56 + docs/ClientAttributeCertificateAPI.md | 12 +- docs/ClientInitialAccessAPI.md | 6 +- docs/ClientRegistrationPolicyAPI.md | 2 +- docs/ClientRoleMappingsAPI.md | 20 +- docs/ClientScopesAPI.md | 20 +- docs/ClientsAPI.md | 68 +- docs/ComponentAPI.md | 12 +- docs/DefaultAPI.md | 62 +- docs/GroupsAPI.md | 26 +- docs/IdentityProvidersAPI.md | 34 +- docs/KeyAPI.md | 2 +- docs/OrganizationsAPI.md | 478 +- docs/PolicyRepresentation.md | 26 + docs/ProtocolMappersAPI.md | 42 +- docs/RealmRepresentation.md | 385 +- docs/RealmsAdminAPI.md | 90 +- docs/ResourceServerRepresentation.md | 26 + docs/ResourceType.md | 82 + docs/RoleMapperAPI.md | 24 +- docs/RolesAPI.md | 56 +- docs/RolesByIDAPI.md | 20 +- docs/ScopeMappingsAPI.md | 66 +- docs/UsersAPI.md | 68 +- git_push.sh | 2 +- model_abstract_policy_representation.go | 64 +- model_access.go | 8 +- model_access_token.go | 90 +- model_address_claim_set.go | 14 +- model_admin_event_representation.go | 22 +- model_application_representation.go | 80 +- model_auth_details_representation.go | 10 +- ...ication_execution_export_representation.go | 18 +- ...ntication_execution_info_representation.go | 32 +- ...authentication_execution_representation.go | 20 +- model_authentication_flow_representation.go | 16 +- ...uthenticator_config_info_representation.go | 10 +- model_authenticator_config_representation.go | 8 +- model_authorization.go | 4 +- model_authorization_schema.go | 126 + model_brute_force_strategy.go | 3 +- model_certificate_representation.go | 10 +- model_claim_representation.go | 22 +- ...ient_initial_access_create_presentation.go | 6 +- model_client_initial_access_presentation.go | 16 +- model_client_mappings_representation.go | 8 +- model_client_policies_representation.go | 6 +- ..._client_policy_condition_representation.go | 6 +- ...l_client_policy_executor_representation.go | 6 +- model_client_policy_representation.go | 14 +- model_client_profile_representation.go | 10 +- model_client_profiles_representation.go | 6 +- model_client_representation.go | 80 +- model_client_scope_representation.go | 14 +- model_client_template_representation.go | 34 +- model_client_type_representation.go | 12 +- model_client_types_representation.go | 6 +- model_component_export_representation.go | 14 +- model_component_representation.go | 18 +- model_component_type_representation.go | 10 +- model_composites.go | 6 +- model_config_property_representation.go | 20 +- model_confirmation.go | 6 +- model_credential_representation.go | 20 +- model_decision_effect.go | 3 +- model_decision_strategy.go | 5 +- model_enforcement_mode.go | 5 +- model_evaluation_result_representation.go | 14 +- model_event_representation.go | 22 +- model_federated_identity_representation.go | 8 +- model_global_request_result.go | 6 +- model_group_representation.go | 24 +- model_id_token.go | 76 +- ...identity_provider_mapper_representation.go | 14 +- ...ity_provider_mapper_type_representation.go | 12 +- model_identity_provider_representation.go | 34 +- model_installation_adapter_config.go | 28 +- model_key_metadata_representation.go | 24 +- model_key_store_config.go | 16 +- model_key_use.go | 1 + model_keys_metadata_representation.go | 8 +- model_logic.go | 1 + model_management_permission_reference.go | 8 +- model_mappings_representation.go | 6 +- model_member_representation.go | 58 +- model_membership_type.go | 3 +- model_method_config.go | 8 +- model_o_auth_client_representation.go | 80 +- model_organization_domain_representation.go | 8 +- model_organization_representation.go | 24 +- model_path_cache_config.go | 6 +- model_path_config.go | 24 +- model_permission.go | 10 +- model_policy_enforcement_mode.go | 7 +- model_policy_enforcer_config.go | 26 +- model_policy_evaluation_request.go | 16 +- model_policy_evaluation_response.go | 12 +- model_policy_provider_representation.go | 8 +- model_policy_representation.go | 66 +- model_policy_result_representation.go | 10 +- model_property_config.go | 8 +- ...otocol_mapper_evaluation_representation.go | 14 +- model_protocol_mapper_representation.go | 14 +- model_published_realm_representation.go | 14 +- model_realm_events_config_representation.go | 16 +- model_realm_representation.go | 390 +- ...uired_action_config_info_representation.go | 4 +- ...l_required_action_config_representation.go | 4 +- ...required_action_provider_representation.go | 18 +- model_resource_owner_representation.go | 6 +- model_resource_representation.go | 26 +- model_resource_server_representation.go | 58 +- model_resource_type.go | 162 + model_role_representation.go | 20 +- model_roles_representation.go | 6 +- model_scope_enforcement_mode.go | 7 +- model_scope_mapping_representation.go | 12 +- model_scope_representation.go | 16 +- model_social_link_representation.go | 6 +- model_unmanaged_attribute_policy.go | 3 +- model_up_attribute.go | 20 +- model_up_attribute_permissions.go | 4 +- model_up_attribute_required.go | 6 +- model_up_attribute_selector.go | 4 +- model_up_config.go | 8 +- model_up_group.go | 12 +- model_user_consent_representation.go | 10 +- ...l_user_federation_mapper_representation.go | 14 +- ...user_federation_provider_representation.go | 20 +- ...l_user_profile_attribute_group_metadata.go | 12 +- model_user_profile_attribute_metadata.go | 20 +- model_user_profile_metadata.go | 8 +- model_user_representation.go | 54 +- model_user_session_representation.go | 22 +- test/api_attack_detection_test.go | 8 +- test/api_authentication_management_test.go | 80 +- test/api_client_attribute_certificate_test.go | 14 +- test/api_client_initial_access_test.go | 8 +- test/api_client_registration_policy_test.go | 4 +- test/api_client_role_mappings_test.go | 22 +- test/api_client_scopes_test.go | 22 +- test/api_clients_test.go | 70 +- test/api_component_test.go | 14 +- test/api_default_test.go | 64 +- test/api_groups_test.go | 24 +- test/api_identity_providers_test.go | 36 +- test/api_key_test.go | 4 +- test/api_organizations_test.go | 153 +- test/api_protocol_mappers_test.go | 44 +- test/api_realms_admin_test.go | 92 +- test/api_role_mapper_test.go | 26 +- test/api_roles_by_id_test.go | 22 +- test/api_roles_test.go | 58 +- test/api_scope_mappings_test.go | 68 +- test/api_users_test.go | 70 +- utils.go | 2 +- 185 files changed, 30596 insertions(+), 8852 deletions(-) create mode 100644 api/openapi.json create mode 100644 docs/AuthorizationSchema.md create mode 100644 docs/ResourceType.md create mode 100644 model_authorization_schema.go create mode 100644 model_resource_type.go diff --git a/README.md b/README.md index fc3f474..434fac1 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ go get golang.org/x/net/context Put the package under your project folder and add the following in import: ```go -import keycloak_admin_client "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" +import keycloak_admin_client "github.com/daytonaio/keycloak-admin-client" ``` To use a proxy, set the environment variable `HTTP_PROXY`: @@ -222,7 +222,7 @@ Class | Method | HTTP request | Description *DefaultAPI* | [**AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearchGet**](docs/DefaultAPI.md#adminrealmsrealmclientsclientuuidauthzresourceserverscopesearchget) | **Get** /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/search | *DefaultAPI* | [**AdminRealmsRealmClientsClientUuidAuthzResourceServerSettingsGet**](docs/DefaultAPI.md#adminrealmsrealmclientsclientuuidauthzresourceserversettingsget) | **Get** /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/settings | *GroupsAPI* | [**AdminRealmsRealmGroupsCountGet**](docs/GroupsAPI.md#adminrealmsrealmgroupscountget) | **Get** /admin/realms/{realm}/groups/count | Returns the groups counts. -*GroupsAPI* | [**AdminRealmsRealmGroupsGet**](docs/GroupsAPI.md#adminrealmsrealmgroupsget) | **Get** /admin/realms/{realm}/groups | Get group hierarchy. Only name and ids are returned. +*GroupsAPI* | [**AdminRealmsRealmGroupsGet**](docs/GroupsAPI.md#adminrealmsrealmgroupsget) | **Get** /admin/realms/{realm}/groups | Get group hierarchy. Only `name` and `id` are returned. `subGroups` are only returned when using the `search` or `q` parameter. If none of these parameters is provided, the top-level groups are returned without `subGroups` being filled. *GroupsAPI* | [**AdminRealmsRealmGroupsGroupIdChildrenGet**](docs/GroupsAPI.md#adminrealmsrealmgroupsgroupidchildrenget) | **Get** /admin/realms/{realm}/groups/{group-id}/children | Return a paginated list of subgroups that have a parent group corresponding to the group on the URL *GroupsAPI* | [**AdminRealmsRealmGroupsGroupIdChildrenPost**](docs/GroupsAPI.md#adminrealmsrealmgroupsgroupidchildrenpost) | **Post** /admin/realms/{realm}/groups/{group-id}/children | Set or create child. *GroupsAPI* | [**AdminRealmsRealmGroupsGroupIdDelete**](docs/GroupsAPI.md#adminrealmsrealmgroupsgroupiddelete) | **Delete** /admin/realms/{realm}/groups/{group-id} | @@ -251,22 +251,22 @@ Class | Method | HTTP request | Description *IdentityProvidersAPI* | [**AdminRealmsRealmIdentityProviderProvidersProviderIdGet**](docs/IdentityProvidersAPI.md#adminrealmsrealmidentityproviderprovidersprovideridget) | **Get** /admin/realms/{realm}/identity-provider/providers/{provider_id} | Get the identity provider factory for that provider id *KeyAPI* | [**AdminRealmsRealmKeysGet**](docs/KeyAPI.md#adminrealmsrealmkeysget) | **Get** /admin/realms/{realm}/keys | *OrganizationsAPI* | [**AdminRealmsRealmOrganizationsGet**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsget) | **Get** /admin/realms/{realm}/organizations | Returns a paginated list of organizations filtered according to the specified parameters -*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsIdDelete**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsiddelete) | **Delete** /admin/realms/{realm}/organizations/{id} | Deletes the organization -*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsIdGet**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsidget) | **Get** /admin/realms/{realm}/organizations/{id} | Returns the organization representation -*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsIdIdentityProvidersAliasDelete**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsididentityprovidersaliasdelete) | **Delete** /admin/realms/{realm}/organizations/{id}/identity-providers/{alias} | Removes the identity provider with the specified alias from the organization -*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsIdIdentityProvidersAliasGet**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsididentityprovidersaliasget) | **Get** /admin/realms/{realm}/organizations/{id}/identity-providers/{alias} | Returns the identity provider associated with the organization that has the specified alias -*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsIdIdentityProvidersGet**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsididentityprovidersget) | **Get** /admin/realms/{realm}/organizations/{id}/identity-providers | Returns all identity providers associated with the organization -*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsIdIdentityProvidersPost**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsididentityproviderspost) | **Post** /admin/realms/{realm}/organizations/{id}/identity-providers | Adds the identity provider with the specified id to the organization -*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsIdMembersCountGet**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsidmemberscountget) | **Get** /admin/realms/{realm}/organizations/{id}/members/count | Returns number of members in the organization. -*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsIdMembersGet**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsidmembersget) | **Get** /admin/realms/{realm}/organizations/{id}/members | Returns a paginated list of organization members filtered according to the specified parameters -*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsIdMembersInviteExistingUserPost**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsidmembersinviteexistinguserpost) | **Post** /admin/realms/{realm}/organizations/{id}/members/invite-existing-user | Invites an existing user to the organization, using the specified user id -*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsIdMembersInviteUserPost**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsidmembersinviteuserpost) | **Post** /admin/realms/{realm}/organizations/{id}/members/invite-user | Invites an existing user or sends a registration link to a new user, based on the provided e-mail address. -*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsIdMembersPost**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsidmemberspost) | **Post** /admin/realms/{realm}/organizations/{id}/members | Adds the user with the specified id as a member of the organization -*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsIdMembersUserIdDelete**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsidmembersuseriddelete) | **Delete** /admin/realms/{realm}/organizations/{id}/members/{userId} | Removes the user with the specified id from the organization -*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsIdMembersUserIdGet**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsidmembersuseridget) | **Get** /admin/realms/{realm}/organizations/{id}/members/{userId} | Returns the member of the organization with the specified id -*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsIdMembersUserIdOrganizationsGet**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsidmembersuseridorganizationsget) | **Get** /admin/realms/{realm}/organizations/{id}/members/{userId}/organizations | Returns the organizations associated with the user that has the specified id -*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsIdPut**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsidput) | **Put** /admin/realms/{realm}/organizations/{id} | Updates the organization -*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsMembersIdOrganizationsGet**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsmembersidorganizationsget) | **Get** /admin/realms/{realm}/organizations/members/{id}/organizations | Returns the organizations associated with the user that has the specified id +*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsMembersMemberIdOrganizationsGet**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsmembersmemberidorganizationsget) | **Get** /admin/realms/{realm}/organizations/members/{member-id}/organizations | Returns the organizations associated with the user that has the specified id +*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsOrgIdDelete**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsorgiddelete) | **Delete** /admin/realms/{realm}/organizations/{org-id} | Deletes the organization +*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsOrgIdGet**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsorgidget) | **Get** /admin/realms/{realm}/organizations/{org-id} | Returns the organization representation +*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasDelete**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsorgididentityprovidersaliasdelete) | **Delete** /admin/realms/{realm}/organizations/{org-id}/identity-providers/{alias} | Removes the identity provider with the specified alias from the organization +*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGet**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsorgididentityprovidersaliasget) | **Get** /admin/realms/{realm}/organizations/{org-id}/identity-providers/{alias} | Returns the identity provider associated with the organization that has the specified alias +*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsOrgIdIdentityProvidersGet**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsorgididentityprovidersget) | **Get** /admin/realms/{realm}/organizations/{org-id}/identity-providers | Returns all identity providers associated with the organization +*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsOrgIdIdentityProvidersPost**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsorgididentityproviderspost) | **Post** /admin/realms/{realm}/organizations/{org-id}/identity-providers | Adds the identity provider with the specified id to the organization +*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsOrgIdMembersCountGet**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsorgidmemberscountget) | **Get** /admin/realms/{realm}/organizations/{org-id}/members/count | Returns number of members in the organization. +*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsOrgIdMembersGet**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsorgidmembersget) | **Get** /admin/realms/{realm}/organizations/{org-id}/members | Returns a paginated list of organization members filtered according to the specified parameters +*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUserPost**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsorgidmembersinviteexistinguserpost) | **Post** /admin/realms/{realm}/organizations/{org-id}/members/invite-existing-user | Invites an existing user to the organization, using the specified user id +*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsOrgIdMembersInviteUserPost**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsorgidmembersinviteuserpost) | **Post** /admin/realms/{realm}/organizations/{org-id}/members/invite-user | Invites an existing user or sends a registration link to a new user, based on the provided e-mail address. +*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsOrgIdMembersMemberIdDelete**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsorgidmembersmemberiddelete) | **Delete** /admin/realms/{realm}/organizations/{org-id}/members/{member-id} | Removes the user with the specified id from the organization +*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsOrgIdMembersMemberIdGet**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsorgidmembersmemberidget) | **Get** /admin/realms/{realm}/organizations/{org-id}/members/{member-id} | Returns the member of the organization with the specified id +*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizationsGet**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsorgidmembersmemberidorganizationsget) | **Get** /admin/realms/{realm}/organizations/{org-id}/members/{member-id}/organizations | Returns the organizations associated with the user that has the specified id +*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsOrgIdMembersPost**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsorgidmemberspost) | **Post** /admin/realms/{realm}/organizations/{org-id}/members | Adds the user with the specified id as a member of the organization +*OrganizationsAPI* | [**AdminRealmsRealmOrganizationsOrgIdPut**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationsorgidput) | **Put** /admin/realms/{realm}/organizations/{org-id} | Updates the organization *OrganizationsAPI* | [**AdminRealmsRealmOrganizationsPost**](docs/OrganizationsAPI.md#adminrealmsrealmorganizationspost) | **Post** /admin/realms/{realm}/organizations | Creates a new organization *ProtocolMappersAPI* | [**AdminRealmsRealmClientScopesClientScopeIdProtocolMappersAddModelsPost**](docs/ProtocolMappersAPI.md#adminrealmsrealmclientscopesclientscopeidprotocolmappersaddmodelspost) | **Post** /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/add-models | Create multiple mappers *ProtocolMappersAPI* | [**AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsGet**](docs/ProtocolMappersAPI.md#adminrealmsrealmclientscopesclientscopeidprotocolmappersmodelsget) | **Get** /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models | Get mappers @@ -469,6 +469,7 @@ Class | Method | HTTP request | Description - [AuthenticatorConfigInfoRepresentation](docs/AuthenticatorConfigInfoRepresentation.md) - [AuthenticatorConfigRepresentation](docs/AuthenticatorConfigRepresentation.md) - [Authorization](docs/Authorization.md) + - [AuthorizationSchema](docs/AuthorizationSchema.md) - [BruteForceStrategy](docs/BruteForceStrategy.md) - [CertificateRepresentation](docs/CertificateRepresentation.md) - [ClaimRepresentation](docs/ClaimRepresentation.md) @@ -541,6 +542,7 @@ Class | Method | HTTP request | Description - [ResourceOwnerRepresentation](docs/ResourceOwnerRepresentation.md) - [ResourceRepresentation](docs/ResourceRepresentation.md) - [ResourceServerRepresentation](docs/ResourceServerRepresentation.md) + - [ResourceType](docs/ResourceType.md) - [RoleRepresentation](docs/RoleRepresentation.md) - [RolesRepresentation](docs/RolesRepresentation.md) - [ScopeEnforcementMode](docs/ScopeEnforcementMode.md) diff --git a/api/openapi.json b/api/openapi.json new file mode 100644 index 0000000..85c0e6e --- /dev/null +++ b/api/openapi.json @@ -0,0 +1,19691 @@ +{ + "openapi": "3.0.3", + "info": { + "title": "Keycloak Admin REST API", + "description": "This is a REST API reference for the Keycloak Admin REST API.", + "version": "1.0" + }, + "tags": [ + { + "name": "Attack Detection" + }, + { + "name": "Authentication Management" + }, + { + "name": "Client Attribute Certificate" + }, + { + "name": "Client Initial Access" + }, + { + "name": "Client Registration Policy" + }, + { + "name": "Client Role Mappings" + }, + { + "name": "Client Scopes" + }, + { + "name": "Clients" + }, + { + "name": "Component" + }, + { + "name": "Groups" + }, + { + "name": "Identity Providers" + }, + { + "name": "Key" + }, + { + "name": "Organizations" + }, + { + "name": "Protocol Mappers" + }, + { + "name": "Realms Admin" + }, + { + "name": "Role Mapper" + }, + { + "name": "Roles" + }, + { + "name": "Roles (by ID)" + }, + { + "name": "Scope Mappings" + }, + { + "name": "Users" + } + ], + "paths": { + "/admin/realms": { + "get": { + "tags": [ + "Realms Admin" + ], + "summary": "Get accessible realms Returns a list of accessible realms. The list is filtered based on what realms the caller is allowed to view.", + "parameters": [ + { + "name": "briefRepresentation", + "in": "query", + "schema": { + "default": false, + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RealmRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Realms Admin" + ], + "summary": "Import a realm. Imports a realm from a full representation of that realm.", + "description": "Realm name must be unique.", + "requestBody": { + "content": { + "application/json": { + "schema": { + "format": "binary", + "type": "string" + } + } + } + }, + "responses": { + "201": { + "description": "Created" + } + } + } + }, + "/admin/realms/{realm}": { + "get": { + "tags": [ + "Realms Admin" + ], + "summary": "Get the top-level representation of the realm It will not include nested information like User and Client representations.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RealmRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Realms Admin" + ], + "summary": "Update the top-level information of the realm Any user, roles or client information in the representation will be ignored.", + "description": "This will only update top-level attributes of the realm.", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RealmRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Realms Admin" + ], + "summary": "Delete the realm", + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/admin-events": { + "get": { + "tags": [ + "Realms Admin" + ], + "summary": "Get admin events Returns all admin events, or filters events based on URL query parameters listed here", + "parameters": [ + { + "name": "authClient", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "authIpAddress", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "authRealm", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "authUser", + "in": "query", + "description": "user id", + "schema": { + "type": "string" + } + }, + { + "name": "dateFrom", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "dateTo", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "first", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "max", + "in": "query", + "description": "Maximum results size (defaults to 100)", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "operationTypes", + "in": "query", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "resourcePath", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "resourceTypes", + "in": "query", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AdminEventRepresentation" + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "Realms Admin" + ], + "summary": "Delete all admin events", + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/attack-detection/brute-force/users": { + "delete": { + "tags": [ + "Attack Detection" + ], + "summary": "Clear any user login failures for all users This can release temporary disabled users", + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/attack-detection/brute-force/users/{userId}": { + "get": { + "tags": [ + "Attack Detection" + ], + "summary": "Get status of a username in brute force detection", + "parameters": [ + { + "name": "userId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": {} + } + } + } + } + } + }, + "delete": { + "tags": [ + "Attack Detection" + ], + "summary": "Clear any user login failures for the user This can release temporary disabled user", + "parameters": [ + { + "name": "userId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/authenticator-providers": { + "get": { + "tags": [ + "Authentication Management" + ], + "summary": "Get authenticator providers Returns a stream of authenticator providers.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": {} + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/client-authenticator-providers": { + "get": { + "tags": [ + "Authentication Management" + ], + "summary": "Get client authenticator providers Returns a stream of client authenticator providers.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": {} + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/config": { + "post": { + "tags": [ + "Authentication Management" + ], + "summary": "Create new authenticator configuration", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthenticatorConfigRepresentation" + } + } + } + }, + "responses": { + "201": { + "description": "Created" + } + }, + "deprecated": true + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/config-description/{providerId}": { + "get": { + "tags": [ + "Authentication Management" + ], + "summary": "Get authenticator provider's configuration description", + "parameters": [ + { + "name": "providerId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthenticatorConfigInfoRepresentation" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/config/{id}": { + "get": { + "tags": [ + "Authentication Management" + ], + "summary": "Get authenticator configuration", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "Configuration id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthenticatorConfigRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Authentication Management" + ], + "summary": "Update authenticator configuration", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "Configuration id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthenticatorConfigRepresentation" + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Authentication Management" + ], + "summary": "Delete authenticator configuration", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "Configuration id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/executions": { + "post": { + "tags": [ + "Authentication Management" + ], + "summary": "Add new authentication execution", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthenticationExecutionRepresentation" + } + } + } + }, + "responses": { + "201": { + "description": "Created" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/executions/{executionId}": { + "get": { + "tags": [ + "Authentication Management" + ], + "summary": "Get Single Execution", + "parameters": [ + { + "name": "executionId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthenticationExecutionRepresentation" + } + } + } + } + } + }, + "delete": { + "tags": [ + "Authentication Management" + ], + "summary": "Delete execution", + "parameters": [ + { + "name": "executionId", + "in": "path", + "description": "Execution id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/executions/{executionId}/config": { + "post": { + "tags": [ + "Authentication Management" + ], + "summary": "Update execution with new configuration", + "parameters": [ + { + "name": "executionId", + "in": "path", + "description": "Execution id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthenticatorConfigRepresentation" + } + } + } + }, + "responses": { + "201": { + "description": "Created" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/executions/{executionId}/config/{id}": { + "get": { + "tags": [ + "Authentication Management" + ], + "summary": "Get execution's configuration", + "parameters": [ + { + "name": "executionId", + "in": "path", + "description": "Execution id", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "description": "Configuration id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthenticatorConfigRepresentation" + } + } + } + } + }, + "deprecated": true + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/executions/{executionId}/lower-priority": { + "post": { + "tags": [ + "Authentication Management" + ], + "summary": "Lower execution's priority", + "parameters": [ + { + "name": "executionId", + "in": "path", + "description": "Execution id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/executions/{executionId}/raise-priority": { + "post": { + "tags": [ + "Authentication Management" + ], + "summary": "Raise execution's priority", + "parameters": [ + { + "name": "executionId", + "in": "path", + "description": "Execution id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/flows": { + "get": { + "tags": [ + "Authentication Management" + ], + "summary": "Get authentication flows Returns a stream of authentication flows.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AuthenticationFlowRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Authentication Management" + ], + "summary": "Create a new authentication flow", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthenticationFlowRepresentation" + } + } + } + }, + "responses": { + "201": { + "description": "Created" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/flows/{flowAlias}/copy": { + "post": { + "tags": [ + "Authentication Management" + ], + "summary": "Copy existing authentication flow under a new name The new name is given as 'newName' attribute of the passed JSON object", + "parameters": [ + { + "name": "flowAlias", + "in": "path", + "description": "name of the existing authentication flow", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + }, + "responses": { + "201": { + "description": "Created" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/flows/{flowAlias}/executions": { + "get": { + "tags": [ + "Authentication Management" + ], + "summary": "Get authentication executions for a flow", + "parameters": [ + { + "name": "flowAlias", + "in": "path", + "description": "Flow alias", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AuthenticationExecutionInfoRepresentation" + } + } + } + } + } + } + }, + "put": { + "tags": [ + "Authentication Management" + ], + "summary": "Update authentication executions of a Flow", + "parameters": [ + { + "name": "flowAlias", + "in": "path", + "description": "Flow alias", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthenticationExecutionInfoRepresentation" + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/flows/{flowAlias}/executions/execution": { + "post": { + "tags": [ + "Authentication Management" + ], + "summary": "Add new authentication execution to a flow", + "parameters": [ + { + "name": "flowAlias", + "in": "path", + "description": "Alias of parent flow", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": {} + } + } + } + }, + "responses": { + "201": { + "description": "Created" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/flows/{flowAlias}/executions/flow": { + "post": { + "tags": [ + "Authentication Management" + ], + "summary": "Add new flow with new execution to existing flow", + "parameters": [ + { + "name": "flowAlias", + "in": "path", + "description": "Alias of parent authentication flow", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": {} + } + } + } + }, + "responses": { + "201": { + "description": "Created" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/flows/{id}": { + "get": { + "tags": [ + "Authentication Management" + ], + "summary": "Get authentication flow for id", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "Flow id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthenticationFlowRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Authentication Management" + ], + "summary": "Update an authentication flow", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AuthenticationFlowRepresentation" + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Authentication Management" + ], + "summary": "Delete an authentication flow", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "Flow id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/form-action-providers": { + "get": { + "tags": [ + "Authentication Management" + ], + "summary": "Get form action providers Returns a stream of form action providers.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": {} + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/form-providers": { + "get": { + "tags": [ + "Authentication Management" + ], + "summary": "Get form providers Returns a stream of form providers.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": {} + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/per-client-config-description": { + "get": { + "tags": [ + "Authentication Management" + ], + "summary": "Get configuration descriptions for all clients", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ConfigPropertyRepresentation" + } + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/register-required-action": { + "post": { + "tags": [ + "Authentication Management" + ], + "summary": "Register a new required actions", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/required-actions": { + "get": { + "tags": [ + "Authentication Management" + ], + "summary": "Get required actions Returns a stream of required actions.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RequiredActionProviderRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/required-actions/{alias}": { + "get": { + "tags": [ + "Authentication Management" + ], + "summary": "Get required action for alias", + "parameters": [ + { + "name": "alias", + "in": "path", + "description": "Alias of required action", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RequiredActionProviderRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Authentication Management" + ], + "summary": "Update required action", + "parameters": [ + { + "name": "alias", + "in": "path", + "description": "Alias of required action", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RequiredActionProviderRepresentation" + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Authentication Management" + ], + "summary": "Delete required action", + "parameters": [ + { + "name": "alias", + "in": "path", + "description": "Alias of required action", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/required-actions/{alias}/config": { + "get": { + "tags": [ + "Authentication Management" + ], + "summary": "Get RequiredAction configuration", + "parameters": [ + { + "name": "alias", + "in": "path", + "description": "Alias of required action", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RequiredActionConfigRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Authentication Management" + ], + "summary": "Update RequiredAction configuration", + "parameters": [ + { + "name": "alias", + "in": "path", + "description": "Alias of required action", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RequiredActionConfigRepresentation" + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Authentication Management" + ], + "summary": "Delete RequiredAction configuration", + "parameters": [ + { + "name": "alias", + "in": "path", + "description": "Alias of required action", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/required-actions/{alias}/config-description": { + "get": { + "tags": [ + "Authentication Management" + ], + "summary": "Get RequiredAction provider configuration description", + "parameters": [ + { + "name": "alias", + "in": "path", + "description": "Alias of required action", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RequiredActionConfigInfoRepresentation" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/required-actions/{alias}/lower-priority": { + "post": { + "tags": [ + "Authentication Management" + ], + "summary": "Lower required action's priority", + "parameters": [ + { + "name": "alias", + "in": "path", + "description": "Alias of required action", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/required-actions/{alias}/raise-priority": { + "post": { + "tags": [ + "Authentication Management" + ], + "summary": "Raise required action's priority", + "parameters": [ + { + "name": "alias", + "in": "path", + "description": "Alias of required action", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/authentication/unregistered-required-actions": { + "get": { + "tags": [ + "Authentication Management" + ], + "summary": "Get unregistered required actions Returns a stream of unregistered required actions.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-description-converter": { + "post": { + "tags": [ + "Realms Admin" + ], + "summary": "Base path for importing clients under this realm.", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + }, + "application/xml": { + "schema": { + "type": "string" + } + }, + "text/plain": { + "schema": { + "type": "string" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClientRepresentation" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-policies/policies": { + "get": { + "tags": [ + "Realms Admin" + ], + "parameters": [ + { + "name": "include-global-policies", + "in": "query", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClientPoliciesRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Realms Admin" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClientPoliciesRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-policies/profiles": { + "get": { + "tags": [ + "Realms Admin" + ], + "parameters": [ + { + "name": "include-global-profiles", + "in": "query", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClientProfilesRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Realms Admin" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClientProfilesRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-registration-policy/providers": { + "get": { + "tags": [ + "Client Registration Policy" + ], + "summary": "Base path for retrieve providers with the configProperties properly filled", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ComponentTypeRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-scopes": { + "get": { + "tags": [ + "Client Scopes" + ], + "summary": "Get client scopes belonging to the realm Returns a list of client scopes belonging to the realm", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClientScopeRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Client Scopes" + ], + "summary": "Create a new client scope Client Scope’s name must be unique!", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClientScopeRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-scopes/{client-scope-id}": { + "get": { + "tags": [ + "Client Scopes" + ], + "summary": "Get representation of the client scope", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClientScopeRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Client Scopes" + ], + "summary": "Update the client scope", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClientScopeRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Client Scopes" + ], + "summary": "Delete the client scope", + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/add-models": { + "post": { + "tags": [ + "Protocol Mappers" + ], + "summary": "Create multiple mappers", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models": { + "get": { + "tags": [ + "Protocol Mappers" + ], + "summary": "Get mappers", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Protocol Mappers" + ], + "summary": "Create a mapper", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models/{id}": { + "get": { + "tags": [ + "Protocol Mappers" + ], + "summary": "Get mapper by id", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "Mapper id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Protocol Mappers" + ], + "summary": "Update the mapper", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "Mapper id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Protocol Mappers" + ], + "summary": "Delete the mapper", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "Mapper id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/protocol/{protocol}": { + "get": { + "tags": [ + "Protocol Mappers" + ], + "summary": "Get mappers by name for a specific protocol", + "parameters": [ + { + "name": "protocol", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings": { + "get": { + "tags": [ + "Scope Mappings" + ], + "summary": "Get all scope mappings for the client", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MappingsRepresentation" + } + } + } + } + }, + "deprecated": true + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/clients/{client}": { + "get": { + "tags": [ + "Scope Mappings" + ], + "summary": "Get the roles associated with a client's scope Returns roles for the client.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Scope Mappings" + ], + "summary": "Add client-level roles to the client's scope", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Scope Mappings" + ], + "summary": "Remove client-level roles from the client's scope.", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/clients/{client}/available": { + "get": { + "tags": [ + "Scope Mappings" + ], + "summary": "The available client-level roles Returns the roles for the client that can be associated with the client's scope", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/clients/{client}/composite": { + "get": { + "tags": [ + "Scope Mappings" + ], + "summary": "Get effective client roles Returns the roles for the client that are associated with the client's scope.", + "parameters": [ + { + "name": "briefRepresentation", + "in": "query", + "description": "if false, return roles with their attributes", + "schema": { + "default": true, + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/realm": { + "get": { + "tags": [ + "Scope Mappings" + ], + "summary": "Get realm-level roles associated with the client's scope", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Scope Mappings" + ], + "summary": "Add a set of realm-level roles to the client's scope", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Scope Mappings" + ], + "summary": "Remove a set of realm-level roles from the client's scope", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/realm/available": { + "get": { + "tags": [ + "Scope Mappings" + ], + "summary": "Get realm-level roles that are available to attach to this client's scope", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/realm/composite": { + "get": { + "tags": [ + "Scope Mappings" + ], + "summary": "Get effective realm-level roles associated with the client’s scope What this does is recurse any composite roles associated with the client’s scope and adds the roles to this lists.", + "description": "The method is really to show a comprehensive total view of realm-level roles associated with the client.", + "parameters": [ + { + "name": "briefRepresentation", + "in": "query", + "description": "if false, return roles with their attributes", + "schema": { + "default": true, + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-session-stats": { + "get": { + "tags": [ + "Realms Admin" + ], + "summary": "Get client session stats Returns a JSON map.", + "description": "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.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-templates": { + "get": { + "tags": [ + "Client Scopes" + ], + "summary": "Get client scopes belonging to the realm Returns a list of client scopes belonging to the realm", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClientScopeRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Client Scopes" + ], + "summary": "Create a new client scope Client Scope’s name must be unique!", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClientScopeRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-templates/{client-scope-id}": { + "get": { + "tags": [ + "Client Scopes" + ], + "summary": "Get representation of the client scope", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClientScopeRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Client Scopes" + ], + "summary": "Update the client scope", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClientScopeRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Client Scopes" + ], + "summary": "Delete the client scope", + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/add-models": { + "post": { + "tags": [ + "Protocol Mappers" + ], + "summary": "Create multiple mappers", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models": { + "get": { + "tags": [ + "Protocol Mappers" + ], + "summary": "Get mappers", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Protocol Mappers" + ], + "summary": "Create a mapper", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models/{id}": { + "get": { + "tags": [ + "Protocol Mappers" + ], + "summary": "Get mapper by id", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "Mapper id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Protocol Mappers" + ], + "summary": "Update the mapper", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "Mapper id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Protocol Mappers" + ], + "summary": "Delete the mapper", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "Mapper id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/protocol/{protocol}": { + "get": { + "tags": [ + "Protocol Mappers" + ], + "summary": "Get mappers by name for a specific protocol", + "parameters": [ + { + "name": "protocol", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings": { + "get": { + "tags": [ + "Scope Mappings" + ], + "summary": "Get all scope mappings for the client", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MappingsRepresentation" + } + } + } + } + }, + "deprecated": true + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/clients/{client}": { + "get": { + "tags": [ + "Scope Mappings" + ], + "summary": "Get the roles associated with a client's scope Returns roles for the client.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Scope Mappings" + ], + "summary": "Add client-level roles to the client's scope", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Scope Mappings" + ], + "summary": "Remove client-level roles from the client's scope.", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/clients/{client}/available": { + "get": { + "tags": [ + "Scope Mappings" + ], + "summary": "The available client-level roles Returns the roles for the client that can be associated with the client's scope", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/clients/{client}/composite": { + "get": { + "tags": [ + "Scope Mappings" + ], + "summary": "Get effective client roles Returns the roles for the client that are associated with the client's scope.", + "parameters": [ + { + "name": "briefRepresentation", + "in": "query", + "description": "if false, return roles with their attributes", + "schema": { + "default": true, + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/realm": { + "get": { + "tags": [ + "Scope Mappings" + ], + "summary": "Get realm-level roles associated with the client's scope", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Scope Mappings" + ], + "summary": "Add a set of realm-level roles to the client's scope", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Scope Mappings" + ], + "summary": "Remove a set of realm-level roles from the client's scope", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/realm/available": { + "get": { + "tags": [ + "Scope Mappings" + ], + "summary": "Get realm-level roles that are available to attach to this client's scope", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/realm/composite": { + "get": { + "tags": [ + "Scope Mappings" + ], + "summary": "Get effective realm-level roles associated with the client’s scope What this does is recurse any composite roles associated with the client’s scope and adds the roles to this lists.", + "description": "The method is really to show a comprehensive total view of realm-level roles associated with the client.", + "parameters": [ + { + "name": "briefRepresentation", + "in": "query", + "description": "if false, return roles with their attributes", + "schema": { + "default": true, + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/client-types": { + "get": { + "tags": [ + "Realms Admin" + ], + "summary": "List all client types available in the current realm", + "description": "This endpoint returns a list of both global and realm level client types and the attributes they set", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClientTypesRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Realms Admin" + ], + "summary": "Update a client type", + "description": "This endpoint allows you to update a realm level client type", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClientTypesRepresentation" + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Get clients belonging to the realm.", + "description": "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.", + "parameters": [ + { + "name": "clientId", + "in": "query", + "description": "filter by clientId", + "schema": { + "type": "string" + } + }, + { + "name": "first", + "in": "query", + "description": "the first result", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "max", + "in": "query", + "description": "the max results to return", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "q", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "search", + "in": "query", + "description": "whether this is a search query or a getClientById query", + "schema": { + "default": false, + "type": "boolean" + } + }, + { + "name": "viewableOnly", + "in": "query", + "description": "filter clients that cannot be viewed in full by admin", + "schema": { + "default": false, + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClientRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Clients" + ], + "summary": "Create a new client Client’s client_id must be unique!", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClientRepresentation" + } + } + } + }, + "responses": { + "201": { + "description": "Created" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients-initial-access": { + "get": { + "tags": [ + "Client Initial Access" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClientInitialAccessPresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Client Initial Access" + ], + "summary": "Create a new initial access token.", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClientInitialAccessCreatePresentation" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClientInitialAccessCreatePresentation" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients-initial-access/{id}": { + "delete": { + "tags": [ + "Client Initial Access" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Get representation of the client", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClientRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Clients" + ], + "summary": "Update the client", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClientRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Clients" + ], + "summary": "Delete the client", + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceServerRepresentation" + } + } + } + } + } + }, + "put": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceServerRepresentation" + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/import": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceServerRepresentation" + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission": { + "get": { + "parameters": [ + { + "name": "fields", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "first", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "max", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "name", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "owner", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "permission", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "policyId", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "resource", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "scope", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "query", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AbstractPolicyRepresentation" + } + } + } + } + }, + "204": { + "description": "No Content" + } + } + }, + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "responses": { + "201": { + "description": "Created" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission/evaluate": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PolicyEvaluationRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PolicyEvaluationResponse" + } + } + } + }, + "500": { + "description": "Internal Server Error" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission/providers": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PolicyProviderRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission/search": { + "get": { + "parameters": [ + { + "name": "fields", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "name", + "in": "query", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AbstractPolicyRepresentation" + } + } + } + }, + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy": { + "get": { + "parameters": [ + { + "name": "fields", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "first", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "max", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "name", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "owner", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "permission", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "policyId", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "resource", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "scope", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "query", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AbstractPolicyRepresentation" + } + } + } + } + }, + "204": { + "description": "No Content" + } + } + }, + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "responses": { + "201": { + "description": "Created" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy/evaluate": { + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PolicyEvaluationRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PolicyEvaluationResponse" + } + } + } + }, + "500": { + "description": "Internal Server Error" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy/providers": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PolicyProviderRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy/search": { + "get": { + "parameters": [ + { + "name": "fields", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "name", + "in": "query", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AbstractPolicyRepresentation" + } + } + } + }, + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource": { + "get": { + "parameters": [ + { + "name": "_id", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "deep", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "exactName", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "first", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "matchingUri", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "max", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "name", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "owner", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "scope", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "uri", + "in": "query", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceRepresentation" + } + } + } + } + } + } + }, + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceRepresentation" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceRepresentation" + } + } + } + }, + "400": { + "description": "Bad Request" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "_id", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "deep", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "exactName", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "first", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "matchingUri", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "max", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "name", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "owner", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "scope", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "uri", + "in": "query", + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/search": { + "get": { + "parameters": [ + { + "name": "name", + "in": "query", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceRepresentation" + } + } + } + }, + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "_id", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "deep", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "exactName", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "first", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "matchingUri", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "max", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "name", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "owner", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "scope", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "uri", + "in": "query", + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}": { + "get": { + "parameters": [ + { + "name": "resource-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceRepresentation" + } + } + } + }, + "404": { + "description": "Not found" + } + } + }, + "put": { + "parameters": [ + { + "name": "resource-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceRepresentation" + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found" + } + } + }, + "delete": { + "parameters": [ + { + "name": "resource-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "_id", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "deep", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "exactName", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "first", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "matchingUri", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "max", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "name", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "owner", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "scope", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "uri", + "in": "query", + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}/attributes": { + "get": { + "parameters": [ + { + "name": "resource-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "_id", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "deep", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "exactName", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "first", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "matchingUri", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "max", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "name", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "owner", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "scope", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "uri", + "in": "query", + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}/permissions": { + "get": { + "parameters": [ + { + "name": "resource-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PolicyRepresentation" + } + } + } + } + }, + "404": { + "description": "Not found" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "_id", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "deep", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "exactName", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "first", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "matchingUri", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "max", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "name", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "owner", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "scope", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "uri", + "in": "query", + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}/scopes": { + "get": { + "parameters": [ + { + "name": "resource-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ScopeRepresentation" + } + } + } + } + }, + "404": { + "description": "Not found" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "_id", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "deep", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "exactName", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "first", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "matchingUri", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "max", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "name", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "owner", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "scope", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "uri", + "in": "query", + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope": { + "get": { + "parameters": [ + { + "name": "first", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "max", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "name", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "scopeId", + "in": "query", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ScopeRepresentation" + } + } + } + } + } + } + }, + "post": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ScopeRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/search": { + "get": { + "parameters": [ + { + "name": "name", + "in": "query", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ScopeRepresentation" + } + } + } + } + }, + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/{scope-id}": { + "get": { + "parameters": [ + { + "name": "scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ScopeRepresentation" + } + } + } + }, + "404": { + "description": "Not found" + } + } + }, + "put": { + "parameters": [ + { + "name": "scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ScopeRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "parameters": [ + { + "name": "scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/{scope-id}/permissions": { + "get": { + "parameters": [ + { + "name": "scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PolicyRepresentation" + } + } + } + } + }, + "404": { + "description": "Not found" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/{scope-id}/resources": { + "get": { + "parameters": [ + { + "name": "scope-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceRepresentation" + } + } + } + } + }, + "404": { + "description": "Not found" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/settings": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceServerRepresentation" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}": { + "get": { + "tags": [ + "Client Attribute Certificate" + ], + "summary": "Get key info", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CertificateRepresentation" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "attr", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/download": { + "post": { + "tags": [ + "Client Attribute Certificate" + ], + "summary": "Get a keystore file for the client, containing private key and public certificate", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/KeyStoreConfig" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/octet-stream": { + "schema": { + "format": "binary", + "type": "string" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "attr", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/generate": { + "post": { + "tags": [ + "Client Attribute Certificate" + ], + "summary": "Generate a new certificate with new key pair", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CertificateRepresentation" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "attr", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/generate-and-download": { + "post": { + "tags": [ + "Client Attribute Certificate" + ], + "summary": "Generate a new keypair and certificate, and get the private key file\n\nGenerates a keypair and certificate and serves the private key in a specified keystore format.\nOnly generated public certificate is saved in Keycloak DB - the private key is not.", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/KeyStoreConfig" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/octet-stream": { + "schema": { + "format": "binary", + "type": "string" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "attr", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/upload": { + "post": { + "tags": [ + "Client Attribute Certificate" + ], + "summary": "Upload certificate and eventually private key", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CertificateRepresentation" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "attr", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/upload-certificate": { + "post": { + "tags": [ + "Client Attribute Certificate" + ], + "summary": "Upload only certificate, not private key", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CertificateRepresentation" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "attr", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/client-secret": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Get the client secret", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CredentialRepresentation" + } + } + } + } + } + }, + "post": { + "tags": [ + "Clients" + ], + "summary": "Generate a new secret for the client", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CredentialRepresentation" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/client-secret/rotated": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Get the rotated client secret", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CredentialRepresentation" + } + } + } + } + } + }, + "delete": { + "tags": [ + "Clients" + ], + "summary": "Invalidate the rotated secret for the client", + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/default-client-scopes": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Get default client scopes. Only name and ids are returned.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClientScopeRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/default-client-scopes/{clientScopeId}": { + "put": { + "tags": [ + "Clients" + ], + "parameters": [ + { + "name": "clientScopeId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Clients" + ], + "parameters": [ + { + "name": "clientScopeId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/generate-example-access-token": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Create JSON with payload of example access token", + "parameters": [ + { + "name": "scope", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "userId", + "in": "query", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AccessToken" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/generate-example-id-token": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Create JSON with payload of example id token", + "parameters": [ + { + "name": "scope", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "userId", + "in": "query", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IDToken" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/generate-example-userinfo": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Create JSON with payload of example user info", + "parameters": [ + { + "name": "scope", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "userId", + "in": "query", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": {} + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/protocol-mappers": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Return list of all protocol mappers, which will be used when generating tokens issued for particular client.", + "description": "This means protocol mappers assigned to this client directly and protocol mappers assigned to all client scopes of this client.", + "parameters": [ + { + "name": "scope", + "in": "query", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProtocolMapperEvaluationRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/scope-mappings/{roleContainerId}/granted": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Get effective scope mapping of all roles of particular role container, which this client is defacto allowed to have in the accessToken issued for him.", + "description": "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.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "roleContainerId", + "in": "path", + "description": "either realm name OR client UUID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "scope", + "in": "query", + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/scope-mappings/{roleContainerId}/not-granted": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Get roles, which this client doesn't have scope for and can't have them in the accessToken issued for him.", + "description": "Defacto all the other roles of particular role container, which are not in {@link #getGrantedScopeMappings()}", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "roleContainerId", + "in": "path", + "description": "either realm name OR client UUID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "scope", + "in": "query", + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/installation/providers/{providerId}": { + "get": { + "tags": [ + "Clients" + ], + "parameters": [ + { + "name": "providerId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/management/permissions": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Return object stating whether client Authorization permissions have been initialized or not and a reference", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ManagementPermissionReference" + } + } + } + } + } + }, + "put": { + "tags": [ + "Clients" + ], + "summary": "Return object stating whether client Authorization permissions have been initialized or not and a reference", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ManagementPermissionReference" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ManagementPermissionReference" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/nodes": { + "post": { + "tags": [ + "Clients" + ], + "summary": "Register a cluster node with the client Manually register cluster node to this client - usually it’s not needed to call this directly as adapter should handle by sending registration request to Keycloak", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/nodes/{node}": { + "delete": { + "tags": [ + "Clients" + ], + "summary": "Unregister a cluster node from the client", + "parameters": [ + { + "name": "node", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/offline-session-count": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Get application offline session count Returns a number of offline user sessions associated with this client { \"count\": number }", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "format": "int64", + "type": "integer" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/offline-sessions": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Get offline sessions for client Returns a list of offline user sessions associated with this client", + "parameters": [ + { + "name": "first", + "in": "query", + "description": "Paging offset", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "max", + "in": "query", + "description": "Maximum results size (defaults to 100)", + "schema": { + "format": "int32", + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserSessionRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/optional-client-scopes": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Get optional client scopes. Only name and ids are returned.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClientScopeRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/optional-client-scopes/{clientScopeId}": { + "put": { + "tags": [ + "Clients" + ], + "parameters": [ + { + "name": "clientScopeId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Clients" + ], + "parameters": [ + { + "name": "clientScopeId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/add-models": { + "post": { + "tags": [ + "Protocol Mappers" + ], + "summary": "Create multiple mappers", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models": { + "get": { + "tags": [ + "Protocol Mappers" + ], + "summary": "Get mappers", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Protocol Mappers" + ], + "summary": "Create a mapper", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models/{id}": { + "get": { + "tags": [ + "Protocol Mappers" + ], + "summary": "Get mapper by id", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "Mapper id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Protocol Mappers" + ], + "summary": "Update the mapper", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "Mapper id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Protocol Mappers" + ], + "summary": "Delete the mapper", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "Mapper id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/protocol/{protocol}": { + "get": { + "tags": [ + "Protocol Mappers" + ], + "summary": "Get mappers by name for a specific protocol", + "parameters": [ + { + "name": "protocol", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/push-revocation": { + "post": { + "tags": [ + "Clients" + ], + "summary": "Push the client's revocation policy to its admin URL If the client has an admin URL, push revocation policy to it.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GlobalRequestResult" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/registration-access-token": { + "post": { + "tags": [ + "Clients" + ], + "summary": "Generate a new registration access token for the client", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClientRepresentation" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/roles": { + "get": { + "tags": [ + "Roles" + ], + "summary": "Get all roles for the realm or client", + "parameters": [ + { + "name": "briefRepresentation", + "in": "query", + "schema": { + "default": true, + "type": "boolean" + } + }, + { + "name": "first", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "max", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "search", + "in": "query", + "schema": { + "default": "", + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Roles" + ], + "summary": "Create a new role for the realm or client", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}": { + "get": { + "tags": [ + "Roles" + ], + "summary": "Get a role by name", + "parameters": [ + { + "name": "role-name", + "in": "path", + "description": "role's name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Roles" + ], + "summary": "Update a role by name", + "parameters": [ + { + "name": "role-name", + "in": "path", + "description": "role's name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Roles" + ], + "summary": "Delete a role by name", + "parameters": [ + { + "name": "role-name", + "in": "path", + "description": "role's name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/composites": { + "get": { + "tags": [ + "Roles" + ], + "summary": "Get composites of the role", + "parameters": [ + { + "name": "role-name", + "in": "path", + "description": "role's name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Roles" + ], + "summary": "Add a composite to the role", + "parameters": [ + { + "name": "role-name", + "in": "path", + "description": "role's name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Roles" + ], + "summary": "Remove roles from the role's composite", + "parameters": [ + { + "name": "role-name", + "in": "path", + "description": "role's name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/composites/clients/{client-in-composite-uuid}": { + "get": { + "tags": [ + "Roles" + ], + "summary": "Get client-level roles for the client that are in the role's composite", + "parameters": [ + { + "name": "client-uuid", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "role-name", + "in": "path", + "description": "role's name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-in-composite-uuid", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/composites/realm": { + "get": { + "tags": [ + "Roles" + ], + "summary": "Get realm-level roles of the role's composite", + "parameters": [ + { + "name": "role-name", + "in": "path", + "description": "role's name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/groups": { + "get": { + "tags": [ + "Roles" + ], + "summary": "Returns a stream of groups that have the specified role name", + "parameters": [ + { + "name": "role-name", + "in": "path", + "description": "the role name.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "briefRepresentation", + "in": "query", + "description": "if false, return a full representation of the {@code GroupRepresentation} objects.", + "schema": { + "default": true, + "type": "boolean" + } + }, + { + "name": "first", + "in": "query", + "description": "first result to return. Ignored if negative or {@code null}.", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "max", + "in": "query", + "description": "maximum number of results to return. Ignored if negative or {@code null}.", + "schema": { + "format": "int32", + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GroupRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/management/permissions": { + "get": { + "tags": [ + "Roles" + ], + "summary": "Return object stating whether role Authorization permissions have been initialized or not and a reference", + "parameters": [ + { + "name": "role-name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ManagementPermissionReference" + } + } + } + } + } + }, + "put": { + "tags": [ + "Roles" + ], + "summary": "Return object stating whether role Authorization permissions have been initialized or not and a reference", + "parameters": [ + { + "name": "role-name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ManagementPermissionReference" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ManagementPermissionReference" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/users": { + "get": { + "tags": [ + "Roles" + ], + "summary": "Returns a stream of users that have the specified role name.", + "parameters": [ + { + "name": "role-name", + "in": "path", + "description": "the role name.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "briefRepresentation", + "in": "query", + "description": "Boolean which defines whether brief representations are returned (default: false)", + "schema": { + "type": "boolean" + } + }, + { + "name": "first", + "in": "query", + "description": "first result to return. Ignored if negative or {@code null}.", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "max", + "in": "query", + "description": "maximum number of results to return. Ignored if negative or {@code null}.", + "schema": { + "format": "int32", + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/scope-mappings": { + "get": { + "tags": [ + "Scope Mappings" + ], + "summary": "Get all scope mappings for the client", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MappingsRepresentation" + } + } + } + } + }, + "deprecated": true + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/scope-mappings/clients/{client}": { + "get": { + "tags": [ + "Scope Mappings" + ], + "summary": "Get the roles associated with a client's scope Returns roles for the client.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Scope Mappings" + ], + "summary": "Add client-level roles to the client's scope", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Scope Mappings" + ], + "summary": "Remove client-level roles from the client's scope.", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/scope-mappings/clients/{client}/available": { + "get": { + "tags": [ + "Scope Mappings" + ], + "summary": "The available client-level roles Returns the roles for the client that can be associated with the client's scope", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/scope-mappings/clients/{client}/composite": { + "get": { + "tags": [ + "Scope Mappings" + ], + "summary": "Get effective client roles Returns the roles for the client that are associated with the client's scope.", + "parameters": [ + { + "name": "briefRepresentation", + "in": "query", + "description": "if false, return roles with their attributes", + "schema": { + "default": true, + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/scope-mappings/realm": { + "get": { + "tags": [ + "Scope Mappings" + ], + "summary": "Get realm-level roles associated with the client's scope", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Scope Mappings" + ], + "summary": "Add a set of realm-level roles to the client's scope", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Scope Mappings" + ], + "summary": "Remove a set of realm-level roles from the client's scope", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/scope-mappings/realm/available": { + "get": { + "tags": [ + "Scope Mappings" + ], + "summary": "Get realm-level roles that are available to attach to this client's scope", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/scope-mappings/realm/composite": { + "get": { + "tags": [ + "Scope Mappings" + ], + "summary": "Get effective realm-level roles associated with the client’s scope What this does is recurse any composite roles associated with the client’s scope and adds the roles to this lists.", + "description": "The method is really to show a comprehensive total view of realm-level roles associated with the client.", + "parameters": [ + { + "name": "briefRepresentation", + "in": "query", + "description": "if false, return roles with their attributes", + "schema": { + "default": true, + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/service-account-user": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Get a user dedicated to the service account", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserRepresentation" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/session-count": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Get application session count Returns a number of user sessions associated with this client { \"count\": number }", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "format": "int64", + "type": "integer" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/test-nodes-available": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Test if registered cluster nodes are available Tests availability by sending 'ping' request to all cluster nodes.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GlobalRequestResult" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/clients/{client-uuid}/user-sessions": { + "get": { + "tags": [ + "Clients" + ], + "summary": "Get user sessions for client Returns a list of user sessions associated with this client\n", + "parameters": [ + { + "name": "first", + "in": "query", + "description": "Paging offset", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "max", + "in": "query", + "description": "Maximum results size (defaults to 100)", + "schema": { + "format": "int32", + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserSessionRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-uuid", + "in": "path", + "description": "id of client (not client-id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/components": { + "get": { + "tags": [ + "Component" + ], + "parameters": [ + { + "name": "name", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "parent", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "query", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ComponentRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Component" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ComponentRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/components/{id}": { + "get": { + "tags": [ + "Component" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ComponentRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Component" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ComponentRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Component" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/components/{id}/sub-component-types": { + "get": { + "tags": [ + "Component" + ], + "summary": "List of subcomponent types that are available to configure for a particular parent component.", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "query", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ComponentTypeRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/credential-registrators": { + "get": { + "tags": [ + "Realms Admin" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/default-default-client-scopes": { + "get": { + "tags": [ + "Realms Admin" + ], + "summary": "Get realm default client scopes. Only name and ids are returned.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClientScopeRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/default-default-client-scopes/{clientScopeId}": { + "put": { + "tags": [ + "Realms Admin" + ], + "parameters": [ + { + "name": "clientScopeId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Realms Admin" + ], + "parameters": [ + { + "name": "clientScopeId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/default-groups": { + "get": { + "tags": [ + "Realms Admin" + ], + "summary": "Get group hierarchy. Only name and ids are returned.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GroupRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/default-groups/{groupId}": { + "put": { + "tags": [ + "Realms Admin" + ], + "parameters": [ + { + "name": "groupId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Realms Admin" + ], + "parameters": [ + { + "name": "groupId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/default-optional-client-scopes": { + "get": { + "tags": [ + "Realms Admin" + ], + "summary": "Get realm optional client scopes. Only name and ids are returned.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClientScopeRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/default-optional-client-scopes/{clientScopeId}": { + "put": { + "tags": [ + "Realms Admin" + ], + "parameters": [ + { + "name": "clientScopeId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Realms Admin" + ], + "parameters": [ + { + "name": "clientScopeId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/events": { + "get": { + "tags": [ + "Realms Admin" + ], + "summary": "Get events Returns all events, or filters them based on URL query parameters listed here", + "parameters": [ + { + "name": "client", + "in": "query", + "description": "App or oauth client name", + "schema": { + "type": "string" + } + }, + { + "name": "dateFrom", + "in": "query", + "description": "From date", + "schema": { + "type": "string" + } + }, + { + "name": "dateTo", + "in": "query", + "description": "To date", + "schema": { + "type": "string" + } + }, + { + "name": "first", + "in": "query", + "description": "Paging offset", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "ipAddress", + "in": "query", + "description": "IP Address", + "schema": { + "type": "string" + } + }, + { + "name": "max", + "in": "query", + "description": "Maximum results size (defaults to 100)", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "type", + "in": "query", + "description": "The types of events to return", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "user", + "in": "query", + "description": "User id", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EventRepresentation" + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "Realms Admin" + ], + "summary": "Delete all events", + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/events/config": { + "get": { + "tags": [ + "Realms Admin" + ], + "summary": "Get the events provider configuration Returns JSON object with events provider configuration", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RealmEventsConfigRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Realms Admin" + ], + "description": "Update the events provider Change the events provider and/or its configuration", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RealmEventsConfigRepresentation" + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/group-by-path/{path}": { + "get": { + "tags": [ + "Realms Admin" + ], + "parameters": [ + { + "name": "path", + "in": "path", + "required": true, + "schema": { + "pattern": ".*", + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GroupRepresentation" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/groups": { + "get": { + "tags": [ + "Groups" + ], + "summary": "Get group hierarchy. Only `name` and `id` are returned. `subGroups` are only returned when using the `search` or `q` parameter. If none of these parameters is provided, the top-level groups are returned without `subGroups` being filled.", + "parameters": [ + { + "name": "briefRepresentation", + "in": "query", + "schema": { + "default": true, + "type": "boolean" + } + }, + { + "name": "exact", + "in": "query", + "schema": { + "default": "false", + "type": "boolean" + } + }, + { + "name": "first", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "max", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "populateHierarchy", + "in": "query", + "schema": { + "default": true, + "type": "boolean" + } + }, + { + "name": "q", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "search", + "in": "query", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GroupRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Groups" + ], + "summary": "create or add a top level realm groupSet or create child.", + "description": "This will update the group and set the parent if it exists. Create it and set the parent if the group doesn’t exist.", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GroupRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/groups/count": { + "get": { + "tags": [ + "Groups" + ], + "summary": "Returns the groups counts.", + "parameters": [ + { + "name": "search", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "top", + "in": "query", + "schema": { + "default": false, + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "format": "int64", + "type": "integer" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/groups/{group-id}": { + "get": { + "tags": [ + "Groups" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GroupRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Groups" + ], + "summary": "Update group, ignores subgroups.", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GroupRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Groups" + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "group-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/groups/{group-id}/children": { + "get": { + "tags": [ + "Groups" + ], + "summary": "Return a paginated list of subgroups that have a parent group corresponding to the group on the URL", + "parameters": [ + { + "name": "briefRepresentation", + "in": "query", + "description": "Boolean which defines whether brief groups representations are returned or not (default: false)", + "schema": { + "default": "false", + "type": "boolean" + } + }, + { + "name": "exact", + "in": "query", + "description": "Boolean which defines whether the params \"search\" must match exactly or not", + "schema": { + "type": "boolean" + } + }, + { + "name": "first", + "in": "query", + "description": "The position of the first result to be returned (pagination offset).", + "schema": { + "format": "int32", + "default": "0", + "type": "integer" + } + }, + { + "name": "max", + "in": "query", + "description": "The maximum number of results that are to be returned. Defaults to 10", + "schema": { + "format": "int32", + "default": "10", + "type": "integer" + } + }, + { + "name": "search", + "in": "query", + "description": "A String representing either an exact group name or a partial name", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GroupRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Groups" + ], + "summary": "Set or create child.", + "description": "This will just set the parent if it exists. Create it and set the parent if the group doesn’t exist.", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GroupRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "group-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/groups/{group-id}/management/permissions": { + "get": { + "tags": [ + "Groups" + ], + "summary": "Return object stating whether client Authorization permissions have been initialized or not and a reference", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ManagementPermissionReference" + } + } + } + } + } + }, + "put": { + "tags": [ + "Groups" + ], + "summary": "Return object stating whether client Authorization permissions have been initialized or not and a reference", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ManagementPermissionReference" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ManagementPermissionReference" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "group-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/groups/{group-id}/members": { + "get": { + "tags": [ + "Groups" + ], + "summary": "Get users Returns a stream of users, filtered according to query parameters", + "parameters": [ + { + "name": "briefRepresentation", + "in": "query", + "description": "Only return basic information (only guaranteed to return id, username, created, first and last name, email, enabled state, email verification state, federation link, and access. Note that it means that namely user attributes, required actions, and not before are not returned.)", + "schema": { + "type": "boolean" + } + }, + { + "name": "first", + "in": "query", + "description": "Pagination offset", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "max", + "in": "query", + "description": "Maximum results size (defaults to 100)", + "schema": { + "format": "int32", + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "group-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/groups/{group-id}/role-mappings": { + "get": { + "tags": [ + "Role Mapper" + ], + "summary": "Get role mappings", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MappingsRepresentation" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "group-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}": { + "get": { + "tags": [ + "Client Role Mappings" + ], + "summary": "Get client-level role mappings for the user or group, and the app", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Client Role Mappings" + ], + "summary": "Add client-level roles to the user or group role mapping", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Client Role Mappings" + ], + "summary": "Delete client-level roles from user or group role mapping", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "group-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-id", + "in": "path", + "description": "client id (not clientId!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}/available": { + "get": { + "tags": [ + "Client Role Mappings" + ], + "summary": "Get available client-level roles that can be mapped to the user or group", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "group-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-id", + "in": "path", + "description": "client id (not clientId!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}/composite": { + "get": { + "tags": [ + "Client Role Mappings" + ], + "summary": "Get effective client-level role mappings This recurses any composite roles", + "parameters": [ + { + "name": "briefRepresentation", + "in": "query", + "description": "if false, return roles with their attributes", + "schema": { + "default": true, + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "group-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-id", + "in": "path", + "description": "client id (not clientId!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/groups/{group-id}/role-mappings/realm": { + "get": { + "tags": [ + "Role Mapper" + ], + "summary": "Get realm-level role mappings", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Role Mapper" + ], + "summary": "Add realm-level role mappings to the user", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Role Mapper" + ], + "summary": "Delete realm-level role mappings", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "group-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/groups/{group-id}/role-mappings/realm/available": { + "get": { + "tags": [ + "Role Mapper" + ], + "summary": "Get realm-level roles that can be mapped", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "group-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/groups/{group-id}/role-mappings/realm/composite": { + "get": { + "tags": [ + "Role Mapper" + ], + "summary": "Get effective realm-level role mappings This will recurse all composite roles to get the result.", + "parameters": [ + { + "name": "briefRepresentation", + "in": "query", + "description": "if false, return roles with their attributes", + "schema": { + "default": true, + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "group-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/identity-provider/import-config": { + "post": { + "tags": [ + "Identity Providers" + ], + "summary": "Import identity provider from JSON body", + "description": "Import identity provider from uploaded JSON file", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": {} + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/identity-provider/instances": { + "get": { + "tags": [ + "Identity Providers" + ], + "summary": "List identity providers", + "parameters": [ + { + "name": "briefRepresentation", + "in": "query", + "description": "Boolean which defines whether brief representations are returned (default: false)", + "schema": { + "type": "boolean" + } + }, + { + "name": "first", + "in": "query", + "description": "Pagination offset", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "max", + "in": "query", + "description": "Maximum results size (defaults to 100)", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "realmOnly", + "in": "query", + "description": "Boolean which defines if only realm-level IDPs (not associated with orgs) should be returned (default: false)", + "schema": { + "type": "boolean" + } + }, + { + "name": "search", + "in": "query", + "description": "Filter specific providers by name. Search can be prefix (name*), contains (*name*) or exact (\"name\"). Default prefixed.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/IdentityProviderRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Identity Providers" + ], + "summary": "Create a new identity provider", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IdentityProviderRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/identity-provider/instances/{alias}": { + "get": { + "tags": [ + "Identity Providers" + ], + "summary": "Get the identity provider", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IdentityProviderRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Identity Providers" + ], + "summary": "Update the identity provider", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IdentityProviderRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Identity Providers" + ], + "summary": "Delete the identity provider", + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "alias", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/identity-provider/instances/{alias}/export": { + "get": { + "tags": [ + "Identity Providers" + ], + "summary": "Export public broker configuration for identity provider", + "parameters": [ + { + "name": "format", + "in": "query", + "description": "Format to use", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "alias", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/identity-provider/instances/{alias}/management/permissions": { + "get": { + "tags": [ + "Identity Providers" + ], + "summary": "Return object stating whether client Authorization permissions have been initialized or not and a reference", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ManagementPermissionReference" + } + } + } + } + } + }, + "put": { + "tags": [ + "Identity Providers" + ], + "summary": "Return object stating whether client Authorization permissions have been initialized or not and a reference", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ManagementPermissionReference" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ManagementPermissionReference" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "alias", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/identity-provider/instances/{alias}/mapper-types": { + "get": { + "tags": [ + "Identity Providers" + ], + "summary": "Get mapper types for identity provider", + "responses": { + "200": { + "description": "OK", + "content": { + "*/*": { + "schema": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/IdentityProviderMapperTypeRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "alias", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/identity-provider/instances/{alias}/mappers": { + "get": { + "tags": [ + "Identity Providers" + ], + "summary": "Get mappers for identity provider", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/IdentityProviderMapperRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Identity Providers" + ], + "summary": "Add a mapper to identity provider", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IdentityProviderMapperRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "alias", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/identity-provider/instances/{alias}/mappers/{id}": { + "get": { + "tags": [ + "Identity Providers" + ], + "summary": "Get mapper by id for the identity provider", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IdentityProviderMapperRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Identity Providers" + ], + "summary": "Update a mapper for the identity provider", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "Mapper id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IdentityProviderMapperRepresentation" + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Identity Providers" + ], + "summary": "Delete a mapper for the identity provider", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "Mapper id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "alias", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/identity-provider/instances/{alias}/reload-keys": { + "get": { + "tags": [ + "Identity Providers" + ], + "summary": "Reaload keys for the identity provider if the provider supports it, \"true\" is returned if reload was performed, \"false\" if not.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "boolean" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "alias", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/identity-provider/providers/{provider_id}": { + "get": { + "tags": [ + "Identity Providers" + ], + "summary": "Get the identity provider factory for that provider id", + "parameters": [ + { + "name": "provider_id", + "in": "path", + "description": "The provider id to get the factory", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/keys": { + "get": { + "tags": [ + "Key" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/KeysMetadataRepresentation" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/localization": { + "get": { + "tags": [ + "Realms Admin" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/localization/{locale}": { + "get": { + "tags": [ + "Realms Admin" + ], + "parameters": [ + { + "name": "locale", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "useRealmDefaultLocaleFallback", + "in": "query", + "schema": { + "type": "boolean" + }, + "deprecated": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Realms Admin" + ], + "summary": "Import localization from uploaded JSON file", + "parameters": [ + { + "name": "locale", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Realms Admin" + ], + "parameters": [ + { + "name": "locale", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/localization/{locale}/{key}": { + "get": { + "tags": [ + "Realms Admin" + ], + "parameters": [ + { + "name": "key", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "locale", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "type": "string" + } + } + } + } + } + }, + "put": { + "tags": [ + "Realms Admin" + ], + "parameters": [ + { + "name": "key", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "locale", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "text/plain": { + "schema": { + "type": "string" + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Realms Admin" + ], + "parameters": [ + { + "name": "key", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "locale", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/logout-all": { + "post": { + "tags": [ + "Realms Admin" + ], + "summary": "Removes all user sessions.", + "description": "Any client that has an admin url will also be told to invalidate any sessions they have.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GlobalRequestResult" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/organizations": { + "get": { + "tags": [ + "Organizations" + ], + "summary": "Returns a paginated list of organizations filtered according to the specified parameters", + "parameters": [ + { + "name": "briefRepresentation", + "in": "query", + "description": "if true, return the full representation. Otherwise, only the basic fields are returned.", + "schema": { + "default": false, + "type": "boolean" + } + }, + { + "name": "exact", + "in": "query", + "description": "Boolean which defines whether the param 'search' must match exactly or not", + "schema": { + "type": "boolean" + } + }, + { + "name": "first", + "in": "query", + "description": "The position of the first result to be processed (pagination offset)", + "schema": { + "format": "int32", + "default": "0", + "type": "integer" + } + }, + { + "name": "max", + "in": "query", + "description": "The maximum number of results to be returned - defaults to 10", + "schema": { + "format": "int32", + "default": "10", + "type": "integer" + } + }, + { + "name": "q", + "in": "query", + "description": "A query to search for custom attributes, in the format 'key1:value2 key2:value2'", + "schema": { + "type": "string" + } + }, + { + "name": "search", + "in": "query", + "description": "A String representing either an organization name or domain", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/OrganizationRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Organizations" + ], + "summary": "Creates a new organization", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OrganizationRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/organizations/members/{member-id}/organizations": { + "get": { + "tags": [ + "Organizations" + ], + "summary": "Returns the organizations associated with the user that has the specified id", + "parameters": [ + { + "name": "member-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/OrganizationRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/organizations/{org-id}": { + "get": { + "tags": [ + "Organizations" + ], + "summary": "Returns the organization representation", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OrganizationRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Organizations" + ], + "summary": "Updates the organization", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OrganizationRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Organizations" + ], + "summary": "Deletes the organization", + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/organizations/{org-id}/identity-providers": { + "get": { + "tags": [ + "Organizations" + ], + "summary": "Returns all identity providers associated with the organization", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/IdentityProviderRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Organizations" + ], + "summary": "Adds the identity provider with the specified id to the organization", + "description": "Adds, or associates, an existing identity provider with the organization. If no identity provider is found, or if it is already associated with the organization, an error response is returned", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/organizations/{org-id}/identity-providers/{alias}": { + "get": { + "tags": [ + "Organizations" + ], + "summary": "Returns the identity provider associated with the organization that has the specified alias", + "description": "Searches for an identity provider with the given alias. If one is found and is associated with the organization, it is returned. Otherwise, an error response with status NOT_FOUND is returned", + "parameters": [ + { + "name": "alias", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IdentityProviderRepresentation" + } + } + } + } + } + }, + "delete": { + "tags": [ + "Organizations" + ], + "summary": "Removes the identity provider with the specified alias from the organization", + "description": "Breaks the association between the identity provider and the organization. The provider itself is not deleted. If no provider is found, or if it is not currently associated with the org, an error response is returned", + "parameters": [ + { + "name": "alias", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/organizations/{org-id}/members": { + "get": { + "tags": [ + "Organizations" + ], + "summary": "Returns a paginated list of organization members filtered according to the specified parameters", + "parameters": [ + { + "name": "exact", + "in": "query", + "description": "Boolean which defines whether the param 'search' must match exactly or not", + "schema": { + "type": "boolean" + } + }, + { + "name": "first", + "in": "query", + "description": "The position of the first result to be processed (pagination offset)", + "schema": { + "format": "int32", + "default": "0", + "type": "integer" + } + }, + { + "name": "max", + "in": "query", + "description": "The maximum number of results to be returned. Defaults to 10", + "schema": { + "format": "int32", + "default": "10", + "type": "integer" + } + }, + { + "name": "membershipType", + "in": "query", + "description": "The membership type", + "schema": { + "type": "string" + } + }, + { + "name": "search", + "in": "query", + "description": "A String representing either a member's username, e-mail, first name, or last name.", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/MemberRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Organizations" + ], + "summary": "Adds the user with the specified id as a member of the organization", + "description": "Adds, or associates, an existing user with the organization. If no user is found, or if it is already associated with the organization, an error response is returned", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/organizations/{org-id}/members/count": { + "get": { + "tags": [ + "Organizations" + ], + "summary": "Returns number of members in the organization.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "format": "int64", + "type": "integer" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/organizations/{org-id}/members/invite-existing-user": { + "post": { + "tags": [ + "Organizations" + ], + "summary": "Invites an existing user to the organization, using the specified user id", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/organizations/{org-id}/members/invite-user": { + "post": { + "tags": [ + "Organizations" + ], + "summary": "Invites an existing user or sends a registration link to a new user, based on the provided e-mail address.", + "description": "If the user with the given e-mail address exists, it sends an invitation link, otherwise it sends a registration link.", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/organizations/{org-id}/members/{member-id}": { + "get": { + "tags": [ + "Organizations" + ], + "summary": "Returns the member of the organization with the specified id", + "description": "Searches for auser with the given id. If one is found, and is currently a member of the organization, returns it. Otherwise,an error response with status NOT_FOUND is returned", + "parameters": [ + { + "name": "member-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MemberRepresentation" + } + } + } + } + } + }, + "delete": { + "tags": [ + "Organizations" + ], + "summary": "Removes the user with the specified id from the organization", + "description": "Breaks the association between the user and organization. The user itself is deleted in case the membership is managed, otherwise the user is not deleted. If no user is found, or if they are not a member of the organization, an error response is returned", + "parameters": [ + { + "name": "member-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/organizations/{org-id}/members/{member-id}/organizations": { + "get": { + "tags": [ + "Organizations" + ], + "summary": "Returns the organizations associated with the user that has the specified id", + "parameters": [ + { + "name": "member-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/OrganizationRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/partial-export": { + "post": { + "tags": [ + "Realms Admin" + ], + "summary": "Partial export of existing realm into a JSON file.", + "parameters": [ + { + "name": "exportClients", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "exportGroupsAndRoles", + "in": "query", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/partialImport": { + "post": { + "tags": [ + "Realms Admin" + ], + "summary": "Partial import from a JSON file to an existing realm.", + "requestBody": { + "content": { + "application/json": { + "schema": { + "format": "binary", + "type": "string" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/push-revocation": { + "post": { + "tags": [ + "Realms Admin" + ], + "summary": "Push the realm's revocation policy to any client that has an admin url associated with it.", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GlobalRequestResult" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/roles": { + "get": { + "tags": [ + "Roles" + ], + "summary": "Get all roles for the realm or client", + "parameters": [ + { + "name": "briefRepresentation", + "in": "query", + "schema": { + "default": true, + "type": "boolean" + } + }, + { + "name": "first", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "max", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "search", + "in": "query", + "schema": { + "default": "", + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Roles" + ], + "summary": "Create a new role for the realm or client", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/roles-by-id/{role-id}": { + "get": { + "tags": [ + "Roles (by ID)" + ], + "summary": "Get a specific role's representation", + "parameters": [ + { + "name": "role-id", + "in": "path", + "description": "id of role", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Roles (by ID)" + ], + "summary": "Update the role", + "parameters": [ + { + "name": "role-id", + "in": "path", + "description": "id of role", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Roles (by ID)" + ], + "summary": "Delete the role", + "parameters": [ + { + "name": "role-id", + "in": "path", + "description": "id of role", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/roles-by-id/{role-id}/composites": { + "get": { + "tags": [ + "Roles (by ID)" + ], + "summary": "Get role's children Returns a set of role's children provided the role is a composite.", + "parameters": [ + { + "name": "role-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "first", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "max", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "search", + "in": "query", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Roles (by ID)" + ], + "summary": "Make the role a composite role by associating some child roles", + "parameters": [ + { + "name": "role-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Roles (by ID)" + ], + "summary": "Remove a set of roles from the role's composite", + "parameters": [ + { + "name": "role-id", + "in": "path", + "description": "Role id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/roles-by-id/{role-id}/composites/clients/{clientUuid}": { + "get": { + "tags": [ + "Roles (by ID)" + ], + "summary": "Get client-level roles for the client that are in the role's composite", + "parameters": [ + { + "name": "clientUuid", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "role-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/roles-by-id/{role-id}/composites/realm": { + "get": { + "tags": [ + "Roles (by ID)" + ], + "summary": "Get realm-level roles that are in the role's composite", + "parameters": [ + { + "name": "role-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/roles-by-id/{role-id}/management/permissions": { + "get": { + "tags": [ + "Roles (by ID)" + ], + "summary": "Return object stating whether role Authorization permissions have been initialized or not and a reference", + "parameters": [ + { + "name": "role-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ManagementPermissionReference" + } + } + } + } + } + }, + "put": { + "tags": [ + "Roles (by ID)" + ], + "summary": "Return object stating whether role Authorization permissions have been initialized or not and a reference", + "parameters": [ + { + "name": "role-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ManagementPermissionReference" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ManagementPermissionReference" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/roles/{role-name}": { + "get": { + "tags": [ + "Roles" + ], + "summary": "Get a role by name", + "parameters": [ + { + "name": "role-name", + "in": "path", + "description": "role's name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Roles" + ], + "summary": "Update a role by name", + "parameters": [ + { + "name": "role-name", + "in": "path", + "description": "role's name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Roles" + ], + "summary": "Delete a role by name", + "parameters": [ + { + "name": "role-name", + "in": "path", + "description": "role's name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/roles/{role-name}/composites": { + "get": { + "tags": [ + "Roles" + ], + "summary": "Get composites of the role", + "parameters": [ + { + "name": "role-name", + "in": "path", + "description": "role's name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Roles" + ], + "summary": "Add a composite to the role", + "parameters": [ + { + "name": "role-name", + "in": "path", + "description": "role's name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Roles" + ], + "summary": "Remove roles from the role's composite", + "parameters": [ + { + "name": "role-name", + "in": "path", + "description": "role's name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/roles/{role-name}/composites/clients/{client-uuid}": { + "get": { + "tags": [ + "Roles" + ], + "summary": "Get client-level roles for the client that are in the role's composite", + "parameters": [ + { + "name": "client-uuid", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "role-name", + "in": "path", + "description": "role's name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/roles/{role-name}/composites/realm": { + "get": { + "tags": [ + "Roles" + ], + "summary": "Get realm-level roles of the role's composite", + "parameters": [ + { + "name": "role-name", + "in": "path", + "description": "role's name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/roles/{role-name}/groups": { + "get": { + "tags": [ + "Roles" + ], + "summary": "Returns a stream of groups that have the specified role name", + "parameters": [ + { + "name": "role-name", + "in": "path", + "description": "the role name.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "briefRepresentation", + "in": "query", + "description": "if false, return a full representation of the {@code GroupRepresentation} objects.", + "schema": { + "default": true, + "type": "boolean" + } + }, + { + "name": "first", + "in": "query", + "description": "first result to return. Ignored if negative or {@code null}.", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "max", + "in": "query", + "description": "maximum number of results to return. Ignored if negative or {@code null}.", + "schema": { + "format": "int32", + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GroupRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/roles/{role-name}/management/permissions": { + "get": { + "tags": [ + "Roles" + ], + "summary": "Return object stating whether role Authorization permissions have been initialized or not and a reference", + "parameters": [ + { + "name": "role-name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ManagementPermissionReference" + } + } + } + } + } + }, + "put": { + "tags": [ + "Roles" + ], + "summary": "Return object stating whether role Authorization permissions have been initialized or not and a reference", + "parameters": [ + { + "name": "role-name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ManagementPermissionReference" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ManagementPermissionReference" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/roles/{role-name}/users": { + "get": { + "tags": [ + "Roles" + ], + "summary": "Returns a stream of users that have the specified role name.", + "parameters": [ + { + "name": "role-name", + "in": "path", + "description": "the role name.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "briefRepresentation", + "in": "query", + "description": "Boolean which defines whether brief representations are returned (default: false)", + "schema": { + "type": "boolean" + } + }, + { + "name": "first", + "in": "query", + "description": "first result to return. Ignored if negative or {@code null}.", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "max", + "in": "query", + "description": "maximum number of results to return. Ignored if negative or {@code null}.", + "schema": { + "format": "int32", + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/sessions/{session}": { + "delete": { + "tags": [ + "Realms Admin" + ], + "summary": "Remove a specific user session.", + "description": "Any client that has an admin url will also be told to invalidate this particular session.", + "parameters": [ + { + "name": "session", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "isOffline", + "in": "query", + "schema": { + "default": false, + "type": "boolean" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/testSMTPConnection": { + "post": { + "tags": [ + "Realms Admin" + ], + "summary": "Test SMTP connection with current logged in user", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "type": "object", + "properties": { + "config": { + "type": "string" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + }, + "deprecated": true + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users": { + "get": { + "tags": [ + "Users" + ], + "summary": "Get users Returns a stream of users, filtered according to query parameters.", + "parameters": [ + { + "name": "briefRepresentation", + "in": "query", + "description": "Boolean which defines whether brief representations are returned (default: false)", + "schema": { + "type": "boolean" + } + }, + { + "name": "email", + "in": "query", + "description": "A String contained in email, or the complete email, if param \"exact\" is true", + "schema": { + "type": "string" + } + }, + { + "name": "emailVerified", + "in": "query", + "description": "whether the email has been verified", + "schema": { + "type": "boolean" + } + }, + { + "name": "enabled", + "in": "query", + "description": "Boolean representing if user is enabled or not", + "schema": { + "type": "boolean" + } + }, + { + "name": "exact", + "in": "query", + "description": "Boolean which defines whether the params \"last\", \"first\", \"email\" and \"username\" must match exactly", + "schema": { + "type": "boolean" + } + }, + { + "name": "first", + "in": "query", + "description": "Pagination offset", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "firstName", + "in": "query", + "description": "A String contained in firstName, or the complete firstName, if param \"exact\" is true", + "schema": { + "type": "string" + } + }, + { + "name": "idpAlias", + "in": "query", + "description": "The alias of an Identity Provider linked to the user", + "schema": { + "type": "string" + } + }, + { + "name": "idpUserId", + "in": "query", + "description": "The userId at an Identity Provider linked to the user", + "schema": { + "type": "string" + } + }, + { + "name": "lastName", + "in": "query", + "description": "A String contained in lastName, or the complete lastName, if param \"exact\" is true", + "schema": { + "type": "string" + } + }, + { + "name": "max", + "in": "query", + "description": "Maximum results size (defaults to 100)", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "q", + "in": "query", + "description": "A query to search for custom attributes, in the format 'key1:value2 key2:value2'", + "schema": { + "type": "string" + } + }, + { + "name": "search", + "in": "query", + "description": "A String contained in username, first or last name, or email. Default search behavior is prefix-based (e.g., foo or foo*). Use *foo* for infix search and \"foo\" for exact search.", + "schema": { + "type": "string" + } + }, + { + "name": "username", + "in": "query", + "description": "A String contained in username, or the complete username, if param \"exact\" is true", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Users" + ], + "summary": "Create a new user Username must be unique.", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users-management-permissions": { + "get": { + "tags": [ + "Realms Admin" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ManagementPermissionReference" + } + } + } + } + } + }, + "put": { + "tags": [ + "Realms Admin" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ManagementPermissionReference" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ManagementPermissionReference" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/count": { + "get": { + "tags": [ + "Users" + ], + "summary": "Returns the number of users that match the given criteria.", + "description": "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.

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.

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.", + "parameters": [ + { + "name": "email", + "in": "query", + "description": "email filter", + "schema": { + "type": "string" + } + }, + { + "name": "emailVerified", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "enabled", + "in": "query", + "description": "Boolean representing if user is enabled or not", + "schema": { + "type": "boolean" + } + }, + { + "name": "firstName", + "in": "query", + "description": "first name filter", + "schema": { + "type": "string" + } + }, + { + "name": "lastName", + "in": "query", + "description": "last name filter", + "schema": { + "type": "string" + } + }, + { + "name": "q", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "search", + "in": "query", + "description": "arbitrary search string for all the fields below. Default search behavior is prefix-based (e.g., foo or foo*). Use *foo* for infix search and \"foo\" for exact search.", + "schema": { + "type": "string" + } + }, + { + "name": "username", + "in": "query", + "description": "username filter", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "format": "int32", + "type": "integer" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/profile": { + "get": { + "tags": [ + "Users" + ], + "description": "Get the configuration for the user profile", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UPConfig" + } + } + } + } + } + }, + "put": { + "tags": [ + "Users" + ], + "description": "Set the configuration for the user profile", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UPConfig" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UPConfig" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/profile/metadata": { + "get": { + "tags": [ + "Users" + ], + "description": "Get the UserProfileMetadata from the configuration", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserProfileMetadata" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}": { + "get": { + "tags": [ + "Users" + ], + "summary": "Get representation of the user", + "parameters": [ + { + "name": "userProfileMetadata", + "in": "query", + "description": "Indicates if the user profile metadata should be added to the response", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserRepresentation" + } + } + } + } + } + }, + "put": { + "tags": [ + "Users" + ], + "summary": "Update the user", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserRepresentation" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Users" + ], + "summary": "Delete the user", + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/configured-user-storage-credential-types": { + "get": { + "tags": [ + "Users" + ], + "summary": "Return credential types, which are provided by the user storage where user is stored.", + "description": "Returned values can contain for example \"password\", \"otp\" etc. This will always return empty list for \"local\" users, which are not backed by any user storage", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/consents": { + "get": { + "tags": [ + "Users" + ], + "summary": "Get consents granted by the user", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": {} + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/consents/{client}": { + "delete": { + "tags": [ + "Users" + ], + "summary": "Revoke consent and offline tokens for particular client from user", + "parameters": [ + { + "name": "client", + "in": "path", + "description": "Client id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/credentials": { + "get": { + "tags": [ + "Users" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CredentialRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/credentials/{credentialId}": { + "delete": { + "tags": [ + "Users" + ], + "summary": "Remove a credential for a user", + "parameters": [ + { + "name": "credentialId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/credentials/{credentialId}/moveAfter/{newPreviousCredentialId}": { + "post": { + "tags": [ + "Users" + ], + "summary": "Move a credential to a position behind another credential", + "parameters": [ + { + "name": "credentialId", + "in": "path", + "description": "The credential to move", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "newPreviousCredentialId", + "in": "path", + "description": "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.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/credentials/{credentialId}/moveToFirst": { + "post": { + "tags": [ + "Users" + ], + "summary": "Move a credential to a first position in the credentials list of the user", + "parameters": [ + { + "name": "credentialId", + "in": "path", + "description": "The credential to move", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/credentials/{credentialId}/userLabel": { + "put": { + "tags": [ + "Users" + ], + "summary": "Update a credential label for a user", + "parameters": [ + { + "name": "credentialId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "text/plain": { + "schema": { + "type": "string" + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/disable-credential-types": { + "put": { + "tags": [ + "Users" + ], + "summary": "Disable all credentials for a user of a specific type", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/execute-actions-email": { + "put": { + "tags": [ + "Users" + ], + "summary": "Send an email to the user with a link they can click to execute particular actions.", + "description": "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.", + "parameters": [ + { + "name": "client_id", + "in": "query", + "description": "Client id", + "schema": { + "type": "string" + } + }, + { + "name": "lifespan", + "in": "query", + "description": "Number of seconds after which the generated token expires", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "redirect_uri", + "in": "query", + "description": "Redirect uri", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/federated-identity": { + "get": { + "tags": [ + "Users" + ], + "summary": "Get social logins associated with the user", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/FederatedIdentityRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/federated-identity/{provider}": { + "post": { + "tags": [ + "Users" + ], + "summary": "Add a social login provider to the user", + "parameters": [ + { + "name": "provider", + "in": "path", + "description": "Social login provider id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, + "delete": { + "tags": [ + "Users" + ], + "summary": "Remove a social login provider from user", + "parameters": [ + { + "name": "provider", + "in": "path", + "description": "Social login provider id", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/groups": { + "get": { + "tags": [ + "Users" + ], + "parameters": [ + { + "name": "briefRepresentation", + "in": "query", + "schema": { + "default": true, + "type": "boolean" + } + }, + { + "name": "first", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "max", + "in": "query", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "search", + "in": "query", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GroupRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/groups/count": { + "get": { + "tags": [ + "Users" + ], + "parameters": [ + { + "name": "search", + "in": "query", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "format": "int64", + "type": "integer" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/groups/{groupId}": { + "put": { + "tags": [ + "Users" + ], + "parameters": [ + { + "name": "groupId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Users" + ], + "parameters": [ + { + "name": "groupId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/impersonation": { + "post": { + "tags": [ + "Users" + ], + "summary": "Impersonate the user", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": {} + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/logout": { + "post": { + "tags": [ + "Users" + ], + "summary": "Remove all user sessions associated with the user Also send notification to all clients that have an admin URL to invalidate the sessions for the particular user.", + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/offline-sessions/{clientUuid}": { + "get": { + "tags": [ + "Users" + ], + "summary": "Get offline sessions associated with the user and client", + "parameters": [ + { + "name": "clientUuid", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserSessionRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/reset-password": { + "put": { + "tags": [ + "Users" + ], + "summary": "Set up a new password for the user.", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CredentialRepresentation" + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/reset-password-email": { + "put": { + "tags": [ + "Users" + ], + "summary": "Send an email to the user with a link they can click to reset their password.", + "description": "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.", + "parameters": [ + { + "name": "client_id", + "in": "query", + "description": "client id", + "schema": { + "type": "string" + } + }, + { + "name": "redirect_uri", + "in": "query", + "description": "redirect uri", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + }, + "deprecated": true + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/role-mappings": { + "get": { + "tags": [ + "Role Mapper" + ], + "summary": "Get role mappings", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MappingsRepresentation" + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}": { + "get": { + "tags": [ + "Client Role Mappings" + ], + "summary": "Get client-level role mappings for the user or group, and the app", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Client Role Mappings" + ], + "summary": "Add client-level roles to the user or group role mapping", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Client Role Mappings" + ], + "summary": "Delete client-level roles from user or group role mapping", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-id", + "in": "path", + "description": "client id (not clientId!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}/available": { + "get": { + "tags": [ + "Client Role Mappings" + ], + "summary": "Get available client-level roles that can be mapped to the user or group", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-id", + "in": "path", + "description": "client id (not clientId!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}/composite": { + "get": { + "tags": [ + "Client Role Mappings" + ], + "summary": "Get effective client-level role mappings This recurses any composite roles", + "parameters": [ + { + "name": "briefRepresentation", + "in": "query", + "description": "if false, return roles with their attributes", + "schema": { + "default": true, + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "client-id", + "in": "path", + "description": "client id (not clientId!)", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/role-mappings/realm": { + "get": { + "tags": [ + "Role Mapper" + ], + "summary": "Get realm-level role mappings", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Role Mapper" + ], + "summary": "Add realm-level role mappings to the user", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "delete": { + "tags": [ + "Role Mapper" + ], + "summary": "Delete realm-level role mappings", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/role-mappings/realm/available": { + "get": { + "tags": [ + "Role Mapper" + ], + "summary": "Get realm-level roles that can be mapped", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/role-mappings/realm/composite": { + "get": { + "tags": [ + "Role Mapper" + ], + "summary": "Get effective realm-level role mappings This will recurse all composite roles to get the result.", + "parameters": [ + { + "name": "briefRepresentation", + "in": "query", + "description": "if false, return roles with their attributes", + "schema": { + "default": true, + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/send-verify-email": { + "put": { + "tags": [ + "Users" + ], + "summary": "Send an email-verification email to the user An email contains a link the user can click to verify their email address.", + "description": "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", + "parameters": [ + { + "name": "client_id", + "in": "query", + "description": "Client id", + "schema": { + "type": "string" + } + }, + { + "name": "lifespan", + "in": "query", + "description": "Number of seconds after which the generated token expires", + "schema": { + "format": "int32", + "type": "integer" + } + }, + { + "name": "redirect_uri", + "in": "query", + "description": "Redirect uri", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/sessions": { + "get": { + "tags": [ + "Users" + ], + "summary": "Get sessions associated with the user", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserSessionRepresentation" + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + }, + "/admin/realms/{realm}/users/{user-id}/unmanagedAttributes": { + "get": { + "tags": [ + "Users" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "parameters": [ + { + "name": "realm", + "in": "path", + "description": "realm name (not id!)", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user-id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "components": { + "schemas": { + "AbstractPolicyRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "type": { + "type": "string" + }, + "policies": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "resources": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "scopes": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "logic": { + "$ref": "#/components/schemas/Logic" + }, + "decisionStrategy": { + "$ref": "#/components/schemas/DecisionStrategy" + }, + "owner": { + "type": "string" + }, + "resourceType": { + "type": "string" + }, + "resourcesData": { + "uniqueItems": true, + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceRepresentation" + } + }, + "scopesData": { + "uniqueItems": true, + "type": "array", + "items": { + "$ref": "#/components/schemas/ScopeRepresentation" + } + } + } + }, + "Access": { + "type": "object", + "properties": { + "roles": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "verify_caller": { + "type": "boolean" + } + } + }, + "AccessToken": { + "type": "object", + "properties": { + "jti": { + "type": "string" + }, + "exp": { + "format": "int64", + "type": "integer" + }, + "nbf": { + "format": "int64", + "type": "integer" + }, + "iat": { + "format": "int64", + "type": "integer" + }, + "iss": { + "type": "string" + }, + "sub": { + "type": "string" + }, + "typ": { + "type": "string" + }, + "azp": { + "type": "string" + }, + "otherClaims": { + "type": "object", + "additionalProperties": {} + }, + "nonce": { + "type": "string" + }, + "auth_time": { + "format": "int64", + "type": "integer" + }, + "sid": { + "type": "string" + }, + "at_hash": { + "type": "string" + }, + "c_hash": { + "type": "string" + }, + "name": { + "type": "string" + }, + "given_name": { + "type": "string" + }, + "family_name": { + "type": "string" + }, + "middle_name": { + "type": "string" + }, + "nickname": { + "type": "string" + }, + "preferred_username": { + "type": "string" + }, + "profile": { + "type": "string" + }, + "picture": { + "type": "string" + }, + "website": { + "type": "string" + }, + "email": { + "type": "string" + }, + "email_verified": { + "type": "boolean" + }, + "gender": { + "type": "string" + }, + "birthdate": { + "type": "string" + }, + "zoneinfo": { + "type": "string" + }, + "locale": { + "type": "string" + }, + "phone_number": { + "type": "string" + }, + "phone_number_verified": { + "type": "boolean" + }, + "address": { + "$ref": "#/components/schemas/AddressClaimSet" + }, + "updated_at": { + "format": "int64", + "type": "integer" + }, + "claims_locales": { + "type": "string" + }, + "acr": { + "type": "string" + }, + "s_hash": { + "type": "string" + }, + "trusted-certs": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "allowed-origins": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "realm_access": { + "$ref": "#/components/schemas/Access" + }, + "resource_access": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/Access" + }, + "writeOnly": true + }, + "authorization": { + "$ref": "#/components/schemas/Authorization" + }, + "cnf": { + "$ref": "#/components/schemas/Confirmation" + }, + "scope": { + "type": "string" + } + } + }, + "AddressClaimSet": { + "type": "object", + "properties": { + "formatted": { + "type": "string" + }, + "street_address": { + "type": "string" + }, + "locality": { + "type": "string" + }, + "region": { + "type": "string" + }, + "postal_code": { + "type": "string" + }, + "country": { + "type": "string" + } + } + }, + "AdminEventRepresentation": { + "type": "object", + "properties": { + "time": { + "format": "int64", + "type": "integer" + }, + "realmId": { + "type": "string" + }, + "authDetails": { + "$ref": "#/components/schemas/AuthDetailsRepresentation" + }, + "operationType": { + "type": "string" + }, + "resourceType": { + "type": "string" + }, + "resourcePath": { + "type": "string" + }, + "representation": { + "type": "string" + }, + "error": { + "type": "string" + }, + "details": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ApplicationRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "clientId": { + "type": "string" + }, + "description": { + "type": "string" + }, + "type": { + "type": "string" + }, + "rootUrl": { + "type": "string" + }, + "adminUrl": { + "type": "string" + }, + "baseUrl": { + "type": "string" + }, + "surrogateAuthRequired": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "alwaysDisplayInConsole": { + "type": "boolean" + }, + "clientAuthenticatorType": { + "type": "string" + }, + "secret": { + "type": "string" + }, + "registrationAccessToken": { + "type": "string" + }, + "defaultRoles": { + "type": "array", + "items": { + "type": "string" + }, + "deprecated": true + }, + "redirectUris": { + "type": "array", + "items": { + "type": "string" + } + }, + "webOrigins": { + "type": "array", + "items": { + "type": "string" + } + }, + "notBefore": { + "format": "int32", + "type": "integer" + }, + "bearerOnly": { + "type": "boolean" + }, + "consentRequired": { + "type": "boolean" + }, + "standardFlowEnabled": { + "type": "boolean" + }, + "implicitFlowEnabled": { + "type": "boolean" + }, + "directAccessGrantsEnabled": { + "type": "boolean" + }, + "serviceAccountsEnabled": { + "type": "boolean" + }, + "authorizationServicesEnabled": { + "type": "boolean" + }, + "directGrantsOnly": { + "type": "boolean", + "deprecated": true + }, + "publicClient": { + "type": "boolean" + }, + "frontchannelLogout": { + "type": "boolean" + }, + "protocol": { + "type": "string" + }, + "attributes": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "authenticationFlowBindingOverrides": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "fullScopeAllowed": { + "type": "boolean" + }, + "nodeReRegistrationTimeout": { + "format": "int32", + "type": "integer" + }, + "registeredNodes": { + "type": "object", + "additionalProperties": { + "format": "int32", + "type": "integer" + } + }, + "protocolMappers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + }, + "clientTemplate": { + "type": "string", + "deprecated": true + }, + "useTemplateConfig": { + "type": "boolean", + "deprecated": true + }, + "useTemplateScope": { + "type": "boolean", + "deprecated": true + }, + "useTemplateMappers": { + "type": "boolean", + "deprecated": true + }, + "defaultClientScopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "optionalClientScopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "authorizationSettings": { + "$ref": "#/components/schemas/ResourceServerRepresentation" + }, + "access": { + "type": "object", + "additionalProperties": { + "type": "boolean" + } + }, + "origin": { + "type": "string" + }, + "name": { + "type": "string" + }, + "claims": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/ClaimRepresentation" + } + ], + "deprecated": true + } + }, + "deprecated": true + }, + "AuthDetailsRepresentation": { + "type": "object", + "properties": { + "realmId": { + "type": "string" + }, + "clientId": { + "type": "string" + }, + "userId": { + "type": "string" + }, + "ipAddress": { + "type": "string" + } + } + }, + "AuthenticationExecutionExportRepresentation": { + "type": "object", + "properties": { + "authenticatorConfig": { + "type": "string" + }, + "authenticator": { + "type": "string" + }, + "authenticatorFlow": { + "type": "boolean" + }, + "requirement": { + "type": "string" + }, + "priority": { + "format": "int32", + "type": "integer" + }, + "autheticatorFlow": { + "type": "boolean", + "deprecated": true + }, + "flowAlias": { + "type": "string" + }, + "userSetupAllowed": { + "type": "boolean" + } + } + }, + "AuthenticationExecutionInfoRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "requirement": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "alias": { + "type": "string" + }, + "description": { + "type": "string" + }, + "requirementChoices": { + "type": "array", + "items": { + "type": "string" + } + }, + "configurable": { + "type": "boolean" + }, + "authenticationFlow": { + "type": "boolean" + }, + "providerId": { + "type": "string" + }, + "authenticationConfig": { + "type": "string" + }, + "flowId": { + "type": "string" + }, + "level": { + "format": "int32", + "type": "integer" + }, + "index": { + "format": "int32", + "type": "integer" + }, + "priority": { + "format": "int32", + "type": "integer" + } + } + }, + "AuthenticationExecutionRepresentation": { + "type": "object", + "properties": { + "authenticatorConfig": { + "type": "string" + }, + "authenticator": { + "type": "string" + }, + "authenticatorFlow": { + "type": "boolean" + }, + "requirement": { + "type": "string" + }, + "priority": { + "format": "int32", + "type": "integer" + }, + "autheticatorFlow": { + "type": "boolean", + "deprecated": true + }, + "id": { + "type": "string" + }, + "flowId": { + "type": "string" + }, + "parentFlow": { + "type": "string" + } + } + }, + "AuthenticationFlowRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "alias": { + "type": "string" + }, + "description": { + "type": "string" + }, + "providerId": { + "type": "string" + }, + "topLevel": { + "type": "boolean" + }, + "builtIn": { + "type": "boolean" + }, + "authenticationExecutions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AuthenticationExecutionExportRepresentation" + } + } + } + }, + "AuthenticatorConfigInfoRepresentation": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "providerId": { + "type": "string" + }, + "helpText": { + "type": "string" + }, + "properties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ConfigPropertyRepresentation" + } + } + } + }, + "AuthenticatorConfigRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "alias": { + "type": "string" + }, + "config": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "Authorization": { + "type": "object", + "properties": { + "permissions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Permission" + } + } + } + }, + "AuthorizationSchema": { + "type": "object", + "properties": { + "resourceTypes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ResourceType" + } + } + } + }, + "BruteForceStrategy": { + "enum": [ + "LINEAR", + "MULTIPLE" + ], + "type": "string" + }, + "CertificateRepresentation": { + "type": "object", + "properties": { + "privateKey": { + "type": "string" + }, + "publicKey": { + "type": "string" + }, + "certificate": { + "type": "string" + }, + "kid": { + "type": "string" + } + } + }, + "ClaimRepresentation": { + "type": "object", + "properties": { + "name": { + "type": "boolean" + }, + "username": { + "type": "boolean" + }, + "profile": { + "type": "boolean" + }, + "picture": { + "type": "boolean" + }, + "website": { + "type": "boolean" + }, + "email": { + "type": "boolean" + }, + "gender": { + "type": "boolean" + }, + "locale": { + "type": "boolean" + }, + "address": { + "type": "boolean" + }, + "phone": { + "type": "boolean" + } + } + }, + "ClientInitialAccessCreatePresentation": { + "type": "object", + "properties": { + "expiration": { + "format": "int32", + "type": "integer" + }, + "count": { + "format": "int32", + "type": "integer" + } + } + }, + "ClientInitialAccessPresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "token": { + "type": "string" + }, + "timestamp": { + "format": "int32", + "type": "integer" + }, + "expiration": { + "format": "int32", + "type": "integer" + }, + "count": { + "format": "int32", + "type": "integer" + }, + "remainingCount": { + "format": "int32", + "type": "integer" + } + } + }, + "ClientMappingsRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "client": { + "type": "string" + }, + "mappings": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + } + }, + "ClientPoliciesRepresentation": { + "type": "object", + "properties": { + "policies": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClientPolicyRepresentation" + } + }, + "globalPolicies": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClientPolicyRepresentation" + } + } + } + }, + "ClientPolicyConditionRepresentation": { + "type": "object", + "properties": { + "condition": { + "type": "string" + }, + "configuration": { + "type": "array" + } + } + }, + "ClientPolicyExecutorRepresentation": { + "type": "object", + "properties": { + "executor": { + "type": "string" + }, + "configuration": { + "type": "array" + } + } + }, + "ClientPolicyRepresentation": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "conditions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClientPolicyConditionRepresentation" + } + }, + "profiles": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ClientProfileRepresentation": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "executors": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClientPolicyExecutorRepresentation" + } + } + } + }, + "ClientProfilesRepresentation": { + "type": "object", + "properties": { + "profiles": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClientProfileRepresentation" + } + }, + "globalProfiles": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClientProfileRepresentation" + } + } + } + }, + "ClientRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "clientId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "type": { + "type": "string" + }, + "rootUrl": { + "type": "string" + }, + "adminUrl": { + "type": "string" + }, + "baseUrl": { + "type": "string" + }, + "surrogateAuthRequired": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "alwaysDisplayInConsole": { + "type": "boolean" + }, + "clientAuthenticatorType": { + "type": "string" + }, + "secret": { + "type": "string" + }, + "registrationAccessToken": { + "type": "string" + }, + "defaultRoles": { + "type": "array", + "items": { + "type": "string" + }, + "deprecated": true + }, + "redirectUris": { + "type": "array", + "items": { + "type": "string" + } + }, + "webOrigins": { + "type": "array", + "items": { + "type": "string" + } + }, + "notBefore": { + "format": "int32", + "type": "integer" + }, + "bearerOnly": { + "type": "boolean" + }, + "consentRequired": { + "type": "boolean" + }, + "standardFlowEnabled": { + "type": "boolean" + }, + "implicitFlowEnabled": { + "type": "boolean" + }, + "directAccessGrantsEnabled": { + "type": "boolean" + }, + "serviceAccountsEnabled": { + "type": "boolean" + }, + "authorizationServicesEnabled": { + "type": "boolean" + }, + "directGrantsOnly": { + "type": "boolean", + "deprecated": true + }, + "publicClient": { + "type": "boolean" + }, + "frontchannelLogout": { + "type": "boolean" + }, + "protocol": { + "type": "string" + }, + "attributes": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "authenticationFlowBindingOverrides": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "fullScopeAllowed": { + "type": "boolean" + }, + "nodeReRegistrationTimeout": { + "format": "int32", + "type": "integer" + }, + "registeredNodes": { + "type": "object", + "additionalProperties": { + "format": "int32", + "type": "integer" + } + }, + "protocolMappers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + }, + "clientTemplate": { + "type": "string", + "deprecated": true + }, + "useTemplateConfig": { + "type": "boolean", + "deprecated": true + }, + "useTemplateScope": { + "type": "boolean", + "deprecated": true + }, + "useTemplateMappers": { + "type": "boolean", + "deprecated": true + }, + "defaultClientScopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "optionalClientScopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "authorizationSettings": { + "$ref": "#/components/schemas/ResourceServerRepresentation" + }, + "access": { + "type": "object", + "additionalProperties": { + "type": "boolean" + } + }, + "origin": { + "type": "string" + } + } + }, + "ClientScopeRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "protocol": { + "type": "string" + }, + "attributes": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "protocolMappers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + } + } + }, + "ClientTemplateRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "protocol": { + "type": "string" + }, + "fullScopeAllowed": { + "type": "boolean" + }, + "bearerOnly": { + "type": "boolean" + }, + "consentRequired": { + "type": "boolean" + }, + "standardFlowEnabled": { + "type": "boolean" + }, + "implicitFlowEnabled": { + "type": "boolean" + }, + "directAccessGrantsEnabled": { + "type": "boolean" + }, + "serviceAccountsEnabled": { + "type": "boolean" + }, + "publicClient": { + "type": "boolean" + }, + "frontchannelLogout": { + "type": "boolean" + }, + "attributes": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "protocolMappers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + } + }, + "deprecated": true + }, + "ClientTypeRepresentation": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "provider": { + "type": "string" + }, + "parent": { + "type": "string" + }, + "config": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/PropertyConfig" + } + } + } + }, + "ClientTypesRepresentation": { + "type": "object", + "properties": { + "client-types": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClientTypeRepresentation" + } + }, + "global-client-types": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClientTypeRepresentation" + } + } + } + }, + "ComponentExportRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "providerId": { + "type": "string" + }, + "subType": { + "type": "string" + }, + "subComponents": { + "$ref": "#/components/schemas/MultivaluedHashMapStringComponentExportRepresentation" + }, + "config": { + "$ref": "#/components/schemas/MultivaluedHashMapStringString" + } + } + }, + "ComponentRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "providerId": { + "type": "string" + }, + "providerType": { + "type": "string" + }, + "parentId": { + "type": "string" + }, + "subType": { + "type": "string" + }, + "config": { + "$ref": "#/components/schemas/MultivaluedHashMapStringString" + } + } + }, + "ComponentTypeRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "helpText": { + "type": "string" + }, + "properties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ConfigPropertyRepresentation" + } + }, + "metadata": { + "type": "object", + "additionalProperties": {} + } + } + }, + "Composites": { + "type": "object", + "properties": { + "realm": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "client": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "application": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, + "deprecated": true + } + } + }, + "ConfigPropertyRepresentation": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "label": { + "type": "string" + }, + "helpText": { + "type": "string" + }, + "type": { + "type": "string" + }, + "defaultValue": {}, + "options": { + "type": "array", + "items": { + "type": "string" + } + }, + "secret": { + "type": "boolean" + }, + "required": { + "type": "boolean" + }, + "readOnly": { + "type": "boolean" + } + } + }, + "Confirmation": { + "type": "object", + "properties": { + "x5t#S256": { + "type": "string" + }, + "jkt": { + "type": "string" + } + } + }, + "CredentialRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "type": "string" + }, + "userLabel": { + "type": "string" + }, + "createdDate": { + "format": "int64", + "type": "integer" + }, + "secretData": { + "type": "string" + }, + "credentialData": { + "type": "string" + }, + "priority": { + "format": "int32", + "type": "integer" + }, + "value": { + "type": "string" + }, + "temporary": { + "type": "boolean" + }, + "device": { + "type": "string", + "deprecated": true + }, + "hashedSaltedValue": { + "type": "string", + "deprecated": true + }, + "salt": { + "type": "string", + "deprecated": true + }, + "hashIterations": { + "format": "int32", + "type": "integer", + "deprecated": true + }, + "counter": { + "format": "int32", + "type": "integer", + "deprecated": true + }, + "algorithm": { + "type": "string", + "deprecated": true + }, + "digits": { + "format": "int32", + "type": "integer", + "deprecated": true + }, + "period": { + "format": "int32", + "type": "integer", + "deprecated": true + }, + "config": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/MultivaluedHashMapStringString" + } + ], + "deprecated": true + } + } + }, + "DecisionEffect": { + "enum": [ + "PERMIT", + "DENY" + ], + "type": "string" + }, + "DecisionStrategy": { + "enum": [ + "AFFIRMATIVE", + "UNANIMOUS", + "CONSENSUS" + ], + "type": "string" + }, + "EnforcementMode": { + "enum": [ + "PERMISSIVE", + "ENFORCING", + "DISABLED" + ], + "type": "string" + }, + "EvaluationResultRepresentation": { + "type": "object", + "properties": { + "resource": { + "$ref": "#/components/schemas/ResourceRepresentation" + }, + "scopes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ScopeRepresentation" + } + }, + "policies": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PolicyResultRepresentation" + } + }, + "status": { + "$ref": "#/components/schemas/DecisionEffect" + }, + "allowedScopes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ScopeRepresentation" + } + } + } + }, + "EventRepresentation": { + "type": "object", + "properties": { + "time": { + "format": "int64", + "type": "integer" + }, + "type": { + "type": "string" + }, + "realmId": { + "type": "string" + }, + "clientId": { + "type": "string" + }, + "userId": { + "type": "string" + }, + "sessionId": { + "type": "string" + }, + "ipAddress": { + "type": "string" + }, + "error": { + "type": "string" + }, + "details": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "FederatedIdentityRepresentation": { + "type": "object", + "properties": { + "identityProvider": { + "type": "string" + }, + "userId": { + "type": "string" + }, + "userName": { + "type": "string" + } + } + }, + "GlobalRequestResult": { + "type": "object", + "properties": { + "successRequests": { + "type": "array", + "items": { + "type": "string" + } + }, + "failedRequests": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "GroupRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "parentId": { + "type": "string" + }, + "subGroupCount": { + "format": "int64", + "type": "integer" + }, + "subGroups": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GroupRepresentation" + } + }, + "attributes": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "realmRoles": { + "type": "array", + "items": { + "type": "string" + } + }, + "clientRoles": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "access": { + "type": "object", + "additionalProperties": { + "type": "boolean" + } + } + } + }, + "IDToken": { + "type": "object", + "properties": { + "jti": { + "type": "string" + }, + "exp": { + "format": "int64", + "type": "integer" + }, + "nbf": { + "format": "int64", + "type": "integer" + }, + "iat": { + "format": "int64", + "type": "integer" + }, + "iss": { + "type": "string" + }, + "sub": { + "type": "string" + }, + "typ": { + "type": "string" + }, + "azp": { + "type": "string" + }, + "otherClaims": { + "type": "object", + "additionalProperties": {} + }, + "nonce": { + "type": "string" + }, + "auth_time": { + "format": "int64", + "type": "integer" + }, + "sid": { + "type": "string" + }, + "at_hash": { + "type": "string" + }, + "c_hash": { + "type": "string" + }, + "name": { + "type": "string" + }, + "given_name": { + "type": "string" + }, + "family_name": { + "type": "string" + }, + "middle_name": { + "type": "string" + }, + "nickname": { + "type": "string" + }, + "preferred_username": { + "type": "string" + }, + "profile": { + "type": "string" + }, + "picture": { + "type": "string" + }, + "website": { + "type": "string" + }, + "email": { + "type": "string" + }, + "email_verified": { + "type": "boolean" + }, + "gender": { + "type": "string" + }, + "birthdate": { + "type": "string" + }, + "zoneinfo": { + "type": "string" + }, + "locale": { + "type": "string" + }, + "phone_number": { + "type": "string" + }, + "phone_number_verified": { + "type": "boolean" + }, + "address": { + "$ref": "#/components/schemas/AddressClaimSet" + }, + "updated_at": { + "format": "int64", + "type": "integer" + }, + "claims_locales": { + "type": "string" + }, + "acr": { + "type": "string" + }, + "s_hash": { + "type": "string" + } + } + }, + "IdentityProviderMapperRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "identityProviderAlias": { + "type": "string" + }, + "identityProviderMapper": { + "type": "string" + }, + "config": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "IdentityProviderMapperTypeRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "category": { + "type": "string" + }, + "helpText": { + "type": "string" + }, + "properties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ConfigPropertyRepresentation" + } + } + } + }, + "IdentityProviderRepresentation": { + "type": "object", + "properties": { + "alias": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "internalId": { + "type": "string" + }, + "providerId": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "updateProfileFirstLoginMode": { + "type": "string", + "deprecated": true + }, + "trustEmail": { + "type": "boolean" + }, + "storeToken": { + "type": "boolean" + }, + "addReadTokenRoleOnCreate": { + "type": "boolean" + }, + "authenticateByDefault": { + "type": "boolean" + }, + "linkOnly": { + "type": "boolean" + }, + "hideOnLogin": { + "type": "boolean" + }, + "firstBrokerLoginFlowAlias": { + "type": "string" + }, + "postBrokerLoginFlowAlias": { + "type": "string" + }, + "organizationId": { + "type": "string" + }, + "config": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "updateProfileFirstLogin": { + "type": "boolean", + "deprecated": true + } + } + }, + "InstallationAdapterConfig": { + "type": "object", + "properties": { + "realm": { + "type": "string" + }, + "realm-public-key": { + "type": "string" + }, + "auth-server-url": { + "type": "string" + }, + "ssl-required": { + "type": "string" + }, + "bearer-only": { + "type": "boolean" + }, + "resource": { + "type": "string" + }, + "public-client": { + "type": "boolean" + }, + "verify-token-audience": { + "type": "boolean" + }, + "credentials": { + "type": "object", + "additionalProperties": {} + }, + "use-resource-role-mappings": { + "type": "boolean" + }, + "confidential-port": { + "format": "int32", + "type": "integer" + }, + "policy-enforcer": { + "$ref": "#/components/schemas/PolicyEnforcerConfig" + } + } + }, + "KeyMetadataRepresentation": { + "type": "object", + "properties": { + "providerId": { + "type": "string" + }, + "providerPriority": { + "format": "int64", + "type": "integer" + }, + "kid": { + "type": "string" + }, + "status": { + "type": "string" + }, + "type": { + "type": "string" + }, + "algorithm": { + "type": "string" + }, + "publicKey": { + "type": "string" + }, + "certificate": { + "type": "string" + }, + "use": { + "$ref": "#/components/schemas/KeyUse" + }, + "validTo": { + "format": "int64", + "type": "integer" + } + } + }, + "KeyStoreConfig": { + "type": "object", + "properties": { + "realmCertificate": { + "type": "boolean" + }, + "storePassword": { + "type": "string" + }, + "keyPassword": { + "type": "string" + }, + "keyAlias": { + "type": "string" + }, + "realmAlias": { + "type": "string" + }, + "format": { + "type": "string" + } + } + }, + "KeyUse": { + "enum": [ + "SIG", + "ENC" + ], + "type": "string" + }, + "KeysMetadataRepresentation": { + "type": "object", + "properties": { + "active": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "keys": { + "type": "array", + "items": { + "$ref": "#/components/schemas/KeyMetadataRepresentation" + } + } + } + }, + "Logic": { + "enum": [ + "POSITIVE", + "NEGATIVE" + ], + "type": "string" + }, + "ManagementPermissionReference": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "resource": { + "type": "string" + }, + "scopePermissions": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "MappingsRepresentation": { + "type": "object", + "properties": { + "realmMappings": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + }, + "clientMappings": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/ClientMappingsRepresentation" + } + } + } + }, + "MemberRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "username": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "email": { + "type": "string" + }, + "emailVerified": { + "type": "boolean" + }, + "attributes": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "userProfileMetadata": { + "$ref": "#/components/schemas/UserProfileMetadata" + }, + "self": { + "type": "string" + }, + "origin": { + "type": "string" + }, + "createdTimestamp": { + "format": "int64", + "type": "integer" + }, + "enabled": { + "type": "boolean" + }, + "totp": { + "type": "boolean" + }, + "federationLink": { + "type": "string" + }, + "serviceAccountClientId": { + "type": "string" + }, + "credentials": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CredentialRepresentation" + } + }, + "disableableCredentialTypes": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "requiredActions": { + "type": "array", + "items": { + "type": "string" + } + }, + "federatedIdentities": { + "type": "array", + "items": { + "$ref": "#/components/schemas/FederatedIdentityRepresentation" + } + }, + "realmRoles": { + "type": "array", + "items": { + "type": "string" + } + }, + "clientRoles": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "clientConsents": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserConsentRepresentation" + } + }, + "notBefore": { + "format": "int32", + "type": "integer" + }, + "applicationRoles": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, + "deprecated": true + }, + "socialLinks": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SocialLinkRepresentation" + }, + "deprecated": true + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "access": { + "type": "object", + "additionalProperties": { + "type": "boolean" + } + }, + "membershipType": { + "$ref": "#/components/schemas/MembershipType" + } + } + }, + "MembershipType": { + "enum": [ + "UNMANAGED", + "MANAGED" + ], + "type": "string" + }, + "MethodConfig": { + "type": "object", + "properties": { + "method": { + "type": "string" + }, + "scopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "scopes-enforcement-mode": { + "$ref": "#/components/schemas/ScopeEnforcementMode" + } + } + }, + "MultivaluedHashMapStringComponentExportRepresentation": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ComponentExportRepresentation" + } + } + }, + "MultivaluedHashMapStringString": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "OAuthClientRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "clientId": { + "type": "string" + }, + "description": { + "type": "string" + }, + "type": { + "type": "string" + }, + "rootUrl": { + "type": "string" + }, + "adminUrl": { + "type": "string" + }, + "baseUrl": { + "type": "string" + }, + "surrogateAuthRequired": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "alwaysDisplayInConsole": { + "type": "boolean" + }, + "clientAuthenticatorType": { + "type": "string" + }, + "secret": { + "type": "string" + }, + "registrationAccessToken": { + "type": "string" + }, + "defaultRoles": { + "type": "array", + "items": { + "type": "string" + }, + "deprecated": true + }, + "redirectUris": { + "type": "array", + "items": { + "type": "string" + } + }, + "webOrigins": { + "type": "array", + "items": { + "type": "string" + } + }, + "notBefore": { + "format": "int32", + "type": "integer" + }, + "bearerOnly": { + "type": "boolean" + }, + "consentRequired": { + "type": "boolean" + }, + "standardFlowEnabled": { + "type": "boolean" + }, + "implicitFlowEnabled": { + "type": "boolean" + }, + "directAccessGrantsEnabled": { + "type": "boolean" + }, + "serviceAccountsEnabled": { + "type": "boolean" + }, + "authorizationServicesEnabled": { + "type": "boolean" + }, + "directGrantsOnly": { + "type": "boolean", + "deprecated": true + }, + "publicClient": { + "type": "boolean" + }, + "frontchannelLogout": { + "type": "boolean" + }, + "protocol": { + "type": "string" + }, + "attributes": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "authenticationFlowBindingOverrides": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "fullScopeAllowed": { + "type": "boolean" + }, + "nodeReRegistrationTimeout": { + "format": "int32", + "type": "integer" + }, + "registeredNodes": { + "type": "object", + "additionalProperties": { + "format": "int32", + "type": "integer" + } + }, + "protocolMappers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + }, + "clientTemplate": { + "type": "string", + "deprecated": true + }, + "useTemplateConfig": { + "type": "boolean", + "deprecated": true + }, + "useTemplateScope": { + "type": "boolean", + "deprecated": true + }, + "useTemplateMappers": { + "type": "boolean", + "deprecated": true + }, + "defaultClientScopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "optionalClientScopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "authorizationSettings": { + "$ref": "#/components/schemas/ResourceServerRepresentation" + }, + "access": { + "type": "object", + "additionalProperties": { + "type": "boolean" + } + }, + "origin": { + "type": "string" + }, + "name": { + "type": "string" + }, + "claims": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/ClaimRepresentation" + } + ], + "deprecated": true + } + }, + "deprecated": true + }, + "OrganizationDomainRepresentation": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "verified": { + "type": "boolean" + } + } + }, + "OrganizationRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "alias": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "redirectUrl": { + "type": "string" + }, + "attributes": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "domains": { + "uniqueItems": true, + "type": "array", + "items": { + "$ref": "#/components/schemas/OrganizationDomainRepresentation" + } + }, + "members": { + "type": "array", + "items": { + "$ref": "#/components/schemas/MemberRepresentation" + } + }, + "identityProviders": { + "type": "array", + "items": { + "$ref": "#/components/schemas/IdentityProviderRepresentation" + } + } + } + }, + "PathCacheConfig": { + "type": "object", + "properties": { + "max-entries": { + "format": "int32", + "type": "integer" + }, + "lifespan": { + "format": "int64", + "type": "integer" + } + } + }, + "PathConfig": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "path": { + "type": "string" + }, + "methods": { + "type": "array", + "items": { + "$ref": "#/components/schemas/MethodConfig" + } + }, + "scopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + }, + "enforcement-mode": { + "$ref": "#/components/schemas/EnforcementMode" + }, + "claim-information-point": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": {} + } + }, + "invalidated": { + "type": "boolean" + }, + "staticPath": { + "type": "boolean" + }, + "static": { + "type": "boolean" + } + } + }, + "Permission": { + "type": "object", + "properties": { + "rsid": { + "type": "string" + }, + "rsname": { + "type": "string" + }, + "scopes": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "claims": { + "type": "object", + "additionalProperties": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "PolicyEnforcementMode": { + "enum": [ + "ENFORCING", + "PERMISSIVE", + "DISABLED" + ], + "type": "string" + }, + "PolicyEnforcerConfig": { + "type": "object", + "properties": { + "enforcement-mode": { + "$ref": "#/components/schemas/EnforcementMode" + }, + "paths": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PathConfig" + } + }, + "path-cache": { + "$ref": "#/components/schemas/PathCacheConfig" + }, + "lazy-load-paths": { + "type": "boolean" + }, + "on-deny-redirect-to": { + "type": "string" + }, + "user-managed-access": { + "$ref": "#/components/schemas/UserManagedAccessConfig" + }, + "claim-information-point": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": {} + } + }, + "http-method-as-scope": { + "type": "boolean" + }, + "realm": { + "type": "string" + }, + "auth-server-url": { + "type": "string" + }, + "credentials": { + "type": "object", + "additionalProperties": {} + }, + "resource": { + "type": "string" + } + } + }, + "PolicyEvaluationRequest": { + "type": "object", + "properties": { + "context": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceRepresentation" + } + }, + "clientId": { + "type": "string" + }, + "userId": { + "type": "string" + }, + "roleIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "entitlements": { + "type": "boolean" + } + } + }, + "PolicyEvaluationResponse": { + "type": "object", + "properties": { + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EvaluationResultRepresentation" + } + }, + "entitlements": { + "type": "boolean" + }, + "status": { + "$ref": "#/components/schemas/DecisionEffect" + }, + "rpt": { + "$ref": "#/components/schemas/AccessToken" + } + } + }, + "PolicyProviderRepresentation": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "name": { + "type": "string" + }, + "group": { + "type": "string" + } + } + }, + "PolicyRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "type": { + "type": "string" + }, + "policies": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "resources": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "scopes": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "logic": { + "$ref": "#/components/schemas/Logic" + }, + "decisionStrategy": { + "$ref": "#/components/schemas/DecisionStrategy" + }, + "owner": { + "type": "string" + }, + "resourceType": { + "type": "string" + }, + "resourcesData": { + "uniqueItems": true, + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceRepresentation" + } + }, + "scopesData": { + "uniqueItems": true, + "type": "array", + "items": { + "$ref": "#/components/schemas/ScopeRepresentation" + } + }, + "config": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "PolicyResultRepresentation": { + "type": "object", + "properties": { + "policy": { + "$ref": "#/components/schemas/PolicyRepresentation" + }, + "status": { + "$ref": "#/components/schemas/DecisionEffect" + }, + "associatedPolicies": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PolicyResultRepresentation" + } + }, + "scopes": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "PropertyConfig": { + "type": "object", + "properties": { + "applicable": { + "type": "boolean" + }, + "value": {} + } + }, + "ProtocolMapperEvaluationRepresentation": { + "type": "object", + "properties": { + "mapperId": { + "type": "string" + }, + "mapperName": { + "type": "string" + }, + "containerId": { + "type": "string" + }, + "containerName": { + "type": "string" + }, + "containerType": { + "type": "string" + }, + "protocolMapper": { + "type": "string" + } + } + }, + "ProtocolMapperRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "protocol": { + "type": "string" + }, + "protocolMapper": { + "type": "string" + }, + "consentRequired": { + "type": "boolean", + "deprecated": true + }, + "consentText": { + "type": "string", + "deprecated": true + }, + "config": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "PublishedRealmRepresentation": { + "type": "object", + "properties": { + "realm": { + "type": "string" + }, + "public_key": { + "type": "string" + }, + "token-service": { + "type": "string" + }, + "account-service": { + "type": "string" + }, + "tokens-not-before": { + "format": "int32", + "type": "integer" + } + } + }, + "RealmEventsConfigRepresentation": { + "type": "object", + "properties": { + "eventsEnabled": { + "type": "boolean" + }, + "eventsExpiration": { + "format": "int64", + "type": "integer" + }, + "eventsListeners": { + "type": "array", + "items": { + "type": "string" + } + }, + "enabledEventTypes": { + "type": "array", + "items": { + "type": "string" + } + }, + "adminEventsEnabled": { + "type": "boolean" + }, + "adminEventsDetailsEnabled": { + "type": "boolean" + } + } + }, + "RealmRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "realm": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "displayNameHtml": { + "type": "string" + }, + "notBefore": { + "format": "int32", + "type": "integer" + }, + "defaultSignatureAlgorithm": { + "type": "string" + }, + "revokeRefreshToken": { + "type": "boolean" + }, + "refreshTokenMaxReuse": { + "format": "int32", + "type": "integer" + }, + "accessTokenLifespan": { + "format": "int32", + "type": "integer" + }, + "accessTokenLifespanForImplicitFlow": { + "format": "int32", + "type": "integer" + }, + "ssoSessionIdleTimeout": { + "format": "int32", + "type": "integer" + }, + "ssoSessionMaxLifespan": { + "format": "int32", + "type": "integer" + }, + "ssoSessionIdleTimeoutRememberMe": { + "format": "int32", + "type": "integer" + }, + "ssoSessionMaxLifespanRememberMe": { + "format": "int32", + "type": "integer" + }, + "offlineSessionIdleTimeout": { + "format": "int32", + "type": "integer" + }, + "offlineSessionMaxLifespanEnabled": { + "type": "boolean" + }, + "offlineSessionMaxLifespan": { + "format": "int32", + "type": "integer" + }, + "clientSessionIdleTimeout": { + "format": "int32", + "type": "integer" + }, + "clientSessionMaxLifespan": { + "format": "int32", + "type": "integer" + }, + "clientOfflineSessionIdleTimeout": { + "format": "int32", + "type": "integer" + }, + "clientOfflineSessionMaxLifespan": { + "format": "int32", + "type": "integer" + }, + "accessCodeLifespan": { + "format": "int32", + "type": "integer" + }, + "accessCodeLifespanUserAction": { + "format": "int32", + "type": "integer" + }, + "accessCodeLifespanLogin": { + "format": "int32", + "type": "integer" + }, + "actionTokenGeneratedByAdminLifespan": { + "format": "int32", + "type": "integer" + }, + "actionTokenGeneratedByUserLifespan": { + "format": "int32", + "type": "integer" + }, + "oauth2DeviceCodeLifespan": { + "format": "int32", + "type": "integer" + }, + "oauth2DevicePollingInterval": { + "format": "int32", + "type": "integer" + }, + "enabled": { + "type": "boolean" + }, + "sslRequired": { + "type": "string" + }, + "passwordCredentialGrantAllowed": { + "type": "boolean", + "deprecated": true + }, + "registrationAllowed": { + "type": "boolean" + }, + "registrationEmailAsUsername": { + "type": "boolean" + }, + "rememberMe": { + "type": "boolean" + }, + "verifyEmail": { + "type": "boolean" + }, + "loginWithEmailAllowed": { + "type": "boolean" + }, + "duplicateEmailsAllowed": { + "type": "boolean" + }, + "resetPasswordAllowed": { + "type": "boolean" + }, + "editUsernameAllowed": { + "type": "boolean" + }, + "userCacheEnabled": { + "type": "boolean", + "deprecated": true + }, + "realmCacheEnabled": { + "type": "boolean", + "deprecated": true + }, + "bruteForceProtected": { + "type": "boolean" + }, + "permanentLockout": { + "type": "boolean" + }, + "maxTemporaryLockouts": { + "format": "int32", + "type": "integer" + }, + "bruteForceStrategy": { + "$ref": "#/components/schemas/BruteForceStrategy" + }, + "maxFailureWaitSeconds": { + "format": "int32", + "type": "integer" + }, + "minimumQuickLoginWaitSeconds": { + "format": "int32", + "type": "integer" + }, + "waitIncrementSeconds": { + "format": "int32", + "type": "integer" + }, + "quickLoginCheckMilliSeconds": { + "format": "int64", + "type": "integer" + }, + "maxDeltaTimeSeconds": { + "format": "int32", + "type": "integer" + }, + "failureFactor": { + "format": "int32", + "type": "integer" + }, + "privateKey": { + "type": "string", + "deprecated": true + }, + "publicKey": { + "type": "string", + "deprecated": true + }, + "certificate": { + "type": "string", + "deprecated": true + }, + "codeSecret": { + "type": "string", + "deprecated": true + }, + "roles": { + "$ref": "#/components/schemas/RolesRepresentation" + }, + "groups": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GroupRepresentation" + } + }, + "defaultRoles": { + "type": "array", + "items": { + "type": "string" + }, + "deprecated": true + }, + "defaultRole": { + "$ref": "#/components/schemas/RoleRepresentation" + }, + "adminPermissionsClient": { + "$ref": "#/components/schemas/ClientRepresentation" + }, + "defaultGroups": { + "type": "array", + "items": { + "type": "string" + } + }, + "requiredCredentials": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + }, + "deprecated": true + }, + "passwordPolicy": { + "type": "string" + }, + "otpPolicyType": { + "type": "string" + }, + "otpPolicyAlgorithm": { + "type": "string" + }, + "otpPolicyInitialCounter": { + "format": "int32", + "type": "integer" + }, + "otpPolicyDigits": { + "format": "int32", + "type": "integer" + }, + "otpPolicyLookAheadWindow": { + "format": "int32", + "type": "integer" + }, + "otpPolicyPeriod": { + "format": "int32", + "type": "integer" + }, + "otpPolicyCodeReusable": { + "type": "boolean" + }, + "otpSupportedApplications": { + "type": "array", + "items": { + "type": "string" + } + }, + "localizationTexts": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "webAuthnPolicyRpEntityName": { + "type": "string" + }, + "webAuthnPolicySignatureAlgorithms": { + "type": "array", + "items": { + "type": "string" + } + }, + "webAuthnPolicyRpId": { + "type": "string" + }, + "webAuthnPolicyAttestationConveyancePreference": { + "type": "string" + }, + "webAuthnPolicyAuthenticatorAttachment": { + "type": "string" + }, + "webAuthnPolicyRequireResidentKey": { + "type": "string" + }, + "webAuthnPolicyUserVerificationRequirement": { + "type": "string" + }, + "webAuthnPolicyCreateTimeout": { + "format": "int32", + "type": "integer" + }, + "webAuthnPolicyAvoidSameAuthenticatorRegister": { + "type": "boolean" + }, + "webAuthnPolicyAcceptableAaguids": { + "type": "array", + "items": { + "type": "string" + } + }, + "webAuthnPolicyExtraOrigins": { + "type": "array", + "items": { + "type": "string" + } + }, + "webAuthnPolicyPasswordlessRpEntityName": { + "type": "string" + }, + "webAuthnPolicyPasswordlessSignatureAlgorithms": { + "type": "array", + "items": { + "type": "string" + } + }, + "webAuthnPolicyPasswordlessRpId": { + "type": "string" + }, + "webAuthnPolicyPasswordlessAttestationConveyancePreference": { + "type": "string" + }, + "webAuthnPolicyPasswordlessAuthenticatorAttachment": { + "type": "string" + }, + "webAuthnPolicyPasswordlessRequireResidentKey": { + "type": "string" + }, + "webAuthnPolicyPasswordlessUserVerificationRequirement": { + "type": "string" + }, + "webAuthnPolicyPasswordlessCreateTimeout": { + "format": "int32", + "type": "integer" + }, + "webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister": { + "type": "boolean" + }, + "webAuthnPolicyPasswordlessAcceptableAaguids": { + "type": "array", + "items": { + "type": "string" + } + }, + "webAuthnPolicyPasswordlessExtraOrigins": { + "type": "array", + "items": { + "type": "string" + } + }, + "clientProfiles": { + "$ref": "#/components/schemas/ClientProfilesRepresentation" + }, + "clientPolicies": { + "$ref": "#/components/schemas/ClientPoliciesRepresentation" + }, + "users": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserRepresentation" + } + }, + "federatedUsers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserRepresentation" + } + }, + "scopeMappings": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ScopeMappingRepresentation" + } + }, + "clientScopeMappings": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ScopeMappingRepresentation" + } + } + }, + "clients": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClientRepresentation" + } + }, + "clientScopes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClientScopeRepresentation" + } + }, + "defaultDefaultClientScopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "defaultOptionalClientScopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "browserSecurityHeaders": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "smtpServer": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "userFederationProviders": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserFederationProviderRepresentation" + } + }, + "userFederationMappers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserFederationMapperRepresentation" + } + }, + "loginTheme": { + "type": "string" + }, + "accountTheme": { + "type": "string" + }, + "adminTheme": { + "type": "string" + }, + "emailTheme": { + "type": "string" + }, + "eventsEnabled": { + "type": "boolean" + }, + "eventsExpiration": { + "format": "int64", + "type": "integer" + }, + "eventsListeners": { + "type": "array", + "items": { + "type": "string" + } + }, + "enabledEventTypes": { + "type": "array", + "items": { + "type": "string" + } + }, + "adminEventsEnabled": { + "type": "boolean" + }, + "adminEventsDetailsEnabled": { + "type": "boolean" + }, + "identityProviders": { + "type": "array", + "items": { + "$ref": "#/components/schemas/IdentityProviderRepresentation" + } + }, + "identityProviderMappers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/IdentityProviderMapperRepresentation" + } + }, + "protocolMappers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProtocolMapperRepresentation" + } + }, + "components": { + "$ref": "#/components/schemas/MultivaluedHashMapStringComponentExportRepresentation" + }, + "internationalizationEnabled": { + "type": "boolean" + }, + "supportedLocales": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "defaultLocale": { + "type": "string" + }, + "authenticationFlows": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AuthenticationFlowRepresentation" + } + }, + "authenticatorConfig": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AuthenticatorConfigRepresentation" + } + }, + "requiredActions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RequiredActionProviderRepresentation" + } + }, + "browserFlow": { + "type": "string" + }, + "registrationFlow": { + "type": "string" + }, + "directGrantFlow": { + "type": "string" + }, + "resetCredentialsFlow": { + "type": "string" + }, + "clientAuthenticationFlow": { + "type": "string" + }, + "dockerAuthenticationFlow": { + "type": "string" + }, + "firstBrokerLoginFlow": { + "type": "string" + }, + "attributes": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "keycloakVersion": { + "type": "string" + }, + "userManagedAccessAllowed": { + "type": "boolean" + }, + "organizationsEnabled": { + "type": "boolean" + }, + "organizations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/OrganizationRepresentation" + } + }, + "verifiableCredentialsEnabled": { + "type": "boolean" + }, + "adminPermissionsEnabled": { + "type": "boolean" + }, + "social": { + "type": "boolean", + "deprecated": true + }, + "updateProfileOnInitialSocialLogin": { + "type": "boolean", + "deprecated": true + }, + "socialProviders": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "deprecated": true + }, + "applicationScopeMappings": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ScopeMappingRepresentation" + } + }, + "deprecated": true + }, + "applications": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ApplicationRepresentation" + }, + "deprecated": true + }, + "oauthClients": { + "type": "array", + "items": { + "$ref": "#/components/schemas/OAuthClientRepresentation" + }, + "deprecated": true + }, + "clientTemplates": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClientTemplateRepresentation" + }, + "deprecated": true + }, + "oAuth2DeviceCodeLifespan": { + "format": "int32", + "type": "integer" + }, + "oAuth2DevicePollingInterval": { + "format": "int32", + "type": "integer" + } + } + }, + "RequiredActionConfigInfoRepresentation": { + "type": "object", + "properties": { + "properties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ConfigPropertyRepresentation" + } + } + } + }, + "RequiredActionConfigRepresentation": { + "type": "object", + "properties": { + "config": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "RequiredActionProviderRepresentation": { + "type": "object", + "properties": { + "alias": { + "type": "string" + }, + "name": { + "type": "string" + }, + "providerId": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "defaultAction": { + "type": "boolean" + }, + "priority": { + "format": "int32", + "type": "integer" + }, + "config": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ResourceOwnerRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "ResourceRepresentation": { + "type": "object", + "properties": { + "_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "uris": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "type": { + "type": "string" + }, + "scopes": { + "uniqueItems": true, + "type": "array", + "items": { + "$ref": "#/components/schemas/ScopeRepresentation" + } + }, + "icon_uri": { + "type": "string" + }, + "owner": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/ResourceOwnerRepresentation" + } + ], + "readOnly": true + }, + "ownerManagedAccess": { + "type": "boolean" + }, + "displayName": { + "type": "string" + }, + "attributes": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "uri": { + "type": "string", + "writeOnly": true, + "deprecated": true + }, + "scopesUma": { + "uniqueItems": true, + "type": "array", + "items": { + "$ref": "#/components/schemas/ScopeRepresentation" + } + } + } + }, + "ResourceServerRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "clientId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "allowRemoteResourceManagement": { + "type": "boolean" + }, + "policyEnforcementMode": { + "$ref": "#/components/schemas/PolicyEnforcementMode" + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceRepresentation" + } + }, + "policies": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PolicyRepresentation" + } + }, + "scopes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ScopeRepresentation" + } + }, + "decisionStrategy": { + "$ref": "#/components/schemas/DecisionStrategy" + }, + "authorizationSchema": { + "$ref": "#/components/schemas/AuthorizationSchema" + } + } + }, + "ResourceType": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "scopes": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "RoleRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "scopeParamRequired": { + "type": "boolean", + "deprecated": true + }, + "composite": { + "type": "boolean" + }, + "composites": { + "$ref": "#/components/schemas/Composites" + }, + "clientRole": { + "type": "boolean" + }, + "containerId": { + "type": "string" + }, + "attributes": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "RolesRepresentation": { + "type": "object", + "properties": { + "realm": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + }, + "client": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + } + }, + "application": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RoleRepresentation" + } + }, + "deprecated": true + } + } + }, + "ScopeEnforcementMode": { + "enum": [ + "ALL", + "ANY", + "DISABLED" + ], + "type": "string" + }, + "ScopeMappingRepresentation": { + "type": "object", + "properties": { + "self": { + "type": "string" + }, + "client": { + "type": "string" + }, + "clientTemplate": { + "type": "string", + "deprecated": true + }, + "clientScope": { + "type": "string" + }, + "roles": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ScopeRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "iconUri": { + "type": "string" + }, + "policies": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PolicyRepresentation" + } + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceRepresentation" + } + }, + "displayName": { + "type": "string" + } + } + }, + "SocialLinkRepresentation": { + "type": "object", + "properties": { + "socialProvider": { + "type": "string" + }, + "socialUserId": { + "type": "string" + }, + "socialUsername": { + "type": "string" + } + } + }, + "UPAttribute": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "validations": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": {} + } + }, + "annotations": { + "type": "object", + "additionalProperties": {} + }, + "required": { + "$ref": "#/components/schemas/UPAttributeRequired" + }, + "permissions": { + "$ref": "#/components/schemas/UPAttributePermissions" + }, + "selector": { + "$ref": "#/components/schemas/UPAttributeSelector" + }, + "group": { + "type": "string" + }, + "multivalued": { + "type": "boolean" + } + } + }, + "UPAttributePermissions": { + "type": "object", + "properties": { + "view": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "edit": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "UPAttributeRequired": { + "type": "object", + "properties": { + "roles": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "scopes": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "UPAttributeSelector": { + "type": "object", + "properties": { + "scopes": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "UPConfig": { + "type": "object", + "properties": { + "attributes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UPAttribute" + } + }, + "groups": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UPGroup" + } + }, + "unmanagedAttributePolicy": { + "$ref": "#/components/schemas/UnmanagedAttributePolicy" + } + } + }, + "UPGroup": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "displayHeader": { + "type": "string" + }, + "displayDescription": { + "type": "string" + }, + "annotations": { + "type": "object", + "additionalProperties": {} + } + } + }, + "UnmanagedAttributePolicy": { + "enum": [ + "ENABLED", + "ADMIN_VIEW", + "ADMIN_EDIT" + ], + "type": "string" + }, + "UserConsentRepresentation": { + "type": "object", + "properties": { + "clientId": { + "type": "string" + }, + "grantedClientScopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "createdDate": { + "format": "int64", + "type": "integer" + }, + "lastUpdatedDate": { + "format": "int64", + "type": "integer" + }, + "grantedRealmRoles": { + "type": "array", + "items": { + "type": "string" + }, + "deprecated": true + } + } + }, + "UserFederationMapperRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "federationProviderDisplayName": { + "type": "string" + }, + "federationMapperType": { + "type": "string" + }, + "config": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "UserFederationProviderRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "providerName": { + "type": "string" + }, + "config": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "priority": { + "format": "int32", + "type": "integer" + }, + "fullSyncPeriod": { + "format": "int32", + "type": "integer" + }, + "changedSyncPeriod": { + "format": "int32", + "type": "integer" + }, + "lastSync": { + "format": "int32", + "type": "integer" + } + } + }, + "UserManagedAccessConfig": { + "type": "object" + }, + "UserProfileAttributeGroupMetadata": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "displayHeader": { + "type": "string" + }, + "displayDescription": { + "type": "string" + }, + "annotations": { + "type": "object", + "additionalProperties": {} + } + } + }, + "UserProfileAttributeMetadata": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "required": { + "type": "boolean" + }, + "readOnly": { + "type": "boolean" + }, + "annotations": { + "type": "object", + "additionalProperties": {} + }, + "validators": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": {} + } + }, + "group": { + "type": "string" + }, + "multivalued": { + "type": "boolean" + } + } + }, + "UserProfileMetadata": { + "type": "object", + "properties": { + "attributes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserProfileAttributeMetadata" + } + }, + "groups": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserProfileAttributeGroupMetadata" + } + } + } + }, + "UserRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "username": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "email": { + "type": "string" + }, + "emailVerified": { + "type": "boolean" + }, + "attributes": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "userProfileMetadata": { + "$ref": "#/components/schemas/UserProfileMetadata" + }, + "self": { + "type": "string" + }, + "origin": { + "type": "string" + }, + "createdTimestamp": { + "format": "int64", + "type": "integer" + }, + "enabled": { + "type": "boolean" + }, + "totp": { + "type": "boolean" + }, + "federationLink": { + "type": "string" + }, + "serviceAccountClientId": { + "type": "string" + }, + "credentials": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CredentialRepresentation" + } + }, + "disableableCredentialTypes": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "requiredActions": { + "type": "array", + "items": { + "type": "string" + } + }, + "federatedIdentities": { + "type": "array", + "items": { + "$ref": "#/components/schemas/FederatedIdentityRepresentation" + } + }, + "realmRoles": { + "type": "array", + "items": { + "type": "string" + } + }, + "clientRoles": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "clientConsents": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserConsentRepresentation" + } + }, + "notBefore": { + "format": "int32", + "type": "integer" + }, + "applicationRoles": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, + "deprecated": true + }, + "socialLinks": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SocialLinkRepresentation" + }, + "deprecated": true + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "access": { + "type": "object", + "additionalProperties": { + "type": "boolean" + } + } + } + }, + "UserSessionRepresentation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "username": { + "type": "string" + }, + "userId": { + "type": "string" + }, + "ipAddress": { + "type": "string" + }, + "start": { + "format": "int64", + "type": "integer" + }, + "lastAccess": { + "format": "int64", + "type": "integer" + }, + "rememberMe": { + "type": "boolean" + }, + "clients": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "transientUser": { + "type": "boolean" + } + } + } + } + } +} \ No newline at end of file diff --git a/api/openapi.yaml b/api/openapi.yaml index b8f4d62..396adef 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -8343,7 +8343,10 @@ paths: $ref: '#/components/schemas/GroupRepresentation' type: array description: OK - summary: Get group hierarchy. Only name and ids are returned. + summary: "Get group hierarchy. Only `name` and `id` are returned. `subGroups`\ + \ are only returned when using the `search` or `q` parameter. If none of these\ + \ parameters is provided, the top-level groups are returned without `subGroups`\ + \ being filled." tags: - Groups post: @@ -9905,6 +9908,16 @@ paths: schema: type: string style: simple + - description: "if true, return the full representation. Otherwise, only the\ + \ basic fields are returned." + explode: true + in: query + name: briefRepresentation + required: false + schema: + default: false + type: boolean + style: form - description: Boolean which defines whether the param 'search' must match exactly or not explode: true @@ -9984,7 +9997,7 @@ paths: summary: Creates a new organization tags: - Organizations - /admin/realms/{realm}/organizations/members/{id}/organizations: + /admin/realms/{realm}/organizations/members/{member-id}/organizations: get: parameters: - description: realm name (not id!) @@ -9997,7 +10010,7 @@ paths: style: simple - explode: false in: path - name: id + name: member-id required: true schema: type: string @@ -10015,7 +10028,7 @@ paths: id tags: - Organizations - /admin/realms/{realm}/organizations/{id}: + /admin/realms/{realm}/organizations/{org-id}: delete: parameters: - description: realm name (not id!) @@ -10028,7 +10041,7 @@ paths: style: simple - explode: false in: path - name: id + name: org-id required: true schema: type: string @@ -10051,7 +10064,7 @@ paths: style: simple - explode: false in: path - name: id + name: org-id required: true schema: type: string @@ -10078,7 +10091,7 @@ paths: style: simple - explode: false in: path - name: id + name: org-id required: true schema: type: string @@ -10094,7 +10107,7 @@ paths: summary: Updates the organization tags: - Organizations - /admin/realms/{realm}/organizations/{id}/identity-providers: + /admin/realms/{realm}/organizations/{org-id}/identity-providers: get: parameters: - description: realm name (not id!) @@ -10107,7 +10120,7 @@ paths: style: simple - explode: false in: path - name: id + name: org-id required: true schema: type: string @@ -10139,7 +10152,7 @@ paths: style: simple - explode: false in: path - name: id + name: org-id required: true schema: type: string @@ -10155,7 +10168,7 @@ paths: summary: Adds the identity provider with the specified id to the organization tags: - Organizations - /admin/realms/{realm}/organizations/{id}/identity-providers/{alias}: + /admin/realms/{realm}/organizations/{org-id}/identity-providers/{alias}: delete: description: "Breaks the association between the identity provider and the organization.\ \ The provider itself is not deleted. If no provider is found, or if it is\ @@ -10171,7 +10184,7 @@ paths: style: simple - explode: false in: path - name: id + name: org-id required: true schema: type: string @@ -10204,7 +10217,7 @@ paths: style: simple - explode: false in: path - name: id + name: org-id required: true schema: type: string @@ -10227,7 +10240,7 @@ paths: has the specified alias tags: - Organizations - /admin/realms/{realm}/organizations/{id}/members: + /admin/realms/{realm}/organizations/{org-id}/members: get: parameters: - description: realm name (not id!) @@ -10240,7 +10253,7 @@ paths: style: simple - explode: false in: path - name: id + name: org-id required: true schema: type: string @@ -10273,6 +10286,14 @@ paths: format: int32 type: integer style: form + - description: The membership type + explode: true + in: query + name: membershipType + required: false + schema: + type: string + style: form - description: "A String representing either a member's username, e-mail, first\ \ name, or last name." explode: true @@ -10310,7 +10331,7 @@ paths: style: simple - explode: false in: path - name: id + name: org-id required: true schema: type: string @@ -10326,7 +10347,7 @@ paths: summary: Adds the user with the specified id as a member of the organization tags: - Organizations - /admin/realms/{realm}/organizations/{id}/members/count: + /admin/realms/{realm}/organizations/{org-id}/members/count: get: parameters: - description: realm name (not id!) @@ -10339,7 +10360,7 @@ paths: style: simple - explode: false in: path - name: id + name: org-id required: true schema: type: string @@ -10355,7 +10376,7 @@ paths: summary: Returns number of members in the organization. tags: - Organizations - /admin/realms/{realm}/organizations/{id}/members/invite-existing-user: + /admin/realms/{realm}/organizations/{org-id}/members/invite-existing-user: post: parameters: - description: realm name (not id!) @@ -10368,7 +10389,7 @@ paths: style: simple - explode: false in: path - name: id + name: org-id required: true schema: type: string @@ -10377,7 +10398,7 @@ paths: content: application/x-www-form-urlencoded: schema: - $ref: '#/components/schemas/_admin_realms__realm__organizations__id__members_invite_existing_user_post_request' + $ref: '#/components/schemas/_admin_realms__realm__organizations__org_id__members_invite_existing_user_post_request' responses: "200": description: OK @@ -10385,7 +10406,7 @@ paths: \ user id" tags: - Organizations - /admin/realms/{realm}/organizations/{id}/members/invite-user: + /admin/realms/{realm}/organizations/{org-id}/members/invite-user: post: description: "If the user with the given e-mail address exists, it sends an\ \ invitation link, otherwise it sends a registration link." @@ -10400,7 +10421,7 @@ paths: style: simple - explode: false in: path - name: id + name: org-id required: true schema: type: string @@ -10409,7 +10430,7 @@ paths: content: application/x-www-form-urlencoded: schema: - $ref: '#/components/schemas/_admin_realms__realm__organizations__id__members_invite_user_post_request' + $ref: '#/components/schemas/_admin_realms__realm__organizations__org_id__members_invite_user_post_request' responses: "200": description: OK @@ -10417,7 +10438,7 @@ paths: \ based on the provided e-mail address." tags: - Organizations - /admin/realms/{realm}/organizations/{id}/members/{userId}: + /admin/realms/{realm}/organizations/{org-id}/members/{member-id}: delete: description: "Breaks the association between the user and organization. The\ \ user itself is deleted in case the membership is managed, otherwise the\ @@ -10434,14 +10455,14 @@ paths: style: simple - explode: false in: path - name: id + name: org-id required: true schema: type: string style: simple - explode: false in: path - name: userId + name: member-id required: true schema: type: string @@ -10467,14 +10488,14 @@ paths: style: simple - explode: false in: path - name: id + name: org-id required: true schema: type: string style: simple - explode: false in: path - name: userId + name: member-id required: true schema: type: string @@ -10489,7 +10510,7 @@ paths: summary: Returns the member of the organization with the specified id tags: - Organizations - /admin/realms/{realm}/organizations/{id}/members/{userId}/organizations: + /admin/realms/{realm}/organizations/{org-id}/members/{member-id}/organizations: get: parameters: - description: realm name (not id!) @@ -10502,14 +10523,14 @@ paths: style: simple - explode: false in: path - name: id + name: org-id required: true schema: type: string style: simple - explode: false in: path - name: userId + name: member-id required: true schema: type: string @@ -13237,120 +13258,6 @@ components: AbstractPolicyRepresentation: example: owner: owner - scopesData: - - displayName: displayName - name: name - policies: - - owner: owner - policies: - - policies - - policies - resourcesData: - - null - - null - description: description - resources: - - resources - - resources - type: type - scopesData: - - null - - null - name: name - id: id - scopes: - - scopes - - scopes - logic: POSITIVE - decisionStrategy: AFFIRMATIVE - config: - key: config - - owner: owner - policies: - - policies - - policies - resourcesData: - - null - - null - description: description - resources: - - resources - - resources - type: type - scopesData: - - null - - null - name: name - id: id - scopes: - - scopes - - scopes - logic: POSITIVE - decisionStrategy: AFFIRMATIVE - config: - key: config - resources: - - null - - null - id: id - iconUri: iconUri - - displayName: displayName - name: name - policies: - - owner: owner - policies: - - policies - - policies - resourcesData: - - null - - null - description: description - resources: - - resources - - resources - type: type - scopesData: - - null - - null - name: name - id: id - scopes: - - scopes - - scopes - logic: POSITIVE - decisionStrategy: AFFIRMATIVE - config: - key: config - - owner: owner - policies: - - policies - - policies - resourcesData: - - null - - null - description: description - resources: - - resources - - resources - type: type - scopesData: - - null - - null - name: name - id: id - scopes: - - scopes - - scopes - logic: POSITIVE - decisionStrategy: AFFIRMATIVE - config: - key: config - resources: - - null - - null - id: id - iconUri: iconUri - name: name policies: - policies - policies @@ -13387,6 +13294,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -13411,6 +13319,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -13443,6 +13352,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -13467,6 +13377,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -13508,6 +13419,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -13532,6 +13444,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -13564,6 +13477,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -13588,6 +13502,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -13628,6 +13543,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -13652,6 +13568,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -13684,6 +13601,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -13708,6 +13626,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -13749,6 +13668,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -13773,6 +13693,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -13805,6 +13726,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -13829,6 +13751,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -13841,116 +13764,237 @@ components: resources: - resources - resources - id: id - scopes: - - scopes - - scopes - logic: POSITIVE type: type - decisionStrategy: AFFIRMATIVE - properties: - id: - type: string - name: - type: string - description: - type: string - type: - type: string - policies: - items: - type: string - type: array - uniqueItems: true - resources: - items: - type: string - type: array - uniqueItems: true - scopes: - items: - type: string - type: array - uniqueItems: true - logic: - $ref: '#/components/schemas/Logic' - decisionStrategy: - $ref: '#/components/schemas/DecisionStrategy' - owner: - type: string - resourcesData: - items: - $ref: '#/components/schemas/ResourceRepresentation' - type: array - uniqueItems: true scopesData: - items: - $ref: '#/components/schemas/ScopeRepresentation' - type: array - uniqueItems: true - type: object - Access: - example: - roles: - - roles - - roles - verify_caller: true - properties: - roles: - items: - type: string - type: array - uniqueItems: true - verify_caller: - type: boolean - type: object - AccessToken: - example: - at_hash: at_hash - sub: sub - zoneinfo: zoneinfo - resource_access: - key: - roles: - - roles - - roles - verify_caller: true - birthdate: birthdate - gender: gender - allowed-origins: - - allowed-origins - - allowed-origins - iss: iss - typ: typ - trusted-certs: - - trusted-certs - - trusted-certs - preferred_username: preferred_username - locale: locale - sid: sid - authorization: - permissions: - - claims: - key: - - claims - - claims - rsid: rsid - scopes: - - scopes - - scopes - rsname: rsname - - claims: - key: - - claims - - claims - rsid: rsid - scopes: - - scopes - - scopes - rsname: rsname - acr: acr - updated_at: 5 - realm_access: + - displayName: displayName + name: name + policies: + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + resources: + - null + - null + id: id + iconUri: iconUri + - displayName: displayName + name: name + policies: + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + resources: + - null + - null + id: id + iconUri: iconUri + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + resourceType: resourceType + properties: + id: + type: string + name: + type: string + description: + type: string + type: + type: string + policies: + items: + type: string + type: array + uniqueItems: true + resources: + items: + type: string + type: array + uniqueItems: true + scopes: + items: + type: string + type: array + uniqueItems: true + logic: + $ref: '#/components/schemas/Logic' + decisionStrategy: + $ref: '#/components/schemas/DecisionStrategy' + owner: + type: string + resourceType: + type: string + resourcesData: + items: + $ref: '#/components/schemas/ResourceRepresentation' + type: array + uniqueItems: true + scopesData: + items: + $ref: '#/components/schemas/ScopeRepresentation' + type: array + uniqueItems: true + type: object + Access: + example: + roles: + - roles + - roles + verify_caller: true + properties: + roles: + items: + type: string + type: array + uniqueItems: true + verify_caller: + type: boolean + type: object + AccessToken: + example: + at_hash: at_hash + sub: sub + zoneinfo: zoneinfo + resource_access: + key: + roles: + - roles + - roles + verify_caller: true + birthdate: birthdate + gender: gender + allowed-origins: + - allowed-origins + - allowed-origins + iss: iss + typ: typ + trusted-certs: + - trusted-certs + - trusted-certs + preferred_username: preferred_username + locale: locale + sid: sid + authorization: + permissions: + - claims: + key: + - claims + - claims + rsid: rsid + scopes: + - scopes + - scopes + rsname: rsname + - claims: + key: + - claims + - claims + rsid: rsid + scopes: + - scopes + - scopes + rsname: rsname + acr: acr + updated_at: 5 + realm_access: roles: - roles - roles @@ -14164,6 +14208,13 @@ components: registeredNodes: key: 0 authorizationSettings: + authorizationSchema: + resourceTypes: + key: + scopes: + - scopes + - scopes + type: type clientId: clientId name: name policies: @@ -14191,6 +14242,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -14215,6 +14267,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - owner: "{}" uris: @@ -14248,6 +14301,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -14272,6 +14326,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -14304,6 +14359,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -14328,6 +14384,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -14369,6 +14426,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -14393,6 +14451,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -14425,6 +14484,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -14449,6 +14509,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -14489,6 +14550,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -14513,6 +14575,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -14545,6 +14608,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -14569,6 +14633,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -14610,6 +14675,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -14634,6 +14700,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -14666,6 +14733,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -14690,6 +14758,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -14727,6 +14796,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -14751,6 +14821,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -14783,6 +14854,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -14807,6 +14879,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -15265,6 +15338,20 @@ components: $ref: '#/components/schemas/Permission' type: array type: object + AuthorizationSchema: + example: + resourceTypes: + key: + scopes: + - scopes + - scopes + type: type + properties: + resourceTypes: + additionalProperties: + $ref: '#/components/schemas/ResourceType' + type: object + type: object BruteForceStrategy: enum: - LINEAR @@ -15633,8 +15720,15 @@ components: - optionalClientScopes publicClient: true registeredNodes: - key: 5 + key: 6 authorizationSettings: + authorizationSchema: + resourceTypes: + key: + scopes: + - scopes + - scopes + type: type clientId: clientId name: name policies: @@ -15662,6 +15756,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -15686,6 +15781,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - owner: "{}" uris: @@ -15719,6 +15815,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -15743,6 +15840,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -15775,6 +15873,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -15799,6 +15898,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -15840,6 +15940,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -15864,6 +15965,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -15896,6 +15998,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -15920,6 +16023,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -15960,6 +16064,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -15984,6 +16089,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -16016,6 +16122,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -16040,6 +16147,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -16081,6 +16189,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -16105,6 +16214,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -16137,6 +16247,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -16161,6 +16272,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -16198,6 +16310,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -16222,6 +16335,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -16254,6 +16368,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -16278,6 +16393,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -16299,7 +16415,7 @@ components: useTemplateConfig: true enabled: true clientAuthenticatorType: clientAuthenticatorType - notBefore: 3 + notBefore: 2 surrogateAuthRequired: true frontchannelLogout: true protocol: protocol @@ -16307,7 +16423,7 @@ components: - defaultClientScopes - defaultClientScopes bearerOnly: true - nodeReRegistrationTimeout: 7 + nodeReRegistrationTimeout: 6 id: id adminUrl: adminUrl useTemplateScope: true @@ -16840,16 +16956,16 @@ components: example: userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -16963,6 +17079,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -16987,6 +17104,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -17019,6 +17137,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -17043,6 +17162,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -17084,6 +17204,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -17108,6 +17229,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -17140,6 +17262,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -17164,6 +17287,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -17204,6 +17328,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType status: PERMIT - scopes: - scopes @@ -17236,6 +17361,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType status: PERMIT scopes: - displayName: displayName @@ -17265,6 +17391,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -17289,6 +17416,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -17321,6 +17449,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -17345,6 +17474,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -17378,6 +17508,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -17402,6 +17533,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -17434,6 +17566,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -17458,6 +17591,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -18113,16 +18247,16 @@ components: credentials: - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -18131,16 +18265,16 @@ components: algorithm: algorithm - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -18170,7 +18304,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -18179,7 +18313,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -18367,6 +18501,13 @@ components: registeredNodes: key: 4 authorizationSettings: + authorizationSchema: + resourceTypes: + key: + scopes: + - scopes + - scopes + type: type clientId: clientId name: name policies: @@ -18394,6 +18535,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -18418,6 +18560,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - owner: "{}" uris: @@ -18451,6 +18594,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -18475,6 +18619,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -18507,6 +18652,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -18531,6 +18677,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -18572,6 +18719,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -18596,6 +18744,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -18628,6 +18777,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -18652,6 +18802,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -18692,6 +18843,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -18716,6 +18868,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -18748,6 +18901,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -18772,6 +18926,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -18813,6 +18968,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -18837,6 +18993,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -18869,6 +19026,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -18893,6 +19051,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -18930,6 +19089,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -18954,6 +19114,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -18986,6 +19147,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -19010,6 +19172,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -19284,16 +19447,16 @@ components: credentials: - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -19302,16 +19465,16 @@ components: algorithm: algorithm - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -19341,7 +19504,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -19350,7 +19513,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -19430,16 +19593,16 @@ components: credentials: - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -19448,16 +19611,16 @@ components: algorithm: algorithm - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -19487,7 +19650,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -19496,7 +19659,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -19752,6 +19915,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -19776,6 +19940,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -19808,6 +19973,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -19832,6 +19998,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -19873,6 +20040,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -19897,6 +20065,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -19929,6 +20098,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -19953,6 +20123,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -19993,6 +20164,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -20017,6 +20189,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -20049,6 +20222,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -20073,6 +20247,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -20114,6 +20289,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -20138,6 +20314,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -20170,6 +20347,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -20194,6 +20372,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -20347,6 +20526,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -20371,6 +20551,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -20403,6 +20584,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -20427,6 +20609,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -20468,6 +20651,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -20492,6 +20676,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -20524,6 +20709,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -20548,6 +20734,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -20588,6 +20775,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType status: PERMIT - scopes: - scopes @@ -20620,6 +20808,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType status: PERMIT scopes: - displayName: displayName @@ -20649,6 +20838,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -20673,6 +20863,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -20705,6 +20896,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -20729,6 +20921,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -20762,6 +20955,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -20786,6 +20980,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -20818,6 +21013,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -20842,6 +21038,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -20881,6 +21078,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -20905,6 +21103,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -20937,6 +21136,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -20961,6 +21161,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -21002,6 +21203,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -21026,6 +21228,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -21058,6 +21261,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -21082,6 +21286,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -21122,6 +21327,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType status: PERMIT - scopes: - scopes @@ -21154,6 +21360,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType status: PERMIT scopes: - displayName: displayName @@ -21183,6 +21390,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -21207,6 +21415,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -21239,6 +21448,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -21263,6 +21473,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -21296,6 +21507,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -21320,6 +21532,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -21352,6 +21565,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -21376,6 +21590,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -21434,6 +21649,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType properties: id: type: string @@ -21464,6 +21680,8 @@ components: $ref: '#/components/schemas/DecisionStrategy' owner: type: string + resourceType: + type: string resourcesData: items: $ref: '#/components/schemas/ResourceRepresentation' @@ -21512,6 +21730,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType status: PERMIT properties: policy: @@ -21638,7 +21857,7 @@ components: example: socialProviders: key: socialProviders - otpPolicyLookAheadWindow: 6 + otpPolicyLookAheadWindow: 3 webAuthnPolicyPasswordlessExtraOrigins: - webAuthnPolicyPasswordlessExtraOrigins - webAuthnPolicyPasswordlessExtraOrigins @@ -21699,6 +21918,7 @@ components: publicKey: publicKey maxTemporaryLockouts: 9 otpPolicyDigits: 6 + adminPermissionsEnabled: true webAuthnPolicySignatureAlgorithms: - webAuthnPolicySignatureAlgorithms - webAuthnPolicySignatureAlgorithms @@ -21793,7 +22013,7 @@ components: duplicateEmailsAllowed: true accessCodeLifespan: 1 eventsExpiration: 4 - webAuthnPolicyPasswordlessCreateTimeout: 3 + webAuthnPolicyPasswordlessCreateTimeout: 0 otpPolicyType: otpPolicyType components: key: @@ -21827,11 +22047,18 @@ components: - optionalClientScopes publicClient: true registeredNodes: - key: 5 + key: 6 authorizationSettings: - clientId: clientId - name: name - policies: + authorizationSchema: + resourceTypes: + key: + scopes: + - scopes + - scopes + type: type + clientId: clientId + name: name + policies: - owner: owner policies: - policies @@ -21856,6 +22083,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -21880,6 +22108,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - owner: "{}" uris: @@ -21913,6 +22142,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -21937,6 +22167,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -21969,6 +22200,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -21993,6 +22225,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -22034,6 +22267,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -22058,6 +22292,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -22090,6 +22325,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -22114,6 +22350,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -22154,6 +22391,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -22178,6 +22416,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -22210,6 +22449,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -22234,6 +22474,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -22275,6 +22516,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -22299,6 +22541,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -22331,6 +22574,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -22355,6 +22599,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -22392,6 +22637,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -22416,6 +22662,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -22448,6 +22695,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -22472,6 +22720,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -22493,7 +22742,7 @@ components: useTemplateConfig: true enabled: true clientAuthenticatorType: clientAuthenticatorType - notBefore: 3 + notBefore: 2 surrogateAuthRequired: true frontchannelLogout: true protocol: protocol @@ -22501,7 +22750,7 @@ components: - defaultClientScopes - defaultClientScopes bearerOnly: true - nodeReRegistrationTimeout: 7 + nodeReRegistrationTimeout: 6 id: id adminUrl: adminUrl useTemplateScope: true @@ -22552,8 +22801,15 @@ components: - optionalClientScopes publicClient: true registeredNodes: - key: 5 + key: 6 authorizationSettings: + authorizationSchema: + resourceTypes: + key: + scopes: + - scopes + - scopes + type: type clientId: clientId name: name policies: @@ -22581,6 +22837,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -22605,6 +22862,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - owner: "{}" uris: @@ -22638,6 +22896,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -22662,6 +22921,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -22694,6 +22954,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -22718,6 +22979,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -22759,6 +23021,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -22783,6 +23046,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -22815,6 +23079,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -22839,6 +23104,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -22879,6 +23145,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -22903,6 +23170,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -22935,6 +23203,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -22959,6 +23228,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -23000,6 +23270,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -23024,6 +23295,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -23056,6 +23328,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -23080,6 +23353,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -23117,6 +23391,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -23141,6 +23416,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -23173,6 +23449,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -23197,6 +23474,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -23218,7 +23496,7 @@ components: useTemplateConfig: true enabled: true clientAuthenticatorType: clientAuthenticatorType - notBefore: 3 + notBefore: 2 surrogateAuthRequired: true frontchannelLogout: true protocol: protocol @@ -23226,7 +23504,7 @@ components: - defaultClientScopes - defaultClientScopes bearerOnly: true - nodeReRegistrationTimeout: 7 + nodeReRegistrationTimeout: 6 id: id adminUrl: adminUrl useTemplateScope: true @@ -23285,6 +23563,13 @@ components: registeredNodes: key: 4 authorizationSettings: + authorizationSchema: + resourceTypes: + key: + scopes: + - scopes + - scopes + type: type clientId: clientId name: name policies: @@ -23312,6 +23597,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -23336,6 +23622,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - owner: "{}" uris: @@ -23369,6 +23656,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -23393,6 +23681,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -23425,6 +23714,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -23449,6 +23739,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -23490,6 +23781,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -23514,6 +23806,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -23546,6 +23839,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -23570,6 +23864,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -23610,6 +23905,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -23634,6 +23930,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -23666,6 +23963,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -23690,6 +23988,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -23731,6 +24030,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -23755,6 +24055,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -23787,6 +24088,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -23811,6 +24113,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -23848,6 +24151,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -23872,6 +24176,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -23904,6 +24209,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -23928,6 +24234,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -24009,8 +24316,885 @@ components: - optionalClientScopes publicClient: true registeredNodes: - key: 4 + key: 4 + authorizationSettings: + authorizationSchema: + resourceTypes: + key: + scopes: + - scopes + - scopes + type: type + clientId: clientId + name: name + policies: + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + resources: + - owner: "{}" + uris: + - uris + - uris + scopesUma: + - displayName: displayName + name: name + policies: + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + resources: + - null + - null + id: id + iconUri: iconUri + - displayName: displayName + name: name + policies: + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + resources: + - null + - null + id: id + iconUri: iconUri + ownerManagedAccess: true + displayName: displayName + name: name + attributes: + key: + - attributes + - attributes + _id: _id + scopes: + - displayName: displayName + name: name + policies: + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + resources: + - null + - null + id: id + iconUri: iconUri + - displayName: displayName + name: name + policies: + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + resources: + - null + - null + id: id + iconUri: iconUri + type: type + uri: uri + icon_uri: icon_uri + - owner: "{}" + uris: + - uris + - uris + scopesUma: + - displayName: displayName + name: name + policies: + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + resources: + - null + - null + id: id + iconUri: iconUri + - displayName: displayName + name: name + policies: + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + resources: + - null + - null + id: id + iconUri: iconUri + ownerManagedAccess: true + displayName: displayName + name: name + attributes: + key: + - attributes + - attributes + _id: _id + scopes: + - displayName: displayName + name: name + policies: + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + resources: + - null + - null + id: id + iconUri: iconUri + - displayName: displayName + name: name + policies: + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + resources: + - null + - null + id: id + iconUri: iconUri + type: type + uri: uri + icon_uri: icon_uri + id: id + scopes: + - displayName: displayName + name: name + policies: + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + resources: + - null + - null + id: id + iconUri: iconUri + - displayName: displayName + name: name + policies: + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + - owner: owner + policies: + - policies + - policies + resourcesData: + - null + - null + description: description + resources: + - resources + - resources + type: type + scopesData: + - null + - null + name: name + id: id + scopes: + - scopes + - scopes + logic: POSITIVE + decisionStrategy: AFFIRMATIVE + config: + key: config + resourceType: resourceType + resources: + - null + - null + id: id + iconUri: iconUri + allowRemoteResourceManagement: true + policyEnforcementMode: ENFORCING + decisionStrategy: null + access: + key: true + authorizationServicesEnabled: true + origin: origin + description: description + alwaysDisplayInConsole: true + serviceAccountsEnabled: true + secret: secret + type: type + consentRequired: true + useTemplateConfig: true + enabled: true + clientAuthenticatorType: clientAuthenticatorType + notBefore: 7 + surrogateAuthRequired: true + frontchannelLogout: true + protocol: protocol + defaultClientScopes: + - defaultClientScopes + - defaultClientScopes + bearerOnly: true + nodeReRegistrationTimeout: 5 + id: id + adminUrl: adminUrl + useTemplateScope: true + clientId: clientId + registrationAccessToken: registrationAccessToken + useTemplateMappers: true + directGrantsOnly: true + protocolMappers: + - protocol: protocol + protocolMapper: protocolMapper + name: name + id: id + consentText: consentText + consentRequired: true + config: + key: config + - protocol: protocol + protocolMapper: protocolMapper + name: name + id: id + consentText: consentText + consentRequired: true + config: + key: config + clientTemplate: clientTemplate + redirectUris: + - redirectUris + - redirectUris + fullScopeAllowed: true + rootUrl: rootUrl + implicitFlowEnabled: true + directAccessGrantsEnabled: true + baseUrl: baseUrl + defaultRoles: + - defaultRoles + - defaultRoles + authenticationFlowBindingOverrides: + key: authenticationFlowBindingOverrides + name: name + claims: "{}" + standardFlowEnabled: true + webOrigins: + - webOrigins + - webOrigins + attributes: + key: attributes + requiredCredentials: + - requiredCredentials + - requiredCredentials + maxDeltaTimeSeconds: 3 + internationalizationEnabled: true + ssoSessionMaxLifespan: 2 + bruteForceProtected: true + accessTokenLifespanForImplicitFlow: 5 + webAuthnPolicyPasswordlessSignatureAlgorithms: + - webAuthnPolicyPasswordlessSignatureAlgorithms + - webAuthnPolicyPasswordlessSignatureAlgorithms + bruteForceStrategy: LINEAR + userFederationProviders: + - changedSyncPeriod: 0 + fullSyncPeriod: 4 + lastSync: 6 + displayName: displayName + id: id + priority: 3 + config: + key: config + providerName: providerName + - changedSyncPeriod: 0 + fullSyncPeriod: 4 + lastSync: 6 + displayName: displayName + id: id + priority: 3 + config: + key: config + providerName: providerName + identityProviders: + - addReadTokenRoleOnCreate: true + displayName: displayName + trustEmail: true + linkOnly: true + enabled: true + storeToken: true + organizationId: organizationId + internalId: internalId + firstBrokerLoginFlowAlias: firstBrokerLoginFlowAlias + updateProfileFirstLoginMode: updateProfileFirstLoginMode + providerId: providerId + hideOnLogin: true + postBrokerLoginFlowAlias: postBrokerLoginFlowAlias + alias: alias + authenticateByDefault: true + updateProfileFirstLogin: true + config: + key: config + - addReadTokenRoleOnCreate: true + displayName: displayName + trustEmail: true + linkOnly: true + enabled: true + storeToken: true + organizationId: organizationId + internalId: internalId + firstBrokerLoginFlowAlias: firstBrokerLoginFlowAlias + updateProfileFirstLoginMode: updateProfileFirstLoginMode + providerId: providerId + hideOnLogin: true + postBrokerLoginFlowAlias: postBrokerLoginFlowAlias + alias: alias + authenticateByDefault: true + updateProfileFirstLogin: true + config: + key: config + supportedLocales: + - supportedLocales + - supportedLocales + webAuthnPolicyAttestationConveyancePreference: webAuthnPolicyAttestationConveyancePreference + webAuthnPolicyPasswordlessUserVerificationRequirement: webAuthnPolicyPasswordlessUserVerificationRequirement + browserSecurityHeaders: + key: browserSecurityHeaders + applicationScopeMappings: + key: + - roles: + - roles + - roles + self: self + client: client + clientTemplate: clientTemplate + clientScope: clientScope + - roles: + - roles + - roles + self: self + client: client + clientTemplate: clientTemplate + clientScope: clientScope + oauth2DeviceCodeLifespan: 5 + webAuthnPolicyPasswordlessAuthenticatorAttachment: webAuthnPolicyPasswordlessAuthenticatorAttachment + smtpServer: + key: smtpServer + webAuthnPolicyExtraOrigins: + - webAuthnPolicyExtraOrigins + - webAuthnPolicyExtraOrigins + emailTheme: emailTheme + enabledEventTypes: + - enabledEventTypes + - enabledEventTypes + otpSupportedApplications: + - otpSupportedApplications + - otpSupportedApplications + actionTokenGeneratedByAdminLifespan: 1 + defaultRoles: + - defaultRoles + - defaultRoles + attributes: + key: attributes + registrationEmailAsUsername: true + otpPolicyPeriod: 3 + ssoSessionMaxLifespanRememberMe: 9 + adminPermissionsClient: + optionalClientScopes: + - optionalClientScopes + - optionalClientScopes + publicClient: true + registeredNodes: + key: 6 authorizationSettings: + authorizationSchema: + resourceTypes: + key: + scopes: + - scopes + - scopes + type: type clientId: clientId name: name policies: @@ -24038,6 +25222,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -24062,6 +25247,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - owner: "{}" uris: @@ -24095,6 +25281,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -24119,6 +25306,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -24151,6 +25339,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -24175,6 +25364,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -24216,6 +25406,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -24240,6 +25431,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -24272,6 +25464,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -24296,6 +25489,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -24336,6 +25530,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -24360,6 +25555,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -24392,6 +25588,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -24416,6 +25613,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -24457,6 +25655,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -24481,6 +25680,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -24513,6 +25713,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -24537,6 +25738,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -24574,6 +25776,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -24598,6 +25801,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -24630,6 +25834,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -24654,6 +25859,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -24675,7 +25881,7 @@ components: useTemplateConfig: true enabled: true clientAuthenticatorType: clientAuthenticatorType - notBefore: 7 + notBefore: 2 surrogateAuthRequired: true frontchannelLogout: true protocol: protocol @@ -24683,7 +25889,7 @@ components: - defaultClientScopes - defaultClientScopes bearerOnly: true - nodeReRegistrationTimeout: 5 + nodeReRegistrationTimeout: 6 id: id adminUrl: adminUrl useTemplateScope: true @@ -24717,134 +25923,19 @@ components: implicitFlowEnabled: true directAccessGrantsEnabled: true baseUrl: baseUrl + name: name defaultRoles: - defaultRoles - defaultRoles authenticationFlowBindingOverrides: key: authenticationFlowBindingOverrides - name: name - claims: "{}" standardFlowEnabled: true webOrigins: - webOrigins - webOrigins attributes: key: attributes - requiredCredentials: - - requiredCredentials - - requiredCredentials - maxDeltaTimeSeconds: 3 - internationalizationEnabled: true - ssoSessionMaxLifespan: 2 - bruteForceProtected: true - accessTokenLifespanForImplicitFlow: 5 - webAuthnPolicyPasswordlessSignatureAlgorithms: - - webAuthnPolicyPasswordlessSignatureAlgorithms - - webAuthnPolicyPasswordlessSignatureAlgorithms - bruteForceStrategy: LINEAR - userFederationProviders: - - changedSyncPeriod: 0 - fullSyncPeriod: 4 - lastSync: 6 - displayName: displayName - id: id - priority: 3 - config: - key: config - providerName: providerName - - changedSyncPeriod: 0 - fullSyncPeriod: 4 - lastSync: 6 - displayName: displayName - id: id - priority: 3 - config: - key: config - providerName: providerName - identityProviders: - - addReadTokenRoleOnCreate: true - displayName: displayName - trustEmail: true - linkOnly: true - enabled: true - storeToken: true - organizationId: organizationId - internalId: internalId - firstBrokerLoginFlowAlias: firstBrokerLoginFlowAlias - updateProfileFirstLoginMode: updateProfileFirstLoginMode - providerId: providerId - hideOnLogin: true - postBrokerLoginFlowAlias: postBrokerLoginFlowAlias - alias: alias - authenticateByDefault: true - updateProfileFirstLogin: true - config: - key: config - - addReadTokenRoleOnCreate: true - displayName: displayName - trustEmail: true - linkOnly: true - enabled: true - storeToken: true - organizationId: organizationId - internalId: internalId - firstBrokerLoginFlowAlias: firstBrokerLoginFlowAlias - updateProfileFirstLoginMode: updateProfileFirstLoginMode - providerId: providerId - hideOnLogin: true - postBrokerLoginFlowAlias: postBrokerLoginFlowAlias - alias: alias - authenticateByDefault: true - updateProfileFirstLogin: true - config: - key: config - supportedLocales: - - supportedLocales - - supportedLocales - webAuthnPolicyAttestationConveyancePreference: webAuthnPolicyAttestationConveyancePreference - webAuthnPolicyPasswordlessUserVerificationRequirement: webAuthnPolicyPasswordlessUserVerificationRequirement - browserSecurityHeaders: - key: browserSecurityHeaders - applicationScopeMappings: - key: - - roles: - - roles - - roles - self: self - client: client - clientTemplate: clientTemplate - clientScope: clientScope - - roles: - - roles - - roles - self: self - client: client - clientTemplate: clientTemplate - clientScope: clientScope - oauth2DeviceCodeLifespan: 5 - webAuthnPolicyPasswordlessAuthenticatorAttachment: webAuthnPolicyPasswordlessAuthenticatorAttachment - smtpServer: - key: smtpServer - webAuthnPolicyExtraOrigins: - - webAuthnPolicyExtraOrigins - - webAuthnPolicyExtraOrigins - emailTheme: emailTheme - enabledEventTypes: - - enabledEventTypes - - enabledEventTypes - otpSupportedApplications: - - otpSupportedApplications - - otpSupportedApplications - actionTokenGeneratedByAdminLifespan: 1 - defaultRoles: - - defaultRoles - - defaultRoles - attributes: - key: attributes - registrationEmailAsUsername: true - otpPolicyPeriod: 5 - ssoSessionMaxLifespanRememberMe: 9 - otpPolicyInitialCounter: 2 + otpPolicyInitialCounter: 5 userManagedAccessAllowed: true clientOfflineSessionIdleTimeout: 1 notBefore: 0 @@ -24892,7 +25983,8 @@ components: resetCredentialsFlow: resetCredentialsFlow webAuthnPolicyUserVerificationRequirement: webAuthnPolicyUserVerificationRequirement passwordPolicy: passwordPolicy - webAuthnPolicyCreateTimeout: 6 + webAuthnPolicyCreateTimeout: 7 + verifiableCredentialsEnabled: true defaultRole: composites: application: @@ -24992,16 +26084,16 @@ components: credentials: - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -25010,16 +26102,16 @@ components: algorithm: algorithm - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -25028,7 +26120,7 @@ components: algorithm: algorithm origin: origin enabled: true - notBefore: 3 + notBefore: 5 id: id email: email clientRoles: @@ -25039,7 +26131,7 @@ components: key: - applicationRoles - applicationRoles - createdTimestamp: 3 + createdTimestamp: 7 groups: - groups - groups @@ -25049,7 +26141,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -25058,7 +26150,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -25137,16 +26229,16 @@ components: credentials: - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -25155,16 +26247,16 @@ components: algorithm: algorithm - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -25173,7 +26265,7 @@ components: algorithm: algorithm origin: origin enabled: true - notBefore: 3 + notBefore: 5 id: id email: email clientRoles: @@ -25184,7 +26276,7 @@ components: key: - applicationRoles - applicationRoles - createdTimestamp: 3 + createdTimestamp: 7 groups: - groups - groups @@ -25194,7 +26286,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -25203,7 +26295,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -25447,16 +26539,16 @@ components: credentials: - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -25465,16 +26557,16 @@ components: algorithm: algorithm - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -25483,7 +26575,7 @@ components: algorithm: algorithm origin: origin enabled: true - notBefore: 3 + notBefore: 5 id: id email: email clientRoles: @@ -25494,7 +26586,7 @@ components: key: - applicationRoles - applicationRoles - createdTimestamp: 3 + createdTimestamp: 7 groups: - groups - groups @@ -25504,7 +26596,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -25513,7 +26605,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -25592,16 +26684,16 @@ components: credentials: - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -25610,16 +26702,16 @@ components: algorithm: algorithm - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -25628,7 +26720,7 @@ components: algorithm: algorithm origin: origin enabled: true - notBefore: 3 + notBefore: 5 id: id email: email clientRoles: @@ -25639,7 +26731,7 @@ components: key: - applicationRoles - applicationRoles - createdTimestamp: 3 + createdTimestamp: 7 groups: - groups - groups @@ -25649,7 +26741,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -25658,7 +26750,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -26002,16 +27094,16 @@ components: credentials: - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -26020,16 +27112,16 @@ components: algorithm: algorithm - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -26059,7 +27151,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -26068,7 +27160,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -26148,16 +27240,16 @@ components: credentials: - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -26166,16 +27258,16 @@ components: algorithm: algorithm - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -26205,7 +27297,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -26214,7 +27306,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -26347,16 +27439,16 @@ components: credentials: - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -26365,16 +27457,16 @@ components: algorithm: algorithm - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -26404,7 +27496,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -26413,7 +27505,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -26493,16 +27585,16 @@ components: credentials: - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -26511,16 +27603,16 @@ components: algorithm: algorithm - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -26550,7 +27642,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -26559,7 +27651,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -26658,6 +27750,13 @@ components: registeredNodes: key: 0 authorizationSettings: + authorizationSchema: + resourceTypes: + key: + scopes: + - scopes + - scopes + type: type clientId: clientId name: name policies: @@ -26685,6 +27784,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -26709,6 +27809,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - owner: "{}" uris: @@ -26742,6 +27843,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -26766,6 +27868,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -26798,6 +27901,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -26822,6 +27926,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -26863,6 +27968,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -26887,6 +27993,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -26919,6 +28026,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -26943,6 +28051,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -26983,6 +28092,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -27007,6 +28117,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -27039,6 +28150,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -27063,6 +28175,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -27104,6 +28217,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -27128,6 +28242,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -27160,6 +28275,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -27184,6 +28300,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -27221,6 +28338,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -27245,6 +28363,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -27277,6 +28396,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -27301,6 +28421,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -27384,6 +28505,13 @@ components: registeredNodes: key: 0 authorizationSettings: + authorizationSchema: + resourceTypes: + key: + scopes: + - scopes + - scopes + type: type clientId: clientId name: name policies: @@ -27411,6 +28539,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -27435,6 +28564,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - owner: "{}" uris: @@ -27468,6 +28598,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -27492,6 +28623,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -27524,6 +28656,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -27548,6 +28681,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -27589,6 +28723,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -27613,6 +28748,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -27645,6 +28781,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -27669,6 +28806,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -27709,6 +28847,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -27733,6 +28872,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -27765,6 +28905,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -27789,6 +28930,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -27830,6 +28972,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -27854,6 +28997,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -27886,6 +29030,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -27910,6 +29055,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -27947,6 +29093,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -27971,6 +29118,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -28003,6 +29151,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -28027,6 +29176,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -28262,6 +29412,8 @@ components: type: array defaultRole: $ref: '#/components/schemas/RoleRepresentation' + adminPermissionsClient: + $ref: '#/components/schemas/ClientRepresentation' defaultGroups: items: type: string @@ -28506,6 +29658,10 @@ components: items: $ref: '#/components/schemas/OrganizationRepresentation' type: array + verifiableCredentialsEnabled: + type: boolean + adminPermissionsEnabled: + type: boolean social: deprecated: true type: boolean @@ -28657,6 +29813,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -28681,6 +29838,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -28713,6 +29871,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -28737,6 +29896,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -28778,6 +29938,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -28802,6 +29963,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -28834,6 +29996,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -28858,6 +30021,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -28912,6 +30076,13 @@ components: type: object ResourceServerRepresentation: example: + authorizationSchema: + resourceTypes: + key: + scopes: + - scopes + - scopes + type: type clientId: clientId name: name policies: @@ -28939,6 +30110,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -28963,6 +30135,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - owner: "{}" uris: @@ -28996,6 +30169,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -29020,6 +30194,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -29052,6 +30227,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -29076,6 +30252,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -29117,6 +30294,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -29141,6 +30319,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -29173,6 +30352,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -29197,6 +30377,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -29237,6 +30418,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -29261,6 +30443,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -29293,6 +30476,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -29317,6 +30501,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -29358,6 +30543,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -29382,6 +30568,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -29414,6 +30601,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -29438,6 +30626,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -29475,6 +30664,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -29499,6 +30689,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -29531,6 +30722,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -29555,6 +30747,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -29588,6 +30781,23 @@ components: type: array decisionStrategy: $ref: '#/components/schemas/DecisionStrategy' + authorizationSchema: + $ref: '#/components/schemas/AuthorizationSchema' + type: object + ResourceType: + example: + scopes: + - scopes + - scopes + type: type + properties: + type: + type: string + scopes: + items: + type: string + type: array + uniqueItems: true type: object RoleRepresentation: example: @@ -29863,6 +31073,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType - owner: owner policies: - policies @@ -29887,6 +31098,7 @@ components: decisionStrategy: AFFIRMATIVE config: key: config + resourceType: resourceType resources: - null - null @@ -30140,7 +31352,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -30345,16 +31557,16 @@ components: credentials: - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -30363,16 +31575,16 @@ components: algorithm: algorithm - userLabel: userLabel temporary: true - period: 4 + period: 3 hashedSaltedValue: hashedSaltedValue salt: salt - hashIterations: 7 - counter: 6 + hashIterations: 4 + counter: 8 type: type priority: 0 secretData: secretData - createdDate: 7 - digits: 0 + createdDate: 6 + digits: 7 id: id credentialData: credentialData value: value @@ -30381,7 +31593,7 @@ components: algorithm: algorithm origin: origin enabled: true - notBefore: 3 + notBefore: 5 id: id email: email clientRoles: @@ -30392,7 +31604,7 @@ components: key: - applicationRoles - applicationRoles - createdTimestamp: 3 + createdTimestamp: 7 groups: - groups - groups @@ -30402,7 +31614,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -30411,7 +31623,7 @@ components: - grantedRealmRoles lastUpdatedDate: 7 clientId: clientId - createdDate: 8 + createdDate: 3 grantedClientScopes: - grantedClientScopes - grantedClientScopes @@ -30595,12 +31807,12 @@ components: transientUser: type: boolean type: object - _admin_realms__realm__organizations__id__members_invite_existing_user_post_request: + _admin_realms__realm__organizations__org_id__members_invite_existing_user_post_request: properties: id: type: string type: object - _admin_realms__realm__organizations__id__members_invite_user_post_request: + _admin_realms__realm__organizations__org_id__members_invite_user_post_request: properties: email: type: string diff --git a/api_attack_detection.go b/api_attack_detection.go index c825c60..c46a9e3 100644 --- a/api_attack_detection.go +++ b/api_attack_detection.go @@ -19,13 +19,14 @@ import ( "strings" ) + // AttackDetectionAPIService AttackDetectionAPI service type AttackDetectionAPIService service type ApiAdminRealmsRealmAttackDetectionBruteForceUsersDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *AttackDetectionAPIService - realm string + realm string } func (r ApiAdminRealmsRealmAttackDetectionBruteForceUsersDeleteRequest) Execute() (*http.Response, error) { @@ -35,24 +36,24 @@ func (r ApiAdminRealmsRealmAttackDetectionBruteForceUsersDeleteRequest) Execute( /* AdminRealmsRealmAttackDetectionBruteForceUsersDelete Clear any user login failures for all users This can release temporary disabled users - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmAttackDetectionBruteForceUsersDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmAttackDetectionBruteForceUsersDeleteRequest */ func (a *AttackDetectionAPIService) AdminRealmsRealmAttackDetectionBruteForceUsersDelete(ctx context.Context, realm string) ApiAdminRealmsRealmAttackDetectionBruteForceUsersDeleteRequest { return ApiAdminRealmsRealmAttackDetectionBruteForceUsersDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request func (a *AttackDetectionAPIService) AdminRealmsRealmAttackDetectionBruteForceUsersDeleteExecute(r ApiAdminRealmsRealmAttackDetectionBruteForceUsersDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AttackDetectionAPIService.AdminRealmsRealmAttackDetectionBruteForceUsersDelete") @@ -113,10 +114,10 @@ func (a *AttackDetectionAPIService) AdminRealmsRealmAttackDetectionBruteForceUse } type ApiAdminRealmsRealmAttackDetectionBruteForceUsersUserIdDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *AttackDetectionAPIService - realm string - userId string + realm string + userId string } func (r ApiAdminRealmsRealmAttackDetectionBruteForceUsersUserIdDeleteRequest) Execute() (*http.Response, error) { @@ -126,26 +127,26 @@ func (r ApiAdminRealmsRealmAttackDetectionBruteForceUsersUserIdDeleteRequest) Ex /* AdminRealmsRealmAttackDetectionBruteForceUsersUserIdDelete Clear any user login failures for the user This can release temporary disabled user - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmAttackDetectionBruteForceUsersUserIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmAttackDetectionBruteForceUsersUserIdDeleteRequest */ func (a *AttackDetectionAPIService) AdminRealmsRealmAttackDetectionBruteForceUsersUserIdDelete(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmAttackDetectionBruteForceUsersUserIdDeleteRequest { return ApiAdminRealmsRealmAttackDetectionBruteForceUsersUserIdDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request func (a *AttackDetectionAPIService) AdminRealmsRealmAttackDetectionBruteForceUsersUserIdDeleteExecute(r ApiAdminRealmsRealmAttackDetectionBruteForceUsersUserIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AttackDetectionAPIService.AdminRealmsRealmAttackDetectionBruteForceUsersUserIdDelete") @@ -207,10 +208,10 @@ func (a *AttackDetectionAPIService) AdminRealmsRealmAttackDetectionBruteForceUse } type ApiAdminRealmsRealmAttackDetectionBruteForceUsersUserIdGetRequest struct { - ctx context.Context + ctx context.Context ApiService *AttackDetectionAPIService - realm string - userId string + realm string + userId string } func (r ApiAdminRealmsRealmAttackDetectionBruteForceUsersUserIdGetRequest) Execute() (map[string]interface{}, *http.Response, error) { @@ -220,29 +221,28 @@ func (r ApiAdminRealmsRealmAttackDetectionBruteForceUsersUserIdGetRequest) Execu /* AdminRealmsRealmAttackDetectionBruteForceUsersUserIdGet Get status of a username in brute force detection - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmAttackDetectionBruteForceUsersUserIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmAttackDetectionBruteForceUsersUserIdGetRequest */ func (a *AttackDetectionAPIService) AdminRealmsRealmAttackDetectionBruteForceUsersUserIdGet(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmAttackDetectionBruteForceUsersUserIdGetRequest { return ApiAdminRealmsRealmAttackDetectionBruteForceUsersUserIdGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request -// -// @return map[string]interface{} +// @return map[string]interface{} func (a *AttackDetectionAPIService) AdminRealmsRealmAttackDetectionBruteForceUsersUserIdGetExecute(r ApiAdminRealmsRealmAttackDetectionBruteForceUsersUserIdGetRequest) (map[string]interface{}, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue map[string]interface{} + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue map[string]interface{} ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AttackDetectionAPIService.AdminRealmsRealmAttackDetectionBruteForceUsersUserIdGet") diff --git a/api_authentication_management.go b/api_authentication_management.go index 5634204..f279406 100644 --- a/api_authentication_management.go +++ b/api_authentication_management.go @@ -19,13 +19,14 @@ import ( "strings" ) + // AuthenticationManagementAPIService AuthenticationManagementAPI service type AuthenticationManagementAPIService service type ApiAdminRealmsRealmAuthenticationAuthenticatorProvidersGetRequest struct { - ctx context.Context + ctx context.Context ApiService *AuthenticationManagementAPIService - realm string + realm string } func (r ApiAdminRealmsRealmAuthenticationAuthenticatorProvidersGetRequest) Execute() ([]map[string]interface{}, *http.Response, error) { @@ -35,27 +36,26 @@ func (r ApiAdminRealmsRealmAuthenticationAuthenticatorProvidersGetRequest) Execu /* AdminRealmsRealmAuthenticationAuthenticatorProvidersGet Get authenticator providers Returns a stream of authenticator providers. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmAuthenticationAuthenticatorProvidersGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmAuthenticationAuthenticatorProvidersGetRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationAuthenticatorProvidersGet(ctx context.Context, realm string) ApiAdminRealmsRealmAuthenticationAuthenticatorProvidersGetRequest { return ApiAdminRealmsRealmAuthenticationAuthenticatorProvidersGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []map[string]interface{} +// @return []map[string]interface{} func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationAuthenticatorProvidersGetExecute(r ApiAdminRealmsRealmAuthenticationAuthenticatorProvidersGetRequest) ([]map[string]interface{}, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []map[string]interface{} + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []map[string]interface{} ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationAuthenticatorProvidersGet") @@ -125,9 +125,9 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationAuthe } type ApiAdminRealmsRealmAuthenticationClientAuthenticatorProvidersGetRequest struct { - ctx context.Context + ctx context.Context ApiService *AuthenticationManagementAPIService - realm string + realm string } func (r ApiAdminRealmsRealmAuthenticationClientAuthenticatorProvidersGetRequest) Execute() ([]map[string]interface{}, *http.Response, error) { @@ -137,27 +137,26 @@ func (r ApiAdminRealmsRealmAuthenticationClientAuthenticatorProvidersGetRequest) /* AdminRealmsRealmAuthenticationClientAuthenticatorProvidersGet Get client authenticator providers Returns a stream of client authenticator providers. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmAuthenticationClientAuthenticatorProvidersGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmAuthenticationClientAuthenticatorProvidersGetRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationClientAuthenticatorProvidersGet(ctx context.Context, realm string) ApiAdminRealmsRealmAuthenticationClientAuthenticatorProvidersGetRequest { return ApiAdminRealmsRealmAuthenticationClientAuthenticatorProvidersGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []map[string]interface{} +// @return []map[string]interface{} func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationClientAuthenticatorProvidersGetExecute(r ApiAdminRealmsRealmAuthenticationClientAuthenticatorProvidersGetRequest) ([]map[string]interface{}, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []map[string]interface{} + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []map[string]interface{} ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationClientAuthenticatorProvidersGet") @@ -227,9 +226,9 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationClien } type ApiAdminRealmsRealmAuthenticationConfigDescriptionProviderIdGetRequest struct { - ctx context.Context + ctx context.Context ApiService *AuthenticationManagementAPIService - realm string + realm string providerId string } @@ -240,29 +239,28 @@ func (r ApiAdminRealmsRealmAuthenticationConfigDescriptionProviderIdGetRequest) /* AdminRealmsRealmAuthenticationConfigDescriptionProviderIdGet Get authenticator provider's configuration description - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param providerId - @return ApiAdminRealmsRealmAuthenticationConfigDescriptionProviderIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param providerId + @return ApiAdminRealmsRealmAuthenticationConfigDescriptionProviderIdGetRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationConfigDescriptionProviderIdGet(ctx context.Context, realm string, providerId string) ApiAdminRealmsRealmAuthenticationConfigDescriptionProviderIdGetRequest { return ApiAdminRealmsRealmAuthenticationConfigDescriptionProviderIdGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, providerId: providerId, } } // Execute executes the request -// -// @return AuthenticatorConfigInfoRepresentation +// @return AuthenticatorConfigInfoRepresentation func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationConfigDescriptionProviderIdGetExecute(r ApiAdminRealmsRealmAuthenticationConfigDescriptionProviderIdGetRequest) (*AuthenticatorConfigInfoRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *AuthenticatorConfigInfoRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *AuthenticatorConfigInfoRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationConfigDescriptionProviderIdGet") @@ -333,10 +331,10 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationConfi } type ApiAdminRealmsRealmAuthenticationConfigIdDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *AuthenticationManagementAPIService - realm string - id string + realm string + id string } func (r ApiAdminRealmsRealmAuthenticationConfigIdDeleteRequest) Execute() (*http.Response, error) { @@ -346,26 +344,26 @@ func (r ApiAdminRealmsRealmAuthenticationConfigIdDeleteRequest) Execute() (*http /* AdminRealmsRealmAuthenticationConfigIdDelete Delete authenticator configuration - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id Configuration id - @return ApiAdminRealmsRealmAuthenticationConfigIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param id Configuration id + @return ApiAdminRealmsRealmAuthenticationConfigIdDeleteRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationConfigIdDelete(ctx context.Context, realm string, id string) ApiAdminRealmsRealmAuthenticationConfigIdDeleteRequest { return ApiAdminRealmsRealmAuthenticationConfigIdDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, + ctx: ctx, + realm: realm, + id: id, } } // Execute executes the request func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationConfigIdDeleteExecute(r ApiAdminRealmsRealmAuthenticationConfigIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationConfigIdDelete") @@ -427,10 +425,10 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationConfi } type ApiAdminRealmsRealmAuthenticationConfigIdGetRequest struct { - ctx context.Context + ctx context.Context ApiService *AuthenticationManagementAPIService - realm string - id string + realm string + id string } func (r ApiAdminRealmsRealmAuthenticationConfigIdGetRequest) Execute() (*AuthenticatorConfigRepresentation, *http.Response, error) { @@ -440,29 +438,28 @@ func (r ApiAdminRealmsRealmAuthenticationConfigIdGetRequest) Execute() (*Authent /* AdminRealmsRealmAuthenticationConfigIdGet Get authenticator configuration - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id Configuration id - @return ApiAdminRealmsRealmAuthenticationConfigIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param id Configuration id + @return ApiAdminRealmsRealmAuthenticationConfigIdGetRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationConfigIdGet(ctx context.Context, realm string, id string) ApiAdminRealmsRealmAuthenticationConfigIdGetRequest { return ApiAdminRealmsRealmAuthenticationConfigIdGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, + ctx: ctx, + realm: realm, + id: id, } } // Execute executes the request -// -// @return AuthenticatorConfigRepresentation +// @return AuthenticatorConfigRepresentation func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationConfigIdGetExecute(r ApiAdminRealmsRealmAuthenticationConfigIdGetRequest) (*AuthenticatorConfigRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *AuthenticatorConfigRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *AuthenticatorConfigRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationConfigIdGet") @@ -533,10 +530,10 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationConfi } type ApiAdminRealmsRealmAuthenticationConfigIdPutRequest struct { - ctx context.Context - ApiService *AuthenticationManagementAPIService - realm string - id string + ctx context.Context + ApiService *AuthenticationManagementAPIService + realm string + id string authenticatorConfigRepresentation *AuthenticatorConfigRepresentation } @@ -552,26 +549,26 @@ func (r ApiAdminRealmsRealmAuthenticationConfigIdPutRequest) Execute() (*http.Re /* AdminRealmsRealmAuthenticationConfigIdPut Update authenticator configuration - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id Configuration id - @return ApiAdminRealmsRealmAuthenticationConfigIdPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param id Configuration id + @return ApiAdminRealmsRealmAuthenticationConfigIdPutRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationConfigIdPut(ctx context.Context, realm string, id string) ApiAdminRealmsRealmAuthenticationConfigIdPutRequest { return ApiAdminRealmsRealmAuthenticationConfigIdPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, + ctx: ctx, + realm: realm, + id: id, } } // Execute executes the request func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationConfigIdPutExecute(r ApiAdminRealmsRealmAuthenticationConfigIdPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationConfigIdPut") @@ -635,9 +632,9 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationConfi } type ApiAdminRealmsRealmAuthenticationConfigPostRequest struct { - ctx context.Context - ApiService *AuthenticationManagementAPIService - realm string + ctx context.Context + ApiService *AuthenticationManagementAPIService + realm string authenticatorConfigRepresentation *AuthenticatorConfigRepresentation } @@ -653,17 +650,17 @@ func (r ApiAdminRealmsRealmAuthenticationConfigPostRequest) Execute() (*http.Res /* AdminRealmsRealmAuthenticationConfigPost Create new authenticator configuration - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmAuthenticationConfigPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmAuthenticationConfigPostRequest Deprecated */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationConfigPost(ctx context.Context, realm string) ApiAdminRealmsRealmAuthenticationConfigPostRequest { return ApiAdminRealmsRealmAuthenticationConfigPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } @@ -671,9 +668,9 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationConfi // Deprecated func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationConfigPostExecute(r ApiAdminRealmsRealmAuthenticationConfigPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationConfigPost") @@ -736,11 +733,11 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationConfi } type ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdConfigIdGetRequest struct { - ctx context.Context - ApiService *AuthenticationManagementAPIService - realm string + ctx context.Context + ApiService *AuthenticationManagementAPIService + realm string executionId string - id string + id string } func (r ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdConfigIdGetRequest) Execute() (*AuthenticatorConfigRepresentation, *http.Response, error) { @@ -750,35 +747,33 @@ func (r ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdConfigIdGetRequest /* AdminRealmsRealmAuthenticationExecutionsExecutionIdConfigIdGet Get execution's configuration - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param executionId Execution id - @param id Configuration id - @return ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdConfigIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param executionId Execution id + @param id Configuration id + @return ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdConfigIdGetRequest Deprecated */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecutionsExecutionIdConfigIdGet(ctx context.Context, realm string, executionId string, id string) ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdConfigIdGetRequest { return ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdConfigIdGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, executionId: executionId, - id: id, + id: id, } } // Execute executes the request -// -// @return AuthenticatorConfigRepresentation -// +// @return AuthenticatorConfigRepresentation // Deprecated func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecutionsExecutionIdConfigIdGetExecute(r ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdConfigIdGetRequest) (*AuthenticatorConfigRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *AuthenticatorConfigRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *AuthenticatorConfigRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationExecutionsExecutionIdConfigIdGet") @@ -850,10 +845,10 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecu } type ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdConfigPostRequest struct { - ctx context.Context - ApiService *AuthenticationManagementAPIService - realm string - executionId string + ctx context.Context + ApiService *AuthenticationManagementAPIService + realm string + executionId string authenticatorConfigRepresentation *AuthenticatorConfigRepresentation } @@ -869,16 +864,16 @@ func (r ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdConfigPostRequest) /* AdminRealmsRealmAuthenticationExecutionsExecutionIdConfigPost Update execution with new configuration - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param executionId Execution id - @return ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdConfigPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param executionId Execution id + @return ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdConfigPostRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecutionsExecutionIdConfigPost(ctx context.Context, realm string, executionId string) ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdConfigPostRequest { return ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdConfigPostRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, executionId: executionId, } } @@ -886,9 +881,9 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecu // Execute executes the request func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecutionsExecutionIdConfigPostExecute(r ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdConfigPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationExecutionsExecutionIdConfigPost") @@ -952,9 +947,9 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecu } type ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdDeleteRequest struct { - ctx context.Context - ApiService *AuthenticationManagementAPIService - realm string + ctx context.Context + ApiService *AuthenticationManagementAPIService + realm string executionId string } @@ -965,16 +960,16 @@ func (r ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdDeleteRequest) Exe /* AdminRealmsRealmAuthenticationExecutionsExecutionIdDelete Delete execution - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param executionId Execution id - @return ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param executionId Execution id + @return ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdDeleteRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecutionsExecutionIdDelete(ctx context.Context, realm string, executionId string) ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdDeleteRequest { return ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdDeleteRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, executionId: executionId, } } @@ -982,9 +977,9 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecu // Execute executes the request func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecutionsExecutionIdDeleteExecute(r ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationExecutionsExecutionIdDelete") @@ -1046,9 +1041,9 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecu } type ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdGetRequest struct { - ctx context.Context - ApiService *AuthenticationManagementAPIService - realm string + ctx context.Context + ApiService *AuthenticationManagementAPIService + realm string executionId string } @@ -1059,29 +1054,28 @@ func (r ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdGetRequest) Execut /* AdminRealmsRealmAuthenticationExecutionsExecutionIdGet Get Single Execution - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param executionId - @return ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param executionId + @return ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdGetRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecutionsExecutionIdGet(ctx context.Context, realm string, executionId string) ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdGetRequest { return ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, executionId: executionId, } } // Execute executes the request -// -// @return AuthenticationExecutionRepresentation +// @return AuthenticationExecutionRepresentation func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecutionsExecutionIdGetExecute(r ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdGetRequest) (*AuthenticationExecutionRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *AuthenticationExecutionRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *AuthenticationExecutionRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationExecutionsExecutionIdGet") @@ -1152,9 +1146,9 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecu } type ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdLowerPriorityPostRequest struct { - ctx context.Context - ApiService *AuthenticationManagementAPIService - realm string + ctx context.Context + ApiService *AuthenticationManagementAPIService + realm string executionId string } @@ -1165,16 +1159,16 @@ func (r ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdLowerPriorityPostR /* AdminRealmsRealmAuthenticationExecutionsExecutionIdLowerPriorityPost Lower execution's priority - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param executionId Execution id - @return ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdLowerPriorityPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param executionId Execution id + @return ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdLowerPriorityPostRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecutionsExecutionIdLowerPriorityPost(ctx context.Context, realm string, executionId string) ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdLowerPriorityPostRequest { return ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdLowerPriorityPostRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, executionId: executionId, } } @@ -1182,9 +1176,9 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecu // Execute executes the request func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecutionsExecutionIdLowerPriorityPostExecute(r ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdLowerPriorityPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationExecutionsExecutionIdLowerPriorityPost") @@ -1246,9 +1240,9 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecu } type ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdRaisePriorityPostRequest struct { - ctx context.Context - ApiService *AuthenticationManagementAPIService - realm string + ctx context.Context + ApiService *AuthenticationManagementAPIService + realm string executionId string } @@ -1259,16 +1253,16 @@ func (r ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdRaisePriorityPostR /* AdminRealmsRealmAuthenticationExecutionsExecutionIdRaisePriorityPost Raise execution's priority - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param executionId Execution id - @return ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdRaisePriorityPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param executionId Execution id + @return ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdRaisePriorityPostRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecutionsExecutionIdRaisePriorityPost(ctx context.Context, realm string, executionId string) ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdRaisePriorityPostRequest { return ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdRaisePriorityPostRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, executionId: executionId, } } @@ -1276,9 +1270,9 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecu // Execute executes the request func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecutionsExecutionIdRaisePriorityPostExecute(r ApiAdminRealmsRealmAuthenticationExecutionsExecutionIdRaisePriorityPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationExecutionsExecutionIdRaisePriorityPost") @@ -1340,9 +1334,9 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecu } type ApiAdminRealmsRealmAuthenticationExecutionsPostRequest struct { - ctx context.Context - ApiService *AuthenticationManagementAPIService - realm string + ctx context.Context + ApiService *AuthenticationManagementAPIService + realm string authenticationExecutionRepresentation *AuthenticationExecutionRepresentation } @@ -1358,24 +1352,24 @@ func (r ApiAdminRealmsRealmAuthenticationExecutionsPostRequest) Execute() (*http /* AdminRealmsRealmAuthenticationExecutionsPost Add new authentication execution - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmAuthenticationExecutionsPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmAuthenticationExecutionsPostRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecutionsPost(ctx context.Context, realm string) ApiAdminRealmsRealmAuthenticationExecutionsPostRequest { return ApiAdminRealmsRealmAuthenticationExecutionsPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecutionsPostExecute(r ApiAdminRealmsRealmAuthenticationExecutionsPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationExecutionsPost") @@ -1438,10 +1432,10 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationExecu } type ApiAdminRealmsRealmAuthenticationFlowsFlowAliasCopyPostRequest struct { - ctx context.Context - ApiService *AuthenticationManagementAPIService - realm string - flowAlias string + ctx context.Context + ApiService *AuthenticationManagementAPIService + realm string + flowAlias string requestBody *map[string]string } @@ -1457,26 +1451,26 @@ func (r ApiAdminRealmsRealmAuthenticationFlowsFlowAliasCopyPostRequest) Execute( /* AdminRealmsRealmAuthenticationFlowsFlowAliasCopyPost Copy existing authentication flow under a new name The new name is given as 'newName' attribute of the passed JSON object - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param flowAlias name of the existing authentication flow - @return ApiAdminRealmsRealmAuthenticationFlowsFlowAliasCopyPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param flowAlias name of the existing authentication flow + @return ApiAdminRealmsRealmAuthenticationFlowsFlowAliasCopyPostRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlowsFlowAliasCopyPost(ctx context.Context, realm string, flowAlias string) ApiAdminRealmsRealmAuthenticationFlowsFlowAliasCopyPostRequest { return ApiAdminRealmsRealmAuthenticationFlowsFlowAliasCopyPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, - flowAlias: flowAlias, + ctx: ctx, + realm: realm, + flowAlias: flowAlias, } } // Execute executes the request func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlowsFlowAliasCopyPostExecute(r ApiAdminRealmsRealmAuthenticationFlowsFlowAliasCopyPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationFlowsFlowAliasCopyPost") @@ -1540,10 +1534,10 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlows } type ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsExecutionPostRequest struct { - ctx context.Context - ApiService *AuthenticationManagementAPIService - realm string - flowAlias string + ctx context.Context + ApiService *AuthenticationManagementAPIService + realm string + flowAlias string requestBody *map[string]interface{} } @@ -1559,26 +1553,26 @@ func (r ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsExecutionPostRe /* AdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsExecutionPost Add new authentication execution to a flow - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param flowAlias Alias of parent flow - @return ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsExecutionPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param flowAlias Alias of parent flow + @return ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsExecutionPostRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsExecutionPost(ctx context.Context, realm string, flowAlias string) ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsExecutionPostRequest { return ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsExecutionPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, - flowAlias: flowAlias, + ctx: ctx, + realm: realm, + flowAlias: flowAlias, } } // Execute executes the request func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsExecutionPostExecute(r ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsExecutionPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsExecutionPost") @@ -1642,10 +1636,10 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlows } type ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsFlowPostRequest struct { - ctx context.Context - ApiService *AuthenticationManagementAPIService - realm string - flowAlias string + ctx context.Context + ApiService *AuthenticationManagementAPIService + realm string + flowAlias string requestBody *map[string]interface{} } @@ -1661,26 +1655,26 @@ func (r ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsFlowPostRequest /* AdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsFlowPost Add new flow with new execution to existing flow - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param flowAlias Alias of parent authentication flow - @return ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsFlowPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param flowAlias Alias of parent authentication flow + @return ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsFlowPostRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsFlowPost(ctx context.Context, realm string, flowAlias string) ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsFlowPostRequest { return ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsFlowPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, - flowAlias: flowAlias, + ctx: ctx, + realm: realm, + flowAlias: flowAlias, } } // Execute executes the request func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsFlowPostExecute(r ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsFlowPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsFlowPost") @@ -1744,10 +1738,10 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlows } type ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *AuthenticationManagementAPIService - realm string - flowAlias string + realm string + flowAlias string } func (r ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsGetRequest) Execute() ([]AuthenticationExecutionInfoRepresentation, *http.Response, error) { @@ -1757,29 +1751,28 @@ func (r ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsGetRequest) Exe /* AdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsGet Get authentication executions for a flow - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param flowAlias Flow alias - @return ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param flowAlias Flow alias + @return ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsGetRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsGet(ctx context.Context, realm string, flowAlias string) ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsGetRequest { return ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - flowAlias: flowAlias, + ctx: ctx, + realm: realm, + flowAlias: flowAlias, } } // Execute executes the request -// -// @return []AuthenticationExecutionInfoRepresentation +// @return []AuthenticationExecutionInfoRepresentation func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsGetExecute(r ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsGetRequest) ([]AuthenticationExecutionInfoRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []AuthenticationExecutionInfoRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []AuthenticationExecutionInfoRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsGet") @@ -1850,10 +1843,10 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlows } type ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsPutRequest struct { - ctx context.Context - ApiService *AuthenticationManagementAPIService - realm string - flowAlias string + ctx context.Context + ApiService *AuthenticationManagementAPIService + realm string + flowAlias string authenticationExecutionInfoRepresentation *AuthenticationExecutionInfoRepresentation } @@ -1869,26 +1862,26 @@ func (r ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsPutRequest) Exe /* AdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsPut Update authentication executions of a Flow - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param flowAlias Flow alias - @return ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param flowAlias Flow alias + @return ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsPutRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsPut(ctx context.Context, realm string, flowAlias string) ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsPutRequest { return ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - flowAlias: flowAlias, + ctx: ctx, + realm: realm, + flowAlias: flowAlias, } } // Execute executes the request func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsPutExecute(r ApiAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsPut") @@ -1952,9 +1945,9 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlows } type ApiAdminRealmsRealmAuthenticationFlowsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *AuthenticationManagementAPIService - realm string + realm string } func (r ApiAdminRealmsRealmAuthenticationFlowsGetRequest) Execute() ([]AuthenticationFlowRepresentation, *http.Response, error) { @@ -1964,27 +1957,26 @@ func (r ApiAdminRealmsRealmAuthenticationFlowsGetRequest) Execute() ([]Authentic /* AdminRealmsRealmAuthenticationFlowsGet Get authentication flows Returns a stream of authentication flows. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmAuthenticationFlowsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmAuthenticationFlowsGetRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlowsGet(ctx context.Context, realm string) ApiAdminRealmsRealmAuthenticationFlowsGetRequest { return ApiAdminRealmsRealmAuthenticationFlowsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []AuthenticationFlowRepresentation +// @return []AuthenticationFlowRepresentation func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlowsGetExecute(r ApiAdminRealmsRealmAuthenticationFlowsGetRequest) ([]AuthenticationFlowRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []AuthenticationFlowRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []AuthenticationFlowRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationFlowsGet") @@ -2054,10 +2046,10 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlows } type ApiAdminRealmsRealmAuthenticationFlowsIdDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *AuthenticationManagementAPIService - realm string - id string + realm string + id string } func (r ApiAdminRealmsRealmAuthenticationFlowsIdDeleteRequest) Execute() (*http.Response, error) { @@ -2067,26 +2059,26 @@ func (r ApiAdminRealmsRealmAuthenticationFlowsIdDeleteRequest) Execute() (*http. /* AdminRealmsRealmAuthenticationFlowsIdDelete Delete an authentication flow - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id Flow id - @return ApiAdminRealmsRealmAuthenticationFlowsIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param id Flow id + @return ApiAdminRealmsRealmAuthenticationFlowsIdDeleteRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlowsIdDelete(ctx context.Context, realm string, id string) ApiAdminRealmsRealmAuthenticationFlowsIdDeleteRequest { return ApiAdminRealmsRealmAuthenticationFlowsIdDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, + ctx: ctx, + realm: realm, + id: id, } } // Execute executes the request func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlowsIdDeleteExecute(r ApiAdminRealmsRealmAuthenticationFlowsIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationFlowsIdDelete") @@ -2148,10 +2140,10 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlows } type ApiAdminRealmsRealmAuthenticationFlowsIdGetRequest struct { - ctx context.Context + ctx context.Context ApiService *AuthenticationManagementAPIService - realm string - id string + realm string + id string } func (r ApiAdminRealmsRealmAuthenticationFlowsIdGetRequest) Execute() (*AuthenticationFlowRepresentation, *http.Response, error) { @@ -2161,29 +2153,28 @@ func (r ApiAdminRealmsRealmAuthenticationFlowsIdGetRequest) Execute() (*Authenti /* AdminRealmsRealmAuthenticationFlowsIdGet Get authentication flow for id - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id Flow id - @return ApiAdminRealmsRealmAuthenticationFlowsIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param id Flow id + @return ApiAdminRealmsRealmAuthenticationFlowsIdGetRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlowsIdGet(ctx context.Context, realm string, id string) ApiAdminRealmsRealmAuthenticationFlowsIdGetRequest { return ApiAdminRealmsRealmAuthenticationFlowsIdGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, + ctx: ctx, + realm: realm, + id: id, } } // Execute executes the request -// -// @return AuthenticationFlowRepresentation +// @return AuthenticationFlowRepresentation func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlowsIdGetExecute(r ApiAdminRealmsRealmAuthenticationFlowsIdGetRequest) (*AuthenticationFlowRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *AuthenticationFlowRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *AuthenticationFlowRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationFlowsIdGet") @@ -2254,10 +2245,10 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlows } type ApiAdminRealmsRealmAuthenticationFlowsIdPutRequest struct { - ctx context.Context - ApiService *AuthenticationManagementAPIService - realm string - id string + ctx context.Context + ApiService *AuthenticationManagementAPIService + realm string + id string authenticationFlowRepresentation *AuthenticationFlowRepresentation } @@ -2273,26 +2264,26 @@ func (r ApiAdminRealmsRealmAuthenticationFlowsIdPutRequest) Execute() (*http.Res /* AdminRealmsRealmAuthenticationFlowsIdPut Update an authentication flow - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id - @return ApiAdminRealmsRealmAuthenticationFlowsIdPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param id + @return ApiAdminRealmsRealmAuthenticationFlowsIdPutRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlowsIdPut(ctx context.Context, realm string, id string) ApiAdminRealmsRealmAuthenticationFlowsIdPutRequest { return ApiAdminRealmsRealmAuthenticationFlowsIdPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, + ctx: ctx, + realm: realm, + id: id, } } // Execute executes the request func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlowsIdPutExecute(r ApiAdminRealmsRealmAuthenticationFlowsIdPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationFlowsIdPut") @@ -2356,9 +2347,9 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlows } type ApiAdminRealmsRealmAuthenticationFlowsPostRequest struct { - ctx context.Context - ApiService *AuthenticationManagementAPIService - realm string + ctx context.Context + ApiService *AuthenticationManagementAPIService + realm string authenticationFlowRepresentation *AuthenticationFlowRepresentation } @@ -2374,24 +2365,24 @@ func (r ApiAdminRealmsRealmAuthenticationFlowsPostRequest) Execute() (*http.Resp /* AdminRealmsRealmAuthenticationFlowsPost Create a new authentication flow - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmAuthenticationFlowsPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmAuthenticationFlowsPostRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlowsPost(ctx context.Context, realm string) ApiAdminRealmsRealmAuthenticationFlowsPostRequest { return ApiAdminRealmsRealmAuthenticationFlowsPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlowsPostExecute(r ApiAdminRealmsRealmAuthenticationFlowsPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationFlowsPost") @@ -2454,9 +2445,9 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFlows } type ApiAdminRealmsRealmAuthenticationFormActionProvidersGetRequest struct { - ctx context.Context + ctx context.Context ApiService *AuthenticationManagementAPIService - realm string + realm string } func (r ApiAdminRealmsRealmAuthenticationFormActionProvidersGetRequest) Execute() ([]map[string]interface{}, *http.Response, error) { @@ -2466,27 +2457,26 @@ func (r ApiAdminRealmsRealmAuthenticationFormActionProvidersGetRequest) Execute( /* AdminRealmsRealmAuthenticationFormActionProvidersGet Get form action providers Returns a stream of form action providers. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmAuthenticationFormActionProvidersGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmAuthenticationFormActionProvidersGetRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFormActionProvidersGet(ctx context.Context, realm string) ApiAdminRealmsRealmAuthenticationFormActionProvidersGetRequest { return ApiAdminRealmsRealmAuthenticationFormActionProvidersGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []map[string]interface{} +// @return []map[string]interface{} func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFormActionProvidersGetExecute(r ApiAdminRealmsRealmAuthenticationFormActionProvidersGetRequest) ([]map[string]interface{}, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []map[string]interface{} + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []map[string]interface{} ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationFormActionProvidersGet") @@ -2556,9 +2546,9 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFormA } type ApiAdminRealmsRealmAuthenticationFormProvidersGetRequest struct { - ctx context.Context + ctx context.Context ApiService *AuthenticationManagementAPIService - realm string + realm string } func (r ApiAdminRealmsRealmAuthenticationFormProvidersGetRequest) Execute() ([]map[string]interface{}, *http.Response, error) { @@ -2568,27 +2558,26 @@ func (r ApiAdminRealmsRealmAuthenticationFormProvidersGetRequest) Execute() ([]m /* AdminRealmsRealmAuthenticationFormProvidersGet Get form providers Returns a stream of form providers. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmAuthenticationFormProvidersGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmAuthenticationFormProvidersGetRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFormProvidersGet(ctx context.Context, realm string) ApiAdminRealmsRealmAuthenticationFormProvidersGetRequest { return ApiAdminRealmsRealmAuthenticationFormProvidersGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []map[string]interface{} +// @return []map[string]interface{} func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFormProvidersGetExecute(r ApiAdminRealmsRealmAuthenticationFormProvidersGetRequest) ([]map[string]interface{}, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []map[string]interface{} + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []map[string]interface{} ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationFormProvidersGet") @@ -2658,9 +2647,9 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationFormP } type ApiAdminRealmsRealmAuthenticationPerClientConfigDescriptionGetRequest struct { - ctx context.Context + ctx context.Context ApiService *AuthenticationManagementAPIService - realm string + realm string } func (r ApiAdminRealmsRealmAuthenticationPerClientConfigDescriptionGetRequest) Execute() (*map[string][]ConfigPropertyRepresentation, *http.Response, error) { @@ -2670,27 +2659,26 @@ func (r ApiAdminRealmsRealmAuthenticationPerClientConfigDescriptionGetRequest) E /* AdminRealmsRealmAuthenticationPerClientConfigDescriptionGet Get configuration descriptions for all clients - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmAuthenticationPerClientConfigDescriptionGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmAuthenticationPerClientConfigDescriptionGetRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationPerClientConfigDescriptionGet(ctx context.Context, realm string) ApiAdminRealmsRealmAuthenticationPerClientConfigDescriptionGetRequest { return ApiAdminRealmsRealmAuthenticationPerClientConfigDescriptionGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return map[string][]ConfigPropertyRepresentation +// @return map[string][]ConfigPropertyRepresentation func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationPerClientConfigDescriptionGetExecute(r ApiAdminRealmsRealmAuthenticationPerClientConfigDescriptionGetRequest) (*map[string][]ConfigPropertyRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *map[string][]ConfigPropertyRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *map[string][]ConfigPropertyRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationPerClientConfigDescriptionGet") @@ -2760,9 +2748,9 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationPerCl } type ApiAdminRealmsRealmAuthenticationRegisterRequiredActionPostRequest struct { - ctx context.Context - ApiService *AuthenticationManagementAPIService - realm string + ctx context.Context + ApiService *AuthenticationManagementAPIService + realm string requestBody *map[string]string } @@ -2778,24 +2766,24 @@ func (r ApiAdminRealmsRealmAuthenticationRegisterRequiredActionPostRequest) Exec /* AdminRealmsRealmAuthenticationRegisterRequiredActionPost Register a new required actions - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmAuthenticationRegisterRequiredActionPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmAuthenticationRegisterRequiredActionPostRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRegisterRequiredActionPost(ctx context.Context, realm string) ApiAdminRealmsRealmAuthenticationRegisterRequiredActionPostRequest { return ApiAdminRealmsRealmAuthenticationRegisterRequiredActionPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRegisterRequiredActionPostExecute(r ApiAdminRealmsRealmAuthenticationRegisterRequiredActionPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationRegisterRequiredActionPost") @@ -2858,10 +2846,10 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRegis } type ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *AuthenticationManagementAPIService - realm string - alias string + realm string + alias string } func (r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigDeleteRequest) Execute() (*http.Response, error) { @@ -2871,26 +2859,26 @@ func (r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigDeleteRequest /* AdminRealmsRealmAuthenticationRequiredActionsAliasConfigDelete Delete RequiredAction configuration - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param alias Alias of required action - @return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param alias Alias of required action + @return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigDeleteRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequiredActionsAliasConfigDelete(ctx context.Context, realm string, alias string) ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigDeleteRequest { return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - alias: alias, + ctx: ctx, + realm: realm, + alias: alias, } } // Execute executes the request func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequiredActionsAliasConfigDeleteExecute(r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationRequiredActionsAliasConfigDelete") @@ -2952,10 +2940,10 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequi } type ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigDescriptionGetRequest struct { - ctx context.Context + ctx context.Context ApiService *AuthenticationManagementAPIService - realm string - alias string + realm string + alias string } func (r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigDescriptionGetRequest) Execute() (*RequiredActionConfigInfoRepresentation, *http.Response, error) { @@ -2965,29 +2953,28 @@ func (r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigDescriptionGe /* AdminRealmsRealmAuthenticationRequiredActionsAliasConfigDescriptionGet Get RequiredAction provider configuration description - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param alias Alias of required action - @return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigDescriptionGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param alias Alias of required action + @return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigDescriptionGetRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequiredActionsAliasConfigDescriptionGet(ctx context.Context, realm string, alias string) ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigDescriptionGetRequest { return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigDescriptionGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - alias: alias, + ctx: ctx, + realm: realm, + alias: alias, } } // Execute executes the request -// -// @return RequiredActionConfigInfoRepresentation +// @return RequiredActionConfigInfoRepresentation func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequiredActionsAliasConfigDescriptionGetExecute(r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigDescriptionGetRequest) (*RequiredActionConfigInfoRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *RequiredActionConfigInfoRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RequiredActionConfigInfoRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationRequiredActionsAliasConfigDescriptionGet") @@ -3058,10 +3045,10 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequi } type ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigGetRequest struct { - ctx context.Context + ctx context.Context ApiService *AuthenticationManagementAPIService - realm string - alias string + realm string + alias string } func (r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigGetRequest) Execute() (*RequiredActionConfigRepresentation, *http.Response, error) { @@ -3071,29 +3058,28 @@ func (r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigGetRequest) E /* AdminRealmsRealmAuthenticationRequiredActionsAliasConfigGet Get RequiredAction configuration - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param alias Alias of required action - @return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param alias Alias of required action + @return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigGetRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequiredActionsAliasConfigGet(ctx context.Context, realm string, alias string) ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigGetRequest { return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - alias: alias, + ctx: ctx, + realm: realm, + alias: alias, } } // Execute executes the request -// -// @return RequiredActionConfigRepresentation +// @return RequiredActionConfigRepresentation func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequiredActionsAliasConfigGetExecute(r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigGetRequest) (*RequiredActionConfigRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *RequiredActionConfigRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RequiredActionConfigRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationRequiredActionsAliasConfigGet") @@ -3164,10 +3150,10 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequi } type ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigPutRequest struct { - ctx context.Context - ApiService *AuthenticationManagementAPIService - realm string - alias string + ctx context.Context + ApiService *AuthenticationManagementAPIService + realm string + alias string requiredActionConfigRepresentation *RequiredActionConfigRepresentation } @@ -3183,26 +3169,26 @@ func (r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigPutRequest) E /* AdminRealmsRealmAuthenticationRequiredActionsAliasConfigPut Update RequiredAction configuration - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param alias Alias of required action - @return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param alias Alias of required action + @return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigPutRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequiredActionsAliasConfigPut(ctx context.Context, realm string, alias string) ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigPutRequest { return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - alias: alias, + ctx: ctx, + realm: realm, + alias: alias, } } // Execute executes the request func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequiredActionsAliasConfigPutExecute(r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasConfigPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationRequiredActionsAliasConfigPut") @@ -3266,10 +3252,10 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequi } type ApiAdminRealmsRealmAuthenticationRequiredActionsAliasDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *AuthenticationManagementAPIService - realm string - alias string + realm string + alias string } func (r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasDeleteRequest) Execute() (*http.Response, error) { @@ -3279,26 +3265,26 @@ func (r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasDeleteRequest) Exec /* AdminRealmsRealmAuthenticationRequiredActionsAliasDelete Delete required action - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param alias Alias of required action - @return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param alias Alias of required action + @return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasDeleteRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequiredActionsAliasDelete(ctx context.Context, realm string, alias string) ApiAdminRealmsRealmAuthenticationRequiredActionsAliasDeleteRequest { return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - alias: alias, + ctx: ctx, + realm: realm, + alias: alias, } } // Execute executes the request func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequiredActionsAliasDeleteExecute(r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationRequiredActionsAliasDelete") @@ -3360,10 +3346,10 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequi } type ApiAdminRealmsRealmAuthenticationRequiredActionsAliasGetRequest struct { - ctx context.Context + ctx context.Context ApiService *AuthenticationManagementAPIService - realm string - alias string + realm string + alias string } func (r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasGetRequest) Execute() (*RequiredActionProviderRepresentation, *http.Response, error) { @@ -3373,29 +3359,28 @@ func (r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasGetRequest) Execute /* AdminRealmsRealmAuthenticationRequiredActionsAliasGet Get required action for alias - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param alias Alias of required action - @return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param alias Alias of required action + @return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasGetRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequiredActionsAliasGet(ctx context.Context, realm string, alias string) ApiAdminRealmsRealmAuthenticationRequiredActionsAliasGetRequest { return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - alias: alias, + ctx: ctx, + realm: realm, + alias: alias, } } // Execute executes the request -// -// @return RequiredActionProviderRepresentation +// @return RequiredActionProviderRepresentation func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequiredActionsAliasGetExecute(r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasGetRequest) (*RequiredActionProviderRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *RequiredActionProviderRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RequiredActionProviderRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationRequiredActionsAliasGet") @@ -3466,10 +3451,10 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequi } type ApiAdminRealmsRealmAuthenticationRequiredActionsAliasLowerPriorityPostRequest struct { - ctx context.Context + ctx context.Context ApiService *AuthenticationManagementAPIService - realm string - alias string + realm string + alias string } func (r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasLowerPriorityPostRequest) Execute() (*http.Response, error) { @@ -3479,26 +3464,26 @@ func (r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasLowerPriorityPostRe /* AdminRealmsRealmAuthenticationRequiredActionsAliasLowerPriorityPost Lower required action's priority - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param alias Alias of required action - @return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasLowerPriorityPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param alias Alias of required action + @return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasLowerPriorityPostRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequiredActionsAliasLowerPriorityPost(ctx context.Context, realm string, alias string) ApiAdminRealmsRealmAuthenticationRequiredActionsAliasLowerPriorityPostRequest { return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasLowerPriorityPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, - alias: alias, + ctx: ctx, + realm: realm, + alias: alias, } } // Execute executes the request func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequiredActionsAliasLowerPriorityPostExecute(r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasLowerPriorityPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationRequiredActionsAliasLowerPriorityPost") @@ -3560,10 +3545,10 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequi } type ApiAdminRealmsRealmAuthenticationRequiredActionsAliasPutRequest struct { - ctx context.Context - ApiService *AuthenticationManagementAPIService - realm string - alias string + ctx context.Context + ApiService *AuthenticationManagementAPIService + realm string + alias string requiredActionProviderRepresentation *RequiredActionProviderRepresentation } @@ -3579,26 +3564,26 @@ func (r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasPutRequest) Execute /* AdminRealmsRealmAuthenticationRequiredActionsAliasPut Update required action - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param alias Alias of required action - @return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param alias Alias of required action + @return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasPutRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequiredActionsAliasPut(ctx context.Context, realm string, alias string) ApiAdminRealmsRealmAuthenticationRequiredActionsAliasPutRequest { return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - alias: alias, + ctx: ctx, + realm: realm, + alias: alias, } } // Execute executes the request func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequiredActionsAliasPutExecute(r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationRequiredActionsAliasPut") @@ -3662,10 +3647,10 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequi } type ApiAdminRealmsRealmAuthenticationRequiredActionsAliasRaisePriorityPostRequest struct { - ctx context.Context + ctx context.Context ApiService *AuthenticationManagementAPIService - realm string - alias string + realm string + alias string } func (r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasRaisePriorityPostRequest) Execute() (*http.Response, error) { @@ -3675,26 +3660,26 @@ func (r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasRaisePriorityPostRe /* AdminRealmsRealmAuthenticationRequiredActionsAliasRaisePriorityPost Raise required action's priority - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param alias Alias of required action - @return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasRaisePriorityPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param alias Alias of required action + @return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasRaisePriorityPostRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequiredActionsAliasRaisePriorityPost(ctx context.Context, realm string, alias string) ApiAdminRealmsRealmAuthenticationRequiredActionsAliasRaisePriorityPostRequest { return ApiAdminRealmsRealmAuthenticationRequiredActionsAliasRaisePriorityPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, - alias: alias, + ctx: ctx, + realm: realm, + alias: alias, } } // Execute executes the request func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequiredActionsAliasRaisePriorityPostExecute(r ApiAdminRealmsRealmAuthenticationRequiredActionsAliasRaisePriorityPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationRequiredActionsAliasRaisePriorityPost") @@ -3756,9 +3741,9 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequi } type ApiAdminRealmsRealmAuthenticationRequiredActionsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *AuthenticationManagementAPIService - realm string + realm string } func (r ApiAdminRealmsRealmAuthenticationRequiredActionsGetRequest) Execute() ([]RequiredActionProviderRepresentation, *http.Response, error) { @@ -3768,27 +3753,26 @@ func (r ApiAdminRealmsRealmAuthenticationRequiredActionsGetRequest) Execute() ([ /* AdminRealmsRealmAuthenticationRequiredActionsGet Get required actions Returns a stream of required actions. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmAuthenticationRequiredActionsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmAuthenticationRequiredActionsGetRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequiredActionsGet(ctx context.Context, realm string) ApiAdminRealmsRealmAuthenticationRequiredActionsGetRequest { return ApiAdminRealmsRealmAuthenticationRequiredActionsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []RequiredActionProviderRepresentation +// @return []RequiredActionProviderRepresentation func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequiredActionsGetExecute(r ApiAdminRealmsRealmAuthenticationRequiredActionsGetRequest) ([]RequiredActionProviderRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RequiredActionProviderRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RequiredActionProviderRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationRequiredActionsGet") @@ -3858,9 +3842,9 @@ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationRequi } type ApiAdminRealmsRealmAuthenticationUnregisteredRequiredActionsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *AuthenticationManagementAPIService - realm string + realm string } func (r ApiAdminRealmsRealmAuthenticationUnregisteredRequiredActionsGetRequest) Execute() ([]map[string]string, *http.Response, error) { @@ -3870,27 +3854,26 @@ func (r ApiAdminRealmsRealmAuthenticationUnregisteredRequiredActionsGetRequest) /* AdminRealmsRealmAuthenticationUnregisteredRequiredActionsGet Get unregistered required actions Returns a stream of unregistered required actions. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmAuthenticationUnregisteredRequiredActionsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmAuthenticationUnregisteredRequiredActionsGetRequest */ func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationUnregisteredRequiredActionsGet(ctx context.Context, realm string) ApiAdminRealmsRealmAuthenticationUnregisteredRequiredActionsGetRequest { return ApiAdminRealmsRealmAuthenticationUnregisteredRequiredActionsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []map[string]string +// @return []map[string]string func (a *AuthenticationManagementAPIService) AdminRealmsRealmAuthenticationUnregisteredRequiredActionsGetExecute(r ApiAdminRealmsRealmAuthenticationUnregisteredRequiredActionsGetRequest) ([]map[string]string, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []map[string]string + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []map[string]string ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationManagementAPIService.AdminRealmsRealmAuthenticationUnregisteredRequiredActionsGet") diff --git a/api_client_attribute_certificate.go b/api_client_attribute_certificate.go index 32ced72..aeacb37 100644 --- a/api_client_attribute_certificate.go +++ b/api_client_attribute_certificate.go @@ -16,19 +16,20 @@ import ( "io" "net/http" "net/url" - "os" "strings" + "os" ) + // ClientAttributeCertificateAPIService ClientAttributeCertificateAPI service type ClientAttributeCertificateAPIService service type ApiAdminRealmsRealmClientsClientUuidCertificatesAttrDownloadPostRequest struct { - ctx context.Context - ApiService *ClientAttributeCertificateAPIService - realm string - clientUuid string - attr string + ctx context.Context + ApiService *ClientAttributeCertificateAPIService + realm string + clientUuid string + attr string keyStoreConfig *KeyStoreConfig } @@ -44,31 +45,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidCertificatesAttrDownloadPostRequest) /* AdminRealmsRealmClientsClientUuidCertificatesAttrDownloadPost Get a keystore file for the client, containing private key and public certificate - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param attr - @return ApiAdminRealmsRealmClientsClientUuidCertificatesAttrDownloadPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param attr + @return ApiAdminRealmsRealmClientsClientUuidCertificatesAttrDownloadPostRequest */ func (a *ClientAttributeCertificateAPIService) AdminRealmsRealmClientsClientUuidCertificatesAttrDownloadPost(ctx context.Context, realm string, clientUuid string, attr string) ApiAdminRealmsRealmClientsClientUuidCertificatesAttrDownloadPostRequest { return ApiAdminRealmsRealmClientsClientUuidCertificatesAttrDownloadPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - attr: attr, + attr: attr, } } // Execute executes the request -// -// @return *os.File +// @return *os.File func (a *ClientAttributeCertificateAPIService) AdminRealmsRealmClientsClientUuidCertificatesAttrDownloadPostExecute(r ApiAdminRealmsRealmClientsClientUuidCertificatesAttrDownloadPostRequest) (*os.File, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *os.File + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *os.File ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientAttributeCertificateAPIService.AdminRealmsRealmClientsClientUuidCertificatesAttrDownloadPost") @@ -142,11 +142,11 @@ func (a *ClientAttributeCertificateAPIService) AdminRealmsRealmClientsClientUuid } type ApiAdminRealmsRealmClientsClientUuidCertificatesAttrGenerateAndDownloadPostRequest struct { - ctx context.Context - ApiService *ClientAttributeCertificateAPIService - realm string - clientUuid string - attr string + ctx context.Context + ApiService *ClientAttributeCertificateAPIService + realm string + clientUuid string + attr string keyStoreConfig *KeyStoreConfig } @@ -162,31 +162,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidCertificatesAttrGenerateAndDownloadP /* AdminRealmsRealmClientsClientUuidCertificatesAttrGenerateAndDownloadPost Generate a new keypair and certificate, and get the private key file Generates a keypair and certificate and serves the private key in a specified keystore format. Only generated public certificate is saved in Keycloak DB - the private key is not. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param attr - @return ApiAdminRealmsRealmClientsClientUuidCertificatesAttrGenerateAndDownloadPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param attr + @return ApiAdminRealmsRealmClientsClientUuidCertificatesAttrGenerateAndDownloadPostRequest */ func (a *ClientAttributeCertificateAPIService) AdminRealmsRealmClientsClientUuidCertificatesAttrGenerateAndDownloadPost(ctx context.Context, realm string, clientUuid string, attr string) ApiAdminRealmsRealmClientsClientUuidCertificatesAttrGenerateAndDownloadPostRequest { return ApiAdminRealmsRealmClientsClientUuidCertificatesAttrGenerateAndDownloadPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - attr: attr, + attr: attr, } } // Execute executes the request -// -// @return *os.File +// @return *os.File func (a *ClientAttributeCertificateAPIService) AdminRealmsRealmClientsClientUuidCertificatesAttrGenerateAndDownloadPostExecute(r ApiAdminRealmsRealmClientsClientUuidCertificatesAttrGenerateAndDownloadPostRequest) (*os.File, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *os.File + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *os.File ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientAttributeCertificateAPIService.AdminRealmsRealmClientsClientUuidCertificatesAttrGenerateAndDownloadPost") @@ -260,11 +259,11 @@ func (a *ClientAttributeCertificateAPIService) AdminRealmsRealmClientsClientUuid } type ApiAdminRealmsRealmClientsClientUuidCertificatesAttrGeneratePostRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientAttributeCertificateAPIService - realm string + realm string clientUuid string - attr string + attr string } func (r ApiAdminRealmsRealmClientsClientUuidCertificatesAttrGeneratePostRequest) Execute() (*CertificateRepresentation, *http.Response, error) { @@ -274,31 +273,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidCertificatesAttrGeneratePostRequest) /* AdminRealmsRealmClientsClientUuidCertificatesAttrGeneratePost Generate a new certificate with new key pair - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param attr - @return ApiAdminRealmsRealmClientsClientUuidCertificatesAttrGeneratePostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param attr + @return ApiAdminRealmsRealmClientsClientUuidCertificatesAttrGeneratePostRequest */ func (a *ClientAttributeCertificateAPIService) AdminRealmsRealmClientsClientUuidCertificatesAttrGeneratePost(ctx context.Context, realm string, clientUuid string, attr string) ApiAdminRealmsRealmClientsClientUuidCertificatesAttrGeneratePostRequest { return ApiAdminRealmsRealmClientsClientUuidCertificatesAttrGeneratePostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - attr: attr, + attr: attr, } } // Execute executes the request -// -// @return CertificateRepresentation +// @return CertificateRepresentation func (a *ClientAttributeCertificateAPIService) AdminRealmsRealmClientsClientUuidCertificatesAttrGeneratePostExecute(r ApiAdminRealmsRealmClientsClientUuidCertificatesAttrGeneratePostRequest) (*CertificateRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *CertificateRepresentation + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *CertificateRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientAttributeCertificateAPIService.AdminRealmsRealmClientsClientUuidCertificatesAttrGeneratePost") @@ -370,11 +368,11 @@ func (a *ClientAttributeCertificateAPIService) AdminRealmsRealmClientsClientUuid } type ApiAdminRealmsRealmClientsClientUuidCertificatesAttrGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientAttributeCertificateAPIService - realm string + realm string clientUuid string - attr string + attr string } func (r ApiAdminRealmsRealmClientsClientUuidCertificatesAttrGetRequest) Execute() (*CertificateRepresentation, *http.Response, error) { @@ -384,31 +382,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidCertificatesAttrGetRequest) Execute( /* AdminRealmsRealmClientsClientUuidCertificatesAttrGet Get key info - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param attr - @return ApiAdminRealmsRealmClientsClientUuidCertificatesAttrGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param attr + @return ApiAdminRealmsRealmClientsClientUuidCertificatesAttrGetRequest */ func (a *ClientAttributeCertificateAPIService) AdminRealmsRealmClientsClientUuidCertificatesAttrGet(ctx context.Context, realm string, clientUuid string, attr string) ApiAdminRealmsRealmClientsClientUuidCertificatesAttrGetRequest { return ApiAdminRealmsRealmClientsClientUuidCertificatesAttrGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - attr: attr, + attr: attr, } } // Execute executes the request -// -// @return CertificateRepresentation +// @return CertificateRepresentation func (a *ClientAttributeCertificateAPIService) AdminRealmsRealmClientsClientUuidCertificatesAttrGetExecute(r ApiAdminRealmsRealmClientsClientUuidCertificatesAttrGetRequest) (*CertificateRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *CertificateRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *CertificateRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientAttributeCertificateAPIService.AdminRealmsRealmClientsClientUuidCertificatesAttrGet") @@ -480,11 +477,11 @@ func (a *ClientAttributeCertificateAPIService) AdminRealmsRealmClientsClientUuid } type ApiAdminRealmsRealmClientsClientUuidCertificatesAttrUploadCertificatePostRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientAttributeCertificateAPIService - realm string + realm string clientUuid string - attr string + attr string } func (r ApiAdminRealmsRealmClientsClientUuidCertificatesAttrUploadCertificatePostRequest) Execute() (*CertificateRepresentation, *http.Response, error) { @@ -494,31 +491,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidCertificatesAttrUploadCertificatePos /* AdminRealmsRealmClientsClientUuidCertificatesAttrUploadCertificatePost Upload only certificate, not private key - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param attr - @return ApiAdminRealmsRealmClientsClientUuidCertificatesAttrUploadCertificatePostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param attr + @return ApiAdminRealmsRealmClientsClientUuidCertificatesAttrUploadCertificatePostRequest */ func (a *ClientAttributeCertificateAPIService) AdminRealmsRealmClientsClientUuidCertificatesAttrUploadCertificatePost(ctx context.Context, realm string, clientUuid string, attr string) ApiAdminRealmsRealmClientsClientUuidCertificatesAttrUploadCertificatePostRequest { return ApiAdminRealmsRealmClientsClientUuidCertificatesAttrUploadCertificatePostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - attr: attr, + attr: attr, } } // Execute executes the request -// -// @return CertificateRepresentation +// @return CertificateRepresentation func (a *ClientAttributeCertificateAPIService) AdminRealmsRealmClientsClientUuidCertificatesAttrUploadCertificatePostExecute(r ApiAdminRealmsRealmClientsClientUuidCertificatesAttrUploadCertificatePostRequest) (*CertificateRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *CertificateRepresentation + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *CertificateRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientAttributeCertificateAPIService.AdminRealmsRealmClientsClientUuidCertificatesAttrUploadCertificatePost") @@ -590,11 +586,11 @@ func (a *ClientAttributeCertificateAPIService) AdminRealmsRealmClientsClientUuid } type ApiAdminRealmsRealmClientsClientUuidCertificatesAttrUploadPostRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientAttributeCertificateAPIService - realm string + realm string clientUuid string - attr string + attr string } func (r ApiAdminRealmsRealmClientsClientUuidCertificatesAttrUploadPostRequest) Execute() (*CertificateRepresentation, *http.Response, error) { @@ -604,31 +600,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidCertificatesAttrUploadPostRequest) E /* AdminRealmsRealmClientsClientUuidCertificatesAttrUploadPost Upload certificate and eventually private key - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param attr - @return ApiAdminRealmsRealmClientsClientUuidCertificatesAttrUploadPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param attr + @return ApiAdminRealmsRealmClientsClientUuidCertificatesAttrUploadPostRequest */ func (a *ClientAttributeCertificateAPIService) AdminRealmsRealmClientsClientUuidCertificatesAttrUploadPost(ctx context.Context, realm string, clientUuid string, attr string) ApiAdminRealmsRealmClientsClientUuidCertificatesAttrUploadPostRequest { return ApiAdminRealmsRealmClientsClientUuidCertificatesAttrUploadPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - attr: attr, + attr: attr, } } // Execute executes the request -// -// @return CertificateRepresentation +// @return CertificateRepresentation func (a *ClientAttributeCertificateAPIService) AdminRealmsRealmClientsClientUuidCertificatesAttrUploadPostExecute(r ApiAdminRealmsRealmClientsClientUuidCertificatesAttrUploadPostRequest) (*CertificateRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *CertificateRepresentation + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *CertificateRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientAttributeCertificateAPIService.AdminRealmsRealmClientsClientUuidCertificatesAttrUploadPost") diff --git a/api_client_initial_access.go b/api_client_initial_access.go index d4fb2af..d18030c 100644 --- a/api_client_initial_access.go +++ b/api_client_initial_access.go @@ -19,13 +19,14 @@ import ( "strings" ) + // ClientInitialAccessAPIService ClientInitialAccessAPI service type ClientInitialAccessAPIService service type ApiAdminRealmsRealmClientsInitialAccessGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientInitialAccessAPIService - realm string + realm string } func (r ApiAdminRealmsRealmClientsInitialAccessGetRequest) Execute() ([]ClientInitialAccessPresentation, *http.Response, error) { @@ -35,27 +36,26 @@ func (r ApiAdminRealmsRealmClientsInitialAccessGetRequest) Execute() ([]ClientIn /* AdminRealmsRealmClientsInitialAccessGet Method for AdminRealmsRealmClientsInitialAccessGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmClientsInitialAccessGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmClientsInitialAccessGetRequest */ func (a *ClientInitialAccessAPIService) AdminRealmsRealmClientsInitialAccessGet(ctx context.Context, realm string) ApiAdminRealmsRealmClientsInitialAccessGetRequest { return ApiAdminRealmsRealmClientsInitialAccessGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []ClientInitialAccessPresentation +// @return []ClientInitialAccessPresentation func (a *ClientInitialAccessAPIService) AdminRealmsRealmClientsInitialAccessGetExecute(r ApiAdminRealmsRealmClientsInitialAccessGetRequest) ([]ClientInitialAccessPresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ClientInitialAccessPresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ClientInitialAccessPresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientInitialAccessAPIService.AdminRealmsRealmClientsInitialAccessGet") @@ -125,10 +125,10 @@ func (a *ClientInitialAccessAPIService) AdminRealmsRealmClientsInitialAccessGetE } type ApiAdminRealmsRealmClientsInitialAccessIdDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientInitialAccessAPIService - realm string - id string + realm string + id string } func (r ApiAdminRealmsRealmClientsInitialAccessIdDeleteRequest) Execute() (*http.Response, error) { @@ -138,26 +138,26 @@ func (r ApiAdminRealmsRealmClientsInitialAccessIdDeleteRequest) Execute() (*http /* AdminRealmsRealmClientsInitialAccessIdDelete Method for AdminRealmsRealmClientsInitialAccessIdDelete - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id - @return ApiAdminRealmsRealmClientsInitialAccessIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param id + @return ApiAdminRealmsRealmClientsInitialAccessIdDeleteRequest */ func (a *ClientInitialAccessAPIService) AdminRealmsRealmClientsInitialAccessIdDelete(ctx context.Context, realm string, id string) ApiAdminRealmsRealmClientsInitialAccessIdDeleteRequest { return ApiAdminRealmsRealmClientsInitialAccessIdDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, + ctx: ctx, + realm: realm, + id: id, } } // Execute executes the request func (a *ClientInitialAccessAPIService) AdminRealmsRealmClientsInitialAccessIdDeleteExecute(r ApiAdminRealmsRealmClientsInitialAccessIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientInitialAccessAPIService.AdminRealmsRealmClientsInitialAccessIdDelete") @@ -219,9 +219,9 @@ func (a *ClientInitialAccessAPIService) AdminRealmsRealmClientsInitialAccessIdDe } type ApiAdminRealmsRealmClientsInitialAccessPostRequest struct { - ctx context.Context - ApiService *ClientInitialAccessAPIService - realm string + ctx context.Context + ApiService *ClientInitialAccessAPIService + realm string clientInitialAccessCreatePresentation *ClientInitialAccessCreatePresentation } @@ -237,27 +237,26 @@ func (r ApiAdminRealmsRealmClientsInitialAccessPostRequest) Execute() (*ClientIn /* AdminRealmsRealmClientsInitialAccessPost Create a new initial access token. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmClientsInitialAccessPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmClientsInitialAccessPostRequest */ func (a *ClientInitialAccessAPIService) AdminRealmsRealmClientsInitialAccessPost(ctx context.Context, realm string) ApiAdminRealmsRealmClientsInitialAccessPostRequest { return ApiAdminRealmsRealmClientsInitialAccessPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return ClientInitialAccessCreatePresentation +// @return ClientInitialAccessCreatePresentation func (a *ClientInitialAccessAPIService) AdminRealmsRealmClientsInitialAccessPostExecute(r ApiAdminRealmsRealmClientsInitialAccessPostRequest) (*ClientInitialAccessCreatePresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ClientInitialAccessCreatePresentation + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ClientInitialAccessCreatePresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientInitialAccessAPIService.AdminRealmsRealmClientsInitialAccessPost") diff --git a/api_client_registration_policy.go b/api_client_registration_policy.go index b18d88d..bb94c45 100644 --- a/api_client_registration_policy.go +++ b/api_client_registration_policy.go @@ -19,13 +19,14 @@ import ( "strings" ) + // ClientRegistrationPolicyAPIService ClientRegistrationPolicyAPI service type ClientRegistrationPolicyAPIService service type ApiAdminRealmsRealmClientRegistrationPolicyProvidersGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientRegistrationPolicyAPIService - realm string + realm string } func (r ApiAdminRealmsRealmClientRegistrationPolicyProvidersGetRequest) Execute() ([]ComponentTypeRepresentation, *http.Response, error) { @@ -35,27 +36,26 @@ func (r ApiAdminRealmsRealmClientRegistrationPolicyProvidersGetRequest) Execute( /* AdminRealmsRealmClientRegistrationPolicyProvidersGet Base path for retrieve providers with the configProperties properly filled - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmClientRegistrationPolicyProvidersGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmClientRegistrationPolicyProvidersGetRequest */ func (a *ClientRegistrationPolicyAPIService) AdminRealmsRealmClientRegistrationPolicyProvidersGet(ctx context.Context, realm string) ApiAdminRealmsRealmClientRegistrationPolicyProvidersGetRequest { return ApiAdminRealmsRealmClientRegistrationPolicyProvidersGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []ComponentTypeRepresentation +// @return []ComponentTypeRepresentation func (a *ClientRegistrationPolicyAPIService) AdminRealmsRealmClientRegistrationPolicyProvidersGetExecute(r ApiAdminRealmsRealmClientRegistrationPolicyProvidersGetRequest) ([]ComponentTypeRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ComponentTypeRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ComponentTypeRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientRegistrationPolicyAPIService.AdminRealmsRealmClientRegistrationPolicyProvidersGet") diff --git a/api_client_role_mappings.go b/api_client_role_mappings.go index c9c3fb1..5bff5df 100644 --- a/api_client_role_mappings.go +++ b/api_client_role_mappings.go @@ -19,15 +19,16 @@ import ( "strings" ) + // ClientRoleMappingsAPIService ClientRoleMappingsAPI service type ClientRoleMappingsAPIService service type ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdAvailableGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientRoleMappingsAPIService - realm string - groupId string - clientId string + realm string + groupId string + clientId string } func (r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdAvailableGetRequest) Execute() ([]RoleRepresentation, *http.Response, error) { @@ -37,31 +38,30 @@ func (r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdAvailableGetR /* AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdAvailableGet Get available client-level roles that can be mapped to the user or group - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param groupId - @param clientId client id (not clientId!) - @return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdAvailableGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param groupId + @param clientId client id (not clientId!) + @return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdAvailableGetRequest */ func (a *ClientRoleMappingsAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdAvailableGet(ctx context.Context, realm string, groupId string, clientId string) ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdAvailableGetRequest { return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdAvailableGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - groupId: groupId, - clientId: clientId, + ctx: ctx, + realm: realm, + groupId: groupId, + clientId: clientId, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ClientRoleMappingsAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdAvailableGetExecute(r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdAvailableGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientRoleMappingsAPIService.AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdAvailableGet") @@ -133,11 +133,11 @@ func (a *ClientRoleMappingsAPIService) AdminRealmsRealmGroupsGroupIdRoleMappings } type ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdCompositeGetRequest struct { - ctx context.Context - ApiService *ClientRoleMappingsAPIService - realm string - groupId string - clientId string + ctx context.Context + ApiService *ClientRoleMappingsAPIService + realm string + groupId string + clientId string briefRepresentation *bool } @@ -154,31 +154,30 @@ func (r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdCompositeGetR /* AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdCompositeGet Get effective client-level role mappings This recurses any composite roles - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param groupId - @param clientId client id (not clientId!) - @return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdCompositeGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param groupId + @param clientId client id (not clientId!) + @return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdCompositeGetRequest */ func (a *ClientRoleMappingsAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdCompositeGet(ctx context.Context, realm string, groupId string, clientId string) ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdCompositeGetRequest { return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdCompositeGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - groupId: groupId, - clientId: clientId, + ctx: ctx, + realm: realm, + groupId: groupId, + clientId: clientId, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ClientRoleMappingsAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdCompositeGetExecute(r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdCompositeGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientRoleMappingsAPIService.AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdCompositeGet") @@ -256,11 +255,11 @@ func (a *ClientRoleMappingsAPIService) AdminRealmsRealmGroupsGroupIdRoleMappings } type ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdDeleteRequest struct { - ctx context.Context - ApiService *ClientRoleMappingsAPIService - realm string - groupId string - clientId string + ctx context.Context + ApiService *ClientRoleMappingsAPIService + realm string + groupId string + clientId string roleRepresentation *[]RoleRepresentation } @@ -276,28 +275,28 @@ func (r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdDeleteRequest /* AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdDelete Delete client-level roles from user or group role mapping - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param groupId - @param clientId client id (not clientId!) - @return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param groupId + @param clientId client id (not clientId!) + @return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdDeleteRequest */ func (a *ClientRoleMappingsAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdDelete(ctx context.Context, realm string, groupId string, clientId string) ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdDeleteRequest { return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - groupId: groupId, - clientId: clientId, + ctx: ctx, + realm: realm, + groupId: groupId, + clientId: clientId, } } // Execute executes the request func (a *ClientRoleMappingsAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdDeleteExecute(r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientRoleMappingsAPIService.AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdDelete") @@ -362,11 +361,11 @@ func (a *ClientRoleMappingsAPIService) AdminRealmsRealmGroupsGroupIdRoleMappings } type ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientRoleMappingsAPIService - realm string - groupId string - clientId string + realm string + groupId string + clientId string } func (r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdGetRequest) Execute() ([]RoleRepresentation, *http.Response, error) { @@ -376,31 +375,30 @@ func (r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdGetRequest) E /* AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdGet Get client-level role mappings for the user or group, and the app - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param groupId - @param clientId client id (not clientId!) - @return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param groupId + @param clientId client id (not clientId!) + @return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdGetRequest */ func (a *ClientRoleMappingsAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdGet(ctx context.Context, realm string, groupId string, clientId string) ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdGetRequest { return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - groupId: groupId, - clientId: clientId, + ctx: ctx, + realm: realm, + groupId: groupId, + clientId: clientId, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ClientRoleMappingsAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdGetExecute(r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientRoleMappingsAPIService.AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdGet") @@ -472,11 +470,11 @@ func (a *ClientRoleMappingsAPIService) AdminRealmsRealmGroupsGroupIdRoleMappings } type ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdPostRequest struct { - ctx context.Context - ApiService *ClientRoleMappingsAPIService - realm string - groupId string - clientId string + ctx context.Context + ApiService *ClientRoleMappingsAPIService + realm string + groupId string + clientId string roleRepresentation *[]RoleRepresentation } @@ -492,28 +490,28 @@ func (r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdPostRequest) /* AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdPost Add client-level roles to the user or group role mapping - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param groupId - @param clientId client id (not clientId!) - @return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param groupId + @param clientId client id (not clientId!) + @return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdPostRequest */ func (a *ClientRoleMappingsAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdPost(ctx context.Context, realm string, groupId string, clientId string) ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdPostRequest { return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, - groupId: groupId, - clientId: clientId, + ctx: ctx, + realm: realm, + groupId: groupId, + clientId: clientId, } } // Execute executes the request func (a *ClientRoleMappingsAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdPostExecute(r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientRoleMappingsAPIService.AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdPost") @@ -578,11 +576,11 @@ func (a *ClientRoleMappingsAPIService) AdminRealmsRealmGroupsGroupIdRoleMappings } type ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdAvailableGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientRoleMappingsAPIService - realm string - userId string - clientId string + realm string + userId string + clientId string } func (r ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdAvailableGetRequest) Execute() ([]RoleRepresentation, *http.Response, error) { @@ -592,31 +590,30 @@ func (r ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdAvailableGetReq /* AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdAvailableGet Get available client-level roles that can be mapped to the user or group - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @param clientId client id (not clientId!) - @return ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdAvailableGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @param clientId client id (not clientId!) + @return ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdAvailableGetRequest */ func (a *ClientRoleMappingsAPIService) AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdAvailableGet(ctx context.Context, realm string, userId string, clientId string) ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdAvailableGetRequest { return ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdAvailableGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, - clientId: clientId, + ctx: ctx, + realm: realm, + userId: userId, + clientId: clientId, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ClientRoleMappingsAPIService) AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdAvailableGetExecute(r ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdAvailableGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientRoleMappingsAPIService.AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdAvailableGet") @@ -688,11 +685,11 @@ func (a *ClientRoleMappingsAPIService) AdminRealmsRealmUsersUserIdRoleMappingsCl } type ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdCompositeGetRequest struct { - ctx context.Context - ApiService *ClientRoleMappingsAPIService - realm string - userId string - clientId string + ctx context.Context + ApiService *ClientRoleMappingsAPIService + realm string + userId string + clientId string briefRepresentation *bool } @@ -709,31 +706,30 @@ func (r ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdCompositeGetReq /* AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdCompositeGet Get effective client-level role mappings This recurses any composite roles - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @param clientId client id (not clientId!) - @return ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdCompositeGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @param clientId client id (not clientId!) + @return ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdCompositeGetRequest */ func (a *ClientRoleMappingsAPIService) AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdCompositeGet(ctx context.Context, realm string, userId string, clientId string) ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdCompositeGetRequest { return ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdCompositeGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, - clientId: clientId, + ctx: ctx, + realm: realm, + userId: userId, + clientId: clientId, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ClientRoleMappingsAPIService) AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdCompositeGetExecute(r ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdCompositeGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientRoleMappingsAPIService.AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdCompositeGet") @@ -811,11 +807,11 @@ func (a *ClientRoleMappingsAPIService) AdminRealmsRealmUsersUserIdRoleMappingsCl } type ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdDeleteRequest struct { - ctx context.Context - ApiService *ClientRoleMappingsAPIService - realm string - userId string - clientId string + ctx context.Context + ApiService *ClientRoleMappingsAPIService + realm string + userId string + clientId string roleRepresentation *[]RoleRepresentation } @@ -831,28 +827,28 @@ func (r ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdDeleteRequest) /* AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdDelete Delete client-level roles from user or group role mapping - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @param clientId client id (not clientId!) - @return ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @param clientId client id (not clientId!) + @return ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdDeleteRequest */ func (a *ClientRoleMappingsAPIService) AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdDelete(ctx context.Context, realm string, userId string, clientId string) ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdDeleteRequest { return ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, - clientId: clientId, + ctx: ctx, + realm: realm, + userId: userId, + clientId: clientId, } } // Execute executes the request func (a *ClientRoleMappingsAPIService) AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdDeleteExecute(r ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientRoleMappingsAPIService.AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdDelete") @@ -917,11 +913,11 @@ func (a *ClientRoleMappingsAPIService) AdminRealmsRealmUsersUserIdRoleMappingsCl } type ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientRoleMappingsAPIService - realm string - userId string - clientId string + realm string + userId string + clientId string } func (r ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdGetRequest) Execute() ([]RoleRepresentation, *http.Response, error) { @@ -931,31 +927,30 @@ func (r ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdGetRequest) Exe /* AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdGet Get client-level role mappings for the user or group, and the app - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @param clientId client id (not clientId!) - @return ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @param clientId client id (not clientId!) + @return ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdGetRequest */ func (a *ClientRoleMappingsAPIService) AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdGet(ctx context.Context, realm string, userId string, clientId string) ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdGetRequest { return ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, - clientId: clientId, + ctx: ctx, + realm: realm, + userId: userId, + clientId: clientId, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ClientRoleMappingsAPIService) AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdGetExecute(r ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientRoleMappingsAPIService.AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdGet") @@ -1027,11 +1022,11 @@ func (a *ClientRoleMappingsAPIService) AdminRealmsRealmUsersUserIdRoleMappingsCl } type ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdPostRequest struct { - ctx context.Context - ApiService *ClientRoleMappingsAPIService - realm string - userId string - clientId string + ctx context.Context + ApiService *ClientRoleMappingsAPIService + realm string + userId string + clientId string roleRepresentation *[]RoleRepresentation } @@ -1047,28 +1042,28 @@ func (r ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdPostRequest) Ex /* AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdPost Add client-level roles to the user or group role mapping - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @param clientId client id (not clientId!) - @return ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @param clientId client id (not clientId!) + @return ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdPostRequest */ func (a *ClientRoleMappingsAPIService) AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdPost(ctx context.Context, realm string, userId string, clientId string) ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdPostRequest { return ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, - clientId: clientId, + ctx: ctx, + realm: realm, + userId: userId, + clientId: clientId, } } // Execute executes the request func (a *ClientRoleMappingsAPIService) AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdPostExecute(r ApiAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientRoleMappingsAPIService.AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdPost") diff --git a/api_client_scopes.go b/api_client_scopes.go index a31750d..0bfe6cb 100644 --- a/api_client_scopes.go +++ b/api_client_scopes.go @@ -19,13 +19,14 @@ import ( "strings" ) + // ClientScopesAPIService ClientScopesAPI service type ClientScopesAPIService service type ApiAdminRealmsRealmClientScopesClientScopeIdDeleteRequest struct { - ctx context.Context - ApiService *ClientScopesAPIService - realm string + ctx context.Context + ApiService *ClientScopesAPIService + realm string clientScopeId string } @@ -36,16 +37,16 @@ func (r ApiAdminRealmsRealmClientScopesClientScopeIdDeleteRequest) Execute() (*h /* AdminRealmsRealmClientScopesClientScopeIdDelete Delete the client scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientScopesClientScopeIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientScopesClientScopeIdDeleteRequest */ func (a *ClientScopesAPIService) AdminRealmsRealmClientScopesClientScopeIdDelete(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientScopesClientScopeIdDeleteRequest { return ApiAdminRealmsRealmClientScopesClientScopeIdDeleteRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } @@ -53,9 +54,9 @@ func (a *ClientScopesAPIService) AdminRealmsRealmClientScopesClientScopeIdDelete // Execute executes the request func (a *ClientScopesAPIService) AdminRealmsRealmClientScopesClientScopeIdDeleteExecute(r ApiAdminRealmsRealmClientScopesClientScopeIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientScopesAPIService.AdminRealmsRealmClientScopesClientScopeIdDelete") @@ -117,9 +118,9 @@ func (a *ClientScopesAPIService) AdminRealmsRealmClientScopesClientScopeIdDelete } type ApiAdminRealmsRealmClientScopesClientScopeIdGetRequest struct { - ctx context.Context - ApiService *ClientScopesAPIService - realm string + ctx context.Context + ApiService *ClientScopesAPIService + realm string clientScopeId string } @@ -130,29 +131,28 @@ func (r ApiAdminRealmsRealmClientScopesClientScopeIdGetRequest) Execute() (*Clie /* AdminRealmsRealmClientScopesClientScopeIdGet Get representation of the client scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientScopesClientScopeIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientScopesClientScopeIdGetRequest */ func (a *ClientScopesAPIService) AdminRealmsRealmClientScopesClientScopeIdGet(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientScopesClientScopeIdGetRequest { return ApiAdminRealmsRealmClientScopesClientScopeIdGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } // Execute executes the request -// -// @return ClientScopeRepresentation +// @return ClientScopeRepresentation func (a *ClientScopesAPIService) AdminRealmsRealmClientScopesClientScopeIdGetExecute(r ApiAdminRealmsRealmClientScopesClientScopeIdGetRequest) (*ClientScopeRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ClientScopeRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ClientScopeRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientScopesAPIService.AdminRealmsRealmClientScopesClientScopeIdGet") @@ -223,10 +223,10 @@ func (a *ClientScopesAPIService) AdminRealmsRealmClientScopesClientScopeIdGetExe } type ApiAdminRealmsRealmClientScopesClientScopeIdPutRequest struct { - ctx context.Context - ApiService *ClientScopesAPIService - realm string - clientScopeId string + ctx context.Context + ApiService *ClientScopesAPIService + realm string + clientScopeId string clientScopeRepresentation *ClientScopeRepresentation } @@ -242,16 +242,16 @@ func (r ApiAdminRealmsRealmClientScopesClientScopeIdPutRequest) Execute() (*http /* AdminRealmsRealmClientScopesClientScopeIdPut Update the client scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientScopesClientScopeIdPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientScopesClientScopeIdPutRequest */ func (a *ClientScopesAPIService) AdminRealmsRealmClientScopesClientScopeIdPut(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientScopesClientScopeIdPutRequest { return ApiAdminRealmsRealmClientScopesClientScopeIdPutRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } @@ -259,9 +259,9 @@ func (a *ClientScopesAPIService) AdminRealmsRealmClientScopesClientScopeIdPut(ct // Execute executes the request func (a *ClientScopesAPIService) AdminRealmsRealmClientScopesClientScopeIdPutExecute(r ApiAdminRealmsRealmClientScopesClientScopeIdPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientScopesAPIService.AdminRealmsRealmClientScopesClientScopeIdPut") @@ -325,9 +325,9 @@ func (a *ClientScopesAPIService) AdminRealmsRealmClientScopesClientScopeIdPutExe } type ApiAdminRealmsRealmClientScopesGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientScopesAPIService - realm string + realm string } func (r ApiAdminRealmsRealmClientScopesGetRequest) Execute() ([]ClientScopeRepresentation, *http.Response, error) { @@ -337,27 +337,26 @@ func (r ApiAdminRealmsRealmClientScopesGetRequest) Execute() ([]ClientScopeRepre /* AdminRealmsRealmClientScopesGet Get client scopes belonging to the realm Returns a list of client scopes belonging to the realm - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmClientScopesGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmClientScopesGetRequest */ func (a *ClientScopesAPIService) AdminRealmsRealmClientScopesGet(ctx context.Context, realm string) ApiAdminRealmsRealmClientScopesGetRequest { return ApiAdminRealmsRealmClientScopesGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []ClientScopeRepresentation +// @return []ClientScopeRepresentation func (a *ClientScopesAPIService) AdminRealmsRealmClientScopesGetExecute(r ApiAdminRealmsRealmClientScopesGetRequest) ([]ClientScopeRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ClientScopeRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ClientScopeRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientScopesAPIService.AdminRealmsRealmClientScopesGet") @@ -427,9 +426,9 @@ func (a *ClientScopesAPIService) AdminRealmsRealmClientScopesGetExecute(r ApiAdm } type ApiAdminRealmsRealmClientScopesPostRequest struct { - ctx context.Context - ApiService *ClientScopesAPIService - realm string + ctx context.Context + ApiService *ClientScopesAPIService + realm string clientScopeRepresentation *ClientScopeRepresentation } @@ -445,24 +444,24 @@ func (r ApiAdminRealmsRealmClientScopesPostRequest) Execute() (*http.Response, e /* AdminRealmsRealmClientScopesPost Create a new client scope Client Scope’s name must be unique! - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmClientScopesPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmClientScopesPostRequest */ func (a *ClientScopesAPIService) AdminRealmsRealmClientScopesPost(ctx context.Context, realm string) ApiAdminRealmsRealmClientScopesPostRequest { return ApiAdminRealmsRealmClientScopesPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request func (a *ClientScopesAPIService) AdminRealmsRealmClientScopesPostExecute(r ApiAdminRealmsRealmClientScopesPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientScopesAPIService.AdminRealmsRealmClientScopesPost") @@ -525,9 +524,9 @@ func (a *ClientScopesAPIService) AdminRealmsRealmClientScopesPostExecute(r ApiAd } type ApiAdminRealmsRealmClientTemplatesClientScopeIdDeleteRequest struct { - ctx context.Context - ApiService *ClientScopesAPIService - realm string + ctx context.Context + ApiService *ClientScopesAPIService + realm string clientScopeId string } @@ -538,16 +537,16 @@ func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdDeleteRequest) Execute() /* AdminRealmsRealmClientTemplatesClientScopeIdDelete Delete the client scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientTemplatesClientScopeIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientTemplatesClientScopeIdDeleteRequest */ func (a *ClientScopesAPIService) AdminRealmsRealmClientTemplatesClientScopeIdDelete(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientTemplatesClientScopeIdDeleteRequest { return ApiAdminRealmsRealmClientTemplatesClientScopeIdDeleteRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } @@ -555,9 +554,9 @@ func (a *ClientScopesAPIService) AdminRealmsRealmClientTemplatesClientScopeIdDel // Execute executes the request func (a *ClientScopesAPIService) AdminRealmsRealmClientTemplatesClientScopeIdDeleteExecute(r ApiAdminRealmsRealmClientTemplatesClientScopeIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientScopesAPIService.AdminRealmsRealmClientTemplatesClientScopeIdDelete") @@ -619,9 +618,9 @@ func (a *ClientScopesAPIService) AdminRealmsRealmClientTemplatesClientScopeIdDel } type ApiAdminRealmsRealmClientTemplatesClientScopeIdGetRequest struct { - ctx context.Context - ApiService *ClientScopesAPIService - realm string + ctx context.Context + ApiService *ClientScopesAPIService + realm string clientScopeId string } @@ -632,29 +631,28 @@ func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdGetRequest) Execute() (*C /* AdminRealmsRealmClientTemplatesClientScopeIdGet Get representation of the client scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientTemplatesClientScopeIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientTemplatesClientScopeIdGetRequest */ func (a *ClientScopesAPIService) AdminRealmsRealmClientTemplatesClientScopeIdGet(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientTemplatesClientScopeIdGetRequest { return ApiAdminRealmsRealmClientTemplatesClientScopeIdGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } // Execute executes the request -// -// @return ClientScopeRepresentation +// @return ClientScopeRepresentation func (a *ClientScopesAPIService) AdminRealmsRealmClientTemplatesClientScopeIdGetExecute(r ApiAdminRealmsRealmClientTemplatesClientScopeIdGetRequest) (*ClientScopeRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ClientScopeRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ClientScopeRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientScopesAPIService.AdminRealmsRealmClientTemplatesClientScopeIdGet") @@ -725,10 +723,10 @@ func (a *ClientScopesAPIService) AdminRealmsRealmClientTemplatesClientScopeIdGet } type ApiAdminRealmsRealmClientTemplatesClientScopeIdPutRequest struct { - ctx context.Context - ApiService *ClientScopesAPIService - realm string - clientScopeId string + ctx context.Context + ApiService *ClientScopesAPIService + realm string + clientScopeId string clientScopeRepresentation *ClientScopeRepresentation } @@ -744,16 +742,16 @@ func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdPutRequest) Execute() (*h /* AdminRealmsRealmClientTemplatesClientScopeIdPut Update the client scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientTemplatesClientScopeIdPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientTemplatesClientScopeIdPutRequest */ func (a *ClientScopesAPIService) AdminRealmsRealmClientTemplatesClientScopeIdPut(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientTemplatesClientScopeIdPutRequest { return ApiAdminRealmsRealmClientTemplatesClientScopeIdPutRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } @@ -761,9 +759,9 @@ func (a *ClientScopesAPIService) AdminRealmsRealmClientTemplatesClientScopeIdPut // Execute executes the request func (a *ClientScopesAPIService) AdminRealmsRealmClientTemplatesClientScopeIdPutExecute(r ApiAdminRealmsRealmClientTemplatesClientScopeIdPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientScopesAPIService.AdminRealmsRealmClientTemplatesClientScopeIdPut") @@ -827,9 +825,9 @@ func (a *ClientScopesAPIService) AdminRealmsRealmClientTemplatesClientScopeIdPut } type ApiAdminRealmsRealmClientTemplatesGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientScopesAPIService - realm string + realm string } func (r ApiAdminRealmsRealmClientTemplatesGetRequest) Execute() ([]ClientScopeRepresentation, *http.Response, error) { @@ -839,27 +837,26 @@ func (r ApiAdminRealmsRealmClientTemplatesGetRequest) Execute() ([]ClientScopeRe /* AdminRealmsRealmClientTemplatesGet Get client scopes belonging to the realm Returns a list of client scopes belonging to the realm - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmClientTemplatesGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmClientTemplatesGetRequest */ func (a *ClientScopesAPIService) AdminRealmsRealmClientTemplatesGet(ctx context.Context, realm string) ApiAdminRealmsRealmClientTemplatesGetRequest { return ApiAdminRealmsRealmClientTemplatesGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []ClientScopeRepresentation +// @return []ClientScopeRepresentation func (a *ClientScopesAPIService) AdminRealmsRealmClientTemplatesGetExecute(r ApiAdminRealmsRealmClientTemplatesGetRequest) ([]ClientScopeRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ClientScopeRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ClientScopeRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientScopesAPIService.AdminRealmsRealmClientTemplatesGet") @@ -929,9 +926,9 @@ func (a *ClientScopesAPIService) AdminRealmsRealmClientTemplatesGetExecute(r Api } type ApiAdminRealmsRealmClientTemplatesPostRequest struct { - ctx context.Context - ApiService *ClientScopesAPIService - realm string + ctx context.Context + ApiService *ClientScopesAPIService + realm string clientScopeRepresentation *ClientScopeRepresentation } @@ -947,24 +944,24 @@ func (r ApiAdminRealmsRealmClientTemplatesPostRequest) Execute() (*http.Response /* AdminRealmsRealmClientTemplatesPost Create a new client scope Client Scope’s name must be unique! - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmClientTemplatesPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmClientTemplatesPostRequest */ func (a *ClientScopesAPIService) AdminRealmsRealmClientTemplatesPost(ctx context.Context, realm string) ApiAdminRealmsRealmClientTemplatesPostRequest { return ApiAdminRealmsRealmClientTemplatesPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request func (a *ClientScopesAPIService) AdminRealmsRealmClientTemplatesPostExecute(r ApiAdminRealmsRealmClientTemplatesPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientScopesAPIService.AdminRealmsRealmClientTemplatesPost") diff --git a/api_clients.go b/api_clients.go index e5f8ec0..e3d7e10 100644 --- a/api_clients.go +++ b/api_clients.go @@ -19,13 +19,14 @@ import ( "strings" ) + // ClientsAPIService ClientsAPI service type ClientsAPIService service type ApiAdminRealmsRealmClientsClientUuidClientSecretGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientsAPIService - realm string + realm string clientUuid string } @@ -36,29 +37,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidClientSecretGetRequest) Execute() (* /* AdminRealmsRealmClientsClientUuidClientSecretGet Get the client secret - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidClientSecretGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidClientSecretGetRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidClientSecretGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidClientSecretGetRequest { return ApiAdminRealmsRealmClientsClientUuidClientSecretGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return CredentialRepresentation +// @return CredentialRepresentation func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidClientSecretGetExecute(r ApiAdminRealmsRealmClientsClientUuidClientSecretGetRequest) (*CredentialRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *CredentialRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *CredentialRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidClientSecretGet") @@ -129,9 +129,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidClientSecretGetExec } type ApiAdminRealmsRealmClientsClientUuidClientSecretPostRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientsAPIService - realm string + realm string clientUuid string } @@ -142,29 +142,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidClientSecretPostRequest) Execute() ( /* AdminRealmsRealmClientsClientUuidClientSecretPost Generate a new secret for the client - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidClientSecretPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidClientSecretPostRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidClientSecretPost(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidClientSecretPostRequest { return ApiAdminRealmsRealmClientsClientUuidClientSecretPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return CredentialRepresentation +// @return CredentialRepresentation func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidClientSecretPostExecute(r ApiAdminRealmsRealmClientsClientUuidClientSecretPostRequest) (*CredentialRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *CredentialRepresentation + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *CredentialRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidClientSecretPost") @@ -235,9 +234,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidClientSecretPostExe } type ApiAdminRealmsRealmClientsClientUuidClientSecretRotatedDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientsAPIService - realm string + realm string clientUuid string } @@ -248,16 +247,16 @@ func (r ApiAdminRealmsRealmClientsClientUuidClientSecretRotatedDeleteRequest) Ex /* AdminRealmsRealmClientsClientUuidClientSecretRotatedDelete Invalidate the rotated secret for the client - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidClientSecretRotatedDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidClientSecretRotatedDeleteRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidClientSecretRotatedDelete(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidClientSecretRotatedDeleteRequest { return ApiAdminRealmsRealmClientsClientUuidClientSecretRotatedDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } @@ -265,9 +264,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidClientSecretRotated // Execute executes the request func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidClientSecretRotatedDeleteExecute(r ApiAdminRealmsRealmClientsClientUuidClientSecretRotatedDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidClientSecretRotatedDelete") @@ -329,9 +328,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidClientSecretRotated } type ApiAdminRealmsRealmClientsClientUuidClientSecretRotatedGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientsAPIService - realm string + realm string clientUuid string } @@ -342,29 +341,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidClientSecretRotatedGetRequest) Execu /* AdminRealmsRealmClientsClientUuidClientSecretRotatedGet Get the rotated client secret - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidClientSecretRotatedGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidClientSecretRotatedGetRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidClientSecretRotatedGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidClientSecretRotatedGetRequest { return ApiAdminRealmsRealmClientsClientUuidClientSecretRotatedGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return CredentialRepresentation +// @return CredentialRepresentation func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidClientSecretRotatedGetExecute(r ApiAdminRealmsRealmClientsClientUuidClientSecretRotatedGetRequest) (*CredentialRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *CredentialRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *CredentialRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidClientSecretRotatedGet") @@ -435,10 +433,10 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidClientSecretRotated } type ApiAdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdDeleteRequest struct { - ctx context.Context - ApiService *ClientsAPIService - realm string - clientUuid string + ctx context.Context + ApiService *ClientsAPIService + realm string + clientUuid string clientScopeId string } @@ -449,18 +447,18 @@ func (r ApiAdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdDele /* AdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdDelete Method for AdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdDelete - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdDeleteRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdDelete(ctx context.Context, realm string, clientUuid string, clientScopeId string) ApiAdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdDeleteRequest { return ApiAdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdDeleteRequest{ - ApiService: a, - ctx: ctx, - realm: realm, - clientUuid: clientUuid, + ApiService: a, + ctx: ctx, + realm: realm, + clientUuid: clientUuid, clientScopeId: clientScopeId, } } @@ -468,9 +466,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidDefaultClientScopes // Execute executes the request func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdDeleteExecute(r ApiAdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdDelete") @@ -533,10 +531,10 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidDefaultClientScopes } type ApiAdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdPutRequest struct { - ctx context.Context - ApiService *ClientsAPIService - realm string - clientUuid string + ctx context.Context + ApiService *ClientsAPIService + realm string + clientUuid string clientScopeId string } @@ -547,18 +545,18 @@ func (r ApiAdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdPutR /* AdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdPut Method for AdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdPut - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdPutRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdPut(ctx context.Context, realm string, clientUuid string, clientScopeId string) ApiAdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdPutRequest { return ApiAdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdPutRequest{ - ApiService: a, - ctx: ctx, - realm: realm, - clientUuid: clientUuid, + ApiService: a, + ctx: ctx, + realm: realm, + clientUuid: clientUuid, clientScopeId: clientScopeId, } } @@ -566,9 +564,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidDefaultClientScopes // Execute executes the request func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdPutExecute(r ApiAdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdPut") @@ -631,9 +629,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidDefaultClientScopes } type ApiAdminRealmsRealmClientsClientUuidDefaultClientScopesGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientsAPIService - realm string + realm string clientUuid string } @@ -644,29 +642,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidDefaultClientScopesGetRequest) Execu /* AdminRealmsRealmClientsClientUuidDefaultClientScopesGet Get default client scopes. Only name and ids are returned. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidDefaultClientScopesGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidDefaultClientScopesGetRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidDefaultClientScopesGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidDefaultClientScopesGetRequest { return ApiAdminRealmsRealmClientsClientUuidDefaultClientScopesGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return []ClientScopeRepresentation +// @return []ClientScopeRepresentation func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidDefaultClientScopesGetExecute(r ApiAdminRealmsRealmClientsClientUuidDefaultClientScopesGetRequest) ([]ClientScopeRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ClientScopeRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ClientScopeRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidDefaultClientScopesGet") @@ -737,9 +734,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidDefaultClientScopes } type ApiAdminRealmsRealmClientsClientUuidDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientsAPIService - realm string + realm string clientUuid string } @@ -750,16 +747,16 @@ func (r ApiAdminRealmsRealmClientsClientUuidDeleteRequest) Execute() (*http.Resp /* AdminRealmsRealmClientsClientUuidDelete Delete the client - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidDeleteRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidDelete(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidDeleteRequest { return ApiAdminRealmsRealmClientsClientUuidDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } @@ -767,9 +764,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidDelete(ctx context. // Execute executes the request func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidDeleteExecute(r ApiAdminRealmsRealmClientsClientUuidDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidDelete") @@ -831,12 +828,12 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidDeleteExecute(r Api } type ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleAccessTokenGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientsAPIService - realm string + realm string clientUuid string - scope *string - userId *string + scope *string + userId *string } func (r ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleAccessTokenGetRequest) Scope(scope string) ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleAccessTokenGetRequest { @@ -856,29 +853,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleAccessT /* AdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleAccessTokenGet Create JSON with payload of example access token - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleAccessTokenGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleAccessTokenGetRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleAccessTokenGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleAccessTokenGetRequest { return ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleAccessTokenGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return AccessToken +// @return AccessToken func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleAccessTokenGetExecute(r ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleAccessTokenGetRequest) (*AccessToken, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *AccessToken + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *AccessToken ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleAccessTokenGet") @@ -955,12 +951,12 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidEvaluateScopesGener } type ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleIdTokenGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientsAPIService - realm string + realm string clientUuid string - scope *string - userId *string + scope *string + userId *string } func (r ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleIdTokenGetRequest) Scope(scope string) ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleIdTokenGetRequest { @@ -980,29 +976,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleIdToken /* AdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleIdTokenGet Create JSON with payload of example id token - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleIdTokenGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleIdTokenGetRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleIdTokenGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleIdTokenGetRequest { return ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleIdTokenGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return IDToken +// @return IDToken func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleIdTokenGetExecute(r ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleIdTokenGetRequest) (*IDToken, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *IDToken + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *IDToken ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleIdTokenGet") @@ -1079,12 +1074,12 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidEvaluateScopesGener } type ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleUserinfoGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientsAPIService - realm string + realm string clientUuid string - scope *string - userId *string + scope *string + userId *string } func (r ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleUserinfoGetRequest) Scope(scope string) ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleUserinfoGetRequest { @@ -1104,29 +1099,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleUserinf /* AdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleUserinfoGet Create JSON with payload of example user info - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleUserinfoGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleUserinfoGetRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleUserinfoGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleUserinfoGetRequest { return ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleUserinfoGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return map[string]interface{} +// @return map[string]interface{} func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleUserinfoGetExecute(r ApiAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleUserinfoGetRequest) (map[string]interface{}, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue map[string]interface{} + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue map[string]interface{} ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleUserinfoGet") @@ -1203,11 +1197,11 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidEvaluateScopesGener } type ApiAdminRealmsRealmClientsClientUuidEvaluateScopesProtocolMappersGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientsAPIService - realm string + realm string clientUuid string - scope *string + scope *string } func (r ApiAdminRealmsRealmClientsClientUuidEvaluateScopesProtocolMappersGetRequest) Scope(scope string) ApiAdminRealmsRealmClientsClientUuidEvaluateScopesProtocolMappersGetRequest { @@ -1224,29 +1218,28 @@ AdminRealmsRealmClientsClientUuidEvaluateScopesProtocolMappersGet Return list of This means protocol mappers assigned to this client directly and protocol mappers assigned to all client scopes of this client. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidEvaluateScopesProtocolMappersGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidEvaluateScopesProtocolMappersGetRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidEvaluateScopesProtocolMappersGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidEvaluateScopesProtocolMappersGetRequest { return ApiAdminRealmsRealmClientsClientUuidEvaluateScopesProtocolMappersGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return []ProtocolMapperEvaluationRepresentation +// @return []ProtocolMapperEvaluationRepresentation func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidEvaluateScopesProtocolMappersGetExecute(r ApiAdminRealmsRealmClientsClientUuidEvaluateScopesProtocolMappersGetRequest) ([]ProtocolMapperEvaluationRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ProtocolMapperEvaluationRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ProtocolMapperEvaluationRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidEvaluateScopesProtocolMappersGet") @@ -1320,12 +1313,12 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidEvaluateScopesProto } type ApiAdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdGrantedGetRequest struct { - ctx context.Context - ApiService *ClientsAPIService - realm string - clientUuid string + ctx context.Context + ApiService *ClientsAPIService + realm string + clientUuid string roleContainerId string - scope *string + scope *string } func (r ApiAdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdGrantedGetRequest) Scope(scope string) ApiAdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdGrantedGetRequest { @@ -1342,31 +1335,30 @@ AdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdGrant 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. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param roleContainerId either realm name OR client UUID - @return ApiAdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdGrantedGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param roleContainerId either realm name OR client UUID + @return ApiAdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdGrantedGetRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdGrantedGet(ctx context.Context, realm string, clientUuid string, roleContainerId string) ApiAdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdGrantedGetRequest { return ApiAdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdGrantedGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, - clientUuid: clientUuid, + ApiService: a, + ctx: ctx, + realm: realm, + clientUuid: clientUuid, roleContainerId: roleContainerId, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdGrantedGetExecute(r ApiAdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdGrantedGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdGrantedGet") @@ -1441,12 +1433,12 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidEvaluateScopesScope } type ApiAdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdNotGrantedGetRequest struct { - ctx context.Context - ApiService *ClientsAPIService - realm string - clientUuid string + ctx context.Context + ApiService *ClientsAPIService + realm string + clientUuid string roleContainerId string - scope *string + scope *string } func (r ApiAdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdNotGrantedGetRequest) Scope(scope string) ApiAdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdNotGrantedGetRequest { @@ -1463,31 +1455,30 @@ AdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdNotGr Defacto all the other roles of particular role container, which are not in {@link #getGrantedScopeMappings()} - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param roleContainerId either realm name OR client UUID - @return ApiAdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdNotGrantedGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param roleContainerId either realm name OR client UUID + @return ApiAdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdNotGrantedGetRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdNotGrantedGet(ctx context.Context, realm string, clientUuid string, roleContainerId string) ApiAdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdNotGrantedGetRequest { return ApiAdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdNotGrantedGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, - clientUuid: clientUuid, + ApiService: a, + ctx: ctx, + realm: realm, + clientUuid: clientUuid, roleContainerId: roleContainerId, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdNotGrantedGetExecute(r ApiAdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdNotGrantedGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdNotGrantedGet") @@ -1562,9 +1553,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidEvaluateScopesScope } type ApiAdminRealmsRealmClientsClientUuidGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientsAPIService - realm string + realm string clientUuid string } @@ -1575,29 +1566,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidGetRequest) Execute() (*ClientRepres /* AdminRealmsRealmClientsClientUuidGet Get representation of the client - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidGetRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidGetRequest { return ApiAdminRealmsRealmClientsClientUuidGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return ClientRepresentation +// @return ClientRepresentation func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidGetExecute(r ApiAdminRealmsRealmClientsClientUuidGetRequest) (*ClientRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ClientRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ClientRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidGet") @@ -1668,9 +1658,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidGetExecute(r ApiAdm } type ApiAdminRealmsRealmClientsClientUuidInstallationProvidersProviderIdGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientsAPIService - realm string + realm string clientUuid string providerId string } @@ -1682,17 +1672,17 @@ func (r ApiAdminRealmsRealmClientsClientUuidInstallationProvidersProviderIdGetRe /* AdminRealmsRealmClientsClientUuidInstallationProvidersProviderIdGet Method for AdminRealmsRealmClientsClientUuidInstallationProvidersProviderIdGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param providerId - @return ApiAdminRealmsRealmClientsClientUuidInstallationProvidersProviderIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param providerId + @return ApiAdminRealmsRealmClientsClientUuidInstallationProvidersProviderIdGetRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidInstallationProvidersProviderIdGet(ctx context.Context, realm string, clientUuid string, providerId string) ApiAdminRealmsRealmClientsClientUuidInstallationProvidersProviderIdGetRequest { return ApiAdminRealmsRealmClientsClientUuidInstallationProvidersProviderIdGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, providerId: providerId, } @@ -1701,9 +1691,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidInstallationProvide // Execute executes the request func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidInstallationProvidersProviderIdGetExecute(r ApiAdminRealmsRealmClientsClientUuidInstallationProvidersProviderIdGetRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidInstallationProvidersProviderIdGet") @@ -1766,9 +1756,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidInstallationProvide } type ApiAdminRealmsRealmClientsClientUuidManagementPermissionsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientsAPIService - realm string + realm string clientUuid string } @@ -1779,29 +1769,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidManagementPermissionsGetRequest) Exe /* AdminRealmsRealmClientsClientUuidManagementPermissionsGet Return object stating whether client Authorization permissions have been initialized or not and a reference - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidManagementPermissionsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidManagementPermissionsGetRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidManagementPermissionsGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidManagementPermissionsGetRequest { return ApiAdminRealmsRealmClientsClientUuidManagementPermissionsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return ManagementPermissionReference +// @return ManagementPermissionReference func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidManagementPermissionsGetExecute(r ApiAdminRealmsRealmClientsClientUuidManagementPermissionsGetRequest) (*ManagementPermissionReference, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ManagementPermissionReference + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ManagementPermissionReference ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidManagementPermissionsGet") @@ -1872,10 +1861,10 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidManagementPermissio } type ApiAdminRealmsRealmClientsClientUuidManagementPermissionsPutRequest struct { - ctx context.Context - ApiService *ClientsAPIService - realm string - clientUuid string + ctx context.Context + ApiService *ClientsAPIService + realm string + clientUuid string managementPermissionReference *ManagementPermissionReference } @@ -1891,29 +1880,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidManagementPermissionsPutRequest) Exe /* AdminRealmsRealmClientsClientUuidManagementPermissionsPut Return object stating whether client Authorization permissions have been initialized or not and a reference - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidManagementPermissionsPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidManagementPermissionsPutRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidManagementPermissionsPut(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidManagementPermissionsPutRequest { return ApiAdminRealmsRealmClientsClientUuidManagementPermissionsPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return ManagementPermissionReference +// @return ManagementPermissionReference func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidManagementPermissionsPutExecute(r ApiAdminRealmsRealmClientsClientUuidManagementPermissionsPutRequest) (*ManagementPermissionReference, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ManagementPermissionReference + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ManagementPermissionReference ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidManagementPermissionsPut") @@ -1986,11 +1974,11 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidManagementPermissio } type ApiAdminRealmsRealmClientsClientUuidNodesNodeDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientsAPIService - realm string + realm string clientUuid string - node string + node string } func (r ApiAdminRealmsRealmClientsClientUuidNodesNodeDeleteRequest) Execute() (*http.Response, error) { @@ -2000,28 +1988,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidNodesNodeDeleteRequest) Execute() (* /* AdminRealmsRealmClientsClientUuidNodesNodeDelete Unregister a cluster node from the client - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param node - @return ApiAdminRealmsRealmClientsClientUuidNodesNodeDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param node + @return ApiAdminRealmsRealmClientsClientUuidNodesNodeDeleteRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidNodesNodeDelete(ctx context.Context, realm string, clientUuid string, node string) ApiAdminRealmsRealmClientsClientUuidNodesNodeDeleteRequest { return ApiAdminRealmsRealmClientsClientUuidNodesNodeDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - node: node, + node: node, } } // Execute executes the request func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidNodesNodeDeleteExecute(r ApiAdminRealmsRealmClientsClientUuidNodesNodeDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidNodesNodeDelete") @@ -2084,10 +2072,10 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidNodesNodeDeleteExec } type ApiAdminRealmsRealmClientsClientUuidNodesPostRequest struct { - ctx context.Context - ApiService *ClientsAPIService - realm string - clientUuid string + ctx context.Context + ApiService *ClientsAPIService + realm string + clientUuid string requestBody *map[string]string } @@ -2103,16 +2091,16 @@ func (r ApiAdminRealmsRealmClientsClientUuidNodesPostRequest) Execute() (*http.R /* AdminRealmsRealmClientsClientUuidNodesPost Register a cluster node with the client Manually register cluster node to this client - usually it’s not needed to call this directly as adapter should handle by sending registration request to Keycloak - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidNodesPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidNodesPostRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidNodesPost(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidNodesPostRequest { return ApiAdminRealmsRealmClientsClientUuidNodesPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } @@ -2120,9 +2108,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidNodesPost(ctx conte // Execute executes the request func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidNodesPostExecute(r ApiAdminRealmsRealmClientsClientUuidNodesPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidNodesPost") @@ -2186,9 +2174,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidNodesPostExecute(r } type ApiAdminRealmsRealmClientsClientUuidOfflineSessionCountGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientsAPIService - realm string + realm string clientUuid string } @@ -2199,29 +2187,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidOfflineSessionCountGetRequest) Execu /* AdminRealmsRealmClientsClientUuidOfflineSessionCountGet Get application offline session count Returns a number of offline user sessions associated with this client { \"count\": number } - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidOfflineSessionCountGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidOfflineSessionCountGetRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidOfflineSessionCountGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidOfflineSessionCountGetRequest { return ApiAdminRealmsRealmClientsClientUuidOfflineSessionCountGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return map[string]int64 +// @return map[string]int64 func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidOfflineSessionCountGetExecute(r ApiAdminRealmsRealmClientsClientUuidOfflineSessionCountGetRequest) (map[string]int64, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue map[string]int64 + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue map[string]int64 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidOfflineSessionCountGet") @@ -2292,12 +2279,12 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidOfflineSessionCount } type ApiAdminRealmsRealmClientsClientUuidOfflineSessionsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientsAPIService - realm string + realm string clientUuid string - first *int32 - max *int32 + first *int32 + max *int32 } // Paging offset @@ -2319,29 +2306,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidOfflineSessionsGetRequest) Execute() /* AdminRealmsRealmClientsClientUuidOfflineSessionsGet Get offline sessions for client Returns a list of offline user sessions associated with this client - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidOfflineSessionsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidOfflineSessionsGetRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidOfflineSessionsGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidOfflineSessionsGetRequest { return ApiAdminRealmsRealmClientsClientUuidOfflineSessionsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return []UserSessionRepresentation +// @return []UserSessionRepresentation func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidOfflineSessionsGetExecute(r ApiAdminRealmsRealmClientsClientUuidOfflineSessionsGetRequest) ([]UserSessionRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []UserSessionRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []UserSessionRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidOfflineSessionsGet") @@ -2418,10 +2404,10 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidOfflineSessionsGetE } type ApiAdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdDeleteRequest struct { - ctx context.Context - ApiService *ClientsAPIService - realm string - clientUuid string + ctx context.Context + ApiService *ClientsAPIService + realm string + clientUuid string clientScopeId string } @@ -2432,18 +2418,18 @@ func (r ApiAdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdDel /* AdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdDelete Method for AdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdDelete - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdDeleteRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdDelete(ctx context.Context, realm string, clientUuid string, clientScopeId string) ApiAdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdDeleteRequest { return ApiAdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdDeleteRequest{ - ApiService: a, - ctx: ctx, - realm: realm, - clientUuid: clientUuid, + ApiService: a, + ctx: ctx, + realm: realm, + clientUuid: clientUuid, clientScopeId: clientScopeId, } } @@ -2451,9 +2437,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidOptionalClientScope // Execute executes the request func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdDeleteExecute(r ApiAdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdDelete") @@ -2516,10 +2502,10 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidOptionalClientScope } type ApiAdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdPutRequest struct { - ctx context.Context - ApiService *ClientsAPIService - realm string - clientUuid string + ctx context.Context + ApiService *ClientsAPIService + realm string + clientUuid string clientScopeId string } @@ -2530,18 +2516,18 @@ func (r ApiAdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdPut /* AdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdPut Method for AdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdPut - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdPutRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdPut(ctx context.Context, realm string, clientUuid string, clientScopeId string) ApiAdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdPutRequest { return ApiAdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdPutRequest{ - ApiService: a, - ctx: ctx, - realm: realm, - clientUuid: clientUuid, + ApiService: a, + ctx: ctx, + realm: realm, + clientUuid: clientUuid, clientScopeId: clientScopeId, } } @@ -2549,9 +2535,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidOptionalClientScope // Execute executes the request func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdPutExecute(r ApiAdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdPut") @@ -2614,9 +2600,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidOptionalClientScope } type ApiAdminRealmsRealmClientsClientUuidOptionalClientScopesGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientsAPIService - realm string + realm string clientUuid string } @@ -2627,29 +2613,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidOptionalClientScopesGetRequest) Exec /* AdminRealmsRealmClientsClientUuidOptionalClientScopesGet Get optional client scopes. Only name and ids are returned. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidOptionalClientScopesGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidOptionalClientScopesGetRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidOptionalClientScopesGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidOptionalClientScopesGetRequest { return ApiAdminRealmsRealmClientsClientUuidOptionalClientScopesGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return []ClientScopeRepresentation +// @return []ClientScopeRepresentation func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidOptionalClientScopesGetExecute(r ApiAdminRealmsRealmClientsClientUuidOptionalClientScopesGetRequest) ([]ClientScopeRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ClientScopeRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ClientScopeRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidOptionalClientScopesGet") @@ -2720,9 +2705,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidOptionalClientScope } type ApiAdminRealmsRealmClientsClientUuidPushRevocationPostRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientsAPIService - realm string + realm string clientUuid string } @@ -2733,29 +2718,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidPushRevocationPostRequest) Execute() /* AdminRealmsRealmClientsClientUuidPushRevocationPost Push the client's revocation policy to its admin URL If the client has an admin URL, push revocation policy to it. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidPushRevocationPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidPushRevocationPostRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidPushRevocationPost(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidPushRevocationPostRequest { return ApiAdminRealmsRealmClientsClientUuidPushRevocationPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return GlobalRequestResult +// @return GlobalRequestResult func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidPushRevocationPostExecute(r ApiAdminRealmsRealmClientsClientUuidPushRevocationPostRequest) (*GlobalRequestResult, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *GlobalRequestResult + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GlobalRequestResult ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidPushRevocationPost") @@ -2826,10 +2810,10 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidPushRevocationPostE } type ApiAdminRealmsRealmClientsClientUuidPutRequest struct { - ctx context.Context - ApiService *ClientsAPIService - realm string - clientUuid string + ctx context.Context + ApiService *ClientsAPIService + realm string + clientUuid string clientRepresentation *ClientRepresentation } @@ -2845,16 +2829,16 @@ func (r ApiAdminRealmsRealmClientsClientUuidPutRequest) Execute() (*http.Respons /* AdminRealmsRealmClientsClientUuidPut Update the client - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidPutRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidPut(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidPutRequest { return ApiAdminRealmsRealmClientsClientUuidPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } @@ -2862,9 +2846,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidPut(ctx context.Con // Execute executes the request func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidPutExecute(r ApiAdminRealmsRealmClientsClientUuidPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidPut") @@ -2928,9 +2912,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidPutExecute(r ApiAdm } type ApiAdminRealmsRealmClientsClientUuidRegistrationAccessTokenPostRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientsAPIService - realm string + realm string clientUuid string } @@ -2941,29 +2925,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidRegistrationAccessTokenPostRequest) /* AdminRealmsRealmClientsClientUuidRegistrationAccessTokenPost Generate a new registration access token for the client - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidRegistrationAccessTokenPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidRegistrationAccessTokenPostRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidRegistrationAccessTokenPost(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidRegistrationAccessTokenPostRequest { return ApiAdminRealmsRealmClientsClientUuidRegistrationAccessTokenPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return ClientRepresentation +// @return ClientRepresentation func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidRegistrationAccessTokenPostExecute(r ApiAdminRealmsRealmClientsClientUuidRegistrationAccessTokenPostRequest) (*ClientRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ClientRepresentation + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ClientRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidRegistrationAccessTokenPost") @@ -3034,9 +3017,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidRegistrationAccessT } type ApiAdminRealmsRealmClientsClientUuidServiceAccountUserGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientsAPIService - realm string + realm string clientUuid string } @@ -3047,29 +3030,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidServiceAccountUserGetRequest) Execut /* AdminRealmsRealmClientsClientUuidServiceAccountUserGet Get a user dedicated to the service account - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidServiceAccountUserGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidServiceAccountUserGetRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidServiceAccountUserGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidServiceAccountUserGetRequest { return ApiAdminRealmsRealmClientsClientUuidServiceAccountUserGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return UserRepresentation +// @return UserRepresentation func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidServiceAccountUserGetExecute(r ApiAdminRealmsRealmClientsClientUuidServiceAccountUserGetRequest) (*UserRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *UserRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *UserRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidServiceAccountUserGet") @@ -3140,9 +3122,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidServiceAccountUserG } type ApiAdminRealmsRealmClientsClientUuidSessionCountGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientsAPIService - realm string + realm string clientUuid string } @@ -3153,29 +3135,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidSessionCountGetRequest) Execute() (m /* AdminRealmsRealmClientsClientUuidSessionCountGet Get application session count Returns a number of user sessions associated with this client { \"count\": number } - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidSessionCountGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidSessionCountGetRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidSessionCountGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidSessionCountGetRequest { return ApiAdminRealmsRealmClientsClientUuidSessionCountGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return map[string]int64 +// @return map[string]int64 func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidSessionCountGetExecute(r ApiAdminRealmsRealmClientsClientUuidSessionCountGetRequest) (map[string]int64, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue map[string]int64 + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue map[string]int64 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidSessionCountGet") @@ -3246,9 +3227,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidSessionCountGetExec } type ApiAdminRealmsRealmClientsClientUuidTestNodesAvailableGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientsAPIService - realm string + realm string clientUuid string } @@ -3259,29 +3240,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidTestNodesAvailableGetRequest) Execut /* AdminRealmsRealmClientsClientUuidTestNodesAvailableGet Test if registered cluster nodes are available Tests availability by sending 'ping' request to all cluster nodes. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidTestNodesAvailableGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidTestNodesAvailableGetRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidTestNodesAvailableGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidTestNodesAvailableGetRequest { return ApiAdminRealmsRealmClientsClientUuidTestNodesAvailableGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return GlobalRequestResult +// @return GlobalRequestResult func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidTestNodesAvailableGetExecute(r ApiAdminRealmsRealmClientsClientUuidTestNodesAvailableGetRequest) (*GlobalRequestResult, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *GlobalRequestResult + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GlobalRequestResult ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidTestNodesAvailableGet") @@ -3352,12 +3332,12 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidTestNodesAvailableG } type ApiAdminRealmsRealmClientsClientUuidUserSessionsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ClientsAPIService - realm string + realm string clientUuid string - first *int32 - max *int32 + first *int32 + max *int32 } // Paging offset @@ -3377,31 +3357,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidUserSessionsGetRequest) Execute() ([ } /* -AdminRealmsRealmClientsClientUuidUserSessionsGet Get user sessions for client Returns a list of user sessions associated with this client +AdminRealmsRealmClientsClientUuidUserSessionsGet Get user sessions for client Returns a list of user sessions associated with this client - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidUserSessionsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidUserSessionsGetRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidUserSessionsGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidUserSessionsGetRequest { return ApiAdminRealmsRealmClientsClientUuidUserSessionsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return []UserSessionRepresentation +// @return []UserSessionRepresentation func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidUserSessionsGetExecute(r ApiAdminRealmsRealmClientsClientUuidUserSessionsGetRequest) ([]UserSessionRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []UserSessionRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []UserSessionRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsClientUuidUserSessionsGet") @@ -3478,14 +3457,14 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsClientUuidUserSessionsGetExec } type ApiAdminRealmsRealmClientsGetRequest struct { - ctx context.Context - ApiService *ClientsAPIService - realm string - clientId *string - first *int32 - max *int32 - q *string - search *bool + ctx context.Context + ApiService *ClientsAPIService + realm string + clientId *string + first *int32 + max *int32 + q *string + search *bool viewableOnly *bool } @@ -3533,27 +3512,26 @@ AdminRealmsRealmClientsGet Get clients belonging to the realm. 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. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmClientsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmClientsGetRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsGet(ctx context.Context, realm string) ApiAdminRealmsRealmClientsGetRequest { return ApiAdminRealmsRealmClientsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []ClientRepresentation +// @return []ClientRepresentation func (a *ClientsAPIService) AdminRealmsRealmClientsGetExecute(r ApiAdminRealmsRealmClientsGetRequest) ([]ClientRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ClientRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ClientRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsGet") @@ -3647,9 +3625,9 @@ func (a *ClientsAPIService) AdminRealmsRealmClientsGetExecute(r ApiAdminRealmsRe } type ApiAdminRealmsRealmClientsPostRequest struct { - ctx context.Context - ApiService *ClientsAPIService - realm string + ctx context.Context + ApiService *ClientsAPIService + realm string clientRepresentation *ClientRepresentation } @@ -3665,24 +3643,24 @@ func (r ApiAdminRealmsRealmClientsPostRequest) Execute() (*http.Response, error) /* AdminRealmsRealmClientsPost Create a new client Client’s client_id must be unique! - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmClientsPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmClientsPostRequest */ func (a *ClientsAPIService) AdminRealmsRealmClientsPost(ctx context.Context, realm string) ApiAdminRealmsRealmClientsPostRequest { return ApiAdminRealmsRealmClientsPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request func (a *ClientsAPIService) AdminRealmsRealmClientsPostExecute(r ApiAdminRealmsRealmClientsPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ClientsAPIService.AdminRealmsRealmClientsPost") diff --git a/api_component.go b/api_component.go index 466610e..9d25d0a 100644 --- a/api_component.go +++ b/api_component.go @@ -19,16 +19,17 @@ import ( "strings" ) + // ComponentAPIService ComponentAPI service type ComponentAPIService service type ApiAdminRealmsRealmComponentsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ComponentAPIService - realm string - name *string - parent *string - type_ *string + realm string + name *string + parent *string + type_ *string } func (r ApiAdminRealmsRealmComponentsGetRequest) Name(name string) ApiAdminRealmsRealmComponentsGetRequest { @@ -53,27 +54,26 @@ func (r ApiAdminRealmsRealmComponentsGetRequest) Execute() ([]ComponentRepresent /* AdminRealmsRealmComponentsGet Method for AdminRealmsRealmComponentsGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmComponentsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmComponentsGetRequest */ func (a *ComponentAPIService) AdminRealmsRealmComponentsGet(ctx context.Context, realm string) ApiAdminRealmsRealmComponentsGetRequest { return ApiAdminRealmsRealmComponentsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []ComponentRepresentation +// @return []ComponentRepresentation func (a *ComponentAPIService) AdminRealmsRealmComponentsGetExecute(r ApiAdminRealmsRealmComponentsGetRequest) ([]ComponentRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ComponentRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ComponentRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ComponentAPIService.AdminRealmsRealmComponentsGet") @@ -152,10 +152,10 @@ func (a *ComponentAPIService) AdminRealmsRealmComponentsGetExecute(r ApiAdminRea } type ApiAdminRealmsRealmComponentsIdDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *ComponentAPIService - realm string - id string + realm string + id string } func (r ApiAdminRealmsRealmComponentsIdDeleteRequest) Execute() (*http.Response, error) { @@ -165,26 +165,26 @@ func (r ApiAdminRealmsRealmComponentsIdDeleteRequest) Execute() (*http.Response, /* AdminRealmsRealmComponentsIdDelete Method for AdminRealmsRealmComponentsIdDelete - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id - @return ApiAdminRealmsRealmComponentsIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param id + @return ApiAdminRealmsRealmComponentsIdDeleteRequest */ func (a *ComponentAPIService) AdminRealmsRealmComponentsIdDelete(ctx context.Context, realm string, id string) ApiAdminRealmsRealmComponentsIdDeleteRequest { return ApiAdminRealmsRealmComponentsIdDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, + ctx: ctx, + realm: realm, + id: id, } } // Execute executes the request func (a *ComponentAPIService) AdminRealmsRealmComponentsIdDeleteExecute(r ApiAdminRealmsRealmComponentsIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ComponentAPIService.AdminRealmsRealmComponentsIdDelete") @@ -246,10 +246,10 @@ func (a *ComponentAPIService) AdminRealmsRealmComponentsIdDeleteExecute(r ApiAdm } type ApiAdminRealmsRealmComponentsIdGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ComponentAPIService - realm string - id string + realm string + id string } func (r ApiAdminRealmsRealmComponentsIdGetRequest) Execute() (*ComponentRepresentation, *http.Response, error) { @@ -259,29 +259,28 @@ func (r ApiAdminRealmsRealmComponentsIdGetRequest) Execute() (*ComponentRepresen /* AdminRealmsRealmComponentsIdGet Method for AdminRealmsRealmComponentsIdGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id - @return ApiAdminRealmsRealmComponentsIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param id + @return ApiAdminRealmsRealmComponentsIdGetRequest */ func (a *ComponentAPIService) AdminRealmsRealmComponentsIdGet(ctx context.Context, realm string, id string) ApiAdminRealmsRealmComponentsIdGetRequest { return ApiAdminRealmsRealmComponentsIdGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, + ctx: ctx, + realm: realm, + id: id, } } // Execute executes the request -// -// @return ComponentRepresentation +// @return ComponentRepresentation func (a *ComponentAPIService) AdminRealmsRealmComponentsIdGetExecute(r ApiAdminRealmsRealmComponentsIdGetRequest) (*ComponentRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ComponentRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ComponentRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ComponentAPIService.AdminRealmsRealmComponentsIdGet") @@ -352,10 +351,10 @@ func (a *ComponentAPIService) AdminRealmsRealmComponentsIdGetExecute(r ApiAdminR } type ApiAdminRealmsRealmComponentsIdPutRequest struct { - ctx context.Context - ApiService *ComponentAPIService - realm string - id string + ctx context.Context + ApiService *ComponentAPIService + realm string + id string componentRepresentation *ComponentRepresentation } @@ -371,26 +370,26 @@ func (r ApiAdminRealmsRealmComponentsIdPutRequest) Execute() (*http.Response, er /* AdminRealmsRealmComponentsIdPut Method for AdminRealmsRealmComponentsIdPut - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id - @return ApiAdminRealmsRealmComponentsIdPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param id + @return ApiAdminRealmsRealmComponentsIdPutRequest */ func (a *ComponentAPIService) AdminRealmsRealmComponentsIdPut(ctx context.Context, realm string, id string) ApiAdminRealmsRealmComponentsIdPutRequest { return ApiAdminRealmsRealmComponentsIdPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, + ctx: ctx, + realm: realm, + id: id, } } // Execute executes the request func (a *ComponentAPIService) AdminRealmsRealmComponentsIdPutExecute(r ApiAdminRealmsRealmComponentsIdPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ComponentAPIService.AdminRealmsRealmComponentsIdPut") @@ -454,11 +453,11 @@ func (a *ComponentAPIService) AdminRealmsRealmComponentsIdPutExecute(r ApiAdminR } type ApiAdminRealmsRealmComponentsIdSubComponentTypesGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ComponentAPIService - realm string - id string - type_ *string + realm string + id string + type_ *string } func (r ApiAdminRealmsRealmComponentsIdSubComponentTypesGetRequest) Type_(type_ string) ApiAdminRealmsRealmComponentsIdSubComponentTypesGetRequest { @@ -473,29 +472,28 @@ func (r ApiAdminRealmsRealmComponentsIdSubComponentTypesGetRequest) Execute() ([ /* AdminRealmsRealmComponentsIdSubComponentTypesGet List of subcomponent types that are available to configure for a particular parent component. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id - @return ApiAdminRealmsRealmComponentsIdSubComponentTypesGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param id + @return ApiAdminRealmsRealmComponentsIdSubComponentTypesGetRequest */ func (a *ComponentAPIService) AdminRealmsRealmComponentsIdSubComponentTypesGet(ctx context.Context, realm string, id string) ApiAdminRealmsRealmComponentsIdSubComponentTypesGetRequest { return ApiAdminRealmsRealmComponentsIdSubComponentTypesGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, + ctx: ctx, + realm: realm, + id: id, } } // Execute executes the request -// -// @return []ComponentTypeRepresentation +// @return []ComponentTypeRepresentation func (a *ComponentAPIService) AdminRealmsRealmComponentsIdSubComponentTypesGetExecute(r ApiAdminRealmsRealmComponentsIdSubComponentTypesGetRequest) ([]ComponentTypeRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ComponentTypeRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ComponentTypeRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ComponentAPIService.AdminRealmsRealmComponentsIdSubComponentTypesGet") @@ -569,9 +567,9 @@ func (a *ComponentAPIService) AdminRealmsRealmComponentsIdSubComponentTypesGetEx } type ApiAdminRealmsRealmComponentsPostRequest struct { - ctx context.Context - ApiService *ComponentAPIService - realm string + ctx context.Context + ApiService *ComponentAPIService + realm string componentRepresentation *ComponentRepresentation } @@ -587,24 +585,24 @@ func (r ApiAdminRealmsRealmComponentsPostRequest) Execute() (*http.Response, err /* AdminRealmsRealmComponentsPost Method for AdminRealmsRealmComponentsPost - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmComponentsPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmComponentsPostRequest */ func (a *ComponentAPIService) AdminRealmsRealmComponentsPost(ctx context.Context, realm string) ApiAdminRealmsRealmComponentsPostRequest { return ApiAdminRealmsRealmComponentsPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request func (a *ComponentAPIService) AdminRealmsRealmComponentsPostExecute(r ApiAdminRealmsRealmComponentsPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ComponentAPIService.AdminRealmsRealmComponentsPost") diff --git a/api_default.go b/api_default.go index ecc1ec7..1051330 100644 --- a/api_default.go +++ b/api_default.go @@ -19,13 +19,14 @@ import ( "strings" ) + // DefaultAPIService DefaultAPI service type DefaultAPIService service type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerGetRequest struct { - ctx context.Context + ctx context.Context ApiService *DefaultAPIService - realm string + realm string clientUuid string } @@ -36,29 +37,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerGetRequest) Execu /* AdminRealmsRealmClientsClientUuidAuthzResourceServerGet Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerGetRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerGetRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return ResourceServerRepresentation +// @return ResourceServerRepresentation func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerGetExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerGetRequest) (*ResourceServerRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ResourceServerRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ResourceServerRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerGet") @@ -129,10 +129,10 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerImportPostRequest struct { - ctx context.Context - ApiService *DefaultAPIService - realm string - clientUuid string + ctx context.Context + ApiService *DefaultAPIService + realm string + clientUuid string resourceServerRepresentation *ResourceServerRepresentation } @@ -148,16 +148,16 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerImportPostRequest /* AdminRealmsRealmClientsClientUuidAuthzResourceServerImportPost Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerImportPost - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerImportPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerImportPostRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerImportPost(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerImportPostRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerImportPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } @@ -165,9 +165,9 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer // Execute executes the request func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerImportPostExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerImportPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerImportPost") @@ -231,10 +231,10 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionEvaluatePostRequest struct { - ctx context.Context - ApiService *DefaultAPIService - realm string - clientUuid string + ctx context.Context + ApiService *DefaultAPIService + realm string + clientUuid string policyEvaluationRequest *PolicyEvaluationRequest } @@ -250,29 +250,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionEvaluat /* AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionEvaluatePost Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionEvaluatePost - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionEvaluatePostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionEvaluatePostRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionEvaluatePost(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionEvaluatePostRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionEvaluatePostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return PolicyEvaluationResponse +// @return PolicyEvaluationResponse func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionEvaluatePostExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionEvaluatePostRequest) (*PolicyEvaluationResponse, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *PolicyEvaluationResponse + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *PolicyEvaluationResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionEvaluatePost") @@ -345,20 +344,20 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionGetRequest struct { - ctx context.Context + ctx context.Context ApiService *DefaultAPIService - realm string + realm string clientUuid string - fields *string - first *int32 - max *int32 - name *string - owner *string + fields *string + first *int32 + max *int32 + name *string + owner *string permission *bool - policyId *string - resource *string - scope *string - type_ *string + policyId *string + resource *string + scope *string + type_ *string } func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionGetRequest) Fields(fields string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionGetRequest { @@ -418,29 +417,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionGetRequ /* AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionGet Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionGetRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionGetRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return []AbstractPolicyRepresentation +// @return []AbstractPolicyRepresentation func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionGetExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionGetRequest) ([]AbstractPolicyRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []AbstractPolicyRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []AbstractPolicyRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionGet") @@ -541,11 +539,11 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionPostRequest struct { - ctx context.Context + ctx context.Context ApiService *DefaultAPIService - realm string + realm string clientUuid string - body *string + body *string } func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionPostRequest) Body(body string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionPostRequest { @@ -560,16 +558,16 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionPostReq /* AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionPost Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionPost - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionPostRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionPost(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionPostRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } @@ -577,9 +575,9 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer // Execute executes the request func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionPostExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionPost") @@ -643,9 +641,9 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionProvidersGetRequest struct { - ctx context.Context + ctx context.Context ApiService *DefaultAPIService - realm string + realm string clientUuid string } @@ -656,29 +654,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionProvide /* AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionProvidersGet Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionProvidersGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionProvidersGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionProvidersGetRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionProvidersGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionProvidersGetRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionProvidersGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return []PolicyProviderRepresentation +// @return []PolicyProviderRepresentation func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionProvidersGetExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionProvidersGetRequest) ([]PolicyProviderRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []PolicyProviderRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []PolicyProviderRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionProvidersGet") @@ -749,12 +746,12 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionSearchGetRequest struct { - ctx context.Context + ctx context.Context ApiService *DefaultAPIService - realm string + realm string clientUuid string - fields *string - name *string + fields *string + name *string } func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionSearchGetRequest) Fields(fields string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionSearchGetRequest { @@ -774,29 +771,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionSearchG /* AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionSearchGet Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionSearchGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionSearchGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionSearchGetRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionSearchGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionSearchGetRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionSearchGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return AbstractPolicyRepresentation +// @return AbstractPolicyRepresentation func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionSearchGetExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionSearchGetRequest) (*AbstractPolicyRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *AbstractPolicyRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *AbstractPolicyRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionSearchGet") @@ -873,10 +869,10 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyEvaluatePostRequest struct { - ctx context.Context - ApiService *DefaultAPIService - realm string - clientUuid string + ctx context.Context + ApiService *DefaultAPIService + realm string + clientUuid string policyEvaluationRequest *PolicyEvaluationRequest } @@ -892,29 +888,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyEvaluatePos /* AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyEvaluatePost Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyEvaluatePost - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyEvaluatePostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyEvaluatePostRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyEvaluatePost(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyEvaluatePostRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyEvaluatePostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return PolicyEvaluationResponse +// @return PolicyEvaluationResponse func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyEvaluatePostExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyEvaluatePostRequest) (*PolicyEvaluationResponse, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *PolicyEvaluationResponse + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *PolicyEvaluationResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyEvaluatePost") @@ -987,20 +982,20 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyGetRequest struct { - ctx context.Context + ctx context.Context ApiService *DefaultAPIService - realm string + realm string clientUuid string - fields *string - first *int32 - max *int32 - name *string - owner *string + fields *string + first *int32 + max *int32 + name *string + owner *string permission *bool - policyId *string - resource *string - scope *string - type_ *string + policyId *string + resource *string + scope *string + type_ *string } func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyGetRequest) Fields(fields string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyGetRequest { @@ -1060,29 +1055,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyGetRequest) /* AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyGet Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyGetRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyGetRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return []AbstractPolicyRepresentation +// @return []AbstractPolicyRepresentation func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyGetExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyGetRequest) ([]AbstractPolicyRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []AbstractPolicyRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []AbstractPolicyRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyGet") @@ -1183,11 +1177,11 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyPostRequest struct { - ctx context.Context + ctx context.Context ApiService *DefaultAPIService - realm string + realm string clientUuid string - body *string + body *string } func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyPostRequest) Body(body string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyPostRequest { @@ -1202,16 +1196,16 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyPostRequest /* AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyPost Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyPost - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyPostRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyPost(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyPostRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } @@ -1219,9 +1213,9 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer // Execute executes the request func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyPostExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyPost") @@ -1285,9 +1279,9 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyProvidersGetRequest struct { - ctx context.Context + ctx context.Context ApiService *DefaultAPIService - realm string + realm string clientUuid string } @@ -1298,29 +1292,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyProvidersGe /* AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyProvidersGet Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyProvidersGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyProvidersGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyProvidersGetRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyProvidersGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyProvidersGetRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyProvidersGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return []PolicyProviderRepresentation +// @return []PolicyProviderRepresentation func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyProvidersGetExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyProvidersGetRequest) ([]PolicyProviderRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []PolicyProviderRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []PolicyProviderRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyProvidersGet") @@ -1391,12 +1384,12 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicySearchGetRequest struct { - ctx context.Context + ctx context.Context ApiService *DefaultAPIService - realm string + realm string clientUuid string - fields *string - name *string + fields *string + name *string } func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicySearchGetRequest) Fields(fields string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicySearchGetRequest { @@ -1416,29 +1409,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicySearchGetRe /* AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicySearchGet Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicySearchGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicySearchGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicySearchGetRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicySearchGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicySearchGetRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicySearchGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return AbstractPolicyRepresentation +// @return AbstractPolicyRepresentation func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicySearchGetExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicySearchGetRequest) (*AbstractPolicyRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *AbstractPolicyRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *AbstractPolicyRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicySearchGet") @@ -1515,10 +1507,10 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPutRequest struct { - ctx context.Context - ApiService *DefaultAPIService - realm string - clientUuid string + ctx context.Context + ApiService *DefaultAPIService + realm string + clientUuid string resourceServerRepresentation *ResourceServerRepresentation } @@ -1534,16 +1526,16 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPutRequest) Execu /* AdminRealmsRealmClientsClientUuidAuthzResourceServerPut Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerPut - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPutRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerPut(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPutRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } @@ -1551,9 +1543,9 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer // Execute executes the request func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerPutExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerPut") @@ -1617,21 +1609,21 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceGetRequest struct { - ctx context.Context - ApiService *DefaultAPIService - realm string - clientUuid string - id *string - deep *bool - exactName *bool - first *int32 + ctx context.Context + ApiService *DefaultAPIService + realm string + clientUuid string + id *string + deep *bool + exactName *bool + first *int32 matchingUri *bool - max *int32 - name *string - owner *string - scope *string - type_ *string - uri *string + max *int32 + name *string + owner *string + scope *string + type_ *string + uri *string } func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceGetRequest) Id(id string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceGetRequest { @@ -1696,29 +1688,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceGetReques /* AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceGet Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceGetRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceGetRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return []ResourceRepresentation +// @return []ResourceRepresentation func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceGetExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceGetRequest) ([]ResourceRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ResourceRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ResourceRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceGet") @@ -1822,21 +1813,21 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourcePostRequest struct { - ctx context.Context - ApiService *DefaultAPIService - realm string - clientUuid string - id *string - deep *bool - exactName *bool - first *int32 - matchingUri *bool - max *int32 - name *string - owner *string - scope *string - type_ *string - uri *string + ctx context.Context + ApiService *DefaultAPIService + realm string + clientUuid string + id *string + deep *bool + exactName *bool + first *int32 + matchingUri *bool + max *int32 + name *string + owner *string + scope *string + type_ *string + uri *string resourceRepresentation *ResourceRepresentation } @@ -1907,29 +1898,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourcePostReque /* AdminRealmsRealmClientsClientUuidAuthzResourceServerResourcePost Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerResourcePost - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourcePostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourcePostRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerResourcePost(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourcePostRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourcePostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return ResourceRepresentation +// @return ResourceRepresentation func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerResourcePostExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourcePostRequest) (*ResourceRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ResourceRepresentation + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ResourceRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourcePost") @@ -2035,22 +2025,22 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdAttributesGetRequest struct { - ctx context.Context - ApiService *DefaultAPIService - realm string - clientUuid string - resourceId string - id *string - deep *bool - exactName *bool - first *int32 + ctx context.Context + ApiService *DefaultAPIService + realm string + clientUuid string + resourceId string + id *string + deep *bool + exactName *bool + first *int32 matchingUri *bool - max *int32 - name *string - owner *string - scope *string - type_ *string - uri *string + max *int32 + name *string + owner *string + scope *string + type_ *string + uri *string } func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdAttributesGetRequest) Id(id string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdAttributesGetRequest { @@ -2115,17 +2105,17 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceI /* AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdAttributesGet Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdAttributesGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param resourceId - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdAttributesGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param resourceId + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdAttributesGetRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdAttributesGet(ctx context.Context, realm string, clientUuid string, resourceId string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdAttributesGetRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdAttributesGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, resourceId: resourceId, } @@ -2134,9 +2124,9 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer // Execute executes the request func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdAttributesGetExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdAttributesGetRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdAttributesGet") @@ -2232,22 +2222,22 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdDeleteRequest struct { - ctx context.Context - ApiService *DefaultAPIService - realm string - clientUuid string - resourceId string - id *string - deep *bool - exactName *bool - first *int32 + ctx context.Context + ApiService *DefaultAPIService + realm string + clientUuid string + resourceId string + id *string + deep *bool + exactName *bool + first *int32 matchingUri *bool - max *int32 - name *string - owner *string - scope *string - type_ *string - uri *string + max *int32 + name *string + owner *string + scope *string + type_ *string + uri *string } func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdDeleteRequest) Id(id string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdDeleteRequest { @@ -2312,17 +2302,17 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceI /* AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdDelete Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdDelete - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param resourceId - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param resourceId + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdDeleteRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdDelete(ctx context.Context, realm string, clientUuid string, resourceId string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdDeleteRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, resourceId: resourceId, } @@ -2331,9 +2321,9 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer // Execute executes the request func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdDeleteExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdDelete") @@ -2429,22 +2419,22 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdGetRequest struct { - ctx context.Context - ApiService *DefaultAPIService - realm string - clientUuid string - resourceId string - id *string - deep *bool - exactName *bool - first *int32 + ctx context.Context + ApiService *DefaultAPIService + realm string + clientUuid string + resourceId string + id *string + deep *bool + exactName *bool + first *int32 matchingUri *bool - max *int32 - name *string - owner *string - scope *string - type_ *string - uri *string + max *int32 + name *string + owner *string + scope *string + type_ *string + uri *string } func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdGetRequest) Id(id string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdGetRequest { @@ -2509,31 +2499,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceI /* AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdGet Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param resourceId - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param resourceId + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdGetRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdGet(ctx context.Context, realm string, clientUuid string, resourceId string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdGetRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, resourceId: resourceId, } } // Execute executes the request -// -// @return ResourceRepresentation +// @return ResourceRepresentation func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdGetExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdGetRequest) (*ResourceRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ResourceRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ResourceRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdGet") @@ -2638,22 +2627,22 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPermissionsGetRequest struct { - ctx context.Context - ApiService *DefaultAPIService - realm string - clientUuid string - resourceId string - id *string - deep *bool - exactName *bool - first *int32 + ctx context.Context + ApiService *DefaultAPIService + realm string + clientUuid string + resourceId string + id *string + deep *bool + exactName *bool + first *int32 matchingUri *bool - max *int32 - name *string - owner *string - scope *string - type_ *string - uri *string + max *int32 + name *string + owner *string + scope *string + type_ *string + uri *string } func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPermissionsGetRequest) Id(id string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPermissionsGetRequest { @@ -2718,31 +2707,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceI /* AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPermissionsGet Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPermissionsGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param resourceId - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPermissionsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param resourceId + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPermissionsGetRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPermissionsGet(ctx context.Context, realm string, clientUuid string, resourceId string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPermissionsGetRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPermissionsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, resourceId: resourceId, } } // Execute executes the request -// -// @return []PolicyRepresentation +// @return []PolicyRepresentation func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPermissionsGetExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPermissionsGetRequest) ([]PolicyRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []PolicyRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []PolicyRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPermissionsGet") @@ -2847,22 +2835,22 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPutRequest struct { - ctx context.Context - ApiService *DefaultAPIService - realm string - clientUuid string - resourceId string - id *string - deep *bool - exactName *bool - first *int32 - matchingUri *bool - max *int32 - name *string - owner *string - scope *string - type_ *string - uri *string + ctx context.Context + ApiService *DefaultAPIService + realm string + clientUuid string + resourceId string + id *string + deep *bool + exactName *bool + first *int32 + matchingUri *bool + max *int32 + name *string + owner *string + scope *string + type_ *string + uri *string resourceRepresentation *ResourceRepresentation } @@ -2933,17 +2921,17 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceI /* AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPut Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPut - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param resourceId - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param resourceId + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPutRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPut(ctx context.Context, realm string, clientUuid string, resourceId string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPutRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, resourceId: resourceId, } @@ -2952,9 +2940,9 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer // Execute executes the request func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPutExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPut") @@ -3052,22 +3040,22 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdScopesGetRequest struct { - ctx context.Context - ApiService *DefaultAPIService - realm string - clientUuid string - resourceId string - id *string - deep *bool - exactName *bool - first *int32 + ctx context.Context + ApiService *DefaultAPIService + realm string + clientUuid string + resourceId string + id *string + deep *bool + exactName *bool + first *int32 matchingUri *bool - max *int32 - name *string - owner *string - scope *string - type_ *string - uri *string + max *int32 + name *string + owner *string + scope *string + type_ *string + uri *string } func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdScopesGetRequest) Id(id string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdScopesGetRequest { @@ -3132,31 +3120,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceI /* AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdScopesGet Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdScopesGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param resourceId - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdScopesGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param resourceId + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdScopesGetRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdScopesGet(ctx context.Context, realm string, clientUuid string, resourceId string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdScopesGetRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdScopesGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, resourceId: resourceId, } } // Execute executes the request -// -// @return []ScopeRepresentation +// @return []ScopeRepresentation func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdScopesGetExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdScopesGetRequest) ([]ScopeRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ScopeRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ScopeRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdScopesGet") @@ -3261,21 +3248,21 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceSearchGetRequest struct { - ctx context.Context - ApiService *DefaultAPIService - realm string - clientUuid string - id *string - deep *bool - exactName *bool - first *int32 + ctx context.Context + ApiService *DefaultAPIService + realm string + clientUuid string + id *string + deep *bool + exactName *bool + first *int32 matchingUri *bool - max *int32 - owner *string - scope *string - type_ *string - uri *string - name *string + max *int32 + owner *string + scope *string + type_ *string + uri *string + name *string } func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceSearchGetRequest) Id(id string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceSearchGetRequest { @@ -3340,29 +3327,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceSearchGet /* AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceSearchGet Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceSearchGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceSearchGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceSearchGetRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceSearchGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceSearchGetRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceSearchGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return ResourceRepresentation +// @return ResourceRepresentation func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceSearchGetExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceSearchGetRequest) (*ResourceRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ResourceRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ResourceRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceSearchGet") @@ -3466,14 +3452,14 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeGetRequest struct { - ctx context.Context + ctx context.Context ApiService *DefaultAPIService - realm string + realm string clientUuid string - first *int32 - max *int32 - name *string - scopeId *string + first *int32 + max *int32 + name *string + scopeId *string } func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeGetRequest) First(first int32) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeGetRequest { @@ -3503,29 +3489,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeGetRequest) /* AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeGet Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeGetRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeGetRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return []ScopeRepresentation +// @return []ScopeRepresentation func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeGetExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeGetRequest) ([]ScopeRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ScopeRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ScopeRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeGet") @@ -3608,10 +3593,10 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopePostRequest struct { - ctx context.Context - ApiService *DefaultAPIService - realm string - clientUuid string + ctx context.Context + ApiService *DefaultAPIService + realm string + clientUuid string scopeRepresentation *ScopeRepresentation } @@ -3627,16 +3612,16 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopePostRequest) /* AdminRealmsRealmClientsClientUuidAuthzResourceServerScopePost Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerScopePost - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopePostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopePostRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerScopePost(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopePostRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopePostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } @@ -3644,9 +3629,9 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer // Execute executes the request func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerScopePostExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopePostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopePost") @@ -3710,11 +3695,11 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *DefaultAPIService - realm string + realm string clientUuid string - scopeId string + scopeId string } func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdDeleteRequest) Execute() (*http.Response, error) { @@ -3724,28 +3709,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdDelet /* AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdDelete Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdDelete - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param scopeId - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param scopeId + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdDeleteRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdDelete(ctx context.Context, realm string, clientUuid string, scopeId string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdDeleteRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - scopeId: scopeId, + scopeId: scopeId, } } // Execute executes the request func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdDeleteExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdDelete") @@ -3808,11 +3793,11 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdGetRequest struct { - ctx context.Context + ctx context.Context ApiService *DefaultAPIService - realm string + realm string clientUuid string - scopeId string + scopeId string } func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdGetRequest) Execute() (*ScopeRepresentation, *http.Response, error) { @@ -3822,31 +3807,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdGetRe /* AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdGet Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param scopeId - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param scopeId + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdGetRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdGet(ctx context.Context, realm string, clientUuid string, scopeId string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdGetRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - scopeId: scopeId, + scopeId: scopeId, } } // Execute executes the request -// -// @return ScopeRepresentation +// @return ScopeRepresentation func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdGetExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdGetRequest) (*ScopeRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ScopeRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ScopeRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdGet") @@ -3918,11 +3902,11 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPermissionsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *DefaultAPIService - realm string + realm string clientUuid string - scopeId string + scopeId string } func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPermissionsGetRequest) Execute() ([]PolicyRepresentation, *http.Response, error) { @@ -3932,31 +3916,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPermi /* AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPermissionsGet Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPermissionsGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param scopeId - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPermissionsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param scopeId + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPermissionsGetRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPermissionsGet(ctx context.Context, realm string, clientUuid string, scopeId string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPermissionsGetRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPermissionsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - scopeId: scopeId, + scopeId: scopeId, } } // Execute executes the request -// -// @return []PolicyRepresentation +// @return []PolicyRepresentation func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPermissionsGetExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPermissionsGetRequest) ([]PolicyRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []PolicyRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []PolicyRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPermissionsGet") @@ -4028,11 +4011,11 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPutRequest struct { - ctx context.Context - ApiService *DefaultAPIService - realm string - clientUuid string - scopeId string + ctx context.Context + ApiService *DefaultAPIService + realm string + clientUuid string + scopeId string scopeRepresentation *ScopeRepresentation } @@ -4048,28 +4031,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPutRe /* AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPut Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPut - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param scopeId - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param scopeId + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPutRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPut(ctx context.Context, realm string, clientUuid string, scopeId string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPutRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - scopeId: scopeId, + scopeId: scopeId, } } // Execute executes the request func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPutExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPut") @@ -4134,11 +4117,11 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdResourcesGetRequest struct { - ctx context.Context + ctx context.Context ApiService *DefaultAPIService - realm string + realm string clientUuid string - scopeId string + scopeId string } func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdResourcesGetRequest) Execute() ([]ResourceRepresentation, *http.Response, error) { @@ -4148,31 +4131,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdResou /* AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdResourcesGet Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdResourcesGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param scopeId - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdResourcesGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param scopeId + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdResourcesGetRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdResourcesGet(ctx context.Context, realm string, clientUuid string, scopeId string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdResourcesGetRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdResourcesGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - scopeId: scopeId, + scopeId: scopeId, } } // Execute executes the request -// -// @return []ResourceRepresentation +// @return []ResourceRepresentation func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdResourcesGetExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdResourcesGetRequest) ([]ResourceRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ResourceRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ResourceRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdResourcesGet") @@ -4244,11 +4226,11 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearchGetRequest struct { - ctx context.Context + ctx context.Context ApiService *DefaultAPIService - realm string + realm string clientUuid string - name *string + name *string } func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearchGetRequest) Name(name string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearchGetRequest { @@ -4263,29 +4245,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearchGetReq /* AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearchGet Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearchGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearchGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearchGetRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearchGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearchGetRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearchGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return []ScopeRepresentation +// @return []ScopeRepresentation func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearchGetExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearchGetRequest) ([]ScopeRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ScopeRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ScopeRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearchGet") @@ -4359,9 +4340,9 @@ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServer } type ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerSettingsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *DefaultAPIService - realm string + realm string clientUuid string } @@ -4372,29 +4353,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerSettingsGetReques /* AdminRealmsRealmClientsClientUuidAuthzResourceServerSettingsGet Method for AdminRealmsRealmClientsClientUuidAuthzResourceServerSettingsGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerSettingsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerSettingsGetRequest */ func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerSettingsGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerSettingsGetRequest { return ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerSettingsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return ResourceServerRepresentation +// @return ResourceServerRepresentation func (a *DefaultAPIService) AdminRealmsRealmClientsClientUuidAuthzResourceServerSettingsGetExecute(r ApiAdminRealmsRealmClientsClientUuidAuthzResourceServerSettingsGetRequest) (*ResourceServerRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ResourceServerRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ResourceServerRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AdminRealmsRealmClientsClientUuidAuthzResourceServerSettingsGet") diff --git a/api_groups.go b/api_groups.go index f06eac1..7d86dce 100644 --- a/api_groups.go +++ b/api_groups.go @@ -19,15 +19,16 @@ import ( "strings" ) + // GroupsAPIService GroupsAPI service type GroupsAPIService service type ApiAdminRealmsRealmGroupsCountGetRequest struct { - ctx context.Context + ctx context.Context ApiService *GroupsAPIService - realm string - search *string - top *bool + realm string + search *string + top *bool } func (r ApiAdminRealmsRealmGroupsCountGetRequest) Search(search string) ApiAdminRealmsRealmGroupsCountGetRequest { @@ -47,27 +48,26 @@ func (r ApiAdminRealmsRealmGroupsCountGetRequest) Execute() (map[string]int64, * /* AdminRealmsRealmGroupsCountGet Returns the groups counts. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmGroupsCountGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmGroupsCountGetRequest */ func (a *GroupsAPIService) AdminRealmsRealmGroupsCountGet(ctx context.Context, realm string) ApiAdminRealmsRealmGroupsCountGetRequest { return ApiAdminRealmsRealmGroupsCountGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return map[string]int64 +// @return map[string]int64 func (a *GroupsAPIService) AdminRealmsRealmGroupsCountGetExecute(r ApiAdminRealmsRealmGroupsCountGetRequest) (map[string]int64, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue map[string]int64 + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue map[string]int64 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GroupsAPIService.AdminRealmsRealmGroupsCountGet") @@ -146,16 +146,16 @@ func (a *GroupsAPIService) AdminRealmsRealmGroupsCountGetExecute(r ApiAdminRealm } type ApiAdminRealmsRealmGroupsGetRequest struct { - ctx context.Context - ApiService *GroupsAPIService - realm string + ctx context.Context + ApiService *GroupsAPIService + realm string briefRepresentation *bool - exact *bool - first *int32 - max *int32 - populateHierarchy *bool - q *string - search *string + exact *bool + first *int32 + max *int32 + populateHierarchy *bool + q *string + search *string } func (r ApiAdminRealmsRealmGroupsGetRequest) BriefRepresentation(briefRepresentation bool) ApiAdminRealmsRealmGroupsGetRequest { @@ -198,29 +198,28 @@ func (r ApiAdminRealmsRealmGroupsGetRequest) Execute() ([]GroupRepresentation, * } /* -AdminRealmsRealmGroupsGet Get group hierarchy. Only name and ids are returned. +AdminRealmsRealmGroupsGet Get group hierarchy. Only `name` and `id` are returned. `subGroups` are only returned when using the `search` or `q` parameter. If none of these parameters is provided, the top-level groups are returned without `subGroups` being filled. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmGroupsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmGroupsGetRequest */ func (a *GroupsAPIService) AdminRealmsRealmGroupsGet(ctx context.Context, realm string) ApiAdminRealmsRealmGroupsGetRequest { return ApiAdminRealmsRealmGroupsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []GroupRepresentation +// @return []GroupRepresentation func (a *GroupsAPIService) AdminRealmsRealmGroupsGetExecute(r ApiAdminRealmsRealmGroupsGetRequest) ([]GroupRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []GroupRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []GroupRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GroupsAPIService.AdminRealmsRealmGroupsGet") @@ -320,15 +319,15 @@ func (a *GroupsAPIService) AdminRealmsRealmGroupsGetExecute(r ApiAdminRealmsReal } type ApiAdminRealmsRealmGroupsGroupIdChildrenGetRequest struct { - ctx context.Context - ApiService *GroupsAPIService - realm string - groupId string + ctx context.Context + ApiService *GroupsAPIService + realm string + groupId string briefRepresentation *bool - exact *bool - first *int32 - max *int32 - search *string + exact *bool + first *int32 + max *int32 + search *string } // Boolean which defines whether brief groups representations are returned or not (default: false) @@ -368,29 +367,28 @@ func (r ApiAdminRealmsRealmGroupsGroupIdChildrenGetRequest) Execute() ([]GroupRe /* AdminRealmsRealmGroupsGroupIdChildrenGet Return a paginated list of subgroups that have a parent group corresponding to the group on the URL - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param groupId - @return ApiAdminRealmsRealmGroupsGroupIdChildrenGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param groupId + @return ApiAdminRealmsRealmGroupsGroupIdChildrenGetRequest */ func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdChildrenGet(ctx context.Context, realm string, groupId string) ApiAdminRealmsRealmGroupsGroupIdChildrenGetRequest { return ApiAdminRealmsRealmGroupsGroupIdChildrenGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - groupId: groupId, + ctx: ctx, + realm: realm, + groupId: groupId, } } // Execute executes the request -// -// @return []GroupRepresentation +// @return []GroupRepresentation func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdChildrenGetExecute(r ApiAdminRealmsRealmGroupsGroupIdChildrenGetRequest) ([]GroupRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []GroupRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []GroupRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GroupsAPIService.AdminRealmsRealmGroupsGroupIdChildrenGet") @@ -479,10 +477,10 @@ func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdChildrenGetExecute(r Api } type ApiAdminRealmsRealmGroupsGroupIdChildrenPostRequest struct { - ctx context.Context - ApiService *GroupsAPIService - realm string - groupId string + ctx context.Context + ApiService *GroupsAPIService + realm string + groupId string groupRepresentation *GroupRepresentation } @@ -500,26 +498,26 @@ AdminRealmsRealmGroupsGroupIdChildrenPost Set or create child. This will just set the parent if it exists. Create it and set the parent if the group doesn’t exist. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param groupId - @return ApiAdminRealmsRealmGroupsGroupIdChildrenPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param groupId + @return ApiAdminRealmsRealmGroupsGroupIdChildrenPostRequest */ func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdChildrenPost(ctx context.Context, realm string, groupId string) ApiAdminRealmsRealmGroupsGroupIdChildrenPostRequest { return ApiAdminRealmsRealmGroupsGroupIdChildrenPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, - groupId: groupId, + ctx: ctx, + realm: realm, + groupId: groupId, } } // Execute executes the request func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdChildrenPostExecute(r ApiAdminRealmsRealmGroupsGroupIdChildrenPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GroupsAPIService.AdminRealmsRealmGroupsGroupIdChildrenPost") @@ -583,10 +581,10 @@ func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdChildrenPostExecute(r Ap } type ApiAdminRealmsRealmGroupsGroupIdDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *GroupsAPIService - realm string - groupId string + realm string + groupId string } func (r ApiAdminRealmsRealmGroupsGroupIdDeleteRequest) Execute() (*http.Response, error) { @@ -596,26 +594,26 @@ func (r ApiAdminRealmsRealmGroupsGroupIdDeleteRequest) Execute() (*http.Response /* AdminRealmsRealmGroupsGroupIdDelete Method for AdminRealmsRealmGroupsGroupIdDelete - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param groupId - @return ApiAdminRealmsRealmGroupsGroupIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param groupId + @return ApiAdminRealmsRealmGroupsGroupIdDeleteRequest */ func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdDelete(ctx context.Context, realm string, groupId string) ApiAdminRealmsRealmGroupsGroupIdDeleteRequest { return ApiAdminRealmsRealmGroupsGroupIdDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - groupId: groupId, + ctx: ctx, + realm: realm, + groupId: groupId, } } // Execute executes the request func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdDeleteExecute(r ApiAdminRealmsRealmGroupsGroupIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GroupsAPIService.AdminRealmsRealmGroupsGroupIdDelete") @@ -677,10 +675,10 @@ func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdDeleteExecute(r ApiAdmin } type ApiAdminRealmsRealmGroupsGroupIdGetRequest struct { - ctx context.Context + ctx context.Context ApiService *GroupsAPIService - realm string - groupId string + realm string + groupId string } func (r ApiAdminRealmsRealmGroupsGroupIdGetRequest) Execute() (*GroupRepresentation, *http.Response, error) { @@ -690,29 +688,28 @@ func (r ApiAdminRealmsRealmGroupsGroupIdGetRequest) Execute() (*GroupRepresentat /* AdminRealmsRealmGroupsGroupIdGet Method for AdminRealmsRealmGroupsGroupIdGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param groupId - @return ApiAdminRealmsRealmGroupsGroupIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param groupId + @return ApiAdminRealmsRealmGroupsGroupIdGetRequest */ func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdGet(ctx context.Context, realm string, groupId string) ApiAdminRealmsRealmGroupsGroupIdGetRequest { return ApiAdminRealmsRealmGroupsGroupIdGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - groupId: groupId, + ctx: ctx, + realm: realm, + groupId: groupId, } } // Execute executes the request -// -// @return GroupRepresentation +// @return GroupRepresentation func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdGetExecute(r ApiAdminRealmsRealmGroupsGroupIdGetRequest) (*GroupRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *GroupRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GroupRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GroupsAPIService.AdminRealmsRealmGroupsGroupIdGet") @@ -783,10 +780,10 @@ func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdGetExecute(r ApiAdminRea } type ApiAdminRealmsRealmGroupsGroupIdManagementPermissionsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *GroupsAPIService - realm string - groupId string + realm string + groupId string } func (r ApiAdminRealmsRealmGroupsGroupIdManagementPermissionsGetRequest) Execute() (*ManagementPermissionReference, *http.Response, error) { @@ -796,29 +793,28 @@ func (r ApiAdminRealmsRealmGroupsGroupIdManagementPermissionsGetRequest) Execute /* AdminRealmsRealmGroupsGroupIdManagementPermissionsGet Return object stating whether client Authorization permissions have been initialized or not and a reference - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param groupId - @return ApiAdminRealmsRealmGroupsGroupIdManagementPermissionsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param groupId + @return ApiAdminRealmsRealmGroupsGroupIdManagementPermissionsGetRequest */ func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdManagementPermissionsGet(ctx context.Context, realm string, groupId string) ApiAdminRealmsRealmGroupsGroupIdManagementPermissionsGetRequest { return ApiAdminRealmsRealmGroupsGroupIdManagementPermissionsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - groupId: groupId, + ctx: ctx, + realm: realm, + groupId: groupId, } } // Execute executes the request -// -// @return ManagementPermissionReference +// @return ManagementPermissionReference func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdManagementPermissionsGetExecute(r ApiAdminRealmsRealmGroupsGroupIdManagementPermissionsGetRequest) (*ManagementPermissionReference, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ManagementPermissionReference + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ManagementPermissionReference ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GroupsAPIService.AdminRealmsRealmGroupsGroupIdManagementPermissionsGet") @@ -889,10 +885,10 @@ func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdManagementPermissionsGet } type ApiAdminRealmsRealmGroupsGroupIdManagementPermissionsPutRequest struct { - ctx context.Context - ApiService *GroupsAPIService - realm string - groupId string + ctx context.Context + ApiService *GroupsAPIService + realm string + groupId string managementPermissionReference *ManagementPermissionReference } @@ -908,29 +904,28 @@ func (r ApiAdminRealmsRealmGroupsGroupIdManagementPermissionsPutRequest) Execute /* AdminRealmsRealmGroupsGroupIdManagementPermissionsPut Return object stating whether client Authorization permissions have been initialized or not and a reference - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param groupId - @return ApiAdminRealmsRealmGroupsGroupIdManagementPermissionsPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param groupId + @return ApiAdminRealmsRealmGroupsGroupIdManagementPermissionsPutRequest */ func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdManagementPermissionsPut(ctx context.Context, realm string, groupId string) ApiAdminRealmsRealmGroupsGroupIdManagementPermissionsPutRequest { return ApiAdminRealmsRealmGroupsGroupIdManagementPermissionsPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - groupId: groupId, + ctx: ctx, + realm: realm, + groupId: groupId, } } // Execute executes the request -// -// @return ManagementPermissionReference +// @return ManagementPermissionReference func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdManagementPermissionsPutExecute(r ApiAdminRealmsRealmGroupsGroupIdManagementPermissionsPutRequest) (*ManagementPermissionReference, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ManagementPermissionReference + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ManagementPermissionReference ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GroupsAPIService.AdminRealmsRealmGroupsGroupIdManagementPermissionsPut") @@ -1003,13 +998,13 @@ func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdManagementPermissionsPut } type ApiAdminRealmsRealmGroupsGroupIdMembersGetRequest struct { - ctx context.Context - ApiService *GroupsAPIService - realm string - groupId string + ctx context.Context + ApiService *GroupsAPIService + realm string + groupId string briefRepresentation *bool - first *int32 - max *int32 + first *int32 + max *int32 } // Only return basic information (only guaranteed to return id, username, created, first and last name, email, enabled state, email verification state, federation link, and access. Note that it means that namely user attributes, required actions, and not before are not returned.) @@ -1037,29 +1032,28 @@ func (r ApiAdminRealmsRealmGroupsGroupIdMembersGetRequest) Execute() ([]UserRepr /* AdminRealmsRealmGroupsGroupIdMembersGet Get users Returns a stream of users, filtered according to query parameters - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param groupId - @return ApiAdminRealmsRealmGroupsGroupIdMembersGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param groupId + @return ApiAdminRealmsRealmGroupsGroupIdMembersGetRequest */ func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdMembersGet(ctx context.Context, realm string, groupId string) ApiAdminRealmsRealmGroupsGroupIdMembersGetRequest { return ApiAdminRealmsRealmGroupsGroupIdMembersGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - groupId: groupId, + ctx: ctx, + realm: realm, + groupId: groupId, } } // Execute executes the request -// -// @return []UserRepresentation +// @return []UserRepresentation func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdMembersGetExecute(r ApiAdminRealmsRealmGroupsGroupIdMembersGetRequest) ([]UserRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []UserRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []UserRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GroupsAPIService.AdminRealmsRealmGroupsGroupIdMembersGet") @@ -1139,10 +1133,10 @@ func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdMembersGetExecute(r ApiA } type ApiAdminRealmsRealmGroupsGroupIdPutRequest struct { - ctx context.Context - ApiService *GroupsAPIService - realm string - groupId string + ctx context.Context + ApiService *GroupsAPIService + realm string + groupId string groupRepresentation *GroupRepresentation } @@ -1158,26 +1152,26 @@ func (r ApiAdminRealmsRealmGroupsGroupIdPutRequest) Execute() (*http.Response, e /* AdminRealmsRealmGroupsGroupIdPut Update group, ignores subgroups. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param groupId - @return ApiAdminRealmsRealmGroupsGroupIdPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param groupId + @return ApiAdminRealmsRealmGroupsGroupIdPutRequest */ func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdPut(ctx context.Context, realm string, groupId string) ApiAdminRealmsRealmGroupsGroupIdPutRequest { return ApiAdminRealmsRealmGroupsGroupIdPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - groupId: groupId, + ctx: ctx, + realm: realm, + groupId: groupId, } } // Execute executes the request func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdPutExecute(r ApiAdminRealmsRealmGroupsGroupIdPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GroupsAPIService.AdminRealmsRealmGroupsGroupIdPut") @@ -1241,9 +1235,9 @@ func (a *GroupsAPIService) AdminRealmsRealmGroupsGroupIdPutExecute(r ApiAdminRea } type ApiAdminRealmsRealmGroupsPostRequest struct { - ctx context.Context - ApiService *GroupsAPIService - realm string + ctx context.Context + ApiService *GroupsAPIService + realm string groupRepresentation *GroupRepresentation } @@ -1261,24 +1255,24 @@ AdminRealmsRealmGroupsPost create or add a top level realm groupSet or create ch This will update the group and set the parent if it exists. Create it and set the parent if the group doesn’t exist. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmGroupsPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmGroupsPostRequest */ func (a *GroupsAPIService) AdminRealmsRealmGroupsPost(ctx context.Context, realm string) ApiAdminRealmsRealmGroupsPostRequest { return ApiAdminRealmsRealmGroupsPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request func (a *GroupsAPIService) AdminRealmsRealmGroupsPostExecute(r ApiAdminRealmsRealmGroupsPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "GroupsAPIService.AdminRealmsRealmGroupsPost") diff --git a/api_identity_providers.go b/api_identity_providers.go index 0cbb9ac..3bf51fa 100644 --- a/api_identity_providers.go +++ b/api_identity_providers.go @@ -19,13 +19,14 @@ import ( "strings" ) + // IdentityProvidersAPIService IdentityProvidersAPI service type IdentityProvidersAPIService service type ApiAdminRealmsRealmIdentityProviderImportConfigPostRequest struct { - ctx context.Context - ApiService *IdentityProvidersAPIService - realm string + ctx context.Context + ApiService *IdentityProvidersAPIService + realm string requestBody *map[string]interface{} } @@ -43,27 +44,26 @@ AdminRealmsRealmIdentityProviderImportConfigPost Import identity provider from J Import identity provider from uploaded JSON file - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmIdentityProviderImportConfigPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmIdentityProviderImportConfigPostRequest */ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderImportConfigPost(ctx context.Context, realm string) ApiAdminRealmsRealmIdentityProviderImportConfigPostRequest { return ApiAdminRealmsRealmIdentityProviderImportConfigPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return map[string]string +// @return map[string]string func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderImportConfigPostExecute(r ApiAdminRealmsRealmIdentityProviderImportConfigPostRequest) (map[string]string, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue map[string]string + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue map[string]string ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityProvidersAPIService.AdminRealmsRealmIdentityProviderImportConfigPost") @@ -135,10 +135,10 @@ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderImportConf } type ApiAdminRealmsRealmIdentityProviderInstancesAliasDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *IdentityProvidersAPIService - realm string - alias string + realm string + alias string } func (r ApiAdminRealmsRealmIdentityProviderInstancesAliasDeleteRequest) Execute() (*http.Response, error) { @@ -148,26 +148,26 @@ func (r ApiAdminRealmsRealmIdentityProviderInstancesAliasDeleteRequest) Execute( /* AdminRealmsRealmIdentityProviderInstancesAliasDelete Delete the identity provider - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param alias - @return ApiAdminRealmsRealmIdentityProviderInstancesAliasDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param alias + @return ApiAdminRealmsRealmIdentityProviderInstancesAliasDeleteRequest */ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasDelete(ctx context.Context, realm string, alias string) ApiAdminRealmsRealmIdentityProviderInstancesAliasDeleteRequest { return ApiAdminRealmsRealmIdentityProviderInstancesAliasDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - alias: alias, + ctx: ctx, + realm: realm, + alias: alias, } } // Execute executes the request func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasDeleteExecute(r ApiAdminRealmsRealmIdentityProviderInstancesAliasDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityProvidersAPIService.AdminRealmsRealmIdentityProviderInstancesAliasDelete") @@ -229,11 +229,11 @@ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesA } type ApiAdminRealmsRealmIdentityProviderInstancesAliasExportGetRequest struct { - ctx context.Context + ctx context.Context ApiService *IdentityProvidersAPIService - realm string - alias string - format *string + realm string + alias string + format *string } // Format to use @@ -249,26 +249,26 @@ func (r ApiAdminRealmsRealmIdentityProviderInstancesAliasExportGetRequest) Execu /* AdminRealmsRealmIdentityProviderInstancesAliasExportGet Export public broker configuration for identity provider - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param alias - @return ApiAdminRealmsRealmIdentityProviderInstancesAliasExportGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param alias + @return ApiAdminRealmsRealmIdentityProviderInstancesAliasExportGetRequest */ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasExportGet(ctx context.Context, realm string, alias string) ApiAdminRealmsRealmIdentityProviderInstancesAliasExportGetRequest { return ApiAdminRealmsRealmIdentityProviderInstancesAliasExportGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - alias: alias, + ctx: ctx, + realm: realm, + alias: alias, } } // Execute executes the request func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasExportGetExecute(r ApiAdminRealmsRealmIdentityProviderInstancesAliasExportGetRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityProvidersAPIService.AdminRealmsRealmIdentityProviderInstancesAliasExportGet") @@ -333,10 +333,10 @@ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesA } type ApiAdminRealmsRealmIdentityProviderInstancesAliasGetRequest struct { - ctx context.Context + ctx context.Context ApiService *IdentityProvidersAPIService - realm string - alias string + realm string + alias string } func (r ApiAdminRealmsRealmIdentityProviderInstancesAliasGetRequest) Execute() (*IdentityProviderRepresentation, *http.Response, error) { @@ -346,29 +346,28 @@ func (r ApiAdminRealmsRealmIdentityProviderInstancesAliasGetRequest) Execute() ( /* AdminRealmsRealmIdentityProviderInstancesAliasGet Get the identity provider - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param alias - @return ApiAdminRealmsRealmIdentityProviderInstancesAliasGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param alias + @return ApiAdminRealmsRealmIdentityProviderInstancesAliasGetRequest */ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasGet(ctx context.Context, realm string, alias string) ApiAdminRealmsRealmIdentityProviderInstancesAliasGetRequest { return ApiAdminRealmsRealmIdentityProviderInstancesAliasGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - alias: alias, + ctx: ctx, + realm: realm, + alias: alias, } } // Execute executes the request -// -// @return IdentityProviderRepresentation +// @return IdentityProviderRepresentation func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasGetExecute(r ApiAdminRealmsRealmIdentityProviderInstancesAliasGetRequest) (*IdentityProviderRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *IdentityProviderRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *IdentityProviderRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityProvidersAPIService.AdminRealmsRealmIdentityProviderInstancesAliasGet") @@ -439,10 +438,10 @@ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesA } type ApiAdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *IdentityProvidersAPIService - realm string - alias string + realm string + alias string } func (r ApiAdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsGetRequest) Execute() (*ManagementPermissionReference, *http.Response, error) { @@ -452,29 +451,28 @@ func (r ApiAdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsGe /* AdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsGet Return object stating whether client Authorization permissions have been initialized or not and a reference - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param alias - @return ApiAdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param alias + @return ApiAdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsGetRequest */ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsGet(ctx context.Context, realm string, alias string) ApiAdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsGetRequest { return ApiAdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - alias: alias, + ctx: ctx, + realm: realm, + alias: alias, } } // Execute executes the request -// -// @return ManagementPermissionReference +// @return ManagementPermissionReference func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsGetExecute(r ApiAdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsGetRequest) (*ManagementPermissionReference, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ManagementPermissionReference + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ManagementPermissionReference ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityProvidersAPIService.AdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsGet") @@ -545,10 +543,10 @@ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesA } type ApiAdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsPutRequest struct { - ctx context.Context - ApiService *IdentityProvidersAPIService - realm string - alias string + ctx context.Context + ApiService *IdentityProvidersAPIService + realm string + alias string managementPermissionReference *ManagementPermissionReference } @@ -564,29 +562,28 @@ func (r ApiAdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsPu /* AdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsPut Return object stating whether client Authorization permissions have been initialized or not and a reference - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param alias - @return ApiAdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param alias + @return ApiAdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsPutRequest */ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsPut(ctx context.Context, realm string, alias string) ApiAdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsPutRequest { return ApiAdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - alias: alias, + ctx: ctx, + realm: realm, + alias: alias, } } // Execute executes the request -// -// @return ManagementPermissionReference +// @return ManagementPermissionReference func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsPutExecute(r ApiAdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsPutRequest) (*ManagementPermissionReference, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ManagementPermissionReference + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ManagementPermissionReference ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityProvidersAPIService.AdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsPut") @@ -659,10 +656,10 @@ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesA } type ApiAdminRealmsRealmIdentityProviderInstancesAliasMapperTypesGetRequest struct { - ctx context.Context + ctx context.Context ApiService *IdentityProvidersAPIService - realm string - alias string + realm string + alias string } func (r ApiAdminRealmsRealmIdentityProviderInstancesAliasMapperTypesGetRequest) Execute() (*map[string]IdentityProviderMapperTypeRepresentation, *http.Response, error) { @@ -672,29 +669,28 @@ func (r ApiAdminRealmsRealmIdentityProviderInstancesAliasMapperTypesGetRequest) /* AdminRealmsRealmIdentityProviderInstancesAliasMapperTypesGet Get mapper types for identity provider - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param alias - @return ApiAdminRealmsRealmIdentityProviderInstancesAliasMapperTypesGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param alias + @return ApiAdminRealmsRealmIdentityProviderInstancesAliasMapperTypesGetRequest */ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasMapperTypesGet(ctx context.Context, realm string, alias string) ApiAdminRealmsRealmIdentityProviderInstancesAliasMapperTypesGetRequest { return ApiAdminRealmsRealmIdentityProviderInstancesAliasMapperTypesGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - alias: alias, + ctx: ctx, + realm: realm, + alias: alias, } } // Execute executes the request -// -// @return map[string]IdentityProviderMapperTypeRepresentation +// @return map[string]IdentityProviderMapperTypeRepresentation func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasMapperTypesGetExecute(r ApiAdminRealmsRealmIdentityProviderInstancesAliasMapperTypesGetRequest) (*map[string]IdentityProviderMapperTypeRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *map[string]IdentityProviderMapperTypeRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *map[string]IdentityProviderMapperTypeRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityProvidersAPIService.AdminRealmsRealmIdentityProviderInstancesAliasMapperTypesGet") @@ -765,10 +761,10 @@ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesA } type ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersGetRequest struct { - ctx context.Context + ctx context.Context ApiService *IdentityProvidersAPIService - realm string - alias string + realm string + alias string } func (r ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersGetRequest) Execute() ([]IdentityProviderMapperRepresentation, *http.Response, error) { @@ -778,29 +774,28 @@ func (r ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersGetRequest) Exec /* AdminRealmsRealmIdentityProviderInstancesAliasMappersGet Get mappers for identity provider - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param alias - @return ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param alias + @return ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersGetRequest */ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasMappersGet(ctx context.Context, realm string, alias string) ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersGetRequest { return ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - alias: alias, + ctx: ctx, + realm: realm, + alias: alias, } } // Execute executes the request -// -// @return []IdentityProviderMapperRepresentation +// @return []IdentityProviderMapperRepresentation func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasMappersGetExecute(r ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersGetRequest) ([]IdentityProviderMapperRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []IdentityProviderMapperRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []IdentityProviderMapperRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityProvidersAPIService.AdminRealmsRealmIdentityProviderInstancesAliasMappersGet") @@ -871,11 +866,11 @@ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesA } type ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersIdDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *IdentityProvidersAPIService - realm string - alias string - id string + realm string + alias string + id string } func (r ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersIdDeleteRequest) Execute() (*http.Response, error) { @@ -885,28 +880,28 @@ func (r ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersIdDeleteRequest) /* AdminRealmsRealmIdentityProviderInstancesAliasMappersIdDelete Delete a mapper for the identity provider - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param alias - @param id Mapper id - @return ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param alias + @param id Mapper id + @return ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersIdDeleteRequest */ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasMappersIdDelete(ctx context.Context, realm string, alias string, id string) ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersIdDeleteRequest { return ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersIdDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - alias: alias, - id: id, + ctx: ctx, + realm: realm, + alias: alias, + id: id, } } // Execute executes the request func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasMappersIdDeleteExecute(r ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityProvidersAPIService.AdminRealmsRealmIdentityProviderInstancesAliasMappersIdDelete") @@ -969,11 +964,11 @@ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesA } type ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersIdGetRequest struct { - ctx context.Context + ctx context.Context ApiService *IdentityProvidersAPIService - realm string - alias string - id string + realm string + alias string + id string } func (r ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersIdGetRequest) Execute() (*IdentityProviderMapperRepresentation, *http.Response, error) { @@ -983,31 +978,30 @@ func (r ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersIdGetRequest) Ex /* AdminRealmsRealmIdentityProviderInstancesAliasMappersIdGet Get mapper by id for the identity provider - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param alias - @param id - @return ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param alias + @param id + @return ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersIdGetRequest */ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasMappersIdGet(ctx context.Context, realm string, alias string, id string) ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersIdGetRequest { return ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersIdGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - alias: alias, - id: id, + ctx: ctx, + realm: realm, + alias: alias, + id: id, } } // Execute executes the request -// -// @return IdentityProviderMapperRepresentation +// @return IdentityProviderMapperRepresentation func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasMappersIdGetExecute(r ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersIdGetRequest) (*IdentityProviderMapperRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *IdentityProviderMapperRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *IdentityProviderMapperRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityProvidersAPIService.AdminRealmsRealmIdentityProviderInstancesAliasMappersIdGet") @@ -1079,11 +1073,11 @@ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesA } type ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersIdPutRequest struct { - ctx context.Context - ApiService *IdentityProvidersAPIService - realm string - alias string - id string + ctx context.Context + ApiService *IdentityProvidersAPIService + realm string + alias string + id string identityProviderMapperRepresentation *IdentityProviderMapperRepresentation } @@ -1099,28 +1093,28 @@ func (r ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersIdPutRequest) Ex /* AdminRealmsRealmIdentityProviderInstancesAliasMappersIdPut Update a mapper for the identity provider - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param alias - @param id Mapper id - @return ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersIdPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param alias + @param id Mapper id + @return ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersIdPutRequest */ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasMappersIdPut(ctx context.Context, realm string, alias string, id string) ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersIdPutRequest { return ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersIdPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - alias: alias, - id: id, + ctx: ctx, + realm: realm, + alias: alias, + id: id, } } // Execute executes the request func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasMappersIdPutExecute(r ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersIdPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityProvidersAPIService.AdminRealmsRealmIdentityProviderInstancesAliasMappersIdPut") @@ -1185,10 +1179,10 @@ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesA } type ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersPostRequest struct { - ctx context.Context - ApiService *IdentityProvidersAPIService - realm string - alias string + ctx context.Context + ApiService *IdentityProvidersAPIService + realm string + alias string identityProviderMapperRepresentation *IdentityProviderMapperRepresentation } @@ -1204,26 +1198,26 @@ func (r ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersPostRequest) Exe /* AdminRealmsRealmIdentityProviderInstancesAliasMappersPost Add a mapper to identity provider - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param alias - @return ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param alias + @return ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersPostRequest */ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasMappersPost(ctx context.Context, realm string, alias string) ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersPostRequest { return ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, - alias: alias, + ctx: ctx, + realm: realm, + alias: alias, } } // Execute executes the request func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasMappersPostExecute(r ApiAdminRealmsRealmIdentityProviderInstancesAliasMappersPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityProvidersAPIService.AdminRealmsRealmIdentityProviderInstancesAliasMappersPost") @@ -1287,10 +1281,10 @@ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesA } type ApiAdminRealmsRealmIdentityProviderInstancesAliasPutRequest struct { - ctx context.Context - ApiService *IdentityProvidersAPIService - realm string - alias string + ctx context.Context + ApiService *IdentityProvidersAPIService + realm string + alias string identityProviderRepresentation *IdentityProviderRepresentation } @@ -1306,26 +1300,26 @@ func (r ApiAdminRealmsRealmIdentityProviderInstancesAliasPutRequest) Execute() ( /* AdminRealmsRealmIdentityProviderInstancesAliasPut Update the identity provider - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param alias - @return ApiAdminRealmsRealmIdentityProviderInstancesAliasPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param alias + @return ApiAdminRealmsRealmIdentityProviderInstancesAliasPutRequest */ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasPut(ctx context.Context, realm string, alias string) ApiAdminRealmsRealmIdentityProviderInstancesAliasPutRequest { return ApiAdminRealmsRealmIdentityProviderInstancesAliasPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - alias: alias, + ctx: ctx, + realm: realm, + alias: alias, } } // Execute executes the request func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasPutExecute(r ApiAdminRealmsRealmIdentityProviderInstancesAliasPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityProvidersAPIService.AdminRealmsRealmIdentityProviderInstancesAliasPut") @@ -1389,10 +1383,10 @@ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesA } type ApiAdminRealmsRealmIdentityProviderInstancesAliasReloadKeysGetRequest struct { - ctx context.Context + ctx context.Context ApiService *IdentityProvidersAPIService - realm string - alias string + realm string + alias string } func (r ApiAdminRealmsRealmIdentityProviderInstancesAliasReloadKeysGetRequest) Execute() (bool, *http.Response, error) { @@ -1402,29 +1396,28 @@ func (r ApiAdminRealmsRealmIdentityProviderInstancesAliasReloadKeysGetRequest) E /* AdminRealmsRealmIdentityProviderInstancesAliasReloadKeysGet Reaload keys for the identity provider if the provider supports it, \"true\" is returned if reload was performed, \"false\" if not. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param alias - @return ApiAdminRealmsRealmIdentityProviderInstancesAliasReloadKeysGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param alias + @return ApiAdminRealmsRealmIdentityProviderInstancesAliasReloadKeysGetRequest */ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasReloadKeysGet(ctx context.Context, realm string, alias string) ApiAdminRealmsRealmIdentityProviderInstancesAliasReloadKeysGetRequest { return ApiAdminRealmsRealmIdentityProviderInstancesAliasReloadKeysGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - alias: alias, + ctx: ctx, + realm: realm, + alias: alias, } } // Execute executes the request -// -// @return bool +// @return bool func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesAliasReloadKeysGetExecute(r ApiAdminRealmsRealmIdentityProviderInstancesAliasReloadKeysGetRequest) (bool, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue bool + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue bool ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityProvidersAPIService.AdminRealmsRealmIdentityProviderInstancesAliasReloadKeysGet") @@ -1495,14 +1488,14 @@ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesA } type ApiAdminRealmsRealmIdentityProviderInstancesGetRequest struct { - ctx context.Context - ApiService *IdentityProvidersAPIService - realm string + ctx context.Context + ApiService *IdentityProvidersAPIService + realm string briefRepresentation *bool - first *int32 - max *int32 - realmOnly *bool - search *string + first *int32 + max *int32 + realmOnly *bool + search *string } // Boolean which defines whether brief representations are returned (default: false) @@ -1542,27 +1535,26 @@ func (r ApiAdminRealmsRealmIdentityProviderInstancesGetRequest) Execute() ([]Ide /* AdminRealmsRealmIdentityProviderInstancesGet List identity providers - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmIdentityProviderInstancesGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmIdentityProviderInstancesGetRequest */ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesGet(ctx context.Context, realm string) ApiAdminRealmsRealmIdentityProviderInstancesGetRequest { return ApiAdminRealmsRealmIdentityProviderInstancesGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []IdentityProviderRepresentation +// @return []IdentityProviderRepresentation func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesGetExecute(r ApiAdminRealmsRealmIdentityProviderInstancesGetRequest) ([]IdentityProviderRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []IdentityProviderRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []IdentityProviderRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityProvidersAPIService.AdminRealmsRealmIdentityProviderInstancesGet") @@ -1647,9 +1639,9 @@ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesG } type ApiAdminRealmsRealmIdentityProviderInstancesPostRequest struct { - ctx context.Context - ApiService *IdentityProvidersAPIService - realm string + ctx context.Context + ApiService *IdentityProvidersAPIService + realm string identityProviderRepresentation *IdentityProviderRepresentation } @@ -1665,24 +1657,24 @@ func (r ApiAdminRealmsRealmIdentityProviderInstancesPostRequest) Execute() (*htt /* AdminRealmsRealmIdentityProviderInstancesPost Create a new identity provider - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmIdentityProviderInstancesPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmIdentityProviderInstancesPostRequest */ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesPost(ctx context.Context, realm string) ApiAdminRealmsRealmIdentityProviderInstancesPostRequest { return ApiAdminRealmsRealmIdentityProviderInstancesPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesPostExecute(r ApiAdminRealmsRealmIdentityProviderInstancesPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityProvidersAPIService.AdminRealmsRealmIdentityProviderInstancesPost") @@ -1745,9 +1737,9 @@ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderInstancesP } type ApiAdminRealmsRealmIdentityProviderProvidersProviderIdGetRequest struct { - ctx context.Context + ctx context.Context ApiService *IdentityProvidersAPIService - realm string + realm string providerId string } @@ -1758,29 +1750,28 @@ func (r ApiAdminRealmsRealmIdentityProviderProvidersProviderIdGetRequest) Execut /* AdminRealmsRealmIdentityProviderProvidersProviderIdGet Get the identity provider factory for that provider id - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param providerId The provider id to get the factory - @return ApiAdminRealmsRealmIdentityProviderProvidersProviderIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param providerId The provider id to get the factory + @return ApiAdminRealmsRealmIdentityProviderProvidersProviderIdGetRequest */ func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderProvidersProviderIdGet(ctx context.Context, realm string, providerId string) ApiAdminRealmsRealmIdentityProviderProvidersProviderIdGetRequest { return ApiAdminRealmsRealmIdentityProviderProvidersProviderIdGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, providerId: providerId, } } // Execute executes the request -// -// @return map[string]interface{} +// @return map[string]interface{} func (a *IdentityProvidersAPIService) AdminRealmsRealmIdentityProviderProvidersProviderIdGetExecute(r ApiAdminRealmsRealmIdentityProviderProvidersProviderIdGetRequest) (map[string]interface{}, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue map[string]interface{} + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue map[string]interface{} ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IdentityProvidersAPIService.AdminRealmsRealmIdentityProviderProvidersProviderIdGet") diff --git a/api_key.go b/api_key.go index b6eed19..dab50df 100644 --- a/api_key.go +++ b/api_key.go @@ -19,13 +19,14 @@ import ( "strings" ) + // KeyAPIService KeyAPI service type KeyAPIService service type ApiAdminRealmsRealmKeysGetRequest struct { - ctx context.Context + ctx context.Context ApiService *KeyAPIService - realm string + realm string } func (r ApiAdminRealmsRealmKeysGetRequest) Execute() (*KeysMetadataRepresentation, *http.Response, error) { @@ -35,27 +36,26 @@ func (r ApiAdminRealmsRealmKeysGetRequest) Execute() (*KeysMetadataRepresentatio /* AdminRealmsRealmKeysGet Method for AdminRealmsRealmKeysGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmKeysGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmKeysGetRequest */ func (a *KeyAPIService) AdminRealmsRealmKeysGet(ctx context.Context, realm string) ApiAdminRealmsRealmKeysGetRequest { return ApiAdminRealmsRealmKeysGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return KeysMetadataRepresentation +// @return KeysMetadataRepresentation func (a *KeyAPIService) AdminRealmsRealmKeysGetExecute(r ApiAdminRealmsRealmKeysGetRequest) (*KeysMetadataRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *KeysMetadataRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *KeysMetadataRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "KeyAPIService.AdminRealmsRealmKeysGet") diff --git a/api_organizations.go b/api_organizations.go index 041cf58..cf7d0af 100644 --- a/api_organizations.go +++ b/api_organizations.go @@ -19,18 +19,26 @@ import ( "strings" ) + // OrganizationsAPIService OrganizationsAPI service type OrganizationsAPIService service type ApiAdminRealmsRealmOrganizationsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *OrganizationsAPIService - realm string - exact *bool - first *int32 - max *int32 - q *string - search *string + realm string + briefRepresentation *bool + exact *bool + first *int32 + max *int32 + q *string + search *string +} + +// if true, return the full representation. Otherwise, only the basic fields are returned. +func (r ApiAdminRealmsRealmOrganizationsGetRequest) BriefRepresentation(briefRepresentation bool) ApiAdminRealmsRealmOrganizationsGetRequest { + r.briefRepresentation = &briefRepresentation + return r } // Boolean which defines whether the param 'search' must match exactly or not @@ -70,27 +78,26 @@ func (r ApiAdminRealmsRealmOrganizationsGetRequest) Execute() ([]OrganizationRep /* AdminRealmsRealmOrganizationsGet Returns a paginated list of organizations filtered according to the specified parameters - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmOrganizationsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmOrganizationsGetRequest */ func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsGet(ctx context.Context, realm string) ApiAdminRealmsRealmOrganizationsGetRequest { return ApiAdminRealmsRealmOrganizationsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []OrganizationRepresentation +// @return []OrganizationRepresentation func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsGetExecute(r ApiAdminRealmsRealmOrganizationsGetRequest) ([]OrganizationRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []OrganizationRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []OrganizationRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsGet") @@ -105,6 +112,12 @@ func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsGetExecute(r ApiA localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.briefRepresentation != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "briefRepresentation", r.briefRepresentation, "form", "") + } else { + var defaultValue bool = false + r.briefRepresentation = &defaultValue + } if r.exact != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "exact", r.exact, "form", "") } @@ -174,50 +187,155 @@ func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsGetExecute(r ApiA return localVarReturnValue, localVarHTTPResponse, nil } -type ApiAdminRealmsRealmOrganizationsIdDeleteRequest struct { - ctx context.Context +type ApiAdminRealmsRealmOrganizationsMembersMemberIdOrganizationsGetRequest struct { + ctx context.Context + ApiService *OrganizationsAPIService + realm string + memberId string +} + +func (r ApiAdminRealmsRealmOrganizationsMembersMemberIdOrganizationsGetRequest) Execute() ([]OrganizationRepresentation, *http.Response, error) { + return r.ApiService.AdminRealmsRealmOrganizationsMembersMemberIdOrganizationsGetExecute(r) +} + +/* +AdminRealmsRealmOrganizationsMembersMemberIdOrganizationsGet Returns the organizations associated with the user that has the specified id + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param memberId + @return ApiAdminRealmsRealmOrganizationsMembersMemberIdOrganizationsGetRequest +*/ +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsMembersMemberIdOrganizationsGet(ctx context.Context, realm string, memberId string) ApiAdminRealmsRealmOrganizationsMembersMemberIdOrganizationsGetRequest { + return ApiAdminRealmsRealmOrganizationsMembersMemberIdOrganizationsGetRequest{ + ApiService: a, + ctx: ctx, + realm: realm, + memberId: memberId, + } +} + +// Execute executes the request +// @return []OrganizationRepresentation +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsMembersMemberIdOrganizationsGetExecute(r ApiAdminRealmsRealmOrganizationsMembersMemberIdOrganizationsGetRequest) ([]OrganizationRepresentation, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []OrganizationRepresentation + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsMembersMemberIdOrganizationsGet") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/admin/realms/{realm}/organizations/members/{member-id}/organizations" + localVarPath = strings.Replace(localVarPath, "{"+"realm"+"}", url.PathEscape(parameterValueToString(r.realm, "realm")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"member-id"+"}", url.PathEscape(parameterValueToString(r.memberId, "memberId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiAdminRealmsRealmOrganizationsOrgIdDeleteRequest struct { + ctx context.Context ApiService *OrganizationsAPIService - realm string - id string + realm string + orgId string } -func (r ApiAdminRealmsRealmOrganizationsIdDeleteRequest) Execute() (*http.Response, error) { - return r.ApiService.AdminRealmsRealmOrganizationsIdDeleteExecute(r) +func (r ApiAdminRealmsRealmOrganizationsOrgIdDeleteRequest) Execute() (*http.Response, error) { + return r.ApiService.AdminRealmsRealmOrganizationsOrgIdDeleteExecute(r) } /* -AdminRealmsRealmOrganizationsIdDelete Deletes the organization +AdminRealmsRealmOrganizationsOrgIdDelete Deletes the organization - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id - @return ApiAdminRealmsRealmOrganizationsIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param orgId + @return ApiAdminRealmsRealmOrganizationsOrgIdDeleteRequest */ -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdDelete(ctx context.Context, realm string, id string) ApiAdminRealmsRealmOrganizationsIdDeleteRequest { - return ApiAdminRealmsRealmOrganizationsIdDeleteRequest{ +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdDelete(ctx context.Context, realm string, orgId string) ApiAdminRealmsRealmOrganizationsOrgIdDeleteRequest { + return ApiAdminRealmsRealmOrganizationsOrgIdDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, + ctx: ctx, + realm: realm, + orgId: orgId, } } // Execute executes the request -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdDeleteExecute(r ApiAdminRealmsRealmOrganizationsIdDeleteRequest) (*http.Response, error) { +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdDeleteExecute(r ApiAdminRealmsRealmOrganizationsOrgIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsIdDelete") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsOrgIdDelete") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{id}" + localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{org-id}" localVarPath = strings.Replace(localVarPath, "{"+"realm"+"}", url.PathEscape(parameterValueToString(r.realm, "realm")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"org-id"+"}", url.PathEscape(parameterValueToString(r.orgId, "orgId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -268,53 +386,52 @@ func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdDeleteExecute(r return localVarHTTPResponse, nil } -type ApiAdminRealmsRealmOrganizationsIdGetRequest struct { - ctx context.Context +type ApiAdminRealmsRealmOrganizationsOrgIdGetRequest struct { + ctx context.Context ApiService *OrganizationsAPIService - realm string - id string + realm string + orgId string } -func (r ApiAdminRealmsRealmOrganizationsIdGetRequest) Execute() (*OrganizationRepresentation, *http.Response, error) { - return r.ApiService.AdminRealmsRealmOrganizationsIdGetExecute(r) +func (r ApiAdminRealmsRealmOrganizationsOrgIdGetRequest) Execute() (*OrganizationRepresentation, *http.Response, error) { + return r.ApiService.AdminRealmsRealmOrganizationsOrgIdGetExecute(r) } /* -AdminRealmsRealmOrganizationsIdGet Returns the organization representation +AdminRealmsRealmOrganizationsOrgIdGet Returns the organization representation - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id - @return ApiAdminRealmsRealmOrganizationsIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param orgId + @return ApiAdminRealmsRealmOrganizationsOrgIdGetRequest */ -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdGet(ctx context.Context, realm string, id string) ApiAdminRealmsRealmOrganizationsIdGetRequest { - return ApiAdminRealmsRealmOrganizationsIdGetRequest{ +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdGet(ctx context.Context, realm string, orgId string) ApiAdminRealmsRealmOrganizationsOrgIdGetRequest { + return ApiAdminRealmsRealmOrganizationsOrgIdGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, + ctx: ctx, + realm: realm, + orgId: orgId, } } // Execute executes the request -// -// @return OrganizationRepresentation -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdGetExecute(r ApiAdminRealmsRealmOrganizationsIdGetRequest) (*OrganizationRepresentation, *http.Response, error) { +// @return OrganizationRepresentation +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdGetExecute(r ApiAdminRealmsRealmOrganizationsOrgIdGetRequest) (*OrganizationRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *OrganizationRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *OrganizationRepresentation ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsIdGet") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsOrgIdGet") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{id}" + localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{org-id}" localVarPath = strings.Replace(localVarPath, "{"+"realm"+"}", url.PathEscape(parameterValueToString(r.realm, "realm")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"org-id"+"}", url.PathEscape(parameterValueToString(r.orgId, "orgId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -374,55 +491,55 @@ func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdGetExecute(r Ap return localVarReturnValue, localVarHTTPResponse, nil } -type ApiAdminRealmsRealmOrganizationsIdIdentityProvidersAliasDeleteRequest struct { - ctx context.Context +type ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasDeleteRequest struct { + ctx context.Context ApiService *OrganizationsAPIService - realm string - id string - alias string + realm string + orgId string + alias string } -func (r ApiAdminRealmsRealmOrganizationsIdIdentityProvidersAliasDeleteRequest) Execute() (*http.Response, error) { - return r.ApiService.AdminRealmsRealmOrganizationsIdIdentityProvidersAliasDeleteExecute(r) +func (r ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasDeleteRequest) Execute() (*http.Response, error) { + return r.ApiService.AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasDeleteExecute(r) } /* -AdminRealmsRealmOrganizationsIdIdentityProvidersAliasDelete Removes the identity provider with the specified alias from the organization +AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasDelete Removes the identity provider with the specified alias from the organization Breaks the association between the identity provider and the organization. The provider itself is not deleted. If no provider is found, or if it is not currently associated with the org, an error response is returned - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id - @param alias - @return ApiAdminRealmsRealmOrganizationsIdIdentityProvidersAliasDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param orgId + @param alias + @return ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasDeleteRequest */ -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdIdentityProvidersAliasDelete(ctx context.Context, realm string, id string, alias string) ApiAdminRealmsRealmOrganizationsIdIdentityProvidersAliasDeleteRequest { - return ApiAdminRealmsRealmOrganizationsIdIdentityProvidersAliasDeleteRequest{ +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasDelete(ctx context.Context, realm string, orgId string, alias string) ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasDeleteRequest { + return ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, - alias: alias, + ctx: ctx, + realm: realm, + orgId: orgId, + alias: alias, } } // Execute executes the request -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdIdentityProvidersAliasDeleteExecute(r ApiAdminRealmsRealmOrganizationsIdIdentityProvidersAliasDeleteRequest) (*http.Response, error) { +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasDeleteExecute(r ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsIdIdentityProvidersAliasDelete") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasDelete") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{id}/identity-providers/{alias}" + localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{org-id}/identity-providers/{alias}" localVarPath = strings.Replace(localVarPath, "{"+"realm"+"}", url.PathEscape(parameterValueToString(r.realm, "realm")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"org-id"+"}", url.PathEscape(parameterValueToString(r.orgId, "orgId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"alias"+"}", url.PathEscape(parameterValueToString(r.alias, "alias")), -1) localVarHeaderParams := make(map[string]string) @@ -474,58 +591,57 @@ func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdIdentityProvide return localVarHTTPResponse, nil } -type ApiAdminRealmsRealmOrganizationsIdIdentityProvidersAliasGetRequest struct { - ctx context.Context +type ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGetRequest struct { + ctx context.Context ApiService *OrganizationsAPIService - realm string - id string - alias string + realm string + orgId string + alias string } -func (r ApiAdminRealmsRealmOrganizationsIdIdentityProvidersAliasGetRequest) Execute() (*IdentityProviderRepresentation, *http.Response, error) { - return r.ApiService.AdminRealmsRealmOrganizationsIdIdentityProvidersAliasGetExecute(r) +func (r ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGetRequest) Execute() (*IdentityProviderRepresentation, *http.Response, error) { + return r.ApiService.AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGetExecute(r) } /* -AdminRealmsRealmOrganizationsIdIdentityProvidersAliasGet Returns the identity provider associated with the organization that has the specified alias +AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGet Returns the identity provider associated with the organization that has the specified alias Searches for an identity provider with the given alias. If one is found and is associated with the organization, it is returned. Otherwise, an error response with status NOT_FOUND is returned - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id - @param alias - @return ApiAdminRealmsRealmOrganizationsIdIdentityProvidersAliasGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param orgId + @param alias + @return ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGetRequest */ -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdIdentityProvidersAliasGet(ctx context.Context, realm string, id string, alias string) ApiAdminRealmsRealmOrganizationsIdIdentityProvidersAliasGetRequest { - return ApiAdminRealmsRealmOrganizationsIdIdentityProvidersAliasGetRequest{ +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGet(ctx context.Context, realm string, orgId string, alias string) ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGetRequest { + return ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, - alias: alias, + ctx: ctx, + realm: realm, + orgId: orgId, + alias: alias, } } // Execute executes the request -// -// @return IdentityProviderRepresentation -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdIdentityProvidersAliasGetExecute(r ApiAdminRealmsRealmOrganizationsIdIdentityProvidersAliasGetRequest) (*IdentityProviderRepresentation, *http.Response, error) { +// @return IdentityProviderRepresentation +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGetExecute(r ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGetRequest) (*IdentityProviderRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *IdentityProviderRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *IdentityProviderRepresentation ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsIdIdentityProvidersAliasGet") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGet") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{id}/identity-providers/{alias}" + localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{org-id}/identity-providers/{alias}" localVarPath = strings.Replace(localVarPath, "{"+"realm"+"}", url.PathEscape(parameterValueToString(r.realm, "realm")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"org-id"+"}", url.PathEscape(parameterValueToString(r.orgId, "orgId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"alias"+"}", url.PathEscape(parameterValueToString(r.alias, "alias")), -1) localVarHeaderParams := make(map[string]string) @@ -586,53 +702,52 @@ func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdIdentityProvide return localVarReturnValue, localVarHTTPResponse, nil } -type ApiAdminRealmsRealmOrganizationsIdIdentityProvidersGetRequest struct { - ctx context.Context +type ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersGetRequest struct { + ctx context.Context ApiService *OrganizationsAPIService - realm string - id string + realm string + orgId string } -func (r ApiAdminRealmsRealmOrganizationsIdIdentityProvidersGetRequest) Execute() ([]IdentityProviderRepresentation, *http.Response, error) { - return r.ApiService.AdminRealmsRealmOrganizationsIdIdentityProvidersGetExecute(r) +func (r ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersGetRequest) Execute() ([]IdentityProviderRepresentation, *http.Response, error) { + return r.ApiService.AdminRealmsRealmOrganizationsOrgIdIdentityProvidersGetExecute(r) } /* -AdminRealmsRealmOrganizationsIdIdentityProvidersGet Returns all identity providers associated with the organization +AdminRealmsRealmOrganizationsOrgIdIdentityProvidersGet Returns all identity providers associated with the organization - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id - @return ApiAdminRealmsRealmOrganizationsIdIdentityProvidersGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param orgId + @return ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersGetRequest */ -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdIdentityProvidersGet(ctx context.Context, realm string, id string) ApiAdminRealmsRealmOrganizationsIdIdentityProvidersGetRequest { - return ApiAdminRealmsRealmOrganizationsIdIdentityProvidersGetRequest{ +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdIdentityProvidersGet(ctx context.Context, realm string, orgId string) ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersGetRequest { + return ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, + ctx: ctx, + realm: realm, + orgId: orgId, } } // Execute executes the request -// -// @return []IdentityProviderRepresentation -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdIdentityProvidersGetExecute(r ApiAdminRealmsRealmOrganizationsIdIdentityProvidersGetRequest) ([]IdentityProviderRepresentation, *http.Response, error) { +// @return []IdentityProviderRepresentation +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdIdentityProvidersGetExecute(r ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersGetRequest) ([]IdentityProviderRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []IdentityProviderRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []IdentityProviderRepresentation ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsIdIdentityProvidersGet") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsOrgIdIdentityProvidersGet") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{id}/identity-providers" + localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{org-id}/identity-providers" localVarPath = strings.Replace(localVarPath, "{"+"realm"+"}", url.PathEscape(parameterValueToString(r.realm, "realm")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"org-id"+"}", url.PathEscape(parameterValueToString(r.orgId, "orgId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -692,58 +807,58 @@ func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdIdentityProvide return localVarReturnValue, localVarHTTPResponse, nil } -type ApiAdminRealmsRealmOrganizationsIdIdentityProvidersPostRequest struct { - ctx context.Context +type ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersPostRequest struct { + ctx context.Context ApiService *OrganizationsAPIService - realm string - id string - body *string + realm string + orgId string + body *string } -func (r ApiAdminRealmsRealmOrganizationsIdIdentityProvidersPostRequest) Body(body string) ApiAdminRealmsRealmOrganizationsIdIdentityProvidersPostRequest { +func (r ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersPostRequest) Body(body string) ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersPostRequest { r.body = &body return r } -func (r ApiAdminRealmsRealmOrganizationsIdIdentityProvidersPostRequest) Execute() (*http.Response, error) { - return r.ApiService.AdminRealmsRealmOrganizationsIdIdentityProvidersPostExecute(r) +func (r ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersPostRequest) Execute() (*http.Response, error) { + return r.ApiService.AdminRealmsRealmOrganizationsOrgIdIdentityProvidersPostExecute(r) } /* -AdminRealmsRealmOrganizationsIdIdentityProvidersPost Adds the identity provider with the specified id to the organization +AdminRealmsRealmOrganizationsOrgIdIdentityProvidersPost Adds the identity provider with the specified id to the organization Adds, or associates, an existing identity provider with the organization. If no identity provider is found, or if it is already associated with the organization, an error response is returned - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id - @return ApiAdminRealmsRealmOrganizationsIdIdentityProvidersPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param orgId + @return ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersPostRequest */ -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdIdentityProvidersPost(ctx context.Context, realm string, id string) ApiAdminRealmsRealmOrganizationsIdIdentityProvidersPostRequest { - return ApiAdminRealmsRealmOrganizationsIdIdentityProvidersPostRequest{ +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdIdentityProvidersPost(ctx context.Context, realm string, orgId string) ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersPostRequest { + return ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, + ctx: ctx, + realm: realm, + orgId: orgId, } } // Execute executes the request -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdIdentityProvidersPostExecute(r ApiAdminRealmsRealmOrganizationsIdIdentityProvidersPostRequest) (*http.Response, error) { +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdIdentityProvidersPostExecute(r ApiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsIdIdentityProvidersPost") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsOrgIdIdentityProvidersPost") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{id}/identity-providers" + localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{org-id}/identity-providers" localVarPath = strings.Replace(localVarPath, "{"+"realm"+"}", url.PathEscape(parameterValueToString(r.realm, "realm")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"org-id"+"}", url.PathEscape(parameterValueToString(r.orgId, "orgId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -796,53 +911,52 @@ func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdIdentityProvide return localVarHTTPResponse, nil } -type ApiAdminRealmsRealmOrganizationsIdMembersCountGetRequest struct { - ctx context.Context +type ApiAdminRealmsRealmOrganizationsOrgIdMembersCountGetRequest struct { + ctx context.Context ApiService *OrganizationsAPIService - realm string - id string + realm string + orgId string } -func (r ApiAdminRealmsRealmOrganizationsIdMembersCountGetRequest) Execute() (int64, *http.Response, error) { - return r.ApiService.AdminRealmsRealmOrganizationsIdMembersCountGetExecute(r) +func (r ApiAdminRealmsRealmOrganizationsOrgIdMembersCountGetRequest) Execute() (int64, *http.Response, error) { + return r.ApiService.AdminRealmsRealmOrganizationsOrgIdMembersCountGetExecute(r) } /* -AdminRealmsRealmOrganizationsIdMembersCountGet Returns number of members in the organization. +AdminRealmsRealmOrganizationsOrgIdMembersCountGet Returns number of members in the organization. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id - @return ApiAdminRealmsRealmOrganizationsIdMembersCountGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param orgId + @return ApiAdminRealmsRealmOrganizationsOrgIdMembersCountGetRequest */ -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersCountGet(ctx context.Context, realm string, id string) ApiAdminRealmsRealmOrganizationsIdMembersCountGetRequest { - return ApiAdminRealmsRealmOrganizationsIdMembersCountGetRequest{ +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdMembersCountGet(ctx context.Context, realm string, orgId string) ApiAdminRealmsRealmOrganizationsOrgIdMembersCountGetRequest { + return ApiAdminRealmsRealmOrganizationsOrgIdMembersCountGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, + ctx: ctx, + realm: realm, + orgId: orgId, } } // Execute executes the request -// -// @return int64 -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersCountGetExecute(r ApiAdminRealmsRealmOrganizationsIdMembersCountGetRequest) (int64, *http.Response, error) { +// @return int64 +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdMembersCountGetExecute(r ApiAdminRealmsRealmOrganizationsOrgIdMembersCountGetRequest) (int64, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue int64 + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue int64 ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsIdMembersCountGet") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsOrgIdMembersCountGet") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{id}/members/count" + localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{org-id}/members/count" localVarPath = strings.Replace(localVarPath, "{"+"realm"+"}", url.PathEscape(parameterValueToString(r.realm, "realm")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"org-id"+"}", url.PathEscape(parameterValueToString(r.orgId, "orgId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -902,81 +1016,87 @@ func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersCountGet return localVarReturnValue, localVarHTTPResponse, nil } -type ApiAdminRealmsRealmOrganizationsIdMembersGetRequest struct { - ctx context.Context +type ApiAdminRealmsRealmOrganizationsOrgIdMembersGetRequest struct { + ctx context.Context ApiService *OrganizationsAPIService - realm string - id string - exact *bool - first *int32 - max *int32 - search *string + realm string + orgId string + exact *bool + first *int32 + max *int32 + membershipType *string + search *string } // Boolean which defines whether the param 'search' must match exactly or not -func (r ApiAdminRealmsRealmOrganizationsIdMembersGetRequest) Exact(exact bool) ApiAdminRealmsRealmOrganizationsIdMembersGetRequest { +func (r ApiAdminRealmsRealmOrganizationsOrgIdMembersGetRequest) Exact(exact bool) ApiAdminRealmsRealmOrganizationsOrgIdMembersGetRequest { r.exact = &exact return r } // The position of the first result to be processed (pagination offset) -func (r ApiAdminRealmsRealmOrganizationsIdMembersGetRequest) First(first int32) ApiAdminRealmsRealmOrganizationsIdMembersGetRequest { +func (r ApiAdminRealmsRealmOrganizationsOrgIdMembersGetRequest) First(first int32) ApiAdminRealmsRealmOrganizationsOrgIdMembersGetRequest { r.first = &first return r } // The maximum number of results to be returned. Defaults to 10 -func (r ApiAdminRealmsRealmOrganizationsIdMembersGetRequest) Max(max int32) ApiAdminRealmsRealmOrganizationsIdMembersGetRequest { +func (r ApiAdminRealmsRealmOrganizationsOrgIdMembersGetRequest) Max(max int32) ApiAdminRealmsRealmOrganizationsOrgIdMembersGetRequest { r.max = &max return r } +// The membership type +func (r ApiAdminRealmsRealmOrganizationsOrgIdMembersGetRequest) MembershipType(membershipType string) ApiAdminRealmsRealmOrganizationsOrgIdMembersGetRequest { + r.membershipType = &membershipType + return r +} + // A String representing either a member's username, e-mail, first name, or last name. -func (r ApiAdminRealmsRealmOrganizationsIdMembersGetRequest) Search(search string) ApiAdminRealmsRealmOrganizationsIdMembersGetRequest { +func (r ApiAdminRealmsRealmOrganizationsOrgIdMembersGetRequest) Search(search string) ApiAdminRealmsRealmOrganizationsOrgIdMembersGetRequest { r.search = &search return r } -func (r ApiAdminRealmsRealmOrganizationsIdMembersGetRequest) Execute() ([]MemberRepresentation, *http.Response, error) { - return r.ApiService.AdminRealmsRealmOrganizationsIdMembersGetExecute(r) +func (r ApiAdminRealmsRealmOrganizationsOrgIdMembersGetRequest) Execute() ([]MemberRepresentation, *http.Response, error) { + return r.ApiService.AdminRealmsRealmOrganizationsOrgIdMembersGetExecute(r) } /* -AdminRealmsRealmOrganizationsIdMembersGet Returns a paginated list of organization members filtered according to the specified parameters +AdminRealmsRealmOrganizationsOrgIdMembersGet Returns a paginated list of organization members filtered according to the specified parameters - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id - @return ApiAdminRealmsRealmOrganizationsIdMembersGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param orgId + @return ApiAdminRealmsRealmOrganizationsOrgIdMembersGetRequest */ -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersGet(ctx context.Context, realm string, id string) ApiAdminRealmsRealmOrganizationsIdMembersGetRequest { - return ApiAdminRealmsRealmOrganizationsIdMembersGetRequest{ +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdMembersGet(ctx context.Context, realm string, orgId string) ApiAdminRealmsRealmOrganizationsOrgIdMembersGetRequest { + return ApiAdminRealmsRealmOrganizationsOrgIdMembersGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, + ctx: ctx, + realm: realm, + orgId: orgId, } } // Execute executes the request -// -// @return []MemberRepresentation -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersGetExecute(r ApiAdminRealmsRealmOrganizationsIdMembersGetRequest) ([]MemberRepresentation, *http.Response, error) { +// @return []MemberRepresentation +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdMembersGetExecute(r ApiAdminRealmsRealmOrganizationsOrgIdMembersGetRequest) ([]MemberRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []MemberRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []MemberRepresentation ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsIdMembersGet") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsOrgIdMembersGet") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{id}/members" + localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{org-id}/members" localVarPath = strings.Replace(localVarPath, "{"+"realm"+"}", url.PathEscape(parameterValueToString(r.realm, "realm")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"org-id"+"}", url.PathEscape(parameterValueToString(r.orgId, "orgId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -991,6 +1111,9 @@ func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersGetExecu if r.max != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "max", r.max, "form", "") } + if r.membershipType != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "membershipType", r.membershipType, "form", "") + } if r.search != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "search", r.search, "form", "") } @@ -1048,56 +1171,56 @@ func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersGetExecu return localVarReturnValue, localVarHTTPResponse, nil } -type ApiAdminRealmsRealmOrganizationsIdMembersInviteExistingUserPostRequest struct { - ctx context.Context +type ApiAdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUserPostRequest struct { + ctx context.Context ApiService *OrganizationsAPIService - realm string - id string - id2 *string + realm string + orgId string + id *string } -func (r ApiAdminRealmsRealmOrganizationsIdMembersInviteExistingUserPostRequest) Id2(id2 string) ApiAdminRealmsRealmOrganizationsIdMembersInviteExistingUserPostRequest { - r.id2 = &id2 +func (r ApiAdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUserPostRequest) Id(id string) ApiAdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUserPostRequest { + r.id = &id return r } -func (r ApiAdminRealmsRealmOrganizationsIdMembersInviteExistingUserPostRequest) Execute() (*http.Response, error) { - return r.ApiService.AdminRealmsRealmOrganizationsIdMembersInviteExistingUserPostExecute(r) +func (r ApiAdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUserPostRequest) Execute() (*http.Response, error) { + return r.ApiService.AdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUserPostExecute(r) } /* -AdminRealmsRealmOrganizationsIdMembersInviteExistingUserPost Invites an existing user to the organization, using the specified user id +AdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUserPost Invites an existing user to the organization, using the specified user id - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id - @return ApiAdminRealmsRealmOrganizationsIdMembersInviteExistingUserPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param orgId + @return ApiAdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUserPostRequest */ -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersInviteExistingUserPost(ctx context.Context, realm string, id string) ApiAdminRealmsRealmOrganizationsIdMembersInviteExistingUserPostRequest { - return ApiAdminRealmsRealmOrganizationsIdMembersInviteExistingUserPostRequest{ +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUserPost(ctx context.Context, realm string, orgId string) ApiAdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUserPostRequest { + return ApiAdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUserPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, + ctx: ctx, + realm: realm, + orgId: orgId, } } // Execute executes the request -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersInviteExistingUserPostExecute(r ApiAdminRealmsRealmOrganizationsIdMembersInviteExistingUserPostRequest) (*http.Response, error) { +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUserPostExecute(r ApiAdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUserPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsIdMembersInviteExistingUserPost") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUserPost") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{id}/members/invite-existing-user" + localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{org-id}/members/invite-existing-user" localVarPath = strings.Replace(localVarPath, "{"+"realm"+"}", url.PathEscape(parameterValueToString(r.realm, "realm")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"org-id"+"}", url.PathEscape(parameterValueToString(r.orgId, "orgId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -1120,8 +1243,8 @@ func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersInviteEx if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - if r.id2 != nil { - parameterAddToHeaderOrQuery(localVarFormParams, "id", r.id2, "", "") + if r.id != nil { + parameterAddToHeaderOrQuery(localVarFormParams, "id", r.id, "", "") } req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { @@ -1151,70 +1274,70 @@ func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersInviteEx return localVarHTTPResponse, nil } -type ApiAdminRealmsRealmOrganizationsIdMembersInviteUserPostRequest struct { - ctx context.Context +type ApiAdminRealmsRealmOrganizationsOrgIdMembersInviteUserPostRequest struct { + ctx context.Context ApiService *OrganizationsAPIService - realm string - id string - email *string - firstName *string - lastName *string + realm string + orgId string + email *string + firstName *string + lastName *string } -func (r ApiAdminRealmsRealmOrganizationsIdMembersInviteUserPostRequest) Email(email string) ApiAdminRealmsRealmOrganizationsIdMembersInviteUserPostRequest { +func (r ApiAdminRealmsRealmOrganizationsOrgIdMembersInviteUserPostRequest) Email(email string) ApiAdminRealmsRealmOrganizationsOrgIdMembersInviteUserPostRequest { r.email = &email return r } -func (r ApiAdminRealmsRealmOrganizationsIdMembersInviteUserPostRequest) FirstName(firstName string) ApiAdminRealmsRealmOrganizationsIdMembersInviteUserPostRequest { +func (r ApiAdminRealmsRealmOrganizationsOrgIdMembersInviteUserPostRequest) FirstName(firstName string) ApiAdminRealmsRealmOrganizationsOrgIdMembersInviteUserPostRequest { r.firstName = &firstName return r } -func (r ApiAdminRealmsRealmOrganizationsIdMembersInviteUserPostRequest) LastName(lastName string) ApiAdminRealmsRealmOrganizationsIdMembersInviteUserPostRequest { +func (r ApiAdminRealmsRealmOrganizationsOrgIdMembersInviteUserPostRequest) LastName(lastName string) ApiAdminRealmsRealmOrganizationsOrgIdMembersInviteUserPostRequest { r.lastName = &lastName return r } -func (r ApiAdminRealmsRealmOrganizationsIdMembersInviteUserPostRequest) Execute() (*http.Response, error) { - return r.ApiService.AdminRealmsRealmOrganizationsIdMembersInviteUserPostExecute(r) +func (r ApiAdminRealmsRealmOrganizationsOrgIdMembersInviteUserPostRequest) Execute() (*http.Response, error) { + return r.ApiService.AdminRealmsRealmOrganizationsOrgIdMembersInviteUserPostExecute(r) } /* -AdminRealmsRealmOrganizationsIdMembersInviteUserPost Invites an existing user or sends a registration link to a new user, based on the provided e-mail address. +AdminRealmsRealmOrganizationsOrgIdMembersInviteUserPost Invites an existing user or sends a registration link to a new user, based on the provided e-mail address. If the user with the given e-mail address exists, it sends an invitation link, otherwise it sends a registration link. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id - @return ApiAdminRealmsRealmOrganizationsIdMembersInviteUserPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param orgId + @return ApiAdminRealmsRealmOrganizationsOrgIdMembersInviteUserPostRequest */ -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersInviteUserPost(ctx context.Context, realm string, id string) ApiAdminRealmsRealmOrganizationsIdMembersInviteUserPostRequest { - return ApiAdminRealmsRealmOrganizationsIdMembersInviteUserPostRequest{ +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdMembersInviteUserPost(ctx context.Context, realm string, orgId string) ApiAdminRealmsRealmOrganizationsOrgIdMembersInviteUserPostRequest { + return ApiAdminRealmsRealmOrganizationsOrgIdMembersInviteUserPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, + ctx: ctx, + realm: realm, + orgId: orgId, } } // Execute executes the request -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersInviteUserPostExecute(r ApiAdminRealmsRealmOrganizationsIdMembersInviteUserPostRequest) (*http.Response, error) { +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdMembersInviteUserPostExecute(r ApiAdminRealmsRealmOrganizationsOrgIdMembersInviteUserPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsIdMembersInviteUserPost") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsOrgIdMembersInviteUserPost") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{id}/members/invite-user" + localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{org-id}/members/invite-user" localVarPath = strings.Replace(localVarPath, "{"+"realm"+"}", url.PathEscape(parameterValueToString(r.realm, "realm")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"org-id"+"}", url.PathEscape(parameterValueToString(r.orgId, "orgId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -1274,160 +1397,56 @@ func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersInviteUs return localVarHTTPResponse, nil } -type ApiAdminRealmsRealmOrganizationsIdMembersPostRequest struct { - ctx context.Context +type ApiAdminRealmsRealmOrganizationsOrgIdMembersMemberIdDeleteRequest struct { + ctx context.Context ApiService *OrganizationsAPIService - realm string - id string - body *string -} - -func (r ApiAdminRealmsRealmOrganizationsIdMembersPostRequest) Body(body string) ApiAdminRealmsRealmOrganizationsIdMembersPostRequest { - r.body = &body - return r + realm string + orgId string + memberId string } -func (r ApiAdminRealmsRealmOrganizationsIdMembersPostRequest) Execute() (*http.Response, error) { - return r.ApiService.AdminRealmsRealmOrganizationsIdMembersPostExecute(r) +func (r ApiAdminRealmsRealmOrganizationsOrgIdMembersMemberIdDeleteRequest) Execute() (*http.Response, error) { + return r.ApiService.AdminRealmsRealmOrganizationsOrgIdMembersMemberIdDeleteExecute(r) } /* -AdminRealmsRealmOrganizationsIdMembersPost Adds the user with the specified id as a member of the organization - -Adds, or associates, an existing user with the organization. If no user is found, or if it is already associated with the organization, an error response is returned - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id - @return ApiAdminRealmsRealmOrganizationsIdMembersPostRequest -*/ -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersPost(ctx context.Context, realm string, id string) ApiAdminRealmsRealmOrganizationsIdMembersPostRequest { - return ApiAdminRealmsRealmOrganizationsIdMembersPostRequest{ - ApiService: a, - ctx: ctx, - realm: realm, - id: id, - } -} - -// Execute executes the request -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersPostExecute(r ApiAdminRealmsRealmOrganizationsIdMembersPostRequest) (*http.Response, error) { - var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsIdMembersPost") - if err != nil { - return nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{id}/members" - localVarPath = strings.Replace(localVarPath, "{"+"realm"+"}", url.PathEscape(parameterValueToString(r.realm, "realm")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - // body params - localVarPostBody = r.body - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarHTTPResponse, newErr - } - - return localVarHTTPResponse, nil -} - -type ApiAdminRealmsRealmOrganizationsIdMembersUserIdDeleteRequest struct { - ctx context.Context - ApiService *OrganizationsAPIService - realm string - id string - userId string -} - -func (r ApiAdminRealmsRealmOrganizationsIdMembersUserIdDeleteRequest) Execute() (*http.Response, error) { - return r.ApiService.AdminRealmsRealmOrganizationsIdMembersUserIdDeleteExecute(r) -} - -/* -AdminRealmsRealmOrganizationsIdMembersUserIdDelete Removes the user with the specified id from the organization +AdminRealmsRealmOrganizationsOrgIdMembersMemberIdDelete Removes the user with the specified id from the organization Breaks the association between the user and organization. The user itself is deleted in case the membership is managed, otherwise the user is not deleted. If no user is found, or if they are not a member of the organization, an error response is returned - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id - @param userId - @return ApiAdminRealmsRealmOrganizationsIdMembersUserIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param orgId + @param memberId + @return ApiAdminRealmsRealmOrganizationsOrgIdMembersMemberIdDeleteRequest */ -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersUserIdDelete(ctx context.Context, realm string, id string, userId string) ApiAdminRealmsRealmOrganizationsIdMembersUserIdDeleteRequest { - return ApiAdminRealmsRealmOrganizationsIdMembersUserIdDeleteRequest{ +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdMembersMemberIdDelete(ctx context.Context, realm string, orgId string, memberId string) ApiAdminRealmsRealmOrganizationsOrgIdMembersMemberIdDeleteRequest { + return ApiAdminRealmsRealmOrganizationsOrgIdMembersMemberIdDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, - userId: userId, + ctx: ctx, + realm: realm, + orgId: orgId, + memberId: memberId, } } // Execute executes the request -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersUserIdDeleteExecute(r ApiAdminRealmsRealmOrganizationsIdMembersUserIdDeleteRequest) (*http.Response, error) { +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdMembersMemberIdDeleteExecute(r ApiAdminRealmsRealmOrganizationsOrgIdMembersMemberIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsIdMembersUserIdDelete") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsOrgIdMembersMemberIdDelete") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{id}/members/{userId}" + localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{org-id}/members/{member-id}" localVarPath = strings.Replace(localVarPath, "{"+"realm"+"}", url.PathEscape(parameterValueToString(r.realm, "realm")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"userId"+"}", url.PathEscape(parameterValueToString(r.userId, "userId")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"org-id"+"}", url.PathEscape(parameterValueToString(r.orgId, "orgId")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"member-id"+"}", url.PathEscape(parameterValueToString(r.memberId, "memberId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -1478,59 +1497,58 @@ func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersUserIdDe return localVarHTTPResponse, nil } -type ApiAdminRealmsRealmOrganizationsIdMembersUserIdGetRequest struct { - ctx context.Context +type ApiAdminRealmsRealmOrganizationsOrgIdMembersMemberIdGetRequest struct { + ctx context.Context ApiService *OrganizationsAPIService - realm string - id string - userId string + realm string + orgId string + memberId string } -func (r ApiAdminRealmsRealmOrganizationsIdMembersUserIdGetRequest) Execute() (*MemberRepresentation, *http.Response, error) { - return r.ApiService.AdminRealmsRealmOrganizationsIdMembersUserIdGetExecute(r) +func (r ApiAdminRealmsRealmOrganizationsOrgIdMembersMemberIdGetRequest) Execute() (*MemberRepresentation, *http.Response, error) { + return r.ApiService.AdminRealmsRealmOrganizationsOrgIdMembersMemberIdGetExecute(r) } /* -AdminRealmsRealmOrganizationsIdMembersUserIdGet Returns the member of the organization with the specified id +AdminRealmsRealmOrganizationsOrgIdMembersMemberIdGet Returns the member of the organization with the specified id Searches for auser with the given id. If one is found, and is currently a member of the organization, returns it. Otherwise,an error response with status NOT_FOUND is returned - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id - @param userId - @return ApiAdminRealmsRealmOrganizationsIdMembersUserIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param orgId + @param memberId + @return ApiAdminRealmsRealmOrganizationsOrgIdMembersMemberIdGetRequest */ -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersUserIdGet(ctx context.Context, realm string, id string, userId string) ApiAdminRealmsRealmOrganizationsIdMembersUserIdGetRequest { - return ApiAdminRealmsRealmOrganizationsIdMembersUserIdGetRequest{ +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdMembersMemberIdGet(ctx context.Context, realm string, orgId string, memberId string) ApiAdminRealmsRealmOrganizationsOrgIdMembersMemberIdGetRequest { + return ApiAdminRealmsRealmOrganizationsOrgIdMembersMemberIdGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, - userId: userId, + ctx: ctx, + realm: realm, + orgId: orgId, + memberId: memberId, } } // Execute executes the request -// -// @return MemberRepresentation -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersUserIdGetExecute(r ApiAdminRealmsRealmOrganizationsIdMembersUserIdGetRequest) (*MemberRepresentation, *http.Response, error) { +// @return MemberRepresentation +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdMembersMemberIdGetExecute(r ApiAdminRealmsRealmOrganizationsOrgIdMembersMemberIdGetRequest) (*MemberRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *MemberRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *MemberRepresentation ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsIdMembersUserIdGet") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsOrgIdMembersMemberIdGet") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{id}/members/{userId}" + localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{org-id}/members/{member-id}" localVarPath = strings.Replace(localVarPath, "{"+"realm"+"}", url.PathEscape(parameterValueToString(r.realm, "realm")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"userId"+"}", url.PathEscape(parameterValueToString(r.userId, "userId")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"org-id"+"}", url.PathEscape(parameterValueToString(r.orgId, "orgId")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"member-id"+"}", url.PathEscape(parameterValueToString(r.memberId, "memberId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -1590,57 +1608,56 @@ func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersUserIdGe return localVarReturnValue, localVarHTTPResponse, nil } -type ApiAdminRealmsRealmOrganizationsIdMembersUserIdOrganizationsGetRequest struct { - ctx context.Context +type ApiAdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizationsGetRequest struct { + ctx context.Context ApiService *OrganizationsAPIService - realm string - id string - userId string + realm string + orgId string + memberId string } -func (r ApiAdminRealmsRealmOrganizationsIdMembersUserIdOrganizationsGetRequest) Execute() ([]OrganizationRepresentation, *http.Response, error) { - return r.ApiService.AdminRealmsRealmOrganizationsIdMembersUserIdOrganizationsGetExecute(r) +func (r ApiAdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizationsGetRequest) Execute() ([]OrganizationRepresentation, *http.Response, error) { + return r.ApiService.AdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizationsGetExecute(r) } /* -AdminRealmsRealmOrganizationsIdMembersUserIdOrganizationsGet Returns the organizations associated with the user that has the specified id +AdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizationsGet Returns the organizations associated with the user that has the specified id - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id - @param userId - @return ApiAdminRealmsRealmOrganizationsIdMembersUserIdOrganizationsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param orgId + @param memberId + @return ApiAdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizationsGetRequest */ -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersUserIdOrganizationsGet(ctx context.Context, realm string, id string, userId string) ApiAdminRealmsRealmOrganizationsIdMembersUserIdOrganizationsGetRequest { - return ApiAdminRealmsRealmOrganizationsIdMembersUserIdOrganizationsGetRequest{ +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizationsGet(ctx context.Context, realm string, orgId string, memberId string) ApiAdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizationsGetRequest { + return ApiAdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizationsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, - userId: userId, + ctx: ctx, + realm: realm, + orgId: orgId, + memberId: memberId, } } // Execute executes the request -// -// @return []OrganizationRepresentation -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersUserIdOrganizationsGetExecute(r ApiAdminRealmsRealmOrganizationsIdMembersUserIdOrganizationsGetRequest) ([]OrganizationRepresentation, *http.Response, error) { +// @return []OrganizationRepresentation +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizationsGetExecute(r ApiAdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizationsGetRequest) ([]OrganizationRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []OrganizationRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []OrganizationRepresentation ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsIdMembersUserIdOrganizationsGet") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizationsGet") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{id}/members/{userId}/organizations" + localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{org-id}/members/{member-id}/organizations" localVarPath = strings.Replace(localVarPath, "{"+"realm"+"}", url.PathEscape(parameterValueToString(r.realm, "realm")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"userId"+"}", url.PathEscape(parameterValueToString(r.userId, "userId")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"org-id"+"}", url.PathEscape(parameterValueToString(r.orgId, "orgId")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"member-id"+"}", url.PathEscape(parameterValueToString(r.memberId, "memberId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -1700,56 +1717,58 @@ func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdMembersUserIdOr return localVarReturnValue, localVarHTTPResponse, nil } -type ApiAdminRealmsRealmOrganizationsIdPutRequest struct { - ctx context.Context - ApiService *OrganizationsAPIService - realm string - id string - organizationRepresentation *OrganizationRepresentation +type ApiAdminRealmsRealmOrganizationsOrgIdMembersPostRequest struct { + ctx context.Context + ApiService *OrganizationsAPIService + realm string + orgId string + body *string } -func (r ApiAdminRealmsRealmOrganizationsIdPutRequest) OrganizationRepresentation(organizationRepresentation OrganizationRepresentation) ApiAdminRealmsRealmOrganizationsIdPutRequest { - r.organizationRepresentation = &organizationRepresentation +func (r ApiAdminRealmsRealmOrganizationsOrgIdMembersPostRequest) Body(body string) ApiAdminRealmsRealmOrganizationsOrgIdMembersPostRequest { + r.body = &body return r } -func (r ApiAdminRealmsRealmOrganizationsIdPutRequest) Execute() (*http.Response, error) { - return r.ApiService.AdminRealmsRealmOrganizationsIdPutExecute(r) +func (r ApiAdminRealmsRealmOrganizationsOrgIdMembersPostRequest) Execute() (*http.Response, error) { + return r.ApiService.AdminRealmsRealmOrganizationsOrgIdMembersPostExecute(r) } /* -AdminRealmsRealmOrganizationsIdPut Updates the organization +AdminRealmsRealmOrganizationsOrgIdMembersPost Adds the user with the specified id as a member of the organization + +Adds, or associates, an existing user with the organization. If no user is found, or if it is already associated with the organization, an error response is returned - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id - @return ApiAdminRealmsRealmOrganizationsIdPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param orgId + @return ApiAdminRealmsRealmOrganizationsOrgIdMembersPostRequest */ -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdPut(ctx context.Context, realm string, id string) ApiAdminRealmsRealmOrganizationsIdPutRequest { - return ApiAdminRealmsRealmOrganizationsIdPutRequest{ +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdMembersPost(ctx context.Context, realm string, orgId string) ApiAdminRealmsRealmOrganizationsOrgIdMembersPostRequest { + return ApiAdminRealmsRealmOrganizationsOrgIdMembersPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, + ctx: ctx, + realm: realm, + orgId: orgId, } } // Execute executes the request -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdPutExecute(r ApiAdminRealmsRealmOrganizationsIdPutRequest) (*http.Response, error) { +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdMembersPostExecute(r ApiAdminRealmsRealmOrganizationsOrgIdMembersPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsIdPut") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsOrgIdMembersPost") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{id}" + localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{org-id}/members" localVarPath = strings.Replace(localVarPath, "{"+"realm"+"}", url.PathEscape(parameterValueToString(r.realm, "realm")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"org-id"+"}", url.PathEscape(parameterValueToString(r.orgId, "orgId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -1773,7 +1792,7 @@ func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdPutExecute(r Ap localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } // body params - localVarPostBody = r.organizationRepresentation + localVarPostBody = r.body req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return nil, err @@ -1802,60 +1821,63 @@ func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsIdPutExecute(r Ap return localVarHTTPResponse, nil } -type ApiAdminRealmsRealmOrganizationsMembersIdOrganizationsGetRequest struct { - ctx context.Context +type ApiAdminRealmsRealmOrganizationsOrgIdPutRequest struct { + ctx context.Context ApiService *OrganizationsAPIService - realm string - id string + realm string + orgId string + organizationRepresentation *OrganizationRepresentation } -func (r ApiAdminRealmsRealmOrganizationsMembersIdOrganizationsGetRequest) Execute() ([]OrganizationRepresentation, *http.Response, error) { - return r.ApiService.AdminRealmsRealmOrganizationsMembersIdOrganizationsGetExecute(r) +func (r ApiAdminRealmsRealmOrganizationsOrgIdPutRequest) OrganizationRepresentation(organizationRepresentation OrganizationRepresentation) ApiAdminRealmsRealmOrganizationsOrgIdPutRequest { + r.organizationRepresentation = &organizationRepresentation + return r +} + +func (r ApiAdminRealmsRealmOrganizationsOrgIdPutRequest) Execute() (*http.Response, error) { + return r.ApiService.AdminRealmsRealmOrganizationsOrgIdPutExecute(r) } /* -AdminRealmsRealmOrganizationsMembersIdOrganizationsGet Returns the organizations associated with the user that has the specified id +AdminRealmsRealmOrganizationsOrgIdPut Updates the organization - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param id - @return ApiAdminRealmsRealmOrganizationsMembersIdOrganizationsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param orgId + @return ApiAdminRealmsRealmOrganizationsOrgIdPutRequest */ -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsMembersIdOrganizationsGet(ctx context.Context, realm string, id string) ApiAdminRealmsRealmOrganizationsMembersIdOrganizationsGetRequest { - return ApiAdminRealmsRealmOrganizationsMembersIdOrganizationsGetRequest{ +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdPut(ctx context.Context, realm string, orgId string) ApiAdminRealmsRealmOrganizationsOrgIdPutRequest { + return ApiAdminRealmsRealmOrganizationsOrgIdPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - id: id, + ctx: ctx, + realm: realm, + orgId: orgId, } } // Execute executes the request -// -// @return []OrganizationRepresentation -func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsMembersIdOrganizationsGetExecute(r ApiAdminRealmsRealmOrganizationsMembersIdOrganizationsGetRequest) ([]OrganizationRepresentation, *http.Response, error) { +func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsOrgIdPutExecute(r ApiAdminRealmsRealmOrganizationsOrgIdPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []OrganizationRepresentation + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsMembersIdOrganizationsGet") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsOrgIdPut") if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + return nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/admin/realms/{realm}/organizations/members/{id}/organizations" + localVarPath := localBasePath + "/admin/realms/{realm}/organizations/{org-id}" localVarPath = strings.Replace(localVarPath, "{"+"realm"+"}", url.PathEscape(parameterValueToString(r.realm, "realm")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"org-id"+"}", url.PathEscape(parameterValueToString(r.orgId, "orgId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} // to determine the Content-Type header - localVarHTTPContentTypes := []string{} + localVarHTTPContentTypes := []string{"application/json"} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) @@ -1864,28 +1886,30 @@ func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsMembersIdOrganiza } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} + localVarHTTPHeaderAccepts := []string{} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } + // body params + localVarPostBody = r.organizationRepresentation req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { - return localVarReturnValue, nil, err + return nil, err } localVarHTTPResponse, err := a.client.callAPI(req) if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err + return localVarHTTPResponse, err } localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { - return localVarReturnValue, localVarHTTPResponse, err + return localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { @@ -1893,25 +1917,16 @@ func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsMembersIdOrganiza body: localVarBody, error: localVarHTTPResponse.Status, } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr + return localVarHTTPResponse, newErr } - return localVarReturnValue, localVarHTTPResponse, nil + return localVarHTTPResponse, nil } type ApiAdminRealmsRealmOrganizationsPostRequest struct { - ctx context.Context - ApiService *OrganizationsAPIService - realm string + ctx context.Context + ApiService *OrganizationsAPIService + realm string organizationRepresentation *OrganizationRepresentation } @@ -1927,24 +1942,24 @@ func (r ApiAdminRealmsRealmOrganizationsPostRequest) Execute() (*http.Response, /* AdminRealmsRealmOrganizationsPost Creates a new organization - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmOrganizationsPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmOrganizationsPostRequest */ func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsPost(ctx context.Context, realm string) ApiAdminRealmsRealmOrganizationsPostRequest { return ApiAdminRealmsRealmOrganizationsPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request func (a *OrganizationsAPIService) AdminRealmsRealmOrganizationsPostExecute(r ApiAdminRealmsRealmOrganizationsPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrganizationsAPIService.AdminRealmsRealmOrganizationsPost") diff --git a/api_protocol_mappers.go b/api_protocol_mappers.go index 71345c9..2dc800a 100644 --- a/api_protocol_mappers.go +++ b/api_protocol_mappers.go @@ -19,14 +19,15 @@ import ( "strings" ) + // ProtocolMappersAPIService ProtocolMappersAPI service type ProtocolMappersAPIService service type ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersAddModelsPostRequest struct { - ctx context.Context - ApiService *ProtocolMappersAPIService - realm string - clientScopeId string + ctx context.Context + ApiService *ProtocolMappersAPIService + realm string + clientScopeId string protocolMapperRepresentation *[]ProtocolMapperRepresentation } @@ -42,16 +43,16 @@ func (r ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersAddModelsPost /* AdminRealmsRealmClientScopesClientScopeIdProtocolMappersAddModelsPost Create multiple mappers - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersAddModelsPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersAddModelsPostRequest */ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientScopesClientScopeIdProtocolMappersAddModelsPost(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersAddModelsPostRequest { return ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersAddModelsPostRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } @@ -59,9 +60,9 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientScopesClientScopeIdPro // Execute executes the request func (a *ProtocolMappersAPIService) AdminRealmsRealmClientScopesClientScopeIdProtocolMappersAddModelsPostExecute(r ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersAddModelsPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProtocolMappersAPIService.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersAddModelsPost") @@ -125,9 +126,9 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientScopesClientScopeIdPro } type ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsGetRequest struct { - ctx context.Context - ApiService *ProtocolMappersAPIService - realm string + ctx context.Context + ApiService *ProtocolMappersAPIService + realm string clientScopeId string } @@ -138,29 +139,28 @@ func (r ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsGetRequ /* AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsGet Get mappers - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsGetRequest */ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsGet(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsGetRequest { return ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } // Execute executes the request -// -// @return []ProtocolMapperRepresentation +// @return []ProtocolMapperRepresentation func (a *ProtocolMappersAPIService) AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsGetExecute(r ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsGetRequest) ([]ProtocolMapperRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ProtocolMapperRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ProtocolMapperRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProtocolMappersAPIService.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsGet") @@ -231,11 +231,11 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientScopesClientScopeIdPro } type ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdDeleteRequest struct { - ctx context.Context - ApiService *ProtocolMappersAPIService - realm string + ctx context.Context + ApiService *ProtocolMappersAPIService + realm string clientScopeId string - id string + id string } func (r ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdDeleteRequest) Execute() (*http.Response, error) { @@ -245,28 +245,28 @@ func (r ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdDelet /* AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdDelete Delete the mapper - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @param id Mapper id - @return ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @param id Mapper id + @return ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdDeleteRequest */ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdDelete(ctx context.Context, realm string, clientScopeId string, id string) ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdDeleteRequest { return ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdDeleteRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, - id: id, + id: id, } } // Execute executes the request func (a *ProtocolMappersAPIService) AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdDeleteExecute(r ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProtocolMappersAPIService.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdDelete") @@ -329,11 +329,11 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientScopesClientScopeIdPro } type ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdGetRequest struct { - ctx context.Context - ApiService *ProtocolMappersAPIService - realm string + ctx context.Context + ApiService *ProtocolMappersAPIService + realm string clientScopeId string - id string + id string } func (r ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdGetRequest) Execute() (*ProtocolMapperRepresentation, *http.Response, error) { @@ -343,31 +343,30 @@ func (r ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdGetRe /* AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdGet Get mapper by id - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @param id Mapper id - @return ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @param id Mapper id + @return ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdGetRequest */ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdGet(ctx context.Context, realm string, clientScopeId string, id string) ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdGetRequest { return ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, - id: id, + id: id, } } // Execute executes the request -// -// @return ProtocolMapperRepresentation +// @return ProtocolMapperRepresentation func (a *ProtocolMappersAPIService) AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdGetExecute(r ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdGetRequest) (*ProtocolMapperRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ProtocolMapperRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ProtocolMapperRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProtocolMappersAPIService.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdGet") @@ -439,11 +438,11 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientScopesClientScopeIdPro } type ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdPutRequest struct { - ctx context.Context - ApiService *ProtocolMappersAPIService - realm string - clientScopeId string - id string + ctx context.Context + ApiService *ProtocolMappersAPIService + realm string + clientScopeId string + id string protocolMapperRepresentation *ProtocolMapperRepresentation } @@ -459,28 +458,28 @@ func (r ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdPutRe /* AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdPut Update the mapper - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @param id Mapper id - @return ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @param id Mapper id + @return ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdPutRequest */ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdPut(ctx context.Context, realm string, clientScopeId string, id string) ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdPutRequest { return ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdPutRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, - id: id, + id: id, } } // Execute executes the request func (a *ProtocolMappersAPIService) AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdPutExecute(r ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProtocolMappersAPIService.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdPut") @@ -545,10 +544,10 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientScopesClientScopeIdPro } type ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsPostRequest struct { - ctx context.Context - ApiService *ProtocolMappersAPIService - realm string - clientScopeId string + ctx context.Context + ApiService *ProtocolMappersAPIService + realm string + clientScopeId string protocolMapperRepresentation *ProtocolMapperRepresentation } @@ -564,16 +563,16 @@ func (r ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsPostReq /* AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsPost Create a mapper - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsPostRequest */ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsPost(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsPostRequest { return ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsPostRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } @@ -581,9 +580,9 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientScopesClientScopeIdPro // Execute executes the request func (a *ProtocolMappersAPIService) AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsPostExecute(r ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProtocolMappersAPIService.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsPost") @@ -647,11 +646,11 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientScopesClientScopeIdPro } type ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersProtocolProtocolGetRequest struct { - ctx context.Context - ApiService *ProtocolMappersAPIService - realm string + ctx context.Context + ApiService *ProtocolMappersAPIService + realm string clientScopeId string - protocol string + protocol string } func (r ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersProtocolProtocolGetRequest) Execute() ([]ProtocolMapperRepresentation, *http.Response, error) { @@ -661,31 +660,30 @@ func (r ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersProtocolProto /* AdminRealmsRealmClientScopesClientScopeIdProtocolMappersProtocolProtocolGet Get mappers by name for a specific protocol - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @param protocol - @return ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersProtocolProtocolGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @param protocol + @return ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersProtocolProtocolGetRequest */ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientScopesClientScopeIdProtocolMappersProtocolProtocolGet(ctx context.Context, realm string, clientScopeId string, protocol string) ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersProtocolProtocolGetRequest { return ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersProtocolProtocolGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, - protocol: protocol, + protocol: protocol, } } // Execute executes the request -// -// @return []ProtocolMapperRepresentation +// @return []ProtocolMapperRepresentation func (a *ProtocolMappersAPIService) AdminRealmsRealmClientScopesClientScopeIdProtocolMappersProtocolProtocolGetExecute(r ApiAdminRealmsRealmClientScopesClientScopeIdProtocolMappersProtocolProtocolGetRequest) ([]ProtocolMapperRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ProtocolMapperRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ProtocolMapperRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProtocolMappersAPIService.AdminRealmsRealmClientScopesClientScopeIdProtocolMappersProtocolProtocolGet") @@ -757,10 +755,10 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientScopesClientScopeIdPro } type ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersAddModelsPostRequest struct { - ctx context.Context - ApiService *ProtocolMappersAPIService - realm string - clientScopeId string + ctx context.Context + ApiService *ProtocolMappersAPIService + realm string + clientScopeId string protocolMapperRepresentation *[]ProtocolMapperRepresentation } @@ -776,16 +774,16 @@ func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersAddModelsP /* AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersAddModelsPost Create multiple mappers - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersAddModelsPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersAddModelsPostRequest */ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersAddModelsPost(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersAddModelsPostRequest { return ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersAddModelsPostRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } @@ -793,9 +791,9 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientTemplatesClientScopeId // Execute executes the request func (a *ProtocolMappersAPIService) AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersAddModelsPostExecute(r ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersAddModelsPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProtocolMappersAPIService.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersAddModelsPost") @@ -859,9 +857,9 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientTemplatesClientScopeId } type ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsGetRequest struct { - ctx context.Context - ApiService *ProtocolMappersAPIService - realm string + ctx context.Context + ApiService *ProtocolMappersAPIService + realm string clientScopeId string } @@ -872,29 +870,28 @@ func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsGetR /* AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsGet Get mappers - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsGetRequest */ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsGet(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsGetRequest { return ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } // Execute executes the request -// -// @return []ProtocolMapperRepresentation +// @return []ProtocolMapperRepresentation func (a *ProtocolMappersAPIService) AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsGetExecute(r ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsGetRequest) ([]ProtocolMapperRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ProtocolMapperRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ProtocolMapperRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProtocolMappersAPIService.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsGet") @@ -965,11 +962,11 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientTemplatesClientScopeId } type ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdDeleteRequest struct { - ctx context.Context - ApiService *ProtocolMappersAPIService - realm string + ctx context.Context + ApiService *ProtocolMappersAPIService + realm string clientScopeId string - id string + id string } func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdDeleteRequest) Execute() (*http.Response, error) { @@ -979,28 +976,28 @@ func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdDe /* AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdDelete Delete the mapper - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @param id Mapper id - @return ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @param id Mapper id + @return ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdDeleteRequest */ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdDelete(ctx context.Context, realm string, clientScopeId string, id string) ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdDeleteRequest { return ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdDeleteRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, - id: id, + id: id, } } // Execute executes the request func (a *ProtocolMappersAPIService) AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdDeleteExecute(r ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProtocolMappersAPIService.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdDelete") @@ -1063,11 +1060,11 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientTemplatesClientScopeId } type ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdGetRequest struct { - ctx context.Context - ApiService *ProtocolMappersAPIService - realm string + ctx context.Context + ApiService *ProtocolMappersAPIService + realm string clientScopeId string - id string + id string } func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdGetRequest) Execute() (*ProtocolMapperRepresentation, *http.Response, error) { @@ -1077,31 +1074,30 @@ func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdGe /* AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdGet Get mapper by id - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @param id Mapper id - @return ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @param id Mapper id + @return ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdGetRequest */ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdGet(ctx context.Context, realm string, clientScopeId string, id string) ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdGetRequest { return ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, - id: id, + id: id, } } // Execute executes the request -// -// @return ProtocolMapperRepresentation +// @return ProtocolMapperRepresentation func (a *ProtocolMappersAPIService) AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdGetExecute(r ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdGetRequest) (*ProtocolMapperRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ProtocolMapperRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ProtocolMapperRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProtocolMappersAPIService.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdGet") @@ -1173,11 +1169,11 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientTemplatesClientScopeId } type ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdPutRequest struct { - ctx context.Context - ApiService *ProtocolMappersAPIService - realm string - clientScopeId string - id string + ctx context.Context + ApiService *ProtocolMappersAPIService + realm string + clientScopeId string + id string protocolMapperRepresentation *ProtocolMapperRepresentation } @@ -1193,28 +1189,28 @@ func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdPu /* AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdPut Update the mapper - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @param id Mapper id - @return ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @param id Mapper id + @return ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdPutRequest */ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdPut(ctx context.Context, realm string, clientScopeId string, id string) ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdPutRequest { return ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdPutRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, - id: id, + id: id, } } // Execute executes the request func (a *ProtocolMappersAPIService) AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdPutExecute(r ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProtocolMappersAPIService.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdPut") @@ -1279,10 +1275,10 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientTemplatesClientScopeId } type ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsPostRequest struct { - ctx context.Context - ApiService *ProtocolMappersAPIService - realm string - clientScopeId string + ctx context.Context + ApiService *ProtocolMappersAPIService + realm string + clientScopeId string protocolMapperRepresentation *ProtocolMapperRepresentation } @@ -1298,16 +1294,16 @@ func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsPost /* AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsPost Create a mapper - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsPostRequest */ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsPost(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsPostRequest { return ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsPostRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } @@ -1315,9 +1311,9 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientTemplatesClientScopeId // Execute executes the request func (a *ProtocolMappersAPIService) AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsPostExecute(r ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProtocolMappersAPIService.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsPost") @@ -1381,11 +1377,11 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientTemplatesClientScopeId } type ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersProtocolProtocolGetRequest struct { - ctx context.Context - ApiService *ProtocolMappersAPIService - realm string + ctx context.Context + ApiService *ProtocolMappersAPIService + realm string clientScopeId string - protocol string + protocol string } func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersProtocolProtocolGetRequest) Execute() ([]ProtocolMapperRepresentation, *http.Response, error) { @@ -1395,31 +1391,30 @@ func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersProtocolPr /* AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersProtocolProtocolGet Get mappers by name for a specific protocol - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @param protocol - @return ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersProtocolProtocolGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @param protocol + @return ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersProtocolProtocolGetRequest */ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersProtocolProtocolGet(ctx context.Context, realm string, clientScopeId string, protocol string) ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersProtocolProtocolGetRequest { return ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersProtocolProtocolGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, - protocol: protocol, + protocol: protocol, } } // Execute executes the request -// -// @return []ProtocolMapperRepresentation +// @return []ProtocolMapperRepresentation func (a *ProtocolMappersAPIService) AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersProtocolProtocolGetExecute(r ApiAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersProtocolProtocolGetRequest) ([]ProtocolMapperRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ProtocolMapperRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ProtocolMapperRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProtocolMappersAPIService.AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersProtocolProtocolGet") @@ -1491,10 +1486,10 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientTemplatesClientScopeId } type ApiAdminRealmsRealmClientsClientUuidProtocolMappersAddModelsPostRequest struct { - ctx context.Context - ApiService *ProtocolMappersAPIService - realm string - clientUuid string + ctx context.Context + ApiService *ProtocolMappersAPIService + realm string + clientUuid string protocolMapperRepresentation *[]ProtocolMapperRepresentation } @@ -1510,16 +1505,16 @@ func (r ApiAdminRealmsRealmClientsClientUuidProtocolMappersAddModelsPostRequest) /* AdminRealmsRealmClientsClientUuidProtocolMappersAddModelsPost Create multiple mappers - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidProtocolMappersAddModelsPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidProtocolMappersAddModelsPostRequest */ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientsClientUuidProtocolMappersAddModelsPost(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidProtocolMappersAddModelsPostRequest { return ApiAdminRealmsRealmClientsClientUuidProtocolMappersAddModelsPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } @@ -1527,9 +1522,9 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientsClientUuidProtocolMap // Execute executes the request func (a *ProtocolMappersAPIService) AdminRealmsRealmClientsClientUuidProtocolMappersAddModelsPostExecute(r ApiAdminRealmsRealmClientsClientUuidProtocolMappersAddModelsPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProtocolMappersAPIService.AdminRealmsRealmClientsClientUuidProtocolMappersAddModelsPost") @@ -1593,9 +1588,9 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientsClientUuidProtocolMap } type ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ProtocolMappersAPIService - realm string + realm string clientUuid string } @@ -1606,29 +1601,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsGetRequest) Exe /* AdminRealmsRealmClientsClientUuidProtocolMappersModelsGet Get mappers - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsGetRequest */ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientsClientUuidProtocolMappersModelsGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsGetRequest { return ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return []ProtocolMapperRepresentation +// @return []ProtocolMapperRepresentation func (a *ProtocolMappersAPIService) AdminRealmsRealmClientsClientUuidProtocolMappersModelsGetExecute(r ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsGetRequest) ([]ProtocolMapperRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ProtocolMapperRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ProtocolMapperRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProtocolMappersAPIService.AdminRealmsRealmClientsClientUuidProtocolMappersModelsGet") @@ -1699,11 +1693,11 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientsClientUuidProtocolMap } type ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *ProtocolMappersAPIService - realm string + realm string clientUuid string - id string + id string } func (r ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdDeleteRequest) Execute() (*http.Response, error) { @@ -1713,28 +1707,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdDeleteRequest /* AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdDelete Delete the mapper - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param id Mapper id - @return ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param id Mapper id + @return ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdDeleteRequest */ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdDelete(ctx context.Context, realm string, clientUuid string, id string) ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdDeleteRequest { return ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - id: id, + id: id, } } // Execute executes the request func (a *ProtocolMappersAPIService) AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdDeleteExecute(r ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProtocolMappersAPIService.AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdDelete") @@ -1797,11 +1791,11 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientsClientUuidProtocolMap } type ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ProtocolMappersAPIService - realm string + realm string clientUuid string - id string + id string } func (r ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdGetRequest) Execute() (*ProtocolMapperRepresentation, *http.Response, error) { @@ -1811,31 +1805,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdGetRequest) E /* AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdGet Get mapper by id - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param id Mapper id - @return ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param id Mapper id + @return ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdGetRequest */ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdGet(ctx context.Context, realm string, clientUuid string, id string) ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdGetRequest { return ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - id: id, + id: id, } } // Execute executes the request -// -// @return ProtocolMapperRepresentation +// @return ProtocolMapperRepresentation func (a *ProtocolMappersAPIService) AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdGetExecute(r ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdGetRequest) (*ProtocolMapperRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ProtocolMapperRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ProtocolMapperRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProtocolMappersAPIService.AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdGet") @@ -1907,11 +1900,11 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientsClientUuidProtocolMap } type ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdPutRequest struct { - ctx context.Context - ApiService *ProtocolMappersAPIService - realm string - clientUuid string - id string + ctx context.Context + ApiService *ProtocolMappersAPIService + realm string + clientUuid string + id string protocolMapperRepresentation *ProtocolMapperRepresentation } @@ -1927,28 +1920,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdPutRequest) E /* AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdPut Update the mapper - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param id Mapper id - @return ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param id Mapper id + @return ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdPutRequest */ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdPut(ctx context.Context, realm string, clientUuid string, id string) ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdPutRequest { return ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - id: id, + id: id, } } // Execute executes the request func (a *ProtocolMappersAPIService) AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdPutExecute(r ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsIdPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProtocolMappersAPIService.AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdPut") @@ -2013,10 +2006,10 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientsClientUuidProtocolMap } type ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsPostRequest struct { - ctx context.Context - ApiService *ProtocolMappersAPIService - realm string - clientUuid string + ctx context.Context + ApiService *ProtocolMappersAPIService + realm string + clientUuid string protocolMapperRepresentation *ProtocolMapperRepresentation } @@ -2032,16 +2025,16 @@ func (r ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsPostRequest) Ex /* AdminRealmsRealmClientsClientUuidProtocolMappersModelsPost Create a mapper - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsPostRequest */ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientsClientUuidProtocolMappersModelsPost(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsPostRequest { return ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } @@ -2049,9 +2042,9 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientsClientUuidProtocolMap // Execute executes the request func (a *ProtocolMappersAPIService) AdminRealmsRealmClientsClientUuidProtocolMappersModelsPostExecute(r ApiAdminRealmsRealmClientsClientUuidProtocolMappersModelsPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProtocolMappersAPIService.AdminRealmsRealmClientsClientUuidProtocolMappersModelsPost") @@ -2115,11 +2108,11 @@ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientsClientUuidProtocolMap } type ApiAdminRealmsRealmClientsClientUuidProtocolMappersProtocolProtocolGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ProtocolMappersAPIService - realm string + realm string clientUuid string - protocol string + protocol string } func (r ApiAdminRealmsRealmClientsClientUuidProtocolMappersProtocolProtocolGetRequest) Execute() ([]ProtocolMapperRepresentation, *http.Response, error) { @@ -2129,31 +2122,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidProtocolMappersProtocolProtocolGetRe /* AdminRealmsRealmClientsClientUuidProtocolMappersProtocolProtocolGet Get mappers by name for a specific protocol - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param protocol - @return ApiAdminRealmsRealmClientsClientUuidProtocolMappersProtocolProtocolGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param protocol + @return ApiAdminRealmsRealmClientsClientUuidProtocolMappersProtocolProtocolGetRequest */ func (a *ProtocolMappersAPIService) AdminRealmsRealmClientsClientUuidProtocolMappersProtocolProtocolGet(ctx context.Context, realm string, clientUuid string, protocol string) ApiAdminRealmsRealmClientsClientUuidProtocolMappersProtocolProtocolGetRequest { return ApiAdminRealmsRealmClientsClientUuidProtocolMappersProtocolProtocolGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - protocol: protocol, + protocol: protocol, } } // Execute executes the request -// -// @return []ProtocolMapperRepresentation +// @return []ProtocolMapperRepresentation func (a *ProtocolMappersAPIService) AdminRealmsRealmClientsClientUuidProtocolMappersProtocolProtocolGetExecute(r ApiAdminRealmsRealmClientsClientUuidProtocolMappersProtocolProtocolGetRequest) ([]ProtocolMapperRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ProtocolMapperRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ProtocolMapperRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ProtocolMappersAPIService.AdminRealmsRealmClientsClientUuidProtocolMappersProtocolProtocolGet") diff --git a/api_realms_admin.go b/api_realms_admin.go index 886a9d8..5ae9467 100644 --- a/api_realms_admin.go +++ b/api_realms_admin.go @@ -16,17 +16,18 @@ import ( "io" "net/http" "net/url" + "strings" "os" "reflect" - "strings" ) + // RealmsAdminAPIService RealmsAdminAPI service type RealmsAdminAPIService service type ApiAdminRealmsGetRequest struct { - ctx context.Context - ApiService *RealmsAdminAPIService + ctx context.Context + ApiService *RealmsAdminAPIService briefRepresentation *bool } @@ -42,25 +43,24 @@ func (r ApiAdminRealmsGetRequest) Execute() ([]RealmRepresentation, *http.Respon /* AdminRealmsGet Get accessible realms Returns a list of accessible realms. The list is filtered based on what realms the caller is allowed to view. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiAdminRealmsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiAdminRealmsGetRequest */ func (a *RealmsAdminAPIService) AdminRealmsGet(ctx context.Context) ApiAdminRealmsGetRequest { return ApiAdminRealmsGetRequest{ ApiService: a, - ctx: ctx, + ctx: ctx, } } // Execute executes the request -// -// @return []RealmRepresentation +// @return []RealmRepresentation func (a *RealmsAdminAPIService) AdminRealmsGetExecute(r ApiAdminRealmsGetRequest) ([]RealmRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RealmRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RealmRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsGet") @@ -135,9 +135,9 @@ func (a *RealmsAdminAPIService) AdminRealmsGetExecute(r ApiAdminRealmsGetRequest } type ApiAdminRealmsPostRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - body *os.File + body *os.File } func (r ApiAdminRealmsPostRequest) Body(body *os.File) ApiAdminRealmsPostRequest { @@ -154,22 +154,22 @@ AdminRealmsPost Import a realm. Imports a realm from a full representation of th Realm name must be unique. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiAdminRealmsPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiAdminRealmsPostRequest */ func (a *RealmsAdminAPIService) AdminRealmsPost(ctx context.Context) ApiAdminRealmsPostRequest { return ApiAdminRealmsPostRequest{ ApiService: a, - ctx: ctx, + ctx: ctx, } } // Execute executes the request func (a *RealmsAdminAPIService) AdminRealmsPostExecute(r ApiAdminRealmsPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsPost") @@ -231,9 +231,9 @@ func (a *RealmsAdminAPIService) AdminRealmsPostExecute(r ApiAdminRealmsPostReque } type ApiAdminRealmsRealmAdminEventsDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string + realm string } func (r ApiAdminRealmsRealmAdminEventsDeleteRequest) Execute() (*http.Response, error) { @@ -243,24 +243,24 @@ func (r ApiAdminRealmsRealmAdminEventsDeleteRequest) Execute() (*http.Response, /* AdminRealmsRealmAdminEventsDelete Delete all admin events - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmAdminEventsDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmAdminEventsDeleteRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmAdminEventsDelete(ctx context.Context, realm string) ApiAdminRealmsRealmAdminEventsDeleteRequest { return ApiAdminRealmsRealmAdminEventsDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request func (a *RealmsAdminAPIService) AdminRealmsRealmAdminEventsDeleteExecute(r ApiAdminRealmsRealmAdminEventsDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmAdminEventsDelete") @@ -321,20 +321,20 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmAdminEventsDeleteExecute(r ApiAd } type ApiAdminRealmsRealmAdminEventsGetRequest struct { - ctx context.Context - ApiService *RealmsAdminAPIService - realm string - authClient *string - authIpAddress *string - authRealm *string - authUser *string - dateFrom *string - dateTo *string - first *int32 - max *int32 + ctx context.Context + ApiService *RealmsAdminAPIService + realm string + authClient *string + authIpAddress *string + authRealm *string + authUser *string + dateFrom *string + dateTo *string + first *int32 + max *int32 operationTypes *[]string - resourcePath *string - resourceTypes *[]string + resourcePath *string + resourceTypes *[]string } func (r ApiAdminRealmsRealmAdminEventsGetRequest) AuthClient(authClient string) ApiAdminRealmsRealmAdminEventsGetRequest { @@ -401,27 +401,26 @@ func (r ApiAdminRealmsRealmAdminEventsGetRequest) Execute() ([]AdminEventReprese /* AdminRealmsRealmAdminEventsGet Get admin events Returns all admin events, or filters events based on URL query parameters listed here - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmAdminEventsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmAdminEventsGetRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmAdminEventsGet(ctx context.Context, realm string) ApiAdminRealmsRealmAdminEventsGetRequest { return ApiAdminRealmsRealmAdminEventsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []AdminEventRepresentation +// @return []AdminEventRepresentation func (a *RealmsAdminAPIService) AdminRealmsRealmAdminEventsGetExecute(r ApiAdminRealmsRealmAdminEventsGetRequest) ([]AdminEventRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []AdminEventRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []AdminEventRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmAdminEventsGet") @@ -540,10 +539,10 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmAdminEventsGetExecute(r ApiAdmin } type ApiAdminRealmsRealmClientDescriptionConverterPostRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string - body *string + realm string + body *string } func (r ApiAdminRealmsRealmClientDescriptionConverterPostRequest) Body(body string) ApiAdminRealmsRealmClientDescriptionConverterPostRequest { @@ -558,27 +557,26 @@ func (r ApiAdminRealmsRealmClientDescriptionConverterPostRequest) Execute() (*Cl /* AdminRealmsRealmClientDescriptionConverterPost Base path for importing clients under this realm. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmClientDescriptionConverterPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmClientDescriptionConverterPostRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmClientDescriptionConverterPost(ctx context.Context, realm string) ApiAdminRealmsRealmClientDescriptionConverterPostRequest { return ApiAdminRealmsRealmClientDescriptionConverterPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return ClientRepresentation +// @return ClientRepresentation func (a *RealmsAdminAPIService) AdminRealmsRealmClientDescriptionConverterPostExecute(r ApiAdminRealmsRealmClientDescriptionConverterPostRequest) (*ClientRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ClientRepresentation + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ClientRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmClientDescriptionConverterPost") @@ -650,9 +648,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmClientDescriptionConverterPostEx } type ApiAdminRealmsRealmClientPoliciesPoliciesGetRequest struct { - ctx context.Context - ApiService *RealmsAdminAPIService - realm string + ctx context.Context + ApiService *RealmsAdminAPIService + realm string includeGlobalPolicies *bool } @@ -668,27 +666,26 @@ func (r ApiAdminRealmsRealmClientPoliciesPoliciesGetRequest) Execute() (*ClientP /* AdminRealmsRealmClientPoliciesPoliciesGet Method for AdminRealmsRealmClientPoliciesPoliciesGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmClientPoliciesPoliciesGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmClientPoliciesPoliciesGetRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmClientPoliciesPoliciesGet(ctx context.Context, realm string) ApiAdminRealmsRealmClientPoliciesPoliciesGetRequest { return ApiAdminRealmsRealmClientPoliciesPoliciesGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return ClientPoliciesRepresentation +// @return ClientPoliciesRepresentation func (a *RealmsAdminAPIService) AdminRealmsRealmClientPoliciesPoliciesGetExecute(r ApiAdminRealmsRealmClientPoliciesPoliciesGetRequest) (*ClientPoliciesRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ClientPoliciesRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ClientPoliciesRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmClientPoliciesPoliciesGet") @@ -761,9 +758,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmClientPoliciesPoliciesGetExecute } type ApiAdminRealmsRealmClientPoliciesPoliciesPutRequest struct { - ctx context.Context - ApiService *RealmsAdminAPIService - realm string + ctx context.Context + ApiService *RealmsAdminAPIService + realm string clientPoliciesRepresentation *ClientPoliciesRepresentation } @@ -779,24 +776,24 @@ func (r ApiAdminRealmsRealmClientPoliciesPoliciesPutRequest) Execute() (*http.Re /* AdminRealmsRealmClientPoliciesPoliciesPut Method for AdminRealmsRealmClientPoliciesPoliciesPut - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmClientPoliciesPoliciesPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmClientPoliciesPoliciesPutRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmClientPoliciesPoliciesPut(ctx context.Context, realm string) ApiAdminRealmsRealmClientPoliciesPoliciesPutRequest { return ApiAdminRealmsRealmClientPoliciesPoliciesPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request func (a *RealmsAdminAPIService) AdminRealmsRealmClientPoliciesPoliciesPutExecute(r ApiAdminRealmsRealmClientPoliciesPoliciesPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmClientPoliciesPoliciesPut") @@ -859,9 +856,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmClientPoliciesPoliciesPutExecute } type ApiAdminRealmsRealmClientPoliciesProfilesGetRequest struct { - ctx context.Context - ApiService *RealmsAdminAPIService - realm string + ctx context.Context + ApiService *RealmsAdminAPIService + realm string includeGlobalProfiles *bool } @@ -877,27 +874,26 @@ func (r ApiAdminRealmsRealmClientPoliciesProfilesGetRequest) Execute() (*ClientP /* AdminRealmsRealmClientPoliciesProfilesGet Method for AdminRealmsRealmClientPoliciesProfilesGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmClientPoliciesProfilesGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmClientPoliciesProfilesGetRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmClientPoliciesProfilesGet(ctx context.Context, realm string) ApiAdminRealmsRealmClientPoliciesProfilesGetRequest { return ApiAdminRealmsRealmClientPoliciesProfilesGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return ClientProfilesRepresentation +// @return ClientProfilesRepresentation func (a *RealmsAdminAPIService) AdminRealmsRealmClientPoliciesProfilesGetExecute(r ApiAdminRealmsRealmClientPoliciesProfilesGetRequest) (*ClientProfilesRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ClientProfilesRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ClientProfilesRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmClientPoliciesProfilesGet") @@ -970,9 +966,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmClientPoliciesProfilesGetExecute } type ApiAdminRealmsRealmClientPoliciesProfilesPutRequest struct { - ctx context.Context - ApiService *RealmsAdminAPIService - realm string + ctx context.Context + ApiService *RealmsAdminAPIService + realm string clientProfilesRepresentation *ClientProfilesRepresentation } @@ -988,24 +984,24 @@ func (r ApiAdminRealmsRealmClientPoliciesProfilesPutRequest) Execute() (*http.Re /* AdminRealmsRealmClientPoliciesProfilesPut Method for AdminRealmsRealmClientPoliciesProfilesPut - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmClientPoliciesProfilesPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmClientPoliciesProfilesPutRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmClientPoliciesProfilesPut(ctx context.Context, realm string) ApiAdminRealmsRealmClientPoliciesProfilesPutRequest { return ApiAdminRealmsRealmClientPoliciesProfilesPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request func (a *RealmsAdminAPIService) AdminRealmsRealmClientPoliciesProfilesPutExecute(r ApiAdminRealmsRealmClientPoliciesProfilesPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmClientPoliciesProfilesPut") @@ -1068,9 +1064,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmClientPoliciesProfilesPutExecute } type ApiAdminRealmsRealmClientSessionStatsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string + realm string } func (r ApiAdminRealmsRealmClientSessionStatsGetRequest) Execute() ([]map[string]string, *http.Response, error) { @@ -1082,27 +1078,26 @@ AdminRealmsRealmClientSessionStatsGet Get client session stats Returns a JSON ma 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. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmClientSessionStatsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmClientSessionStatsGetRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmClientSessionStatsGet(ctx context.Context, realm string) ApiAdminRealmsRealmClientSessionStatsGetRequest { return ApiAdminRealmsRealmClientSessionStatsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []map[string]string +// @return []map[string]string func (a *RealmsAdminAPIService) AdminRealmsRealmClientSessionStatsGetExecute(r ApiAdminRealmsRealmClientSessionStatsGetRequest) ([]map[string]string, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []map[string]string + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []map[string]string ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmClientSessionStatsGet") @@ -1172,9 +1167,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmClientSessionStatsGetExecute(r A } type ApiAdminRealmsRealmClientTypesGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string + realm string } func (r ApiAdminRealmsRealmClientTypesGetRequest) Execute() (*ClientTypesRepresentation, *http.Response, error) { @@ -1186,27 +1181,26 @@ AdminRealmsRealmClientTypesGet List all client types available in the current re This endpoint returns a list of both global and realm level client types and the attributes they set - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmClientTypesGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmClientTypesGetRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmClientTypesGet(ctx context.Context, realm string) ApiAdminRealmsRealmClientTypesGetRequest { return ApiAdminRealmsRealmClientTypesGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return ClientTypesRepresentation +// @return ClientTypesRepresentation func (a *RealmsAdminAPIService) AdminRealmsRealmClientTypesGetExecute(r ApiAdminRealmsRealmClientTypesGetRequest) (*ClientTypesRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ClientTypesRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ClientTypesRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmClientTypesGet") @@ -1276,9 +1270,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmClientTypesGetExecute(r ApiAdmin } type ApiAdminRealmsRealmClientTypesPutRequest struct { - ctx context.Context - ApiService *RealmsAdminAPIService - realm string + ctx context.Context + ApiService *RealmsAdminAPIService + realm string clientTypesRepresentation *ClientTypesRepresentation } @@ -1296,24 +1290,24 @@ AdminRealmsRealmClientTypesPut Update a client type This endpoint allows you to update a realm level client type - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmClientTypesPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmClientTypesPutRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmClientTypesPut(ctx context.Context, realm string) ApiAdminRealmsRealmClientTypesPutRequest { return ApiAdminRealmsRealmClientTypesPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request func (a *RealmsAdminAPIService) AdminRealmsRealmClientTypesPutExecute(r ApiAdminRealmsRealmClientTypesPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmClientTypesPut") @@ -1376,9 +1370,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmClientTypesPutExecute(r ApiAdmin } type ApiAdminRealmsRealmCredentialRegistratorsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string + realm string } func (r ApiAdminRealmsRealmCredentialRegistratorsGetRequest) Execute() ([]string, *http.Response, error) { @@ -1388,27 +1382,26 @@ func (r ApiAdminRealmsRealmCredentialRegistratorsGetRequest) Execute() ([]string /* AdminRealmsRealmCredentialRegistratorsGet Method for AdminRealmsRealmCredentialRegistratorsGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmCredentialRegistratorsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmCredentialRegistratorsGetRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmCredentialRegistratorsGet(ctx context.Context, realm string) ApiAdminRealmsRealmCredentialRegistratorsGetRequest { return ApiAdminRealmsRealmCredentialRegistratorsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []string +// @return []string func (a *RealmsAdminAPIService) AdminRealmsRealmCredentialRegistratorsGetExecute(r ApiAdminRealmsRealmCredentialRegistratorsGetRequest) ([]string, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []string + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []string ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmCredentialRegistratorsGet") @@ -1478,9 +1471,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmCredentialRegistratorsGetExecute } type ApiAdminRealmsRealmDefaultDefaultClientScopesClientScopeIdDeleteRequest struct { - ctx context.Context - ApiService *RealmsAdminAPIService - realm string + ctx context.Context + ApiService *RealmsAdminAPIService + realm string clientScopeId string } @@ -1491,16 +1484,16 @@ func (r ApiAdminRealmsRealmDefaultDefaultClientScopesClientScopeIdDeleteRequest) /* AdminRealmsRealmDefaultDefaultClientScopesClientScopeIdDelete Method for AdminRealmsRealmDefaultDefaultClientScopesClientScopeIdDelete - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmDefaultDefaultClientScopesClientScopeIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmDefaultDefaultClientScopesClientScopeIdDeleteRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultDefaultClientScopesClientScopeIdDelete(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmDefaultDefaultClientScopesClientScopeIdDeleteRequest { return ApiAdminRealmsRealmDefaultDefaultClientScopesClientScopeIdDeleteRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } @@ -1508,9 +1501,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultDefaultClientScopesClient // Execute executes the request func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultDefaultClientScopesClientScopeIdDeleteExecute(r ApiAdminRealmsRealmDefaultDefaultClientScopesClientScopeIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmDefaultDefaultClientScopesClientScopeIdDelete") @@ -1572,9 +1565,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultDefaultClientScopesClient } type ApiAdminRealmsRealmDefaultDefaultClientScopesClientScopeIdPutRequest struct { - ctx context.Context - ApiService *RealmsAdminAPIService - realm string + ctx context.Context + ApiService *RealmsAdminAPIService + realm string clientScopeId string } @@ -1585,16 +1578,16 @@ func (r ApiAdminRealmsRealmDefaultDefaultClientScopesClientScopeIdPutRequest) Ex /* AdminRealmsRealmDefaultDefaultClientScopesClientScopeIdPut Method for AdminRealmsRealmDefaultDefaultClientScopesClientScopeIdPut - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmDefaultDefaultClientScopesClientScopeIdPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmDefaultDefaultClientScopesClientScopeIdPutRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultDefaultClientScopesClientScopeIdPut(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmDefaultDefaultClientScopesClientScopeIdPutRequest { return ApiAdminRealmsRealmDefaultDefaultClientScopesClientScopeIdPutRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } @@ -1602,9 +1595,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultDefaultClientScopesClient // Execute executes the request func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultDefaultClientScopesClientScopeIdPutExecute(r ApiAdminRealmsRealmDefaultDefaultClientScopesClientScopeIdPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmDefaultDefaultClientScopesClientScopeIdPut") @@ -1666,9 +1659,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultDefaultClientScopesClient } type ApiAdminRealmsRealmDefaultDefaultClientScopesGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string + realm string } func (r ApiAdminRealmsRealmDefaultDefaultClientScopesGetRequest) Execute() ([]ClientScopeRepresentation, *http.Response, error) { @@ -1678,27 +1671,26 @@ func (r ApiAdminRealmsRealmDefaultDefaultClientScopesGetRequest) Execute() ([]Cl /* AdminRealmsRealmDefaultDefaultClientScopesGet Get realm default client scopes. Only name and ids are returned. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmDefaultDefaultClientScopesGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmDefaultDefaultClientScopesGetRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultDefaultClientScopesGet(ctx context.Context, realm string) ApiAdminRealmsRealmDefaultDefaultClientScopesGetRequest { return ApiAdminRealmsRealmDefaultDefaultClientScopesGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []ClientScopeRepresentation +// @return []ClientScopeRepresentation func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultDefaultClientScopesGetExecute(r ApiAdminRealmsRealmDefaultDefaultClientScopesGetRequest) ([]ClientScopeRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ClientScopeRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ClientScopeRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmDefaultDefaultClientScopesGet") @@ -1768,9 +1760,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultDefaultClientScopesGetExe } type ApiAdminRealmsRealmDefaultGroupsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string + realm string } func (r ApiAdminRealmsRealmDefaultGroupsGetRequest) Execute() ([]GroupRepresentation, *http.Response, error) { @@ -1780,27 +1772,26 @@ func (r ApiAdminRealmsRealmDefaultGroupsGetRequest) Execute() ([]GroupRepresenta /* AdminRealmsRealmDefaultGroupsGet Get group hierarchy. Only name and ids are returned. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmDefaultGroupsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmDefaultGroupsGetRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultGroupsGet(ctx context.Context, realm string) ApiAdminRealmsRealmDefaultGroupsGetRequest { return ApiAdminRealmsRealmDefaultGroupsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []GroupRepresentation +// @return []GroupRepresentation func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultGroupsGetExecute(r ApiAdminRealmsRealmDefaultGroupsGetRequest) ([]GroupRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []GroupRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []GroupRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmDefaultGroupsGet") @@ -1870,10 +1861,10 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultGroupsGetExecute(r ApiAdm } type ApiAdminRealmsRealmDefaultGroupsGroupIdDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string - groupId string + realm string + groupId string } func (r ApiAdminRealmsRealmDefaultGroupsGroupIdDeleteRequest) Execute() (*http.Response, error) { @@ -1883,26 +1874,26 @@ func (r ApiAdminRealmsRealmDefaultGroupsGroupIdDeleteRequest) Execute() (*http.R /* AdminRealmsRealmDefaultGroupsGroupIdDelete Method for AdminRealmsRealmDefaultGroupsGroupIdDelete - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param groupId - @return ApiAdminRealmsRealmDefaultGroupsGroupIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param groupId + @return ApiAdminRealmsRealmDefaultGroupsGroupIdDeleteRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultGroupsGroupIdDelete(ctx context.Context, realm string, groupId string) ApiAdminRealmsRealmDefaultGroupsGroupIdDeleteRequest { return ApiAdminRealmsRealmDefaultGroupsGroupIdDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - groupId: groupId, + ctx: ctx, + realm: realm, + groupId: groupId, } } // Execute executes the request func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultGroupsGroupIdDeleteExecute(r ApiAdminRealmsRealmDefaultGroupsGroupIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmDefaultGroupsGroupIdDelete") @@ -1964,10 +1955,10 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultGroupsGroupIdDeleteExecut } type ApiAdminRealmsRealmDefaultGroupsGroupIdPutRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string - groupId string + realm string + groupId string } func (r ApiAdminRealmsRealmDefaultGroupsGroupIdPutRequest) Execute() (*http.Response, error) { @@ -1977,26 +1968,26 @@ func (r ApiAdminRealmsRealmDefaultGroupsGroupIdPutRequest) Execute() (*http.Resp /* AdminRealmsRealmDefaultGroupsGroupIdPut Method for AdminRealmsRealmDefaultGroupsGroupIdPut - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param groupId - @return ApiAdminRealmsRealmDefaultGroupsGroupIdPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param groupId + @return ApiAdminRealmsRealmDefaultGroupsGroupIdPutRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultGroupsGroupIdPut(ctx context.Context, realm string, groupId string) ApiAdminRealmsRealmDefaultGroupsGroupIdPutRequest { return ApiAdminRealmsRealmDefaultGroupsGroupIdPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - groupId: groupId, + ctx: ctx, + realm: realm, + groupId: groupId, } } // Execute executes the request func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultGroupsGroupIdPutExecute(r ApiAdminRealmsRealmDefaultGroupsGroupIdPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmDefaultGroupsGroupIdPut") @@ -2058,9 +2049,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultGroupsGroupIdPutExecute(r } type ApiAdminRealmsRealmDefaultOptionalClientScopesClientScopeIdDeleteRequest struct { - ctx context.Context - ApiService *RealmsAdminAPIService - realm string + ctx context.Context + ApiService *RealmsAdminAPIService + realm string clientScopeId string } @@ -2071,16 +2062,16 @@ func (r ApiAdminRealmsRealmDefaultOptionalClientScopesClientScopeIdDeleteRequest /* AdminRealmsRealmDefaultOptionalClientScopesClientScopeIdDelete Method for AdminRealmsRealmDefaultOptionalClientScopesClientScopeIdDelete - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmDefaultOptionalClientScopesClientScopeIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmDefaultOptionalClientScopesClientScopeIdDeleteRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultOptionalClientScopesClientScopeIdDelete(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmDefaultOptionalClientScopesClientScopeIdDeleteRequest { return ApiAdminRealmsRealmDefaultOptionalClientScopesClientScopeIdDeleteRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } @@ -2088,9 +2079,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultOptionalClientScopesClien // Execute executes the request func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultOptionalClientScopesClientScopeIdDeleteExecute(r ApiAdminRealmsRealmDefaultOptionalClientScopesClientScopeIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmDefaultOptionalClientScopesClientScopeIdDelete") @@ -2152,9 +2143,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultOptionalClientScopesClien } type ApiAdminRealmsRealmDefaultOptionalClientScopesClientScopeIdPutRequest struct { - ctx context.Context - ApiService *RealmsAdminAPIService - realm string + ctx context.Context + ApiService *RealmsAdminAPIService + realm string clientScopeId string } @@ -2165,16 +2156,16 @@ func (r ApiAdminRealmsRealmDefaultOptionalClientScopesClientScopeIdPutRequest) E /* AdminRealmsRealmDefaultOptionalClientScopesClientScopeIdPut Method for AdminRealmsRealmDefaultOptionalClientScopesClientScopeIdPut - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmDefaultOptionalClientScopesClientScopeIdPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmDefaultOptionalClientScopesClientScopeIdPutRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultOptionalClientScopesClientScopeIdPut(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmDefaultOptionalClientScopesClientScopeIdPutRequest { return ApiAdminRealmsRealmDefaultOptionalClientScopesClientScopeIdPutRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } @@ -2182,9 +2173,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultOptionalClientScopesClien // Execute executes the request func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultOptionalClientScopesClientScopeIdPutExecute(r ApiAdminRealmsRealmDefaultOptionalClientScopesClientScopeIdPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmDefaultOptionalClientScopesClientScopeIdPut") @@ -2246,9 +2237,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultOptionalClientScopesClien } type ApiAdminRealmsRealmDefaultOptionalClientScopesGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string + realm string } func (r ApiAdminRealmsRealmDefaultOptionalClientScopesGetRequest) Execute() ([]ClientScopeRepresentation, *http.Response, error) { @@ -2258,27 +2249,26 @@ func (r ApiAdminRealmsRealmDefaultOptionalClientScopesGetRequest) Execute() ([]C /* AdminRealmsRealmDefaultOptionalClientScopesGet Get realm optional client scopes. Only name and ids are returned. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmDefaultOptionalClientScopesGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmDefaultOptionalClientScopesGetRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultOptionalClientScopesGet(ctx context.Context, realm string) ApiAdminRealmsRealmDefaultOptionalClientScopesGetRequest { return ApiAdminRealmsRealmDefaultOptionalClientScopesGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []ClientScopeRepresentation +// @return []ClientScopeRepresentation func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultOptionalClientScopesGetExecute(r ApiAdminRealmsRealmDefaultOptionalClientScopesGetRequest) ([]ClientScopeRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []ClientScopeRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ClientScopeRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmDefaultOptionalClientScopesGet") @@ -2348,9 +2338,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmDefaultOptionalClientScopesGetEx } type ApiAdminRealmsRealmDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string + realm string } func (r ApiAdminRealmsRealmDeleteRequest) Execute() (*http.Response, error) { @@ -2360,24 +2350,24 @@ func (r ApiAdminRealmsRealmDeleteRequest) Execute() (*http.Response, error) { /* AdminRealmsRealmDelete Delete the realm - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmDeleteRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmDelete(ctx context.Context, realm string) ApiAdminRealmsRealmDeleteRequest { return ApiAdminRealmsRealmDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request func (a *RealmsAdminAPIService) AdminRealmsRealmDeleteExecute(r ApiAdminRealmsRealmDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmDelete") @@ -2438,9 +2428,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmDeleteExecute(r ApiAdminRealmsRe } type ApiAdminRealmsRealmEventsConfigGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string + realm string } func (r ApiAdminRealmsRealmEventsConfigGetRequest) Execute() (*RealmEventsConfigRepresentation, *http.Response, error) { @@ -2450,27 +2440,26 @@ func (r ApiAdminRealmsRealmEventsConfigGetRequest) Execute() (*RealmEventsConfig /* AdminRealmsRealmEventsConfigGet Get the events provider configuration Returns JSON object with events provider configuration - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmEventsConfigGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmEventsConfigGetRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmEventsConfigGet(ctx context.Context, realm string) ApiAdminRealmsRealmEventsConfigGetRequest { return ApiAdminRealmsRealmEventsConfigGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return RealmEventsConfigRepresentation +// @return RealmEventsConfigRepresentation func (a *RealmsAdminAPIService) AdminRealmsRealmEventsConfigGetExecute(r ApiAdminRealmsRealmEventsConfigGetRequest) (*RealmEventsConfigRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *RealmEventsConfigRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RealmEventsConfigRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmEventsConfigGet") @@ -2540,9 +2529,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmEventsConfigGetExecute(r ApiAdmi } type ApiAdminRealmsRealmEventsConfigPutRequest struct { - ctx context.Context - ApiService *RealmsAdminAPIService - realm string + ctx context.Context + ApiService *RealmsAdminAPIService + realm string realmEventsConfigRepresentation *RealmEventsConfigRepresentation } @@ -2560,24 +2549,24 @@ AdminRealmsRealmEventsConfigPut Method for AdminRealmsRealmEventsConfigPut Update the events provider Change the events provider and/or its configuration - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmEventsConfigPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmEventsConfigPutRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmEventsConfigPut(ctx context.Context, realm string) ApiAdminRealmsRealmEventsConfigPutRequest { return ApiAdminRealmsRealmEventsConfigPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request func (a *RealmsAdminAPIService) AdminRealmsRealmEventsConfigPutExecute(r ApiAdminRealmsRealmEventsConfigPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmEventsConfigPut") @@ -2640,9 +2629,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmEventsConfigPutExecute(r ApiAdmi } type ApiAdminRealmsRealmEventsDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string + realm string } func (r ApiAdminRealmsRealmEventsDeleteRequest) Execute() (*http.Response, error) { @@ -2652,24 +2641,24 @@ func (r ApiAdminRealmsRealmEventsDeleteRequest) Execute() (*http.Response, error /* AdminRealmsRealmEventsDelete Delete all events - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmEventsDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmEventsDeleteRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmEventsDelete(ctx context.Context, realm string) ApiAdminRealmsRealmEventsDeleteRequest { return ApiAdminRealmsRealmEventsDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request func (a *RealmsAdminAPIService) AdminRealmsRealmEventsDeleteExecute(r ApiAdminRealmsRealmEventsDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmEventsDelete") @@ -2730,17 +2719,17 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmEventsDeleteExecute(r ApiAdminRe } type ApiAdminRealmsRealmEventsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string - client *string - dateFrom *string - dateTo *string - first *int32 - ipAddress *string - max *int32 - type_ *[]string - user *string + realm string + client *string + dateFrom *string + dateTo *string + first *int32 + ipAddress *string + max *int32 + type_ *[]string + user *string } // App or oauth client name @@ -2798,27 +2787,26 @@ func (r ApiAdminRealmsRealmEventsGetRequest) Execute() ([]EventRepresentation, * /* AdminRealmsRealmEventsGet Get events Returns all events, or filters them based on URL query parameters listed here - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmEventsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmEventsGetRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmEventsGet(ctx context.Context, realm string) ApiAdminRealmsRealmEventsGetRequest { return ApiAdminRealmsRealmEventsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []EventRepresentation +// @return []EventRepresentation func (a *RealmsAdminAPIService) AdminRealmsRealmEventsGetExecute(r ApiAdminRealmsRealmEventsGetRequest) ([]EventRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []EventRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []EventRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmEventsGet") @@ -2920,9 +2908,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmEventsGetExecute(r ApiAdminRealm } type ApiAdminRealmsRealmGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string + realm string } func (r ApiAdminRealmsRealmGetRequest) Execute() (*RealmRepresentation, *http.Response, error) { @@ -2932,27 +2920,26 @@ func (r ApiAdminRealmsRealmGetRequest) Execute() (*RealmRepresentation, *http.Re /* AdminRealmsRealmGet Get the top-level representation of the realm It will not include nested information like User and Client representations. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmGetRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmGet(ctx context.Context, realm string) ApiAdminRealmsRealmGetRequest { return ApiAdminRealmsRealmGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return RealmRepresentation +// @return RealmRepresentation func (a *RealmsAdminAPIService) AdminRealmsRealmGetExecute(r ApiAdminRealmsRealmGetRequest) (*RealmRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *RealmRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RealmRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmGet") @@ -3022,10 +3009,10 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmGetExecute(r ApiAdminRealmsRealm } type ApiAdminRealmsRealmGroupByPathPathGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string - path string + realm string + path string } func (r ApiAdminRealmsRealmGroupByPathPathGetRequest) Execute() (*GroupRepresentation, *http.Response, error) { @@ -3035,29 +3022,28 @@ func (r ApiAdminRealmsRealmGroupByPathPathGetRequest) Execute() (*GroupRepresent /* AdminRealmsRealmGroupByPathPathGet Method for AdminRealmsRealmGroupByPathPathGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param path - @return ApiAdminRealmsRealmGroupByPathPathGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param path + @return ApiAdminRealmsRealmGroupByPathPathGetRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmGroupByPathPathGet(ctx context.Context, realm string, path string) ApiAdminRealmsRealmGroupByPathPathGetRequest { return ApiAdminRealmsRealmGroupByPathPathGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - path: path, + ctx: ctx, + realm: realm, + path: path, } } // Execute executes the request -// -// @return GroupRepresentation +// @return GroupRepresentation func (a *RealmsAdminAPIService) AdminRealmsRealmGroupByPathPathGetExecute(r ApiAdminRealmsRealmGroupByPathPathGetRequest) (*GroupRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *GroupRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GroupRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmGroupByPathPathGet") @@ -3128,9 +3114,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmGroupByPathPathGetExecute(r ApiA } type ApiAdminRealmsRealmLocalizationGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string + realm string } func (r ApiAdminRealmsRealmLocalizationGetRequest) Execute() ([]string, *http.Response, error) { @@ -3140,27 +3126,26 @@ func (r ApiAdminRealmsRealmLocalizationGetRequest) Execute() ([]string, *http.Re /* AdminRealmsRealmLocalizationGet Method for AdminRealmsRealmLocalizationGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmLocalizationGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmLocalizationGetRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmLocalizationGet(ctx context.Context, realm string) ApiAdminRealmsRealmLocalizationGetRequest { return ApiAdminRealmsRealmLocalizationGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []string +// @return []string func (a *RealmsAdminAPIService) AdminRealmsRealmLocalizationGetExecute(r ApiAdminRealmsRealmLocalizationGetRequest) ([]string, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []string + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []string ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmLocalizationGet") @@ -3230,10 +3215,10 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmLocalizationGetExecute(r ApiAdmi } type ApiAdminRealmsRealmLocalizationLocaleDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string - locale string + realm string + locale string } func (r ApiAdminRealmsRealmLocalizationLocaleDeleteRequest) Execute() (*http.Response, error) { @@ -3243,26 +3228,26 @@ func (r ApiAdminRealmsRealmLocalizationLocaleDeleteRequest) Execute() (*http.Res /* AdminRealmsRealmLocalizationLocaleDelete Method for AdminRealmsRealmLocalizationLocaleDelete - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param locale - @return ApiAdminRealmsRealmLocalizationLocaleDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param locale + @return ApiAdminRealmsRealmLocalizationLocaleDeleteRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmLocalizationLocaleDelete(ctx context.Context, realm string, locale string) ApiAdminRealmsRealmLocalizationLocaleDeleteRequest { return ApiAdminRealmsRealmLocalizationLocaleDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - locale: locale, + ctx: ctx, + realm: realm, + locale: locale, } } // Execute executes the request func (a *RealmsAdminAPIService) AdminRealmsRealmLocalizationLocaleDeleteExecute(r ApiAdminRealmsRealmLocalizationLocaleDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmLocalizationLocaleDelete") @@ -3324,10 +3309,10 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmLocalizationLocaleDeleteExecute( } type ApiAdminRealmsRealmLocalizationLocaleGetRequest struct { - ctx context.Context - ApiService *RealmsAdminAPIService - realm string - locale string + ctx context.Context + ApiService *RealmsAdminAPIService + realm string + locale string useRealmDefaultLocaleFallback *bool } @@ -3344,29 +3329,28 @@ func (r ApiAdminRealmsRealmLocalizationLocaleGetRequest) Execute() (map[string]s /* AdminRealmsRealmLocalizationLocaleGet Method for AdminRealmsRealmLocalizationLocaleGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param locale - @return ApiAdminRealmsRealmLocalizationLocaleGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param locale + @return ApiAdminRealmsRealmLocalizationLocaleGetRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmLocalizationLocaleGet(ctx context.Context, realm string, locale string) ApiAdminRealmsRealmLocalizationLocaleGetRequest { return ApiAdminRealmsRealmLocalizationLocaleGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - locale: locale, + ctx: ctx, + realm: realm, + locale: locale, } } // Execute executes the request -// -// @return map[string]string +// @return map[string]string func (a *RealmsAdminAPIService) AdminRealmsRealmLocalizationLocaleGetExecute(r ApiAdminRealmsRealmLocalizationLocaleGetRequest) (map[string]string, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue map[string]string + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue map[string]string ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmLocalizationLocaleGet") @@ -3440,11 +3424,11 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmLocalizationLocaleGetExecute(r A } type ApiAdminRealmsRealmLocalizationLocaleKeyDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string - key string - locale string + realm string + key string + locale string } func (r ApiAdminRealmsRealmLocalizationLocaleKeyDeleteRequest) Execute() (*http.Response, error) { @@ -3454,28 +3438,28 @@ func (r ApiAdminRealmsRealmLocalizationLocaleKeyDeleteRequest) Execute() (*http. /* AdminRealmsRealmLocalizationLocaleKeyDelete Method for AdminRealmsRealmLocalizationLocaleKeyDelete - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param key - @param locale - @return ApiAdminRealmsRealmLocalizationLocaleKeyDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param key + @param locale + @return ApiAdminRealmsRealmLocalizationLocaleKeyDeleteRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmLocalizationLocaleKeyDelete(ctx context.Context, realm string, key string, locale string) ApiAdminRealmsRealmLocalizationLocaleKeyDeleteRequest { return ApiAdminRealmsRealmLocalizationLocaleKeyDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - key: key, - locale: locale, + ctx: ctx, + realm: realm, + key: key, + locale: locale, } } // Execute executes the request func (a *RealmsAdminAPIService) AdminRealmsRealmLocalizationLocaleKeyDeleteExecute(r ApiAdminRealmsRealmLocalizationLocaleKeyDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmLocalizationLocaleKeyDelete") @@ -3538,11 +3522,11 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmLocalizationLocaleKeyDeleteExecu } type ApiAdminRealmsRealmLocalizationLocaleKeyGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string - key string - locale string + realm string + key string + locale string } func (r ApiAdminRealmsRealmLocalizationLocaleKeyGetRequest) Execute() (string, *http.Response, error) { @@ -3552,31 +3536,30 @@ func (r ApiAdminRealmsRealmLocalizationLocaleKeyGetRequest) Execute() (string, * /* AdminRealmsRealmLocalizationLocaleKeyGet Method for AdminRealmsRealmLocalizationLocaleKeyGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param key - @param locale - @return ApiAdminRealmsRealmLocalizationLocaleKeyGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param key + @param locale + @return ApiAdminRealmsRealmLocalizationLocaleKeyGetRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmLocalizationLocaleKeyGet(ctx context.Context, realm string, key string, locale string) ApiAdminRealmsRealmLocalizationLocaleKeyGetRequest { return ApiAdminRealmsRealmLocalizationLocaleKeyGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - key: key, - locale: locale, + ctx: ctx, + realm: realm, + key: key, + locale: locale, } } // Execute executes the request -// -// @return string +// @return string func (a *RealmsAdminAPIService) AdminRealmsRealmLocalizationLocaleKeyGetExecute(r ApiAdminRealmsRealmLocalizationLocaleKeyGetRequest) (string, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue string + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue string ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmLocalizationLocaleKeyGet") @@ -3648,12 +3631,12 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmLocalizationLocaleKeyGetExecute( } type ApiAdminRealmsRealmLocalizationLocaleKeyPutRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string - key string - locale string - body *string + realm string + key string + locale string + body *string } func (r ApiAdminRealmsRealmLocalizationLocaleKeyPutRequest) Body(body string) ApiAdminRealmsRealmLocalizationLocaleKeyPutRequest { @@ -3668,28 +3651,28 @@ func (r ApiAdminRealmsRealmLocalizationLocaleKeyPutRequest) Execute() (*http.Res /* AdminRealmsRealmLocalizationLocaleKeyPut Method for AdminRealmsRealmLocalizationLocaleKeyPut - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param key - @param locale - @return ApiAdminRealmsRealmLocalizationLocaleKeyPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param key + @param locale + @return ApiAdminRealmsRealmLocalizationLocaleKeyPutRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmLocalizationLocaleKeyPut(ctx context.Context, realm string, key string, locale string) ApiAdminRealmsRealmLocalizationLocaleKeyPutRequest { return ApiAdminRealmsRealmLocalizationLocaleKeyPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - key: key, - locale: locale, + ctx: ctx, + realm: realm, + key: key, + locale: locale, } } // Execute executes the request func (a *RealmsAdminAPIService) AdminRealmsRealmLocalizationLocaleKeyPutExecute(r ApiAdminRealmsRealmLocalizationLocaleKeyPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmLocalizationLocaleKeyPut") @@ -3754,10 +3737,10 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmLocalizationLocaleKeyPutExecute( } type ApiAdminRealmsRealmLocalizationLocalePostRequest struct { - ctx context.Context - ApiService *RealmsAdminAPIService - realm string - locale string + ctx context.Context + ApiService *RealmsAdminAPIService + realm string + locale string requestBody *map[string]string } @@ -3773,26 +3756,26 @@ func (r ApiAdminRealmsRealmLocalizationLocalePostRequest) Execute() (*http.Respo /* AdminRealmsRealmLocalizationLocalePost Import localization from uploaded JSON file - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param locale - @return ApiAdminRealmsRealmLocalizationLocalePostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param locale + @return ApiAdminRealmsRealmLocalizationLocalePostRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmLocalizationLocalePost(ctx context.Context, realm string, locale string) ApiAdminRealmsRealmLocalizationLocalePostRequest { return ApiAdminRealmsRealmLocalizationLocalePostRequest{ ApiService: a, - ctx: ctx, - realm: realm, - locale: locale, + ctx: ctx, + realm: realm, + locale: locale, } } // Execute executes the request func (a *RealmsAdminAPIService) AdminRealmsRealmLocalizationLocalePostExecute(r ApiAdminRealmsRealmLocalizationLocalePostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmLocalizationLocalePost") @@ -3856,9 +3839,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmLocalizationLocalePostExecute(r } type ApiAdminRealmsRealmLogoutAllPostRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string + realm string } func (r ApiAdminRealmsRealmLogoutAllPostRequest) Execute() (*GlobalRequestResult, *http.Response, error) { @@ -3870,27 +3853,26 @@ AdminRealmsRealmLogoutAllPost Removes all user sessions. Any client that has an admin url will also be told to invalidate any sessions they have. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmLogoutAllPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmLogoutAllPostRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmLogoutAllPost(ctx context.Context, realm string) ApiAdminRealmsRealmLogoutAllPostRequest { return ApiAdminRealmsRealmLogoutAllPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return GlobalRequestResult +// @return GlobalRequestResult func (a *RealmsAdminAPIService) AdminRealmsRealmLogoutAllPostExecute(r ApiAdminRealmsRealmLogoutAllPostRequest) (*GlobalRequestResult, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *GlobalRequestResult + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GlobalRequestResult ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmLogoutAllPost") @@ -3960,10 +3942,10 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmLogoutAllPostExecute(r ApiAdminR } type ApiAdminRealmsRealmPartialExportPostRequest struct { - ctx context.Context - ApiService *RealmsAdminAPIService - realm string - exportClients *bool + ctx context.Context + ApiService *RealmsAdminAPIService + realm string + exportClients *bool exportGroupsAndRoles *bool } @@ -3984,24 +3966,24 @@ func (r ApiAdminRealmsRealmPartialExportPostRequest) Execute() (*http.Response, /* AdminRealmsRealmPartialExportPost Partial export of existing realm into a JSON file. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmPartialExportPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmPartialExportPostRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmPartialExportPost(ctx context.Context, realm string) ApiAdminRealmsRealmPartialExportPostRequest { return ApiAdminRealmsRealmPartialExportPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request func (a *RealmsAdminAPIService) AdminRealmsRealmPartialExportPostExecute(r ApiAdminRealmsRealmPartialExportPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmPartialExportPost") @@ -4068,10 +4050,10 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmPartialExportPostExecute(r ApiAd } type ApiAdminRealmsRealmPartialImportPostRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string - body *os.File + realm string + body *os.File } func (r ApiAdminRealmsRealmPartialImportPostRequest) Body(body *os.File) ApiAdminRealmsRealmPartialImportPostRequest { @@ -4086,24 +4068,24 @@ func (r ApiAdminRealmsRealmPartialImportPostRequest) Execute() (*http.Response, /* AdminRealmsRealmPartialImportPost Partial import from a JSON file to an existing realm. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmPartialImportPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmPartialImportPostRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmPartialImportPost(ctx context.Context, realm string) ApiAdminRealmsRealmPartialImportPostRequest { return ApiAdminRealmsRealmPartialImportPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request func (a *RealmsAdminAPIService) AdminRealmsRealmPartialImportPostExecute(r ApiAdminRealmsRealmPartialImportPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmPartialImportPost") @@ -4166,9 +4148,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmPartialImportPostExecute(r ApiAd } type ApiAdminRealmsRealmPushRevocationPostRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string + realm string } func (r ApiAdminRealmsRealmPushRevocationPostRequest) Execute() (*GlobalRequestResult, *http.Response, error) { @@ -4178,27 +4160,26 @@ func (r ApiAdminRealmsRealmPushRevocationPostRequest) Execute() (*GlobalRequestR /* AdminRealmsRealmPushRevocationPost Push the realm's revocation policy to any client that has an admin url associated with it. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmPushRevocationPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmPushRevocationPostRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmPushRevocationPost(ctx context.Context, realm string) ApiAdminRealmsRealmPushRevocationPostRequest { return ApiAdminRealmsRealmPushRevocationPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return GlobalRequestResult +// @return GlobalRequestResult func (a *RealmsAdminAPIService) AdminRealmsRealmPushRevocationPostExecute(r ApiAdminRealmsRealmPushRevocationPostRequest) (*GlobalRequestResult, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *GlobalRequestResult + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GlobalRequestResult ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmPushRevocationPost") @@ -4268,9 +4249,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmPushRevocationPostExecute(r ApiA } type ApiAdminRealmsRealmPutRequest struct { - ctx context.Context - ApiService *RealmsAdminAPIService - realm string + ctx context.Context + ApiService *RealmsAdminAPIService + realm string realmRepresentation *RealmRepresentation } @@ -4288,24 +4269,24 @@ AdminRealmsRealmPut Update the top-level information of the realm Any user, role This will only update top-level attributes of the realm. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmPutRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmPut(ctx context.Context, realm string) ApiAdminRealmsRealmPutRequest { return ApiAdminRealmsRealmPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request func (a *RealmsAdminAPIService) AdminRealmsRealmPutExecute(r ApiAdminRealmsRealmPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmPut") @@ -4368,11 +4349,11 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmPutExecute(r ApiAdminRealmsRealm } type ApiAdminRealmsRealmSessionsSessionDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string - session string - isOffline *bool + realm string + session string + isOffline *bool } func (r ApiAdminRealmsRealmSessionsSessionDeleteRequest) IsOffline(isOffline bool) ApiAdminRealmsRealmSessionsSessionDeleteRequest { @@ -4389,26 +4370,26 @@ AdminRealmsRealmSessionsSessionDelete Remove a specific user session. Any client that has an admin url will also be told to invalidate this particular session. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param session - @return ApiAdminRealmsRealmSessionsSessionDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param session + @return ApiAdminRealmsRealmSessionsSessionDeleteRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmSessionsSessionDelete(ctx context.Context, realm string, session string) ApiAdminRealmsRealmSessionsSessionDeleteRequest { return ApiAdminRealmsRealmSessionsSessionDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - session: session, + ctx: ctx, + realm: realm, + session: session, } } // Execute executes the request func (a *RealmsAdminAPIService) AdminRealmsRealmSessionsSessionDeleteExecute(r ApiAdminRealmsRealmSessionsSessionDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmSessionsSessionDelete") @@ -4476,9 +4457,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmSessionsSessionDeleteExecute(r A } type ApiAdminRealmsRealmTestSMTPConnectionPostRequest struct { - ctx context.Context - ApiService *RealmsAdminAPIService - realm string + ctx context.Context + ApiService *RealmsAdminAPIService + realm string requestBody *map[string]string } @@ -4494,17 +4475,17 @@ func (r ApiAdminRealmsRealmTestSMTPConnectionPostRequest) Execute() (*http.Respo /* AdminRealmsRealmTestSMTPConnectionPost Test SMTP connection with current logged in user - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmTestSMTPConnectionPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmTestSMTPConnectionPostRequest Deprecated */ func (a *RealmsAdminAPIService) AdminRealmsRealmTestSMTPConnectionPost(ctx context.Context, realm string) ApiAdminRealmsRealmTestSMTPConnectionPostRequest { return ApiAdminRealmsRealmTestSMTPConnectionPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } @@ -4512,9 +4493,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmTestSMTPConnectionPost(ctx conte // Deprecated func (a *RealmsAdminAPIService) AdminRealmsRealmTestSMTPConnectionPostExecute(r ApiAdminRealmsRealmTestSMTPConnectionPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmTestSMTPConnectionPost") @@ -4577,9 +4558,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmTestSMTPConnectionPostExecute(r } type ApiAdminRealmsRealmUsersManagementPermissionsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RealmsAdminAPIService - realm string + realm string } func (r ApiAdminRealmsRealmUsersManagementPermissionsGetRequest) Execute() (*ManagementPermissionReference, *http.Response, error) { @@ -4589,27 +4570,26 @@ func (r ApiAdminRealmsRealmUsersManagementPermissionsGetRequest) Execute() (*Man /* AdminRealmsRealmUsersManagementPermissionsGet Method for AdminRealmsRealmUsersManagementPermissionsGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmUsersManagementPermissionsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmUsersManagementPermissionsGetRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmUsersManagementPermissionsGet(ctx context.Context, realm string) ApiAdminRealmsRealmUsersManagementPermissionsGetRequest { return ApiAdminRealmsRealmUsersManagementPermissionsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return ManagementPermissionReference +// @return ManagementPermissionReference func (a *RealmsAdminAPIService) AdminRealmsRealmUsersManagementPermissionsGetExecute(r ApiAdminRealmsRealmUsersManagementPermissionsGetRequest) (*ManagementPermissionReference, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ManagementPermissionReference + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ManagementPermissionReference ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmUsersManagementPermissionsGet") @@ -4679,9 +4659,9 @@ func (a *RealmsAdminAPIService) AdminRealmsRealmUsersManagementPermissionsGetExe } type ApiAdminRealmsRealmUsersManagementPermissionsPutRequest struct { - ctx context.Context - ApiService *RealmsAdminAPIService - realm string + ctx context.Context + ApiService *RealmsAdminAPIService + realm string managementPermissionReference *ManagementPermissionReference } @@ -4697,27 +4677,26 @@ func (r ApiAdminRealmsRealmUsersManagementPermissionsPutRequest) Execute() (*Man /* AdminRealmsRealmUsersManagementPermissionsPut Method for AdminRealmsRealmUsersManagementPermissionsPut - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmUsersManagementPermissionsPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmUsersManagementPermissionsPutRequest */ func (a *RealmsAdminAPIService) AdminRealmsRealmUsersManagementPermissionsPut(ctx context.Context, realm string) ApiAdminRealmsRealmUsersManagementPermissionsPutRequest { return ApiAdminRealmsRealmUsersManagementPermissionsPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return ManagementPermissionReference +// @return ManagementPermissionReference func (a *RealmsAdminAPIService) AdminRealmsRealmUsersManagementPermissionsPutExecute(r ApiAdminRealmsRealmUsersManagementPermissionsPutRequest) (*ManagementPermissionReference, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ManagementPermissionReference + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ManagementPermissionReference ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RealmsAdminAPIService.AdminRealmsRealmUsersManagementPermissionsPut") diff --git a/api_role_mapper.go b/api_role_mapper.go index fb7191e..58ee9f8 100644 --- a/api_role_mapper.go +++ b/api_role_mapper.go @@ -19,14 +19,15 @@ import ( "strings" ) + // RoleMapperAPIService RoleMapperAPI service type RoleMapperAPIService service type ApiAdminRealmsRealmGroupsGroupIdRoleMappingsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RoleMapperAPIService - realm string - groupId string + realm string + groupId string } func (r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsGetRequest) Execute() (*MappingsRepresentation, *http.Response, error) { @@ -36,29 +37,28 @@ func (r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsGetRequest) Execute() (*Mapp /* AdminRealmsRealmGroupsGroupIdRoleMappingsGet Get role mappings - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param groupId - @return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param groupId + @return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsGetRequest */ func (a *RoleMapperAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsGet(ctx context.Context, realm string, groupId string) ApiAdminRealmsRealmGroupsGroupIdRoleMappingsGetRequest { return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - groupId: groupId, + ctx: ctx, + realm: realm, + groupId: groupId, } } // Execute executes the request -// -// @return MappingsRepresentation +// @return MappingsRepresentation func (a *RoleMapperAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsGetExecute(r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsGetRequest) (*MappingsRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *MappingsRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *MappingsRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RoleMapperAPIService.AdminRealmsRealmGroupsGroupIdRoleMappingsGet") @@ -129,10 +129,10 @@ func (a *RoleMapperAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsGetExecu } type ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmAvailableGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RoleMapperAPIService - realm string - groupId string + realm string + groupId string } func (r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmAvailableGetRequest) Execute() ([]RoleRepresentation, *http.Response, error) { @@ -142,29 +142,28 @@ func (r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmAvailableGetRequest) Ex /* AdminRealmsRealmGroupsGroupIdRoleMappingsRealmAvailableGet Get realm-level roles that can be mapped - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param groupId - @return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmAvailableGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param groupId + @return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmAvailableGetRequest */ func (a *RoleMapperAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsRealmAvailableGet(ctx context.Context, realm string, groupId string) ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmAvailableGetRequest { return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmAvailableGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - groupId: groupId, + ctx: ctx, + realm: realm, + groupId: groupId, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *RoleMapperAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsRealmAvailableGetExecute(r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmAvailableGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RoleMapperAPIService.AdminRealmsRealmGroupsGroupIdRoleMappingsRealmAvailableGet") @@ -235,10 +234,10 @@ func (a *RoleMapperAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsRealmAva } type ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmCompositeGetRequest struct { - ctx context.Context - ApiService *RoleMapperAPIService - realm string - groupId string + ctx context.Context + ApiService *RoleMapperAPIService + realm string + groupId string briefRepresentation *bool } @@ -255,29 +254,28 @@ func (r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmCompositeGetRequest) Ex /* AdminRealmsRealmGroupsGroupIdRoleMappingsRealmCompositeGet Get effective realm-level role mappings This will recurse all composite roles to get the result. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param groupId - @return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmCompositeGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param groupId + @return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmCompositeGetRequest */ func (a *RoleMapperAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsRealmCompositeGet(ctx context.Context, realm string, groupId string) ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmCompositeGetRequest { return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmCompositeGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - groupId: groupId, + ctx: ctx, + realm: realm, + groupId: groupId, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *RoleMapperAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsRealmCompositeGetExecute(r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmCompositeGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RoleMapperAPIService.AdminRealmsRealmGroupsGroupIdRoleMappingsRealmCompositeGet") @@ -354,10 +352,10 @@ func (a *RoleMapperAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsRealmCom } type ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmDeleteRequest struct { - ctx context.Context - ApiService *RoleMapperAPIService - realm string - groupId string + ctx context.Context + ApiService *RoleMapperAPIService + realm string + groupId string roleRepresentation *[]RoleRepresentation } @@ -373,26 +371,26 @@ func (r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmDeleteRequest) Execute( /* AdminRealmsRealmGroupsGroupIdRoleMappingsRealmDelete Delete realm-level role mappings - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param groupId - @return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param groupId + @return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmDeleteRequest */ func (a *RoleMapperAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsRealmDelete(ctx context.Context, realm string, groupId string) ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmDeleteRequest { return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - groupId: groupId, + ctx: ctx, + realm: realm, + groupId: groupId, } } // Execute executes the request func (a *RoleMapperAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsRealmDeleteExecute(r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RoleMapperAPIService.AdminRealmsRealmGroupsGroupIdRoleMappingsRealmDelete") @@ -456,10 +454,10 @@ func (a *RoleMapperAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsRealmDel } type ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RoleMapperAPIService - realm string - groupId string + realm string + groupId string } func (r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmGetRequest) Execute() ([]RoleRepresentation, *http.Response, error) { @@ -469,29 +467,28 @@ func (r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmGetRequest) Execute() ( /* AdminRealmsRealmGroupsGroupIdRoleMappingsRealmGet Get realm-level role mappings - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param groupId - @return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param groupId + @return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmGetRequest */ func (a *RoleMapperAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsRealmGet(ctx context.Context, realm string, groupId string) ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmGetRequest { return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - groupId: groupId, + ctx: ctx, + realm: realm, + groupId: groupId, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *RoleMapperAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsRealmGetExecute(r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RoleMapperAPIService.AdminRealmsRealmGroupsGroupIdRoleMappingsRealmGet") @@ -562,10 +559,10 @@ func (a *RoleMapperAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsRealmGet } type ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmPostRequest struct { - ctx context.Context - ApiService *RoleMapperAPIService - realm string - groupId string + ctx context.Context + ApiService *RoleMapperAPIService + realm string + groupId string roleRepresentation *[]RoleRepresentation } @@ -581,26 +578,26 @@ func (r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmPostRequest) Execute() /* AdminRealmsRealmGroupsGroupIdRoleMappingsRealmPost Add realm-level role mappings to the user - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param groupId - @return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param groupId + @return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmPostRequest */ func (a *RoleMapperAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsRealmPost(ctx context.Context, realm string, groupId string) ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmPostRequest { return ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, - groupId: groupId, + ctx: ctx, + realm: realm, + groupId: groupId, } } // Execute executes the request func (a *RoleMapperAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsRealmPostExecute(r ApiAdminRealmsRealmGroupsGroupIdRoleMappingsRealmPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RoleMapperAPIService.AdminRealmsRealmGroupsGroupIdRoleMappingsRealmPost") @@ -664,10 +661,10 @@ func (a *RoleMapperAPIService) AdminRealmsRealmGroupsGroupIdRoleMappingsRealmPos } type ApiAdminRealmsRealmUsersUserIdRoleMappingsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RoleMapperAPIService - realm string - userId string + realm string + userId string } func (r ApiAdminRealmsRealmUsersUserIdRoleMappingsGetRequest) Execute() (*MappingsRepresentation, *http.Response, error) { @@ -677,29 +674,28 @@ func (r ApiAdminRealmsRealmUsersUserIdRoleMappingsGetRequest) Execute() (*Mappin /* AdminRealmsRealmUsersUserIdRoleMappingsGet Get role mappings - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdRoleMappingsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdRoleMappingsGetRequest */ func (a *RoleMapperAPIService) AdminRealmsRealmUsersUserIdRoleMappingsGet(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdRoleMappingsGetRequest { return ApiAdminRealmsRealmUsersUserIdRoleMappingsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request -// -// @return MappingsRepresentation +// @return MappingsRepresentation func (a *RoleMapperAPIService) AdminRealmsRealmUsersUserIdRoleMappingsGetExecute(r ApiAdminRealmsRealmUsersUserIdRoleMappingsGetRequest) (*MappingsRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *MappingsRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *MappingsRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RoleMapperAPIService.AdminRealmsRealmUsersUserIdRoleMappingsGet") @@ -770,10 +766,10 @@ func (a *RoleMapperAPIService) AdminRealmsRealmUsersUserIdRoleMappingsGetExecute } type ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmAvailableGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RoleMapperAPIService - realm string - userId string + realm string + userId string } func (r ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmAvailableGetRequest) Execute() ([]RoleRepresentation, *http.Response, error) { @@ -783,29 +779,28 @@ func (r ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmAvailableGetRequest) Exec /* AdminRealmsRealmUsersUserIdRoleMappingsRealmAvailableGet Get realm-level roles that can be mapped - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmAvailableGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmAvailableGetRequest */ func (a *RoleMapperAPIService) AdminRealmsRealmUsersUserIdRoleMappingsRealmAvailableGet(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmAvailableGetRequest { return ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmAvailableGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *RoleMapperAPIService) AdminRealmsRealmUsersUserIdRoleMappingsRealmAvailableGetExecute(r ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmAvailableGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RoleMapperAPIService.AdminRealmsRealmUsersUserIdRoleMappingsRealmAvailableGet") @@ -876,10 +871,10 @@ func (a *RoleMapperAPIService) AdminRealmsRealmUsersUserIdRoleMappingsRealmAvail } type ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmCompositeGetRequest struct { - ctx context.Context - ApiService *RoleMapperAPIService - realm string - userId string + ctx context.Context + ApiService *RoleMapperAPIService + realm string + userId string briefRepresentation *bool } @@ -896,29 +891,28 @@ func (r ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmCompositeGetRequest) Exec /* AdminRealmsRealmUsersUserIdRoleMappingsRealmCompositeGet Get effective realm-level role mappings This will recurse all composite roles to get the result. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmCompositeGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmCompositeGetRequest */ func (a *RoleMapperAPIService) AdminRealmsRealmUsersUserIdRoleMappingsRealmCompositeGet(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmCompositeGetRequest { return ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmCompositeGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *RoleMapperAPIService) AdminRealmsRealmUsersUserIdRoleMappingsRealmCompositeGetExecute(r ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmCompositeGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RoleMapperAPIService.AdminRealmsRealmUsersUserIdRoleMappingsRealmCompositeGet") @@ -995,10 +989,10 @@ func (a *RoleMapperAPIService) AdminRealmsRealmUsersUserIdRoleMappingsRealmCompo } type ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmDeleteRequest struct { - ctx context.Context - ApiService *RoleMapperAPIService - realm string - userId string + ctx context.Context + ApiService *RoleMapperAPIService + realm string + userId string roleRepresentation *[]RoleRepresentation } @@ -1014,26 +1008,26 @@ func (r ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmDeleteRequest) Execute() /* AdminRealmsRealmUsersUserIdRoleMappingsRealmDelete Delete realm-level role mappings - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmDeleteRequest */ func (a *RoleMapperAPIService) AdminRealmsRealmUsersUserIdRoleMappingsRealmDelete(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmDeleteRequest { return ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request func (a *RoleMapperAPIService) AdminRealmsRealmUsersUserIdRoleMappingsRealmDeleteExecute(r ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RoleMapperAPIService.AdminRealmsRealmUsersUserIdRoleMappingsRealmDelete") @@ -1097,10 +1091,10 @@ func (a *RoleMapperAPIService) AdminRealmsRealmUsersUserIdRoleMappingsRealmDelet } type ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RoleMapperAPIService - realm string - userId string + realm string + userId string } func (r ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmGetRequest) Execute() ([]RoleRepresentation, *http.Response, error) { @@ -1110,29 +1104,28 @@ func (r ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmGetRequest) Execute() ([] /* AdminRealmsRealmUsersUserIdRoleMappingsRealmGet Get realm-level role mappings - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmGetRequest */ func (a *RoleMapperAPIService) AdminRealmsRealmUsersUserIdRoleMappingsRealmGet(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmGetRequest { return ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *RoleMapperAPIService) AdminRealmsRealmUsersUserIdRoleMappingsRealmGetExecute(r ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RoleMapperAPIService.AdminRealmsRealmUsersUserIdRoleMappingsRealmGet") @@ -1203,10 +1196,10 @@ func (a *RoleMapperAPIService) AdminRealmsRealmUsersUserIdRoleMappingsRealmGetEx } type ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmPostRequest struct { - ctx context.Context - ApiService *RoleMapperAPIService - realm string - userId string + ctx context.Context + ApiService *RoleMapperAPIService + realm string + userId string roleRepresentation *[]RoleRepresentation } @@ -1222,26 +1215,26 @@ func (r ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmPostRequest) Execute() (* /* AdminRealmsRealmUsersUserIdRoleMappingsRealmPost Add realm-level role mappings to the user - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmPostRequest */ func (a *RoleMapperAPIService) AdminRealmsRealmUsersUserIdRoleMappingsRealmPost(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmPostRequest { return ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request func (a *RoleMapperAPIService) AdminRealmsRealmUsersUserIdRoleMappingsRealmPostExecute(r ApiAdminRealmsRealmUsersUserIdRoleMappingsRealmPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RoleMapperAPIService.AdminRealmsRealmUsersUserIdRoleMappingsRealmPost") diff --git a/api_roles.go b/api_roles.go index 6d20399..7438993 100644 --- a/api_roles.go +++ b/api_roles.go @@ -19,18 +19,19 @@ import ( "strings" ) + // RolesAPIService RolesAPI service type RolesAPIService service type ApiAdminRealmsRealmClientsClientUuidRolesGetRequest struct { - ctx context.Context - ApiService *RolesAPIService - realm string - clientUuid string + ctx context.Context + ApiService *RolesAPIService + realm string + clientUuid string briefRepresentation *bool - first *int32 - max *int32 - search *string + first *int32 + max *int32 + search *string } func (r ApiAdminRealmsRealmClientsClientUuidRolesGetRequest) BriefRepresentation(briefRepresentation bool) ApiAdminRealmsRealmClientsClientUuidRolesGetRequest { @@ -60,29 +61,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidRolesGetRequest) Execute() ([]RoleRe /* AdminRealmsRealmClientsClientUuidRolesGet Get all roles for the realm or client - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidRolesGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidRolesGetRequest */ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidRolesGetRequest { return ApiAdminRealmsRealmClientsClientUuidRolesGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesGetExecute(r ApiAdminRealmsRealmClientsClientUuidRolesGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmClientsClientUuidRolesGet") @@ -171,10 +171,10 @@ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesGetExecute(r Api } type ApiAdminRealmsRealmClientsClientUuidRolesPostRequest struct { - ctx context.Context - ApiService *RolesAPIService - realm string - clientUuid string + ctx context.Context + ApiService *RolesAPIService + realm string + clientUuid string roleRepresentation *RoleRepresentation } @@ -190,16 +190,16 @@ func (r ApiAdminRealmsRealmClientsClientUuidRolesPostRequest) Execute() (*http.R /* AdminRealmsRealmClientsClientUuidRolesPost Create a new role for the realm or client - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidRolesPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidRolesPostRequest */ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesPost(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidRolesPostRequest { return ApiAdminRealmsRealmClientsClientUuidRolesPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } @@ -207,9 +207,9 @@ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesPost(ctx context // Execute executes the request func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesPostExecute(r ApiAdminRealmsRealmClientsClientUuidRolesPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmClientsClientUuidRolesPost") @@ -273,11 +273,11 @@ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesPostExecute(r Ap } type ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesClientsClientInCompositeUuidGetRequest struct { - ctx context.Context - ApiService *RolesAPIService - realm string - clientUuid string - roleName string + ctx context.Context + ApiService *RolesAPIService + realm string + clientUuid string + roleName string clientInCompositeUuid string } @@ -288,33 +288,32 @@ func (r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesClientsClient /* AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesClientsClientInCompositeUuidGet Get client-level roles for the client that are in the role's composite - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid - @param roleName role's name (not id!) - @param clientInCompositeUuid - @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesClientsClientInCompositeUuidGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid + @param roleName role's name (not id!) + @param clientInCompositeUuid + @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesClientsClientInCompositeUuidGetRequest */ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesClientsClientInCompositeUuidGet(ctx context.Context, realm string, clientUuid string, roleName string, clientInCompositeUuid string) ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesClientsClientInCompositeUuidGetRequest { return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesClientsClientInCompositeUuidGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, - clientUuid: clientUuid, - roleName: roleName, + ApiService: a, + ctx: ctx, + realm: realm, + clientUuid: clientUuid, + roleName: roleName, clientInCompositeUuid: clientInCompositeUuid, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesClientsClientInCompositeUuidGetExecute(r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesClientsClientInCompositeUuidGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesClientsClientInCompositeUuidGet") @@ -387,11 +386,11 @@ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameComposit } type ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesDeleteRequest struct { - ctx context.Context - ApiService *RolesAPIService - realm string - clientUuid string - roleName string + ctx context.Context + ApiService *RolesAPIService + realm string + clientUuid string + roleName string roleRepresentation *[]RoleRepresentation } @@ -407,28 +406,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesDeleteRequest /* AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesDelete Remove roles from the role's composite - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param roleName role's name (not id!) - @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param roleName role's name (not id!) + @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesDeleteRequest */ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesDelete(ctx context.Context, realm string, clientUuid string, roleName string) ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesDeleteRequest { return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - roleName: roleName, + roleName: roleName, } } // Execute executes the request func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesDeleteExecute(r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesDelete") @@ -493,11 +492,11 @@ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameComposit } type ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RolesAPIService - realm string + realm string clientUuid string - roleName string + roleName string } func (r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesGetRequest) Execute() ([]RoleRepresentation, *http.Response, error) { @@ -507,31 +506,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesGetRequest) E /* AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesGet Get composites of the role - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param roleName role's name (not id!) - @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param roleName role's name (not id!) + @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesGetRequest */ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesGet(ctx context.Context, realm string, clientUuid string, roleName string) ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesGetRequest { return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - roleName: roleName, + roleName: roleName, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesGetExecute(r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesGet") @@ -603,11 +601,11 @@ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameComposit } type ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesPostRequest struct { - ctx context.Context - ApiService *RolesAPIService - realm string - clientUuid string - roleName string + ctx context.Context + ApiService *RolesAPIService + realm string + clientUuid string + roleName string roleRepresentation *[]RoleRepresentation } @@ -623,28 +621,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesPostRequest) /* AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesPost Add a composite to the role - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param roleName role's name (not id!) - @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param roleName role's name (not id!) + @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesPostRequest */ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesPost(ctx context.Context, realm string, clientUuid string, roleName string) ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesPostRequest { return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - roleName: roleName, + roleName: roleName, } } // Execute executes the request func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesPostExecute(r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesPost") @@ -709,11 +707,11 @@ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameComposit } type ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesRealmGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RolesAPIService - realm string + realm string clientUuid string - roleName string + roleName string } func (r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesRealmGetRequest) Execute() ([]RoleRepresentation, *http.Response, error) { @@ -723,31 +721,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesRealmGetReque /* AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesRealmGet Get realm-level roles of the role's composite - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param roleName role's name (not id!) - @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesRealmGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param roleName role's name (not id!) + @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesRealmGetRequest */ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesRealmGet(ctx context.Context, realm string, clientUuid string, roleName string) ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesRealmGetRequest { return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesRealmGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - roleName: roleName, + roleName: roleName, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesRealmGetExecute(r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesRealmGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesRealmGet") @@ -819,11 +816,11 @@ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameComposit } type ApiAdminRealmsRealmClientsClientUuidRolesRoleNameDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *RolesAPIService - realm string + realm string clientUuid string - roleName string + roleName string } func (r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameDeleteRequest) Execute() (*http.Response, error) { @@ -833,28 +830,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameDeleteRequest) Execute( /* AdminRealmsRealmClientsClientUuidRolesRoleNameDelete Delete a role by name - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param roleName role's name (not id!) - @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param roleName role's name (not id!) + @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameDeleteRequest */ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameDelete(ctx context.Context, realm string, clientUuid string, roleName string) ApiAdminRealmsRealmClientsClientUuidRolesRoleNameDeleteRequest { return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - roleName: roleName, + roleName: roleName, } } // Execute executes the request func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameDeleteExecute(r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmClientsClientUuidRolesRoleNameDelete") @@ -917,11 +914,11 @@ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameDeleteEx } type ApiAdminRealmsRealmClientsClientUuidRolesRoleNameGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RolesAPIService - realm string + realm string clientUuid string - roleName string + roleName string } func (r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameGetRequest) Execute() (*RoleRepresentation, *http.Response, error) { @@ -931,31 +928,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameGetRequest) Execute() ( /* AdminRealmsRealmClientsClientUuidRolesRoleNameGet Get a role by name - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param roleName role's name (not id!) - @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param roleName role's name (not id!) + @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameGetRequest */ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameGet(ctx context.Context, realm string, clientUuid string, roleName string) ApiAdminRealmsRealmClientsClientUuidRolesRoleNameGetRequest { return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - roleName: roleName, + roleName: roleName, } } // Execute executes the request -// -// @return RoleRepresentation +// @return RoleRepresentation func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameGetExecute(r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameGetRequest) (*RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmClientsClientUuidRolesRoleNameGet") @@ -1027,14 +1023,14 @@ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameGetExecu } type ApiAdminRealmsRealmClientsClientUuidRolesRoleNameGroupsGetRequest struct { - ctx context.Context - ApiService *RolesAPIService - realm string - clientUuid string - roleName string + ctx context.Context + ApiService *RolesAPIService + realm string + clientUuid string + roleName string briefRepresentation *bool - first *int32 - max *int32 + first *int32 + max *int32 } // if false, return a full representation of the {@code GroupRepresentation} objects. @@ -1062,31 +1058,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameGroupsGetRequest) Execu /* AdminRealmsRealmClientsClientUuidRolesRoleNameGroupsGet Returns a stream of groups that have the specified role name - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param roleName the role name. - @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameGroupsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param roleName the role name. + @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameGroupsGetRequest */ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameGroupsGet(ctx context.Context, realm string, clientUuid string, roleName string) ApiAdminRealmsRealmClientsClientUuidRolesRoleNameGroupsGetRequest { return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameGroupsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - roleName: roleName, + roleName: roleName, } } // Execute executes the request -// -// @return []GroupRepresentation +// @return []GroupRepresentation func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameGroupsGetExecute(r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameGroupsGetRequest) ([]GroupRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []GroupRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []GroupRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmClientsClientUuidRolesRoleNameGroupsGet") @@ -1170,11 +1165,11 @@ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameGroupsGe } type ApiAdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RolesAPIService - realm string + realm string clientUuid string - roleName string + roleName string } func (r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsGetRequest) Execute() (*ManagementPermissionReference, *http.Response, error) { @@ -1184,31 +1179,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsGe /* AdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsGet Return object stating whether role Authorization permissions have been initialized or not and a reference - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param roleName - @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param roleName + @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsGetRequest */ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsGet(ctx context.Context, realm string, clientUuid string, roleName string) ApiAdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsGetRequest { return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - roleName: roleName, + roleName: roleName, } } // Execute executes the request -// -// @return ManagementPermissionReference +// @return ManagementPermissionReference func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsGetExecute(r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsGetRequest) (*ManagementPermissionReference, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ManagementPermissionReference + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ManagementPermissionReference ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsGet") @@ -1280,11 +1274,11 @@ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameManageme } type ApiAdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsPutRequest struct { - ctx context.Context - ApiService *RolesAPIService - realm string - clientUuid string - roleName string + ctx context.Context + ApiService *RolesAPIService + realm string + clientUuid string + roleName string managementPermissionReference *ManagementPermissionReference } @@ -1300,31 +1294,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsPu /* AdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsPut Return object stating whether role Authorization permissions have been initialized or not and a reference - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param roleName - @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param roleName + @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsPutRequest */ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsPut(ctx context.Context, realm string, clientUuid string, roleName string) ApiAdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsPutRequest { return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - roleName: roleName, + roleName: roleName, } } // Execute executes the request -// -// @return ManagementPermissionReference +// @return ManagementPermissionReference func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsPutExecute(r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsPutRequest) (*ManagementPermissionReference, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ManagementPermissionReference + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ManagementPermissionReference ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsPut") @@ -1398,11 +1391,11 @@ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameManageme } type ApiAdminRealmsRealmClientsClientUuidRolesRoleNamePutRequest struct { - ctx context.Context - ApiService *RolesAPIService - realm string - clientUuid string - roleName string + ctx context.Context + ApiService *RolesAPIService + realm string + clientUuid string + roleName string roleRepresentation *RoleRepresentation } @@ -1418,28 +1411,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidRolesRoleNamePutRequest) Execute() ( /* AdminRealmsRealmClientsClientUuidRolesRoleNamePut Update a role by name - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param roleName role's name (not id!) - @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNamePutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param roleName role's name (not id!) + @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNamePutRequest */ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNamePut(ctx context.Context, realm string, clientUuid string, roleName string) ApiAdminRealmsRealmClientsClientUuidRolesRoleNamePutRequest { return ApiAdminRealmsRealmClientsClientUuidRolesRoleNamePutRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - roleName: roleName, + roleName: roleName, } } // Execute executes the request func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNamePutExecute(r ApiAdminRealmsRealmClientsClientUuidRolesRoleNamePutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmClientsClientUuidRolesRoleNamePut") @@ -1504,14 +1497,14 @@ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNamePutExecu } type ApiAdminRealmsRealmClientsClientUuidRolesRoleNameUsersGetRequest struct { - ctx context.Context - ApiService *RolesAPIService - realm string - clientUuid string - roleName string + ctx context.Context + ApiService *RolesAPIService + realm string + clientUuid string + roleName string briefRepresentation *bool - first *int32 - max *int32 + first *int32 + max *int32 } // Boolean which defines whether brief representations are returned (default: false) @@ -1539,31 +1532,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameUsersGetRequest) Execut /* AdminRealmsRealmClientsClientUuidRolesRoleNameUsersGet Returns a stream of users that have the specified role name. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param roleName the role name. - @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameUsersGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param roleName the role name. + @return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameUsersGetRequest */ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameUsersGet(ctx context.Context, realm string, clientUuid string, roleName string) ApiAdminRealmsRealmClientsClientUuidRolesRoleNameUsersGetRequest { return ApiAdminRealmsRealmClientsClientUuidRolesRoleNameUsersGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - roleName: roleName, + roleName: roleName, } } // Execute executes the request -// -// @return []UserRepresentation +// @return []UserRepresentation func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameUsersGetExecute(r ApiAdminRealmsRealmClientsClientUuidRolesRoleNameUsersGetRequest) ([]UserRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []UserRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []UserRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmClientsClientUuidRolesRoleNameUsersGet") @@ -1644,13 +1636,13 @@ func (a *RolesAPIService) AdminRealmsRealmClientsClientUuidRolesRoleNameUsersGet } type ApiAdminRealmsRealmRolesGetRequest struct { - ctx context.Context - ApiService *RolesAPIService - realm string + ctx context.Context + ApiService *RolesAPIService + realm string briefRepresentation *bool - first *int32 - max *int32 - search *string + first *int32 + max *int32 + search *string } func (r ApiAdminRealmsRealmRolesGetRequest) BriefRepresentation(briefRepresentation bool) ApiAdminRealmsRealmRolesGetRequest { @@ -1680,27 +1672,26 @@ func (r ApiAdminRealmsRealmRolesGetRequest) Execute() ([]RoleRepresentation, *ht /* AdminRealmsRealmRolesGet Get all roles for the realm or client - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmRolesGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmRolesGetRequest */ func (a *RolesAPIService) AdminRealmsRealmRolesGet(ctx context.Context, realm string) ApiAdminRealmsRealmRolesGetRequest { return ApiAdminRealmsRealmRolesGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *RolesAPIService) AdminRealmsRealmRolesGetExecute(r ApiAdminRealmsRealmRolesGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmRolesGet") @@ -1788,9 +1779,9 @@ func (a *RolesAPIService) AdminRealmsRealmRolesGetExecute(r ApiAdminRealmsRealmR } type ApiAdminRealmsRealmRolesPostRequest struct { - ctx context.Context - ApiService *RolesAPIService - realm string + ctx context.Context + ApiService *RolesAPIService + realm string roleRepresentation *RoleRepresentation } @@ -1806,24 +1797,24 @@ func (r ApiAdminRealmsRealmRolesPostRequest) Execute() (*http.Response, error) { /* AdminRealmsRealmRolesPost Create a new role for the realm or client - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmRolesPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmRolesPostRequest */ func (a *RolesAPIService) AdminRealmsRealmRolesPost(ctx context.Context, realm string) ApiAdminRealmsRealmRolesPostRequest { return ApiAdminRealmsRealmRolesPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request func (a *RolesAPIService) AdminRealmsRealmRolesPostExecute(r ApiAdminRealmsRealmRolesPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmRolesPost") @@ -1886,11 +1877,11 @@ func (a *RolesAPIService) AdminRealmsRealmRolesPostExecute(r ApiAdminRealmsRealm } type ApiAdminRealmsRealmRolesRoleNameCompositesClientsClientUuidGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RolesAPIService - realm string + realm string clientUuid string - roleName string + roleName string } func (r ApiAdminRealmsRealmRolesRoleNameCompositesClientsClientUuidGetRequest) Execute() ([]RoleRepresentation, *http.Response, error) { @@ -1900,31 +1891,30 @@ func (r ApiAdminRealmsRealmRolesRoleNameCompositesClientsClientUuidGetRequest) E /* AdminRealmsRealmRolesRoleNameCompositesClientsClientUuidGet Get client-level roles for the client that are in the role's composite - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid - @param roleName role's name (not id!) - @return ApiAdminRealmsRealmRolesRoleNameCompositesClientsClientUuidGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid + @param roleName role's name (not id!) + @return ApiAdminRealmsRealmRolesRoleNameCompositesClientsClientUuidGetRequest */ func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameCompositesClientsClientUuidGet(ctx context.Context, realm string, clientUuid string, roleName string) ApiAdminRealmsRealmRolesRoleNameCompositesClientsClientUuidGetRequest { return ApiAdminRealmsRealmRolesRoleNameCompositesClientsClientUuidGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - roleName: roleName, + roleName: roleName, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameCompositesClientsClientUuidGetExecute(r ApiAdminRealmsRealmRolesRoleNameCompositesClientsClientUuidGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmRolesRoleNameCompositesClientsClientUuidGet") @@ -1996,10 +1986,10 @@ func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameCompositesClientsClientUu } type ApiAdminRealmsRealmRolesRoleNameCompositesDeleteRequest struct { - ctx context.Context - ApiService *RolesAPIService - realm string - roleName string + ctx context.Context + ApiService *RolesAPIService + realm string + roleName string roleRepresentation *[]RoleRepresentation } @@ -2015,26 +2005,26 @@ func (r ApiAdminRealmsRealmRolesRoleNameCompositesDeleteRequest) Execute() (*htt /* AdminRealmsRealmRolesRoleNameCompositesDelete Remove roles from the role's composite - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param roleName role's name (not id!) - @return ApiAdminRealmsRealmRolesRoleNameCompositesDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param roleName role's name (not id!) + @return ApiAdminRealmsRealmRolesRoleNameCompositesDeleteRequest */ func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameCompositesDelete(ctx context.Context, realm string, roleName string) ApiAdminRealmsRealmRolesRoleNameCompositesDeleteRequest { return ApiAdminRealmsRealmRolesRoleNameCompositesDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - roleName: roleName, + ctx: ctx, + realm: realm, + roleName: roleName, } } // Execute executes the request func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameCompositesDeleteExecute(r ApiAdminRealmsRealmRolesRoleNameCompositesDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmRolesRoleNameCompositesDelete") @@ -2098,10 +2088,10 @@ func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameCompositesDeleteExecute(r } type ApiAdminRealmsRealmRolesRoleNameCompositesGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RolesAPIService - realm string - roleName string + realm string + roleName string } func (r ApiAdminRealmsRealmRolesRoleNameCompositesGetRequest) Execute() ([]RoleRepresentation, *http.Response, error) { @@ -2111,29 +2101,28 @@ func (r ApiAdminRealmsRealmRolesRoleNameCompositesGetRequest) Execute() ([]RoleR /* AdminRealmsRealmRolesRoleNameCompositesGet Get composites of the role - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param roleName role's name (not id!) - @return ApiAdminRealmsRealmRolesRoleNameCompositesGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param roleName role's name (not id!) + @return ApiAdminRealmsRealmRolesRoleNameCompositesGetRequest */ func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameCompositesGet(ctx context.Context, realm string, roleName string) ApiAdminRealmsRealmRolesRoleNameCompositesGetRequest { return ApiAdminRealmsRealmRolesRoleNameCompositesGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - roleName: roleName, + ctx: ctx, + realm: realm, + roleName: roleName, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameCompositesGetExecute(r ApiAdminRealmsRealmRolesRoleNameCompositesGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmRolesRoleNameCompositesGet") @@ -2204,10 +2193,10 @@ func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameCompositesGetExecute(r Ap } type ApiAdminRealmsRealmRolesRoleNameCompositesPostRequest struct { - ctx context.Context - ApiService *RolesAPIService - realm string - roleName string + ctx context.Context + ApiService *RolesAPIService + realm string + roleName string roleRepresentation *[]RoleRepresentation } @@ -2223,26 +2212,26 @@ func (r ApiAdminRealmsRealmRolesRoleNameCompositesPostRequest) Execute() (*http. /* AdminRealmsRealmRolesRoleNameCompositesPost Add a composite to the role - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param roleName role's name (not id!) - @return ApiAdminRealmsRealmRolesRoleNameCompositesPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param roleName role's name (not id!) + @return ApiAdminRealmsRealmRolesRoleNameCompositesPostRequest */ func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameCompositesPost(ctx context.Context, realm string, roleName string) ApiAdminRealmsRealmRolesRoleNameCompositesPostRequest { return ApiAdminRealmsRealmRolesRoleNameCompositesPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, - roleName: roleName, + ctx: ctx, + realm: realm, + roleName: roleName, } } // Execute executes the request func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameCompositesPostExecute(r ApiAdminRealmsRealmRolesRoleNameCompositesPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmRolesRoleNameCompositesPost") @@ -2306,10 +2295,10 @@ func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameCompositesPostExecute(r A } type ApiAdminRealmsRealmRolesRoleNameCompositesRealmGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RolesAPIService - realm string - roleName string + realm string + roleName string } func (r ApiAdminRealmsRealmRolesRoleNameCompositesRealmGetRequest) Execute() ([]RoleRepresentation, *http.Response, error) { @@ -2319,29 +2308,28 @@ func (r ApiAdminRealmsRealmRolesRoleNameCompositesRealmGetRequest) Execute() ([] /* AdminRealmsRealmRolesRoleNameCompositesRealmGet Get realm-level roles of the role's composite - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param roleName role's name (not id!) - @return ApiAdminRealmsRealmRolesRoleNameCompositesRealmGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param roleName role's name (not id!) + @return ApiAdminRealmsRealmRolesRoleNameCompositesRealmGetRequest */ func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameCompositesRealmGet(ctx context.Context, realm string, roleName string) ApiAdminRealmsRealmRolesRoleNameCompositesRealmGetRequest { return ApiAdminRealmsRealmRolesRoleNameCompositesRealmGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - roleName: roleName, + ctx: ctx, + realm: realm, + roleName: roleName, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameCompositesRealmGetExecute(r ApiAdminRealmsRealmRolesRoleNameCompositesRealmGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmRolesRoleNameCompositesRealmGet") @@ -2412,10 +2400,10 @@ func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameCompositesRealmGetExecute } type ApiAdminRealmsRealmRolesRoleNameDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *RolesAPIService - realm string - roleName string + realm string + roleName string } func (r ApiAdminRealmsRealmRolesRoleNameDeleteRequest) Execute() (*http.Response, error) { @@ -2425,26 +2413,26 @@ func (r ApiAdminRealmsRealmRolesRoleNameDeleteRequest) Execute() (*http.Response /* AdminRealmsRealmRolesRoleNameDelete Delete a role by name - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param roleName role's name (not id!) - @return ApiAdminRealmsRealmRolesRoleNameDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param roleName role's name (not id!) + @return ApiAdminRealmsRealmRolesRoleNameDeleteRequest */ func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameDelete(ctx context.Context, realm string, roleName string) ApiAdminRealmsRealmRolesRoleNameDeleteRequest { return ApiAdminRealmsRealmRolesRoleNameDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - roleName: roleName, + ctx: ctx, + realm: realm, + roleName: roleName, } } // Execute executes the request func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameDeleteExecute(r ApiAdminRealmsRealmRolesRoleNameDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmRolesRoleNameDelete") @@ -2506,10 +2494,10 @@ func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameDeleteExecute(r ApiAdminR } type ApiAdminRealmsRealmRolesRoleNameGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RolesAPIService - realm string - roleName string + realm string + roleName string } func (r ApiAdminRealmsRealmRolesRoleNameGetRequest) Execute() (*RoleRepresentation, *http.Response, error) { @@ -2519,29 +2507,28 @@ func (r ApiAdminRealmsRealmRolesRoleNameGetRequest) Execute() (*RoleRepresentati /* AdminRealmsRealmRolesRoleNameGet Get a role by name - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param roleName role's name (not id!) - @return ApiAdminRealmsRealmRolesRoleNameGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param roleName role's name (not id!) + @return ApiAdminRealmsRealmRolesRoleNameGetRequest */ func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameGet(ctx context.Context, realm string, roleName string) ApiAdminRealmsRealmRolesRoleNameGetRequest { return ApiAdminRealmsRealmRolesRoleNameGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - roleName: roleName, + ctx: ctx, + realm: realm, + roleName: roleName, } } // Execute executes the request -// -// @return RoleRepresentation +// @return RoleRepresentation func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameGetExecute(r ApiAdminRealmsRealmRolesRoleNameGetRequest) (*RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmRolesRoleNameGet") @@ -2612,13 +2599,13 @@ func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameGetExecute(r ApiAdminReal } type ApiAdminRealmsRealmRolesRoleNameGroupsGetRequest struct { - ctx context.Context - ApiService *RolesAPIService - realm string - roleName string + ctx context.Context + ApiService *RolesAPIService + realm string + roleName string briefRepresentation *bool - first *int32 - max *int32 + first *int32 + max *int32 } // if false, return a full representation of the {@code GroupRepresentation} objects. @@ -2646,29 +2633,28 @@ func (r ApiAdminRealmsRealmRolesRoleNameGroupsGetRequest) Execute() ([]GroupRepr /* AdminRealmsRealmRolesRoleNameGroupsGet Returns a stream of groups that have the specified role name - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param roleName the role name. - @return ApiAdminRealmsRealmRolesRoleNameGroupsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param roleName the role name. + @return ApiAdminRealmsRealmRolesRoleNameGroupsGetRequest */ func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameGroupsGet(ctx context.Context, realm string, roleName string) ApiAdminRealmsRealmRolesRoleNameGroupsGetRequest { return ApiAdminRealmsRealmRolesRoleNameGroupsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - roleName: roleName, + ctx: ctx, + realm: realm, + roleName: roleName, } } // Execute executes the request -// -// @return []GroupRepresentation +// @return []GroupRepresentation func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameGroupsGetExecute(r ApiAdminRealmsRealmRolesRoleNameGroupsGetRequest) ([]GroupRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []GroupRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []GroupRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmRolesRoleNameGroupsGet") @@ -2751,10 +2737,10 @@ func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameGroupsGetExecute(r ApiAdm } type ApiAdminRealmsRealmRolesRoleNameManagementPermissionsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RolesAPIService - realm string - roleName string + realm string + roleName string } func (r ApiAdminRealmsRealmRolesRoleNameManagementPermissionsGetRequest) Execute() (*ManagementPermissionReference, *http.Response, error) { @@ -2764,29 +2750,28 @@ func (r ApiAdminRealmsRealmRolesRoleNameManagementPermissionsGetRequest) Execute /* AdminRealmsRealmRolesRoleNameManagementPermissionsGet Return object stating whether role Authorization permissions have been initialized or not and a reference - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param roleName - @return ApiAdminRealmsRealmRolesRoleNameManagementPermissionsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param roleName + @return ApiAdminRealmsRealmRolesRoleNameManagementPermissionsGetRequest */ func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameManagementPermissionsGet(ctx context.Context, realm string, roleName string) ApiAdminRealmsRealmRolesRoleNameManagementPermissionsGetRequest { return ApiAdminRealmsRealmRolesRoleNameManagementPermissionsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - roleName: roleName, + ctx: ctx, + realm: realm, + roleName: roleName, } } // Execute executes the request -// -// @return ManagementPermissionReference +// @return ManagementPermissionReference func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameManagementPermissionsGetExecute(r ApiAdminRealmsRealmRolesRoleNameManagementPermissionsGetRequest) (*ManagementPermissionReference, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ManagementPermissionReference + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ManagementPermissionReference ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmRolesRoleNameManagementPermissionsGet") @@ -2857,10 +2842,10 @@ func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameManagementPermissionsGetE } type ApiAdminRealmsRealmRolesRoleNameManagementPermissionsPutRequest struct { - ctx context.Context - ApiService *RolesAPIService - realm string - roleName string + ctx context.Context + ApiService *RolesAPIService + realm string + roleName string managementPermissionReference *ManagementPermissionReference } @@ -2876,29 +2861,28 @@ func (r ApiAdminRealmsRealmRolesRoleNameManagementPermissionsPutRequest) Execute /* AdminRealmsRealmRolesRoleNameManagementPermissionsPut Return object stating whether role Authorization permissions have been initialized or not and a reference - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param roleName - @return ApiAdminRealmsRealmRolesRoleNameManagementPermissionsPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param roleName + @return ApiAdminRealmsRealmRolesRoleNameManagementPermissionsPutRequest */ func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameManagementPermissionsPut(ctx context.Context, realm string, roleName string) ApiAdminRealmsRealmRolesRoleNameManagementPermissionsPutRequest { return ApiAdminRealmsRealmRolesRoleNameManagementPermissionsPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - roleName: roleName, + ctx: ctx, + realm: realm, + roleName: roleName, } } // Execute executes the request -// -// @return ManagementPermissionReference +// @return ManagementPermissionReference func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameManagementPermissionsPutExecute(r ApiAdminRealmsRealmRolesRoleNameManagementPermissionsPutRequest) (*ManagementPermissionReference, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ManagementPermissionReference + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ManagementPermissionReference ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmRolesRoleNameManagementPermissionsPut") @@ -2971,10 +2955,10 @@ func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameManagementPermissionsPutE } type ApiAdminRealmsRealmRolesRoleNamePutRequest struct { - ctx context.Context - ApiService *RolesAPIService - realm string - roleName string + ctx context.Context + ApiService *RolesAPIService + realm string + roleName string roleRepresentation *RoleRepresentation } @@ -2990,26 +2974,26 @@ func (r ApiAdminRealmsRealmRolesRoleNamePutRequest) Execute() (*http.Response, e /* AdminRealmsRealmRolesRoleNamePut Update a role by name - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param roleName role's name (not id!) - @return ApiAdminRealmsRealmRolesRoleNamePutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param roleName role's name (not id!) + @return ApiAdminRealmsRealmRolesRoleNamePutRequest */ func (a *RolesAPIService) AdminRealmsRealmRolesRoleNamePut(ctx context.Context, realm string, roleName string) ApiAdminRealmsRealmRolesRoleNamePutRequest { return ApiAdminRealmsRealmRolesRoleNamePutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - roleName: roleName, + ctx: ctx, + realm: realm, + roleName: roleName, } } // Execute executes the request func (a *RolesAPIService) AdminRealmsRealmRolesRoleNamePutExecute(r ApiAdminRealmsRealmRolesRoleNamePutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmRolesRoleNamePut") @@ -3073,13 +3057,13 @@ func (a *RolesAPIService) AdminRealmsRealmRolesRoleNamePutExecute(r ApiAdminReal } type ApiAdminRealmsRealmRolesRoleNameUsersGetRequest struct { - ctx context.Context - ApiService *RolesAPIService - realm string - roleName string + ctx context.Context + ApiService *RolesAPIService + realm string + roleName string briefRepresentation *bool - first *int32 - max *int32 + first *int32 + max *int32 } // Boolean which defines whether brief representations are returned (default: false) @@ -3107,29 +3091,28 @@ func (r ApiAdminRealmsRealmRolesRoleNameUsersGetRequest) Execute() ([]UserRepres /* AdminRealmsRealmRolesRoleNameUsersGet Returns a stream of users that have the specified role name. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param roleName the role name. - @return ApiAdminRealmsRealmRolesRoleNameUsersGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param roleName the role name. + @return ApiAdminRealmsRealmRolesRoleNameUsersGetRequest */ func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameUsersGet(ctx context.Context, realm string, roleName string) ApiAdminRealmsRealmRolesRoleNameUsersGetRequest { return ApiAdminRealmsRealmRolesRoleNameUsersGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - roleName: roleName, + ctx: ctx, + realm: realm, + roleName: roleName, } } // Execute executes the request -// -// @return []UserRepresentation +// @return []UserRepresentation func (a *RolesAPIService) AdminRealmsRealmRolesRoleNameUsersGetExecute(r ApiAdminRealmsRealmRolesRoleNameUsersGetRequest) ([]UserRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []UserRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []UserRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesAPIService.AdminRealmsRealmRolesRoleNameUsersGet") diff --git a/api_roles_by_id.go b/api_roles_by_id.go index 3c8f498..0f30d79 100644 --- a/api_roles_by_id.go +++ b/api_roles_by_id.go @@ -19,15 +19,16 @@ import ( "strings" ) + // RolesByIDAPIService RolesByIDAPI service type RolesByIDAPIService service type ApiAdminRealmsRealmRolesByIdRoleIdCompositesClientsClientUuidGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RolesByIDAPIService - realm string + realm string clientUuid string - roleId string + roleId string } func (r ApiAdminRealmsRealmRolesByIdRoleIdCompositesClientsClientUuidGetRequest) Execute() ([]RoleRepresentation, *http.Response, error) { @@ -37,31 +38,30 @@ func (r ApiAdminRealmsRealmRolesByIdRoleIdCompositesClientsClientUuidGetRequest) /* AdminRealmsRealmRolesByIdRoleIdCompositesClientsClientUuidGet Get client-level roles for the client that are in the role's composite - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid - @param roleId - @return ApiAdminRealmsRealmRolesByIdRoleIdCompositesClientsClientUuidGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid + @param roleId + @return ApiAdminRealmsRealmRolesByIdRoleIdCompositesClientsClientUuidGetRequest */ func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdCompositesClientsClientUuidGet(ctx context.Context, realm string, clientUuid string, roleId string) ApiAdminRealmsRealmRolesByIdRoleIdCompositesClientsClientUuidGetRequest { return ApiAdminRealmsRealmRolesByIdRoleIdCompositesClientsClientUuidGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - roleId: roleId, + roleId: roleId, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdCompositesClientsClientUuidGetExecute(r ApiAdminRealmsRealmRolesByIdRoleIdCompositesClientsClientUuidGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesByIDAPIService.AdminRealmsRealmRolesByIdRoleIdCompositesClientsClientUuidGet") @@ -133,10 +133,10 @@ func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdCompositesClientsCl } type ApiAdminRealmsRealmRolesByIdRoleIdCompositesDeleteRequest struct { - ctx context.Context - ApiService *RolesByIDAPIService - realm string - roleId string + ctx context.Context + ApiService *RolesByIDAPIService + realm string + roleId string roleRepresentation *[]RoleRepresentation } @@ -152,26 +152,26 @@ func (r ApiAdminRealmsRealmRolesByIdRoleIdCompositesDeleteRequest) Execute() (*h /* AdminRealmsRealmRolesByIdRoleIdCompositesDelete Remove a set of roles from the role's composite - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param roleId Role id - @return ApiAdminRealmsRealmRolesByIdRoleIdCompositesDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param roleId Role id + @return ApiAdminRealmsRealmRolesByIdRoleIdCompositesDeleteRequest */ func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdCompositesDelete(ctx context.Context, realm string, roleId string) ApiAdminRealmsRealmRolesByIdRoleIdCompositesDeleteRequest { return ApiAdminRealmsRealmRolesByIdRoleIdCompositesDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - roleId: roleId, + ctx: ctx, + realm: realm, + roleId: roleId, } } // Execute executes the request func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdCompositesDeleteExecute(r ApiAdminRealmsRealmRolesByIdRoleIdCompositesDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesByIDAPIService.AdminRealmsRealmRolesByIdRoleIdCompositesDelete") @@ -235,13 +235,13 @@ func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdCompositesDeleteExe } type ApiAdminRealmsRealmRolesByIdRoleIdCompositesGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RolesByIDAPIService - realm string - roleId string - first *int32 - max *int32 - search *string + realm string + roleId string + first *int32 + max *int32 + search *string } func (r ApiAdminRealmsRealmRolesByIdRoleIdCompositesGetRequest) First(first int32) ApiAdminRealmsRealmRolesByIdRoleIdCompositesGetRequest { @@ -266,29 +266,28 @@ func (r ApiAdminRealmsRealmRolesByIdRoleIdCompositesGetRequest) Execute() ([]Rol /* AdminRealmsRealmRolesByIdRoleIdCompositesGet Get role's children Returns a set of role's children provided the role is a composite. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param roleId - @return ApiAdminRealmsRealmRolesByIdRoleIdCompositesGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param roleId + @return ApiAdminRealmsRealmRolesByIdRoleIdCompositesGetRequest */ func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdCompositesGet(ctx context.Context, realm string, roleId string) ApiAdminRealmsRealmRolesByIdRoleIdCompositesGetRequest { return ApiAdminRealmsRealmRolesByIdRoleIdCompositesGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - roleId: roleId, + ctx: ctx, + realm: realm, + roleId: roleId, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdCompositesGetExecute(r ApiAdminRealmsRealmRolesByIdRoleIdCompositesGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesByIDAPIService.AdminRealmsRealmRolesByIdRoleIdCompositesGet") @@ -368,10 +367,10 @@ func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdCompositesGetExecut } type ApiAdminRealmsRealmRolesByIdRoleIdCompositesPostRequest struct { - ctx context.Context - ApiService *RolesByIDAPIService - realm string - roleId string + ctx context.Context + ApiService *RolesByIDAPIService + realm string + roleId string roleRepresentation *[]RoleRepresentation } @@ -387,26 +386,26 @@ func (r ApiAdminRealmsRealmRolesByIdRoleIdCompositesPostRequest) Execute() (*htt /* AdminRealmsRealmRolesByIdRoleIdCompositesPost Make the role a composite role by associating some child roles - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param roleId - @return ApiAdminRealmsRealmRolesByIdRoleIdCompositesPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param roleId + @return ApiAdminRealmsRealmRolesByIdRoleIdCompositesPostRequest */ func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdCompositesPost(ctx context.Context, realm string, roleId string) ApiAdminRealmsRealmRolesByIdRoleIdCompositesPostRequest { return ApiAdminRealmsRealmRolesByIdRoleIdCompositesPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, - roleId: roleId, + ctx: ctx, + realm: realm, + roleId: roleId, } } // Execute executes the request func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdCompositesPostExecute(r ApiAdminRealmsRealmRolesByIdRoleIdCompositesPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesByIDAPIService.AdminRealmsRealmRolesByIdRoleIdCompositesPost") @@ -470,10 +469,10 @@ func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdCompositesPostExecu } type ApiAdminRealmsRealmRolesByIdRoleIdCompositesRealmGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RolesByIDAPIService - realm string - roleId string + realm string + roleId string } func (r ApiAdminRealmsRealmRolesByIdRoleIdCompositesRealmGetRequest) Execute() ([]RoleRepresentation, *http.Response, error) { @@ -483,29 +482,28 @@ func (r ApiAdminRealmsRealmRolesByIdRoleIdCompositesRealmGetRequest) Execute() ( /* AdminRealmsRealmRolesByIdRoleIdCompositesRealmGet Get realm-level roles that are in the role's composite - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param roleId - @return ApiAdminRealmsRealmRolesByIdRoleIdCompositesRealmGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param roleId + @return ApiAdminRealmsRealmRolesByIdRoleIdCompositesRealmGetRequest */ func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdCompositesRealmGet(ctx context.Context, realm string, roleId string) ApiAdminRealmsRealmRolesByIdRoleIdCompositesRealmGetRequest { return ApiAdminRealmsRealmRolesByIdRoleIdCompositesRealmGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - roleId: roleId, + ctx: ctx, + realm: realm, + roleId: roleId, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdCompositesRealmGetExecute(r ApiAdminRealmsRealmRolesByIdRoleIdCompositesRealmGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesByIDAPIService.AdminRealmsRealmRolesByIdRoleIdCompositesRealmGet") @@ -576,10 +574,10 @@ func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdCompositesRealmGetE } type ApiAdminRealmsRealmRolesByIdRoleIdDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *RolesByIDAPIService - realm string - roleId string + realm string + roleId string } func (r ApiAdminRealmsRealmRolesByIdRoleIdDeleteRequest) Execute() (*http.Response, error) { @@ -589,26 +587,26 @@ func (r ApiAdminRealmsRealmRolesByIdRoleIdDeleteRequest) Execute() (*http.Respon /* AdminRealmsRealmRolesByIdRoleIdDelete Delete the role - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param roleId id of role - @return ApiAdminRealmsRealmRolesByIdRoleIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param roleId id of role + @return ApiAdminRealmsRealmRolesByIdRoleIdDeleteRequest */ func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdDelete(ctx context.Context, realm string, roleId string) ApiAdminRealmsRealmRolesByIdRoleIdDeleteRequest { return ApiAdminRealmsRealmRolesByIdRoleIdDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - roleId: roleId, + ctx: ctx, + realm: realm, + roleId: roleId, } } // Execute executes the request func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdDeleteExecute(r ApiAdminRealmsRealmRolesByIdRoleIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesByIDAPIService.AdminRealmsRealmRolesByIdRoleIdDelete") @@ -670,10 +668,10 @@ func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdDeleteExecute(r Api } type ApiAdminRealmsRealmRolesByIdRoleIdGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RolesByIDAPIService - realm string - roleId string + realm string + roleId string } func (r ApiAdminRealmsRealmRolesByIdRoleIdGetRequest) Execute() (*RoleRepresentation, *http.Response, error) { @@ -683,29 +681,28 @@ func (r ApiAdminRealmsRealmRolesByIdRoleIdGetRequest) Execute() (*RoleRepresenta /* AdminRealmsRealmRolesByIdRoleIdGet Get a specific role's representation - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param roleId id of role - @return ApiAdminRealmsRealmRolesByIdRoleIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param roleId id of role + @return ApiAdminRealmsRealmRolesByIdRoleIdGetRequest */ func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdGet(ctx context.Context, realm string, roleId string) ApiAdminRealmsRealmRolesByIdRoleIdGetRequest { return ApiAdminRealmsRealmRolesByIdRoleIdGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - roleId: roleId, + ctx: ctx, + realm: realm, + roleId: roleId, } } // Execute executes the request -// -// @return RoleRepresentation +// @return RoleRepresentation func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdGetExecute(r ApiAdminRealmsRealmRolesByIdRoleIdGetRequest) (*RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesByIDAPIService.AdminRealmsRealmRolesByIdRoleIdGet") @@ -776,10 +773,10 @@ func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdGetExecute(r ApiAdm } type ApiAdminRealmsRealmRolesByIdRoleIdManagementPermissionsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *RolesByIDAPIService - realm string - roleId string + realm string + roleId string } func (r ApiAdminRealmsRealmRolesByIdRoleIdManagementPermissionsGetRequest) Execute() (*ManagementPermissionReference, *http.Response, error) { @@ -789,29 +786,28 @@ func (r ApiAdminRealmsRealmRolesByIdRoleIdManagementPermissionsGetRequest) Execu /* AdminRealmsRealmRolesByIdRoleIdManagementPermissionsGet Return object stating whether role Authorization permissions have been initialized or not and a reference - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param roleId - @return ApiAdminRealmsRealmRolesByIdRoleIdManagementPermissionsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param roleId + @return ApiAdminRealmsRealmRolesByIdRoleIdManagementPermissionsGetRequest */ func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdManagementPermissionsGet(ctx context.Context, realm string, roleId string) ApiAdminRealmsRealmRolesByIdRoleIdManagementPermissionsGetRequest { return ApiAdminRealmsRealmRolesByIdRoleIdManagementPermissionsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - roleId: roleId, + ctx: ctx, + realm: realm, + roleId: roleId, } } // Execute executes the request -// -// @return ManagementPermissionReference +// @return ManagementPermissionReference func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdManagementPermissionsGetExecute(r ApiAdminRealmsRealmRolesByIdRoleIdManagementPermissionsGetRequest) (*ManagementPermissionReference, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ManagementPermissionReference + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ManagementPermissionReference ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesByIDAPIService.AdminRealmsRealmRolesByIdRoleIdManagementPermissionsGet") @@ -882,10 +878,10 @@ func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdManagementPermissio } type ApiAdminRealmsRealmRolesByIdRoleIdManagementPermissionsPutRequest struct { - ctx context.Context - ApiService *RolesByIDAPIService - realm string - roleId string + ctx context.Context + ApiService *RolesByIDAPIService + realm string + roleId string managementPermissionReference *ManagementPermissionReference } @@ -901,29 +897,28 @@ func (r ApiAdminRealmsRealmRolesByIdRoleIdManagementPermissionsPutRequest) Execu /* AdminRealmsRealmRolesByIdRoleIdManagementPermissionsPut Return object stating whether role Authorization permissions have been initialized or not and a reference - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param roleId - @return ApiAdminRealmsRealmRolesByIdRoleIdManagementPermissionsPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param roleId + @return ApiAdminRealmsRealmRolesByIdRoleIdManagementPermissionsPutRequest */ func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdManagementPermissionsPut(ctx context.Context, realm string, roleId string) ApiAdminRealmsRealmRolesByIdRoleIdManagementPermissionsPutRequest { return ApiAdminRealmsRealmRolesByIdRoleIdManagementPermissionsPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - roleId: roleId, + ctx: ctx, + realm: realm, + roleId: roleId, } } // Execute executes the request -// -// @return ManagementPermissionReference +// @return ManagementPermissionReference func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdManagementPermissionsPutExecute(r ApiAdminRealmsRealmRolesByIdRoleIdManagementPermissionsPutRequest) (*ManagementPermissionReference, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *ManagementPermissionReference + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ManagementPermissionReference ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesByIDAPIService.AdminRealmsRealmRolesByIdRoleIdManagementPermissionsPut") @@ -996,10 +991,10 @@ func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdManagementPermissio } type ApiAdminRealmsRealmRolesByIdRoleIdPutRequest struct { - ctx context.Context - ApiService *RolesByIDAPIService - realm string - roleId string + ctx context.Context + ApiService *RolesByIDAPIService + realm string + roleId string roleRepresentation *RoleRepresentation } @@ -1015,26 +1010,26 @@ func (r ApiAdminRealmsRealmRolesByIdRoleIdPutRequest) Execute() (*http.Response, /* AdminRealmsRealmRolesByIdRoleIdPut Update the role - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param roleId id of role - @return ApiAdminRealmsRealmRolesByIdRoleIdPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param roleId id of role + @return ApiAdminRealmsRealmRolesByIdRoleIdPutRequest */ func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdPut(ctx context.Context, realm string, roleId string) ApiAdminRealmsRealmRolesByIdRoleIdPutRequest { return ApiAdminRealmsRealmRolesByIdRoleIdPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - roleId: roleId, + ctx: ctx, + realm: realm, + roleId: roleId, } } // Execute executes the request func (a *RolesByIDAPIService) AdminRealmsRealmRolesByIdRoleIdPutExecute(r ApiAdminRealmsRealmRolesByIdRoleIdPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RolesByIDAPIService.AdminRealmsRealmRolesByIdRoleIdPut") diff --git a/api_scope_mappings.go b/api_scope_mappings.go index 0e8756f..e2d4611 100644 --- a/api_scope_mappings.go +++ b/api_scope_mappings.go @@ -19,15 +19,16 @@ import ( "strings" ) + // ScopeMappingsAPIService ScopeMappingsAPI service type ScopeMappingsAPIService service type ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientAvailableGetRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string clientScopeId string - client string + client string } func (r ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientAvailableGetRequest) Execute() ([]RoleRepresentation, *http.Response, error) { @@ -37,31 +38,30 @@ func (r ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientAv /* AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientAvailableGet The available client-level roles Returns the roles for the client that can be associated with the client's scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @param client - @return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientAvailableGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @param client + @return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientAvailableGetRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientAvailableGet(ctx context.Context, realm string, clientScopeId string, client string) ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientAvailableGetRequest { return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientAvailableGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, - client: client, + client: client, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientAvailableGetExecute(r ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientAvailableGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientAvailableGet") @@ -133,11 +133,11 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScope } type ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientCompositeGetRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string - clientScopeId string - client string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string + clientScopeId string + client string briefRepresentation *bool } @@ -154,31 +154,30 @@ func (r ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientCo /* AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientCompositeGet Get effective client roles Returns the roles for the client that are associated with the client's scope. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @param client - @return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientCompositeGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @param client + @return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientCompositeGetRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientCompositeGet(ctx context.Context, realm string, clientScopeId string, client string) ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientCompositeGetRequest { return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientCompositeGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, - client: client, + client: client, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientCompositeGetExecute(r ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientCompositeGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientCompositeGet") @@ -256,11 +255,11 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScope } type ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientDeleteRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string - clientScopeId string - client string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string + clientScopeId string + client string roleRepresentation *[]RoleRepresentation } @@ -276,28 +275,28 @@ func (r ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientDe /* AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientDelete Remove client-level roles from the client's scope. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @param client - @return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @param client + @return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientDeleteRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientDelete(ctx context.Context, realm string, clientScopeId string, client string) ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientDeleteRequest { return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientDeleteRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, - client: client, + client: client, } } // Execute executes the request func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientDeleteExecute(r ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientDelete") @@ -362,11 +361,11 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScope } type ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientGetRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string clientScopeId string - client string + client string } func (r ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientGetRequest) Execute() ([]RoleRepresentation, *http.Response, error) { @@ -376,31 +375,30 @@ func (r ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientGe /* AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientGet Get the roles associated with a client's scope Returns roles for the client. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @param client - @return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @param client + @return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientGetRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientGet(ctx context.Context, realm string, clientScopeId string, client string) ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientGetRequest { return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, - client: client, + client: client, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientGetExecute(r ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientGet") @@ -472,11 +470,11 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScope } type ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientPostRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string - clientScopeId string - client string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string + clientScopeId string + client string roleRepresentation *[]RoleRepresentation } @@ -492,28 +490,28 @@ func (r ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientPo /* AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientPost Add client-level roles to the client's scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @param client - @return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @param client + @return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientPostRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientPost(ctx context.Context, realm string, clientScopeId string, client string) ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientPostRequest { return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientPostRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, - client: client, + client: client, } } // Execute executes the request func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientPostExecute(r ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientPost") @@ -578,9 +576,9 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScope } type ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsGetRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string clientScopeId string } @@ -591,33 +589,31 @@ func (r ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsGetRequest) Exe /* AdminRealmsRealmClientScopesClientScopeIdScopeMappingsGet Get all scope mappings for the client - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsGetRequest Deprecated */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScopeMappingsGet(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsGetRequest { return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } // Execute executes the request -// -// @return MappingsRepresentation -// +// @return MappingsRepresentation // Deprecated func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScopeMappingsGetExecute(r ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsGetRequest) (*MappingsRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *MappingsRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *MappingsRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientScopesClientScopeIdScopeMappingsGet") @@ -688,9 +684,9 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScope } type ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmAvailableGetRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string clientScopeId string } @@ -701,29 +697,28 @@ func (r ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmAvailableG /* AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmAvailableGet Get realm-level roles that are available to attach to this client's scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmAvailableGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmAvailableGetRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmAvailableGet(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmAvailableGetRequest { return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmAvailableGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmAvailableGetExecute(r ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmAvailableGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmAvailableGet") @@ -794,10 +789,10 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScope } type ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmCompositeGetRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string - clientScopeId string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string + clientScopeId string briefRepresentation *bool } @@ -816,29 +811,28 @@ AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmCompositeGet Get effe The method is really to show a comprehensive total view of realm-level roles associated with the client. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmCompositeGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmCompositeGetRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmCompositeGet(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmCompositeGetRequest { return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmCompositeGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmCompositeGetExecute(r ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmCompositeGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmCompositeGet") @@ -915,10 +909,10 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScope } type ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmDeleteRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string - clientScopeId string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string + clientScopeId string roleRepresentation *[]RoleRepresentation } @@ -934,16 +928,16 @@ func (r ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmDeleteRequ /* AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmDelete Remove a set of realm-level roles from the client's scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmDeleteRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmDelete(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmDeleteRequest { return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmDeleteRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } @@ -951,9 +945,9 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScope // Execute executes the request func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmDeleteExecute(r ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmDelete") @@ -1017,9 +1011,9 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScope } type ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmGetRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string clientScopeId string } @@ -1030,29 +1024,28 @@ func (r ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmGetRequest /* AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmGet Get realm-level roles associated with the client's scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmGetRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmGet(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmGetRequest { return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmGetExecute(r ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmGet") @@ -1123,10 +1116,10 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScope } type ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmPostRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string - clientScopeId string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string + clientScopeId string roleRepresentation *[]RoleRepresentation } @@ -1142,16 +1135,16 @@ func (r ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmPostReques /* AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmPost Add a set of realm-level roles to the client's scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmPostRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmPost(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmPostRequest { return ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmPostRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } @@ -1159,9 +1152,9 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScope // Execute executes the request func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmPostExecute(r ApiAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmPost") @@ -1225,11 +1218,11 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientScopesClientScopeIdScope } type ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientAvailableGetRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string clientScopeId string - client string + client string } func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientAvailableGetRequest) Execute() ([]RoleRepresentation, *http.Response, error) { @@ -1239,31 +1232,30 @@ func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClien /* AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientAvailableGet The available client-level roles Returns the roles for the client that can be associated with the client's scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @param client - @return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientAvailableGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @param client + @return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientAvailableGetRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientAvailableGet(ctx context.Context, realm string, clientScopeId string, client string) ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientAvailableGetRequest { return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientAvailableGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, - client: client, + client: client, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientAvailableGetExecute(r ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientAvailableGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientAvailableGet") @@ -1335,11 +1327,11 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdSc } type ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientCompositeGetRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string - clientScopeId string - client string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string + clientScopeId string + client string briefRepresentation *bool } @@ -1356,31 +1348,30 @@ func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClien /* AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientCompositeGet Get effective client roles Returns the roles for the client that are associated with the client's scope. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @param client - @return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientCompositeGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @param client + @return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientCompositeGetRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientCompositeGet(ctx context.Context, realm string, clientScopeId string, client string) ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientCompositeGetRequest { return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientCompositeGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, - client: client, + client: client, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientCompositeGetExecute(r ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientCompositeGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientCompositeGet") @@ -1458,11 +1449,11 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdSc } type ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientDeleteRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string - clientScopeId string - client string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string + clientScopeId string + client string roleRepresentation *[]RoleRepresentation } @@ -1478,28 +1469,28 @@ func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClien /* AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientDelete Remove client-level roles from the client's scope. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @param client - @return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @param client + @return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientDeleteRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientDelete(ctx context.Context, realm string, clientScopeId string, client string) ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientDeleteRequest { return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientDeleteRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, - client: client, + client: client, } } // Execute executes the request func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientDeleteExecute(r ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientDelete") @@ -1564,11 +1555,11 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdSc } type ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientGetRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string clientScopeId string - client string + client string } func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientGetRequest) Execute() ([]RoleRepresentation, *http.Response, error) { @@ -1578,31 +1569,30 @@ func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClien /* AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientGet Get the roles associated with a client's scope Returns roles for the client. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @param client - @return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @param client + @return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientGetRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientGet(ctx context.Context, realm string, clientScopeId string, client string) ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientGetRequest { return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, - client: client, + client: client, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientGetExecute(r ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientGet") @@ -1674,11 +1664,11 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdSc } type ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientPostRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string - clientScopeId string - client string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string + clientScopeId string + client string roleRepresentation *[]RoleRepresentation } @@ -1694,28 +1684,28 @@ func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClien /* AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientPost Add client-level roles to the client's scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @param client - @return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @param client + @return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientPostRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientPost(ctx context.Context, realm string, clientScopeId string, client string) ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientPostRequest { return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientPostRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, - client: client, + client: client, } } // Execute executes the request func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientPostExecute(r ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientPost") @@ -1780,9 +1770,9 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdSc } type ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsGetRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string clientScopeId string } @@ -1793,33 +1783,31 @@ func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsGetRequest) /* AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsGet Get all scope mappings for the client - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsGetRequest Deprecated */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsGet(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsGetRequest { return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } // Execute executes the request -// -// @return MappingsRepresentation -// +// @return MappingsRepresentation // Deprecated func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsGetExecute(r ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsGetRequest) (*MappingsRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *MappingsRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *MappingsRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsGet") @@ -1890,9 +1878,9 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdSc } type ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmAvailableGetRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string clientScopeId string } @@ -1903,29 +1891,28 @@ func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmAvailab /* AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmAvailableGet Get realm-level roles that are available to attach to this client's scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmAvailableGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmAvailableGetRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmAvailableGet(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmAvailableGetRequest { return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmAvailableGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmAvailableGetExecute(r ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmAvailableGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmAvailableGet") @@ -1996,10 +1983,10 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdSc } type ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmCompositeGetRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string - clientScopeId string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string + clientScopeId string briefRepresentation *bool } @@ -2018,29 +2005,28 @@ AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmCompositeGet Get e The method is really to show a comprehensive total view of realm-level roles associated with the client. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmCompositeGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmCompositeGetRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmCompositeGet(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmCompositeGetRequest { return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmCompositeGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmCompositeGetExecute(r ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmCompositeGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmCompositeGet") @@ -2117,10 +2103,10 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdSc } type ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmDeleteRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string - clientScopeId string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string + clientScopeId string roleRepresentation *[]RoleRepresentation } @@ -2136,16 +2122,16 @@ func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmDeleteR /* AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmDelete Remove a set of realm-level roles from the client's scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmDeleteRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmDelete(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmDeleteRequest { return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmDeleteRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } @@ -2153,9 +2139,9 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdSc // Execute executes the request func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmDeleteExecute(r ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmDelete") @@ -2219,9 +2205,9 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdSc } type ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmGetRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string clientScopeId string } @@ -2232,29 +2218,28 @@ func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmGetRequ /* AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmGet Get realm-level roles associated with the client's scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmGetRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmGet(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmGetRequest { return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmGetRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmGetExecute(r ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmGet") @@ -2325,10 +2310,10 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdSc } type ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmPostRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string - clientScopeId string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string + clientScopeId string roleRepresentation *[]RoleRepresentation } @@ -2344,16 +2329,16 @@ func (r ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmPostReq /* AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmPost Add a set of realm-level roles to the client's scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientScopeId - @return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientScopeId + @return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmPostRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmPost(ctx context.Context, realm string, clientScopeId string) ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmPostRequest { return ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmPostRequest{ - ApiService: a, - ctx: ctx, - realm: realm, + ApiService: a, + ctx: ctx, + realm: realm, clientScopeId: clientScopeId, } } @@ -2361,9 +2346,9 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdSc // Execute executes the request func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmPostExecute(r ApiAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmPost") @@ -2427,11 +2412,11 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientTemplatesClientScopeIdSc } type ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientAvailableGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ScopeMappingsAPIService - realm string + realm string clientUuid string - client string + client string } func (r ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientAvailableGetRequest) Execute() ([]RoleRepresentation, *http.Response, error) { @@ -2441,31 +2426,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientAvailableG /* AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientAvailableGet The available client-level roles Returns the roles for the client that can be associated with the client's scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param client - @return ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientAvailableGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param client + @return ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientAvailableGetRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientAvailableGet(ctx context.Context, realm string, clientUuid string, client string) ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientAvailableGetRequest { return ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientAvailableGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - client: client, + client: client, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientAvailableGetExecute(r ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientAvailableGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientAvailableGet") @@ -2537,11 +2521,11 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappings } type ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientCompositeGetRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string - clientUuid string - client string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string + clientUuid string + client string briefRepresentation *bool } @@ -2558,31 +2542,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientCompositeG /* AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientCompositeGet Get effective client roles Returns the roles for the client that are associated with the client's scope. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param client - @return ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientCompositeGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param client + @return ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientCompositeGetRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientCompositeGet(ctx context.Context, realm string, clientUuid string, client string) ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientCompositeGetRequest { return ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientCompositeGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - client: client, + client: client, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientCompositeGetExecute(r ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientCompositeGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientCompositeGet") @@ -2660,11 +2643,11 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappings } type ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientDeleteRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string - clientUuid string - client string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string + clientUuid string + client string roleRepresentation *[]RoleRepresentation } @@ -2680,28 +2663,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientDeleteRequ /* AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientDelete Remove client-level roles from the client's scope. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param client - @return ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param client + @return ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientDeleteRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientDelete(ctx context.Context, realm string, clientUuid string, client string) ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientDeleteRequest { return ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - client: client, + client: client, } } // Execute executes the request func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientDeleteExecute(r ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientDelete") @@ -2766,11 +2749,11 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappings } type ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ScopeMappingsAPIService - realm string + realm string clientUuid string - client string + client string } func (r ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientGetRequest) Execute() ([]RoleRepresentation, *http.Response, error) { @@ -2780,31 +2763,30 @@ func (r ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientGetRequest /* AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientGet Get the roles associated with a client's scope Returns roles for the client. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param client - @return ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param client + @return ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientGetRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientGet(ctx context.Context, realm string, clientUuid string, client string) ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientGetRequest { return ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - client: client, + client: client, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientGetExecute(r ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientGet") @@ -2876,11 +2858,11 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappings } type ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientPostRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string - clientUuid string - client string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string + clientUuid string + client string roleRepresentation *[]RoleRepresentation } @@ -2896,28 +2878,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientPostReques /* AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientPost Add client-level roles to the client's scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @param client - @return ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @param client + @return ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientPostRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientPost(ctx context.Context, realm string, clientUuid string, client string) ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientPostRequest { return ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, - client: client, + client: client, } } // Execute executes the request func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientPostExecute(r ApiAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientPost") @@ -2982,9 +2964,9 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappings } type ApiAdminRealmsRealmClientsClientUuidScopeMappingsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ScopeMappingsAPIService - realm string + realm string clientUuid string } @@ -2995,33 +2977,31 @@ func (r ApiAdminRealmsRealmClientsClientUuidScopeMappingsGetRequest) Execute() ( /* AdminRealmsRealmClientsClientUuidScopeMappingsGet Get all scope mappings for the client - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidScopeMappingsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidScopeMappingsGetRequest Deprecated */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappingsGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidScopeMappingsGetRequest { return ApiAdminRealmsRealmClientsClientUuidScopeMappingsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return MappingsRepresentation -// +// @return MappingsRepresentation // Deprecated func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappingsGetExecute(r ApiAdminRealmsRealmClientsClientUuidScopeMappingsGetRequest) (*MappingsRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *MappingsRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *MappingsRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientsClientUuidScopeMappingsGet") @@ -3092,9 +3072,9 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappings } type ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmAvailableGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ScopeMappingsAPIService - realm string + realm string clientUuid string } @@ -3105,29 +3085,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmAvailableGetReques /* AdminRealmsRealmClientsClientUuidScopeMappingsRealmAvailableGet Get realm-level roles that are available to attach to this client's scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmAvailableGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmAvailableGetRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappingsRealmAvailableGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmAvailableGetRequest { return ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmAvailableGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappingsRealmAvailableGetExecute(r ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmAvailableGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientsClientUuidScopeMappingsRealmAvailableGet") @@ -3198,10 +3177,10 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappings } type ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmCompositeGetRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string - clientUuid string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string + clientUuid string briefRepresentation *bool } @@ -3220,29 +3199,28 @@ AdminRealmsRealmClientsClientUuidScopeMappingsRealmCompositeGet Get effective re The method is really to show a comprehensive total view of realm-level roles associated with the client. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmCompositeGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmCompositeGetRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappingsRealmCompositeGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmCompositeGetRequest { return ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmCompositeGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappingsRealmCompositeGetExecute(r ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmCompositeGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientsClientUuidScopeMappingsRealmCompositeGet") @@ -3319,10 +3297,10 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappings } type ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmDeleteRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string - clientUuid string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string + clientUuid string roleRepresentation *[]RoleRepresentation } @@ -3338,16 +3316,16 @@ func (r ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmDeleteRequest) Exe /* AdminRealmsRealmClientsClientUuidScopeMappingsRealmDelete Remove a set of realm-level roles from the client's scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmDeleteRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappingsRealmDelete(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmDeleteRequest { return ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } @@ -3355,9 +3333,9 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappings // Execute executes the request func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappingsRealmDeleteExecute(r ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientsClientUuidScopeMappingsRealmDelete") @@ -3421,9 +3399,9 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappings } type ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmGetRequest struct { - ctx context.Context + ctx context.Context ApiService *ScopeMappingsAPIService - realm string + realm string clientUuid string } @@ -3434,29 +3412,28 @@ func (r ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmGetRequest) Execut /* AdminRealmsRealmClientsClientUuidScopeMappingsRealmGet Get realm-level roles associated with the client's scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmGetRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappingsRealmGet(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmGetRequest { return ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } // Execute executes the request -// -// @return []RoleRepresentation +// @return []RoleRepresentation func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappingsRealmGetExecute(r ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmGetRequest) ([]RoleRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RoleRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []RoleRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientsClientUuidScopeMappingsRealmGet") @@ -3527,10 +3504,10 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappings } type ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmPostRequest struct { - ctx context.Context - ApiService *ScopeMappingsAPIService - realm string - clientUuid string + ctx context.Context + ApiService *ScopeMappingsAPIService + realm string + clientUuid string roleRepresentation *[]RoleRepresentation } @@ -3546,16 +3523,16 @@ func (r ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmPostRequest) Execu /* AdminRealmsRealmClientsClientUuidScopeMappingsRealmPost Add a set of realm-level roles to the client's scope - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param clientUuid id of client (not client-id!) - @return ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param clientUuid id of client (not client-id!) + @return ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmPostRequest */ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappingsRealmPost(ctx context.Context, realm string, clientUuid string) ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmPostRequest { return ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, clientUuid: clientUuid, } } @@ -3563,9 +3540,9 @@ func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappings // Execute executes the request func (a *ScopeMappingsAPIService) AdminRealmsRealmClientsClientUuidScopeMappingsRealmPostExecute(r ApiAdminRealmsRealmClientsClientUuidScopeMappingsRealmPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ScopeMappingsAPIService.AdminRealmsRealmClientsClientUuidScopeMappingsRealmPost") diff --git a/api_users.go b/api_users.go index ddcfce9..161b704 100644 --- a/api_users.go +++ b/api_users.go @@ -19,21 +19,22 @@ import ( "strings" ) + // UsersAPIService UsersAPI service type UsersAPIService service type ApiAdminRealmsRealmUsersCountGetRequest struct { - ctx context.Context - ApiService *UsersAPIService - realm string - email *string + ctx context.Context + ApiService *UsersAPIService + realm string + email *string emailVerified *bool - enabled *bool - firstName *string - lastName *string - q *string - search *string - username *string + enabled *bool + firstName *string + lastName *string + q *string + search *string + username *string } // email filter @@ -91,27 +92,26 @@ AdminRealmsRealmUsersCountGet Returns the number of users that match the given c 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.

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.

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. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmUsersCountGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmUsersCountGetRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersCountGet(ctx context.Context, realm string) ApiAdminRealmsRealmUsersCountGetRequest { return ApiAdminRealmsRealmUsersCountGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return int32 +// @return int32 func (a *UsersAPIService) AdminRealmsRealmUsersCountGetExecute(r ApiAdminRealmsRealmUsersCountGetRequest) (int32, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue int32 + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue int32 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersCountGet") @@ -205,23 +205,23 @@ func (a *UsersAPIService) AdminRealmsRealmUsersCountGetExecute(r ApiAdminRealmsR } type ApiAdminRealmsRealmUsersGetRequest struct { - ctx context.Context - ApiService *UsersAPIService - realm string + ctx context.Context + ApiService *UsersAPIService + realm string briefRepresentation *bool - email *string - emailVerified *bool - enabled *bool - exact *bool - first *int32 - firstName *string - idpAlias *string - idpUserId *string - lastName *string - max *int32 - q *string - search *string - username *string + email *string + emailVerified *bool + enabled *bool + exact *bool + first *int32 + firstName *string + idpAlias *string + idpUserId *string + lastName *string + max *int32 + q *string + search *string + username *string } // Boolean which defines whether brief representations are returned (default: false) @@ -315,27 +315,26 @@ func (r ApiAdminRealmsRealmUsersGetRequest) Execute() ([]UserRepresentation, *ht /* AdminRealmsRealmUsersGet Get users Returns a stream of users, filtered according to query parameters. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmUsersGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmUsersGetRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersGet(ctx context.Context, realm string) ApiAdminRealmsRealmUsersGetRequest { return ApiAdminRealmsRealmUsersGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return []UserRepresentation +// @return []UserRepresentation func (a *UsersAPIService) AdminRealmsRealmUsersGetExecute(r ApiAdminRealmsRealmUsersGetRequest) ([]UserRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []UserRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []UserRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersGet") @@ -447,9 +446,9 @@ func (a *UsersAPIService) AdminRealmsRealmUsersGetExecute(r ApiAdminRealmsRealmU } type ApiAdminRealmsRealmUsersPostRequest struct { - ctx context.Context - ApiService *UsersAPIService - realm string + ctx context.Context + ApiService *UsersAPIService + realm string userRepresentation *UserRepresentation } @@ -465,24 +464,24 @@ func (r ApiAdminRealmsRealmUsersPostRequest) Execute() (*http.Response, error) { /* AdminRealmsRealmUsersPost Create a new user Username must be unique. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmUsersPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmUsersPostRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersPost(ctx context.Context, realm string) ApiAdminRealmsRealmUsersPostRequest { return ApiAdminRealmsRealmUsersPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request func (a *UsersAPIService) AdminRealmsRealmUsersPostExecute(r ApiAdminRealmsRealmUsersPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersPost") @@ -545,9 +544,9 @@ func (a *UsersAPIService) AdminRealmsRealmUsersPostExecute(r ApiAdminRealmsRealm } type ApiAdminRealmsRealmUsersProfileGetRequest struct { - ctx context.Context + ctx context.Context ApiService *UsersAPIService - realm string + realm string } func (r ApiAdminRealmsRealmUsersProfileGetRequest) Execute() (*UPConfig, *http.Response, error) { @@ -559,27 +558,26 @@ AdminRealmsRealmUsersProfileGet Method for AdminRealmsRealmUsersProfileGet Get the configuration for the user profile - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmUsersProfileGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmUsersProfileGetRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersProfileGet(ctx context.Context, realm string) ApiAdminRealmsRealmUsersProfileGetRequest { return ApiAdminRealmsRealmUsersProfileGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return UPConfig +// @return UPConfig func (a *UsersAPIService) AdminRealmsRealmUsersProfileGetExecute(r ApiAdminRealmsRealmUsersProfileGetRequest) (*UPConfig, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *UPConfig + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *UPConfig ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersProfileGet") @@ -649,9 +647,9 @@ func (a *UsersAPIService) AdminRealmsRealmUsersProfileGetExecute(r ApiAdminRealm } type ApiAdminRealmsRealmUsersProfileMetadataGetRequest struct { - ctx context.Context + ctx context.Context ApiService *UsersAPIService - realm string + realm string } func (r ApiAdminRealmsRealmUsersProfileMetadataGetRequest) Execute() (*UserProfileMetadata, *http.Response, error) { @@ -663,27 +661,26 @@ AdminRealmsRealmUsersProfileMetadataGet Method for AdminRealmsRealmUsersProfileM Get the UserProfileMetadata from the configuration - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmUsersProfileMetadataGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmUsersProfileMetadataGetRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersProfileMetadataGet(ctx context.Context, realm string) ApiAdminRealmsRealmUsersProfileMetadataGetRequest { return ApiAdminRealmsRealmUsersProfileMetadataGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return UserProfileMetadata +// @return UserProfileMetadata func (a *UsersAPIService) AdminRealmsRealmUsersProfileMetadataGetExecute(r ApiAdminRealmsRealmUsersProfileMetadataGetRequest) (*UserProfileMetadata, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *UserProfileMetadata + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *UserProfileMetadata ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersProfileMetadataGet") @@ -753,10 +750,10 @@ func (a *UsersAPIService) AdminRealmsRealmUsersProfileMetadataGetExecute(r ApiAd } type ApiAdminRealmsRealmUsersProfilePutRequest struct { - ctx context.Context + ctx context.Context ApiService *UsersAPIService - realm string - uPConfig *UPConfig + realm string + uPConfig *UPConfig } func (r ApiAdminRealmsRealmUsersProfilePutRequest) UPConfig(uPConfig UPConfig) ApiAdminRealmsRealmUsersProfilePutRequest { @@ -773,27 +770,26 @@ AdminRealmsRealmUsersProfilePut Method for AdminRealmsRealmUsersProfilePut Set the configuration for the user profile - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @return ApiAdminRealmsRealmUsersProfilePutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @return ApiAdminRealmsRealmUsersProfilePutRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersProfilePut(ctx context.Context, realm string) ApiAdminRealmsRealmUsersProfilePutRequest { return ApiAdminRealmsRealmUsersProfilePutRequest{ ApiService: a, - ctx: ctx, - realm: realm, + ctx: ctx, + realm: realm, } } // Execute executes the request -// -// @return UPConfig +// @return UPConfig func (a *UsersAPIService) AdminRealmsRealmUsersProfilePutExecute(r ApiAdminRealmsRealmUsersProfilePutRequest) (*UPConfig, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *UPConfig + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *UPConfig ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersProfilePut") @@ -865,10 +861,10 @@ func (a *UsersAPIService) AdminRealmsRealmUsersProfilePutExecute(r ApiAdminRealm } type ApiAdminRealmsRealmUsersUserIdConfiguredUserStorageCredentialTypesGetRequest struct { - ctx context.Context + ctx context.Context ApiService *UsersAPIService - realm string - userId string + realm string + userId string } func (r ApiAdminRealmsRealmUsersUserIdConfiguredUserStorageCredentialTypesGetRequest) Execute() ([]string, *http.Response, error) { @@ -880,29 +876,28 @@ AdminRealmsRealmUsersUserIdConfiguredUserStorageCredentialTypesGet Return creden Returned values can contain for example "password", "otp" etc. This will always return empty list for "local" users, which are not backed by any user storage - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdConfiguredUserStorageCredentialTypesGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdConfiguredUserStorageCredentialTypesGetRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdConfiguredUserStorageCredentialTypesGet(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdConfiguredUserStorageCredentialTypesGetRequest { return ApiAdminRealmsRealmUsersUserIdConfiguredUserStorageCredentialTypesGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request -// -// @return []string +// @return []string func (a *UsersAPIService) AdminRealmsRealmUsersUserIdConfiguredUserStorageCredentialTypesGetExecute(r ApiAdminRealmsRealmUsersUserIdConfiguredUserStorageCredentialTypesGetRequest) ([]string, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []string + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []string ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdConfiguredUserStorageCredentialTypesGet") @@ -973,11 +968,11 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdConfiguredUserStorageCreden } type ApiAdminRealmsRealmUsersUserIdConsentsClientDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *UsersAPIService - realm string - userId string - client string + realm string + userId string + client string } func (r ApiAdminRealmsRealmUsersUserIdConsentsClientDeleteRequest) Execute() (*http.Response, error) { @@ -987,28 +982,28 @@ func (r ApiAdminRealmsRealmUsersUserIdConsentsClientDeleteRequest) Execute() (*h /* AdminRealmsRealmUsersUserIdConsentsClientDelete Revoke consent and offline tokens for particular client from user - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @param client Client id - @return ApiAdminRealmsRealmUsersUserIdConsentsClientDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @param client Client id + @return ApiAdminRealmsRealmUsersUserIdConsentsClientDeleteRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdConsentsClientDelete(ctx context.Context, realm string, userId string, client string) ApiAdminRealmsRealmUsersUserIdConsentsClientDeleteRequest { return ApiAdminRealmsRealmUsersUserIdConsentsClientDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, - client: client, + ctx: ctx, + realm: realm, + userId: userId, + client: client, } } // Execute executes the request func (a *UsersAPIService) AdminRealmsRealmUsersUserIdConsentsClientDeleteExecute(r ApiAdminRealmsRealmUsersUserIdConsentsClientDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdConsentsClientDelete") @@ -1071,10 +1066,10 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdConsentsClientDeleteExecute } type ApiAdminRealmsRealmUsersUserIdConsentsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *UsersAPIService - realm string - userId string + realm string + userId string } func (r ApiAdminRealmsRealmUsersUserIdConsentsGetRequest) Execute() ([]map[string]interface{}, *http.Response, error) { @@ -1084,29 +1079,28 @@ func (r ApiAdminRealmsRealmUsersUserIdConsentsGetRequest) Execute() ([]map[strin /* AdminRealmsRealmUsersUserIdConsentsGet Get consents granted by the user - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdConsentsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdConsentsGetRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdConsentsGet(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdConsentsGetRequest { return ApiAdminRealmsRealmUsersUserIdConsentsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request -// -// @return []map[string]interface{} +// @return []map[string]interface{} func (a *UsersAPIService) AdminRealmsRealmUsersUserIdConsentsGetExecute(r ApiAdminRealmsRealmUsersUserIdConsentsGetRequest) ([]map[string]interface{}, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []map[string]interface{} + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []map[string]interface{} ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdConsentsGet") @@ -1177,10 +1171,10 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdConsentsGetExecute(r ApiAdm } type ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdDeleteRequest struct { - ctx context.Context - ApiService *UsersAPIService - realm string - userId string + ctx context.Context + ApiService *UsersAPIService + realm string + userId string credentialId string } @@ -1191,18 +1185,18 @@ func (r ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdDeleteRequest) Exec /* AdminRealmsRealmUsersUserIdCredentialsCredentialIdDelete Remove a credential for a user - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @param credentialId - @return ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @param credentialId + @return ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdDeleteRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdCredentialsCredentialIdDelete(ctx context.Context, realm string, userId string, credentialId string) ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdDeleteRequest { return ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdDeleteRequest{ - ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ApiService: a, + ctx: ctx, + realm: realm, + userId: userId, credentialId: credentialId, } } @@ -1210,9 +1204,9 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdCredentialsCredentialIdDele // Execute executes the request func (a *UsersAPIService) AdminRealmsRealmUsersUserIdCredentialsCredentialIdDeleteExecute(r ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdCredentialsCredentialIdDelete") @@ -1275,11 +1269,11 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdCredentialsCredentialIdDele } type ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveAfterNewPreviousCredentialIdPostRequest struct { - ctx context.Context - ApiService *UsersAPIService - realm string - userId string - credentialId string + ctx context.Context + ApiService *UsersAPIService + realm string + userId string + credentialId string newPreviousCredentialId string } @@ -1290,20 +1284,20 @@ func (r ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveAfterNewPreviou /* AdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveAfterNewPreviousCredentialIdPost Move a credential to a position behind another credential - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @param credentialId The credential to move - @param newPreviousCredentialId 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. - @return ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveAfterNewPreviousCredentialIdPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @param credentialId The credential to move + @param newPreviousCredentialId 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. + @return ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveAfterNewPreviousCredentialIdPostRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveAfterNewPreviousCredentialIdPost(ctx context.Context, realm string, userId string, credentialId string, newPreviousCredentialId string) ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveAfterNewPreviousCredentialIdPostRequest { return ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveAfterNewPreviousCredentialIdPostRequest{ - ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, - credentialId: credentialId, + ApiService: a, + ctx: ctx, + realm: realm, + userId: userId, + credentialId: credentialId, newPreviousCredentialId: newPreviousCredentialId, } } @@ -1311,9 +1305,9 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdCredentialsCredentialIdMove // Execute executes the request func (a *UsersAPIService) AdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveAfterNewPreviousCredentialIdPostExecute(r ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveAfterNewPreviousCredentialIdPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveAfterNewPreviousCredentialIdPost") @@ -1377,10 +1371,10 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdCredentialsCredentialIdMove } type ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveToFirstPostRequest struct { - ctx context.Context - ApiService *UsersAPIService - realm string - userId string + ctx context.Context + ApiService *UsersAPIService + realm string + userId string credentialId string } @@ -1391,18 +1385,18 @@ func (r ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveToFirstPostRequ /* AdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveToFirstPost Move a credential to a first position in the credentials list of the user - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @param credentialId The credential to move - @return ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveToFirstPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @param credentialId The credential to move + @return ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveToFirstPostRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveToFirstPost(ctx context.Context, realm string, userId string, credentialId string) ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveToFirstPostRequest { return ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveToFirstPostRequest{ - ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ApiService: a, + ctx: ctx, + realm: realm, + userId: userId, credentialId: credentialId, } } @@ -1410,9 +1404,9 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdCredentialsCredentialIdMove // Execute executes the request func (a *UsersAPIService) AdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveToFirstPostExecute(r ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveToFirstPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveToFirstPost") @@ -1475,12 +1469,12 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdCredentialsCredentialIdMove } type ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdUserLabelPutRequest struct { - ctx context.Context - ApiService *UsersAPIService - realm string - userId string + ctx context.Context + ApiService *UsersAPIService + realm string + userId string credentialId string - body *string + body *string } func (r ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdUserLabelPutRequest) Body(body string) ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdUserLabelPutRequest { @@ -1495,18 +1489,18 @@ func (r ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdUserLabelPutRequest /* AdminRealmsRealmUsersUserIdCredentialsCredentialIdUserLabelPut Update a credential label for a user - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @param credentialId - @return ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdUserLabelPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @param credentialId + @return ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdUserLabelPutRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdCredentialsCredentialIdUserLabelPut(ctx context.Context, realm string, userId string, credentialId string) ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdUserLabelPutRequest { return ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdUserLabelPutRequest{ - ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ApiService: a, + ctx: ctx, + realm: realm, + userId: userId, credentialId: credentialId, } } @@ -1514,9 +1508,9 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdCredentialsCredentialIdUser // Execute executes the request func (a *UsersAPIService) AdminRealmsRealmUsersUserIdCredentialsCredentialIdUserLabelPutExecute(r ApiAdminRealmsRealmUsersUserIdCredentialsCredentialIdUserLabelPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdCredentialsCredentialIdUserLabelPut") @@ -1581,10 +1575,10 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdCredentialsCredentialIdUser } type ApiAdminRealmsRealmUsersUserIdCredentialsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *UsersAPIService - realm string - userId string + realm string + userId string } func (r ApiAdminRealmsRealmUsersUserIdCredentialsGetRequest) Execute() ([]CredentialRepresentation, *http.Response, error) { @@ -1594,29 +1588,28 @@ func (r ApiAdminRealmsRealmUsersUserIdCredentialsGetRequest) Execute() ([]Creden /* AdminRealmsRealmUsersUserIdCredentialsGet Method for AdminRealmsRealmUsersUserIdCredentialsGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdCredentialsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdCredentialsGetRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdCredentialsGet(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdCredentialsGetRequest { return ApiAdminRealmsRealmUsersUserIdCredentialsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request -// -// @return []CredentialRepresentation +// @return []CredentialRepresentation func (a *UsersAPIService) AdminRealmsRealmUsersUserIdCredentialsGetExecute(r ApiAdminRealmsRealmUsersUserIdCredentialsGetRequest) ([]CredentialRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []CredentialRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []CredentialRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdCredentialsGet") @@ -1687,10 +1680,10 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdCredentialsGetExecute(r Api } type ApiAdminRealmsRealmUsersUserIdDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *UsersAPIService - realm string - userId string + realm string + userId string } func (r ApiAdminRealmsRealmUsersUserIdDeleteRequest) Execute() (*http.Response, error) { @@ -1700,26 +1693,26 @@ func (r ApiAdminRealmsRealmUsersUserIdDeleteRequest) Execute() (*http.Response, /* AdminRealmsRealmUsersUserIdDelete Delete the user - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdDeleteRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdDelete(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdDeleteRequest { return ApiAdminRealmsRealmUsersUserIdDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request func (a *UsersAPIService) AdminRealmsRealmUsersUserIdDeleteExecute(r ApiAdminRealmsRealmUsersUserIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdDelete") @@ -1781,10 +1774,10 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdDeleteExecute(r ApiAdminRea } type ApiAdminRealmsRealmUsersUserIdDisableCredentialTypesPutRequest struct { - ctx context.Context - ApiService *UsersAPIService - realm string - userId string + ctx context.Context + ApiService *UsersAPIService + realm string + userId string requestBody *[]string } @@ -1800,26 +1793,26 @@ func (r ApiAdminRealmsRealmUsersUserIdDisableCredentialTypesPutRequest) Execute( /* AdminRealmsRealmUsersUserIdDisableCredentialTypesPut Disable all credentials for a user of a specific type - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdDisableCredentialTypesPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdDisableCredentialTypesPutRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdDisableCredentialTypesPut(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdDisableCredentialTypesPutRequest { return ApiAdminRealmsRealmUsersUserIdDisableCredentialTypesPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request func (a *UsersAPIService) AdminRealmsRealmUsersUserIdDisableCredentialTypesPutExecute(r ApiAdminRealmsRealmUsersUserIdDisableCredentialTypesPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdDisableCredentialTypesPut") @@ -1883,12 +1876,12 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdDisableCredentialTypesPutEx } type ApiAdminRealmsRealmUsersUserIdExecuteActionsEmailPutRequest struct { - ctx context.Context - ApiService *UsersAPIService - realm string - userId string - clientId *string - lifespan *int32 + ctx context.Context + ApiService *UsersAPIService + realm string + userId string + clientId *string + lifespan *int32 redirectUri *string requestBody *[]string } @@ -1925,26 +1918,26 @@ AdminRealmsRealmUsersUserIdExecuteActionsEmailPut Send an email to the user with 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. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdExecuteActionsEmailPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdExecuteActionsEmailPutRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdExecuteActionsEmailPut(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdExecuteActionsEmailPutRequest { return ApiAdminRealmsRealmUsersUserIdExecuteActionsEmailPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request func (a *UsersAPIService) AdminRealmsRealmUsersUserIdExecuteActionsEmailPutExecute(r ApiAdminRealmsRealmUsersUserIdExecuteActionsEmailPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdExecuteActionsEmailPut") @@ -2017,10 +2010,10 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdExecuteActionsEmailPutExecu } type ApiAdminRealmsRealmUsersUserIdFederatedIdentityGetRequest struct { - ctx context.Context + ctx context.Context ApiService *UsersAPIService - realm string - userId string + realm string + userId string } func (r ApiAdminRealmsRealmUsersUserIdFederatedIdentityGetRequest) Execute() ([]FederatedIdentityRepresentation, *http.Response, error) { @@ -2030,29 +2023,28 @@ func (r ApiAdminRealmsRealmUsersUserIdFederatedIdentityGetRequest) Execute() ([] /* AdminRealmsRealmUsersUserIdFederatedIdentityGet Get social logins associated with the user - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdFederatedIdentityGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdFederatedIdentityGetRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdFederatedIdentityGet(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdFederatedIdentityGetRequest { return ApiAdminRealmsRealmUsersUserIdFederatedIdentityGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request -// -// @return []FederatedIdentityRepresentation +// @return []FederatedIdentityRepresentation func (a *UsersAPIService) AdminRealmsRealmUsersUserIdFederatedIdentityGetExecute(r ApiAdminRealmsRealmUsersUserIdFederatedIdentityGetRequest) ([]FederatedIdentityRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []FederatedIdentityRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []FederatedIdentityRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdFederatedIdentityGet") @@ -2123,11 +2115,11 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdFederatedIdentityGetExecute } type ApiAdminRealmsRealmUsersUserIdFederatedIdentityProviderDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *UsersAPIService - realm string - userId string - provider string + realm string + userId string + provider string } func (r ApiAdminRealmsRealmUsersUserIdFederatedIdentityProviderDeleteRequest) Execute() (*http.Response, error) { @@ -2137,28 +2129,28 @@ func (r ApiAdminRealmsRealmUsersUserIdFederatedIdentityProviderDeleteRequest) Ex /* AdminRealmsRealmUsersUserIdFederatedIdentityProviderDelete Remove a social login provider from user - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @param provider Social login provider id - @return ApiAdminRealmsRealmUsersUserIdFederatedIdentityProviderDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @param provider Social login provider id + @return ApiAdminRealmsRealmUsersUserIdFederatedIdentityProviderDeleteRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdFederatedIdentityProviderDelete(ctx context.Context, realm string, userId string, provider string) ApiAdminRealmsRealmUsersUserIdFederatedIdentityProviderDeleteRequest { return ApiAdminRealmsRealmUsersUserIdFederatedIdentityProviderDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, - provider: provider, + ctx: ctx, + realm: realm, + userId: userId, + provider: provider, } } // Execute executes the request func (a *UsersAPIService) AdminRealmsRealmUsersUserIdFederatedIdentityProviderDeleteExecute(r ApiAdminRealmsRealmUsersUserIdFederatedIdentityProviderDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdFederatedIdentityProviderDelete") @@ -2221,11 +2213,11 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdFederatedIdentityProviderDe } type ApiAdminRealmsRealmUsersUserIdFederatedIdentityProviderPostRequest struct { - ctx context.Context + ctx context.Context ApiService *UsersAPIService - realm string - userId string - provider string + realm string + userId string + provider string } func (r ApiAdminRealmsRealmUsersUserIdFederatedIdentityProviderPostRequest) Execute() (*http.Response, error) { @@ -2235,28 +2227,28 @@ func (r ApiAdminRealmsRealmUsersUserIdFederatedIdentityProviderPostRequest) Exec /* AdminRealmsRealmUsersUserIdFederatedIdentityProviderPost Add a social login provider to the user - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @param provider Social login provider id - @return ApiAdminRealmsRealmUsersUserIdFederatedIdentityProviderPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @param provider Social login provider id + @return ApiAdminRealmsRealmUsersUserIdFederatedIdentityProviderPostRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdFederatedIdentityProviderPost(ctx context.Context, realm string, userId string, provider string) ApiAdminRealmsRealmUsersUserIdFederatedIdentityProviderPostRequest { return ApiAdminRealmsRealmUsersUserIdFederatedIdentityProviderPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, - provider: provider, + ctx: ctx, + realm: realm, + userId: userId, + provider: provider, } } // Execute executes the request func (a *UsersAPIService) AdminRealmsRealmUsersUserIdFederatedIdentityProviderPostExecute(r ApiAdminRealmsRealmUsersUserIdFederatedIdentityProviderPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdFederatedIdentityProviderPost") @@ -2319,10 +2311,10 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdFederatedIdentityProviderPo } type ApiAdminRealmsRealmUsersUserIdGetRequest struct { - ctx context.Context - ApiService *UsersAPIService - realm string - userId string + ctx context.Context + ApiService *UsersAPIService + realm string + userId string userProfileMetadata *bool } @@ -2339,29 +2331,28 @@ func (r ApiAdminRealmsRealmUsersUserIdGetRequest) Execute() (*UserRepresentation /* AdminRealmsRealmUsersUserIdGet Get representation of the user - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdGetRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdGet(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdGetRequest { return ApiAdminRealmsRealmUsersUserIdGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request -// -// @return UserRepresentation +// @return UserRepresentation func (a *UsersAPIService) AdminRealmsRealmUsersUserIdGetExecute(r ApiAdminRealmsRealmUsersUserIdGetRequest) (*UserRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *UserRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *UserRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdGet") @@ -2435,11 +2426,11 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdGetExecute(r ApiAdminRealms } type ApiAdminRealmsRealmUsersUserIdGroupsCountGetRequest struct { - ctx context.Context + ctx context.Context ApiService *UsersAPIService - realm string - userId string - search *string + realm string + userId string + search *string } func (r ApiAdminRealmsRealmUsersUserIdGroupsCountGetRequest) Search(search string) ApiAdminRealmsRealmUsersUserIdGroupsCountGetRequest { @@ -2454,29 +2445,28 @@ func (r ApiAdminRealmsRealmUsersUserIdGroupsCountGetRequest) Execute() (map[stri /* AdminRealmsRealmUsersUserIdGroupsCountGet Method for AdminRealmsRealmUsersUserIdGroupsCountGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdGroupsCountGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdGroupsCountGetRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdGroupsCountGet(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdGroupsCountGetRequest { return ApiAdminRealmsRealmUsersUserIdGroupsCountGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request -// -// @return map[string]int64 +// @return map[string]int64 func (a *UsersAPIService) AdminRealmsRealmUsersUserIdGroupsCountGetExecute(r ApiAdminRealmsRealmUsersUserIdGroupsCountGetRequest) (map[string]int64, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue map[string]int64 + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue map[string]int64 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdGroupsCountGet") @@ -2550,14 +2540,14 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdGroupsCountGetExecute(r Api } type ApiAdminRealmsRealmUsersUserIdGroupsGetRequest struct { - ctx context.Context - ApiService *UsersAPIService - realm string - userId string + ctx context.Context + ApiService *UsersAPIService + realm string + userId string briefRepresentation *bool - first *int32 - max *int32 - search *string + first *int32 + max *int32 + search *string } func (r ApiAdminRealmsRealmUsersUserIdGroupsGetRequest) BriefRepresentation(briefRepresentation bool) ApiAdminRealmsRealmUsersUserIdGroupsGetRequest { @@ -2587,29 +2577,28 @@ func (r ApiAdminRealmsRealmUsersUserIdGroupsGetRequest) Execute() ([]GroupRepres /* AdminRealmsRealmUsersUserIdGroupsGet Method for AdminRealmsRealmUsersUserIdGroupsGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdGroupsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdGroupsGetRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdGroupsGet(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdGroupsGetRequest { return ApiAdminRealmsRealmUsersUserIdGroupsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request -// -// @return []GroupRepresentation +// @return []GroupRepresentation func (a *UsersAPIService) AdminRealmsRealmUsersUserIdGroupsGetExecute(r ApiAdminRealmsRealmUsersUserIdGroupsGetRequest) ([]GroupRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []GroupRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []GroupRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdGroupsGet") @@ -2695,11 +2684,11 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdGroupsGetExecute(r ApiAdmin } type ApiAdminRealmsRealmUsersUserIdGroupsGroupIdDeleteRequest struct { - ctx context.Context + ctx context.Context ApiService *UsersAPIService - realm string - userId string - groupId string + realm string + userId string + groupId string } func (r ApiAdminRealmsRealmUsersUserIdGroupsGroupIdDeleteRequest) Execute() (*http.Response, error) { @@ -2709,28 +2698,28 @@ func (r ApiAdminRealmsRealmUsersUserIdGroupsGroupIdDeleteRequest) Execute() (*ht /* AdminRealmsRealmUsersUserIdGroupsGroupIdDelete Method for AdminRealmsRealmUsersUserIdGroupsGroupIdDelete - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @param groupId - @return ApiAdminRealmsRealmUsersUserIdGroupsGroupIdDeleteRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @param groupId + @return ApiAdminRealmsRealmUsersUserIdGroupsGroupIdDeleteRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdGroupsGroupIdDelete(ctx context.Context, realm string, userId string, groupId string) ApiAdminRealmsRealmUsersUserIdGroupsGroupIdDeleteRequest { return ApiAdminRealmsRealmUsersUserIdGroupsGroupIdDeleteRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, - groupId: groupId, + ctx: ctx, + realm: realm, + userId: userId, + groupId: groupId, } } // Execute executes the request func (a *UsersAPIService) AdminRealmsRealmUsersUserIdGroupsGroupIdDeleteExecute(r ApiAdminRealmsRealmUsersUserIdGroupsGroupIdDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdGroupsGroupIdDelete") @@ -2793,11 +2782,11 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdGroupsGroupIdDeleteExecute( } type ApiAdminRealmsRealmUsersUserIdGroupsGroupIdPutRequest struct { - ctx context.Context + ctx context.Context ApiService *UsersAPIService - realm string - userId string - groupId string + realm string + userId string + groupId string } func (r ApiAdminRealmsRealmUsersUserIdGroupsGroupIdPutRequest) Execute() (*http.Response, error) { @@ -2807,28 +2796,28 @@ func (r ApiAdminRealmsRealmUsersUserIdGroupsGroupIdPutRequest) Execute() (*http. /* AdminRealmsRealmUsersUserIdGroupsGroupIdPut Method for AdminRealmsRealmUsersUserIdGroupsGroupIdPut - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @param groupId - @return ApiAdminRealmsRealmUsersUserIdGroupsGroupIdPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @param groupId + @return ApiAdminRealmsRealmUsersUserIdGroupsGroupIdPutRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdGroupsGroupIdPut(ctx context.Context, realm string, userId string, groupId string) ApiAdminRealmsRealmUsersUserIdGroupsGroupIdPutRequest { return ApiAdminRealmsRealmUsersUserIdGroupsGroupIdPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, - groupId: groupId, + ctx: ctx, + realm: realm, + userId: userId, + groupId: groupId, } } // Execute executes the request func (a *UsersAPIService) AdminRealmsRealmUsersUserIdGroupsGroupIdPutExecute(r ApiAdminRealmsRealmUsersUserIdGroupsGroupIdPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdGroupsGroupIdPut") @@ -2891,10 +2880,10 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdGroupsGroupIdPutExecute(r A } type ApiAdminRealmsRealmUsersUserIdImpersonationPostRequest struct { - ctx context.Context + ctx context.Context ApiService *UsersAPIService - realm string - userId string + realm string + userId string } func (r ApiAdminRealmsRealmUsersUserIdImpersonationPostRequest) Execute() (map[string]interface{}, *http.Response, error) { @@ -2904,29 +2893,28 @@ func (r ApiAdminRealmsRealmUsersUserIdImpersonationPostRequest) Execute() (map[s /* AdminRealmsRealmUsersUserIdImpersonationPost Impersonate the user - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdImpersonationPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdImpersonationPostRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdImpersonationPost(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdImpersonationPostRequest { return ApiAdminRealmsRealmUsersUserIdImpersonationPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request -// -// @return map[string]interface{} +// @return map[string]interface{} func (a *UsersAPIService) AdminRealmsRealmUsersUserIdImpersonationPostExecute(r ApiAdminRealmsRealmUsersUserIdImpersonationPostRequest) (map[string]interface{}, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue map[string]interface{} + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue map[string]interface{} ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdImpersonationPost") @@ -2997,10 +2985,10 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdImpersonationPostExecute(r } type ApiAdminRealmsRealmUsersUserIdLogoutPostRequest struct { - ctx context.Context + ctx context.Context ApiService *UsersAPIService - realm string - userId string + realm string + userId string } func (r ApiAdminRealmsRealmUsersUserIdLogoutPostRequest) Execute() (*http.Response, error) { @@ -3010,26 +2998,26 @@ func (r ApiAdminRealmsRealmUsersUserIdLogoutPostRequest) Execute() (*http.Respon /* AdminRealmsRealmUsersUserIdLogoutPost Remove all user sessions associated with the user Also send notification to all clients that have an admin URL to invalidate the sessions for the particular user. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdLogoutPostRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdLogoutPostRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdLogoutPost(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdLogoutPostRequest { return ApiAdminRealmsRealmUsersUserIdLogoutPostRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request func (a *UsersAPIService) AdminRealmsRealmUsersUserIdLogoutPostExecute(r ApiAdminRealmsRealmUsersUserIdLogoutPostRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdLogoutPost") @@ -3091,10 +3079,10 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdLogoutPostExecute(r ApiAdmi } type ApiAdminRealmsRealmUsersUserIdOfflineSessionsClientUuidGetRequest struct { - ctx context.Context + ctx context.Context ApiService *UsersAPIService - realm string - userId string + realm string + userId string clientUuid string } @@ -3105,31 +3093,30 @@ func (r ApiAdminRealmsRealmUsersUserIdOfflineSessionsClientUuidGetRequest) Execu /* AdminRealmsRealmUsersUserIdOfflineSessionsClientUuidGet Get offline sessions associated with the user and client - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @param clientUuid - @return ApiAdminRealmsRealmUsersUserIdOfflineSessionsClientUuidGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @param clientUuid + @return ApiAdminRealmsRealmUsersUserIdOfflineSessionsClientUuidGetRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdOfflineSessionsClientUuidGet(ctx context.Context, realm string, userId string, clientUuid string) ApiAdminRealmsRealmUsersUserIdOfflineSessionsClientUuidGetRequest { return ApiAdminRealmsRealmUsersUserIdOfflineSessionsClientUuidGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, clientUuid: clientUuid, } } // Execute executes the request -// -// @return []UserSessionRepresentation +// @return []UserSessionRepresentation func (a *UsersAPIService) AdminRealmsRealmUsersUserIdOfflineSessionsClientUuidGetExecute(r ApiAdminRealmsRealmUsersUserIdOfflineSessionsClientUuidGetRequest) ([]UserSessionRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []UserSessionRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []UserSessionRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdOfflineSessionsClientUuidGet") @@ -3201,10 +3188,10 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdOfflineSessionsClientUuidGe } type ApiAdminRealmsRealmUsersUserIdPutRequest struct { - ctx context.Context - ApiService *UsersAPIService - realm string - userId string + ctx context.Context + ApiService *UsersAPIService + realm string + userId string userRepresentation *UserRepresentation } @@ -3220,26 +3207,26 @@ func (r ApiAdminRealmsRealmUsersUserIdPutRequest) Execute() (*http.Response, err /* AdminRealmsRealmUsersUserIdPut Update the user - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdPutRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdPut(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdPutRequest { return ApiAdminRealmsRealmUsersUserIdPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request func (a *UsersAPIService) AdminRealmsRealmUsersUserIdPutExecute(r ApiAdminRealmsRealmUsersUserIdPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdPut") @@ -3303,11 +3290,11 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdPutExecute(r ApiAdminRealms } type ApiAdminRealmsRealmUsersUserIdResetPasswordEmailPutRequest struct { - ctx context.Context - ApiService *UsersAPIService - realm string - userId string - clientId *string + ctx context.Context + ApiService *UsersAPIService + realm string + userId string + clientId *string redirectUri *string } @@ -3332,19 +3319,19 @@ AdminRealmsRealmUsersUserIdResetPasswordEmailPut Send an email to the user with 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. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdResetPasswordEmailPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdResetPasswordEmailPutRequest Deprecated */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdResetPasswordEmailPut(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdResetPasswordEmailPutRequest { return ApiAdminRealmsRealmUsersUserIdResetPasswordEmailPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } @@ -3352,9 +3339,9 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdResetPasswordEmailPut(ctx c // Deprecated func (a *UsersAPIService) AdminRealmsRealmUsersUserIdResetPasswordEmailPutExecute(r ApiAdminRealmsRealmUsersUserIdResetPasswordEmailPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdResetPasswordEmailPut") @@ -3422,10 +3409,10 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdResetPasswordEmailPutExecut } type ApiAdminRealmsRealmUsersUserIdResetPasswordPutRequest struct { - ctx context.Context - ApiService *UsersAPIService - realm string - userId string + ctx context.Context + ApiService *UsersAPIService + realm string + userId string credentialRepresentation *CredentialRepresentation } @@ -3441,26 +3428,26 @@ func (r ApiAdminRealmsRealmUsersUserIdResetPasswordPutRequest) Execute() (*http. /* AdminRealmsRealmUsersUserIdResetPasswordPut Set up a new password for the user. - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdResetPasswordPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdResetPasswordPutRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdResetPasswordPut(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdResetPasswordPutRequest { return ApiAdminRealmsRealmUsersUserIdResetPasswordPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request func (a *UsersAPIService) AdminRealmsRealmUsersUserIdResetPasswordPutExecute(r ApiAdminRealmsRealmUsersUserIdResetPasswordPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdResetPasswordPut") @@ -3524,12 +3511,12 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdResetPasswordPutExecute(r A } type ApiAdminRealmsRealmUsersUserIdSendVerifyEmailPutRequest struct { - ctx context.Context - ApiService *UsersAPIService - realm string - userId string - clientId *string - lifespan *int32 + ctx context.Context + ApiService *UsersAPIService + realm string + userId string + clientId *string + lifespan *int32 redirectUri *string } @@ -3560,26 +3547,26 @@ AdminRealmsRealmUsersUserIdSendVerifyEmailPut Send an email-verification email t 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 - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdSendVerifyEmailPutRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdSendVerifyEmailPutRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdSendVerifyEmailPut(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdSendVerifyEmailPutRequest { return ApiAdminRealmsRealmUsersUserIdSendVerifyEmailPutRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request func (a *UsersAPIService) AdminRealmsRealmUsersUserIdSendVerifyEmailPutExecute(r ApiAdminRealmsRealmUsersUserIdSendVerifyEmailPutRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdSendVerifyEmailPut") @@ -3650,10 +3637,10 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdSendVerifyEmailPutExecute(r } type ApiAdminRealmsRealmUsersUserIdSessionsGetRequest struct { - ctx context.Context + ctx context.Context ApiService *UsersAPIService - realm string - userId string + realm string + userId string } func (r ApiAdminRealmsRealmUsersUserIdSessionsGetRequest) Execute() ([]UserSessionRepresentation, *http.Response, error) { @@ -3663,29 +3650,28 @@ func (r ApiAdminRealmsRealmUsersUserIdSessionsGetRequest) Execute() ([]UserSessi /* AdminRealmsRealmUsersUserIdSessionsGet Get sessions associated with the user - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdSessionsGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdSessionsGetRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdSessionsGet(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdSessionsGetRequest { return ApiAdminRealmsRealmUsersUserIdSessionsGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request -// -// @return []UserSessionRepresentation +// @return []UserSessionRepresentation func (a *UsersAPIService) AdminRealmsRealmUsersUserIdSessionsGetExecute(r ApiAdminRealmsRealmUsersUserIdSessionsGetRequest) ([]UserSessionRepresentation, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []UserSessionRepresentation + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []UserSessionRepresentation ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdSessionsGet") @@ -3756,10 +3742,10 @@ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdSessionsGetExecute(r ApiAdm } type ApiAdminRealmsRealmUsersUserIdUnmanagedAttributesGetRequest struct { - ctx context.Context + ctx context.Context ApiService *UsersAPIService - realm string - userId string + realm string + userId string } func (r ApiAdminRealmsRealmUsersUserIdUnmanagedAttributesGetRequest) Execute() (*map[string][]string, *http.Response, error) { @@ -3769,29 +3755,28 @@ func (r ApiAdminRealmsRealmUsersUserIdUnmanagedAttributesGetRequest) Execute() ( /* AdminRealmsRealmUsersUserIdUnmanagedAttributesGet Method for AdminRealmsRealmUsersUserIdUnmanagedAttributesGet - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param realm realm name (not id!) - @param userId - @return ApiAdminRealmsRealmUsersUserIdUnmanagedAttributesGetRequest + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param realm realm name (not id!) + @param userId + @return ApiAdminRealmsRealmUsersUserIdUnmanagedAttributesGetRequest */ func (a *UsersAPIService) AdminRealmsRealmUsersUserIdUnmanagedAttributesGet(ctx context.Context, realm string, userId string) ApiAdminRealmsRealmUsersUserIdUnmanagedAttributesGetRequest { return ApiAdminRealmsRealmUsersUserIdUnmanagedAttributesGetRequest{ ApiService: a, - ctx: ctx, - realm: realm, - userId: userId, + ctx: ctx, + realm: realm, + userId: userId, } } // Execute executes the request -// -// @return map[string][]string +// @return map[string][]string func (a *UsersAPIService) AdminRealmsRealmUsersUserIdUnmanagedAttributesGetExecute(r ApiAdminRealmsRealmUsersUserIdUnmanagedAttributesGetRequest) (*map[string][]string, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *map[string][]string + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *map[string][]string ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersAPIService.AdminRealmsRealmUsersUserIdUnmanagedAttributesGet") diff --git a/client.go b/client.go index 0934759..022e076 100644 --- a/client.go +++ b/client.go @@ -31,13 +31,14 @@ import ( "strings" "time" "unicode/utf8" + ) var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) queryParamSplit = regexp.MustCompile(`(^|&)([^&]+)`) - queryDescape = strings.NewReplacer("%5B", "[", "%5D", "]") + queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) ) // APIClient manages communication with the Keycloak Admin REST API API v1.0 @@ -184,15 +185,15 @@ func typeCheckParameter(obj interface{}, expected string, name string) error { return nil } -func parameterValueToString(obj interface{}, key string) string { +func parameterValueToString( obj interface{}, key string ) string { if reflect.TypeOf(obj).Kind() != reflect.Ptr { return fmt.Sprintf("%v", obj) } - var param, ok = obj.(MappedNullable) + var param,ok = obj.(MappedNullable) if !ok { return "" } - dataMap, err := param.ToMap() + dataMap,err := param.ToMap() if err != nil { return "" } @@ -208,85 +209,85 @@ func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix stri value = "null" } else { switch v.Kind() { - case reflect.Invalid: - value = "invalid" + case reflect.Invalid: + value = "invalid" - case reflect.Struct: - if t, ok := obj.(MappedNullable); ok { - dataMap, err := t.ToMap() - if err != nil { + case reflect.Struct: + if t,ok := obj.(MappedNullable); ok { + dataMap,err := t.ToMap() + if err != nil { + return + } + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, style, collectionType) return } - parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, style, collectionType) - return - } - if t, ok := obj.(time.Time); ok { - parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339Nano), style, collectionType) - return - } - value = v.Type().String() + " value" - case reflect.Slice: - var indValue = reflect.ValueOf(obj) - if indValue == reflect.ValueOf(nil) { - return - } - var lenIndValue = indValue.Len() - for i := 0; i < lenIndValue; i++ { - var arrayValue = indValue.Index(i) - var keyPrefixForCollectionType = keyPrefix - if style == "deepObject" { - keyPrefixForCollectionType = keyPrefix + "[" + strconv.Itoa(i) + "]" + if t, ok := obj.(time.Time); ok { + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339Nano), style, collectionType) + return } - parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefixForCollectionType, arrayValue.Interface(), style, collectionType) - } - return + value = v.Type().String() + " value" + case reflect.Slice: + var indValue = reflect.ValueOf(obj) + if indValue == reflect.ValueOf(nil) { + return + } + var lenIndValue = indValue.Len() + for i:=0;i []GroupRepresentation AdminRealmsRealmGroupsGet(ctx, realm).BriefRepresentation(briefRepresentation).Exact(exact).First(first).Max(max).PopulateHierarchy(populateHierarchy).Q(q).Search(search).Execute() -Get group hierarchy. Only name and ids are returned. +Get group hierarchy. Only `name` and `id` are returned. `subGroups` are only returned when using the `search` or `q` parameter. If none of these parameters is provided, the top-level groups are returned without `subGroups` being filled. ### Example @@ -105,7 +105,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -187,7 +187,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -270,7 +270,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -341,7 +341,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -410,7 +410,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -481,7 +481,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -552,7 +552,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -625,7 +625,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -702,7 +702,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -775,7 +775,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { diff --git a/docs/IdentityProvidersAPI.md b/docs/IdentityProvidersAPI.md index a802b6a..f14c464 100644 --- a/docs/IdentityProvidersAPI.md +++ b/docs/IdentityProvidersAPI.md @@ -41,7 +41,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -111,7 +111,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -180,7 +180,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -251,7 +251,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -322,7 +322,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -393,7 +393,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -466,7 +466,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -537,7 +537,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -608,7 +608,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -680,7 +680,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -754,7 +754,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -828,7 +828,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -899,7 +899,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -970,7 +970,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1041,7 +1041,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1119,7 +1119,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1187,7 +1187,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { diff --git a/docs/KeyAPI.md b/docs/KeyAPI.md index 6591620..19452e6 100644 --- a/docs/KeyAPI.md +++ b/docs/KeyAPI.md @@ -23,7 +23,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { diff --git a/docs/OrganizationsAPI.md b/docs/OrganizationsAPI.md index 05a33a7..7b060ff 100644 --- a/docs/OrganizationsAPI.md +++ b/docs/OrganizationsAPI.md @@ -5,29 +5,29 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- [**AdminRealmsRealmOrganizationsGet**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsGet) | **Get** /admin/realms/{realm}/organizations | Returns a paginated list of organizations filtered according to the specified parameters -[**AdminRealmsRealmOrganizationsIdDelete**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsIdDelete) | **Delete** /admin/realms/{realm}/organizations/{id} | Deletes the organization -[**AdminRealmsRealmOrganizationsIdGet**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsIdGet) | **Get** /admin/realms/{realm}/organizations/{id} | Returns the organization representation -[**AdminRealmsRealmOrganizationsIdIdentityProvidersAliasDelete**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsIdIdentityProvidersAliasDelete) | **Delete** /admin/realms/{realm}/organizations/{id}/identity-providers/{alias} | Removes the identity provider with the specified alias from the organization -[**AdminRealmsRealmOrganizationsIdIdentityProvidersAliasGet**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsIdIdentityProvidersAliasGet) | **Get** /admin/realms/{realm}/organizations/{id}/identity-providers/{alias} | Returns the identity provider associated with the organization that has the specified alias -[**AdminRealmsRealmOrganizationsIdIdentityProvidersGet**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsIdIdentityProvidersGet) | **Get** /admin/realms/{realm}/organizations/{id}/identity-providers | Returns all identity providers associated with the organization -[**AdminRealmsRealmOrganizationsIdIdentityProvidersPost**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsIdIdentityProvidersPost) | **Post** /admin/realms/{realm}/organizations/{id}/identity-providers | Adds the identity provider with the specified id to the organization -[**AdminRealmsRealmOrganizationsIdMembersCountGet**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsIdMembersCountGet) | **Get** /admin/realms/{realm}/organizations/{id}/members/count | Returns number of members in the organization. -[**AdminRealmsRealmOrganizationsIdMembersGet**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsIdMembersGet) | **Get** /admin/realms/{realm}/organizations/{id}/members | Returns a paginated list of organization members filtered according to the specified parameters -[**AdminRealmsRealmOrganizationsIdMembersInviteExistingUserPost**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsIdMembersInviteExistingUserPost) | **Post** /admin/realms/{realm}/organizations/{id}/members/invite-existing-user | Invites an existing user to the organization, using the specified user id -[**AdminRealmsRealmOrganizationsIdMembersInviteUserPost**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsIdMembersInviteUserPost) | **Post** /admin/realms/{realm}/organizations/{id}/members/invite-user | Invites an existing user or sends a registration link to a new user, based on the provided e-mail address. -[**AdminRealmsRealmOrganizationsIdMembersPost**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsIdMembersPost) | **Post** /admin/realms/{realm}/organizations/{id}/members | Adds the user with the specified id as a member of the organization -[**AdminRealmsRealmOrganizationsIdMembersUserIdDelete**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsIdMembersUserIdDelete) | **Delete** /admin/realms/{realm}/organizations/{id}/members/{userId} | Removes the user with the specified id from the organization -[**AdminRealmsRealmOrganizationsIdMembersUserIdGet**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsIdMembersUserIdGet) | **Get** /admin/realms/{realm}/organizations/{id}/members/{userId} | Returns the member of the organization with the specified id -[**AdminRealmsRealmOrganizationsIdMembersUserIdOrganizationsGet**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsIdMembersUserIdOrganizationsGet) | **Get** /admin/realms/{realm}/organizations/{id}/members/{userId}/organizations | Returns the organizations associated with the user that has the specified id -[**AdminRealmsRealmOrganizationsIdPut**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsIdPut) | **Put** /admin/realms/{realm}/organizations/{id} | Updates the organization -[**AdminRealmsRealmOrganizationsMembersIdOrganizationsGet**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsMembersIdOrganizationsGet) | **Get** /admin/realms/{realm}/organizations/members/{id}/organizations | Returns the organizations associated with the user that has the specified id +[**AdminRealmsRealmOrganizationsMembersMemberIdOrganizationsGet**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsMembersMemberIdOrganizationsGet) | **Get** /admin/realms/{realm}/organizations/members/{member-id}/organizations | Returns the organizations associated with the user that has the specified id +[**AdminRealmsRealmOrganizationsOrgIdDelete**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsOrgIdDelete) | **Delete** /admin/realms/{realm}/organizations/{org-id} | Deletes the organization +[**AdminRealmsRealmOrganizationsOrgIdGet**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsOrgIdGet) | **Get** /admin/realms/{realm}/organizations/{org-id} | Returns the organization representation +[**AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasDelete**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasDelete) | **Delete** /admin/realms/{realm}/organizations/{org-id}/identity-providers/{alias} | Removes the identity provider with the specified alias from the organization +[**AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGet**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGet) | **Get** /admin/realms/{realm}/organizations/{org-id}/identity-providers/{alias} | Returns the identity provider associated with the organization that has the specified alias +[**AdminRealmsRealmOrganizationsOrgIdIdentityProvidersGet**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsOrgIdIdentityProvidersGet) | **Get** /admin/realms/{realm}/organizations/{org-id}/identity-providers | Returns all identity providers associated with the organization +[**AdminRealmsRealmOrganizationsOrgIdIdentityProvidersPost**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsOrgIdIdentityProvidersPost) | **Post** /admin/realms/{realm}/organizations/{org-id}/identity-providers | Adds the identity provider with the specified id to the organization +[**AdminRealmsRealmOrganizationsOrgIdMembersCountGet**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsOrgIdMembersCountGet) | **Get** /admin/realms/{realm}/organizations/{org-id}/members/count | Returns number of members in the organization. +[**AdminRealmsRealmOrganizationsOrgIdMembersGet**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsOrgIdMembersGet) | **Get** /admin/realms/{realm}/organizations/{org-id}/members | Returns a paginated list of organization members filtered according to the specified parameters +[**AdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUserPost**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUserPost) | **Post** /admin/realms/{realm}/organizations/{org-id}/members/invite-existing-user | Invites an existing user to the organization, using the specified user id +[**AdminRealmsRealmOrganizationsOrgIdMembersInviteUserPost**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsOrgIdMembersInviteUserPost) | **Post** /admin/realms/{realm}/organizations/{org-id}/members/invite-user | Invites an existing user or sends a registration link to a new user, based on the provided e-mail address. +[**AdminRealmsRealmOrganizationsOrgIdMembersMemberIdDelete**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsOrgIdMembersMemberIdDelete) | **Delete** /admin/realms/{realm}/organizations/{org-id}/members/{member-id} | Removes the user with the specified id from the organization +[**AdminRealmsRealmOrganizationsOrgIdMembersMemberIdGet**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsOrgIdMembersMemberIdGet) | **Get** /admin/realms/{realm}/organizations/{org-id}/members/{member-id} | Returns the member of the organization with the specified id +[**AdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizationsGet**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizationsGet) | **Get** /admin/realms/{realm}/organizations/{org-id}/members/{member-id}/organizations | Returns the organizations associated with the user that has the specified id +[**AdminRealmsRealmOrganizationsOrgIdMembersPost**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsOrgIdMembersPost) | **Post** /admin/realms/{realm}/organizations/{org-id}/members | Adds the user with the specified id as a member of the organization +[**AdminRealmsRealmOrganizationsOrgIdPut**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsOrgIdPut) | **Put** /admin/realms/{realm}/organizations/{org-id} | Updates the organization [**AdminRealmsRealmOrganizationsPost**](OrganizationsAPI.md#AdminRealmsRealmOrganizationsPost) | **Post** /admin/realms/{realm}/organizations | Creates a new organization ## AdminRealmsRealmOrganizationsGet -> []OrganizationRepresentation AdminRealmsRealmOrganizationsGet(ctx, realm).Exact(exact).First(first).Max(max).Q(q).Search(search).Execute() +> []OrganizationRepresentation AdminRealmsRealmOrganizationsGet(ctx, realm).BriefRepresentation(briefRepresentation).Exact(exact).First(first).Max(max).Q(q).Search(search).Execute() Returns a paginated list of organizations filtered according to the specified parameters @@ -40,11 +40,12 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { realm := "realm_example" // string | realm name (not id!) + briefRepresentation := true // bool | if true, return the full representation. Otherwise, only the basic fields are returned. (optional) (default to false) exact := true // bool | Boolean which defines whether the param 'search' must match exactly or not (optional) first := int32(56) // int32 | The position of the first result to be processed (pagination offset) (optional) max := int32(56) // int32 | The maximum number of results to be returned - defaults to 10 (optional) @@ -53,7 +54,7 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsGet(context.Background(), realm).Exact(exact).First(first).Max(max).Q(q).Search(search).Execute() + resp, r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsGet(context.Background(), realm).BriefRepresentation(briefRepresentation).Exact(exact).First(first).Max(max).Q(q).Search(search).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -79,6 +80,7 @@ Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizati Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **briefRepresentation** | **bool** | if true, return the full representation. Otherwise, only the basic fields are returned. | [default to false] **exact** | **bool** | Boolean which defines whether the param 'search' must match exactly or not | **first** | **int32** | The position of the first result to be processed (pagination offset) | **max** | **int32** | The maximum number of results to be returned - defaults to 10 | @@ -103,11 +105,11 @@ No authorization required [[Back to README]](../README.md) -## AdminRealmsRealmOrganizationsIdDelete +## AdminRealmsRealmOrganizationsMembersMemberIdOrganizationsGet -> AdminRealmsRealmOrganizationsIdDelete(ctx, realm, id).Execute() +> []OrganizationRepresentation AdminRealmsRealmOrganizationsMembersMemberIdOrganizationsGet(ctx, realm, memberId).Execute() -Deletes the organization +Returns the organizations associated with the user that has the specified id ### Example @@ -118,20 +120,22 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { realm := "realm_example" // string | realm name (not id!) - id := "id_example" // string | + memberId := "memberId_example" // string | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdDelete(context.Background(), realm, id).Execute() + resp, r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsMembersMemberIdOrganizationsGet(context.Background(), realm, memberId).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsIdDelete``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsMembersMemberIdOrganizationsGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } + // response from `AdminRealmsRealmOrganizationsMembersMemberIdOrganizationsGet`: []OrganizationRepresentation + fmt.Fprintf(os.Stdout, "Response from `OrganizationsAPI.AdminRealmsRealmOrganizationsMembersMemberIdOrganizationsGet`: %v\n", resp) } ``` @@ -142,11 +146,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **realm** | **string** | realm name (not id!) | -**id** | **string** | | +**memberId** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsIdDeleteRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsMembersMemberIdOrganizationsGetRequest struct via the builder pattern Name | Type | Description | Notes @@ -156,7 +160,7 @@ Name | Type | Description | Notes ### Return type - (empty response body) +[**[]OrganizationRepresentation**](OrganizationRepresentation.md) ### Authorization @@ -165,18 +169,18 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: Not defined +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## AdminRealmsRealmOrganizationsIdGet +## AdminRealmsRealmOrganizationsOrgIdDelete -> OrganizationRepresentation AdminRealmsRealmOrganizationsIdGet(ctx, realm, id).Execute() +> AdminRealmsRealmOrganizationsOrgIdDelete(ctx, realm, orgId).Execute() -Returns the organization representation +Deletes the organization ### Example @@ -187,22 +191,20 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { realm := "realm_example" // string | realm name (not id!) - id := "id_example" // string | + orgId := "orgId_example" // string | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdGet(context.Background(), realm, id).Execute() + r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdDelete(context.Background(), realm, orgId).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsIdGet``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdDelete``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `AdminRealmsRealmOrganizationsIdGet`: OrganizationRepresentation - fmt.Fprintf(os.Stdout, "Response from `OrganizationsAPI.AdminRealmsRealmOrganizationsIdGet`: %v\n", resp) } ``` @@ -213,11 +215,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **realm** | **string** | realm name (not id!) | -**id** | **string** | | +**orgId** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsIdGetRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsOrgIdDeleteRequest struct via the builder pattern Name | Type | Description | Notes @@ -227,7 +229,7 @@ Name | Type | Description | Notes ### Return type -[**OrganizationRepresentation**](OrganizationRepresentation.md) + (empty response body) ### Authorization @@ -236,20 +238,18 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: application/json +- **Accept**: Not defined [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## AdminRealmsRealmOrganizationsIdIdentityProvidersAliasDelete - -> AdminRealmsRealmOrganizationsIdIdentityProvidersAliasDelete(ctx, realm, id, alias).Execute() - -Removes the identity provider with the specified alias from the organization +## AdminRealmsRealmOrganizationsOrgIdGet +> OrganizationRepresentation AdminRealmsRealmOrganizationsOrgIdGet(ctx, realm, orgId).Execute() +Returns the organization representation ### Example @@ -260,21 +260,22 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { realm := "realm_example" // string | realm name (not id!) - id := "id_example" // string | - alias := "alias_example" // string | + orgId := "orgId_example" // string | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdIdentityProvidersAliasDelete(context.Background(), realm, id, alias).Execute() + resp, r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdGet(context.Background(), realm, orgId).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsIdIdentityProvidersAliasDelete``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } + // response from `AdminRealmsRealmOrganizationsOrgIdGet`: OrganizationRepresentation + fmt.Fprintf(os.Stdout, "Response from `OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdGet`: %v\n", resp) } ``` @@ -285,12 +286,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **realm** | **string** | realm name (not id!) | -**id** | **string** | | -**alias** | **string** | | +**orgId** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsIdIdentityProvidersAliasDeleteRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsOrgIdGetRequest struct via the builder pattern Name | Type | Description | Notes @@ -298,10 +298,9 @@ Name | Type | Description | Notes - ### Return type - (empty response body) +[**OrganizationRepresentation**](OrganizationRepresentation.md) ### Authorization @@ -310,18 +309,18 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: Not defined +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## AdminRealmsRealmOrganizationsIdIdentityProvidersAliasGet +## AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasDelete -> IdentityProviderRepresentation AdminRealmsRealmOrganizationsIdIdentityProvidersAliasGet(ctx, realm, id, alias).Execute() +> AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasDelete(ctx, realm, orgId, alias).Execute() -Returns the identity provider associated with the organization that has the specified alias +Removes the identity provider with the specified alias from the organization @@ -334,23 +333,21 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { realm := "realm_example" // string | realm name (not id!) - id := "id_example" // string | + orgId := "orgId_example" // string | alias := "alias_example" // string | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdIdentityProvidersAliasGet(context.Background(), realm, id, alias).Execute() + r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasDelete(context.Background(), realm, orgId, alias).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsIdIdentityProvidersAliasGet``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasDelete``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `AdminRealmsRealmOrganizationsIdIdentityProvidersAliasGet`: IdentityProviderRepresentation - fmt.Fprintf(os.Stdout, "Response from `OrganizationsAPI.AdminRealmsRealmOrganizationsIdIdentityProvidersAliasGet`: %v\n", resp) } ``` @@ -361,12 +358,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **realm** | **string** | realm name (not id!) | -**id** | **string** | | +**orgId** | **string** | | **alias** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsIdIdentityProvidersAliasGetRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasDeleteRequest struct via the builder pattern Name | Type | Description | Notes @@ -377,7 +374,7 @@ Name | Type | Description | Notes ### Return type -[**IdentityProviderRepresentation**](IdentityProviderRepresentation.md) + (empty response body) ### Authorization @@ -386,18 +383,20 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: application/json +- **Accept**: Not defined [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## AdminRealmsRealmOrganizationsIdIdentityProvidersGet +## AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGet + +> IdentityProviderRepresentation AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGet(ctx, realm, orgId, alias).Execute() + +Returns the identity provider associated with the organization that has the specified alias -> []IdentityProviderRepresentation AdminRealmsRealmOrganizationsIdIdentityProvidersGet(ctx, realm, id).Execute() -Returns all identity providers associated with the organization ### Example @@ -408,22 +407,23 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { realm := "realm_example" // string | realm name (not id!) - id := "id_example" // string | + orgId := "orgId_example" // string | + alias := "alias_example" // string | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdIdentityProvidersGet(context.Background(), realm, id).Execute() + resp, r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGet(context.Background(), realm, orgId, alias).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsIdIdentityProvidersGet``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `AdminRealmsRealmOrganizationsIdIdentityProvidersGet`: []IdentityProviderRepresentation - fmt.Fprintf(os.Stdout, "Response from `OrganizationsAPI.AdminRealmsRealmOrganizationsIdIdentityProvidersGet`: %v\n", resp) + // response from `AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGet`: IdentityProviderRepresentation + fmt.Fprintf(os.Stdout, "Response from `OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGet`: %v\n", resp) } ``` @@ -434,11 +434,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **realm** | **string** | realm name (not id!) | -**id** | **string** | | +**orgId** | **string** | | +**alias** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsIdIdentityProvidersGetRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGetRequest struct via the builder pattern Name | Type | Description | Notes @@ -446,9 +447,10 @@ Name | Type | Description | Notes + ### Return type -[**[]IdentityProviderRepresentation**](IdentityProviderRepresentation.md) +[**IdentityProviderRepresentation**](IdentityProviderRepresentation.md) ### Authorization @@ -464,13 +466,11 @@ No authorization required [[Back to README]](../README.md) -## AdminRealmsRealmOrganizationsIdIdentityProvidersPost - -> AdminRealmsRealmOrganizationsIdIdentityProvidersPost(ctx, realm, id).Body(body).Execute() - -Adds the identity provider with the specified id to the organization +## AdminRealmsRealmOrganizationsOrgIdIdentityProvidersGet +> []IdentityProviderRepresentation AdminRealmsRealmOrganizationsOrgIdIdentityProvidersGet(ctx, realm, orgId).Execute() +Returns all identity providers associated with the organization ### Example @@ -481,21 +481,22 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { realm := "realm_example" // string | realm name (not id!) - id := "id_example" // string | - body := "body_example" // string | (optional) + orgId := "orgId_example" // string | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdIdentityProvidersPost(context.Background(), realm, id).Body(body).Execute() + resp, r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdIdentityProvidersGet(context.Background(), realm, orgId).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsIdIdentityProvidersPost``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdIdentityProvidersGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } + // response from `AdminRealmsRealmOrganizationsOrgIdIdentityProvidersGet`: []IdentityProviderRepresentation + fmt.Fprintf(os.Stdout, "Response from `OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdIdentityProvidersGet`: %v\n", resp) } ``` @@ -506,22 +507,21 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **realm** | **string** | realm name (not id!) | -**id** | **string** | | +**orgId** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsIdIdentityProvidersPostRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersGetRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | **string** | | ### Return type - (empty response body) +[**[]IdentityProviderRepresentation**](IdentityProviderRepresentation.md) ### Authorization @@ -529,19 +529,21 @@ No authorization required ### HTTP request headers -- **Content-Type**: application/json -- **Accept**: Not defined +- **Content-Type**: Not defined +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## AdminRealmsRealmOrganizationsIdMembersCountGet +## AdminRealmsRealmOrganizationsOrgIdIdentityProvidersPost + +> AdminRealmsRealmOrganizationsOrgIdIdentityProvidersPost(ctx, realm, orgId).Body(body).Execute() + +Adds the identity provider with the specified id to the organization -> int64 AdminRealmsRealmOrganizationsIdMembersCountGet(ctx, realm, id).Execute() -Returns number of members in the organization. ### Example @@ -552,22 +554,21 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { realm := "realm_example" // string | realm name (not id!) - id := "id_example" // string | + orgId := "orgId_example" // string | + body := "body_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersCountGet(context.Background(), realm, id).Execute() + r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdIdentityProvidersPost(context.Background(), realm, orgId).Body(body).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersCountGet``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdIdentityProvidersPost``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `AdminRealmsRealmOrganizationsIdMembersCountGet`: int64 - fmt.Fprintf(os.Stdout, "Response from `OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersCountGet`: %v\n", resp) } ``` @@ -578,21 +579,22 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **realm** | **string** | realm name (not id!) | -**id** | **string** | | +**orgId** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsIdMembersCountGetRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsOrgIdIdentityProvidersPostRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **body** | **string** | | ### Return type -**int64** + (empty response body) ### Authorization @@ -600,19 +602,19 @@ No authorization required ### HTTP request headers -- **Content-Type**: Not defined -- **Accept**: application/json +- **Content-Type**: application/json +- **Accept**: Not defined [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## AdminRealmsRealmOrganizationsIdMembersGet +## AdminRealmsRealmOrganizationsOrgIdMembersCountGet -> []MemberRepresentation AdminRealmsRealmOrganizationsIdMembersGet(ctx, realm, id).Exact(exact).First(first).Max(max).Search(search).Execute() +> int64 AdminRealmsRealmOrganizationsOrgIdMembersCountGet(ctx, realm, orgId).Execute() -Returns a paginated list of organization members filtered according to the specified parameters +Returns number of members in the organization. ### Example @@ -623,26 +625,22 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { realm := "realm_example" // string | realm name (not id!) - id := "id_example" // string | - exact := true // bool | Boolean which defines whether the param 'search' must match exactly or not (optional) - first := int32(56) // int32 | The position of the first result to be processed (pagination offset) (optional) - max := int32(56) // int32 | The maximum number of results to be returned. Defaults to 10 (optional) - search := "search_example" // string | A String representing either a member's username, e-mail, first name, or last name. (optional) + orgId := "orgId_example" // string | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersGet(context.Background(), realm, id).Exact(exact).First(first).Max(max).Search(search).Execute() + resp, r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersCountGet(context.Background(), realm, orgId).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersGet``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersCountGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `AdminRealmsRealmOrganizationsIdMembersGet`: []MemberRepresentation - fmt.Fprintf(os.Stdout, "Response from `OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersGet`: %v\n", resp) + // response from `AdminRealmsRealmOrganizationsOrgIdMembersCountGet`: int64 + fmt.Fprintf(os.Stdout, "Response from `OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersCountGet`: %v\n", resp) } ``` @@ -653,25 +651,21 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **realm** | **string** | realm name (not id!) | -**id** | **string** | | +**orgId** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsIdMembersGetRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsOrgIdMembersCountGetRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **exact** | **bool** | Boolean which defines whether the param 'search' must match exactly or not | - **first** | **int32** | The position of the first result to be processed (pagination offset) | - **max** | **int32** | The maximum number of results to be returned. Defaults to 10 | - **search** | **string** | A String representing either a member's username, e-mail, first name, or last name. | ### Return type -[**[]MemberRepresentation**](MemberRepresentation.md) +**int64** ### Authorization @@ -687,11 +681,11 @@ No authorization required [[Back to README]](../README.md) -## AdminRealmsRealmOrganizationsIdMembersInviteExistingUserPost +## AdminRealmsRealmOrganizationsOrgIdMembersGet -> AdminRealmsRealmOrganizationsIdMembersInviteExistingUserPost(ctx, realm, id).Id2(id2).Execute() +> []MemberRepresentation AdminRealmsRealmOrganizationsOrgIdMembersGet(ctx, realm, orgId).Exact(exact).First(first).Max(max).MembershipType(membershipType).Search(search).Execute() -Invites an existing user to the organization, using the specified user id +Returns a paginated list of organization members filtered according to the specified parameters ### Example @@ -702,21 +696,27 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { realm := "realm_example" // string | realm name (not id!) - id := "id_example" // string | - id2 := "id_example" // string | (optional) + orgId := "orgId_example" // string | + exact := true // bool | Boolean which defines whether the param 'search' must match exactly or not (optional) + first := int32(56) // int32 | The position of the first result to be processed (pagination offset) (optional) + max := int32(56) // int32 | The maximum number of results to be returned. Defaults to 10 (optional) + membershipType := "membershipType_example" // string | The membership type (optional) + search := "search_example" // string | A String representing either a member's username, e-mail, first name, or last name. (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersInviteExistingUserPost(context.Background(), realm, id).Id2(id2).Execute() + resp, r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersGet(context.Background(), realm, orgId).Exact(exact).First(first).Max(max).MembershipType(membershipType).Search(search).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersInviteExistingUserPost``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } + // response from `AdminRealmsRealmOrganizationsOrgIdMembersGet`: []MemberRepresentation + fmt.Fprintf(os.Stdout, "Response from `OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersGet`: %v\n", resp) } ``` @@ -727,22 +727,26 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **realm** | **string** | realm name (not id!) | -**id** | **string** | | +**orgId** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsIdMembersInviteExistingUserPostRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsOrgIdMembersGetRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **id2** | **string** | | + **exact** | **bool** | Boolean which defines whether the param 'search' must match exactly or not | + **first** | **int32** | The position of the first result to be processed (pagination offset) | + **max** | **int32** | The maximum number of results to be returned. Defaults to 10 | + **membershipType** | **string** | The membership type | + **search** | **string** | A String representing either a member's username, e-mail, first name, or last name. | ### Return type - (empty response body) +[**[]MemberRepresentation**](MemberRepresentation.md) ### Authorization @@ -750,21 +754,19 @@ No authorization required ### HTTP request headers -- **Content-Type**: application/x-www-form-urlencoded -- **Accept**: Not defined +- **Content-Type**: Not defined +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## AdminRealmsRealmOrganizationsIdMembersInviteUserPost - -> AdminRealmsRealmOrganizationsIdMembersInviteUserPost(ctx, realm, id).Email(email).FirstName(firstName).LastName(lastName).Execute() - -Invites an existing user or sends a registration link to a new user, based on the provided e-mail address. +## AdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUserPost +> AdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUserPost(ctx, realm, orgId).Id(id).Execute() +Invites an existing user to the organization, using the specified user id ### Example @@ -775,21 +777,19 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { realm := "realm_example" // string | realm name (not id!) - id := "id_example" // string | - email := "email_example" // string | (optional) - firstName := "firstName_example" // string | (optional) - lastName := "lastName_example" // string | (optional) + orgId := "orgId_example" // string | + id := "id_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersInviteUserPost(context.Background(), realm, id).Email(email).FirstName(firstName).LastName(lastName).Execute() + r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUserPost(context.Background(), realm, orgId).Id(id).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersInviteUserPost``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUserPost``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -802,20 +802,18 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **realm** | **string** | realm name (not id!) | -**id** | **string** | | +**orgId** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsIdMembersInviteUserPostRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUserPostRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **email** | **string** | | - **firstName** | **string** | | - **lastName** | **string** | | + **id** | **string** | | ### Return type @@ -835,11 +833,11 @@ No authorization required [[Back to README]](../README.md) -## AdminRealmsRealmOrganizationsIdMembersPost +## AdminRealmsRealmOrganizationsOrgIdMembersInviteUserPost -> AdminRealmsRealmOrganizationsIdMembersPost(ctx, realm, id).Body(body).Execute() +> AdminRealmsRealmOrganizationsOrgIdMembersInviteUserPost(ctx, realm, orgId).Email(email).FirstName(firstName).LastName(lastName).Execute() -Adds the user with the specified id as a member of the organization +Invites an existing user or sends a registration link to a new user, based on the provided e-mail address. @@ -852,19 +850,21 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { realm := "realm_example" // string | realm name (not id!) - id := "id_example" // string | - body := "body_example" // string | (optional) + orgId := "orgId_example" // string | + email := "email_example" // string | (optional) + firstName := "firstName_example" // string | (optional) + lastName := "lastName_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersPost(context.Background(), realm, id).Body(body).Execute() + r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersInviteUserPost(context.Background(), realm, orgId).Email(email).FirstName(firstName).LastName(lastName).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersPost``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersInviteUserPost``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -877,18 +877,20 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **realm** | **string** | realm name (not id!) | -**id** | **string** | | +**orgId** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsIdMembersPostRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsOrgIdMembersInviteUserPostRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | **string** | | + **email** | **string** | | + **firstName** | **string** | | + **lastName** | **string** | | ### Return type @@ -900,7 +902,7 @@ No authorization required ### HTTP request headers -- **Content-Type**: application/json +- **Content-Type**: application/x-www-form-urlencoded - **Accept**: Not defined [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) @@ -908,9 +910,9 @@ No authorization required [[Back to README]](../README.md) -## AdminRealmsRealmOrganizationsIdMembersUserIdDelete +## AdminRealmsRealmOrganizationsOrgIdMembersMemberIdDelete -> AdminRealmsRealmOrganizationsIdMembersUserIdDelete(ctx, realm, id, userId).Execute() +> AdminRealmsRealmOrganizationsOrgIdMembersMemberIdDelete(ctx, realm, orgId, memberId).Execute() Removes the user with the specified id from the organization @@ -925,19 +927,19 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { realm := "realm_example" // string | realm name (not id!) - id := "id_example" // string | - userId := "userId_example" // string | + orgId := "orgId_example" // string | + memberId := "memberId_example" // string | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersUserIdDelete(context.Background(), realm, id, userId).Execute() + r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersMemberIdDelete(context.Background(), realm, orgId, memberId).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersUserIdDelete``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersMemberIdDelete``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -950,12 +952,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **realm** | **string** | realm name (not id!) | -**id** | **string** | | -**userId** | **string** | | +**orgId** | **string** | | +**memberId** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsIdMembersUserIdDeleteRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsOrgIdMembersMemberIdDeleteRequest struct via the builder pattern Name | Type | Description | Notes @@ -982,9 +984,9 @@ No authorization required [[Back to README]](../README.md) -## AdminRealmsRealmOrganizationsIdMembersUserIdGet +## AdminRealmsRealmOrganizationsOrgIdMembersMemberIdGet -> MemberRepresentation AdminRealmsRealmOrganizationsIdMembersUserIdGet(ctx, realm, id, userId).Execute() +> MemberRepresentation AdminRealmsRealmOrganizationsOrgIdMembersMemberIdGet(ctx, realm, orgId, memberId).Execute() Returns the member of the organization with the specified id @@ -999,23 +1001,23 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { realm := "realm_example" // string | realm name (not id!) - id := "id_example" // string | - userId := "userId_example" // string | + orgId := "orgId_example" // string | + memberId := "memberId_example" // string | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersUserIdGet(context.Background(), realm, id, userId).Execute() + resp, r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersMemberIdGet(context.Background(), realm, orgId, memberId).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersUserIdGet``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersMemberIdGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `AdminRealmsRealmOrganizationsIdMembersUserIdGet`: MemberRepresentation - fmt.Fprintf(os.Stdout, "Response from `OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersUserIdGet`: %v\n", resp) + // response from `AdminRealmsRealmOrganizationsOrgIdMembersMemberIdGet`: MemberRepresentation + fmt.Fprintf(os.Stdout, "Response from `OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersMemberIdGet`: %v\n", resp) } ``` @@ -1026,12 +1028,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **realm** | **string** | realm name (not id!) | -**id** | **string** | | -**userId** | **string** | | +**orgId** | **string** | | +**memberId** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsIdMembersUserIdGetRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsOrgIdMembersMemberIdGetRequest struct via the builder pattern Name | Type | Description | Notes @@ -1058,9 +1060,9 @@ No authorization required [[Back to README]](../README.md) -## AdminRealmsRealmOrganizationsIdMembersUserIdOrganizationsGet +## AdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizationsGet -> []OrganizationRepresentation AdminRealmsRealmOrganizationsIdMembersUserIdOrganizationsGet(ctx, realm, id, userId).Execute() +> []OrganizationRepresentation AdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizationsGet(ctx, realm, orgId, memberId).Execute() Returns the organizations associated with the user that has the specified id @@ -1073,23 +1075,23 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { realm := "realm_example" // string | realm name (not id!) - id := "id_example" // string | - userId := "userId_example" // string | + orgId := "orgId_example" // string | + memberId := "memberId_example" // string | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersUserIdOrganizationsGet(context.Background(), realm, id, userId).Execute() + resp, r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizationsGet(context.Background(), realm, orgId, memberId).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersUserIdOrganizationsGet``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizationsGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `AdminRealmsRealmOrganizationsIdMembersUserIdOrganizationsGet`: []OrganizationRepresentation - fmt.Fprintf(os.Stdout, "Response from `OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersUserIdOrganizationsGet`: %v\n", resp) + // response from `AdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizationsGet`: []OrganizationRepresentation + fmt.Fprintf(os.Stdout, "Response from `OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizationsGet`: %v\n", resp) } ``` @@ -1100,12 +1102,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **realm** | **string** | realm name (not id!) | -**id** | **string** | | -**userId** | **string** | | +**orgId** | **string** | | +**memberId** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsIdMembersUserIdOrganizationsGetRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizationsGetRequest struct via the builder pattern Name | Type | Description | Notes @@ -1132,11 +1134,13 @@ No authorization required [[Back to README]](../README.md) -## AdminRealmsRealmOrganizationsIdPut +## AdminRealmsRealmOrganizationsOrgIdMembersPost + +> AdminRealmsRealmOrganizationsOrgIdMembersPost(ctx, realm, orgId).Body(body).Execute() + +Adds the user with the specified id as a member of the organization -> AdminRealmsRealmOrganizationsIdPut(ctx, realm, id).OrganizationRepresentation(organizationRepresentation).Execute() -Updates the organization ### Example @@ -1147,19 +1151,19 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { realm := "realm_example" // string | realm name (not id!) - id := "id_example" // string | - organizationRepresentation := *openapiclient.NewOrganizationRepresentation() // OrganizationRepresentation | (optional) + orgId := "orgId_example" // string | + body := "body_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdPut(context.Background(), realm, id).OrganizationRepresentation(organizationRepresentation).Execute() + r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersPost(context.Background(), realm, orgId).Body(body).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsIdPut``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersPost``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -1172,18 +1176,18 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **realm** | **string** | realm name (not id!) | -**id** | **string** | | +**orgId** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsIdPutRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsOrgIdMembersPostRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **organizationRepresentation** | [**OrganizationRepresentation**](OrganizationRepresentation.md) | | + **body** | **string** | | ### Return type @@ -1203,11 +1207,11 @@ No authorization required [[Back to README]](../README.md) -## AdminRealmsRealmOrganizationsMembersIdOrganizationsGet +## AdminRealmsRealmOrganizationsOrgIdPut -> []OrganizationRepresentation AdminRealmsRealmOrganizationsMembersIdOrganizationsGet(ctx, realm, id).Execute() +> AdminRealmsRealmOrganizationsOrgIdPut(ctx, realm, orgId).OrganizationRepresentation(organizationRepresentation).Execute() -Returns the organizations associated with the user that has the specified id +Updates the organization ### Example @@ -1218,22 +1222,21 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { realm := "realm_example" // string | realm name (not id!) - id := "id_example" // string | + orgId := "orgId_example" // string | + organizationRepresentation := *openapiclient.NewOrganizationRepresentation() // OrganizationRepresentation | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsMembersIdOrganizationsGet(context.Background(), realm, id).Execute() + r, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdPut(context.Background(), realm, orgId).OrganizationRepresentation(organizationRepresentation).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsMembersIdOrganizationsGet``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdPut``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `AdminRealmsRealmOrganizationsMembersIdOrganizationsGet`: []OrganizationRepresentation - fmt.Fprintf(os.Stdout, "Response from `OrganizationsAPI.AdminRealmsRealmOrganizationsMembersIdOrganizationsGet`: %v\n", resp) } ``` @@ -1244,21 +1247,22 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **realm** | **string** | realm name (not id!) | -**id** | **string** | | +**orgId** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsMembersIdOrganizationsGetRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiAdminRealmsRealmOrganizationsOrgIdPutRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **organizationRepresentation** | [**OrganizationRepresentation**](OrganizationRepresentation.md) | | ### Return type -[**[]OrganizationRepresentation**](OrganizationRepresentation.md) + (empty response body) ### Authorization @@ -1266,8 +1270,8 @@ No authorization required ### HTTP request headers -- **Content-Type**: Not defined -- **Accept**: application/json +- **Content-Type**: application/json +- **Accept**: Not defined [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -1289,7 +1293,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { diff --git a/docs/PolicyRepresentation.md b/docs/PolicyRepresentation.md index 4c94e35..c07fa3e 100644 --- a/docs/PolicyRepresentation.md +++ b/docs/PolicyRepresentation.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **Logic** | Pointer to [**Logic**](Logic.md) | | [optional] **DecisionStrategy** | Pointer to [**DecisionStrategy**](DecisionStrategy.md) | | [optional] **Owner** | Pointer to **string** | | [optional] +**ResourceType** | Pointer to **string** | | [optional] **ResourcesData** | Pointer to [**[]ResourceRepresentation**](ResourceRepresentation.md) | | [optional] **ScopesData** | Pointer to [**[]ScopeRepresentation**](ScopeRepresentation.md) | | [optional] **Config** | Pointer to **map[string]string** | | [optional] @@ -287,6 +288,31 @@ SetOwner sets Owner field to given value. HasOwner returns a boolean if a field has been set. +### GetResourceType + +`func (o *PolicyRepresentation) GetResourceType() string` + +GetResourceType returns the ResourceType field if non-nil, zero value otherwise. + +### GetResourceTypeOk + +`func (o *PolicyRepresentation) GetResourceTypeOk() (*string, bool)` + +GetResourceTypeOk returns a tuple with the ResourceType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResourceType + +`func (o *PolicyRepresentation) SetResourceType(v string)` + +SetResourceType sets ResourceType field to given value. + +### HasResourceType + +`func (o *PolicyRepresentation) HasResourceType() bool` + +HasResourceType returns a boolean if a field has been set. + ### GetResourcesData `func (o *PolicyRepresentation) GetResourcesData() []ResourceRepresentation` diff --git a/docs/ProtocolMappersAPI.md b/docs/ProtocolMappersAPI.md index faf2c91..ff97308 100644 --- a/docs/ProtocolMappersAPI.md +++ b/docs/ProtocolMappersAPI.md @@ -43,7 +43,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -114,7 +114,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -185,7 +185,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -257,7 +257,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -331,7 +331,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -405,7 +405,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -476,7 +476,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -550,7 +550,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -621,7 +621,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -692,7 +692,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -764,7 +764,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -838,7 +838,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -912,7 +912,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -983,7 +983,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1057,7 +1057,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1128,7 +1128,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1199,7 +1199,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1271,7 +1271,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1345,7 +1345,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1419,7 +1419,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1490,7 +1490,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { diff --git a/docs/RealmRepresentation.md b/docs/RealmRepresentation.md index a19d4ed..36c7fa2 100644 --- a/docs/RealmRepresentation.md +++ b/docs/RealmRepresentation.md @@ -2,156 +2,159 @@ ## Properties -| Name | Type | Description | Notes | -| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | ----------- | ---------- | -| **Id** | Pointer to **string** | | [optional] | -| **Realm** | Pointer to **string** | | [optional] | -| **DisplayName** | Pointer to **string** | | [optional] | -| **DisplayNameHtml** | Pointer to **string** | | [optional] | -| **NotBefore** | Pointer to **int32** | | [optional] | -| **DefaultSignatureAlgorithm** | Pointer to **string** | | [optional] | -| **RevokeRefreshToken** | Pointer to **bool** | | [optional] | -| **RefreshTokenMaxReuse** | Pointer to **int32** | | [optional] | -| **AccessTokenLifespan** | Pointer to **int32** | | [optional] | -| **AccessTokenLifespanForImplicitFlow** | Pointer to **int32** | | [optional] | -| **SsoSessionIdleTimeout** | Pointer to **int32** | | [optional] | -| **SsoSessionMaxLifespan** | Pointer to **int32** | | [optional] | -| **SsoSessionIdleTimeoutRememberMe** | Pointer to **int32** | | [optional] | -| **SsoSessionMaxLifespanRememberMe** | Pointer to **int32** | | [optional] | -| **OfflineSessionIdleTimeout** | Pointer to **int32** | | [optional] | -| **OfflineSessionMaxLifespanEnabled** | Pointer to **bool** | | [optional] | -| **OfflineSessionMaxLifespan** | Pointer to **int32** | | [optional] | -| **ClientSessionIdleTimeout** | Pointer to **int32** | | [optional] | -| **ClientSessionMaxLifespan** | Pointer to **int32** | | [optional] | -| **ClientOfflineSessionIdleTimeout** | Pointer to **int32** | | [optional] | -| **ClientOfflineSessionMaxLifespan** | Pointer to **int32** | | [optional] | -| **AccessCodeLifespan** | Pointer to **int32** | | [optional] | -| **AccessCodeLifespanUserAction** | Pointer to **int32** | | [optional] | -| **AccessCodeLifespanLogin** | Pointer to **int32** | | [optional] | -| **ActionTokenGeneratedByAdminLifespan** | Pointer to **int32** | | [optional] | -| **ActionTokenGeneratedByUserLifespan** | Pointer to **int32** | | [optional] | -| **Oauth2DeviceCodeLifespan** | Pointer to **int32** | | [optional] | -| **Oauth2DevicePollingInterval** | Pointer to **int32** | | [optional] | -| **Enabled** | Pointer to **bool** | | [optional] | -| **SslRequired** | Pointer to **string** | | [optional] | -| **PasswordCredentialGrantAllowed** | Pointer to **bool** | | [optional] | -| **RegistrationAllowed** | Pointer to **bool** | | [optional] | -| **RegistrationEmailAsUsername** | Pointer to **bool** | | [optional] | -| **RememberMe** | Pointer to **bool** | | [optional] | -| **VerifyEmail** | Pointer to **bool** | | [optional] | -| **LoginWithEmailAllowed** | Pointer to **bool** | | [optional] | -| **DuplicateEmailsAllowed** | Pointer to **bool** | | [optional] | -| **ResetPasswordAllowed** | Pointer to **bool** | | [optional] | -| **EditUsernameAllowed** | Pointer to **bool** | | [optional] | -| **UserCacheEnabled** | Pointer to **bool** | | [optional] | -| **RealmCacheEnabled** | Pointer to **bool** | | [optional] | -| **BruteForceProtected** | Pointer to **bool** | | [optional] | -| **PermanentLockout** | Pointer to **bool** | | [optional] | -| **MaxTemporaryLockouts** | Pointer to **int32** | | [optional] | -| **BruteForceStrategy** | Pointer to [**BruteForceStrategy**](BruteForceStrategy.md) | | [optional] | -| **MaxFailureWaitSeconds** | Pointer to **int32** | | [optional] | -| **MinimumQuickLoginWaitSeconds** | Pointer to **int32** | | [optional] | -| **WaitIncrementSeconds** | Pointer to **int32** | | [optional] | -| **QuickLoginCheckMilliSeconds** | Pointer to **int64** | | [optional] | -| **MaxDeltaTimeSeconds** | Pointer to **int32** | | [optional] | -| **FailureFactor** | Pointer to **int32** | | [optional] | -| **PrivateKey** | Pointer to **string** | | [optional] | -| **PublicKey** | Pointer to **string** | | [optional] | -| **Certificate** | Pointer to **string** | | [optional] | -| **CodeSecret** | Pointer to **string** | | [optional] | -| **Roles** | Pointer to [**RolesRepresentation**](RolesRepresentation.md) | | [optional] | -| **Groups** | Pointer to [**[]GroupRepresentation**](GroupRepresentation.md) | | [optional] | -| **DefaultRoles** | Pointer to **[]string** | | [optional] | -| **DefaultRole** | Pointer to [**RoleRepresentation**](RoleRepresentation.md) | | [optional] | -| **DefaultGroups** | Pointer to **[]string** | | [optional] | -| **RequiredCredentials** | Pointer to **[]string** | | [optional] | -| **PasswordPolicy** | Pointer to **string** | | [optional] | -| **OtpPolicyType** | Pointer to **string** | | [optional] | -| **OtpPolicyAlgorithm** | Pointer to **string** | | [optional] | -| **OtpPolicyInitialCounter** | Pointer to **int32** | | [optional] | -| **OtpPolicyDigits** | Pointer to **int32** | | [optional] | -| **OtpPolicyLookAheadWindow** | Pointer to **int32** | | [optional] | -| **OtpPolicyPeriod** | Pointer to **int32** | | [optional] | -| **OtpPolicyCodeReusable** | Pointer to **bool** | | [optional] | -| **OtpSupportedApplications** | Pointer to **[]string** | | [optional] | -| **LocalizationTexts** | Pointer to **map[string]map[string]string** | | [optional] | -| **WebAuthnPolicyRpEntityName** | Pointer to **string** | | [optional] | -| **WebAuthnPolicySignatureAlgorithms** | Pointer to **[]string** | | [optional] | -| **WebAuthnPolicyRpId** | Pointer to **string** | | [optional] | -| **WebAuthnPolicyAttestationConveyancePreference** | Pointer to **string** | | [optional] | -| **WebAuthnPolicyAuthenticatorAttachment** | Pointer to **string** | | [optional] | -| **WebAuthnPolicyRequireResidentKey** | Pointer to **string** | | [optional] | -| **WebAuthnPolicyUserVerificationRequirement** | Pointer to **string** | | [optional] | -| **WebAuthnPolicyCreateTimeout** | Pointer to **int32** | | [optional] | -| **WebAuthnPolicyAvoidSameAuthenticatorRegister** | Pointer to **bool** | | [optional] | -| **WebAuthnPolicyAcceptableAaguids** | Pointer to **[]string** | | [optional] | -| **WebAuthnPolicyExtraOrigins** | Pointer to **[]string** | | [optional] | -| **WebAuthnPolicyPasswordlessRpEntityName** | Pointer to **string** | | [optional] | -| **WebAuthnPolicyPasswordlessSignatureAlgorithms** | Pointer to **[]string** | | [optional] | -| **WebAuthnPolicyPasswordlessRpId** | Pointer to **string** | | [optional] | -| **WebAuthnPolicyPasswordlessAttestationConveyancePreference** | Pointer to **string** | | [optional] | -| **WebAuthnPolicyPasswordlessAuthenticatorAttachment** | Pointer to **string** | | [optional] | -| **WebAuthnPolicyPasswordlessRequireResidentKey** | Pointer to **string** | | [optional] | -| **WebAuthnPolicyPasswordlessUserVerificationRequirement** | Pointer to **string** | | [optional] | -| **WebAuthnPolicyPasswordlessCreateTimeout** | Pointer to **int32** | | [optional] | -| **WebAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister** | Pointer to **bool** | | [optional] | -| **WebAuthnPolicyPasswordlessAcceptableAaguids** | Pointer to **[]string** | | [optional] | -| **WebAuthnPolicyPasswordlessExtraOrigins** | Pointer to **[]string** | | [optional] | -| **ClientProfiles** | Pointer to [**ClientProfilesRepresentation**](ClientProfilesRepresentation.md) | | [optional] | -| **ClientPolicies** | Pointer to [**ClientPoliciesRepresentation**](ClientPoliciesRepresentation.md) | | [optional] | -| **Users** | Pointer to [**[]UserRepresentation**](UserRepresentation.md) | | [optional] | -| **FederatedUsers** | Pointer to [**[]UserRepresentation**](UserRepresentation.md) | | [optional] | -| **ScopeMappings** | Pointer to [**[]ScopeMappingRepresentation**](ScopeMappingRepresentation.md) | | [optional] | -| **ClientScopeMappings** | Pointer to [**map[string][]ScopeMappingRepresentation**](array.md) | | [optional] | -| **Clients** | Pointer to [**[]ClientRepresentation**](ClientRepresentation.md) | | [optional] | -| **ClientScopes** | Pointer to [**[]ClientScopeRepresentation**](ClientScopeRepresentation.md) | | [optional] | -| **DefaultDefaultClientScopes** | Pointer to **[]string** | | [optional] | -| **DefaultOptionalClientScopes** | Pointer to **[]string** | | [optional] | -| **BrowserSecurityHeaders** | Pointer to **map[string]string** | | [optional] | -| **SmtpServer** | Pointer to **map[string]string** | | [optional] | -| **UserFederationProviders** | Pointer to [**[]UserFederationProviderRepresentation**](UserFederationProviderRepresentation.md) | | [optional] | -| **UserFederationMappers** | Pointer to [**[]UserFederationMapperRepresentation**](UserFederationMapperRepresentation.md) | | [optional] | -| **LoginTheme** | Pointer to **string** | | [optional] | -| **AccountTheme** | Pointer to **string** | | [optional] | -| **AdminTheme** | Pointer to **string** | | [optional] | -| **EmailTheme** | Pointer to **string** | | [optional] | -| **EventsEnabled** | Pointer to **bool** | | [optional] | -| **EventsExpiration** | Pointer to **int64** | | [optional] | -| **EventsListeners** | Pointer to **[]string** | | [optional] | -| **EnabledEventTypes** | Pointer to **[]string** | | [optional] | -| **AdminEventsEnabled** | Pointer to **bool** | | [optional] | -| **AdminEventsDetailsEnabled** | Pointer to **bool** | | [optional] | -| **IdentityProviders** | Pointer to [**[]IdentityProviderRepresentation**](IdentityProviderRepresentation.md) | | [optional] | -| **IdentityProviderMappers** | Pointer to [**[]IdentityProviderMapperRepresentation**](IdentityProviderMapperRepresentation.md) | | [optional] | -| **ProtocolMappers** | Pointer to [**[]ProtocolMapperRepresentation**](ProtocolMapperRepresentation.md) | | [optional] | -| **Components** | Pointer to [**map[string][]ComponentExportRepresentation**](array.md) | | [optional] | -| **InternationalizationEnabled** | Pointer to **bool** | | [optional] | -| **SupportedLocales** | Pointer to **[]string** | | [optional] | -| **DefaultLocale** | Pointer to **string** | | [optional] | -| **AuthenticationFlows** | Pointer to [**[]AuthenticationFlowRepresentation**](AuthenticationFlowRepresentation.md) | | [optional] | -| **AuthenticatorConfig** | Pointer to [**[]AuthenticatorConfigRepresentation**](AuthenticatorConfigRepresentation.md) | | [optional] | -| **RequiredActions** | Pointer to [**[]RequiredActionProviderRepresentation**](RequiredActionProviderRepresentation.md) | | [optional] | -| **BrowserFlow** | Pointer to **string** | | [optional] | -| **RegistrationFlow** | Pointer to **string** | | [optional] | -| **DirectGrantFlow** | Pointer to **string** | | [optional] | -| **ResetCredentialsFlow** | Pointer to **string** | | [optional] | -| **ClientAuthenticationFlow** | Pointer to **string** | | [optional] | -| **DockerAuthenticationFlow** | Pointer to **string** | | [optional] | -| **FirstBrokerLoginFlow** | Pointer to **string** | | [optional] | -| **Attributes** | Pointer to **map[string]string** | | [optional] | -| **KeycloakVersion** | Pointer to **string** | | [optional] | -| **UserManagedAccessAllowed** | Pointer to **bool** | | [optional] | -| **OrganizationsEnabled** | Pointer to **bool** | | [optional] | -| **Organizations** | Pointer to [**[]OrganizationRepresentation**](OrganizationRepresentation.md) | | [optional] | -| **Social** | Pointer to **bool** | | [optional] | -| **UpdateProfileOnInitialSocialLogin** | Pointer to **bool** | | [optional] | -| **SocialProviders** | Pointer to **map[string]string** | | [optional] | -| **ApplicationScopeMappings** | Pointer to [**map[string][]ScopeMappingRepresentation**](array.md) | | [optional] | -| **Applications** | Pointer to [**[]ApplicationRepresentation**](ApplicationRepresentation.md) | | [optional] | -| **OauthClients** | Pointer to [**[]OAuthClientRepresentation**](OAuthClientRepresentation.md) | | [optional] | -| **ClientTemplates** | Pointer to [**[]ClientTemplateRepresentation**](ClientTemplateRepresentation.md) | | [optional] | -| **OAuth2DeviceCodeLifespan** | Pointer to **int32** | | [optional] | -| **OAuth2DevicePollingInterval** | Pointer to **int32** | | [optional] | +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **string** | | [optional] +**Realm** | Pointer to **string** | | [optional] +**DisplayName** | Pointer to **string** | | [optional] +**DisplayNameHtml** | Pointer to **string** | | [optional] +**NotBefore** | Pointer to **int32** | | [optional] +**DefaultSignatureAlgorithm** | Pointer to **string** | | [optional] +**RevokeRefreshToken** | Pointer to **bool** | | [optional] +**RefreshTokenMaxReuse** | Pointer to **int32** | | [optional] +**AccessTokenLifespan** | Pointer to **int32** | | [optional] +**AccessTokenLifespanForImplicitFlow** | Pointer to **int32** | | [optional] +**SsoSessionIdleTimeout** | Pointer to **int32** | | [optional] +**SsoSessionMaxLifespan** | Pointer to **int32** | | [optional] +**SsoSessionIdleTimeoutRememberMe** | Pointer to **int32** | | [optional] +**SsoSessionMaxLifespanRememberMe** | Pointer to **int32** | | [optional] +**OfflineSessionIdleTimeout** | Pointer to **int32** | | [optional] +**OfflineSessionMaxLifespanEnabled** | Pointer to **bool** | | [optional] +**OfflineSessionMaxLifespan** | Pointer to **int32** | | [optional] +**ClientSessionIdleTimeout** | Pointer to **int32** | | [optional] +**ClientSessionMaxLifespan** | Pointer to **int32** | | [optional] +**ClientOfflineSessionIdleTimeout** | Pointer to **int32** | | [optional] +**ClientOfflineSessionMaxLifespan** | Pointer to **int32** | | [optional] +**AccessCodeLifespan** | Pointer to **int32** | | [optional] +**AccessCodeLifespanUserAction** | Pointer to **int32** | | [optional] +**AccessCodeLifespanLogin** | Pointer to **int32** | | [optional] +**ActionTokenGeneratedByAdminLifespan** | Pointer to **int32** | | [optional] +**ActionTokenGeneratedByUserLifespan** | Pointer to **int32** | | [optional] +**Oauth2DeviceCodeLifespan** | Pointer to **int32** | | [optional] +**Oauth2DevicePollingInterval** | Pointer to **int32** | | [optional] +**Enabled** | Pointer to **bool** | | [optional] +**SslRequired** | Pointer to **string** | | [optional] +**PasswordCredentialGrantAllowed** | Pointer to **bool** | | [optional] +**RegistrationAllowed** | Pointer to **bool** | | [optional] +**RegistrationEmailAsUsername** | Pointer to **bool** | | [optional] +**RememberMe** | Pointer to **bool** | | [optional] +**VerifyEmail** | Pointer to **bool** | | [optional] +**LoginWithEmailAllowed** | Pointer to **bool** | | [optional] +**DuplicateEmailsAllowed** | Pointer to **bool** | | [optional] +**ResetPasswordAllowed** | Pointer to **bool** | | [optional] +**EditUsernameAllowed** | Pointer to **bool** | | [optional] +**UserCacheEnabled** | Pointer to **bool** | | [optional] +**RealmCacheEnabled** | Pointer to **bool** | | [optional] +**BruteForceProtected** | Pointer to **bool** | | [optional] +**PermanentLockout** | Pointer to **bool** | | [optional] +**MaxTemporaryLockouts** | Pointer to **int32** | | [optional] +**BruteForceStrategy** | Pointer to [**BruteForceStrategy**](BruteForceStrategy.md) | | [optional] +**MaxFailureWaitSeconds** | Pointer to **int32** | | [optional] +**MinimumQuickLoginWaitSeconds** | Pointer to **int32** | | [optional] +**WaitIncrementSeconds** | Pointer to **int32** | | [optional] +**QuickLoginCheckMilliSeconds** | Pointer to **int64** | | [optional] +**MaxDeltaTimeSeconds** | Pointer to **int32** | | [optional] +**FailureFactor** | Pointer to **int32** | | [optional] +**PrivateKey** | Pointer to **string** | | [optional] +**PublicKey** | Pointer to **string** | | [optional] +**Certificate** | Pointer to **string** | | [optional] +**CodeSecret** | Pointer to **string** | | [optional] +**Roles** | Pointer to [**RolesRepresentation**](RolesRepresentation.md) | | [optional] +**Groups** | Pointer to [**[]GroupRepresentation**](GroupRepresentation.md) | | [optional] +**DefaultRoles** | Pointer to **[]string** | | [optional] +**DefaultRole** | Pointer to [**RoleRepresentation**](RoleRepresentation.md) | | [optional] +**AdminPermissionsClient** | Pointer to [**ClientRepresentation**](ClientRepresentation.md) | | [optional] +**DefaultGroups** | Pointer to **[]string** | | [optional] +**RequiredCredentials** | Pointer to **[]string** | | [optional] +**PasswordPolicy** | Pointer to **string** | | [optional] +**OtpPolicyType** | Pointer to **string** | | [optional] +**OtpPolicyAlgorithm** | Pointer to **string** | | [optional] +**OtpPolicyInitialCounter** | Pointer to **int32** | | [optional] +**OtpPolicyDigits** | Pointer to **int32** | | [optional] +**OtpPolicyLookAheadWindow** | Pointer to **int32** | | [optional] +**OtpPolicyPeriod** | Pointer to **int32** | | [optional] +**OtpPolicyCodeReusable** | Pointer to **bool** | | [optional] +**OtpSupportedApplications** | Pointer to **[]string** | | [optional] +**LocalizationTexts** | Pointer to **map[string]map[string]string** | | [optional] +**WebAuthnPolicyRpEntityName** | Pointer to **string** | | [optional] +**WebAuthnPolicySignatureAlgorithms** | Pointer to **[]string** | | [optional] +**WebAuthnPolicyRpId** | Pointer to **string** | | [optional] +**WebAuthnPolicyAttestationConveyancePreference** | Pointer to **string** | | [optional] +**WebAuthnPolicyAuthenticatorAttachment** | Pointer to **string** | | [optional] +**WebAuthnPolicyRequireResidentKey** | Pointer to **string** | | [optional] +**WebAuthnPolicyUserVerificationRequirement** | Pointer to **string** | | [optional] +**WebAuthnPolicyCreateTimeout** | Pointer to **int32** | | [optional] +**WebAuthnPolicyAvoidSameAuthenticatorRegister** | Pointer to **bool** | | [optional] +**WebAuthnPolicyAcceptableAaguids** | Pointer to **[]string** | | [optional] +**WebAuthnPolicyExtraOrigins** | Pointer to **[]string** | | [optional] +**WebAuthnPolicyPasswordlessRpEntityName** | Pointer to **string** | | [optional] +**WebAuthnPolicyPasswordlessSignatureAlgorithms** | Pointer to **[]string** | | [optional] +**WebAuthnPolicyPasswordlessRpId** | Pointer to **string** | | [optional] +**WebAuthnPolicyPasswordlessAttestationConveyancePreference** | Pointer to **string** | | [optional] +**WebAuthnPolicyPasswordlessAuthenticatorAttachment** | Pointer to **string** | | [optional] +**WebAuthnPolicyPasswordlessRequireResidentKey** | Pointer to **string** | | [optional] +**WebAuthnPolicyPasswordlessUserVerificationRequirement** | Pointer to **string** | | [optional] +**WebAuthnPolicyPasswordlessCreateTimeout** | Pointer to **int32** | | [optional] +**WebAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister** | Pointer to **bool** | | [optional] +**WebAuthnPolicyPasswordlessAcceptableAaguids** | Pointer to **[]string** | | [optional] +**WebAuthnPolicyPasswordlessExtraOrigins** | Pointer to **[]string** | | [optional] +**ClientProfiles** | Pointer to [**ClientProfilesRepresentation**](ClientProfilesRepresentation.md) | | [optional] +**ClientPolicies** | Pointer to [**ClientPoliciesRepresentation**](ClientPoliciesRepresentation.md) | | [optional] +**Users** | Pointer to [**[]UserRepresentation**](UserRepresentation.md) | | [optional] +**FederatedUsers** | Pointer to [**[]UserRepresentation**](UserRepresentation.md) | | [optional] +**ScopeMappings** | Pointer to [**[]ScopeMappingRepresentation**](ScopeMappingRepresentation.md) | | [optional] +**ClientScopeMappings** | Pointer to [**map[string][]ScopeMappingRepresentation**](array.md) | | [optional] +**Clients** | Pointer to [**[]ClientRepresentation**](ClientRepresentation.md) | | [optional] +**ClientScopes** | Pointer to [**[]ClientScopeRepresentation**](ClientScopeRepresentation.md) | | [optional] +**DefaultDefaultClientScopes** | Pointer to **[]string** | | [optional] +**DefaultOptionalClientScopes** | Pointer to **[]string** | | [optional] +**BrowserSecurityHeaders** | Pointer to **map[string]string** | | [optional] +**SmtpServer** | Pointer to **map[string]string** | | [optional] +**UserFederationProviders** | Pointer to [**[]UserFederationProviderRepresentation**](UserFederationProviderRepresentation.md) | | [optional] +**UserFederationMappers** | Pointer to [**[]UserFederationMapperRepresentation**](UserFederationMapperRepresentation.md) | | [optional] +**LoginTheme** | Pointer to **string** | | [optional] +**AccountTheme** | Pointer to **string** | | [optional] +**AdminTheme** | Pointer to **string** | | [optional] +**EmailTheme** | Pointer to **string** | | [optional] +**EventsEnabled** | Pointer to **bool** | | [optional] +**EventsExpiration** | Pointer to **int64** | | [optional] +**EventsListeners** | Pointer to **[]string** | | [optional] +**EnabledEventTypes** | Pointer to **[]string** | | [optional] +**AdminEventsEnabled** | Pointer to **bool** | | [optional] +**AdminEventsDetailsEnabled** | Pointer to **bool** | | [optional] +**IdentityProviders** | Pointer to [**[]IdentityProviderRepresentation**](IdentityProviderRepresentation.md) | | [optional] +**IdentityProviderMappers** | Pointer to [**[]IdentityProviderMapperRepresentation**](IdentityProviderMapperRepresentation.md) | | [optional] +**ProtocolMappers** | Pointer to [**[]ProtocolMapperRepresentation**](ProtocolMapperRepresentation.md) | | [optional] +**Components** | Pointer to [**map[string][]ComponentExportRepresentation**](array.md) | | [optional] +**InternationalizationEnabled** | Pointer to **bool** | | [optional] +**SupportedLocales** | Pointer to **[]string** | | [optional] +**DefaultLocale** | Pointer to **string** | | [optional] +**AuthenticationFlows** | Pointer to [**[]AuthenticationFlowRepresentation**](AuthenticationFlowRepresentation.md) | | [optional] +**AuthenticatorConfig** | Pointer to [**[]AuthenticatorConfigRepresentation**](AuthenticatorConfigRepresentation.md) | | [optional] +**RequiredActions** | Pointer to [**[]RequiredActionProviderRepresentation**](RequiredActionProviderRepresentation.md) | | [optional] +**BrowserFlow** | Pointer to **string** | | [optional] +**RegistrationFlow** | Pointer to **string** | | [optional] +**DirectGrantFlow** | Pointer to **string** | | [optional] +**ResetCredentialsFlow** | Pointer to **string** | | [optional] +**ClientAuthenticationFlow** | Pointer to **string** | | [optional] +**DockerAuthenticationFlow** | Pointer to **string** | | [optional] +**FirstBrokerLoginFlow** | Pointer to **string** | | [optional] +**Attributes** | Pointer to **map[string]string** | | [optional] +**KeycloakVersion** | Pointer to **string** | | [optional] +**UserManagedAccessAllowed** | Pointer to **bool** | | [optional] +**OrganizationsEnabled** | Pointer to **bool** | | [optional] +**Organizations** | Pointer to [**[]OrganizationRepresentation**](OrganizationRepresentation.md) | | [optional] +**VerifiableCredentialsEnabled** | Pointer to **bool** | | [optional] +**AdminPermissionsEnabled** | Pointer to **bool** | | [optional] +**Social** | Pointer to **bool** | | [optional] +**UpdateProfileOnInitialSocialLogin** | Pointer to **bool** | | [optional] +**SocialProviders** | Pointer to **map[string]string** | | [optional] +**ApplicationScopeMappings** | Pointer to [**map[string][]ScopeMappingRepresentation**](array.md) | | [optional] +**Applications** | Pointer to [**[]ApplicationRepresentation**](ApplicationRepresentation.md) | | [optional] +**OauthClients** | Pointer to [**[]OAuthClientRepresentation**](OAuthClientRepresentation.md) | | [optional] +**ClientTemplates** | Pointer to [**[]ClientTemplateRepresentation**](ClientTemplateRepresentation.md) | | [optional] +**OAuth2DeviceCodeLifespan** | Pointer to **int32** | | [optional] +**OAuth2DevicePollingInterval** | Pointer to **int32** | | [optional] ## Methods @@ -1647,6 +1650,31 @@ SetDefaultRole sets DefaultRole field to given value. HasDefaultRole returns a boolean if a field has been set. +### GetAdminPermissionsClient + +`func (o *RealmRepresentation) GetAdminPermissionsClient() ClientRepresentation` + +GetAdminPermissionsClient returns the AdminPermissionsClient field if non-nil, zero value otherwise. + +### GetAdminPermissionsClientOk + +`func (o *RealmRepresentation) GetAdminPermissionsClientOk() (*ClientRepresentation, bool)` + +GetAdminPermissionsClientOk returns a tuple with the AdminPermissionsClient field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAdminPermissionsClient + +`func (o *RealmRepresentation) SetAdminPermissionsClient(v ClientRepresentation)` + +SetAdminPermissionsClient sets AdminPermissionsClient field to given value. + +### HasAdminPermissionsClient + +`func (o *RealmRepresentation) HasAdminPermissionsClient() bool` + +HasAdminPermissionsClient returns a boolean if a field has been set. + ### GetDefaultGroups `func (o *RealmRepresentation) GetDefaultGroups() []string` @@ -2774,7 +2802,7 @@ HasBrowserSecurityHeaders returns a boolean if a field has been set. ### GetSmtpServer -`func (o *RealmRepresentation) GetSmtpServerConfig() map[string]string` +`func (o *RealmRepresentation) GetSmtpServer() map[string]string` GetSmtpServer returns the SmtpServer field if non-nil, zero value otherwise. @@ -2793,7 +2821,7 @@ SetSmtpServer sets SmtpServer field to given value. ### HasSmtpServer -`func (o *RealmRepresentation) HasSmtpServerConfig() bool` +`func (o *RealmRepresentation) HasSmtpServer() bool` HasSmtpServer returns a boolean if a field has been set. @@ -3647,6 +3675,56 @@ SetOrganizations sets Organizations field to given value. HasOrganizations returns a boolean if a field has been set. +### GetVerifiableCredentialsEnabled + +`func (o *RealmRepresentation) GetVerifiableCredentialsEnabled() bool` + +GetVerifiableCredentialsEnabled returns the VerifiableCredentialsEnabled field if non-nil, zero value otherwise. + +### GetVerifiableCredentialsEnabledOk + +`func (o *RealmRepresentation) GetVerifiableCredentialsEnabledOk() (*bool, bool)` + +GetVerifiableCredentialsEnabledOk returns a tuple with the VerifiableCredentialsEnabled field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVerifiableCredentialsEnabled + +`func (o *RealmRepresentation) SetVerifiableCredentialsEnabled(v bool)` + +SetVerifiableCredentialsEnabled sets VerifiableCredentialsEnabled field to given value. + +### HasVerifiableCredentialsEnabled + +`func (o *RealmRepresentation) HasVerifiableCredentialsEnabled() bool` + +HasVerifiableCredentialsEnabled returns a boolean if a field has been set. + +### GetAdminPermissionsEnabled + +`func (o *RealmRepresentation) GetAdminPermissionsEnabled() bool` + +GetAdminPermissionsEnabled returns the AdminPermissionsEnabled field if non-nil, zero value otherwise. + +### GetAdminPermissionsEnabledOk + +`func (o *RealmRepresentation) GetAdminPermissionsEnabledOk() (*bool, bool)` + +GetAdminPermissionsEnabledOk returns a tuple with the AdminPermissionsEnabled field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAdminPermissionsEnabled + +`func (o *RealmRepresentation) SetAdminPermissionsEnabled(v bool)` + +SetAdminPermissionsEnabled sets AdminPermissionsEnabled field to given value. + +### HasAdminPermissionsEnabled + +`func (o *RealmRepresentation) HasAdminPermissionsEnabled() bool` + +HasAdminPermissionsEnabled returns a boolean if a field has been set. + ### GetSocial `func (o *RealmRepresentation) GetSocial() bool` @@ -3872,4 +3950,7 @@ SetOAuth2DevicePollingInterval sets OAuth2DevicePollingInterval field to given v HasOAuth2DevicePollingInterval returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RealmsAdminAPI.md b/docs/RealmsAdminAPI.md index f2998f4..e1dadb4 100644 --- a/docs/RealmsAdminAPI.md +++ b/docs/RealmsAdminAPI.md @@ -67,7 +67,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -133,7 +133,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -195,7 +195,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -261,7 +261,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -351,7 +351,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -421,7 +421,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -491,7 +491,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -559,7 +559,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -629,7 +629,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -699,7 +699,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -769,7 +769,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -839,7 +839,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -907,7 +907,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -975,7 +975,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1044,7 +1044,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1113,7 +1113,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1181,7 +1181,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1249,7 +1249,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1318,7 +1318,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1387,7 +1387,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1456,7 +1456,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1525,7 +1525,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1593,7 +1593,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1659,7 +1659,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1729,7 +1729,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1797,7 +1797,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1863,7 +1863,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1947,7 +1947,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2015,7 +2015,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2086,7 +2086,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2154,7 +2154,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2223,7 +2223,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2296,7 +2296,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2368,7 +2368,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2442,7 +2442,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2516,7 +2516,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2589,7 +2589,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2657,7 +2657,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2727,7 +2727,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2795,7 +2795,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2865,7 +2865,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2935,7 +2935,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -3006,7 +3006,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -3074,7 +3074,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -3142,7 +3142,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { diff --git a/docs/ResourceServerRepresentation.md b/docs/ResourceServerRepresentation.md index a584aab..34a77e6 100644 --- a/docs/ResourceServerRepresentation.md +++ b/docs/ResourceServerRepresentation.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **Policies** | Pointer to [**[]PolicyRepresentation**](PolicyRepresentation.md) | | [optional] **Scopes** | Pointer to [**[]ScopeRepresentation**](ScopeRepresentation.md) | | [optional] **DecisionStrategy** | Pointer to [**DecisionStrategy**](DecisionStrategy.md) | | [optional] +**AuthorizationSchema** | Pointer to [**AuthorizationSchema**](AuthorizationSchema.md) | | [optional] ## Methods @@ -258,6 +259,31 @@ SetDecisionStrategy sets DecisionStrategy field to given value. HasDecisionStrategy returns a boolean if a field has been set. +### GetAuthorizationSchema + +`func (o *ResourceServerRepresentation) GetAuthorizationSchema() AuthorizationSchema` + +GetAuthorizationSchema returns the AuthorizationSchema field if non-nil, zero value otherwise. + +### GetAuthorizationSchemaOk + +`func (o *ResourceServerRepresentation) GetAuthorizationSchemaOk() (*AuthorizationSchema, bool)` + +GetAuthorizationSchemaOk returns a tuple with the AuthorizationSchema field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthorizationSchema + +`func (o *ResourceServerRepresentation) SetAuthorizationSchema(v AuthorizationSchema)` + +SetAuthorizationSchema sets AuthorizationSchema field to given value. + +### HasAuthorizationSchema + +`func (o *ResourceServerRepresentation) HasAuthorizationSchema() bool` + +HasAuthorizationSchema returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ResourceType.md b/docs/ResourceType.md new file mode 100644 index 0000000..de9fc92 --- /dev/null +++ b/docs/ResourceType.md @@ -0,0 +1,82 @@ +# ResourceType + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | Pointer to **string** | | [optional] +**Scopes** | Pointer to **[]string** | | [optional] + +## Methods + +### NewResourceType + +`func NewResourceType() *ResourceType` + +NewResourceType instantiates a new ResourceType object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewResourceTypeWithDefaults + +`func NewResourceTypeWithDefaults() *ResourceType` + +NewResourceTypeWithDefaults instantiates a new ResourceType object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetType + +`func (o *ResourceType) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *ResourceType) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *ResourceType) SetType(v string)` + +SetType sets Type field to given value. + +### HasType + +`func (o *ResourceType) HasType() bool` + +HasType returns a boolean if a field has been set. + +### GetScopes + +`func (o *ResourceType) GetScopes() []string` + +GetScopes returns the Scopes field if non-nil, zero value otherwise. + +### GetScopesOk + +`func (o *ResourceType) GetScopesOk() (*[]string, bool)` + +GetScopesOk returns a tuple with the Scopes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScopes + +`func (o *ResourceType) SetScopes(v []string)` + +SetScopes sets Scopes field to given value. + +### HasScopes + +`func (o *ResourceType) HasScopes() bool` + +HasScopes returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RoleMapperAPI.md b/docs/RoleMapperAPI.md index 2a031c8..1de40a0 100644 --- a/docs/RoleMapperAPI.md +++ b/docs/RoleMapperAPI.md @@ -34,7 +34,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -105,7 +105,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -176,7 +176,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -249,7 +249,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -320,7 +320,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -391,7 +391,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -462,7 +462,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -533,7 +533,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -604,7 +604,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -677,7 +677,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -748,7 +748,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -819,7 +819,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { diff --git a/docs/RolesAPI.md b/docs/RolesAPI.md index ba85ff1..b72989d 100644 --- a/docs/RolesAPI.md +++ b/docs/RolesAPI.md @@ -50,7 +50,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -129,7 +129,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -200,7 +200,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -277,7 +277,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -351,7 +351,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -425,7 +425,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -499,7 +499,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -573,7 +573,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -645,7 +645,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -719,7 +719,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -799,7 +799,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -873,7 +873,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -949,7 +949,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1023,7 +1023,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1103,7 +1103,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1179,7 +1179,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1247,7 +1247,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1321,7 +1321,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1392,7 +1392,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1463,7 +1463,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1534,7 +1534,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1605,7 +1605,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1674,7 +1674,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1745,7 +1745,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1822,7 +1822,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1893,7 +1893,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1966,7 +1966,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2037,7 +2037,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { diff --git a/docs/RolesByIDAPI.md b/docs/RolesByIDAPI.md index c37a8e8..2501f23 100644 --- a/docs/RolesByIDAPI.md +++ b/docs/RolesByIDAPI.md @@ -32,7 +32,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -106,7 +106,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -177,7 +177,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -254,7 +254,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -325,7 +325,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -396,7 +396,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -465,7 +465,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -536,7 +536,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -607,7 +607,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -680,7 +680,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { diff --git a/docs/ScopeMappingsAPI.md b/docs/ScopeMappingsAPI.md index 60b9f30..3d847cf 100644 --- a/docs/ScopeMappingsAPI.md +++ b/docs/ScopeMappingsAPI.md @@ -55,7 +55,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -129,7 +129,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -205,7 +205,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -279,7 +279,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -353,7 +353,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -427,7 +427,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -498,7 +498,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -571,7 +571,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -644,7 +644,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -715,7 +715,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -786,7 +786,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -857,7 +857,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -931,7 +931,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1007,7 +1007,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1081,7 +1081,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1155,7 +1155,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1229,7 +1229,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1300,7 +1300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1373,7 +1373,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1446,7 +1446,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1517,7 +1517,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1588,7 +1588,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1659,7 +1659,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1733,7 +1733,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1809,7 +1809,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1883,7 +1883,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1957,7 +1957,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2031,7 +2031,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2102,7 +2102,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2175,7 +2175,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2248,7 +2248,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2319,7 +2319,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2390,7 +2390,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { diff --git a/docs/UsersAPI.md b/docs/UsersAPI.md index f4ac588..afba7c8 100644 --- a/docs/UsersAPI.md +++ b/docs/UsersAPI.md @@ -58,7 +58,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -142,7 +142,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -238,7 +238,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -308,7 +308,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -378,7 +378,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -448,7 +448,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -520,7 +520,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -591,7 +591,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -663,7 +663,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -734,7 +734,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -806,7 +806,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -881,7 +881,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -953,7 +953,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1027,7 +1027,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1098,7 +1098,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1167,7 +1167,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1240,7 +1240,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1317,7 +1317,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1388,7 +1388,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1460,7 +1460,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1532,7 +1532,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1605,7 +1605,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1678,7 +1678,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1757,7 +1757,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1829,7 +1829,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1901,7 +1901,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -1972,7 +1972,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2041,7 +2041,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2115,7 +2115,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2188,7 +2188,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2261,7 +2261,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2334,7 +2334,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2409,7 +2409,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { @@ -2480,7 +2480,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func main() { diff --git a/git_push.sh b/git_push.sh index 5e16cc3..c2edc34 100644 --- a/git_push.sh +++ b/git_push.sh @@ -19,7 +19,7 @@ if [ "$git_user_id" = "" ]; then fi if [ "$git_repo_id" = "" ]; then - git_repo_id="daytona-ee-draft/pkg/keycloak-admin-client" + git_repo_id="keycloak-admin-client" echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" fi diff --git a/model_abstract_policy_representation.go b/model_abstract_policy_representation.go index 6e6bbe4..79a6db6 100644 --- a/model_abstract_policy_representation.go +++ b/model_abstract_policy_representation.go @@ -19,18 +19,19 @@ var _ MappedNullable = &AbstractPolicyRepresentation{} // AbstractPolicyRepresentation struct for AbstractPolicyRepresentation type AbstractPolicyRepresentation struct { - Id *string `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - Description *string `json:"description,omitempty"` - Type *string `json:"type,omitempty"` - Policies []string `json:"policies,omitempty"` - Resources []string `json:"resources,omitempty"` - Scopes []string `json:"scopes,omitempty"` - Logic *Logic `json:"logic,omitempty"` - DecisionStrategy *DecisionStrategy `json:"decisionStrategy,omitempty"` - Owner *string `json:"owner,omitempty"` - ResourcesData []ResourceRepresentation `json:"resourcesData,omitempty"` - ScopesData []ScopeRepresentation `json:"scopesData,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Description *string `json:"description,omitempty"` + Type *string `json:"type,omitempty"` + Policies []string `json:"policies,omitempty"` + Resources []string `json:"resources,omitempty"` + Scopes []string `json:"scopes,omitempty"` + Logic *Logic `json:"logic,omitempty"` + DecisionStrategy *DecisionStrategy `json:"decisionStrategy,omitempty"` + Owner *string `json:"owner,omitempty"` + ResourceType *string `json:"resourceType,omitempty"` + ResourcesData []ResourceRepresentation `json:"resourcesData,omitempty"` + ScopesData []ScopeRepresentation `json:"scopesData,omitempty"` } // NewAbstractPolicyRepresentation instantiates a new AbstractPolicyRepresentation object @@ -370,6 +371,38 @@ func (o *AbstractPolicyRepresentation) SetOwner(v string) { o.Owner = &v } +// GetResourceType returns the ResourceType field value if set, zero value otherwise. +func (o *AbstractPolicyRepresentation) GetResourceType() string { + if o == nil || IsNil(o.ResourceType) { + var ret string + return ret + } + return *o.ResourceType +} + +// GetResourceTypeOk returns a tuple with the ResourceType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AbstractPolicyRepresentation) GetResourceTypeOk() (*string, bool) { + if o == nil || IsNil(o.ResourceType) { + return nil, false + } + return o.ResourceType, true +} + +// HasResourceType returns a boolean if a field has been set. +func (o *AbstractPolicyRepresentation) HasResourceType() bool { + if o != nil && !IsNil(o.ResourceType) { + return true + } + + return false +} + +// SetResourceType gets a reference to the given string and assigns it to the ResourceType field. +func (o *AbstractPolicyRepresentation) SetResourceType(v string) { + o.ResourceType = &v +} + // GetResourcesData returns the ResourcesData field value if set, zero value otherwise. func (o *AbstractPolicyRepresentation) GetResourcesData() []ResourceRepresentation { if o == nil || IsNil(o.ResourcesData) { @@ -435,7 +468,7 @@ func (o *AbstractPolicyRepresentation) SetScopesData(v []ScopeRepresentation) { } func (o AbstractPolicyRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -474,6 +507,9 @@ func (o AbstractPolicyRepresentation) ToMap() (map[string]interface{}, error) { if !IsNil(o.Owner) { toSerialize["owner"] = o.Owner } + if !IsNil(o.ResourceType) { + toSerialize["resourceType"] = o.ResourceType + } if !IsNil(o.ResourcesData) { toSerialize["resourcesData"] = o.ResourcesData } @@ -518,3 +554,5 @@ func (v *NullableAbstractPolicyRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_access.go b/model_access.go index 335d232..2bc4d44 100644 --- a/model_access.go +++ b/model_access.go @@ -19,8 +19,8 @@ var _ MappedNullable = &Access{} // Access struct for Access type Access struct { - Roles []string `json:"roles,omitempty"` - VerifyCaller *bool `json:"verify_caller,omitempty"` + Roles []string `json:"roles,omitempty"` + VerifyCaller *bool `json:"verify_caller,omitempty"` } // NewAccess instantiates a new Access object @@ -105,7 +105,7 @@ func (o *Access) SetVerifyCaller(v bool) { } func (o Access) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -158,3 +158,5 @@ func (v *NullableAccess) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_access_token.go b/model_access_token.go index 09f4b0c..456102c 100644 --- a/model_access_token.go +++ b/model_access_token.go @@ -19,49 +19,49 @@ var _ MappedNullable = &AccessToken{} // AccessToken struct for AccessToken type AccessToken struct { - Jti *string `json:"jti,omitempty"` - Exp *int64 `json:"exp,omitempty"` - Nbf *int64 `json:"nbf,omitempty"` - Iat *int64 `json:"iat,omitempty"` - Iss *string `json:"iss,omitempty"` - Sub *string `json:"sub,omitempty"` - Typ *string `json:"typ,omitempty"` - Azp *string `json:"azp,omitempty"` - OtherClaims map[string]interface{} `json:"otherClaims,omitempty"` - Nonce *string `json:"nonce,omitempty"` - AuthTime *int64 `json:"auth_time,omitempty"` - Sid *string `json:"sid,omitempty"` - AtHash *string `json:"at_hash,omitempty"` - CHash *string `json:"c_hash,omitempty"` - Name *string `json:"name,omitempty"` - GivenName *string `json:"given_name,omitempty"` - FamilyName *string `json:"family_name,omitempty"` - MiddleName *string `json:"middle_name,omitempty"` - Nickname *string `json:"nickname,omitempty"` - PreferredUsername *string `json:"preferred_username,omitempty"` - Profile *string `json:"profile,omitempty"` - Picture *string `json:"picture,omitempty"` - Website *string `json:"website,omitempty"` - Email *string `json:"email,omitempty"` - EmailVerified *bool `json:"email_verified,omitempty"` - Gender *string `json:"gender,omitempty"` - Birthdate *string `json:"birthdate,omitempty"` - Zoneinfo *string `json:"zoneinfo,omitempty"` - Locale *string `json:"locale,omitempty"` - PhoneNumber *string `json:"phone_number,omitempty"` - PhoneNumberVerified *bool `json:"phone_number_verified,omitempty"` - Address *AddressClaimSet `json:"address,omitempty"` - UpdatedAt *int64 `json:"updated_at,omitempty"` - ClaimsLocales *string `json:"claims_locales,omitempty"` - Acr *string `json:"acr,omitempty"` - SHash *string `json:"s_hash,omitempty"` - TrustedCerts []string `json:"trusted-certs,omitempty"` - AllowedOrigins []string `json:"allowed-origins,omitempty"` - RealmAccess *Access `json:"realm_access,omitempty"` - ResourceAccess *map[string]Access `json:"resource_access,omitempty"` - Authorization *Authorization `json:"authorization,omitempty"` - Cnf *Confirmation `json:"cnf,omitempty"` - Scope *string `json:"scope,omitempty"` + Jti *string `json:"jti,omitempty"` + Exp *int64 `json:"exp,omitempty"` + Nbf *int64 `json:"nbf,omitempty"` + Iat *int64 `json:"iat,omitempty"` + Iss *string `json:"iss,omitempty"` + Sub *string `json:"sub,omitempty"` + Typ *string `json:"typ,omitempty"` + Azp *string `json:"azp,omitempty"` + OtherClaims map[string]interface{} `json:"otherClaims,omitempty"` + Nonce *string `json:"nonce,omitempty"` + AuthTime *int64 `json:"auth_time,omitempty"` + Sid *string `json:"sid,omitempty"` + AtHash *string `json:"at_hash,omitempty"` + CHash *string `json:"c_hash,omitempty"` + Name *string `json:"name,omitempty"` + GivenName *string `json:"given_name,omitempty"` + FamilyName *string `json:"family_name,omitempty"` + MiddleName *string `json:"middle_name,omitempty"` + Nickname *string `json:"nickname,omitempty"` + PreferredUsername *string `json:"preferred_username,omitempty"` + Profile *string `json:"profile,omitempty"` + Picture *string `json:"picture,omitempty"` + Website *string `json:"website,omitempty"` + Email *string `json:"email,omitempty"` + EmailVerified *bool `json:"email_verified,omitempty"` + Gender *string `json:"gender,omitempty"` + Birthdate *string `json:"birthdate,omitempty"` + Zoneinfo *string `json:"zoneinfo,omitempty"` + Locale *string `json:"locale,omitempty"` + PhoneNumber *string `json:"phone_number,omitempty"` + PhoneNumberVerified *bool `json:"phone_number_verified,omitempty"` + Address *AddressClaimSet `json:"address,omitempty"` + UpdatedAt *int64 `json:"updated_at,omitempty"` + ClaimsLocales *string `json:"claims_locales,omitempty"` + Acr *string `json:"acr,omitempty"` + SHash *string `json:"s_hash,omitempty"` + TrustedCerts []string `json:"trusted-certs,omitempty"` + AllowedOrigins []string `json:"allowed-origins,omitempty"` + RealmAccess *Access `json:"realm_access,omitempty"` + ResourceAccess *map[string]Access `json:"resource_access,omitempty"` + Authorization *Authorization `json:"authorization,omitempty"` + Cnf *Confirmation `json:"cnf,omitempty"` + Scope *string `json:"scope,omitempty"` } // NewAccessToken instantiates a new AccessToken object @@ -1458,7 +1458,7 @@ func (o *AccessToken) SetScope(v string) { } func (o AccessToken) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -1634,3 +1634,5 @@ func (v *NullableAccessToken) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_address_claim_set.go b/model_address_claim_set.go index b1bde08..b8cc0ce 100644 --- a/model_address_claim_set.go +++ b/model_address_claim_set.go @@ -19,12 +19,12 @@ var _ MappedNullable = &AddressClaimSet{} // AddressClaimSet struct for AddressClaimSet type AddressClaimSet struct { - Formatted *string `json:"formatted,omitempty"` + Formatted *string `json:"formatted,omitempty"` StreetAddress *string `json:"street_address,omitempty"` - Locality *string `json:"locality,omitempty"` - Region *string `json:"region,omitempty"` - PostalCode *string `json:"postal_code,omitempty"` - Country *string `json:"country,omitempty"` + Locality *string `json:"locality,omitempty"` + Region *string `json:"region,omitempty"` + PostalCode *string `json:"postal_code,omitempty"` + Country *string `json:"country,omitempty"` } // NewAddressClaimSet instantiates a new AddressClaimSet object @@ -237,7 +237,7 @@ func (o *AddressClaimSet) SetCountry(v string) { } func (o AddressClaimSet) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -302,3 +302,5 @@ func (v *NullableAddressClaimSet) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_admin_event_representation.go b/model_admin_event_representation.go index 4875c50..fe0f259 100644 --- a/model_admin_event_representation.go +++ b/model_admin_event_representation.go @@ -19,15 +19,15 @@ var _ MappedNullable = &AdminEventRepresentation{} // AdminEventRepresentation struct for AdminEventRepresentation type AdminEventRepresentation struct { - Time *int64 `json:"time,omitempty"` - RealmId *string `json:"realmId,omitempty"` - AuthDetails *AuthDetailsRepresentation `json:"authDetails,omitempty"` - OperationType *string `json:"operationType,omitempty"` - ResourceType *string `json:"resourceType,omitempty"` - ResourcePath *string `json:"resourcePath,omitempty"` - Representation *string `json:"representation,omitempty"` - Error *string `json:"error,omitempty"` - Details *map[string]string `json:"details,omitempty"` + Time *int64 `json:"time,omitempty"` + RealmId *string `json:"realmId,omitempty"` + AuthDetails *AuthDetailsRepresentation `json:"authDetails,omitempty"` + OperationType *string `json:"operationType,omitempty"` + ResourceType *string `json:"resourceType,omitempty"` + ResourcePath *string `json:"resourcePath,omitempty"` + Representation *string `json:"representation,omitempty"` + Error *string `json:"error,omitempty"` + Details *map[string]string `json:"details,omitempty"` } // NewAdminEventRepresentation instantiates a new AdminEventRepresentation object @@ -336,7 +336,7 @@ func (o *AdminEventRepresentation) SetDetails(v map[string]string) { } func (o AdminEventRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -410,3 +410,5 @@ func (v *NullableAdminEventRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_application_representation.go b/model_application_representation.go index 8225133..71e373f 100644 --- a/model_application_representation.go +++ b/model_application_representation.go @@ -19,42 +19,42 @@ var _ MappedNullable = &ApplicationRepresentation{} // ApplicationRepresentation struct for ApplicationRepresentation type ApplicationRepresentation struct { - Id *string `json:"id,omitempty"` - ClientId *string `json:"clientId,omitempty"` - Description *string `json:"description,omitempty"` - Type *string `json:"type,omitempty"` - RootUrl *string `json:"rootUrl,omitempty"` - AdminUrl *string `json:"adminUrl,omitempty"` - BaseUrl *string `json:"baseUrl,omitempty"` - SurrogateAuthRequired *bool `json:"surrogateAuthRequired,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - AlwaysDisplayInConsole *bool `json:"alwaysDisplayInConsole,omitempty"` + Id *string `json:"id,omitempty"` + ClientId *string `json:"clientId,omitempty"` + Description *string `json:"description,omitempty"` + Type *string `json:"type,omitempty"` + RootUrl *string `json:"rootUrl,omitempty"` + AdminUrl *string `json:"adminUrl,omitempty"` + BaseUrl *string `json:"baseUrl,omitempty"` + SurrogateAuthRequired *bool `json:"surrogateAuthRequired,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + AlwaysDisplayInConsole *bool `json:"alwaysDisplayInConsole,omitempty"` ClientAuthenticatorType *string `json:"clientAuthenticatorType,omitempty"` - Secret *string `json:"secret,omitempty"` + Secret *string `json:"secret,omitempty"` RegistrationAccessToken *string `json:"registrationAccessToken,omitempty"` // Deprecated - DefaultRoles []string `json:"defaultRoles,omitempty"` - RedirectUris []string `json:"redirectUris,omitempty"` - WebOrigins []string `json:"webOrigins,omitempty"` - NotBefore *int32 `json:"notBefore,omitempty"` - BearerOnly *bool `json:"bearerOnly,omitempty"` - ConsentRequired *bool `json:"consentRequired,omitempty"` - StandardFlowEnabled *bool `json:"standardFlowEnabled,omitempty"` - ImplicitFlowEnabled *bool `json:"implicitFlowEnabled,omitempty"` - DirectAccessGrantsEnabled *bool `json:"directAccessGrantsEnabled,omitempty"` - ServiceAccountsEnabled *bool `json:"serviceAccountsEnabled,omitempty"` - AuthorizationServicesEnabled *bool `json:"authorizationServicesEnabled,omitempty"` + DefaultRoles []string `json:"defaultRoles,omitempty"` + RedirectUris []string `json:"redirectUris,omitempty"` + WebOrigins []string `json:"webOrigins,omitempty"` + NotBefore *int32 `json:"notBefore,omitempty"` + BearerOnly *bool `json:"bearerOnly,omitempty"` + ConsentRequired *bool `json:"consentRequired,omitempty"` + StandardFlowEnabled *bool `json:"standardFlowEnabled,omitempty"` + ImplicitFlowEnabled *bool `json:"implicitFlowEnabled,omitempty"` + DirectAccessGrantsEnabled *bool `json:"directAccessGrantsEnabled,omitempty"` + ServiceAccountsEnabled *bool `json:"serviceAccountsEnabled,omitempty"` + AuthorizationServicesEnabled *bool `json:"authorizationServicesEnabled,omitempty"` // Deprecated - DirectGrantsOnly *bool `json:"directGrantsOnly,omitempty"` - PublicClient *bool `json:"publicClient,omitempty"` - FrontchannelLogout *bool `json:"frontchannelLogout,omitempty"` - Protocol *string `json:"protocol,omitempty"` - Attributes *map[string]string `json:"attributes,omitempty"` - AuthenticationFlowBindingOverrides *map[string]string `json:"authenticationFlowBindingOverrides,omitempty"` - FullScopeAllowed *bool `json:"fullScopeAllowed,omitempty"` - NodeReRegistrationTimeout *int32 `json:"nodeReRegistrationTimeout,omitempty"` - RegisteredNodes *map[string]int32 `json:"registeredNodes,omitempty"` - ProtocolMappers []ProtocolMapperRepresentation `json:"protocolMappers,omitempty"` + DirectGrantsOnly *bool `json:"directGrantsOnly,omitempty"` + PublicClient *bool `json:"publicClient,omitempty"` + FrontchannelLogout *bool `json:"frontchannelLogout,omitempty"` + Protocol *string `json:"protocol,omitempty"` + Attributes *map[string]string `json:"attributes,omitempty"` + AuthenticationFlowBindingOverrides *map[string]string `json:"authenticationFlowBindingOverrides,omitempty"` + FullScopeAllowed *bool `json:"fullScopeAllowed,omitempty"` + NodeReRegistrationTimeout *int32 `json:"nodeReRegistrationTimeout,omitempty"` + RegisteredNodes *map[string]int32 `json:"registeredNodes,omitempty"` + ProtocolMappers []ProtocolMapperRepresentation `json:"protocolMappers,omitempty"` // Deprecated ClientTemplate *string `json:"clientTemplate,omitempty"` // Deprecated @@ -62,13 +62,13 @@ type ApplicationRepresentation struct { // Deprecated UseTemplateScope *bool `json:"useTemplateScope,omitempty"` // Deprecated - UseTemplateMappers *bool `json:"useTemplateMappers,omitempty"` - DefaultClientScopes []string `json:"defaultClientScopes,omitempty"` - OptionalClientScopes []string `json:"optionalClientScopes,omitempty"` + UseTemplateMappers *bool `json:"useTemplateMappers,omitempty"` + DefaultClientScopes []string `json:"defaultClientScopes,omitempty"` + OptionalClientScopes []string `json:"optionalClientScopes,omitempty"` AuthorizationSettings *ResourceServerRepresentation `json:"authorizationSettings,omitempty"` - Access *map[string]bool `json:"access,omitempty"` - Origin *string `json:"origin,omitempty"` - Name *string `json:"name,omitempty"` + Access *map[string]bool `json:"access,omitempty"` + Origin *string `json:"origin,omitempty"` + Name *string `json:"name,omitempty"` // Deprecated Claims *ClaimRepresentation `json:"claims,omitempty"` } @@ -1552,7 +1552,7 @@ func (o *ApplicationRepresentation) SetClaims(v ClaimRepresentation) { } func (o ApplicationRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -1734,3 +1734,5 @@ func (v *NullableApplicationRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_auth_details_representation.go b/model_auth_details_representation.go index 9c57f9f..61016a8 100644 --- a/model_auth_details_representation.go +++ b/model_auth_details_representation.go @@ -19,9 +19,9 @@ var _ MappedNullable = &AuthDetailsRepresentation{} // AuthDetailsRepresentation struct for AuthDetailsRepresentation type AuthDetailsRepresentation struct { - RealmId *string `json:"realmId,omitempty"` - ClientId *string `json:"clientId,omitempty"` - UserId *string `json:"userId,omitempty"` + RealmId *string `json:"realmId,omitempty"` + ClientId *string `json:"clientId,omitempty"` + UserId *string `json:"userId,omitempty"` IpAddress *string `json:"ipAddress,omitempty"` } @@ -171,7 +171,7 @@ func (o *AuthDetailsRepresentation) SetIpAddress(v string) { } func (o AuthDetailsRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -230,3 +230,5 @@ func (v *NullableAuthDetailsRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_authentication_execution_export_representation.go b/model_authentication_execution_export_representation.go index 4e5fd5c..27f0772 100644 --- a/model_authentication_execution_export_representation.go +++ b/model_authentication_execution_export_representation.go @@ -20,14 +20,14 @@ var _ MappedNullable = &AuthenticationExecutionExportRepresentation{} // AuthenticationExecutionExportRepresentation struct for AuthenticationExecutionExportRepresentation type AuthenticationExecutionExportRepresentation struct { AuthenticatorConfig *string `json:"authenticatorConfig,omitempty"` - Authenticator *string `json:"authenticator,omitempty"` - AuthenticatorFlow *bool `json:"authenticatorFlow,omitempty"` - Requirement *string `json:"requirement,omitempty"` - Priority *int32 `json:"priority,omitempty"` + Authenticator *string `json:"authenticator,omitempty"` + AuthenticatorFlow *bool `json:"authenticatorFlow,omitempty"` + Requirement *string `json:"requirement,omitempty"` + Priority *int32 `json:"priority,omitempty"` // Deprecated - AutheticatorFlow *bool `json:"autheticatorFlow,omitempty"` - FlowAlias *string `json:"flowAlias,omitempty"` - UserSetupAllowed *bool `json:"userSetupAllowed,omitempty"` + AutheticatorFlow *bool `json:"autheticatorFlow,omitempty"` + FlowAlias *string `json:"flowAlias,omitempty"` + UserSetupAllowed *bool `json:"userSetupAllowed,omitempty"` } // NewAuthenticationExecutionExportRepresentation instantiates a new AuthenticationExecutionExportRepresentation object @@ -307,7 +307,7 @@ func (o *AuthenticationExecutionExportRepresentation) SetUserSetupAllowed(v bool } func (o AuthenticationExecutionExportRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -378,3 +378,5 @@ func (v *NullableAuthenticationExecutionExportRepresentation) UnmarshalJSON(src v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_authentication_execution_info_representation.go b/model_authentication_execution_info_representation.go index 29dc485..2b301fa 100644 --- a/model_authentication_execution_info_representation.go +++ b/model_authentication_execution_info_representation.go @@ -19,20 +19,20 @@ var _ MappedNullable = &AuthenticationExecutionInfoRepresentation{} // AuthenticationExecutionInfoRepresentation struct for AuthenticationExecutionInfoRepresentation type AuthenticationExecutionInfoRepresentation struct { - Id *string `json:"id,omitempty"` - Requirement *string `json:"requirement,omitempty"` - DisplayName *string `json:"displayName,omitempty"` - Alias *string `json:"alias,omitempty"` - Description *string `json:"description,omitempty"` - RequirementChoices []string `json:"requirementChoices,omitempty"` - Configurable *bool `json:"configurable,omitempty"` - AuthenticationFlow *bool `json:"authenticationFlow,omitempty"` - ProviderId *string `json:"providerId,omitempty"` - AuthenticationConfig *string `json:"authenticationConfig,omitempty"` - FlowId *string `json:"flowId,omitempty"` - Level *int32 `json:"level,omitempty"` - Index *int32 `json:"index,omitempty"` - Priority *int32 `json:"priority,omitempty"` + Id *string `json:"id,omitempty"` + Requirement *string `json:"requirement,omitempty"` + DisplayName *string `json:"displayName,omitempty"` + Alias *string `json:"alias,omitempty"` + Description *string `json:"description,omitempty"` + RequirementChoices []string `json:"requirementChoices,omitempty"` + Configurable *bool `json:"configurable,omitempty"` + AuthenticationFlow *bool `json:"authenticationFlow,omitempty"` + ProviderId *string `json:"providerId,omitempty"` + AuthenticationConfig *string `json:"authenticationConfig,omitempty"` + FlowId *string `json:"flowId,omitempty"` + Level *int32 `json:"level,omitempty"` + Index *int32 `json:"index,omitempty"` + Priority *int32 `json:"priority,omitempty"` } // NewAuthenticationExecutionInfoRepresentation instantiates a new AuthenticationExecutionInfoRepresentation object @@ -501,7 +501,7 @@ func (o *AuthenticationExecutionInfoRepresentation) SetPriority(v int32) { } func (o AuthenticationExecutionInfoRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -590,3 +590,5 @@ func (v *NullableAuthenticationExecutionInfoRepresentation) UnmarshalJSON(src [] v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_authentication_execution_representation.go b/model_authentication_execution_representation.go index 977dc4e..0d2a82c 100644 --- a/model_authentication_execution_representation.go +++ b/model_authentication_execution_representation.go @@ -20,15 +20,15 @@ var _ MappedNullable = &AuthenticationExecutionRepresentation{} // AuthenticationExecutionRepresentation struct for AuthenticationExecutionRepresentation type AuthenticationExecutionRepresentation struct { AuthenticatorConfig *string `json:"authenticatorConfig,omitempty"` - Authenticator *string `json:"authenticator,omitempty"` - AuthenticatorFlow *bool `json:"authenticatorFlow,omitempty"` - Requirement *string `json:"requirement,omitempty"` - Priority *int32 `json:"priority,omitempty"` + Authenticator *string `json:"authenticator,omitempty"` + AuthenticatorFlow *bool `json:"authenticatorFlow,omitempty"` + Requirement *string `json:"requirement,omitempty"` + Priority *int32 `json:"priority,omitempty"` // Deprecated - AutheticatorFlow *bool `json:"autheticatorFlow,omitempty"` - Id *string `json:"id,omitempty"` - FlowId *string `json:"flowId,omitempty"` - ParentFlow *string `json:"parentFlow,omitempty"` + AutheticatorFlow *bool `json:"autheticatorFlow,omitempty"` + Id *string `json:"id,omitempty"` + FlowId *string `json:"flowId,omitempty"` + ParentFlow *string `json:"parentFlow,omitempty"` } // NewAuthenticationExecutionRepresentation instantiates a new AuthenticationExecutionRepresentation object @@ -340,7 +340,7 @@ func (o *AuthenticationExecutionRepresentation) SetParentFlow(v string) { } func (o AuthenticationExecutionRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -414,3 +414,5 @@ func (v *NullableAuthenticationExecutionRepresentation) UnmarshalJSON(src []byte v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_authentication_flow_representation.go b/model_authentication_flow_representation.go index 5cefea0..96ee2da 100644 --- a/model_authentication_flow_representation.go +++ b/model_authentication_flow_representation.go @@ -19,12 +19,12 @@ var _ MappedNullable = &AuthenticationFlowRepresentation{} // AuthenticationFlowRepresentation struct for AuthenticationFlowRepresentation type AuthenticationFlowRepresentation struct { - Id *string `json:"id,omitempty"` - Alias *string `json:"alias,omitempty"` - Description *string `json:"description,omitempty"` - ProviderId *string `json:"providerId,omitempty"` - TopLevel *bool `json:"topLevel,omitempty"` - BuiltIn *bool `json:"builtIn,omitempty"` + Id *string `json:"id,omitempty"` + Alias *string `json:"alias,omitempty"` + Description *string `json:"description,omitempty"` + ProviderId *string `json:"providerId,omitempty"` + TopLevel *bool `json:"topLevel,omitempty"` + BuiltIn *bool `json:"builtIn,omitempty"` AuthenticationExecutions []AuthenticationExecutionExportRepresentation `json:"authenticationExecutions,omitempty"` } @@ -270,7 +270,7 @@ func (o *AuthenticationFlowRepresentation) SetAuthenticationExecutions(v []Authe } func (o AuthenticationFlowRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -338,3 +338,5 @@ func (v *NullableAuthenticationFlowRepresentation) UnmarshalJSON(src []byte) err v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_authenticator_config_info_representation.go b/model_authenticator_config_info_representation.go index 2545749..3bcd300 100644 --- a/model_authenticator_config_info_representation.go +++ b/model_authenticator_config_info_representation.go @@ -19,9 +19,9 @@ var _ MappedNullable = &AuthenticatorConfigInfoRepresentation{} // AuthenticatorConfigInfoRepresentation struct for AuthenticatorConfigInfoRepresentation type AuthenticatorConfigInfoRepresentation struct { - Name *string `json:"name,omitempty"` - ProviderId *string `json:"providerId,omitempty"` - HelpText *string `json:"helpText,omitempty"` + Name *string `json:"name,omitempty"` + ProviderId *string `json:"providerId,omitempty"` + HelpText *string `json:"helpText,omitempty"` Properties []ConfigPropertyRepresentation `json:"properties,omitempty"` } @@ -171,7 +171,7 @@ func (o *AuthenticatorConfigInfoRepresentation) SetProperties(v []ConfigProperty } func (o AuthenticatorConfigInfoRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -230,3 +230,5 @@ func (v *NullableAuthenticatorConfigInfoRepresentation) UnmarshalJSON(src []byte v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_authenticator_config_representation.go b/model_authenticator_config_representation.go index 6ac6af8..dfc498d 100644 --- a/model_authenticator_config_representation.go +++ b/model_authenticator_config_representation.go @@ -19,8 +19,8 @@ var _ MappedNullable = &AuthenticatorConfigRepresentation{} // AuthenticatorConfigRepresentation struct for AuthenticatorConfigRepresentation type AuthenticatorConfigRepresentation struct { - Id *string `json:"id,omitempty"` - Alias *string `json:"alias,omitempty"` + Id *string `json:"id,omitempty"` + Alias *string `json:"alias,omitempty"` Config *map[string]string `json:"config,omitempty"` } @@ -138,7 +138,7 @@ func (o *AuthenticatorConfigRepresentation) SetConfig(v map[string]string) { } func (o AuthenticatorConfigRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -194,3 +194,5 @@ func (v *NullableAuthenticatorConfigRepresentation) UnmarshalJSON(src []byte) er v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_authorization.go b/model_authorization.go index 924d36a..04cd77d 100644 --- a/model_authorization.go +++ b/model_authorization.go @@ -72,7 +72,7 @@ func (o *Authorization) SetPermissions(v []Permission) { } func (o Authorization) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -122,3 +122,5 @@ func (v *NullableAuthorization) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_authorization_schema.go b/model_authorization_schema.go new file mode 100644 index 0000000..577e5d5 --- /dev/null +++ b/model_authorization_schema.go @@ -0,0 +1,126 @@ +/* +Keycloak Admin REST API + +This is a REST API reference for the Keycloak Admin REST API. + +API version: 1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package keycloak_admin_client + +import ( + "encoding/json" +) + +// checks if the AuthorizationSchema type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AuthorizationSchema{} + +// AuthorizationSchema struct for AuthorizationSchema +type AuthorizationSchema struct { + ResourceTypes *map[string]ResourceType `json:"resourceTypes,omitempty"` +} + +// NewAuthorizationSchema instantiates a new AuthorizationSchema object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAuthorizationSchema() *AuthorizationSchema { + this := AuthorizationSchema{} + return &this +} + +// NewAuthorizationSchemaWithDefaults instantiates a new AuthorizationSchema object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAuthorizationSchemaWithDefaults() *AuthorizationSchema { + this := AuthorizationSchema{} + return &this +} + +// GetResourceTypes returns the ResourceTypes field value if set, zero value otherwise. +func (o *AuthorizationSchema) GetResourceTypes() map[string]ResourceType { + if o == nil || IsNil(o.ResourceTypes) { + var ret map[string]ResourceType + return ret + } + return *o.ResourceTypes +} + +// GetResourceTypesOk returns a tuple with the ResourceTypes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AuthorizationSchema) GetResourceTypesOk() (*map[string]ResourceType, bool) { + if o == nil || IsNil(o.ResourceTypes) { + return nil, false + } + return o.ResourceTypes, true +} + +// HasResourceTypes returns a boolean if a field has been set. +func (o *AuthorizationSchema) HasResourceTypes() bool { + if o != nil && !IsNil(o.ResourceTypes) { + return true + } + + return false +} + +// SetResourceTypes gets a reference to the given map[string]ResourceType and assigns it to the ResourceTypes field. +func (o *AuthorizationSchema) SetResourceTypes(v map[string]ResourceType) { + o.ResourceTypes = &v +} + +func (o AuthorizationSchema) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AuthorizationSchema) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.ResourceTypes) { + toSerialize["resourceTypes"] = o.ResourceTypes + } + return toSerialize, nil +} + +type NullableAuthorizationSchema struct { + value *AuthorizationSchema + isSet bool +} + +func (v NullableAuthorizationSchema) Get() *AuthorizationSchema { + return v.value +} + +func (v *NullableAuthorizationSchema) Set(val *AuthorizationSchema) { + v.value = val + v.isSet = true +} + +func (v NullableAuthorizationSchema) IsSet() bool { + return v.isSet +} + +func (v *NullableAuthorizationSchema) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAuthorizationSchema(val *AuthorizationSchema) *NullableAuthorizationSchema { + return &NullableAuthorizationSchema{value: val, isSet: true} +} + +func (v NullableAuthorizationSchema) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAuthorizationSchema) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_brute_force_strategy.go b/model_brute_force_strategy.go index eb1dbcd..48bf6b9 100644 --- a/model_brute_force_strategy.go +++ b/model_brute_force_strategy.go @@ -20,7 +20,7 @@ type BruteForceStrategy string // List of BruteForceStrategy const ( - LINEAR BruteForceStrategy = "LINEAR" + LINEAR BruteForceStrategy = "LINEAR" MULTIPLE BruteForceStrategy = "MULTIPLE" ) @@ -108,3 +108,4 @@ func (v *NullableBruteForceStrategy) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + diff --git a/model_certificate_representation.go b/model_certificate_representation.go index cbe8116..1469ee9 100644 --- a/model_certificate_representation.go +++ b/model_certificate_representation.go @@ -19,10 +19,10 @@ var _ MappedNullable = &CertificateRepresentation{} // CertificateRepresentation struct for CertificateRepresentation type CertificateRepresentation struct { - PrivateKey *string `json:"privateKey,omitempty"` - PublicKey *string `json:"publicKey,omitempty"` + PrivateKey *string `json:"privateKey,omitempty"` + PublicKey *string `json:"publicKey,omitempty"` Certificate *string `json:"certificate,omitempty"` - Kid *string `json:"kid,omitempty"` + Kid *string `json:"kid,omitempty"` } // NewCertificateRepresentation instantiates a new CertificateRepresentation object @@ -171,7 +171,7 @@ func (o *CertificateRepresentation) SetKid(v string) { } func (o CertificateRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -230,3 +230,5 @@ func (v *NullableCertificateRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_claim_representation.go b/model_claim_representation.go index 9e99a37..0bf2e01 100644 --- a/model_claim_representation.go +++ b/model_claim_representation.go @@ -19,16 +19,16 @@ var _ MappedNullable = &ClaimRepresentation{} // ClaimRepresentation struct for ClaimRepresentation type ClaimRepresentation struct { - Name *bool `json:"name,omitempty"` + Name *bool `json:"name,omitempty"` Username *bool `json:"username,omitempty"` - Profile *bool `json:"profile,omitempty"` - Picture *bool `json:"picture,omitempty"` - Website *bool `json:"website,omitempty"` - Email *bool `json:"email,omitempty"` - Gender *bool `json:"gender,omitempty"` - Locale *bool `json:"locale,omitempty"` - Address *bool `json:"address,omitempty"` - Phone *bool `json:"phone,omitempty"` + Profile *bool `json:"profile,omitempty"` + Picture *bool `json:"picture,omitempty"` + Website *bool `json:"website,omitempty"` + Email *bool `json:"email,omitempty"` + Gender *bool `json:"gender,omitempty"` + Locale *bool `json:"locale,omitempty"` + Address *bool `json:"address,omitempty"` + Phone *bool `json:"phone,omitempty"` } // NewClaimRepresentation instantiates a new ClaimRepresentation object @@ -369,7 +369,7 @@ func (o *ClaimRepresentation) SetPhone(v bool) { } func (o ClaimRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -446,3 +446,5 @@ func (v *NullableClaimRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_client_initial_access_create_presentation.go b/model_client_initial_access_create_presentation.go index 75a102c..7dce5f8 100644 --- a/model_client_initial_access_create_presentation.go +++ b/model_client_initial_access_create_presentation.go @@ -20,7 +20,7 @@ var _ MappedNullable = &ClientInitialAccessCreatePresentation{} // ClientInitialAccessCreatePresentation struct for ClientInitialAccessCreatePresentation type ClientInitialAccessCreatePresentation struct { Expiration *int32 `json:"expiration,omitempty"` - Count *int32 `json:"count,omitempty"` + Count *int32 `json:"count,omitempty"` } // NewClientInitialAccessCreatePresentation instantiates a new ClientInitialAccessCreatePresentation object @@ -105,7 +105,7 @@ func (o *ClientInitialAccessCreatePresentation) SetCount(v int32) { } func (o ClientInitialAccessCreatePresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -158,3 +158,5 @@ func (v *NullableClientInitialAccessCreatePresentation) UnmarshalJSON(src []byte v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_client_initial_access_presentation.go b/model_client_initial_access_presentation.go index ad70e60..7882e91 100644 --- a/model_client_initial_access_presentation.go +++ b/model_client_initial_access_presentation.go @@ -19,12 +19,12 @@ var _ MappedNullable = &ClientInitialAccessPresentation{} // ClientInitialAccessPresentation struct for ClientInitialAccessPresentation type ClientInitialAccessPresentation struct { - Id *string `json:"id,omitempty"` - Token *string `json:"token,omitempty"` - Timestamp *int32 `json:"timestamp,omitempty"` - Expiration *int32 `json:"expiration,omitempty"` - Count *int32 `json:"count,omitempty"` - RemainingCount *int32 `json:"remainingCount,omitempty"` + Id *string `json:"id,omitempty"` + Token *string `json:"token,omitempty"` + Timestamp *int32 `json:"timestamp,omitempty"` + Expiration *int32 `json:"expiration,omitempty"` + Count *int32 `json:"count,omitempty"` + RemainingCount *int32 `json:"remainingCount,omitempty"` } // NewClientInitialAccessPresentation instantiates a new ClientInitialAccessPresentation object @@ -237,7 +237,7 @@ func (o *ClientInitialAccessPresentation) SetRemainingCount(v int32) { } func (o ClientInitialAccessPresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -302,3 +302,5 @@ func (v *NullableClientInitialAccessPresentation) UnmarshalJSON(src []byte) erro v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_client_mappings_representation.go b/model_client_mappings_representation.go index 4befaf9..f909a7e 100644 --- a/model_client_mappings_representation.go +++ b/model_client_mappings_representation.go @@ -19,8 +19,8 @@ var _ MappedNullable = &ClientMappingsRepresentation{} // ClientMappingsRepresentation struct for ClientMappingsRepresentation type ClientMappingsRepresentation struct { - Id *string `json:"id,omitempty"` - Client *string `json:"client,omitempty"` + Id *string `json:"id,omitempty"` + Client *string `json:"client,omitempty"` Mappings []RoleRepresentation `json:"mappings,omitempty"` } @@ -138,7 +138,7 @@ func (o *ClientMappingsRepresentation) SetMappings(v []RoleRepresentation) { } func (o ClientMappingsRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -194,3 +194,5 @@ func (v *NullableClientMappingsRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_client_policies_representation.go b/model_client_policies_representation.go index f8aa2a7..bf9c7f2 100644 --- a/model_client_policies_representation.go +++ b/model_client_policies_representation.go @@ -19,7 +19,7 @@ var _ MappedNullable = &ClientPoliciesRepresentation{} // ClientPoliciesRepresentation struct for ClientPoliciesRepresentation type ClientPoliciesRepresentation struct { - Policies []ClientPolicyRepresentation `json:"policies,omitempty"` + Policies []ClientPolicyRepresentation `json:"policies,omitempty"` GlobalPolicies []ClientPolicyRepresentation `json:"globalPolicies,omitempty"` } @@ -105,7 +105,7 @@ func (o *ClientPoliciesRepresentation) SetGlobalPolicies(v []ClientPolicyReprese } func (o ClientPoliciesRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -158,3 +158,5 @@ func (v *NullableClientPoliciesRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_client_policy_condition_representation.go b/model_client_policy_condition_representation.go index b4361cb..4ffe296 100644 --- a/model_client_policy_condition_representation.go +++ b/model_client_policy_condition_representation.go @@ -19,7 +19,7 @@ var _ MappedNullable = &ClientPolicyConditionRepresentation{} // ClientPolicyConditionRepresentation struct for ClientPolicyConditionRepresentation type ClientPolicyConditionRepresentation struct { - Condition *string `json:"condition,omitempty"` + Condition *string `json:"condition,omitempty"` Configuration []string `json:"configuration,omitempty"` } @@ -105,7 +105,7 @@ func (o *ClientPolicyConditionRepresentation) SetConfiguration(v []string) { } func (o ClientPolicyConditionRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -158,3 +158,5 @@ func (v *NullableClientPolicyConditionRepresentation) UnmarshalJSON(src []byte) v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_client_policy_executor_representation.go b/model_client_policy_executor_representation.go index f0a849e..a726808 100644 --- a/model_client_policy_executor_representation.go +++ b/model_client_policy_executor_representation.go @@ -19,7 +19,7 @@ var _ MappedNullable = &ClientPolicyExecutorRepresentation{} // ClientPolicyExecutorRepresentation struct for ClientPolicyExecutorRepresentation type ClientPolicyExecutorRepresentation struct { - Executor *string `json:"executor,omitempty"` + Executor *string `json:"executor,omitempty"` Configuration []string `json:"configuration,omitempty"` } @@ -105,7 +105,7 @@ func (o *ClientPolicyExecutorRepresentation) SetConfiguration(v []string) { } func (o ClientPolicyExecutorRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -158,3 +158,5 @@ func (v *NullableClientPolicyExecutorRepresentation) UnmarshalJSON(src []byte) e v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_client_policy_representation.go b/model_client_policy_representation.go index 38d1e96..92dd733 100644 --- a/model_client_policy_representation.go +++ b/model_client_policy_representation.go @@ -19,11 +19,11 @@ var _ MappedNullable = &ClientPolicyRepresentation{} // ClientPolicyRepresentation struct for ClientPolicyRepresentation type ClientPolicyRepresentation struct { - Name *string `json:"name,omitempty"` - Description *string `json:"description,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - Conditions []ClientPolicyConditionRepresentation `json:"conditions,omitempty"` - Profiles []string `json:"profiles,omitempty"` + Name *string `json:"name,omitempty"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Conditions []ClientPolicyConditionRepresentation `json:"conditions,omitempty"` + Profiles []string `json:"profiles,omitempty"` } // NewClientPolicyRepresentation instantiates a new ClientPolicyRepresentation object @@ -204,7 +204,7 @@ func (o *ClientPolicyRepresentation) SetProfiles(v []string) { } func (o ClientPolicyRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -266,3 +266,5 @@ func (v *NullableClientPolicyRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_client_profile_representation.go b/model_client_profile_representation.go index b520ea9..35d9c82 100644 --- a/model_client_profile_representation.go +++ b/model_client_profile_representation.go @@ -19,9 +19,9 @@ var _ MappedNullable = &ClientProfileRepresentation{} // ClientProfileRepresentation struct for ClientProfileRepresentation type ClientProfileRepresentation struct { - Name *string `json:"name,omitempty"` - Description *string `json:"description,omitempty"` - Executors []ClientPolicyExecutorRepresentation `json:"executors,omitempty"` + Name *string `json:"name,omitempty"` + Description *string `json:"description,omitempty"` + Executors []ClientPolicyExecutorRepresentation `json:"executors,omitempty"` } // NewClientProfileRepresentation instantiates a new ClientProfileRepresentation object @@ -138,7 +138,7 @@ func (o *ClientProfileRepresentation) SetExecutors(v []ClientPolicyExecutorRepre } func (o ClientProfileRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -194,3 +194,5 @@ func (v *NullableClientProfileRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_client_profiles_representation.go b/model_client_profiles_representation.go index 919b1c1..5c98af6 100644 --- a/model_client_profiles_representation.go +++ b/model_client_profiles_representation.go @@ -19,7 +19,7 @@ var _ MappedNullable = &ClientProfilesRepresentation{} // ClientProfilesRepresentation struct for ClientProfilesRepresentation type ClientProfilesRepresentation struct { - Profiles []ClientProfileRepresentation `json:"profiles,omitempty"` + Profiles []ClientProfileRepresentation `json:"profiles,omitempty"` GlobalProfiles []ClientProfileRepresentation `json:"globalProfiles,omitempty"` } @@ -105,7 +105,7 @@ func (o *ClientProfilesRepresentation) SetGlobalProfiles(v []ClientProfileRepres } func (o ClientProfilesRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -158,3 +158,5 @@ func (v *NullableClientProfilesRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_client_representation.go b/model_client_representation.go index 24d6ad4..e221f8f 100644 --- a/model_client_representation.go +++ b/model_client_representation.go @@ -19,43 +19,43 @@ var _ MappedNullable = &ClientRepresentation{} // ClientRepresentation struct for ClientRepresentation type ClientRepresentation struct { - Id *string `json:"id,omitempty"` - ClientId *string `json:"clientId,omitempty"` - Name *string `json:"name,omitempty"` - Description *string `json:"description,omitempty"` - Type *string `json:"type,omitempty"` - RootUrl *string `json:"rootUrl,omitempty"` - AdminUrl *string `json:"adminUrl,omitempty"` - BaseUrl *string `json:"baseUrl,omitempty"` - SurrogateAuthRequired *bool `json:"surrogateAuthRequired,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - AlwaysDisplayInConsole *bool `json:"alwaysDisplayInConsole,omitempty"` + Id *string `json:"id,omitempty"` + ClientId *string `json:"clientId,omitempty"` + Name *string `json:"name,omitempty"` + Description *string `json:"description,omitempty"` + Type *string `json:"type,omitempty"` + RootUrl *string `json:"rootUrl,omitempty"` + AdminUrl *string `json:"adminUrl,omitempty"` + BaseUrl *string `json:"baseUrl,omitempty"` + SurrogateAuthRequired *bool `json:"surrogateAuthRequired,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + AlwaysDisplayInConsole *bool `json:"alwaysDisplayInConsole,omitempty"` ClientAuthenticatorType *string `json:"clientAuthenticatorType,omitempty"` - Secret *string `json:"secret,omitempty"` + Secret *string `json:"secret,omitempty"` RegistrationAccessToken *string `json:"registrationAccessToken,omitempty"` // Deprecated - DefaultRoles []string `json:"defaultRoles,omitempty"` - RedirectUris []string `json:"redirectUris,omitempty"` - WebOrigins []string `json:"webOrigins,omitempty"` - NotBefore *int32 `json:"notBefore,omitempty"` - BearerOnly *bool `json:"bearerOnly,omitempty"` - ConsentRequired *bool `json:"consentRequired,omitempty"` - StandardFlowEnabled *bool `json:"standardFlowEnabled,omitempty"` - ImplicitFlowEnabled *bool `json:"implicitFlowEnabled,omitempty"` - DirectAccessGrantsEnabled *bool `json:"directAccessGrantsEnabled,omitempty"` - ServiceAccountsEnabled *bool `json:"serviceAccountsEnabled,omitempty"` - AuthorizationServicesEnabled *bool `json:"authorizationServicesEnabled,omitempty"` + DefaultRoles []string `json:"defaultRoles,omitempty"` + RedirectUris []string `json:"redirectUris,omitempty"` + WebOrigins []string `json:"webOrigins,omitempty"` + NotBefore *int32 `json:"notBefore,omitempty"` + BearerOnly *bool `json:"bearerOnly,omitempty"` + ConsentRequired *bool `json:"consentRequired,omitempty"` + StandardFlowEnabled *bool `json:"standardFlowEnabled,omitempty"` + ImplicitFlowEnabled *bool `json:"implicitFlowEnabled,omitempty"` + DirectAccessGrantsEnabled *bool `json:"directAccessGrantsEnabled,omitempty"` + ServiceAccountsEnabled *bool `json:"serviceAccountsEnabled,omitempty"` + AuthorizationServicesEnabled *bool `json:"authorizationServicesEnabled,omitempty"` // Deprecated - DirectGrantsOnly *bool `json:"directGrantsOnly,omitempty"` - PublicClient *bool `json:"publicClient,omitempty"` - FrontchannelLogout *bool `json:"frontchannelLogout,omitempty"` - Protocol *string `json:"protocol,omitempty"` - Attributes *map[string]string `json:"attributes,omitempty"` - AuthenticationFlowBindingOverrides *map[string]string `json:"authenticationFlowBindingOverrides,omitempty"` - FullScopeAllowed *bool `json:"fullScopeAllowed,omitempty"` - NodeReRegistrationTimeout *int32 `json:"nodeReRegistrationTimeout,omitempty"` - RegisteredNodes *map[string]int32 `json:"registeredNodes,omitempty"` - ProtocolMappers []ProtocolMapperRepresentation `json:"protocolMappers,omitempty"` + DirectGrantsOnly *bool `json:"directGrantsOnly,omitempty"` + PublicClient *bool `json:"publicClient,omitempty"` + FrontchannelLogout *bool `json:"frontchannelLogout,omitempty"` + Protocol *string `json:"protocol,omitempty"` + Attributes *map[string]string `json:"attributes,omitempty"` + AuthenticationFlowBindingOverrides *map[string]string `json:"authenticationFlowBindingOverrides,omitempty"` + FullScopeAllowed *bool `json:"fullScopeAllowed,omitempty"` + NodeReRegistrationTimeout *int32 `json:"nodeReRegistrationTimeout,omitempty"` + RegisteredNodes *map[string]int32 `json:"registeredNodes,omitempty"` + ProtocolMappers []ProtocolMapperRepresentation `json:"protocolMappers,omitempty"` // Deprecated ClientTemplate *string `json:"clientTemplate,omitempty"` // Deprecated @@ -63,12 +63,12 @@ type ClientRepresentation struct { // Deprecated UseTemplateScope *bool `json:"useTemplateScope,omitempty"` // Deprecated - UseTemplateMappers *bool `json:"useTemplateMappers,omitempty"` - DefaultClientScopes []string `json:"defaultClientScopes,omitempty"` - OptionalClientScopes []string `json:"optionalClientScopes,omitempty"` + UseTemplateMappers *bool `json:"useTemplateMappers,omitempty"` + DefaultClientScopes []string `json:"defaultClientScopes,omitempty"` + OptionalClientScopes []string `json:"optionalClientScopes,omitempty"` AuthorizationSettings *ResourceServerRepresentation `json:"authorizationSettings,omitempty"` - Access *map[string]bool `json:"access,omitempty"` - Origin *string `json:"origin,omitempty"` + Access *map[string]bool `json:"access,omitempty"` + Origin *string `json:"origin,omitempty"` } // NewClientRepresentation instantiates a new ClientRepresentation object @@ -1515,7 +1515,7 @@ func (o *ClientRepresentation) SetOrigin(v string) { } func (o ClientRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -1694,3 +1694,5 @@ func (v *NullableClientRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_client_scope_representation.go b/model_client_scope_representation.go index 1c7b4aa..2277145 100644 --- a/model_client_scope_representation.go +++ b/model_client_scope_representation.go @@ -19,11 +19,11 @@ var _ MappedNullable = &ClientScopeRepresentation{} // ClientScopeRepresentation struct for ClientScopeRepresentation type ClientScopeRepresentation struct { - Id *string `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - Description *string `json:"description,omitempty"` - Protocol *string `json:"protocol,omitempty"` - Attributes *map[string]string `json:"attributes,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Description *string `json:"description,omitempty"` + Protocol *string `json:"protocol,omitempty"` + Attributes *map[string]string `json:"attributes,omitempty"` ProtocolMappers []ProtocolMapperRepresentation `json:"protocolMappers,omitempty"` } @@ -237,7 +237,7 @@ func (o *ClientScopeRepresentation) SetProtocolMappers(v []ProtocolMapperReprese } func (o ClientScopeRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -302,3 +302,5 @@ func (v *NullableClientScopeRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_client_template_representation.go b/model_client_template_representation.go index 5139f95..816376c 100644 --- a/model_client_template_representation.go +++ b/model_client_template_representation.go @@ -19,21 +19,21 @@ var _ MappedNullable = &ClientTemplateRepresentation{} // ClientTemplateRepresentation struct for ClientTemplateRepresentation type ClientTemplateRepresentation struct { - Id *string `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - Description *string `json:"description,omitempty"` - Protocol *string `json:"protocol,omitempty"` - FullScopeAllowed *bool `json:"fullScopeAllowed,omitempty"` - BearerOnly *bool `json:"bearerOnly,omitempty"` - ConsentRequired *bool `json:"consentRequired,omitempty"` - StandardFlowEnabled *bool `json:"standardFlowEnabled,omitempty"` - ImplicitFlowEnabled *bool `json:"implicitFlowEnabled,omitempty"` - DirectAccessGrantsEnabled *bool `json:"directAccessGrantsEnabled,omitempty"` - ServiceAccountsEnabled *bool `json:"serviceAccountsEnabled,omitempty"` - PublicClient *bool `json:"publicClient,omitempty"` - FrontchannelLogout *bool `json:"frontchannelLogout,omitempty"` - Attributes *map[string]string `json:"attributes,omitempty"` - ProtocolMappers []ProtocolMapperRepresentation `json:"protocolMappers,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Description *string `json:"description,omitempty"` + Protocol *string `json:"protocol,omitempty"` + FullScopeAllowed *bool `json:"fullScopeAllowed,omitempty"` + BearerOnly *bool `json:"bearerOnly,omitempty"` + ConsentRequired *bool `json:"consentRequired,omitempty"` + StandardFlowEnabled *bool `json:"standardFlowEnabled,omitempty"` + ImplicitFlowEnabled *bool `json:"implicitFlowEnabled,omitempty"` + DirectAccessGrantsEnabled *bool `json:"directAccessGrantsEnabled,omitempty"` + ServiceAccountsEnabled *bool `json:"serviceAccountsEnabled,omitempty"` + PublicClient *bool `json:"publicClient,omitempty"` + FrontchannelLogout *bool `json:"frontchannelLogout,omitempty"` + Attributes *map[string]string `json:"attributes,omitempty"` + ProtocolMappers []ProtocolMapperRepresentation `json:"protocolMappers,omitempty"` } // NewClientTemplateRepresentation instantiates a new ClientTemplateRepresentation object @@ -534,7 +534,7 @@ func (o *ClientTemplateRepresentation) SetProtocolMappers(v []ProtocolMapperRepr } func (o ClientTemplateRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -626,3 +626,5 @@ func (v *NullableClientTemplateRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_client_type_representation.go b/model_client_type_representation.go index 0051cb0..3802958 100644 --- a/model_client_type_representation.go +++ b/model_client_type_representation.go @@ -19,10 +19,10 @@ var _ MappedNullable = &ClientTypeRepresentation{} // ClientTypeRepresentation struct for ClientTypeRepresentation type ClientTypeRepresentation struct { - Name *string `json:"name,omitempty"` - Provider *string `json:"provider,omitempty"` - Parent *string `json:"parent,omitempty"` - Config *map[string]PropertyConfig `json:"config,omitempty"` + Name *string `json:"name,omitempty"` + Provider *string `json:"provider,omitempty"` + Parent *string `json:"parent,omitempty"` + Config *map[string]PropertyConfig `json:"config,omitempty"` } // NewClientTypeRepresentation instantiates a new ClientTypeRepresentation object @@ -171,7 +171,7 @@ func (o *ClientTypeRepresentation) SetConfig(v map[string]PropertyConfig) { } func (o ClientTypeRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -230,3 +230,5 @@ func (v *NullableClientTypeRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_client_types_representation.go b/model_client_types_representation.go index 7d163df..2fc50c4 100644 --- a/model_client_types_representation.go +++ b/model_client_types_representation.go @@ -19,7 +19,7 @@ var _ MappedNullable = &ClientTypesRepresentation{} // ClientTypesRepresentation struct for ClientTypesRepresentation type ClientTypesRepresentation struct { - ClientTypes []ClientTypeRepresentation `json:"client-types,omitempty"` + ClientTypes []ClientTypeRepresentation `json:"client-types,omitempty"` GlobalClientTypes []ClientTypeRepresentation `json:"global-client-types,omitempty"` } @@ -105,7 +105,7 @@ func (o *ClientTypesRepresentation) SetGlobalClientTypes(v []ClientTypeRepresent } func (o ClientTypesRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -158,3 +158,5 @@ func (v *NullableClientTypesRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_component_export_representation.go b/model_component_export_representation.go index 9697ef7..a0a444f 100644 --- a/model_component_export_representation.go +++ b/model_component_export_representation.go @@ -19,12 +19,12 @@ var _ MappedNullable = &ComponentExportRepresentation{} // ComponentExportRepresentation struct for ComponentExportRepresentation type ComponentExportRepresentation struct { - Id *string `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - ProviderId *string `json:"providerId,omitempty"` - SubType *string `json:"subType,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + ProviderId *string `json:"providerId,omitempty"` + SubType *string `json:"subType,omitempty"` SubComponents *map[string][]ComponentExportRepresentation `json:"subComponents,omitempty"` - Config *map[string][]string `json:"config,omitempty"` + Config *map[string][]string `json:"config,omitempty"` } // NewComponentExportRepresentation instantiates a new ComponentExportRepresentation object @@ -237,7 +237,7 @@ func (o *ComponentExportRepresentation) SetConfig(v map[string][]string) { } func (o ComponentExportRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -302,3 +302,5 @@ func (v *NullableComponentExportRepresentation) UnmarshalJSON(src []byte) error v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_component_representation.go b/model_component_representation.go index 1a7ecdc..c4d0c73 100644 --- a/model_component_representation.go +++ b/model_component_representation.go @@ -19,13 +19,13 @@ var _ MappedNullable = &ComponentRepresentation{} // ComponentRepresentation struct for ComponentRepresentation type ComponentRepresentation struct { - Id *string `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - ProviderId *string `json:"providerId,omitempty"` - ProviderType *string `json:"providerType,omitempty"` - ParentId *string `json:"parentId,omitempty"` - SubType *string `json:"subType,omitempty"` - Config *map[string][]string `json:"config,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + ProviderId *string `json:"providerId,omitempty"` + ProviderType *string `json:"providerType,omitempty"` + ParentId *string `json:"parentId,omitempty"` + SubType *string `json:"subType,omitempty"` + Config *map[string][]string `json:"config,omitempty"` } // NewComponentRepresentation instantiates a new ComponentRepresentation object @@ -270,7 +270,7 @@ func (o *ComponentRepresentation) SetConfig(v map[string][]string) { } func (o ComponentRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -338,3 +338,5 @@ func (v *NullableComponentRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_component_type_representation.go b/model_component_type_representation.go index 42f2b7a..c84369c 100644 --- a/model_component_type_representation.go +++ b/model_component_type_representation.go @@ -19,10 +19,10 @@ var _ MappedNullable = &ComponentTypeRepresentation{} // ComponentTypeRepresentation struct for ComponentTypeRepresentation type ComponentTypeRepresentation struct { - Id *string `json:"id,omitempty"` - HelpText *string `json:"helpText,omitempty"` + Id *string `json:"id,omitempty"` + HelpText *string `json:"helpText,omitempty"` Properties []ConfigPropertyRepresentation `json:"properties,omitempty"` - Metadata map[string]interface{} `json:"metadata,omitempty"` + Metadata map[string]interface{} `json:"metadata,omitempty"` } // NewComponentTypeRepresentation instantiates a new ComponentTypeRepresentation object @@ -171,7 +171,7 @@ func (o *ComponentTypeRepresentation) SetMetadata(v map[string]interface{}) { } func (o ComponentTypeRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -230,3 +230,5 @@ func (v *NullableComponentTypeRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_composites.go b/model_composites.go index 9220cff..7d02e6b 100644 --- a/model_composites.go +++ b/model_composites.go @@ -19,7 +19,7 @@ var _ MappedNullable = &Composites{} // Composites struct for Composites type Composites struct { - Realm []string `json:"realm,omitempty"` + Realm []string `json:"realm,omitempty"` Client *map[string][]string `json:"client,omitempty"` // Deprecated Application *map[string][]string `json:"application,omitempty"` @@ -142,7 +142,7 @@ func (o *Composites) SetApplication(v map[string][]string) { } func (o Composites) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -198,3 +198,5 @@ func (v *NullableComposites) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_config_property_representation.go b/model_config_property_representation.go index 3ce9310..d9f069b 100644 --- a/model_config_property_representation.go +++ b/model_config_property_representation.go @@ -19,15 +19,15 @@ var _ MappedNullable = &ConfigPropertyRepresentation{} // ConfigPropertyRepresentation struct for ConfigPropertyRepresentation type ConfigPropertyRepresentation struct { - Name *string `json:"name,omitempty"` - Label *string `json:"label,omitempty"` - HelpText *string `json:"helpText,omitempty"` - Type *string `json:"type,omitempty"` + Name *string `json:"name,omitempty"` + Label *string `json:"label,omitempty"` + HelpText *string `json:"helpText,omitempty"` + Type *string `json:"type,omitempty"` DefaultValue interface{} `json:"defaultValue,omitempty"` - Options []string `json:"options,omitempty"` - Secret *bool `json:"secret,omitempty"` - Required *bool `json:"required,omitempty"` - ReadOnly *bool `json:"readOnly,omitempty"` + Options []string `json:"options,omitempty"` + Secret *bool `json:"secret,omitempty"` + Required *bool `json:"required,omitempty"` + ReadOnly *bool `json:"readOnly,omitempty"` } // NewConfigPropertyRepresentation instantiates a new ConfigPropertyRepresentation object @@ -337,7 +337,7 @@ func (o *ConfigPropertyRepresentation) SetReadOnly(v bool) { } func (o ConfigPropertyRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -411,3 +411,5 @@ func (v *NullableConfigPropertyRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_confirmation.go b/model_confirmation.go index a4d74dc..3c48e50 100644 --- a/model_confirmation.go +++ b/model_confirmation.go @@ -20,7 +20,7 @@ var _ MappedNullable = &Confirmation{} // Confirmation struct for Confirmation type Confirmation struct { X5tS256 *string `json:"x5t#S256,omitempty"` - Jkt *string `json:"jkt,omitempty"` + Jkt *string `json:"jkt,omitempty"` } // NewConfirmation instantiates a new Confirmation object @@ -105,7 +105,7 @@ func (o *Confirmation) SetJkt(v string) { } func (o Confirmation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -158,3 +158,5 @@ func (v *NullableConfirmation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_credential_representation.go b/model_credential_representation.go index 22d04a3..a9c1038 100644 --- a/model_credential_representation.go +++ b/model_credential_representation.go @@ -19,15 +19,15 @@ var _ MappedNullable = &CredentialRepresentation{} // CredentialRepresentation struct for CredentialRepresentation type CredentialRepresentation struct { - Id *string `json:"id,omitempty"` - Type *string `json:"type,omitempty"` - UserLabel *string `json:"userLabel,omitempty"` - CreatedDate *int64 `json:"createdDate,omitempty"` - SecretData *string `json:"secretData,omitempty"` + Id *string `json:"id,omitempty"` + Type *string `json:"type,omitempty"` + UserLabel *string `json:"userLabel,omitempty"` + CreatedDate *int64 `json:"createdDate,omitempty"` + SecretData *string `json:"secretData,omitempty"` CredentialData *string `json:"credentialData,omitempty"` - Priority *int32 `json:"priority,omitempty"` - Value *string `json:"value,omitempty"` - Temporary *bool `json:"temporary,omitempty"` + Priority *int32 `json:"priority,omitempty"` + Value *string `json:"value,omitempty"` + Temporary *bool `json:"temporary,omitempty"` // Deprecated Device *string `json:"device,omitempty"` // Deprecated @@ -669,7 +669,7 @@ func (o *CredentialRepresentation) SetConfig(v map[string][]string) { } func (o CredentialRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -770,3 +770,5 @@ func (v *NullableCredentialRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_decision_effect.go b/model_decision_effect.go index b000e45..ab84f38 100644 --- a/model_decision_effect.go +++ b/model_decision_effect.go @@ -21,7 +21,7 @@ type DecisionEffect string // List of DecisionEffect const ( PERMIT DecisionEffect = "PERMIT" - DENY DecisionEffect = "DENY" + DENY DecisionEffect = "DENY" ) // All allowed values of DecisionEffect enum @@ -108,3 +108,4 @@ func (v *NullableDecisionEffect) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + diff --git a/model_decision_strategy.go b/model_decision_strategy.go index 573ce70..4d3c562 100644 --- a/model_decision_strategy.go +++ b/model_decision_strategy.go @@ -21,8 +21,8 @@ type DecisionStrategy string // List of DecisionStrategy const ( AFFIRMATIVE DecisionStrategy = "AFFIRMATIVE" - UNANIMOUS DecisionStrategy = "UNANIMOUS" - CONSENSUS DecisionStrategy = "CONSENSUS" + UNANIMOUS DecisionStrategy = "UNANIMOUS" + CONSENSUS DecisionStrategy = "CONSENSUS" ) // All allowed values of DecisionStrategy enum @@ -110,3 +110,4 @@ func (v *NullableDecisionStrategy) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + diff --git a/model_enforcement_mode.go b/model_enforcement_mode.go index dc6b9f7..827acc9 100644 --- a/model_enforcement_mode.go +++ b/model_enforcement_mode.go @@ -21,8 +21,8 @@ type EnforcementMode string // List of EnforcementMode const ( PERMISSIVE EnforcementMode = "PERMISSIVE" - ENFORCING EnforcementMode = "ENFORCING" - DISABLED EnforcementMode = "DISABLED" + ENFORCING EnforcementMode = "ENFORCING" + DISABLED EnforcementMode = "DISABLED" ) // All allowed values of EnforcementMode enum @@ -110,3 +110,4 @@ func (v *NullableEnforcementMode) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + diff --git a/model_evaluation_result_representation.go b/model_evaluation_result_representation.go index 521df29..bbe411c 100644 --- a/model_evaluation_result_representation.go +++ b/model_evaluation_result_representation.go @@ -19,11 +19,11 @@ var _ MappedNullable = &EvaluationResultRepresentation{} // EvaluationResultRepresentation struct for EvaluationResultRepresentation type EvaluationResultRepresentation struct { - Resource *ResourceRepresentation `json:"resource,omitempty"` - Scopes []ScopeRepresentation `json:"scopes,omitempty"` - Policies []PolicyResultRepresentation `json:"policies,omitempty"` - Status *DecisionEffect `json:"status,omitempty"` - AllowedScopes []ScopeRepresentation `json:"allowedScopes,omitempty"` + Resource *ResourceRepresentation `json:"resource,omitempty"` + Scopes []ScopeRepresentation `json:"scopes,omitempty"` + Policies []PolicyResultRepresentation `json:"policies,omitempty"` + Status *DecisionEffect `json:"status,omitempty"` + AllowedScopes []ScopeRepresentation `json:"allowedScopes,omitempty"` } // NewEvaluationResultRepresentation instantiates a new EvaluationResultRepresentation object @@ -204,7 +204,7 @@ func (o *EvaluationResultRepresentation) SetAllowedScopes(v []ScopeRepresentatio } func (o EvaluationResultRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -266,3 +266,5 @@ func (v *NullableEvaluationResultRepresentation) UnmarshalJSON(src []byte) error v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_event_representation.go b/model_event_representation.go index b6088c4..5e79daf 100644 --- a/model_event_representation.go +++ b/model_event_representation.go @@ -19,15 +19,15 @@ var _ MappedNullable = &EventRepresentation{} // EventRepresentation struct for EventRepresentation type EventRepresentation struct { - Time *int64 `json:"time,omitempty"` - Type *string `json:"type,omitempty"` - RealmId *string `json:"realmId,omitempty"` - ClientId *string `json:"clientId,omitempty"` - UserId *string `json:"userId,omitempty"` - SessionId *string `json:"sessionId,omitempty"` - IpAddress *string `json:"ipAddress,omitempty"` - Error *string `json:"error,omitempty"` - Details *map[string]string `json:"details,omitempty"` + Time *int64 `json:"time,omitempty"` + Type *string `json:"type,omitempty"` + RealmId *string `json:"realmId,omitempty"` + ClientId *string `json:"clientId,omitempty"` + UserId *string `json:"userId,omitempty"` + SessionId *string `json:"sessionId,omitempty"` + IpAddress *string `json:"ipAddress,omitempty"` + Error *string `json:"error,omitempty"` + Details *map[string]string `json:"details,omitempty"` } // NewEventRepresentation instantiates a new EventRepresentation object @@ -336,7 +336,7 @@ func (o *EventRepresentation) SetDetails(v map[string]string) { } func (o EventRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -410,3 +410,5 @@ func (v *NullableEventRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_federated_identity_representation.go b/model_federated_identity_representation.go index a3fb7bc..c2be53d 100644 --- a/model_federated_identity_representation.go +++ b/model_federated_identity_representation.go @@ -20,8 +20,8 @@ var _ MappedNullable = &FederatedIdentityRepresentation{} // FederatedIdentityRepresentation struct for FederatedIdentityRepresentation type FederatedIdentityRepresentation struct { IdentityProvider *string `json:"identityProvider,omitempty"` - UserId *string `json:"userId,omitempty"` - UserName *string `json:"userName,omitempty"` + UserId *string `json:"userId,omitempty"` + UserName *string `json:"userName,omitempty"` } // NewFederatedIdentityRepresentation instantiates a new FederatedIdentityRepresentation object @@ -138,7 +138,7 @@ func (o *FederatedIdentityRepresentation) SetUserName(v string) { } func (o FederatedIdentityRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -194,3 +194,5 @@ func (v *NullableFederatedIdentityRepresentation) UnmarshalJSON(src []byte) erro v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_global_request_result.go b/model_global_request_result.go index ef82e27..3014fd8 100644 --- a/model_global_request_result.go +++ b/model_global_request_result.go @@ -20,7 +20,7 @@ var _ MappedNullable = &GlobalRequestResult{} // GlobalRequestResult struct for GlobalRequestResult type GlobalRequestResult struct { SuccessRequests []string `json:"successRequests,omitempty"` - FailedRequests []string `json:"failedRequests,omitempty"` + FailedRequests []string `json:"failedRequests,omitempty"` } // NewGlobalRequestResult instantiates a new GlobalRequestResult object @@ -105,7 +105,7 @@ func (o *GlobalRequestResult) SetFailedRequests(v []string) { } func (o GlobalRequestResult) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -158,3 +158,5 @@ func (v *NullableGlobalRequestResult) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_group_representation.go b/model_group_representation.go index 1ccabaa..c1a8795 100644 --- a/model_group_representation.go +++ b/model_group_representation.go @@ -19,16 +19,16 @@ var _ MappedNullable = &GroupRepresentation{} // GroupRepresentation struct for GroupRepresentation type GroupRepresentation struct { - Id *string `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - Path *string `json:"path,omitempty"` - ParentId *string `json:"parentId,omitempty"` - SubGroupCount *int64 `json:"subGroupCount,omitempty"` - SubGroups []GroupRepresentation `json:"subGroups,omitempty"` - Attributes *map[string][]string `json:"attributes,omitempty"` - RealmRoles []string `json:"realmRoles,omitempty"` - ClientRoles *map[string][]string `json:"clientRoles,omitempty"` - Access *map[string]bool `json:"access,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Path *string `json:"path,omitempty"` + ParentId *string `json:"parentId,omitempty"` + SubGroupCount *int64 `json:"subGroupCount,omitempty"` + SubGroups []GroupRepresentation `json:"subGroups,omitempty"` + Attributes *map[string][]string `json:"attributes,omitempty"` + RealmRoles []string `json:"realmRoles,omitempty"` + ClientRoles *map[string][]string `json:"clientRoles,omitempty"` + Access *map[string]bool `json:"access,omitempty"` } // NewGroupRepresentation instantiates a new GroupRepresentation object @@ -369,7 +369,7 @@ func (o *GroupRepresentation) SetAccess(v map[string]bool) { } func (o GroupRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -446,3 +446,5 @@ func (v *NullableGroupRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_id_token.go b/model_id_token.go index 79b713c..9b35140 100644 --- a/model_id_token.go +++ b/model_id_token.go @@ -19,42 +19,42 @@ var _ MappedNullable = &IDToken{} // IDToken struct for IDToken type IDToken struct { - Jti *string `json:"jti,omitempty"` - Exp *int64 `json:"exp,omitempty"` - Nbf *int64 `json:"nbf,omitempty"` - Iat *int64 `json:"iat,omitempty"` - Iss *string `json:"iss,omitempty"` - Sub *string `json:"sub,omitempty"` - Typ *string `json:"typ,omitempty"` - Azp *string `json:"azp,omitempty"` - OtherClaims map[string]interface{} `json:"otherClaims,omitempty"` - Nonce *string `json:"nonce,omitempty"` - AuthTime *int64 `json:"auth_time,omitempty"` - Sid *string `json:"sid,omitempty"` - AtHash *string `json:"at_hash,omitempty"` - CHash *string `json:"c_hash,omitempty"` - Name *string `json:"name,omitempty"` - GivenName *string `json:"given_name,omitempty"` - FamilyName *string `json:"family_name,omitempty"` - MiddleName *string `json:"middle_name,omitempty"` - Nickname *string `json:"nickname,omitempty"` - PreferredUsername *string `json:"preferred_username,omitempty"` - Profile *string `json:"profile,omitempty"` - Picture *string `json:"picture,omitempty"` - Website *string `json:"website,omitempty"` - Email *string `json:"email,omitempty"` - EmailVerified *bool `json:"email_verified,omitempty"` - Gender *string `json:"gender,omitempty"` - Birthdate *string `json:"birthdate,omitempty"` - Zoneinfo *string `json:"zoneinfo,omitempty"` - Locale *string `json:"locale,omitempty"` - PhoneNumber *string `json:"phone_number,omitempty"` - PhoneNumberVerified *bool `json:"phone_number_verified,omitempty"` - Address *AddressClaimSet `json:"address,omitempty"` - UpdatedAt *int64 `json:"updated_at,omitempty"` - ClaimsLocales *string `json:"claims_locales,omitempty"` - Acr *string `json:"acr,omitempty"` - SHash *string `json:"s_hash,omitempty"` + Jti *string `json:"jti,omitempty"` + Exp *int64 `json:"exp,omitempty"` + Nbf *int64 `json:"nbf,omitempty"` + Iat *int64 `json:"iat,omitempty"` + Iss *string `json:"iss,omitempty"` + Sub *string `json:"sub,omitempty"` + Typ *string `json:"typ,omitempty"` + Azp *string `json:"azp,omitempty"` + OtherClaims map[string]interface{} `json:"otherClaims,omitempty"` + Nonce *string `json:"nonce,omitempty"` + AuthTime *int64 `json:"auth_time,omitempty"` + Sid *string `json:"sid,omitempty"` + AtHash *string `json:"at_hash,omitempty"` + CHash *string `json:"c_hash,omitempty"` + Name *string `json:"name,omitempty"` + GivenName *string `json:"given_name,omitempty"` + FamilyName *string `json:"family_name,omitempty"` + MiddleName *string `json:"middle_name,omitempty"` + Nickname *string `json:"nickname,omitempty"` + PreferredUsername *string `json:"preferred_username,omitempty"` + Profile *string `json:"profile,omitempty"` + Picture *string `json:"picture,omitempty"` + Website *string `json:"website,omitempty"` + Email *string `json:"email,omitempty"` + EmailVerified *bool `json:"email_verified,omitempty"` + Gender *string `json:"gender,omitempty"` + Birthdate *string `json:"birthdate,omitempty"` + Zoneinfo *string `json:"zoneinfo,omitempty"` + Locale *string `json:"locale,omitempty"` + PhoneNumber *string `json:"phone_number,omitempty"` + PhoneNumberVerified *bool `json:"phone_number_verified,omitempty"` + Address *AddressClaimSet `json:"address,omitempty"` + UpdatedAt *int64 `json:"updated_at,omitempty"` + ClaimsLocales *string `json:"claims_locales,omitempty"` + Acr *string `json:"acr,omitempty"` + SHash *string `json:"s_hash,omitempty"` } // NewIDToken instantiates a new IDToken object @@ -1227,7 +1227,7 @@ func (o *IDToken) SetSHash(v string) { } func (o IDToken) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -1382,3 +1382,5 @@ func (v *NullableIDToken) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_identity_provider_mapper_representation.go b/model_identity_provider_mapper_representation.go index 97d140d..7e54d82 100644 --- a/model_identity_provider_mapper_representation.go +++ b/model_identity_provider_mapper_representation.go @@ -19,11 +19,11 @@ var _ MappedNullable = &IdentityProviderMapperRepresentation{} // IdentityProviderMapperRepresentation struct for IdentityProviderMapperRepresentation type IdentityProviderMapperRepresentation struct { - Id *string `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - IdentityProviderAlias *string `json:"identityProviderAlias,omitempty"` - IdentityProviderMapper *string `json:"identityProviderMapper,omitempty"` - Config *map[string]string `json:"config,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + IdentityProviderAlias *string `json:"identityProviderAlias,omitempty"` + IdentityProviderMapper *string `json:"identityProviderMapper,omitempty"` + Config *map[string]string `json:"config,omitempty"` } // NewIdentityProviderMapperRepresentation instantiates a new IdentityProviderMapperRepresentation object @@ -204,7 +204,7 @@ func (o *IdentityProviderMapperRepresentation) SetConfig(v map[string]string) { } func (o IdentityProviderMapperRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -266,3 +266,5 @@ func (v *NullableIdentityProviderMapperRepresentation) UnmarshalJSON(src []byte) v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_identity_provider_mapper_type_representation.go b/model_identity_provider_mapper_type_representation.go index 3054a08..3cd4547 100644 --- a/model_identity_provider_mapper_type_representation.go +++ b/model_identity_provider_mapper_type_representation.go @@ -19,10 +19,10 @@ var _ MappedNullable = &IdentityProviderMapperTypeRepresentation{} // IdentityProviderMapperTypeRepresentation struct for IdentityProviderMapperTypeRepresentation type IdentityProviderMapperTypeRepresentation struct { - Id *string `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - Category *string `json:"category,omitempty"` - HelpText *string `json:"helpText,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Category *string `json:"category,omitempty"` + HelpText *string `json:"helpText,omitempty"` Properties []ConfigPropertyRepresentation `json:"properties,omitempty"` } @@ -204,7 +204,7 @@ func (o *IdentityProviderMapperTypeRepresentation) SetProperties(v []ConfigPrope } func (o IdentityProviderMapperTypeRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -266,3 +266,5 @@ func (v *NullableIdentityProviderMapperTypeRepresentation) UnmarshalJSON(src []b v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_identity_provider_representation.go b/model_identity_provider_representation.go index 353fef9..d33b1c1 100644 --- a/model_identity_provider_representation.go +++ b/model_identity_provider_representation.go @@ -19,23 +19,23 @@ var _ MappedNullable = &IdentityProviderRepresentation{} // IdentityProviderRepresentation struct for IdentityProviderRepresentation type IdentityProviderRepresentation struct { - Alias *string `json:"alias,omitempty"` + Alias *string `json:"alias,omitempty"` DisplayName *string `json:"displayName,omitempty"` - InternalId *string `json:"internalId,omitempty"` - ProviderId *string `json:"providerId,omitempty"` - Enabled *bool `json:"enabled,omitempty"` + InternalId *string `json:"internalId,omitempty"` + ProviderId *string `json:"providerId,omitempty"` + Enabled *bool `json:"enabled,omitempty"` // Deprecated - UpdateProfileFirstLoginMode *string `json:"updateProfileFirstLoginMode,omitempty"` - TrustEmail *bool `json:"trustEmail,omitempty"` - StoreToken *bool `json:"storeToken,omitempty"` - AddReadTokenRoleOnCreate *bool `json:"addReadTokenRoleOnCreate,omitempty"` - AuthenticateByDefault *bool `json:"authenticateByDefault,omitempty"` - LinkOnly *bool `json:"linkOnly,omitempty"` - HideOnLogin *bool `json:"hideOnLogin,omitempty"` - FirstBrokerLoginFlowAlias *string `json:"firstBrokerLoginFlowAlias,omitempty"` - PostBrokerLoginFlowAlias *string `json:"postBrokerLoginFlowAlias,omitempty"` - OrganizationId *string `json:"organizationId,omitempty"` - Config *map[string]string `json:"config,omitempty"` + UpdateProfileFirstLoginMode *string `json:"updateProfileFirstLoginMode,omitempty"` + TrustEmail *bool `json:"trustEmail,omitempty"` + StoreToken *bool `json:"storeToken,omitempty"` + AddReadTokenRoleOnCreate *bool `json:"addReadTokenRoleOnCreate,omitempty"` + AuthenticateByDefault *bool `json:"authenticateByDefault,omitempty"` + LinkOnly *bool `json:"linkOnly,omitempty"` + HideOnLogin *bool `json:"hideOnLogin,omitempty"` + FirstBrokerLoginFlowAlias *string `json:"firstBrokerLoginFlowAlias,omitempty"` + PostBrokerLoginFlowAlias *string `json:"postBrokerLoginFlowAlias,omitempty"` + OrganizationId *string `json:"organizationId,omitempty"` + Config *map[string]string `json:"config,omitempty"` // Deprecated UpdateProfileFirstLogin *bool `json:"updateProfileFirstLogin,omitempty"` } @@ -608,7 +608,7 @@ func (o *IdentityProviderRepresentation) SetUpdateProfileFirstLogin(v bool) { } func (o IdentityProviderRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -706,3 +706,5 @@ func (v *NullableIdentityProviderRepresentation) UnmarshalJSON(src []byte) error v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_installation_adapter_config.go b/model_installation_adapter_config.go index 28aeaba..66eba4f 100644 --- a/model_installation_adapter_config.go +++ b/model_installation_adapter_config.go @@ -19,18 +19,18 @@ var _ MappedNullable = &InstallationAdapterConfig{} // InstallationAdapterConfig struct for InstallationAdapterConfig type InstallationAdapterConfig struct { - Realm *string `json:"realm,omitempty"` - RealmPublicKey *string `json:"realm-public-key,omitempty"` - AuthServerUrl *string `json:"auth-server-url,omitempty"` - SslRequired *string `json:"ssl-required,omitempty"` - BearerOnly *bool `json:"bearer-only,omitempty"` - Resource *string `json:"resource,omitempty"` - PublicClient *bool `json:"public-client,omitempty"` - VerifyTokenAudience *bool `json:"verify-token-audience,omitempty"` - Credentials map[string]interface{} `json:"credentials,omitempty"` - UseResourceRoleMappings *bool `json:"use-resource-role-mappings,omitempty"` - ConfidentialPort *int32 `json:"confidential-port,omitempty"` - PolicyEnforcer *PolicyEnforcerConfig `json:"policy-enforcer,omitempty"` + Realm *string `json:"realm,omitempty"` + RealmPublicKey *string `json:"realm-public-key,omitempty"` + AuthServerUrl *string `json:"auth-server-url,omitempty"` + SslRequired *string `json:"ssl-required,omitempty"` + BearerOnly *bool `json:"bearer-only,omitempty"` + Resource *string `json:"resource,omitempty"` + PublicClient *bool `json:"public-client,omitempty"` + VerifyTokenAudience *bool `json:"verify-token-audience,omitempty"` + Credentials map[string]interface{} `json:"credentials,omitempty"` + UseResourceRoleMappings *bool `json:"use-resource-role-mappings,omitempty"` + ConfidentialPort *int32 `json:"confidential-port,omitempty"` + PolicyEnforcer *PolicyEnforcerConfig `json:"policy-enforcer,omitempty"` } // NewInstallationAdapterConfig instantiates a new InstallationAdapterConfig object @@ -435,7 +435,7 @@ func (o *InstallationAdapterConfig) SetPolicyEnforcer(v PolicyEnforcerConfig) { } func (o InstallationAdapterConfig) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -518,3 +518,5 @@ func (v *NullableInstallationAdapterConfig) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_key_metadata_representation.go b/model_key_metadata_representation.go index 5414f24..922a7f6 100644 --- a/model_key_metadata_representation.go +++ b/model_key_metadata_representation.go @@ -19,16 +19,16 @@ var _ MappedNullable = &KeyMetadataRepresentation{} // KeyMetadataRepresentation struct for KeyMetadataRepresentation type KeyMetadataRepresentation struct { - ProviderId *string `json:"providerId,omitempty"` - ProviderPriority *int64 `json:"providerPriority,omitempty"` - Kid *string `json:"kid,omitempty"` - Status *string `json:"status,omitempty"` - Type *string `json:"type,omitempty"` - Algorithm *string `json:"algorithm,omitempty"` - PublicKey *string `json:"publicKey,omitempty"` - Certificate *string `json:"certificate,omitempty"` - Use *KeyUse `json:"use,omitempty"` - ValidTo *int64 `json:"validTo,omitempty"` + ProviderId *string `json:"providerId,omitempty"` + ProviderPriority *int64 `json:"providerPriority,omitempty"` + Kid *string `json:"kid,omitempty"` + Status *string `json:"status,omitempty"` + Type *string `json:"type,omitempty"` + Algorithm *string `json:"algorithm,omitempty"` + PublicKey *string `json:"publicKey,omitempty"` + Certificate *string `json:"certificate,omitempty"` + Use *KeyUse `json:"use,omitempty"` + ValidTo *int64 `json:"validTo,omitempty"` } // NewKeyMetadataRepresentation instantiates a new KeyMetadataRepresentation object @@ -369,7 +369,7 @@ func (o *KeyMetadataRepresentation) SetValidTo(v int64) { } func (o KeyMetadataRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -446,3 +446,5 @@ func (v *NullableKeyMetadataRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_key_store_config.go b/model_key_store_config.go index 56a3c54..1cfd7f1 100644 --- a/model_key_store_config.go +++ b/model_key_store_config.go @@ -19,12 +19,12 @@ var _ MappedNullable = &KeyStoreConfig{} // KeyStoreConfig struct for KeyStoreConfig type KeyStoreConfig struct { - RealmCertificate *bool `json:"realmCertificate,omitempty"` - StorePassword *string `json:"storePassword,omitempty"` - KeyPassword *string `json:"keyPassword,omitempty"` - KeyAlias *string `json:"keyAlias,omitempty"` - RealmAlias *string `json:"realmAlias,omitempty"` - Format *string `json:"format,omitempty"` + RealmCertificate *bool `json:"realmCertificate,omitempty"` + StorePassword *string `json:"storePassword,omitempty"` + KeyPassword *string `json:"keyPassword,omitempty"` + KeyAlias *string `json:"keyAlias,omitempty"` + RealmAlias *string `json:"realmAlias,omitempty"` + Format *string `json:"format,omitempty"` } // NewKeyStoreConfig instantiates a new KeyStoreConfig object @@ -237,7 +237,7 @@ func (o *KeyStoreConfig) SetFormat(v string) { } func (o KeyStoreConfig) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -302,3 +302,5 @@ func (v *NullableKeyStoreConfig) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_key_use.go b/model_key_use.go index 9eb2f5d..27cfd60 100644 --- a/model_key_use.go +++ b/model_key_use.go @@ -108,3 +108,4 @@ func (v *NullableKeyUse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + diff --git a/model_keys_metadata_representation.go b/model_keys_metadata_representation.go index c86c801..b5e0ea4 100644 --- a/model_keys_metadata_representation.go +++ b/model_keys_metadata_representation.go @@ -19,8 +19,8 @@ var _ MappedNullable = &KeysMetadataRepresentation{} // KeysMetadataRepresentation struct for KeysMetadataRepresentation type KeysMetadataRepresentation struct { - Active *map[string]string `json:"active,omitempty"` - Keys []KeyMetadataRepresentation `json:"keys,omitempty"` + Active *map[string]string `json:"active,omitempty"` + Keys []KeyMetadataRepresentation `json:"keys,omitempty"` } // NewKeysMetadataRepresentation instantiates a new KeysMetadataRepresentation object @@ -105,7 +105,7 @@ func (o *KeysMetadataRepresentation) SetKeys(v []KeyMetadataRepresentation) { } func (o KeysMetadataRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -158,3 +158,5 @@ func (v *NullableKeysMetadataRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_logic.go b/model_logic.go index 1e40e0d..ba34e12 100644 --- a/model_logic.go +++ b/model_logic.go @@ -108,3 +108,4 @@ func (v *NullableLogic) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + diff --git a/model_management_permission_reference.go b/model_management_permission_reference.go index f1dd036..47010e3 100644 --- a/model_management_permission_reference.go +++ b/model_management_permission_reference.go @@ -19,8 +19,8 @@ var _ MappedNullable = &ManagementPermissionReference{} // ManagementPermissionReference struct for ManagementPermissionReference type ManagementPermissionReference struct { - Enabled *bool `json:"enabled,omitempty"` - Resource *string `json:"resource,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Resource *string `json:"resource,omitempty"` ScopePermissions *map[string]string `json:"scopePermissions,omitempty"` } @@ -138,7 +138,7 @@ func (o *ManagementPermissionReference) SetScopePermissions(v map[string]string) } func (o ManagementPermissionReference) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -194,3 +194,5 @@ func (v *NullableManagementPermissionReference) UnmarshalJSON(src []byte) error v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_mappings_representation.go b/model_mappings_representation.go index 4eee7fc..990dedf 100644 --- a/model_mappings_representation.go +++ b/model_mappings_representation.go @@ -19,7 +19,7 @@ var _ MappedNullable = &MappingsRepresentation{} // MappingsRepresentation struct for MappingsRepresentation type MappingsRepresentation struct { - RealmMappings []RoleRepresentation `json:"realmMappings,omitempty"` + RealmMappings []RoleRepresentation `json:"realmMappings,omitempty"` ClientMappings *map[string]ClientMappingsRepresentation `json:"clientMappings,omitempty"` } @@ -105,7 +105,7 @@ func (o *MappingsRepresentation) SetClientMappings(v map[string]ClientMappingsRe } func (o MappingsRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -158,3 +158,5 @@ func (v *NullableMappingsRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_member_representation.go b/model_member_representation.go index 6083ada..e26b5c7 100644 --- a/model_member_representation.go +++ b/model_member_representation.go @@ -19,36 +19,36 @@ var _ MappedNullable = &MemberRepresentation{} // MemberRepresentation struct for MemberRepresentation type MemberRepresentation struct { - Id *string `json:"id,omitempty"` - Username *string `json:"username,omitempty"` - FirstName *string `json:"firstName,omitempty"` - LastName *string `json:"lastName,omitempty"` - Email *string `json:"email,omitempty"` - EmailVerified *bool `json:"emailVerified,omitempty"` - Attributes *map[string][]string `json:"attributes,omitempty"` - UserProfileMetadata *UserProfileMetadata `json:"userProfileMetadata,omitempty"` - Self *string `json:"self,omitempty"` - Origin *string `json:"origin,omitempty"` - CreatedTimestamp *int64 `json:"createdTimestamp,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - Totp *bool `json:"totp,omitempty"` - FederationLink *string `json:"federationLink,omitempty"` - ServiceAccountClientId *string `json:"serviceAccountClientId,omitempty"` - Credentials []CredentialRepresentation `json:"credentials,omitempty"` - DisableableCredentialTypes []string `json:"disableableCredentialTypes,omitempty"` - RequiredActions []string `json:"requiredActions,omitempty"` - FederatedIdentities []FederatedIdentityRepresentation `json:"federatedIdentities,omitempty"` - RealmRoles []string `json:"realmRoles,omitempty"` - ClientRoles *map[string][]string `json:"clientRoles,omitempty"` - ClientConsents []UserConsentRepresentation `json:"clientConsents,omitempty"` - NotBefore *int32 `json:"notBefore,omitempty"` + Id *string `json:"id,omitempty"` + Username *string `json:"username,omitempty"` + FirstName *string `json:"firstName,omitempty"` + LastName *string `json:"lastName,omitempty"` + Email *string `json:"email,omitempty"` + EmailVerified *bool `json:"emailVerified,omitempty"` + Attributes *map[string][]string `json:"attributes,omitempty"` + UserProfileMetadata *UserProfileMetadata `json:"userProfileMetadata,omitempty"` + Self *string `json:"self,omitempty"` + Origin *string `json:"origin,omitempty"` + CreatedTimestamp *int64 `json:"createdTimestamp,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Totp *bool `json:"totp,omitempty"` + FederationLink *string `json:"federationLink,omitempty"` + ServiceAccountClientId *string `json:"serviceAccountClientId,omitempty"` + Credentials []CredentialRepresentation `json:"credentials,omitempty"` + DisableableCredentialTypes []string `json:"disableableCredentialTypes,omitempty"` + RequiredActions []string `json:"requiredActions,omitempty"` + FederatedIdentities []FederatedIdentityRepresentation `json:"federatedIdentities,omitempty"` + RealmRoles []string `json:"realmRoles,omitempty"` + ClientRoles *map[string][]string `json:"clientRoles,omitempty"` + ClientConsents []UserConsentRepresentation `json:"clientConsents,omitempty"` + NotBefore *int32 `json:"notBefore,omitempty"` // Deprecated ApplicationRoles *map[string][]string `json:"applicationRoles,omitempty"` // Deprecated - SocialLinks []SocialLinkRepresentation `json:"socialLinks,omitempty"` - Groups []string `json:"groups,omitempty"` - Access *map[string]bool `json:"access,omitempty"` - MembershipType *MembershipType `json:"membershipType,omitempty"` + SocialLinks []SocialLinkRepresentation `json:"socialLinks,omitempty"` + Groups []string `json:"groups,omitempty"` + Access *map[string]bool `json:"access,omitempty"` + MembershipType *MembershipType `json:"membershipType,omitempty"` } // NewMemberRepresentation instantiates a new MemberRepresentation object @@ -971,7 +971,7 @@ func (o *MemberRepresentation) SetMembershipType(v MembershipType) { } func (o MemberRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -1102,3 +1102,5 @@ func (v *NullableMemberRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_membership_type.go b/model_membership_type.go index 4f3259b..f890a50 100644 --- a/model_membership_type.go +++ b/model_membership_type.go @@ -21,7 +21,7 @@ type MembershipType string // List of MembershipType const ( UNMANAGED MembershipType = "UNMANAGED" - MANAGED MembershipType = "MANAGED" + MANAGED MembershipType = "MANAGED" ) // All allowed values of MembershipType enum @@ -108,3 +108,4 @@ func (v *NullableMembershipType) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + diff --git a/model_method_config.go b/model_method_config.go index 8ad05bb..67f1f9b 100644 --- a/model_method_config.go +++ b/model_method_config.go @@ -19,8 +19,8 @@ var _ MappedNullable = &MethodConfig{} // MethodConfig struct for MethodConfig type MethodConfig struct { - Method *string `json:"method,omitempty"` - Scopes []string `json:"scopes,omitempty"` + Method *string `json:"method,omitempty"` + Scopes []string `json:"scopes,omitempty"` ScopesEnforcementMode *ScopeEnforcementMode `json:"scopes-enforcement-mode,omitempty"` } @@ -138,7 +138,7 @@ func (o *MethodConfig) SetScopesEnforcementMode(v ScopeEnforcementMode) { } func (o MethodConfig) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -194,3 +194,5 @@ func (v *NullableMethodConfig) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_o_auth_client_representation.go b/model_o_auth_client_representation.go index 7217636..891e468 100644 --- a/model_o_auth_client_representation.go +++ b/model_o_auth_client_representation.go @@ -19,42 +19,42 @@ var _ MappedNullable = &OAuthClientRepresentation{} // OAuthClientRepresentation struct for OAuthClientRepresentation type OAuthClientRepresentation struct { - Id *string `json:"id,omitempty"` - ClientId *string `json:"clientId,omitempty"` - Description *string `json:"description,omitempty"` - Type *string `json:"type,omitempty"` - RootUrl *string `json:"rootUrl,omitempty"` - AdminUrl *string `json:"adminUrl,omitempty"` - BaseUrl *string `json:"baseUrl,omitempty"` - SurrogateAuthRequired *bool `json:"surrogateAuthRequired,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - AlwaysDisplayInConsole *bool `json:"alwaysDisplayInConsole,omitempty"` + Id *string `json:"id,omitempty"` + ClientId *string `json:"clientId,omitempty"` + Description *string `json:"description,omitempty"` + Type *string `json:"type,omitempty"` + RootUrl *string `json:"rootUrl,omitempty"` + AdminUrl *string `json:"adminUrl,omitempty"` + BaseUrl *string `json:"baseUrl,omitempty"` + SurrogateAuthRequired *bool `json:"surrogateAuthRequired,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + AlwaysDisplayInConsole *bool `json:"alwaysDisplayInConsole,omitempty"` ClientAuthenticatorType *string `json:"clientAuthenticatorType,omitempty"` - Secret *string `json:"secret,omitempty"` + Secret *string `json:"secret,omitempty"` RegistrationAccessToken *string `json:"registrationAccessToken,omitempty"` // Deprecated - DefaultRoles []string `json:"defaultRoles,omitempty"` - RedirectUris []string `json:"redirectUris,omitempty"` - WebOrigins []string `json:"webOrigins,omitempty"` - NotBefore *int32 `json:"notBefore,omitempty"` - BearerOnly *bool `json:"bearerOnly,omitempty"` - ConsentRequired *bool `json:"consentRequired,omitempty"` - StandardFlowEnabled *bool `json:"standardFlowEnabled,omitempty"` - ImplicitFlowEnabled *bool `json:"implicitFlowEnabled,omitempty"` - DirectAccessGrantsEnabled *bool `json:"directAccessGrantsEnabled,omitempty"` - ServiceAccountsEnabled *bool `json:"serviceAccountsEnabled,omitempty"` - AuthorizationServicesEnabled *bool `json:"authorizationServicesEnabled,omitempty"` + DefaultRoles []string `json:"defaultRoles,omitempty"` + RedirectUris []string `json:"redirectUris,omitempty"` + WebOrigins []string `json:"webOrigins,omitempty"` + NotBefore *int32 `json:"notBefore,omitempty"` + BearerOnly *bool `json:"bearerOnly,omitempty"` + ConsentRequired *bool `json:"consentRequired,omitempty"` + StandardFlowEnabled *bool `json:"standardFlowEnabled,omitempty"` + ImplicitFlowEnabled *bool `json:"implicitFlowEnabled,omitempty"` + DirectAccessGrantsEnabled *bool `json:"directAccessGrantsEnabled,omitempty"` + ServiceAccountsEnabled *bool `json:"serviceAccountsEnabled,omitempty"` + AuthorizationServicesEnabled *bool `json:"authorizationServicesEnabled,omitempty"` // Deprecated - DirectGrantsOnly *bool `json:"directGrantsOnly,omitempty"` - PublicClient *bool `json:"publicClient,omitempty"` - FrontchannelLogout *bool `json:"frontchannelLogout,omitempty"` - Protocol *string `json:"protocol,omitempty"` - Attributes *map[string]string `json:"attributes,omitempty"` - AuthenticationFlowBindingOverrides *map[string]string `json:"authenticationFlowBindingOverrides,omitempty"` - FullScopeAllowed *bool `json:"fullScopeAllowed,omitempty"` - NodeReRegistrationTimeout *int32 `json:"nodeReRegistrationTimeout,omitempty"` - RegisteredNodes *map[string]int32 `json:"registeredNodes,omitempty"` - ProtocolMappers []ProtocolMapperRepresentation `json:"protocolMappers,omitempty"` + DirectGrantsOnly *bool `json:"directGrantsOnly,omitempty"` + PublicClient *bool `json:"publicClient,omitempty"` + FrontchannelLogout *bool `json:"frontchannelLogout,omitempty"` + Protocol *string `json:"protocol,omitempty"` + Attributes *map[string]string `json:"attributes,omitempty"` + AuthenticationFlowBindingOverrides *map[string]string `json:"authenticationFlowBindingOverrides,omitempty"` + FullScopeAllowed *bool `json:"fullScopeAllowed,omitempty"` + NodeReRegistrationTimeout *int32 `json:"nodeReRegistrationTimeout,omitempty"` + RegisteredNodes *map[string]int32 `json:"registeredNodes,omitempty"` + ProtocolMappers []ProtocolMapperRepresentation `json:"protocolMappers,omitempty"` // Deprecated ClientTemplate *string `json:"clientTemplate,omitempty"` // Deprecated @@ -62,13 +62,13 @@ type OAuthClientRepresentation struct { // Deprecated UseTemplateScope *bool `json:"useTemplateScope,omitempty"` // Deprecated - UseTemplateMappers *bool `json:"useTemplateMappers,omitempty"` - DefaultClientScopes []string `json:"defaultClientScopes,omitempty"` - OptionalClientScopes []string `json:"optionalClientScopes,omitempty"` + UseTemplateMappers *bool `json:"useTemplateMappers,omitempty"` + DefaultClientScopes []string `json:"defaultClientScopes,omitempty"` + OptionalClientScopes []string `json:"optionalClientScopes,omitempty"` AuthorizationSettings *ResourceServerRepresentation `json:"authorizationSettings,omitempty"` - Access *map[string]bool `json:"access,omitempty"` - Origin *string `json:"origin,omitempty"` - Name *string `json:"name,omitempty"` + Access *map[string]bool `json:"access,omitempty"` + Origin *string `json:"origin,omitempty"` + Name *string `json:"name,omitempty"` // Deprecated Claims *ClaimRepresentation `json:"claims,omitempty"` } @@ -1552,7 +1552,7 @@ func (o *OAuthClientRepresentation) SetClaims(v ClaimRepresentation) { } func (o OAuthClientRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -1734,3 +1734,5 @@ func (v *NullableOAuthClientRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_organization_domain_representation.go b/model_organization_domain_representation.go index 5a33e9c..1e5d544 100644 --- a/model_organization_domain_representation.go +++ b/model_organization_domain_representation.go @@ -19,8 +19,8 @@ var _ MappedNullable = &OrganizationDomainRepresentation{} // OrganizationDomainRepresentation struct for OrganizationDomainRepresentation type OrganizationDomainRepresentation struct { - Name *string `json:"name,omitempty"` - Verified *bool `json:"verified,omitempty"` + Name *string `json:"name,omitempty"` + Verified *bool `json:"verified,omitempty"` } // NewOrganizationDomainRepresentation instantiates a new OrganizationDomainRepresentation object @@ -105,7 +105,7 @@ func (o *OrganizationDomainRepresentation) SetVerified(v bool) { } func (o OrganizationDomainRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -158,3 +158,5 @@ func (v *NullableOrganizationDomainRepresentation) UnmarshalJSON(src []byte) err v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_organization_representation.go b/model_organization_representation.go index 7af1590..ea20a3e 100644 --- a/model_organization_representation.go +++ b/model_organization_representation.go @@ -19,16 +19,16 @@ var _ MappedNullable = &OrganizationRepresentation{} // OrganizationRepresentation struct for OrganizationRepresentation type OrganizationRepresentation struct { - Id *string `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - Alias *string `json:"alias,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - Description *string `json:"description,omitempty"` - RedirectUrl *string `json:"redirectUrl,omitempty"` - Attributes *map[string][]string `json:"attributes,omitempty"` - Domains []OrganizationDomainRepresentation `json:"domains,omitempty"` - Members []MemberRepresentation `json:"members,omitempty"` - IdentityProviders []IdentityProviderRepresentation `json:"identityProviders,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Alias *string `json:"alias,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Description *string `json:"description,omitempty"` + RedirectUrl *string `json:"redirectUrl,omitempty"` + Attributes *map[string][]string `json:"attributes,omitempty"` + Domains []OrganizationDomainRepresentation `json:"domains,omitempty"` + Members []MemberRepresentation `json:"members,omitempty"` + IdentityProviders []IdentityProviderRepresentation `json:"identityProviders,omitempty"` } // NewOrganizationRepresentation instantiates a new OrganizationRepresentation object @@ -369,7 +369,7 @@ func (o *OrganizationRepresentation) SetIdentityProviders(v []IdentityProviderRe } func (o OrganizationRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -446,3 +446,5 @@ func (v *NullableOrganizationRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_path_cache_config.go b/model_path_cache_config.go index 078c806..95f7e41 100644 --- a/model_path_cache_config.go +++ b/model_path_cache_config.go @@ -20,7 +20,7 @@ var _ MappedNullable = &PathCacheConfig{} // PathCacheConfig struct for PathCacheConfig type PathCacheConfig struct { MaxEntries *int32 `json:"max-entries,omitempty"` - Lifespan *int64 `json:"lifespan,omitempty"` + Lifespan *int64 `json:"lifespan,omitempty"` } // NewPathCacheConfig instantiates a new PathCacheConfig object @@ -105,7 +105,7 @@ func (o *PathCacheConfig) SetLifespan(v int64) { } func (o PathCacheConfig) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -158,3 +158,5 @@ func (v *NullablePathCacheConfig) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_path_config.go b/model_path_config.go index 5a7bb91..7455700 100644 --- a/model_path_config.go +++ b/model_path_config.go @@ -19,17 +19,17 @@ var _ MappedNullable = &PathConfig{} // PathConfig struct for PathConfig type PathConfig struct { - Name *string `json:"name,omitempty"` - Type *string `json:"type,omitempty"` - Path *string `json:"path,omitempty"` - Methods []MethodConfig `json:"methods,omitempty"` - Scopes []string `json:"scopes,omitempty"` - Id *string `json:"id,omitempty"` - EnforcementMode *EnforcementMode `json:"enforcement-mode,omitempty"` + Name *string `json:"name,omitempty"` + Type *string `json:"type,omitempty"` + Path *string `json:"path,omitempty"` + Methods []MethodConfig `json:"methods,omitempty"` + Scopes []string `json:"scopes,omitempty"` + Id *string `json:"id,omitempty"` + EnforcementMode *EnforcementMode `json:"enforcement-mode,omitempty"` ClaimInformationPoint *map[string]map[string]interface{} `json:"claim-information-point,omitempty"` - Invalidated *bool `json:"invalidated,omitempty"` - StaticPath *bool `json:"staticPath,omitempty"` - Static *bool `json:"static,omitempty"` + Invalidated *bool `json:"invalidated,omitempty"` + StaticPath *bool `json:"staticPath,omitempty"` + Static *bool `json:"static,omitempty"` } // NewPathConfig instantiates a new PathConfig object @@ -402,7 +402,7 @@ func (o *PathConfig) SetStatic(v bool) { } func (o PathConfig) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -482,3 +482,5 @@ func (v *NullablePathConfig) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_permission.go b/model_permission.go index 2c6a336..997fdf0 100644 --- a/model_permission.go +++ b/model_permission.go @@ -19,9 +19,9 @@ var _ MappedNullable = &Permission{} // Permission struct for Permission type Permission struct { - Rsid *string `json:"rsid,omitempty"` - Rsname *string `json:"rsname,omitempty"` - Scopes []string `json:"scopes,omitempty"` + Rsid *string `json:"rsid,omitempty"` + Rsname *string `json:"rsname,omitempty"` + Scopes []string `json:"scopes,omitempty"` Claims *map[string][]string `json:"claims,omitempty"` } @@ -171,7 +171,7 @@ func (o *Permission) SetClaims(v map[string][]string) { } func (o Permission) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -230,3 +230,5 @@ func (v *NullablePermission) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_policy_enforcement_mode.go b/model_policy_enforcement_mode.go index 365c117..92e7f0c 100644 --- a/model_policy_enforcement_mode.go +++ b/model_policy_enforcement_mode.go @@ -20,9 +20,9 @@ type PolicyEnforcementMode string // List of PolicyEnforcementMode const ( - POLICY_ENFORCING PolicyEnforcementMode = "ENFORCING" - POLICY_PERMISSIVE PolicyEnforcementMode = "PERMISSIVE" - POLICY_DISABLED PolicyEnforcementMode = "DISABLED" + ENFORCING PolicyEnforcementMode = "ENFORCING" + PERMISSIVE PolicyEnforcementMode = "PERMISSIVE" + DISABLED PolicyEnforcementMode = "DISABLED" ) // All allowed values of PolicyEnforcementMode enum @@ -110,3 +110,4 @@ func (v *NullablePolicyEnforcementMode) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + diff --git a/model_policy_enforcer_config.go b/model_policy_enforcer_config.go index 30ec614..5a02ed9 100644 --- a/model_policy_enforcer_config.go +++ b/model_policy_enforcer_config.go @@ -19,18 +19,18 @@ var _ MappedNullable = &PolicyEnforcerConfig{} // PolicyEnforcerConfig struct for PolicyEnforcerConfig type PolicyEnforcerConfig struct { - EnforcementMode *EnforcementMode `json:"enforcement-mode,omitempty"` - Paths []PathConfig `json:"paths,omitempty"` - PathCache *PathCacheConfig `json:"path-cache,omitempty"` - LazyLoadPaths *bool `json:"lazy-load-paths,omitempty"` - OnDenyRedirectTo *string `json:"on-deny-redirect-to,omitempty"` - UserManagedAccess map[string]interface{} `json:"user-managed-access,omitempty"` + EnforcementMode *EnforcementMode `json:"enforcement-mode,omitempty"` + Paths []PathConfig `json:"paths,omitempty"` + PathCache *PathCacheConfig `json:"path-cache,omitempty"` + LazyLoadPaths *bool `json:"lazy-load-paths,omitempty"` + OnDenyRedirectTo *string `json:"on-deny-redirect-to,omitempty"` + UserManagedAccess map[string]interface{} `json:"user-managed-access,omitempty"` ClaimInformationPoint *map[string]map[string]interface{} `json:"claim-information-point,omitempty"` - HttpMethodAsScope *bool `json:"http-method-as-scope,omitempty"` - Realm *string `json:"realm,omitempty"` - AuthServerUrl *string `json:"auth-server-url,omitempty"` - Credentials map[string]interface{} `json:"credentials,omitempty"` - Resource *string `json:"resource,omitempty"` + HttpMethodAsScope *bool `json:"http-method-as-scope,omitempty"` + Realm *string `json:"realm,omitempty"` + AuthServerUrl *string `json:"auth-server-url,omitempty"` + Credentials map[string]interface{} `json:"credentials,omitempty"` + Resource *string `json:"resource,omitempty"` } // NewPolicyEnforcerConfig instantiates a new PolicyEnforcerConfig object @@ -435,7 +435,7 @@ func (o *PolicyEnforcerConfig) SetResource(v string) { } func (o PolicyEnforcerConfig) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -518,3 +518,5 @@ func (v *NullablePolicyEnforcerConfig) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_policy_evaluation_request.go b/model_policy_evaluation_request.go index 4d3f0a9..4655d57 100644 --- a/model_policy_evaluation_request.go +++ b/model_policy_evaluation_request.go @@ -19,12 +19,12 @@ var _ MappedNullable = &PolicyEvaluationRequest{} // PolicyEvaluationRequest struct for PolicyEvaluationRequest type PolicyEvaluationRequest struct { - Context *map[string]map[string]string `json:"context,omitempty"` - Resources []ResourceRepresentation `json:"resources,omitempty"` - ClientId *string `json:"clientId,omitempty"` - UserId *string `json:"userId,omitempty"` - RoleIds []string `json:"roleIds,omitempty"` - Entitlements *bool `json:"entitlements,omitempty"` + Context *map[string]map[string]string `json:"context,omitempty"` + Resources []ResourceRepresentation `json:"resources,omitempty"` + ClientId *string `json:"clientId,omitempty"` + UserId *string `json:"userId,omitempty"` + RoleIds []string `json:"roleIds,omitempty"` + Entitlements *bool `json:"entitlements,omitempty"` } // NewPolicyEvaluationRequest instantiates a new PolicyEvaluationRequest object @@ -237,7 +237,7 @@ func (o *PolicyEvaluationRequest) SetEntitlements(v bool) { } func (o PolicyEvaluationRequest) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -302,3 +302,5 @@ func (v *NullablePolicyEvaluationRequest) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_policy_evaluation_response.go b/model_policy_evaluation_response.go index 3b98b55..6c5c999 100644 --- a/model_policy_evaluation_response.go +++ b/model_policy_evaluation_response.go @@ -19,10 +19,10 @@ var _ MappedNullable = &PolicyEvaluationResponse{} // PolicyEvaluationResponse struct for PolicyEvaluationResponse type PolicyEvaluationResponse struct { - Results []EvaluationResultRepresentation `json:"results,omitempty"` - Entitlements *bool `json:"entitlements,omitempty"` - Status *DecisionEffect `json:"status,omitempty"` - Rpt *AccessToken `json:"rpt,omitempty"` + Results []EvaluationResultRepresentation `json:"results,omitempty"` + Entitlements *bool `json:"entitlements,omitempty"` + Status *DecisionEffect `json:"status,omitempty"` + Rpt *AccessToken `json:"rpt,omitempty"` } // NewPolicyEvaluationResponse instantiates a new PolicyEvaluationResponse object @@ -171,7 +171,7 @@ func (o *PolicyEvaluationResponse) SetRpt(v AccessToken) { } func (o PolicyEvaluationResponse) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -230,3 +230,5 @@ func (v *NullablePolicyEvaluationResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_policy_provider_representation.go b/model_policy_provider_representation.go index 970ccd6..018899f 100644 --- a/model_policy_provider_representation.go +++ b/model_policy_provider_representation.go @@ -19,8 +19,8 @@ var _ MappedNullable = &PolicyProviderRepresentation{} // PolicyProviderRepresentation struct for PolicyProviderRepresentation type PolicyProviderRepresentation struct { - Type *string `json:"type,omitempty"` - Name *string `json:"name,omitempty"` + Type *string `json:"type,omitempty"` + Name *string `json:"name,omitempty"` Group *string `json:"group,omitempty"` } @@ -138,7 +138,7 @@ func (o *PolicyProviderRepresentation) SetGroup(v string) { } func (o PolicyProviderRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -194,3 +194,5 @@ func (v *NullablePolicyProviderRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_policy_representation.go b/model_policy_representation.go index 891eb6b..07c9d31 100644 --- a/model_policy_representation.go +++ b/model_policy_representation.go @@ -19,19 +19,20 @@ var _ MappedNullable = &PolicyRepresentation{} // PolicyRepresentation struct for PolicyRepresentation type PolicyRepresentation struct { - Id *string `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - Description *string `json:"description,omitempty"` - Type *string `json:"type,omitempty"` - Policies []string `json:"policies,omitempty"` - Resources []string `json:"resources,omitempty"` - Scopes []string `json:"scopes,omitempty"` - Logic *Logic `json:"logic,omitempty"` - DecisionStrategy *DecisionStrategy `json:"decisionStrategy,omitempty"` - Owner *string `json:"owner,omitempty"` - ResourcesData []ResourceRepresentation `json:"resourcesData,omitempty"` - ScopesData []ScopeRepresentation `json:"scopesData,omitempty"` - Config *map[string]string `json:"config,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Description *string `json:"description,omitempty"` + Type *string `json:"type,omitempty"` + Policies []string `json:"policies,omitempty"` + Resources []string `json:"resources,omitempty"` + Scopes []string `json:"scopes,omitempty"` + Logic *Logic `json:"logic,omitempty"` + DecisionStrategy *DecisionStrategy `json:"decisionStrategy,omitempty"` + Owner *string `json:"owner,omitempty"` + ResourceType *string `json:"resourceType,omitempty"` + ResourcesData []ResourceRepresentation `json:"resourcesData,omitempty"` + ScopesData []ScopeRepresentation `json:"scopesData,omitempty"` + Config *map[string]string `json:"config,omitempty"` } // NewPolicyRepresentation instantiates a new PolicyRepresentation object @@ -371,6 +372,38 @@ func (o *PolicyRepresentation) SetOwner(v string) { o.Owner = &v } +// GetResourceType returns the ResourceType field value if set, zero value otherwise. +func (o *PolicyRepresentation) GetResourceType() string { + if o == nil || IsNil(o.ResourceType) { + var ret string + return ret + } + return *o.ResourceType +} + +// GetResourceTypeOk returns a tuple with the ResourceType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PolicyRepresentation) GetResourceTypeOk() (*string, bool) { + if o == nil || IsNil(o.ResourceType) { + return nil, false + } + return o.ResourceType, true +} + +// HasResourceType returns a boolean if a field has been set. +func (o *PolicyRepresentation) HasResourceType() bool { + if o != nil && !IsNil(o.ResourceType) { + return true + } + + return false +} + +// SetResourceType gets a reference to the given string and assigns it to the ResourceType field. +func (o *PolicyRepresentation) SetResourceType(v string) { + o.ResourceType = &v +} + // GetResourcesData returns the ResourcesData field value if set, zero value otherwise. func (o *PolicyRepresentation) GetResourcesData() []ResourceRepresentation { if o == nil || IsNil(o.ResourcesData) { @@ -468,7 +501,7 @@ func (o *PolicyRepresentation) SetConfig(v map[string]string) { } func (o PolicyRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -507,6 +540,9 @@ func (o PolicyRepresentation) ToMap() (map[string]interface{}, error) { if !IsNil(o.Owner) { toSerialize["owner"] = o.Owner } + if !IsNil(o.ResourceType) { + toSerialize["resourceType"] = o.ResourceType + } if !IsNil(o.ResourcesData) { toSerialize["resourcesData"] = o.ResourcesData } @@ -554,3 +590,5 @@ func (v *NullablePolicyRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_policy_result_representation.go b/model_policy_result_representation.go index ba76584..576c036 100644 --- a/model_policy_result_representation.go +++ b/model_policy_result_representation.go @@ -19,10 +19,10 @@ var _ MappedNullable = &PolicyResultRepresentation{} // PolicyResultRepresentation struct for PolicyResultRepresentation type PolicyResultRepresentation struct { - Policy *PolicyRepresentation `json:"policy,omitempty"` - Status *DecisionEffect `json:"status,omitempty"` + Policy *PolicyRepresentation `json:"policy,omitempty"` + Status *DecisionEffect `json:"status,omitempty"` AssociatedPolicies []PolicyResultRepresentation `json:"associatedPolicies,omitempty"` - Scopes []string `json:"scopes,omitempty"` + Scopes []string `json:"scopes,omitempty"` } // NewPolicyResultRepresentation instantiates a new PolicyResultRepresentation object @@ -171,7 +171,7 @@ func (o *PolicyResultRepresentation) SetScopes(v []string) { } func (o PolicyResultRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -230,3 +230,5 @@ func (v *NullablePolicyResultRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_property_config.go b/model_property_config.go index 66cdd12..07eab39 100644 --- a/model_property_config.go +++ b/model_property_config.go @@ -19,8 +19,8 @@ var _ MappedNullable = &PropertyConfig{} // PropertyConfig struct for PropertyConfig type PropertyConfig struct { - Applicable *bool `json:"applicable,omitempty"` - Value interface{} `json:"value,omitempty"` + Applicable *bool `json:"applicable,omitempty"` + Value interface{} `json:"value,omitempty"` } // NewPropertyConfig instantiates a new PropertyConfig object @@ -106,7 +106,7 @@ func (o *PropertyConfig) SetValue(v interface{}) { } func (o PropertyConfig) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -159,3 +159,5 @@ func (v *NullablePropertyConfig) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_protocol_mapper_evaluation_representation.go b/model_protocol_mapper_evaluation_representation.go index 18ad71b..a08158f 100644 --- a/model_protocol_mapper_evaluation_representation.go +++ b/model_protocol_mapper_evaluation_representation.go @@ -19,11 +19,11 @@ var _ MappedNullable = &ProtocolMapperEvaluationRepresentation{} // ProtocolMapperEvaluationRepresentation struct for ProtocolMapperEvaluationRepresentation type ProtocolMapperEvaluationRepresentation struct { - MapperId *string `json:"mapperId,omitempty"` - MapperName *string `json:"mapperName,omitempty"` - ContainerId *string `json:"containerId,omitempty"` - ContainerName *string `json:"containerName,omitempty"` - ContainerType *string `json:"containerType,omitempty"` + MapperId *string `json:"mapperId,omitempty"` + MapperName *string `json:"mapperName,omitempty"` + ContainerId *string `json:"containerId,omitempty"` + ContainerName *string `json:"containerName,omitempty"` + ContainerType *string `json:"containerType,omitempty"` ProtocolMapper *string `json:"protocolMapper,omitempty"` } @@ -237,7 +237,7 @@ func (o *ProtocolMapperEvaluationRepresentation) SetProtocolMapper(v string) { } func (o ProtocolMapperEvaluationRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -302,3 +302,5 @@ func (v *NullableProtocolMapperEvaluationRepresentation) UnmarshalJSON(src []byt v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_protocol_mapper_representation.go b/model_protocol_mapper_representation.go index ac9d45f..58def4b 100644 --- a/model_protocol_mapper_representation.go +++ b/model_protocol_mapper_representation.go @@ -19,15 +19,15 @@ var _ MappedNullable = &ProtocolMapperRepresentation{} // ProtocolMapperRepresentation struct for ProtocolMapperRepresentation type ProtocolMapperRepresentation struct { - Id *string `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - Protocol *string `json:"protocol,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Protocol *string `json:"protocol,omitempty"` ProtocolMapper *string `json:"protocolMapper,omitempty"` // Deprecated ConsentRequired *bool `json:"consentRequired,omitempty"` // Deprecated - ConsentText *string `json:"consentText,omitempty"` - Config *map[string]string `json:"config,omitempty"` + ConsentText *string `json:"consentText,omitempty"` + Config *map[string]string `json:"config,omitempty"` } // NewProtocolMapperRepresentation instantiates a new ProtocolMapperRepresentation object @@ -278,7 +278,7 @@ func (o *ProtocolMapperRepresentation) SetConfig(v map[string]string) { } func (o ProtocolMapperRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -346,3 +346,5 @@ func (v *NullableProtocolMapperRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_published_realm_representation.go b/model_published_realm_representation.go index 7019e7f..a3f5aca 100644 --- a/model_published_realm_representation.go +++ b/model_published_realm_representation.go @@ -19,11 +19,11 @@ var _ MappedNullable = &PublishedRealmRepresentation{} // PublishedRealmRepresentation struct for PublishedRealmRepresentation type PublishedRealmRepresentation struct { - Realm *string `json:"realm,omitempty"` - PublicKey *string `json:"public_key,omitempty"` - TokenService *string `json:"token-service,omitempty"` - AccountService *string `json:"account-service,omitempty"` - TokensNotBefore *int32 `json:"tokens-not-before,omitempty"` + Realm *string `json:"realm,omitempty"` + PublicKey *string `json:"public_key,omitempty"` + TokenService *string `json:"token-service,omitempty"` + AccountService *string `json:"account-service,omitempty"` + TokensNotBefore *int32 `json:"tokens-not-before,omitempty"` } // NewPublishedRealmRepresentation instantiates a new PublishedRealmRepresentation object @@ -204,7 +204,7 @@ func (o *PublishedRealmRepresentation) SetTokensNotBefore(v int32) { } func (o PublishedRealmRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -266,3 +266,5 @@ func (v *NullablePublishedRealmRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_realm_events_config_representation.go b/model_realm_events_config_representation.go index e9eea41..0472140 100644 --- a/model_realm_events_config_representation.go +++ b/model_realm_events_config_representation.go @@ -19,12 +19,12 @@ var _ MappedNullable = &RealmEventsConfigRepresentation{} // RealmEventsConfigRepresentation struct for RealmEventsConfigRepresentation type RealmEventsConfigRepresentation struct { - EventsEnabled *bool `json:"eventsEnabled,omitempty"` - EventsExpiration *int64 `json:"eventsExpiration,omitempty"` - EventsListeners []string `json:"eventsListeners,omitempty"` - EnabledEventTypes []string `json:"enabledEventTypes,omitempty"` - AdminEventsEnabled *bool `json:"adminEventsEnabled,omitempty"` - AdminEventsDetailsEnabled *bool `json:"adminEventsDetailsEnabled,omitempty"` + EventsEnabled *bool `json:"eventsEnabled,omitempty"` + EventsExpiration *int64 `json:"eventsExpiration,omitempty"` + EventsListeners []string `json:"eventsListeners,omitempty"` + EnabledEventTypes []string `json:"enabledEventTypes,omitempty"` + AdminEventsEnabled *bool `json:"adminEventsEnabled,omitempty"` + AdminEventsDetailsEnabled *bool `json:"adminEventsDetailsEnabled,omitempty"` } // NewRealmEventsConfigRepresentation instantiates a new RealmEventsConfigRepresentation object @@ -237,7 +237,7 @@ func (o *RealmEventsConfigRepresentation) SetAdminEventsDetailsEnabled(v bool) { } func (o RealmEventsConfigRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -302,3 +302,5 @@ func (v *NullableRealmEventsConfigRepresentation) UnmarshalJSON(src []byte) erro v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_realm_representation.go b/model_realm_representation.go index 0943d6f..3ee9e71 100644 --- a/model_realm_representation.go +++ b/model_realm_representation.go @@ -19,60 +19,60 @@ var _ MappedNullable = &RealmRepresentation{} // RealmRepresentation struct for RealmRepresentation type RealmRepresentation struct { - Id *string `json:"id,omitempty"` - Realm *string `json:"realm,omitempty"` - DisplayName *string `json:"displayName,omitempty"` - DisplayNameHtml *string `json:"displayNameHtml,omitempty"` - NotBefore *int32 `json:"notBefore,omitempty"` - DefaultSignatureAlgorithm *string `json:"defaultSignatureAlgorithm,omitempty"` - RevokeRefreshToken *bool `json:"revokeRefreshToken,omitempty"` - RefreshTokenMaxReuse *int32 `json:"refreshTokenMaxReuse,omitempty"` - AccessTokenLifespan *int32 `json:"accessTokenLifespan,omitempty"` - AccessTokenLifespanForImplicitFlow *int32 `json:"accessTokenLifespanForImplicitFlow,omitempty"` - SsoSessionIdleTimeout *int32 `json:"ssoSessionIdleTimeout,omitempty"` - SsoSessionMaxLifespan *int32 `json:"ssoSessionMaxLifespan,omitempty"` - SsoSessionIdleTimeoutRememberMe *int32 `json:"ssoSessionIdleTimeoutRememberMe,omitempty"` - SsoSessionMaxLifespanRememberMe *int32 `json:"ssoSessionMaxLifespanRememberMe,omitempty"` - OfflineSessionIdleTimeout *int32 `json:"offlineSessionIdleTimeout,omitempty"` - OfflineSessionMaxLifespanEnabled *bool `json:"offlineSessionMaxLifespanEnabled,omitempty"` - OfflineSessionMaxLifespan *int32 `json:"offlineSessionMaxLifespan,omitempty"` - ClientSessionIdleTimeout *int32 `json:"clientSessionIdleTimeout,omitempty"` - ClientSessionMaxLifespan *int32 `json:"clientSessionMaxLifespan,omitempty"` - ClientOfflineSessionIdleTimeout *int32 `json:"clientOfflineSessionIdleTimeout,omitempty"` - ClientOfflineSessionMaxLifespan *int32 `json:"clientOfflineSessionMaxLifespan,omitempty"` - AccessCodeLifespan *int32 `json:"accessCodeLifespan,omitempty"` - AccessCodeLifespanUserAction *int32 `json:"accessCodeLifespanUserAction,omitempty"` - AccessCodeLifespanLogin *int32 `json:"accessCodeLifespanLogin,omitempty"` - ActionTokenGeneratedByAdminLifespan *int32 `json:"actionTokenGeneratedByAdminLifespan,omitempty"` - ActionTokenGeneratedByUserLifespan *int32 `json:"actionTokenGeneratedByUserLifespan,omitempty"` - Oauth2DeviceCodeLifespan *int32 `json:"oauth2DeviceCodeLifespan,omitempty"` - Oauth2DevicePollingInterval *int32 `json:"oauth2DevicePollingInterval,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - SslRequired *string `json:"sslRequired,omitempty"` + Id *string `json:"id,omitempty"` + Realm *string `json:"realm,omitempty"` + DisplayName *string `json:"displayName,omitempty"` + DisplayNameHtml *string `json:"displayNameHtml,omitempty"` + NotBefore *int32 `json:"notBefore,omitempty"` + DefaultSignatureAlgorithm *string `json:"defaultSignatureAlgorithm,omitempty"` + RevokeRefreshToken *bool `json:"revokeRefreshToken,omitempty"` + RefreshTokenMaxReuse *int32 `json:"refreshTokenMaxReuse,omitempty"` + AccessTokenLifespan *int32 `json:"accessTokenLifespan,omitempty"` + AccessTokenLifespanForImplicitFlow *int32 `json:"accessTokenLifespanForImplicitFlow,omitempty"` + SsoSessionIdleTimeout *int32 `json:"ssoSessionIdleTimeout,omitempty"` + SsoSessionMaxLifespan *int32 `json:"ssoSessionMaxLifespan,omitempty"` + SsoSessionIdleTimeoutRememberMe *int32 `json:"ssoSessionIdleTimeoutRememberMe,omitempty"` + SsoSessionMaxLifespanRememberMe *int32 `json:"ssoSessionMaxLifespanRememberMe,omitempty"` + OfflineSessionIdleTimeout *int32 `json:"offlineSessionIdleTimeout,omitempty"` + OfflineSessionMaxLifespanEnabled *bool `json:"offlineSessionMaxLifespanEnabled,omitempty"` + OfflineSessionMaxLifespan *int32 `json:"offlineSessionMaxLifespan,omitempty"` + ClientSessionIdleTimeout *int32 `json:"clientSessionIdleTimeout,omitempty"` + ClientSessionMaxLifespan *int32 `json:"clientSessionMaxLifespan,omitempty"` + ClientOfflineSessionIdleTimeout *int32 `json:"clientOfflineSessionIdleTimeout,omitempty"` + ClientOfflineSessionMaxLifespan *int32 `json:"clientOfflineSessionMaxLifespan,omitempty"` + AccessCodeLifespan *int32 `json:"accessCodeLifespan,omitempty"` + AccessCodeLifespanUserAction *int32 `json:"accessCodeLifespanUserAction,omitempty"` + AccessCodeLifespanLogin *int32 `json:"accessCodeLifespanLogin,omitempty"` + ActionTokenGeneratedByAdminLifespan *int32 `json:"actionTokenGeneratedByAdminLifespan,omitempty"` + ActionTokenGeneratedByUserLifespan *int32 `json:"actionTokenGeneratedByUserLifespan,omitempty"` + Oauth2DeviceCodeLifespan *int32 `json:"oauth2DeviceCodeLifespan,omitempty"` + Oauth2DevicePollingInterval *int32 `json:"oauth2DevicePollingInterval,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + SslRequired *string `json:"sslRequired,omitempty"` // Deprecated PasswordCredentialGrantAllowed *bool `json:"passwordCredentialGrantAllowed,omitempty"` - RegistrationAllowed *bool `json:"registrationAllowed,omitempty"` - RegistrationEmailAsUsername *bool `json:"registrationEmailAsUsername,omitempty"` - RememberMe *bool `json:"rememberMe,omitempty"` - VerifyEmail *bool `json:"verifyEmail,omitempty"` - LoginWithEmailAllowed *bool `json:"loginWithEmailAllowed,omitempty"` - DuplicateEmailsAllowed *bool `json:"duplicateEmailsAllowed,omitempty"` - ResetPasswordAllowed *bool `json:"resetPasswordAllowed,omitempty"` - EditUsernameAllowed *bool `json:"editUsernameAllowed,omitempty"` + RegistrationAllowed *bool `json:"registrationAllowed,omitempty"` + RegistrationEmailAsUsername *bool `json:"registrationEmailAsUsername,omitempty"` + RememberMe *bool `json:"rememberMe,omitempty"` + VerifyEmail *bool `json:"verifyEmail,omitempty"` + LoginWithEmailAllowed *bool `json:"loginWithEmailAllowed,omitempty"` + DuplicateEmailsAllowed *bool `json:"duplicateEmailsAllowed,omitempty"` + ResetPasswordAllowed *bool `json:"resetPasswordAllowed,omitempty"` + EditUsernameAllowed *bool `json:"editUsernameAllowed,omitempty"` // Deprecated UserCacheEnabled *bool `json:"userCacheEnabled,omitempty"` // Deprecated - RealmCacheEnabled *bool `json:"realmCacheEnabled,omitempty"` - BruteForceProtected *bool `json:"bruteForceProtected,omitempty"` - PermanentLockout *bool `json:"permanentLockout,omitempty"` - MaxTemporaryLockouts *int32 `json:"maxTemporaryLockouts,omitempty"` - BruteForceStrategy *BruteForceStrategy `json:"bruteForceStrategy,omitempty"` - MaxFailureWaitSeconds *int32 `json:"maxFailureWaitSeconds,omitempty"` - MinimumQuickLoginWaitSeconds *int32 `json:"minimumQuickLoginWaitSeconds,omitempty"` - WaitIncrementSeconds *int32 `json:"waitIncrementSeconds,omitempty"` - QuickLoginCheckMilliSeconds *int64 `json:"quickLoginCheckMilliSeconds,omitempty"` - MaxDeltaTimeSeconds *int32 `json:"maxDeltaTimeSeconds,omitempty"` - FailureFactor *int32 `json:"failureFactor,omitempty"` + RealmCacheEnabled *bool `json:"realmCacheEnabled,omitempty"` + BruteForceProtected *bool `json:"bruteForceProtected,omitempty"` + PermanentLockout *bool `json:"permanentLockout,omitempty"` + MaxTemporaryLockouts *int32 `json:"maxTemporaryLockouts,omitempty"` + BruteForceStrategy *BruteForceStrategy `json:"bruteForceStrategy,omitempty"` + MaxFailureWaitSeconds *int32 `json:"maxFailureWaitSeconds,omitempty"` + MinimumQuickLoginWaitSeconds *int32 `json:"minimumQuickLoginWaitSeconds,omitempty"` + WaitIncrementSeconds *int32 `json:"waitIncrementSeconds,omitempty"` + QuickLoginCheckMilliSeconds *int64 `json:"quickLoginCheckMilliSeconds,omitempty"` + MaxDeltaTimeSeconds *int32 `json:"maxDeltaTimeSeconds,omitempty"` + FailureFactor *int32 `json:"failureFactor,omitempty"` // Deprecated PrivateKey *string `json:"privateKey,omitempty"` // Deprecated @@ -80,93 +80,96 @@ type RealmRepresentation struct { // Deprecated Certificate *string `json:"certificate,omitempty"` // Deprecated - CodeSecret *string `json:"codeSecret,omitempty"` - Roles *RolesRepresentation `json:"roles,omitempty"` - Groups []GroupRepresentation `json:"groups,omitempty"` + CodeSecret *string `json:"codeSecret,omitempty"` + Roles *RolesRepresentation `json:"roles,omitempty"` + Groups []GroupRepresentation `json:"groups,omitempty"` // Deprecated - DefaultRoles []string `json:"defaultRoles,omitempty"` - DefaultRole *RoleRepresentation `json:"defaultRole,omitempty"` - DefaultGroups []string `json:"defaultGroups,omitempty"` + DefaultRoles []string `json:"defaultRoles,omitempty"` + DefaultRole *RoleRepresentation `json:"defaultRole,omitempty"` + AdminPermissionsClient *ClientRepresentation `json:"adminPermissionsClient,omitempty"` + DefaultGroups []string `json:"defaultGroups,omitempty"` // Deprecated - RequiredCredentials []string `json:"requiredCredentials,omitempty"` - PasswordPolicy *string `json:"passwordPolicy,omitempty"` - OtpPolicyType *string `json:"otpPolicyType,omitempty"` - OtpPolicyAlgorithm *string `json:"otpPolicyAlgorithm,omitempty"` - OtpPolicyInitialCounter *int32 `json:"otpPolicyInitialCounter,omitempty"` - OtpPolicyDigits *int32 `json:"otpPolicyDigits,omitempty"` - OtpPolicyLookAheadWindow *int32 `json:"otpPolicyLookAheadWindow,omitempty"` - OtpPolicyPeriod *int32 `json:"otpPolicyPeriod,omitempty"` - OtpPolicyCodeReusable *bool `json:"otpPolicyCodeReusable,omitempty"` - OtpSupportedApplications []string `json:"otpSupportedApplications,omitempty"` - LocalizationTexts *map[string]map[string]string `json:"localizationTexts,omitempty"` - WebAuthnPolicyRpEntityName *string `json:"webAuthnPolicyRpEntityName,omitempty"` - WebAuthnPolicySignatureAlgorithms []string `json:"webAuthnPolicySignatureAlgorithms,omitempty"` - WebAuthnPolicyRpId *string `json:"webAuthnPolicyRpId,omitempty"` - WebAuthnPolicyAttestationConveyancePreference *string `json:"webAuthnPolicyAttestationConveyancePreference,omitempty"` - WebAuthnPolicyAuthenticatorAttachment *string `json:"webAuthnPolicyAuthenticatorAttachment,omitempty"` - WebAuthnPolicyRequireResidentKey *string `json:"webAuthnPolicyRequireResidentKey,omitempty"` - WebAuthnPolicyUserVerificationRequirement *string `json:"webAuthnPolicyUserVerificationRequirement,omitempty"` - WebAuthnPolicyCreateTimeout *int32 `json:"webAuthnPolicyCreateTimeout,omitempty"` - WebAuthnPolicyAvoidSameAuthenticatorRegister *bool `json:"webAuthnPolicyAvoidSameAuthenticatorRegister,omitempty"` - WebAuthnPolicyAcceptableAaguids []string `json:"webAuthnPolicyAcceptableAaguids,omitempty"` - WebAuthnPolicyExtraOrigins []string `json:"webAuthnPolicyExtraOrigins,omitempty"` - WebAuthnPolicyPasswordlessRpEntityName *string `json:"webAuthnPolicyPasswordlessRpEntityName,omitempty"` - WebAuthnPolicyPasswordlessSignatureAlgorithms []string `json:"webAuthnPolicyPasswordlessSignatureAlgorithms,omitempty"` - WebAuthnPolicyPasswordlessRpId *string `json:"webAuthnPolicyPasswordlessRpId,omitempty"` - WebAuthnPolicyPasswordlessAttestationConveyancePreference *string `json:"webAuthnPolicyPasswordlessAttestationConveyancePreference,omitempty"` - WebAuthnPolicyPasswordlessAuthenticatorAttachment *string `json:"webAuthnPolicyPasswordlessAuthenticatorAttachment,omitempty"` - WebAuthnPolicyPasswordlessRequireResidentKey *string `json:"webAuthnPolicyPasswordlessRequireResidentKey,omitempty"` - WebAuthnPolicyPasswordlessUserVerificationRequirement *string `json:"webAuthnPolicyPasswordlessUserVerificationRequirement,omitempty"` - WebAuthnPolicyPasswordlessCreateTimeout *int32 `json:"webAuthnPolicyPasswordlessCreateTimeout,omitempty"` - WebAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister *bool `json:"webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister,omitempty"` - WebAuthnPolicyPasswordlessAcceptableAaguids []string `json:"webAuthnPolicyPasswordlessAcceptableAaguids,omitempty"` - WebAuthnPolicyPasswordlessExtraOrigins []string `json:"webAuthnPolicyPasswordlessExtraOrigins,omitempty"` - ClientProfiles *ClientProfilesRepresentation `json:"clientProfiles,omitempty"` - ClientPolicies *ClientPoliciesRepresentation `json:"clientPolicies,omitempty"` - Users []UserRepresentation `json:"users,omitempty"` - FederatedUsers []UserRepresentation `json:"federatedUsers,omitempty"` - ScopeMappings []ScopeMappingRepresentation `json:"scopeMappings,omitempty"` - ClientScopeMappings *map[string][]ScopeMappingRepresentation `json:"clientScopeMappings,omitempty"` - Clients []ClientRepresentation `json:"clients,omitempty"` - ClientScopes []ClientScopeRepresentation `json:"clientScopes,omitempty"` - DefaultDefaultClientScopes []string `json:"defaultDefaultClientScopes,omitempty"` - DefaultOptionalClientScopes []string `json:"defaultOptionalClientScopes,omitempty"` - BrowserSecurityHeaders *map[string]string `json:"browserSecurityHeaders,omitempty"` - SmtpServer *map[string]string `json:"smtpServer,omitempty"` - UserFederationProviders []UserFederationProviderRepresentation `json:"userFederationProviders,omitempty"` - UserFederationMappers []UserFederationMapperRepresentation `json:"userFederationMappers,omitempty"` - LoginTheme *string `json:"loginTheme,omitempty"` - AccountTheme *string `json:"accountTheme,omitempty"` - AdminTheme *string `json:"adminTheme,omitempty"` - EmailTheme *string `json:"emailTheme,omitempty"` - EventsEnabled *bool `json:"eventsEnabled,omitempty"` - EventsExpiration *int64 `json:"eventsExpiration,omitempty"` - EventsListeners []string `json:"eventsListeners,omitempty"` - EnabledEventTypes []string `json:"enabledEventTypes,omitempty"` - AdminEventsEnabled *bool `json:"adminEventsEnabled,omitempty"` - AdminEventsDetailsEnabled *bool `json:"adminEventsDetailsEnabled,omitempty"` - IdentityProviders []IdentityProviderRepresentation `json:"identityProviders,omitempty"` - IdentityProviderMappers []IdentityProviderMapperRepresentation `json:"identityProviderMappers,omitempty"` - ProtocolMappers []ProtocolMapperRepresentation `json:"protocolMappers,omitempty"` - Components *map[string][]ComponentExportRepresentation `json:"components,omitempty"` - InternationalizationEnabled *bool `json:"internationalizationEnabled,omitempty"` - SupportedLocales []string `json:"supportedLocales,omitempty"` - DefaultLocale *string `json:"defaultLocale,omitempty"` - AuthenticationFlows []AuthenticationFlowRepresentation `json:"authenticationFlows,omitempty"` - AuthenticatorConfig []AuthenticatorConfigRepresentation `json:"authenticatorConfig,omitempty"` - RequiredActions []RequiredActionProviderRepresentation `json:"requiredActions,omitempty"` - BrowserFlow *string `json:"browserFlow,omitempty"` - RegistrationFlow *string `json:"registrationFlow,omitempty"` - DirectGrantFlow *string `json:"directGrantFlow,omitempty"` - ResetCredentialsFlow *string `json:"resetCredentialsFlow,omitempty"` - ClientAuthenticationFlow *string `json:"clientAuthenticationFlow,omitempty"` - DockerAuthenticationFlow *string `json:"dockerAuthenticationFlow,omitempty"` - FirstBrokerLoginFlow *string `json:"firstBrokerLoginFlow,omitempty"` - Attributes *map[string]string `json:"attributes,omitempty"` - KeycloakVersion *string `json:"keycloakVersion,omitempty"` - UserManagedAccessAllowed *bool `json:"userManagedAccessAllowed,omitempty"` - OrganizationsEnabled *bool `json:"organizationsEnabled,omitempty"` - Organizations []OrganizationRepresentation `json:"organizations,omitempty"` + RequiredCredentials []string `json:"requiredCredentials,omitempty"` + PasswordPolicy *string `json:"passwordPolicy,omitempty"` + OtpPolicyType *string `json:"otpPolicyType,omitempty"` + OtpPolicyAlgorithm *string `json:"otpPolicyAlgorithm,omitempty"` + OtpPolicyInitialCounter *int32 `json:"otpPolicyInitialCounter,omitempty"` + OtpPolicyDigits *int32 `json:"otpPolicyDigits,omitempty"` + OtpPolicyLookAheadWindow *int32 `json:"otpPolicyLookAheadWindow,omitempty"` + OtpPolicyPeriod *int32 `json:"otpPolicyPeriod,omitempty"` + OtpPolicyCodeReusable *bool `json:"otpPolicyCodeReusable,omitempty"` + OtpSupportedApplications []string `json:"otpSupportedApplications,omitempty"` + LocalizationTexts *map[string]map[string]string `json:"localizationTexts,omitempty"` + WebAuthnPolicyRpEntityName *string `json:"webAuthnPolicyRpEntityName,omitempty"` + WebAuthnPolicySignatureAlgorithms []string `json:"webAuthnPolicySignatureAlgorithms,omitempty"` + WebAuthnPolicyRpId *string `json:"webAuthnPolicyRpId,omitempty"` + WebAuthnPolicyAttestationConveyancePreference *string `json:"webAuthnPolicyAttestationConveyancePreference,omitempty"` + WebAuthnPolicyAuthenticatorAttachment *string `json:"webAuthnPolicyAuthenticatorAttachment,omitempty"` + WebAuthnPolicyRequireResidentKey *string `json:"webAuthnPolicyRequireResidentKey,omitempty"` + WebAuthnPolicyUserVerificationRequirement *string `json:"webAuthnPolicyUserVerificationRequirement,omitempty"` + WebAuthnPolicyCreateTimeout *int32 `json:"webAuthnPolicyCreateTimeout,omitempty"` + WebAuthnPolicyAvoidSameAuthenticatorRegister *bool `json:"webAuthnPolicyAvoidSameAuthenticatorRegister,omitempty"` + WebAuthnPolicyAcceptableAaguids []string `json:"webAuthnPolicyAcceptableAaguids,omitempty"` + WebAuthnPolicyExtraOrigins []string `json:"webAuthnPolicyExtraOrigins,omitempty"` + WebAuthnPolicyPasswordlessRpEntityName *string `json:"webAuthnPolicyPasswordlessRpEntityName,omitempty"` + WebAuthnPolicyPasswordlessSignatureAlgorithms []string `json:"webAuthnPolicyPasswordlessSignatureAlgorithms,omitempty"` + WebAuthnPolicyPasswordlessRpId *string `json:"webAuthnPolicyPasswordlessRpId,omitempty"` + WebAuthnPolicyPasswordlessAttestationConveyancePreference *string `json:"webAuthnPolicyPasswordlessAttestationConveyancePreference,omitempty"` + WebAuthnPolicyPasswordlessAuthenticatorAttachment *string `json:"webAuthnPolicyPasswordlessAuthenticatorAttachment,omitempty"` + WebAuthnPolicyPasswordlessRequireResidentKey *string `json:"webAuthnPolicyPasswordlessRequireResidentKey,omitempty"` + WebAuthnPolicyPasswordlessUserVerificationRequirement *string `json:"webAuthnPolicyPasswordlessUserVerificationRequirement,omitempty"` + WebAuthnPolicyPasswordlessCreateTimeout *int32 `json:"webAuthnPolicyPasswordlessCreateTimeout,omitempty"` + WebAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister *bool `json:"webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister,omitempty"` + WebAuthnPolicyPasswordlessAcceptableAaguids []string `json:"webAuthnPolicyPasswordlessAcceptableAaguids,omitempty"` + WebAuthnPolicyPasswordlessExtraOrigins []string `json:"webAuthnPolicyPasswordlessExtraOrigins,omitempty"` + ClientProfiles *ClientProfilesRepresentation `json:"clientProfiles,omitempty"` + ClientPolicies *ClientPoliciesRepresentation `json:"clientPolicies,omitempty"` + Users []UserRepresentation `json:"users,omitempty"` + FederatedUsers []UserRepresentation `json:"federatedUsers,omitempty"` + ScopeMappings []ScopeMappingRepresentation `json:"scopeMappings,omitempty"` + ClientScopeMappings *map[string][]ScopeMappingRepresentation `json:"clientScopeMappings,omitempty"` + Clients []ClientRepresentation `json:"clients,omitempty"` + ClientScopes []ClientScopeRepresentation `json:"clientScopes,omitempty"` + DefaultDefaultClientScopes []string `json:"defaultDefaultClientScopes,omitempty"` + DefaultOptionalClientScopes []string `json:"defaultOptionalClientScopes,omitempty"` + BrowserSecurityHeaders *map[string]string `json:"browserSecurityHeaders,omitempty"` + SmtpServer *map[string]string `json:"smtpServer,omitempty"` + UserFederationProviders []UserFederationProviderRepresentation `json:"userFederationProviders,omitempty"` + UserFederationMappers []UserFederationMapperRepresentation `json:"userFederationMappers,omitempty"` + LoginTheme *string `json:"loginTheme,omitempty"` + AccountTheme *string `json:"accountTheme,omitempty"` + AdminTheme *string `json:"adminTheme,omitempty"` + EmailTheme *string `json:"emailTheme,omitempty"` + EventsEnabled *bool `json:"eventsEnabled,omitempty"` + EventsExpiration *int64 `json:"eventsExpiration,omitempty"` + EventsListeners []string `json:"eventsListeners,omitempty"` + EnabledEventTypes []string `json:"enabledEventTypes,omitempty"` + AdminEventsEnabled *bool `json:"adminEventsEnabled,omitempty"` + AdminEventsDetailsEnabled *bool `json:"adminEventsDetailsEnabled,omitempty"` + IdentityProviders []IdentityProviderRepresentation `json:"identityProviders,omitempty"` + IdentityProviderMappers []IdentityProviderMapperRepresentation `json:"identityProviderMappers,omitempty"` + ProtocolMappers []ProtocolMapperRepresentation `json:"protocolMappers,omitempty"` + Components *map[string][]ComponentExportRepresentation `json:"components,omitempty"` + InternationalizationEnabled *bool `json:"internationalizationEnabled,omitempty"` + SupportedLocales []string `json:"supportedLocales,omitempty"` + DefaultLocale *string `json:"defaultLocale,omitempty"` + AuthenticationFlows []AuthenticationFlowRepresentation `json:"authenticationFlows,omitempty"` + AuthenticatorConfig []AuthenticatorConfigRepresentation `json:"authenticatorConfig,omitempty"` + RequiredActions []RequiredActionProviderRepresentation `json:"requiredActions,omitempty"` + BrowserFlow *string `json:"browserFlow,omitempty"` + RegistrationFlow *string `json:"registrationFlow,omitempty"` + DirectGrantFlow *string `json:"directGrantFlow,omitempty"` + ResetCredentialsFlow *string `json:"resetCredentialsFlow,omitempty"` + ClientAuthenticationFlow *string `json:"clientAuthenticationFlow,omitempty"` + DockerAuthenticationFlow *string `json:"dockerAuthenticationFlow,omitempty"` + FirstBrokerLoginFlow *string `json:"firstBrokerLoginFlow,omitempty"` + Attributes *map[string]string `json:"attributes,omitempty"` + KeycloakVersion *string `json:"keycloakVersion,omitempty"` + UserManagedAccessAllowed *bool `json:"userManagedAccessAllowed,omitempty"` + OrganizationsEnabled *bool `json:"organizationsEnabled,omitempty"` + Organizations []OrganizationRepresentation `json:"organizations,omitempty"` + VerifiableCredentialsEnabled *bool `json:"verifiableCredentialsEnabled,omitempty"` + AdminPermissionsEnabled *bool `json:"adminPermissionsEnabled,omitempty"` // Deprecated Social *bool `json:"social,omitempty"` // Deprecated @@ -180,9 +183,9 @@ type RealmRepresentation struct { // Deprecated OauthClients []OAuthClientRepresentation `json:"oauthClients,omitempty"` // Deprecated - ClientTemplates []ClientTemplateRepresentation `json:"clientTemplates,omitempty"` - OAuth2DeviceCodeLifespan *int32 `json:"oAuth2DeviceCodeLifespan,omitempty"` - OAuth2DevicePollingInterval *int32 `json:"oAuth2DevicePollingInterval,omitempty"` + ClientTemplates []ClientTemplateRepresentation `json:"clientTemplates,omitempty"` + OAuth2DeviceCodeLifespan *int32 `json:"oAuth2DeviceCodeLifespan,omitempty"` + OAuth2DevicePollingInterval *int32 `json:"oAuth2DevicePollingInterval,omitempty"` } // NewRealmRepresentation instantiates a new RealmRepresentation object @@ -2114,6 +2117,38 @@ func (o *RealmRepresentation) SetDefaultRole(v RoleRepresentation) { o.DefaultRole = &v } +// GetAdminPermissionsClient returns the AdminPermissionsClient field value if set, zero value otherwise. +func (o *RealmRepresentation) GetAdminPermissionsClient() ClientRepresentation { + if o == nil || IsNil(o.AdminPermissionsClient) { + var ret ClientRepresentation + return ret + } + return *o.AdminPermissionsClient +} + +// GetAdminPermissionsClientOk returns a tuple with the AdminPermissionsClient field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RealmRepresentation) GetAdminPermissionsClientOk() (*ClientRepresentation, bool) { + if o == nil || IsNil(o.AdminPermissionsClient) { + return nil, false + } + return o.AdminPermissionsClient, true +} + +// HasAdminPermissionsClient returns a boolean if a field has been set. +func (o *RealmRepresentation) HasAdminPermissionsClient() bool { + if o != nil && !IsNil(o.AdminPermissionsClient) { + return true + } + + return false +} + +// SetAdminPermissionsClient gets a reference to the given ClientRepresentation and assigns it to the AdminPermissionsClient field. +func (o *RealmRepresentation) SetAdminPermissionsClient(v ClientRepresentation) { + o.AdminPermissionsClient = &v +} + // GetDefaultGroups returns the DefaultGroups field value if set, zero value otherwise. func (o *RealmRepresentation) GetDefaultGroups() []string { if o == nil || IsNil(o.DefaultGroups) { @@ -3558,7 +3593,7 @@ func (o *RealmRepresentation) SetBrowserSecurityHeaders(v map[string]string) { } // GetSmtpServer returns the SmtpServer field value if set, zero value otherwise. -func (o *RealmRepresentation) GetSmtpServerConfig() map[string]string { +func (o *RealmRepresentation) GetSmtpServer() map[string]string { if o == nil || IsNil(o.SmtpServer) { var ret map[string]string return ret @@ -3576,7 +3611,7 @@ func (o *RealmRepresentation) GetSmtpServerOk() (*map[string]string, bool) { } // HasSmtpServer returns a boolean if a field has been set. -func (o *RealmRepresentation) HasSmtpServerConfig() bool { +func (o *RealmRepresentation) HasSmtpServer() bool { if o != nil && !IsNil(o.SmtpServer) { return true } @@ -4677,6 +4712,70 @@ func (o *RealmRepresentation) SetOrganizations(v []OrganizationRepresentation) { o.Organizations = v } +// GetVerifiableCredentialsEnabled returns the VerifiableCredentialsEnabled field value if set, zero value otherwise. +func (o *RealmRepresentation) GetVerifiableCredentialsEnabled() bool { + if o == nil || IsNil(o.VerifiableCredentialsEnabled) { + var ret bool + return ret + } + return *o.VerifiableCredentialsEnabled +} + +// GetVerifiableCredentialsEnabledOk returns a tuple with the VerifiableCredentialsEnabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RealmRepresentation) GetVerifiableCredentialsEnabledOk() (*bool, bool) { + if o == nil || IsNil(o.VerifiableCredentialsEnabled) { + return nil, false + } + return o.VerifiableCredentialsEnabled, true +} + +// HasVerifiableCredentialsEnabled returns a boolean if a field has been set. +func (o *RealmRepresentation) HasVerifiableCredentialsEnabled() bool { + if o != nil && !IsNil(o.VerifiableCredentialsEnabled) { + return true + } + + return false +} + +// SetVerifiableCredentialsEnabled gets a reference to the given bool and assigns it to the VerifiableCredentialsEnabled field. +func (o *RealmRepresentation) SetVerifiableCredentialsEnabled(v bool) { + o.VerifiableCredentialsEnabled = &v +} + +// GetAdminPermissionsEnabled returns the AdminPermissionsEnabled field value if set, zero value otherwise. +func (o *RealmRepresentation) GetAdminPermissionsEnabled() bool { + if o == nil || IsNil(o.AdminPermissionsEnabled) { + var ret bool + return ret + } + return *o.AdminPermissionsEnabled +} + +// GetAdminPermissionsEnabledOk returns a tuple with the AdminPermissionsEnabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RealmRepresentation) GetAdminPermissionsEnabledOk() (*bool, bool) { + if o == nil || IsNil(o.AdminPermissionsEnabled) { + return nil, false + } + return o.AdminPermissionsEnabled, true +} + +// HasAdminPermissionsEnabled returns a boolean if a field has been set. +func (o *RealmRepresentation) HasAdminPermissionsEnabled() bool { + if o != nil && !IsNil(o.AdminPermissionsEnabled) { + return true + } + + return false +} + +// SetAdminPermissionsEnabled gets a reference to the given bool and assigns it to the AdminPermissionsEnabled field. +func (o *RealmRepresentation) SetAdminPermissionsEnabled(v bool) { + o.AdminPermissionsEnabled = &v +} + // GetSocial returns the Social field value if set, zero value otherwise. // Deprecated func (o *RealmRepresentation) GetSocial() bool { @@ -4987,7 +5086,7 @@ func (o *RealmRepresentation) SetOAuth2DevicePollingInterval(v int32) { } func (o RealmRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -5173,6 +5272,9 @@ func (o RealmRepresentation) ToMap() (map[string]interface{}, error) { if !IsNil(o.DefaultRole) { toSerialize["defaultRole"] = o.DefaultRole } + if !IsNil(o.AdminPermissionsClient) { + toSerialize["adminPermissionsClient"] = o.AdminPermissionsClient + } if !IsNil(o.DefaultGroups) { toSerialize["defaultGroups"] = o.DefaultGroups } @@ -5413,6 +5515,12 @@ func (o RealmRepresentation) ToMap() (map[string]interface{}, error) { if !IsNil(o.Organizations) { toSerialize["organizations"] = o.Organizations } + if !IsNil(o.VerifiableCredentialsEnabled) { + toSerialize["verifiableCredentialsEnabled"] = o.VerifiableCredentialsEnabled + } + if !IsNil(o.AdminPermissionsEnabled) { + toSerialize["adminPermissionsEnabled"] = o.AdminPermissionsEnabled + } if !IsNil(o.Social) { toSerialize["social"] = o.Social } @@ -5478,3 +5586,5 @@ func (v *NullableRealmRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_required_action_config_info_representation.go b/model_required_action_config_info_representation.go index c72372e..3007f7f 100644 --- a/model_required_action_config_info_representation.go +++ b/model_required_action_config_info_representation.go @@ -72,7 +72,7 @@ func (o *RequiredActionConfigInfoRepresentation) SetProperties(v []ConfigPropert } func (o RequiredActionConfigInfoRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -122,3 +122,5 @@ func (v *NullableRequiredActionConfigInfoRepresentation) UnmarshalJSON(src []byt v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_required_action_config_representation.go b/model_required_action_config_representation.go index f91aef8..b7fea41 100644 --- a/model_required_action_config_representation.go +++ b/model_required_action_config_representation.go @@ -72,7 +72,7 @@ func (o *RequiredActionConfigRepresentation) SetConfig(v map[string]string) { } func (o RequiredActionConfigRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -122,3 +122,5 @@ func (v *NullableRequiredActionConfigRepresentation) UnmarshalJSON(src []byte) e v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_required_action_provider_representation.go b/model_required_action_provider_representation.go index 6705a67..a5cf55d 100644 --- a/model_required_action_provider_representation.go +++ b/model_required_action_provider_representation.go @@ -19,13 +19,13 @@ var _ MappedNullable = &RequiredActionProviderRepresentation{} // RequiredActionProviderRepresentation struct for RequiredActionProviderRepresentation type RequiredActionProviderRepresentation struct { - Alias *string `json:"alias,omitempty"` - Name *string `json:"name,omitempty"` - ProviderId *string `json:"providerId,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - DefaultAction *bool `json:"defaultAction,omitempty"` - Priority *int32 `json:"priority,omitempty"` - Config *map[string]string `json:"config,omitempty"` + Alias *string `json:"alias,omitempty"` + Name *string `json:"name,omitempty"` + ProviderId *string `json:"providerId,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + DefaultAction *bool `json:"defaultAction,omitempty"` + Priority *int32 `json:"priority,omitempty"` + Config *map[string]string `json:"config,omitempty"` } // NewRequiredActionProviderRepresentation instantiates a new RequiredActionProviderRepresentation object @@ -270,7 +270,7 @@ func (o *RequiredActionProviderRepresentation) SetConfig(v map[string]string) { } func (o RequiredActionProviderRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -338,3 +338,5 @@ func (v *NullableRequiredActionProviderRepresentation) UnmarshalJSON(src []byte) v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_resource_owner_representation.go b/model_resource_owner_representation.go index 0c6c3ff..f0c76a8 100644 --- a/model_resource_owner_representation.go +++ b/model_resource_owner_representation.go @@ -19,7 +19,7 @@ var _ MappedNullable = &ResourceOwnerRepresentation{} // ResourceOwnerRepresentation struct for ResourceOwnerRepresentation type ResourceOwnerRepresentation struct { - Id *string `json:"id,omitempty"` + Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` } @@ -105,7 +105,7 @@ func (o *ResourceOwnerRepresentation) SetName(v string) { } func (o ResourceOwnerRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -158,3 +158,5 @@ func (v *NullableResourceOwnerRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_resource_representation.go b/model_resource_representation.go index a652298..0334d23 100644 --- a/model_resource_representation.go +++ b/model_resource_representation.go @@ -19,18 +19,18 @@ var _ MappedNullable = &ResourceRepresentation{} // ResourceRepresentation struct for ResourceRepresentation type ResourceRepresentation struct { - Id *string `json:"_id,omitempty"` - Name *string `json:"name,omitempty"` - Uris []string `json:"uris,omitempty"` - Type *string `json:"type,omitempty"` - Scopes []ScopeRepresentation `json:"scopes,omitempty"` - IconUri *string `json:"icon_uri,omitempty"` - Owner *ResourceOwnerRepresentation `json:"owner,omitempty"` - OwnerManagedAccess *bool `json:"ownerManagedAccess,omitempty"` - DisplayName *string `json:"displayName,omitempty"` - Attributes *map[string][]string `json:"attributes,omitempty"` + Id *string `json:"_id,omitempty"` + Name *string `json:"name,omitempty"` + Uris []string `json:"uris,omitempty"` + Type *string `json:"type,omitempty"` + Scopes []ScopeRepresentation `json:"scopes,omitempty"` + IconUri *string `json:"icon_uri,omitempty"` + Owner *ResourceOwnerRepresentation `json:"owner,omitempty"` + OwnerManagedAccess *bool `json:"ownerManagedAccess,omitempty"` + DisplayName *string `json:"displayName,omitempty"` + Attributes *map[string][]string `json:"attributes,omitempty"` // Deprecated - Uri *string `json:"uri,omitempty"` + Uri *string `json:"uri,omitempty"` ScopesUma []ScopeRepresentation `json:"scopesUma,omitempty"` } @@ -439,7 +439,7 @@ func (o *ResourceRepresentation) SetScopesUma(v []ScopeRepresentation) { } func (o ResourceRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -522,3 +522,5 @@ func (v *NullableResourceRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_resource_server_representation.go b/model_resource_server_representation.go index 2fda137..8c1c8d5 100644 --- a/model_resource_server_representation.go +++ b/model_resource_server_representation.go @@ -19,15 +19,16 @@ var _ MappedNullable = &ResourceServerRepresentation{} // ResourceServerRepresentation struct for ResourceServerRepresentation type ResourceServerRepresentation struct { - Id *string `json:"id,omitempty"` - ClientId *string `json:"clientId,omitempty"` - Name *string `json:"name,omitempty"` - AllowRemoteResourceManagement *bool `json:"allowRemoteResourceManagement,omitempty"` - PolicyEnforcementMode *PolicyEnforcementMode `json:"policyEnforcementMode,omitempty"` - Resources []ResourceRepresentation `json:"resources,omitempty"` - Policies []PolicyRepresentation `json:"policies,omitempty"` - Scopes []ScopeRepresentation `json:"scopes,omitempty"` - DecisionStrategy *DecisionStrategy `json:"decisionStrategy,omitempty"` + Id *string `json:"id,omitempty"` + ClientId *string `json:"clientId,omitempty"` + Name *string `json:"name,omitempty"` + AllowRemoteResourceManagement *bool `json:"allowRemoteResourceManagement,omitempty"` + PolicyEnforcementMode *PolicyEnforcementMode `json:"policyEnforcementMode,omitempty"` + Resources []ResourceRepresentation `json:"resources,omitempty"` + Policies []PolicyRepresentation `json:"policies,omitempty"` + Scopes []ScopeRepresentation `json:"scopes,omitempty"` + DecisionStrategy *DecisionStrategy `json:"decisionStrategy,omitempty"` + AuthorizationSchema *AuthorizationSchema `json:"authorizationSchema,omitempty"` } // NewResourceServerRepresentation instantiates a new ResourceServerRepresentation object @@ -335,8 +336,40 @@ func (o *ResourceServerRepresentation) SetDecisionStrategy(v DecisionStrategy) { o.DecisionStrategy = &v } +// GetAuthorizationSchema returns the AuthorizationSchema field value if set, zero value otherwise. +func (o *ResourceServerRepresentation) GetAuthorizationSchema() AuthorizationSchema { + if o == nil || IsNil(o.AuthorizationSchema) { + var ret AuthorizationSchema + return ret + } + return *o.AuthorizationSchema +} + +// GetAuthorizationSchemaOk returns a tuple with the AuthorizationSchema field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ResourceServerRepresentation) GetAuthorizationSchemaOk() (*AuthorizationSchema, bool) { + if o == nil || IsNil(o.AuthorizationSchema) { + return nil, false + } + return o.AuthorizationSchema, true +} + +// HasAuthorizationSchema returns a boolean if a field has been set. +func (o *ResourceServerRepresentation) HasAuthorizationSchema() bool { + if o != nil && !IsNil(o.AuthorizationSchema) { + return true + } + + return false +} + +// SetAuthorizationSchema gets a reference to the given AuthorizationSchema and assigns it to the AuthorizationSchema field. +func (o *ResourceServerRepresentation) SetAuthorizationSchema(v AuthorizationSchema) { + o.AuthorizationSchema = &v +} + func (o ResourceServerRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -372,6 +405,9 @@ func (o ResourceServerRepresentation) ToMap() (map[string]interface{}, error) { if !IsNil(o.DecisionStrategy) { toSerialize["decisionStrategy"] = o.DecisionStrategy } + if !IsNil(o.AuthorizationSchema) { + toSerialize["authorizationSchema"] = o.AuthorizationSchema + } return toSerialize, nil } @@ -410,3 +446,5 @@ func (v *NullableResourceServerRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_resource_type.go b/model_resource_type.go new file mode 100644 index 0000000..d437494 --- /dev/null +++ b/model_resource_type.go @@ -0,0 +1,162 @@ +/* +Keycloak Admin REST API + +This is a REST API reference for the Keycloak Admin REST API. + +API version: 1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package keycloak_admin_client + +import ( + "encoding/json" +) + +// checks if the ResourceType type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ResourceType{} + +// ResourceType struct for ResourceType +type ResourceType struct { + Type *string `json:"type,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +// NewResourceType instantiates a new ResourceType object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewResourceType() *ResourceType { + this := ResourceType{} + return &this +} + +// NewResourceTypeWithDefaults instantiates a new ResourceType object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewResourceTypeWithDefaults() *ResourceType { + this := ResourceType{} + return &this +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *ResourceType) GetType() string { + if o == nil || IsNil(o.Type) { + var ret string + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ResourceType) GetTypeOk() (*string, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *ResourceType) HasType() bool { + if o != nil && !IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given string and assigns it to the Type field. +func (o *ResourceType) SetType(v string) { + o.Type = &v +} + +// GetScopes returns the Scopes field value if set, zero value otherwise. +func (o *ResourceType) GetScopes() []string { + if o == nil || IsNil(o.Scopes) { + var ret []string + return ret + } + return o.Scopes +} + +// GetScopesOk returns a tuple with the Scopes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ResourceType) GetScopesOk() ([]string, bool) { + if o == nil || IsNil(o.Scopes) { + return nil, false + } + return o.Scopes, true +} + +// HasScopes returns a boolean if a field has been set. +func (o *ResourceType) HasScopes() bool { + if o != nil && !IsNil(o.Scopes) { + return true + } + + return false +} + +// SetScopes gets a reference to the given []string and assigns it to the Scopes field. +func (o *ResourceType) SetScopes(v []string) { + o.Scopes = v +} + +func (o ResourceType) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ResourceType) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Type) { + toSerialize["type"] = o.Type + } + if !IsNil(o.Scopes) { + toSerialize["scopes"] = o.Scopes + } + return toSerialize, nil +} + +type NullableResourceType struct { + value *ResourceType + isSet bool +} + +func (v NullableResourceType) Get() *ResourceType { + return v.value +} + +func (v *NullableResourceType) Set(val *ResourceType) { + v.value = val + v.isSet = true +} + +func (v NullableResourceType) IsSet() bool { + return v.isSet +} + +func (v *NullableResourceType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableResourceType(val *ResourceType) *NullableResourceType { + return &NullableResourceType{value: val, isSet: true} +} + +func (v NullableResourceType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableResourceType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_role_representation.go b/model_role_representation.go index d968178..246cf08 100644 --- a/model_role_representation.go +++ b/model_role_representation.go @@ -19,16 +19,16 @@ var _ MappedNullable = &RoleRepresentation{} // RoleRepresentation struct for RoleRepresentation type RoleRepresentation struct { - Id *string `json:"id,omitempty"` - Name *string `json:"name,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` // Deprecated - ScopeParamRequired *bool `json:"scopeParamRequired,omitempty"` - Composite *bool `json:"composite,omitempty"` - Composites *Composites `json:"composites,omitempty"` - ClientRole *bool `json:"clientRole,omitempty"` - ContainerId *string `json:"containerId,omitempty"` - Attributes *map[string][]string `json:"attributes,omitempty"` + ScopeParamRequired *bool `json:"scopeParamRequired,omitempty"` + Composite *bool `json:"composite,omitempty"` + Composites *Composites `json:"composites,omitempty"` + ClientRole *bool `json:"clientRole,omitempty"` + ContainerId *string `json:"containerId,omitempty"` + Attributes *map[string][]string `json:"attributes,omitempty"` } // NewRoleRepresentation instantiates a new RoleRepresentation object @@ -340,7 +340,7 @@ func (o *RoleRepresentation) SetAttributes(v map[string][]string) { } func (o RoleRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -414,3 +414,5 @@ func (v *NullableRoleRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_roles_representation.go b/model_roles_representation.go index 9618ca1..9302cf8 100644 --- a/model_roles_representation.go +++ b/model_roles_representation.go @@ -19,7 +19,7 @@ var _ MappedNullable = &RolesRepresentation{} // RolesRepresentation struct for RolesRepresentation type RolesRepresentation struct { - Realm []RoleRepresentation `json:"realm,omitempty"` + Realm []RoleRepresentation `json:"realm,omitempty"` Client *map[string][]RoleRepresentation `json:"client,omitempty"` // Deprecated Application *map[string][]RoleRepresentation `json:"application,omitempty"` @@ -142,7 +142,7 @@ func (o *RolesRepresentation) SetApplication(v map[string][]RoleRepresentation) } func (o RolesRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -198,3 +198,5 @@ func (v *NullableRolesRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_scope_enforcement_mode.go b/model_scope_enforcement_mode.go index 0441dbd..d51207a 100644 --- a/model_scope_enforcement_mode.go +++ b/model_scope_enforcement_mode.go @@ -20,9 +20,9 @@ type ScopeEnforcementMode string // List of ScopeEnforcementMode const ( - SCOPE_ALL ScopeEnforcementMode = "ALL" - SCOPE_ANY ScopeEnforcementMode = "ANY" - SCOPE_DISABLED ScopeEnforcementMode = "DISABLED" + ALL ScopeEnforcementMode = "ALL" + ANY ScopeEnforcementMode = "ANY" + DISABLED ScopeEnforcementMode = "DISABLED" ) // All allowed values of ScopeEnforcementMode enum @@ -110,3 +110,4 @@ func (v *NullableScopeEnforcementMode) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + diff --git a/model_scope_mapping_representation.go b/model_scope_mapping_representation.go index 524d2ac..1095418 100644 --- a/model_scope_mapping_representation.go +++ b/model_scope_mapping_representation.go @@ -19,12 +19,12 @@ var _ MappedNullable = &ScopeMappingRepresentation{} // ScopeMappingRepresentation struct for ScopeMappingRepresentation type ScopeMappingRepresentation struct { - Self *string `json:"self,omitempty"` + Self *string `json:"self,omitempty"` Client *string `json:"client,omitempty"` // Deprecated - ClientTemplate *string `json:"clientTemplate,omitempty"` - ClientScope *string `json:"clientScope,omitempty"` - Roles []string `json:"roles,omitempty"` + ClientTemplate *string `json:"clientTemplate,omitempty"` + ClientScope *string `json:"clientScope,omitempty"` + Roles []string `json:"roles,omitempty"` } // NewScopeMappingRepresentation instantiates a new ScopeMappingRepresentation object @@ -208,7 +208,7 @@ func (o *ScopeMappingRepresentation) SetRoles(v []string) { } func (o ScopeMappingRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -270,3 +270,5 @@ func (v *NullableScopeMappingRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_scope_representation.go b/model_scope_representation.go index cedac7b..61438c4 100644 --- a/model_scope_representation.go +++ b/model_scope_representation.go @@ -19,12 +19,12 @@ var _ MappedNullable = &ScopeRepresentation{} // ScopeRepresentation struct for ScopeRepresentation type ScopeRepresentation struct { - Id *string `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - IconUri *string `json:"iconUri,omitempty"` - Policies []PolicyRepresentation `json:"policies,omitempty"` - Resources []ResourceRepresentation `json:"resources,omitempty"` - DisplayName *string `json:"displayName,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + IconUri *string `json:"iconUri,omitempty"` + Policies []PolicyRepresentation `json:"policies,omitempty"` + Resources []ResourceRepresentation `json:"resources,omitempty"` + DisplayName *string `json:"displayName,omitempty"` } // NewScopeRepresentation instantiates a new ScopeRepresentation object @@ -237,7 +237,7 @@ func (o *ScopeRepresentation) SetDisplayName(v string) { } func (o ScopeRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -302,3 +302,5 @@ func (v *NullableScopeRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_social_link_representation.go b/model_social_link_representation.go index 8dec8c4..eccf8a1 100644 --- a/model_social_link_representation.go +++ b/model_social_link_representation.go @@ -20,7 +20,7 @@ var _ MappedNullable = &SocialLinkRepresentation{} // SocialLinkRepresentation struct for SocialLinkRepresentation type SocialLinkRepresentation struct { SocialProvider *string `json:"socialProvider,omitempty"` - SocialUserId *string `json:"socialUserId,omitempty"` + SocialUserId *string `json:"socialUserId,omitempty"` SocialUsername *string `json:"socialUsername,omitempty"` } @@ -138,7 +138,7 @@ func (o *SocialLinkRepresentation) SetSocialUsername(v string) { } func (o SocialLinkRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -194,3 +194,5 @@ func (v *NullableSocialLinkRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_unmanaged_attribute_policy.go b/model_unmanaged_attribute_policy.go index df83f85..a5873bc 100644 --- a/model_unmanaged_attribute_policy.go +++ b/model_unmanaged_attribute_policy.go @@ -20,7 +20,7 @@ type UnmanagedAttributePolicy string // List of UnmanagedAttributePolicy const ( - ENABLED UnmanagedAttributePolicy = "ENABLED" + ENABLED UnmanagedAttributePolicy = "ENABLED" ADMIN_VIEW UnmanagedAttributePolicy = "ADMIN_VIEW" ADMIN_EDIT UnmanagedAttributePolicy = "ADMIN_EDIT" ) @@ -110,3 +110,4 @@ func (v *NullableUnmanagedAttributePolicy) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + diff --git a/model_up_attribute.go b/model_up_attribute.go index 9b49a5d..9aa8c5d 100644 --- a/model_up_attribute.go +++ b/model_up_attribute.go @@ -19,15 +19,15 @@ var _ MappedNullable = &UPAttribute{} // UPAttribute struct for UPAttribute type UPAttribute struct { - Name *string `json:"name,omitempty"` - DisplayName *string `json:"displayName,omitempty"` + Name *string `json:"name,omitempty"` + DisplayName *string `json:"displayName,omitempty"` Validations *map[string]map[string]interface{} `json:"validations,omitempty"` - Annotations map[string]interface{} `json:"annotations,omitempty"` - Required *UPAttributeRequired `json:"required,omitempty"` - Permissions *UPAttributePermissions `json:"permissions,omitempty"` - Selector *UPAttributeSelector `json:"selector,omitempty"` - Group *string `json:"group,omitempty"` - Multivalued *bool `json:"multivalued,omitempty"` + Annotations map[string]interface{} `json:"annotations,omitempty"` + Required *UPAttributeRequired `json:"required,omitempty"` + Permissions *UPAttributePermissions `json:"permissions,omitempty"` + Selector *UPAttributeSelector `json:"selector,omitempty"` + Group *string `json:"group,omitempty"` + Multivalued *bool `json:"multivalued,omitempty"` } // NewUPAttribute instantiates a new UPAttribute object @@ -336,7 +336,7 @@ func (o *UPAttribute) SetMultivalued(v bool) { } func (o UPAttribute) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -410,3 +410,5 @@ func (v *NullableUPAttribute) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_up_attribute_permissions.go b/model_up_attribute_permissions.go index b7abc5d..02e5124 100644 --- a/model_up_attribute_permissions.go +++ b/model_up_attribute_permissions.go @@ -105,7 +105,7 @@ func (o *UPAttributePermissions) SetEdit(v []string) { } func (o UPAttributePermissions) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -158,3 +158,5 @@ func (v *NullableUPAttributePermissions) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_up_attribute_required.go b/model_up_attribute_required.go index 1c2bc5a..24204a7 100644 --- a/model_up_attribute_required.go +++ b/model_up_attribute_required.go @@ -19,7 +19,7 @@ var _ MappedNullable = &UPAttributeRequired{} // UPAttributeRequired struct for UPAttributeRequired type UPAttributeRequired struct { - Roles []string `json:"roles,omitempty"` + Roles []string `json:"roles,omitempty"` Scopes []string `json:"scopes,omitempty"` } @@ -105,7 +105,7 @@ func (o *UPAttributeRequired) SetScopes(v []string) { } func (o UPAttributeRequired) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -158,3 +158,5 @@ func (v *NullableUPAttributeRequired) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_up_attribute_selector.go b/model_up_attribute_selector.go index d0845c5..86ea53b 100644 --- a/model_up_attribute_selector.go +++ b/model_up_attribute_selector.go @@ -72,7 +72,7 @@ func (o *UPAttributeSelector) SetScopes(v []string) { } func (o UPAttributeSelector) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -122,3 +122,5 @@ func (v *NullableUPAttributeSelector) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_up_config.go b/model_up_config.go index 176d44a..7993137 100644 --- a/model_up_config.go +++ b/model_up_config.go @@ -19,8 +19,8 @@ var _ MappedNullable = &UPConfig{} // UPConfig struct for UPConfig type UPConfig struct { - Attributes []UPAttribute `json:"attributes,omitempty"` - Groups []UPGroup `json:"groups,omitempty"` + Attributes []UPAttribute `json:"attributes,omitempty"` + Groups []UPGroup `json:"groups,omitempty"` UnmanagedAttributePolicy *UnmanagedAttributePolicy `json:"unmanagedAttributePolicy,omitempty"` } @@ -138,7 +138,7 @@ func (o *UPConfig) SetUnmanagedAttributePolicy(v UnmanagedAttributePolicy) { } func (o UPConfig) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -194,3 +194,5 @@ func (v *NullableUPConfig) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_up_group.go b/model_up_group.go index c860a75..2c4c212 100644 --- a/model_up_group.go +++ b/model_up_group.go @@ -19,10 +19,10 @@ var _ MappedNullable = &UPGroup{} // UPGroup struct for UPGroup type UPGroup struct { - Name *string `json:"name,omitempty"` - DisplayHeader *string `json:"displayHeader,omitempty"` - DisplayDescription *string `json:"displayDescription,omitempty"` - Annotations map[string]interface{} `json:"annotations,omitempty"` + Name *string `json:"name,omitempty"` + DisplayHeader *string `json:"displayHeader,omitempty"` + DisplayDescription *string `json:"displayDescription,omitempty"` + Annotations map[string]interface{} `json:"annotations,omitempty"` } // NewUPGroup instantiates a new UPGroup object @@ -171,7 +171,7 @@ func (o *UPGroup) SetAnnotations(v map[string]interface{}) { } func (o UPGroup) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -230,3 +230,5 @@ func (v *NullableUPGroup) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_user_consent_representation.go b/model_user_consent_representation.go index 7fbc5dc..c233f2c 100644 --- a/model_user_consent_representation.go +++ b/model_user_consent_representation.go @@ -19,10 +19,10 @@ var _ MappedNullable = &UserConsentRepresentation{} // UserConsentRepresentation struct for UserConsentRepresentation type UserConsentRepresentation struct { - ClientId *string `json:"clientId,omitempty"` + ClientId *string `json:"clientId,omitempty"` GrantedClientScopes []string `json:"grantedClientScopes,omitempty"` - CreatedDate *int64 `json:"createdDate,omitempty"` - LastUpdatedDate *int64 `json:"lastUpdatedDate,omitempty"` + CreatedDate *int64 `json:"createdDate,omitempty"` + LastUpdatedDate *int64 `json:"lastUpdatedDate,omitempty"` // Deprecated GrantedRealmRoles []string `json:"grantedRealmRoles,omitempty"` } @@ -208,7 +208,7 @@ func (o *UserConsentRepresentation) SetGrantedRealmRoles(v []string) { } func (o UserConsentRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -270,3 +270,5 @@ func (v *NullableUserConsentRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_user_federation_mapper_representation.go b/model_user_federation_mapper_representation.go index 6d26aa4..dbe9d01 100644 --- a/model_user_federation_mapper_representation.go +++ b/model_user_federation_mapper_representation.go @@ -19,11 +19,11 @@ var _ MappedNullable = &UserFederationMapperRepresentation{} // UserFederationMapperRepresentation struct for UserFederationMapperRepresentation type UserFederationMapperRepresentation struct { - Id *string `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - FederationProviderDisplayName *string `json:"federationProviderDisplayName,omitempty"` - FederationMapperType *string `json:"federationMapperType,omitempty"` - Config *map[string]string `json:"config,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + FederationProviderDisplayName *string `json:"federationProviderDisplayName,omitempty"` + FederationMapperType *string `json:"federationMapperType,omitempty"` + Config *map[string]string `json:"config,omitempty"` } // NewUserFederationMapperRepresentation instantiates a new UserFederationMapperRepresentation object @@ -204,7 +204,7 @@ func (o *UserFederationMapperRepresentation) SetConfig(v map[string]string) { } func (o UserFederationMapperRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -266,3 +266,5 @@ func (v *NullableUserFederationMapperRepresentation) UnmarshalJSON(src []byte) e v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_user_federation_provider_representation.go b/model_user_federation_provider_representation.go index b6dcd37..573e558 100644 --- a/model_user_federation_provider_representation.go +++ b/model_user_federation_provider_representation.go @@ -19,14 +19,14 @@ var _ MappedNullable = &UserFederationProviderRepresentation{} // UserFederationProviderRepresentation struct for UserFederationProviderRepresentation type UserFederationProviderRepresentation struct { - Id *string `json:"id,omitempty"` - DisplayName *string `json:"displayName,omitempty"` - ProviderName *string `json:"providerName,omitempty"` - Config *map[string]string `json:"config,omitempty"` - Priority *int32 `json:"priority,omitempty"` - FullSyncPeriod *int32 `json:"fullSyncPeriod,omitempty"` - ChangedSyncPeriod *int32 `json:"changedSyncPeriod,omitempty"` - LastSync *int32 `json:"lastSync,omitempty"` + Id *string `json:"id,omitempty"` + DisplayName *string `json:"displayName,omitempty"` + ProviderName *string `json:"providerName,omitempty"` + Config *map[string]string `json:"config,omitempty"` + Priority *int32 `json:"priority,omitempty"` + FullSyncPeriod *int32 `json:"fullSyncPeriod,omitempty"` + ChangedSyncPeriod *int32 `json:"changedSyncPeriod,omitempty"` + LastSync *int32 `json:"lastSync,omitempty"` } // NewUserFederationProviderRepresentation instantiates a new UserFederationProviderRepresentation object @@ -303,7 +303,7 @@ func (o *UserFederationProviderRepresentation) SetLastSync(v int32) { } func (o UserFederationProviderRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -374,3 +374,5 @@ func (v *NullableUserFederationProviderRepresentation) UnmarshalJSON(src []byte) v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_user_profile_attribute_group_metadata.go b/model_user_profile_attribute_group_metadata.go index 78a1a7c..bc6b42b 100644 --- a/model_user_profile_attribute_group_metadata.go +++ b/model_user_profile_attribute_group_metadata.go @@ -19,10 +19,10 @@ var _ MappedNullable = &UserProfileAttributeGroupMetadata{} // UserProfileAttributeGroupMetadata struct for UserProfileAttributeGroupMetadata type UserProfileAttributeGroupMetadata struct { - Name *string `json:"name,omitempty"` - DisplayHeader *string `json:"displayHeader,omitempty"` - DisplayDescription *string `json:"displayDescription,omitempty"` - Annotations map[string]interface{} `json:"annotations,omitempty"` + Name *string `json:"name,omitempty"` + DisplayHeader *string `json:"displayHeader,omitempty"` + DisplayDescription *string `json:"displayDescription,omitempty"` + Annotations map[string]interface{} `json:"annotations,omitempty"` } // NewUserProfileAttributeGroupMetadata instantiates a new UserProfileAttributeGroupMetadata object @@ -171,7 +171,7 @@ func (o *UserProfileAttributeGroupMetadata) SetAnnotations(v map[string]interfac } func (o UserProfileAttributeGroupMetadata) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -230,3 +230,5 @@ func (v *NullableUserProfileAttributeGroupMetadata) UnmarshalJSON(src []byte) er v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_user_profile_attribute_metadata.go b/model_user_profile_attribute_metadata.go index bfd36cb..e78fcbc 100644 --- a/model_user_profile_attribute_metadata.go +++ b/model_user_profile_attribute_metadata.go @@ -19,14 +19,14 @@ var _ MappedNullable = &UserProfileAttributeMetadata{} // UserProfileAttributeMetadata struct for UserProfileAttributeMetadata type UserProfileAttributeMetadata struct { - Name *string `json:"name,omitempty"` - DisplayName *string `json:"displayName,omitempty"` - Required *bool `json:"required,omitempty"` - ReadOnly *bool `json:"readOnly,omitempty"` - Annotations map[string]interface{} `json:"annotations,omitempty"` - Validators *map[string]map[string]interface{} `json:"validators,omitempty"` - Group *string `json:"group,omitempty"` - Multivalued *bool `json:"multivalued,omitempty"` + Name *string `json:"name,omitempty"` + DisplayName *string `json:"displayName,omitempty"` + Required *bool `json:"required,omitempty"` + ReadOnly *bool `json:"readOnly,omitempty"` + Annotations map[string]interface{} `json:"annotations,omitempty"` + Validators *map[string]map[string]interface{} `json:"validators,omitempty"` + Group *string `json:"group,omitempty"` + Multivalued *bool `json:"multivalued,omitempty"` } // NewUserProfileAttributeMetadata instantiates a new UserProfileAttributeMetadata object @@ -303,7 +303,7 @@ func (o *UserProfileAttributeMetadata) SetMultivalued(v bool) { } func (o UserProfileAttributeMetadata) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -374,3 +374,5 @@ func (v *NullableUserProfileAttributeMetadata) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_user_profile_metadata.go b/model_user_profile_metadata.go index 2d6edee..d6e51a0 100644 --- a/model_user_profile_metadata.go +++ b/model_user_profile_metadata.go @@ -19,8 +19,8 @@ var _ MappedNullable = &UserProfileMetadata{} // UserProfileMetadata struct for UserProfileMetadata type UserProfileMetadata struct { - Attributes []UserProfileAttributeMetadata `json:"attributes,omitempty"` - Groups []UserProfileAttributeGroupMetadata `json:"groups,omitempty"` + Attributes []UserProfileAttributeMetadata `json:"attributes,omitempty"` + Groups []UserProfileAttributeGroupMetadata `json:"groups,omitempty"` } // NewUserProfileMetadata instantiates a new UserProfileMetadata object @@ -105,7 +105,7 @@ func (o *UserProfileMetadata) SetGroups(v []UserProfileAttributeGroupMetadata) { } func (o UserProfileMetadata) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -158,3 +158,5 @@ func (v *NullableUserProfileMetadata) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_user_representation.go b/model_user_representation.go index 629fb99..2f0fd6b 100644 --- a/model_user_representation.go +++ b/model_user_representation.go @@ -19,35 +19,35 @@ var _ MappedNullable = &UserRepresentation{} // UserRepresentation struct for UserRepresentation type UserRepresentation struct { - Id *string `json:"id,omitempty"` - Username *string `json:"username,omitempty"` - FirstName *string `json:"firstName,omitempty"` - LastName *string `json:"lastName,omitempty"` - Email *string `json:"email,omitempty"` - EmailVerified *bool `json:"emailVerified,omitempty"` - Attributes *map[string][]string `json:"attributes,omitempty"` - UserProfileMetadata *UserProfileMetadata `json:"userProfileMetadata,omitempty"` - Self *string `json:"self,omitempty"` - Origin *string `json:"origin,omitempty"` - CreatedTimestamp *int64 `json:"createdTimestamp,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - Totp *bool `json:"totp,omitempty"` - FederationLink *string `json:"federationLink,omitempty"` - ServiceAccountClientId *string `json:"serviceAccountClientId,omitempty"` - Credentials []CredentialRepresentation `json:"credentials,omitempty"` - DisableableCredentialTypes []string `json:"disableableCredentialTypes,omitempty"` - RequiredActions []string `json:"requiredActions,omitempty"` - FederatedIdentities []FederatedIdentityRepresentation `json:"federatedIdentities,omitempty"` - RealmRoles []string `json:"realmRoles,omitempty"` - ClientRoles *map[string][]string `json:"clientRoles,omitempty"` - ClientConsents []UserConsentRepresentation `json:"clientConsents,omitempty"` - NotBefore *int32 `json:"notBefore,omitempty"` + Id *string `json:"id,omitempty"` + Username *string `json:"username,omitempty"` + FirstName *string `json:"firstName,omitempty"` + LastName *string `json:"lastName,omitempty"` + Email *string `json:"email,omitempty"` + EmailVerified *bool `json:"emailVerified,omitempty"` + Attributes *map[string][]string `json:"attributes,omitempty"` + UserProfileMetadata *UserProfileMetadata `json:"userProfileMetadata,omitempty"` + Self *string `json:"self,omitempty"` + Origin *string `json:"origin,omitempty"` + CreatedTimestamp *int64 `json:"createdTimestamp,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Totp *bool `json:"totp,omitempty"` + FederationLink *string `json:"federationLink,omitempty"` + ServiceAccountClientId *string `json:"serviceAccountClientId,omitempty"` + Credentials []CredentialRepresentation `json:"credentials,omitempty"` + DisableableCredentialTypes []string `json:"disableableCredentialTypes,omitempty"` + RequiredActions []string `json:"requiredActions,omitempty"` + FederatedIdentities []FederatedIdentityRepresentation `json:"federatedIdentities,omitempty"` + RealmRoles []string `json:"realmRoles,omitempty"` + ClientRoles *map[string][]string `json:"clientRoles,omitempty"` + ClientConsents []UserConsentRepresentation `json:"clientConsents,omitempty"` + NotBefore *int32 `json:"notBefore,omitempty"` // Deprecated ApplicationRoles *map[string][]string `json:"applicationRoles,omitempty"` // Deprecated SocialLinks []SocialLinkRepresentation `json:"socialLinks,omitempty"` - Groups []string `json:"groups,omitempty"` - Access *map[string]bool `json:"access,omitempty"` + Groups []string `json:"groups,omitempty"` + Access *map[string]bool `json:"access,omitempty"` } // NewUserRepresentation instantiates a new UserRepresentation object @@ -938,7 +938,7 @@ func (o *UserRepresentation) SetAccess(v map[string]bool) { } func (o UserRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -1066,3 +1066,5 @@ func (v *NullableUserRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/model_user_session_representation.go b/model_user_session_representation.go index 2dab1e3..18b169b 100644 --- a/model_user_session_representation.go +++ b/model_user_session_representation.go @@ -19,15 +19,15 @@ var _ MappedNullable = &UserSessionRepresentation{} // UserSessionRepresentation struct for UserSessionRepresentation type UserSessionRepresentation struct { - Id *string `json:"id,omitempty"` - Username *string `json:"username,omitempty"` - UserId *string `json:"userId,omitempty"` - IpAddress *string `json:"ipAddress,omitempty"` - Start *int64 `json:"start,omitempty"` - LastAccess *int64 `json:"lastAccess,omitempty"` - RememberMe *bool `json:"rememberMe,omitempty"` - Clients *map[string]string `json:"clients,omitempty"` - TransientUser *bool `json:"transientUser,omitempty"` + Id *string `json:"id,omitempty"` + Username *string `json:"username,omitempty"` + UserId *string `json:"userId,omitempty"` + IpAddress *string `json:"ipAddress,omitempty"` + Start *int64 `json:"start,omitempty"` + LastAccess *int64 `json:"lastAccess,omitempty"` + RememberMe *bool `json:"rememberMe,omitempty"` + Clients *map[string]string `json:"clients,omitempty"` + TransientUser *bool `json:"transientUser,omitempty"` } // NewUserSessionRepresentation instantiates a new UserSessionRepresentation object @@ -336,7 +336,7 @@ func (o *UserSessionRepresentation) SetTransientUser(v bool) { } func (o UserSessionRepresentation) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() + toSerialize,err := o.ToMap() if err != nil { return []byte{}, err } @@ -410,3 +410,5 @@ func (v *NullableUserSessionRepresentation) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + + diff --git a/test/api_attack_detection_test.go b/test/api_attack_detection_test.go index 6bfc0bb..56e3301 100644 --- a/test/api_attack_detection_test.go +++ b/test/api_attack_detection_test.go @@ -11,10 +11,10 @@ package keycloak_admin_client import ( "context" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func Test_keycloak_admin_client_AttackDetectionAPIService(t *testing.T) { @@ -24,7 +24,7 @@ func Test_keycloak_admin_client_AttackDetectionAPIService(t *testing.T) { t.Run("Test AttackDetectionAPIService AdminRealmsRealmAttackDetectionBruteForceUsersDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -37,7 +37,7 @@ func Test_keycloak_admin_client_AttackDetectionAPIService(t *testing.T) { t.Run("Test AttackDetectionAPIService AdminRealmsRealmAttackDetectionBruteForceUsersUserIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -51,7 +51,7 @@ func Test_keycloak_admin_client_AttackDetectionAPIService(t *testing.T) { t.Run("Test AttackDetectionAPIService AdminRealmsRealmAttackDetectionBruteForceUsersUserIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string diff --git a/test/api_authentication_management_test.go b/test/api_authentication_management_test.go index ee1b0b2..13b1345 100644 --- a/test/api_authentication_management_test.go +++ b/test/api_authentication_management_test.go @@ -11,10 +11,10 @@ package keycloak_admin_client import ( "context" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) { @@ -24,7 +24,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationAuthenticatorProvidersGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -38,7 +38,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationClientAuthenticatorProvidersGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -52,7 +52,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationConfigDescriptionProviderIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var providerId string @@ -67,7 +67,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationConfigIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var id string @@ -81,7 +81,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationConfigIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var id string @@ -96,7 +96,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationConfigIdPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var id string @@ -110,7 +110,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationConfigPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -123,7 +123,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationExecutionsExecutionIdConfigIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var executionId string @@ -139,7 +139,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationExecutionsExecutionIdConfigPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var executionId string @@ -153,7 +153,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationExecutionsExecutionIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var executionId string @@ -167,7 +167,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationExecutionsExecutionIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var executionId string @@ -182,7 +182,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationExecutionsExecutionIdLowerPriorityPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var executionId string @@ -196,7 +196,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationExecutionsExecutionIdRaisePriorityPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var executionId string @@ -210,7 +210,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationExecutionsPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -223,7 +223,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationFlowsFlowAliasCopyPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var flowAlias string @@ -237,7 +237,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsExecutionPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var flowAlias string @@ -251,7 +251,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsFlowPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var flowAlias string @@ -265,7 +265,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var flowAlias string @@ -280,7 +280,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var flowAlias string @@ -294,7 +294,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationFlowsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -308,7 +308,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationFlowsIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var id string @@ -322,7 +322,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationFlowsIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var id string @@ -337,7 +337,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationFlowsIdPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var id string @@ -351,7 +351,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationFlowsPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -364,7 +364,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationFormActionProvidersGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -378,7 +378,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationFormProvidersGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -392,7 +392,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationPerClientConfigDescriptionGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -406,7 +406,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationRegisterRequiredActionPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -419,7 +419,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationRequiredActionsAliasConfigDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var alias string @@ -433,7 +433,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationRequiredActionsAliasConfigDescriptionGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var alias string @@ -448,7 +448,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationRequiredActionsAliasConfigGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var alias string @@ -463,7 +463,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationRequiredActionsAliasConfigPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var alias string @@ -477,7 +477,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationRequiredActionsAliasDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var alias string @@ -491,7 +491,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationRequiredActionsAliasGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var alias string @@ -506,7 +506,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationRequiredActionsAliasLowerPriorityPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var alias string @@ -520,7 +520,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationRequiredActionsAliasPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var alias string @@ -534,7 +534,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationRequiredActionsAliasRaisePriorityPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var alias string @@ -548,7 +548,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationRequiredActionsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -562,7 +562,7 @@ func Test_keycloak_admin_client_AuthenticationManagementAPIService(t *testing.T) t.Run("Test AuthenticationManagementAPIService AdminRealmsRealmAuthenticationUnregisteredRequiredActionsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string diff --git a/test/api_client_attribute_certificate_test.go b/test/api_client_attribute_certificate_test.go index 846f7e1..a43bd8b 100644 --- a/test/api_client_attribute_certificate_test.go +++ b/test/api_client_attribute_certificate_test.go @@ -11,10 +11,10 @@ package keycloak_admin_client import ( "context" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func Test_keycloak_admin_client_ClientAttributeCertificateAPIService(t *testing.T) { @@ -24,7 +24,7 @@ func Test_keycloak_admin_client_ClientAttributeCertificateAPIService(t *testing. t.Run("Test ClientAttributeCertificateAPIService AdminRealmsRealmClientsClientUuidCertificatesAttrDownloadPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -40,7 +40,7 @@ func Test_keycloak_admin_client_ClientAttributeCertificateAPIService(t *testing. t.Run("Test ClientAttributeCertificateAPIService AdminRealmsRealmClientsClientUuidCertificatesAttrGenerateAndDownloadPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -56,7 +56,7 @@ func Test_keycloak_admin_client_ClientAttributeCertificateAPIService(t *testing. t.Run("Test ClientAttributeCertificateAPIService AdminRealmsRealmClientsClientUuidCertificatesAttrGeneratePost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -72,7 +72,7 @@ func Test_keycloak_admin_client_ClientAttributeCertificateAPIService(t *testing. t.Run("Test ClientAttributeCertificateAPIService AdminRealmsRealmClientsClientUuidCertificatesAttrGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -88,7 +88,7 @@ func Test_keycloak_admin_client_ClientAttributeCertificateAPIService(t *testing. t.Run("Test ClientAttributeCertificateAPIService AdminRealmsRealmClientsClientUuidCertificatesAttrUploadCertificatePost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -104,7 +104,7 @@ func Test_keycloak_admin_client_ClientAttributeCertificateAPIService(t *testing. t.Run("Test ClientAttributeCertificateAPIService AdminRealmsRealmClientsClientUuidCertificatesAttrUploadPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string diff --git a/test/api_client_initial_access_test.go b/test/api_client_initial_access_test.go index c11d452..fd56799 100644 --- a/test/api_client_initial_access_test.go +++ b/test/api_client_initial_access_test.go @@ -11,10 +11,10 @@ package keycloak_admin_client import ( "context" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func Test_keycloak_admin_client_ClientInitialAccessAPIService(t *testing.T) { @@ -24,7 +24,7 @@ func Test_keycloak_admin_client_ClientInitialAccessAPIService(t *testing.T) { t.Run("Test ClientInitialAccessAPIService AdminRealmsRealmClientsInitialAccessGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -38,7 +38,7 @@ func Test_keycloak_admin_client_ClientInitialAccessAPIService(t *testing.T) { t.Run("Test ClientInitialAccessAPIService AdminRealmsRealmClientsInitialAccessIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var id string @@ -52,7 +52,7 @@ func Test_keycloak_admin_client_ClientInitialAccessAPIService(t *testing.T) { t.Run("Test ClientInitialAccessAPIService AdminRealmsRealmClientsInitialAccessPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string diff --git a/test/api_client_registration_policy_test.go b/test/api_client_registration_policy_test.go index 196956a..1ec095c 100644 --- a/test/api_client_registration_policy_test.go +++ b/test/api_client_registration_policy_test.go @@ -11,10 +11,10 @@ package keycloak_admin_client import ( "context" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func Test_keycloak_admin_client_ClientRegistrationPolicyAPIService(t *testing.T) { @@ -24,7 +24,7 @@ func Test_keycloak_admin_client_ClientRegistrationPolicyAPIService(t *testing.T) t.Run("Test ClientRegistrationPolicyAPIService AdminRealmsRealmClientRegistrationPolicyProvidersGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string diff --git a/test/api_client_role_mappings_test.go b/test/api_client_role_mappings_test.go index 4e7cb7d..fc064e3 100644 --- a/test/api_client_role_mappings_test.go +++ b/test/api_client_role_mappings_test.go @@ -11,10 +11,10 @@ package keycloak_admin_client import ( "context" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func Test_keycloak_admin_client_ClientRoleMappingsAPIService(t *testing.T) { @@ -24,7 +24,7 @@ func Test_keycloak_admin_client_ClientRoleMappingsAPIService(t *testing.T) { t.Run("Test ClientRoleMappingsAPIService AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdAvailableGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var groupId string @@ -40,7 +40,7 @@ func Test_keycloak_admin_client_ClientRoleMappingsAPIService(t *testing.T) { t.Run("Test ClientRoleMappingsAPIService AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdCompositeGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var groupId string @@ -56,7 +56,7 @@ func Test_keycloak_admin_client_ClientRoleMappingsAPIService(t *testing.T) { t.Run("Test ClientRoleMappingsAPIService AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var groupId string @@ -71,7 +71,7 @@ func Test_keycloak_admin_client_ClientRoleMappingsAPIService(t *testing.T) { t.Run("Test ClientRoleMappingsAPIService AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var groupId string @@ -87,7 +87,7 @@ func Test_keycloak_admin_client_ClientRoleMappingsAPIService(t *testing.T) { t.Run("Test ClientRoleMappingsAPIService AdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var groupId string @@ -102,7 +102,7 @@ func Test_keycloak_admin_client_ClientRoleMappingsAPIService(t *testing.T) { t.Run("Test ClientRoleMappingsAPIService AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdAvailableGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -118,7 +118,7 @@ func Test_keycloak_admin_client_ClientRoleMappingsAPIService(t *testing.T) { t.Run("Test ClientRoleMappingsAPIService AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdCompositeGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -134,7 +134,7 @@ func Test_keycloak_admin_client_ClientRoleMappingsAPIService(t *testing.T) { t.Run("Test ClientRoleMappingsAPIService AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -149,7 +149,7 @@ func Test_keycloak_admin_client_ClientRoleMappingsAPIService(t *testing.T) { t.Run("Test ClientRoleMappingsAPIService AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -165,7 +165,7 @@ func Test_keycloak_admin_client_ClientRoleMappingsAPIService(t *testing.T) { t.Run("Test ClientRoleMappingsAPIService AdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string diff --git a/test/api_client_scopes_test.go b/test/api_client_scopes_test.go index fe8e750..1eb7107 100644 --- a/test/api_client_scopes_test.go +++ b/test/api_client_scopes_test.go @@ -11,10 +11,10 @@ package keycloak_admin_client import ( "context" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func Test_keycloak_admin_client_ClientScopesAPIService(t *testing.T) { @@ -24,7 +24,7 @@ func Test_keycloak_admin_client_ClientScopesAPIService(t *testing.T) { t.Run("Test ClientScopesAPIService AdminRealmsRealmClientScopesClientScopeIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -38,7 +38,7 @@ func Test_keycloak_admin_client_ClientScopesAPIService(t *testing.T) { t.Run("Test ClientScopesAPIService AdminRealmsRealmClientScopesClientScopeIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -53,7 +53,7 @@ func Test_keycloak_admin_client_ClientScopesAPIService(t *testing.T) { t.Run("Test ClientScopesAPIService AdminRealmsRealmClientScopesClientScopeIdPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -67,7 +67,7 @@ func Test_keycloak_admin_client_ClientScopesAPIService(t *testing.T) { t.Run("Test ClientScopesAPIService AdminRealmsRealmClientScopesGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -81,7 +81,7 @@ func Test_keycloak_admin_client_ClientScopesAPIService(t *testing.T) { t.Run("Test ClientScopesAPIService AdminRealmsRealmClientScopesPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -94,7 +94,7 @@ func Test_keycloak_admin_client_ClientScopesAPIService(t *testing.T) { t.Run("Test ClientScopesAPIService AdminRealmsRealmClientTemplatesClientScopeIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -108,7 +108,7 @@ func Test_keycloak_admin_client_ClientScopesAPIService(t *testing.T) { t.Run("Test ClientScopesAPIService AdminRealmsRealmClientTemplatesClientScopeIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -123,7 +123,7 @@ func Test_keycloak_admin_client_ClientScopesAPIService(t *testing.T) { t.Run("Test ClientScopesAPIService AdminRealmsRealmClientTemplatesClientScopeIdPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -137,7 +137,7 @@ func Test_keycloak_admin_client_ClientScopesAPIService(t *testing.T) { t.Run("Test ClientScopesAPIService AdminRealmsRealmClientTemplatesGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -151,7 +151,7 @@ func Test_keycloak_admin_client_ClientScopesAPIService(t *testing.T) { t.Run("Test ClientScopesAPIService AdminRealmsRealmClientTemplatesPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string diff --git a/test/api_clients_test.go b/test/api_clients_test.go index c70d6b8..cb4512f 100644 --- a/test/api_clients_test.go +++ b/test/api_clients_test.go @@ -11,10 +11,10 @@ package keycloak_admin_client import ( "context" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { @@ -24,7 +24,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidClientSecretGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -39,7 +39,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidClientSecretPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -54,7 +54,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidClientSecretRotatedDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -68,7 +68,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidClientSecretRotatedGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -83,7 +83,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -98,7 +98,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeIdPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -113,7 +113,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidDefaultClientScopesGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -128,7 +128,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -142,7 +142,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleAccessTokenGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -157,7 +157,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleIdTokenGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -172,7 +172,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleUserinfoGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -187,7 +187,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidEvaluateScopesProtocolMappersGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -202,7 +202,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdGrantedGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -218,7 +218,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdNotGrantedGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -234,7 +234,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -249,7 +249,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidInstallationProvidersProviderIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -264,7 +264,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidManagementPermissionsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -279,7 +279,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidManagementPermissionsPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -294,7 +294,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidNodesNodeDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -309,7 +309,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidNodesPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -323,7 +323,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidOfflineSessionCountGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -338,7 +338,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidOfflineSessionsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -353,7 +353,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -368,7 +368,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeIdPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -383,7 +383,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidOptionalClientScopesGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -398,7 +398,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidPushRevocationPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -413,7 +413,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -427,7 +427,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidRegistrationAccessTokenPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -442,7 +442,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidServiceAccountUserGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -457,7 +457,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidSessionCountGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -472,7 +472,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidTestNodesAvailableGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -487,7 +487,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsClientUuidUserSessionsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -502,7 +502,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -516,7 +516,7 @@ func Test_keycloak_admin_client_ClientsAPIService(t *testing.T) { t.Run("Test ClientsAPIService AdminRealmsRealmClientsPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string diff --git a/test/api_component_test.go b/test/api_component_test.go index 6cb2725..4705e92 100644 --- a/test/api_component_test.go +++ b/test/api_component_test.go @@ -11,10 +11,10 @@ package keycloak_admin_client import ( "context" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func Test_keycloak_admin_client_ComponentAPIService(t *testing.T) { @@ -24,7 +24,7 @@ func Test_keycloak_admin_client_ComponentAPIService(t *testing.T) { t.Run("Test ComponentAPIService AdminRealmsRealmComponentsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -38,7 +38,7 @@ func Test_keycloak_admin_client_ComponentAPIService(t *testing.T) { t.Run("Test ComponentAPIService AdminRealmsRealmComponentsIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var id string @@ -52,7 +52,7 @@ func Test_keycloak_admin_client_ComponentAPIService(t *testing.T) { t.Run("Test ComponentAPIService AdminRealmsRealmComponentsIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var id string @@ -67,7 +67,7 @@ func Test_keycloak_admin_client_ComponentAPIService(t *testing.T) { t.Run("Test ComponentAPIService AdminRealmsRealmComponentsIdPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var id string @@ -81,7 +81,7 @@ func Test_keycloak_admin_client_ComponentAPIService(t *testing.T) { t.Run("Test ComponentAPIService AdminRealmsRealmComponentsIdSubComponentTypesGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var id string @@ -96,7 +96,7 @@ func Test_keycloak_admin_client_ComponentAPIService(t *testing.T) { t.Run("Test ComponentAPIService AdminRealmsRealmComponentsPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string diff --git a/test/api_default_test.go b/test/api_default_test.go index 0730088..0684046 100644 --- a/test/api_default_test.go +++ b/test/api_default_test.go @@ -11,10 +11,10 @@ package keycloak_admin_client import ( "context" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { @@ -24,7 +24,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -39,7 +39,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerImportPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -53,7 +53,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionEvaluatePost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -68,7 +68,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -83,7 +83,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -97,7 +97,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionProvidersGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -112,7 +112,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionSearchGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -127,7 +127,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyEvaluatePost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -142,7 +142,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -157,7 +157,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -171,7 +171,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyProvidersGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -186,7 +186,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerPolicySearchGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -201,7 +201,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -215,7 +215,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -230,7 +230,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerResourcePost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -245,7 +245,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdAttributesGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -260,7 +260,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -275,7 +275,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -291,7 +291,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPermissionsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -307,7 +307,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -322,7 +322,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdScopesGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -338,7 +338,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerResourceSearchGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -353,7 +353,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -368,7 +368,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerScopePost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -382,7 +382,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -397,7 +397,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -413,7 +413,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPermissionsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -429,7 +429,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -444,7 +444,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdResourcesGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -460,7 +460,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearchGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -475,7 +475,7 @@ func Test_keycloak_admin_client_DefaultAPIService(t *testing.T) { t.Run("Test DefaultAPIService AdminRealmsRealmClientsClientUuidAuthzResourceServerSettingsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string diff --git a/test/api_groups_test.go b/test/api_groups_test.go index f425db7..dce9989 100644 --- a/test/api_groups_test.go +++ b/test/api_groups_test.go @@ -11,10 +11,10 @@ package keycloak_admin_client import ( "context" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func Test_keycloak_admin_client_GroupsAPIService(t *testing.T) { @@ -24,7 +24,7 @@ func Test_keycloak_admin_client_GroupsAPIService(t *testing.T) { t.Run("Test GroupsAPIService AdminRealmsRealmGroupsCountGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -38,7 +38,7 @@ func Test_keycloak_admin_client_GroupsAPIService(t *testing.T) { t.Run("Test GroupsAPIService AdminRealmsRealmGroupsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -52,7 +52,7 @@ func Test_keycloak_admin_client_GroupsAPIService(t *testing.T) { t.Run("Test GroupsAPIService AdminRealmsRealmGroupsGroupIdChildrenGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var groupId string @@ -67,7 +67,7 @@ func Test_keycloak_admin_client_GroupsAPIService(t *testing.T) { t.Run("Test GroupsAPIService AdminRealmsRealmGroupsGroupIdChildrenPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var groupId string @@ -81,7 +81,7 @@ func Test_keycloak_admin_client_GroupsAPIService(t *testing.T) { t.Run("Test GroupsAPIService AdminRealmsRealmGroupsGroupIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var groupId string @@ -95,7 +95,7 @@ func Test_keycloak_admin_client_GroupsAPIService(t *testing.T) { t.Run("Test GroupsAPIService AdminRealmsRealmGroupsGroupIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var groupId string @@ -110,7 +110,7 @@ func Test_keycloak_admin_client_GroupsAPIService(t *testing.T) { t.Run("Test GroupsAPIService AdminRealmsRealmGroupsGroupIdManagementPermissionsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var groupId string @@ -125,7 +125,7 @@ func Test_keycloak_admin_client_GroupsAPIService(t *testing.T) { t.Run("Test GroupsAPIService AdminRealmsRealmGroupsGroupIdManagementPermissionsPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var groupId string @@ -140,7 +140,7 @@ func Test_keycloak_admin_client_GroupsAPIService(t *testing.T) { t.Run("Test GroupsAPIService AdminRealmsRealmGroupsGroupIdMembersGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var groupId string @@ -155,7 +155,7 @@ func Test_keycloak_admin_client_GroupsAPIService(t *testing.T) { t.Run("Test GroupsAPIService AdminRealmsRealmGroupsGroupIdPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var groupId string @@ -169,7 +169,7 @@ func Test_keycloak_admin_client_GroupsAPIService(t *testing.T) { t.Run("Test GroupsAPIService AdminRealmsRealmGroupsPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string diff --git a/test/api_identity_providers_test.go b/test/api_identity_providers_test.go index 7bdf030..d369fde 100644 --- a/test/api_identity_providers_test.go +++ b/test/api_identity_providers_test.go @@ -11,10 +11,10 @@ package keycloak_admin_client import ( "context" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func Test_keycloak_admin_client_IdentityProvidersAPIService(t *testing.T) { @@ -24,7 +24,7 @@ func Test_keycloak_admin_client_IdentityProvidersAPIService(t *testing.T) { t.Run("Test IdentityProvidersAPIService AdminRealmsRealmIdentityProviderImportConfigPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -38,7 +38,7 @@ func Test_keycloak_admin_client_IdentityProvidersAPIService(t *testing.T) { t.Run("Test IdentityProvidersAPIService AdminRealmsRealmIdentityProviderInstancesAliasDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var alias string @@ -52,7 +52,7 @@ func Test_keycloak_admin_client_IdentityProvidersAPIService(t *testing.T) { t.Run("Test IdentityProvidersAPIService AdminRealmsRealmIdentityProviderInstancesAliasExportGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var alias string @@ -66,7 +66,7 @@ func Test_keycloak_admin_client_IdentityProvidersAPIService(t *testing.T) { t.Run("Test IdentityProvidersAPIService AdminRealmsRealmIdentityProviderInstancesAliasGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var alias string @@ -81,7 +81,7 @@ func Test_keycloak_admin_client_IdentityProvidersAPIService(t *testing.T) { t.Run("Test IdentityProvidersAPIService AdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var alias string @@ -96,7 +96,7 @@ func Test_keycloak_admin_client_IdentityProvidersAPIService(t *testing.T) { t.Run("Test IdentityProvidersAPIService AdminRealmsRealmIdentityProviderInstancesAliasManagementPermissionsPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var alias string @@ -111,7 +111,7 @@ func Test_keycloak_admin_client_IdentityProvidersAPIService(t *testing.T) { t.Run("Test IdentityProvidersAPIService AdminRealmsRealmIdentityProviderInstancesAliasMapperTypesGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var alias string @@ -126,7 +126,7 @@ func Test_keycloak_admin_client_IdentityProvidersAPIService(t *testing.T) { t.Run("Test IdentityProvidersAPIService AdminRealmsRealmIdentityProviderInstancesAliasMappersGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var alias string @@ -141,7 +141,7 @@ func Test_keycloak_admin_client_IdentityProvidersAPIService(t *testing.T) { t.Run("Test IdentityProvidersAPIService AdminRealmsRealmIdentityProviderInstancesAliasMappersIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var alias string @@ -156,7 +156,7 @@ func Test_keycloak_admin_client_IdentityProvidersAPIService(t *testing.T) { t.Run("Test IdentityProvidersAPIService AdminRealmsRealmIdentityProviderInstancesAliasMappersIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var alias string @@ -172,7 +172,7 @@ func Test_keycloak_admin_client_IdentityProvidersAPIService(t *testing.T) { t.Run("Test IdentityProvidersAPIService AdminRealmsRealmIdentityProviderInstancesAliasMappersIdPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var alias string @@ -187,7 +187,7 @@ func Test_keycloak_admin_client_IdentityProvidersAPIService(t *testing.T) { t.Run("Test IdentityProvidersAPIService AdminRealmsRealmIdentityProviderInstancesAliasMappersPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var alias string @@ -201,7 +201,7 @@ func Test_keycloak_admin_client_IdentityProvidersAPIService(t *testing.T) { t.Run("Test IdentityProvidersAPIService AdminRealmsRealmIdentityProviderInstancesAliasPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var alias string @@ -215,7 +215,7 @@ func Test_keycloak_admin_client_IdentityProvidersAPIService(t *testing.T) { t.Run("Test IdentityProvidersAPIService AdminRealmsRealmIdentityProviderInstancesAliasReloadKeysGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var alias string @@ -230,7 +230,7 @@ func Test_keycloak_admin_client_IdentityProvidersAPIService(t *testing.T) { t.Run("Test IdentityProvidersAPIService AdminRealmsRealmIdentityProviderInstancesGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -244,7 +244,7 @@ func Test_keycloak_admin_client_IdentityProvidersAPIService(t *testing.T) { t.Run("Test IdentityProvidersAPIService AdminRealmsRealmIdentityProviderInstancesPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -257,7 +257,7 @@ func Test_keycloak_admin_client_IdentityProvidersAPIService(t *testing.T) { t.Run("Test IdentityProvidersAPIService AdminRealmsRealmIdentityProviderProvidersProviderIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var providerId string diff --git a/test/api_key_test.go b/test/api_key_test.go index 3046bdb..6974a56 100644 --- a/test/api_key_test.go +++ b/test/api_key_test.go @@ -11,10 +11,10 @@ package keycloak_admin_client import ( "context" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func Test_keycloak_admin_client_KeyAPIService(t *testing.T) { @@ -24,7 +24,7 @@ func Test_keycloak_admin_client_KeyAPIService(t *testing.T) { t.Run("Test KeyAPIService AdminRealmsRealmKeysGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string diff --git a/test/api_organizations_test.go b/test/api_organizations_test.go index d1d2e52..e484b7e 100644 --- a/test/api_organizations_test.go +++ b/test/api_organizations_test.go @@ -11,11 +11,10 @@ package keycloak_admin_client import ( "context" - "testing" - - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func Test_keycloak_admin_client_OrganizationsAPIService(t *testing.T) { @@ -25,7 +24,7 @@ func Test_keycloak_admin_client_OrganizationsAPIService(t *testing.T) { t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -37,74 +36,74 @@ func Test_keycloak_admin_client_OrganizationsAPIService(t *testing.T) { }) - t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsIdDelete", func(t *testing.T) { + t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsMembersMemberIdOrganizationsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string - var id string + var memberId string - httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdDelete(context.Background(), realm, id).Execute() + resp, httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsMembersMemberIdOrganizationsGet(context.Background(), realm, memberId).Execute() require.Nil(t, err) + require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) }) - t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsIdGet", func(t *testing.T) { + t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsOrgIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string - var id string + var orgId string - resp, httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdGet(context.Background(), realm, id).Execute() + httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdDelete(context.Background(), realm, orgId).Execute() require.Nil(t, err) - require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) }) - t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsIdIdentityProvidersAliasDelete", func(t *testing.T) { + t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsOrgIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string - var id string - var alias string + var orgId string - httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdIdentityProvidersAliasDelete(context.Background(), realm, id, alias).Execute() + resp, httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdGet(context.Background(), realm, orgId).Execute() require.Nil(t, err) + require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) }) - t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsIdIdentityProvidersAliasGet", func(t *testing.T) { + t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string - var id string + var orgId string var alias string - resp, httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdIdentityProvidersAliasGet(context.Background(), realm, id, alias).Execute() + httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasDelete(context.Background(), realm, orgId, alias).Execute() require.Nil(t, err) - require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) }) - t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsIdIdentityProvidersGet", func(t *testing.T) { + t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string - var id string + var orgId string + var alias string - resp, httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdIdentityProvidersGet(context.Background(), realm, id).Execute() + resp, httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGet(context.Background(), realm, orgId, alias).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -112,43 +111,43 @@ func Test_keycloak_admin_client_OrganizationsAPIService(t *testing.T) { }) - t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsIdIdentityProvidersPost", func(t *testing.T) { + t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsOrgIdIdentityProvidersGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string - var id string + var orgId string - httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdIdentityProvidersPost(context.Background(), realm, id).Execute() + resp, httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdIdentityProvidersGet(context.Background(), realm, orgId).Execute() require.Nil(t, err) + require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) }) - t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsIdMembersCountGet", func(t *testing.T) { + t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsOrgIdIdentityProvidersPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string - var id string + var orgId string - resp, httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersCountGet(context.Background(), realm, id).Execute() + httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdIdentityProvidersPost(context.Background(), realm, orgId).Execute() require.Nil(t, err) - require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) }) - t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsIdMembersGet", func(t *testing.T) { + t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsOrgIdMembersCountGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string - var id string + var orgId string - resp, httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersGet(context.Background(), realm, id).Execute() + resp, httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersCountGet(context.Background(), realm, orgId).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -156,72 +155,73 @@ func Test_keycloak_admin_client_OrganizationsAPIService(t *testing.T) { }) - t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsIdMembersInviteExistingUserPost", func(t *testing.T) { + t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsOrgIdMembersGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string - var id string + var orgId string - httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersInviteExistingUserPost(context.Background(), realm, id).Execute() + resp, httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersGet(context.Background(), realm, orgId).Execute() require.Nil(t, err) + require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) }) - t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsIdMembersInviteUserPost", func(t *testing.T) { + t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUserPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string - var id string + var orgId string - httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersInviteUserPost(context.Background(), realm, id).Execute() + httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUserPost(context.Background(), realm, orgId).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) }) - t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsIdMembersPost", func(t *testing.T) { + t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsOrgIdMembersInviteUserPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string - var id string + var orgId string - httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersPost(context.Background(), realm, id).Execute() + httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersInviteUserPost(context.Background(), realm, orgId).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) }) - t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsIdMembersUserIdDelete", func(t *testing.T) { + t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsOrgIdMembersMemberIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string - var id string - var userId string + var orgId string + var memberId string - httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersUserIdDelete(context.Background(), realm, id, userId).Execute() + httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersMemberIdDelete(context.Background(), realm, orgId, memberId).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) }) - t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsIdMembersUserIdGet", func(t *testing.T) { + t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsOrgIdMembersMemberIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string - var id string - var userId string + var orgId string + var memberId string - resp, httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersUserIdGet(context.Background(), realm, id, userId).Execute() + resp, httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersMemberIdGet(context.Background(), realm, orgId, memberId).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -229,15 +229,15 @@ func Test_keycloak_admin_client_OrganizationsAPIService(t *testing.T) { }) - t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsIdMembersUserIdOrganizationsGet", func(t *testing.T) { + t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizationsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string - var id string - var userId string + var orgId string + var memberId string - resp, httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdMembersUserIdOrganizationsGet(context.Background(), realm, id, userId).Execute() + resp, httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizationsGet(context.Background(), realm, orgId, memberId).Execute() require.Nil(t, err) require.NotNil(t, resp) @@ -245,38 +245,37 @@ func Test_keycloak_admin_client_OrganizationsAPIService(t *testing.T) { }) - t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsIdPut", func(t *testing.T) { + t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsOrgIdMembersPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string - var id string + var orgId string - httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsIdPut(context.Background(), realm, id).Execute() + httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdMembersPost(context.Background(), realm, orgId).Execute() require.Nil(t, err) assert.Equal(t, 200, httpRes.StatusCode) }) - t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsMembersIdOrganizationsGet", func(t *testing.T) { + t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsOrgIdPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string - var id string + var orgId string - resp, httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsMembersIdOrganizationsGet(context.Background(), realm, id).Execute() + httpRes, err := apiClient.OrganizationsAPI.AdminRealmsRealmOrganizationsOrgIdPut(context.Background(), realm, orgId).Execute() require.Nil(t, err) - require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) }) t.Run("Test OrganizationsAPIService AdminRealmsRealmOrganizationsPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string diff --git a/test/api_protocol_mappers_test.go b/test/api_protocol_mappers_test.go index eaa138a..2892835 100644 --- a/test/api_protocol_mappers_test.go +++ b/test/api_protocol_mappers_test.go @@ -11,10 +11,10 @@ package keycloak_admin_client import ( "context" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func Test_keycloak_admin_client_ProtocolMappersAPIService(t *testing.T) { @@ -24,7 +24,7 @@ func Test_keycloak_admin_client_ProtocolMappersAPIService(t *testing.T) { t.Run("Test ProtocolMappersAPIService AdminRealmsRealmClientScopesClientScopeIdProtocolMappersAddModelsPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -38,7 +38,7 @@ func Test_keycloak_admin_client_ProtocolMappersAPIService(t *testing.T) { t.Run("Test ProtocolMappersAPIService AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -53,7 +53,7 @@ func Test_keycloak_admin_client_ProtocolMappersAPIService(t *testing.T) { t.Run("Test ProtocolMappersAPIService AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -68,7 +68,7 @@ func Test_keycloak_admin_client_ProtocolMappersAPIService(t *testing.T) { t.Run("Test ProtocolMappersAPIService AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -84,7 +84,7 @@ func Test_keycloak_admin_client_ProtocolMappersAPIService(t *testing.T) { t.Run("Test ProtocolMappersAPIService AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsIdPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -99,7 +99,7 @@ func Test_keycloak_admin_client_ProtocolMappersAPIService(t *testing.T) { t.Run("Test ProtocolMappersAPIService AdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -113,7 +113,7 @@ func Test_keycloak_admin_client_ProtocolMappersAPIService(t *testing.T) { t.Run("Test ProtocolMappersAPIService AdminRealmsRealmClientScopesClientScopeIdProtocolMappersProtocolProtocolGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -129,7 +129,7 @@ func Test_keycloak_admin_client_ProtocolMappersAPIService(t *testing.T) { t.Run("Test ProtocolMappersAPIService AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersAddModelsPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -143,7 +143,7 @@ func Test_keycloak_admin_client_ProtocolMappersAPIService(t *testing.T) { t.Run("Test ProtocolMappersAPIService AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -158,7 +158,7 @@ func Test_keycloak_admin_client_ProtocolMappersAPIService(t *testing.T) { t.Run("Test ProtocolMappersAPIService AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -173,7 +173,7 @@ func Test_keycloak_admin_client_ProtocolMappersAPIService(t *testing.T) { t.Run("Test ProtocolMappersAPIService AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -189,7 +189,7 @@ func Test_keycloak_admin_client_ProtocolMappersAPIService(t *testing.T) { t.Run("Test ProtocolMappersAPIService AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsIdPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -204,7 +204,7 @@ func Test_keycloak_admin_client_ProtocolMappersAPIService(t *testing.T) { t.Run("Test ProtocolMappersAPIService AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -218,7 +218,7 @@ func Test_keycloak_admin_client_ProtocolMappersAPIService(t *testing.T) { t.Run("Test ProtocolMappersAPIService AdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersProtocolProtocolGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -234,7 +234,7 @@ func Test_keycloak_admin_client_ProtocolMappersAPIService(t *testing.T) { t.Run("Test ProtocolMappersAPIService AdminRealmsRealmClientsClientUuidProtocolMappersAddModelsPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -248,7 +248,7 @@ func Test_keycloak_admin_client_ProtocolMappersAPIService(t *testing.T) { t.Run("Test ProtocolMappersAPIService AdminRealmsRealmClientsClientUuidProtocolMappersModelsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -263,7 +263,7 @@ func Test_keycloak_admin_client_ProtocolMappersAPIService(t *testing.T) { t.Run("Test ProtocolMappersAPIService AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -278,7 +278,7 @@ func Test_keycloak_admin_client_ProtocolMappersAPIService(t *testing.T) { t.Run("Test ProtocolMappersAPIService AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -294,7 +294,7 @@ func Test_keycloak_admin_client_ProtocolMappersAPIService(t *testing.T) { t.Run("Test ProtocolMappersAPIService AdminRealmsRealmClientsClientUuidProtocolMappersModelsIdPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -309,7 +309,7 @@ func Test_keycloak_admin_client_ProtocolMappersAPIService(t *testing.T) { t.Run("Test ProtocolMappersAPIService AdminRealmsRealmClientsClientUuidProtocolMappersModelsPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -323,7 +323,7 @@ func Test_keycloak_admin_client_ProtocolMappersAPIService(t *testing.T) { t.Run("Test ProtocolMappersAPIService AdminRealmsRealmClientsClientUuidProtocolMappersProtocolProtocolGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string diff --git a/test/api_realms_admin_test.go b/test/api_realms_admin_test.go index e4849ac..f824101 100644 --- a/test/api_realms_admin_test.go +++ b/test/api_realms_admin_test.go @@ -11,10 +11,10 @@ package keycloak_admin_client import ( "context" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { @@ -24,7 +24,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test resp, httpRes, err := apiClient.RealmsAdminAPI.AdminRealmsGet(context.Background()).Execute() @@ -36,7 +36,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test httpRes, err := apiClient.RealmsAdminAPI.AdminRealmsPost(context.Background()).Execute() @@ -47,7 +47,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmAdminEventsDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -60,7 +60,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmAdminEventsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -74,7 +74,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmClientDescriptionConverterPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -88,7 +88,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmClientPoliciesPoliciesGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -102,7 +102,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmClientPoliciesPoliciesPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -115,7 +115,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmClientPoliciesProfilesGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -129,7 +129,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmClientPoliciesProfilesPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -142,7 +142,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmClientSessionStatsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -156,7 +156,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmClientTypesGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -170,7 +170,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmClientTypesPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -183,7 +183,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmCredentialRegistratorsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -197,7 +197,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmDefaultDefaultClientScopesClientScopeIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -211,7 +211,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmDefaultDefaultClientScopesClientScopeIdPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -225,7 +225,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmDefaultDefaultClientScopesGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -239,7 +239,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmDefaultGroupsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -253,7 +253,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmDefaultGroupsGroupIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var groupId string @@ -267,7 +267,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmDefaultGroupsGroupIdPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var groupId string @@ -281,7 +281,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmDefaultOptionalClientScopesClientScopeIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -295,7 +295,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmDefaultOptionalClientScopesClientScopeIdPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -309,7 +309,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmDefaultOptionalClientScopesGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -323,7 +323,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -336,7 +336,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmEventsConfigGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -350,7 +350,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmEventsConfigPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -363,7 +363,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmEventsDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -376,7 +376,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmEventsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -390,7 +390,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -404,7 +404,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmGroupByPathPathGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var path string @@ -419,7 +419,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmLocalizationGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -433,7 +433,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmLocalizationLocaleDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var locale string @@ -447,7 +447,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmLocalizationLocaleGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var locale string @@ -462,7 +462,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmLocalizationLocaleKeyDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var key string @@ -477,7 +477,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmLocalizationLocaleKeyGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var key string @@ -493,7 +493,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmLocalizationLocaleKeyPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var key string @@ -508,7 +508,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmLocalizationLocalePost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var locale string @@ -522,7 +522,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmLogoutAllPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -536,7 +536,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmPartialExportPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -549,7 +549,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmPartialImportPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -562,7 +562,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmPushRevocationPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -576,7 +576,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -589,7 +589,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmSessionsSessionDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var session string @@ -603,7 +603,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmTestSMTPConnectionPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -616,7 +616,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmUsersManagementPermissionsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -630,7 +630,7 @@ func Test_keycloak_admin_client_RealmsAdminAPIService(t *testing.T) { t.Run("Test RealmsAdminAPIService AdminRealmsRealmUsersManagementPermissionsPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string diff --git a/test/api_role_mapper_test.go b/test/api_role_mapper_test.go index 1f97a6b..5a1ba6b 100644 --- a/test/api_role_mapper_test.go +++ b/test/api_role_mapper_test.go @@ -11,10 +11,10 @@ package keycloak_admin_client import ( "context" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func Test_keycloak_admin_client_RoleMapperAPIService(t *testing.T) { @@ -24,7 +24,7 @@ func Test_keycloak_admin_client_RoleMapperAPIService(t *testing.T) { t.Run("Test RoleMapperAPIService AdminRealmsRealmGroupsGroupIdRoleMappingsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var groupId string @@ -39,7 +39,7 @@ func Test_keycloak_admin_client_RoleMapperAPIService(t *testing.T) { t.Run("Test RoleMapperAPIService AdminRealmsRealmGroupsGroupIdRoleMappingsRealmAvailableGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var groupId string @@ -54,7 +54,7 @@ func Test_keycloak_admin_client_RoleMapperAPIService(t *testing.T) { t.Run("Test RoleMapperAPIService AdminRealmsRealmGroupsGroupIdRoleMappingsRealmCompositeGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var groupId string @@ -69,7 +69,7 @@ func Test_keycloak_admin_client_RoleMapperAPIService(t *testing.T) { t.Run("Test RoleMapperAPIService AdminRealmsRealmGroupsGroupIdRoleMappingsRealmDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var groupId string @@ -83,7 +83,7 @@ func Test_keycloak_admin_client_RoleMapperAPIService(t *testing.T) { t.Run("Test RoleMapperAPIService AdminRealmsRealmGroupsGroupIdRoleMappingsRealmGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var groupId string @@ -98,7 +98,7 @@ func Test_keycloak_admin_client_RoleMapperAPIService(t *testing.T) { t.Run("Test RoleMapperAPIService AdminRealmsRealmGroupsGroupIdRoleMappingsRealmPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var groupId string @@ -112,7 +112,7 @@ func Test_keycloak_admin_client_RoleMapperAPIService(t *testing.T) { t.Run("Test RoleMapperAPIService AdminRealmsRealmUsersUserIdRoleMappingsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -127,7 +127,7 @@ func Test_keycloak_admin_client_RoleMapperAPIService(t *testing.T) { t.Run("Test RoleMapperAPIService AdminRealmsRealmUsersUserIdRoleMappingsRealmAvailableGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -142,7 +142,7 @@ func Test_keycloak_admin_client_RoleMapperAPIService(t *testing.T) { t.Run("Test RoleMapperAPIService AdminRealmsRealmUsersUserIdRoleMappingsRealmCompositeGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -157,7 +157,7 @@ func Test_keycloak_admin_client_RoleMapperAPIService(t *testing.T) { t.Run("Test RoleMapperAPIService AdminRealmsRealmUsersUserIdRoleMappingsRealmDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -171,7 +171,7 @@ func Test_keycloak_admin_client_RoleMapperAPIService(t *testing.T) { t.Run("Test RoleMapperAPIService AdminRealmsRealmUsersUserIdRoleMappingsRealmGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -186,7 +186,7 @@ func Test_keycloak_admin_client_RoleMapperAPIService(t *testing.T) { t.Run("Test RoleMapperAPIService AdminRealmsRealmUsersUserIdRoleMappingsRealmPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string diff --git a/test/api_roles_by_id_test.go b/test/api_roles_by_id_test.go index b93e3c3..abf09e3 100644 --- a/test/api_roles_by_id_test.go +++ b/test/api_roles_by_id_test.go @@ -11,10 +11,10 @@ package keycloak_admin_client import ( "context" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func Test_keycloak_admin_client_RolesByIDAPIService(t *testing.T) { @@ -24,7 +24,7 @@ func Test_keycloak_admin_client_RolesByIDAPIService(t *testing.T) { t.Run("Test RolesByIDAPIService AdminRealmsRealmRolesByIdRoleIdCompositesClientsClientUuidGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -40,7 +40,7 @@ func Test_keycloak_admin_client_RolesByIDAPIService(t *testing.T) { t.Run("Test RolesByIDAPIService AdminRealmsRealmRolesByIdRoleIdCompositesDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var roleId string @@ -54,7 +54,7 @@ func Test_keycloak_admin_client_RolesByIDAPIService(t *testing.T) { t.Run("Test RolesByIDAPIService AdminRealmsRealmRolesByIdRoleIdCompositesGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var roleId string @@ -69,7 +69,7 @@ func Test_keycloak_admin_client_RolesByIDAPIService(t *testing.T) { t.Run("Test RolesByIDAPIService AdminRealmsRealmRolesByIdRoleIdCompositesPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var roleId string @@ -83,7 +83,7 @@ func Test_keycloak_admin_client_RolesByIDAPIService(t *testing.T) { t.Run("Test RolesByIDAPIService AdminRealmsRealmRolesByIdRoleIdCompositesRealmGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var roleId string @@ -98,7 +98,7 @@ func Test_keycloak_admin_client_RolesByIDAPIService(t *testing.T) { t.Run("Test RolesByIDAPIService AdminRealmsRealmRolesByIdRoleIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var roleId string @@ -112,7 +112,7 @@ func Test_keycloak_admin_client_RolesByIDAPIService(t *testing.T) { t.Run("Test RolesByIDAPIService AdminRealmsRealmRolesByIdRoleIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var roleId string @@ -127,7 +127,7 @@ func Test_keycloak_admin_client_RolesByIDAPIService(t *testing.T) { t.Run("Test RolesByIDAPIService AdminRealmsRealmRolesByIdRoleIdManagementPermissionsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var roleId string @@ -142,7 +142,7 @@ func Test_keycloak_admin_client_RolesByIDAPIService(t *testing.T) { t.Run("Test RolesByIDAPIService AdminRealmsRealmRolesByIdRoleIdManagementPermissionsPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var roleId string @@ -157,7 +157,7 @@ func Test_keycloak_admin_client_RolesByIDAPIService(t *testing.T) { t.Run("Test RolesByIDAPIService AdminRealmsRealmRolesByIdRoleIdPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var roleId string diff --git a/test/api_roles_test.go b/test/api_roles_test.go index df8d029..a7d8db4 100644 --- a/test/api_roles_test.go +++ b/test/api_roles_test.go @@ -11,10 +11,10 @@ package keycloak_admin_client import ( "context" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { @@ -24,7 +24,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmClientsClientUuidRolesGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -39,7 +39,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmClientsClientUuidRolesPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -53,7 +53,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesClientsClientInCompositeUuidGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -70,7 +70,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -85,7 +85,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -101,7 +101,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -116,7 +116,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmClientsClientUuidRolesRoleNameCompositesRealmGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -132,7 +132,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmClientsClientUuidRolesRoleNameDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -147,7 +147,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmClientsClientUuidRolesRoleNameGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -163,7 +163,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmClientsClientUuidRolesRoleNameGroupsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -179,7 +179,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -195,7 +195,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissionsPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -211,7 +211,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmClientsClientUuidRolesRoleNamePut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -226,7 +226,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmClientsClientUuidRolesRoleNameUsersGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -242,7 +242,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmRolesGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -256,7 +256,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmRolesPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -269,7 +269,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmRolesRoleNameCompositesClientsClientUuidGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -285,7 +285,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmRolesRoleNameCompositesDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var roleName string @@ -299,7 +299,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmRolesRoleNameCompositesGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var roleName string @@ -314,7 +314,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmRolesRoleNameCompositesPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var roleName string @@ -328,7 +328,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmRolesRoleNameCompositesRealmGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var roleName string @@ -343,7 +343,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmRolesRoleNameDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var roleName string @@ -357,7 +357,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmRolesRoleNameGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var roleName string @@ -372,7 +372,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmRolesRoleNameGroupsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var roleName string @@ -387,7 +387,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmRolesRoleNameManagementPermissionsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var roleName string @@ -402,7 +402,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmRolesRoleNameManagementPermissionsPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var roleName string @@ -417,7 +417,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmRolesRoleNamePut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var roleName string @@ -431,7 +431,7 @@ func Test_keycloak_admin_client_RolesAPIService(t *testing.T) { t.Run("Test RolesAPIService AdminRealmsRealmRolesRoleNameUsersGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var roleName string diff --git a/test/api_scope_mappings_test.go b/test/api_scope_mappings_test.go index ac1c956..bb901a4 100644 --- a/test/api_scope_mappings_test.go +++ b/test/api_scope_mappings_test.go @@ -11,10 +11,10 @@ package keycloak_admin_client import ( "context" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { @@ -24,7 +24,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientAvailableGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -40,7 +40,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientCompositeGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -56,7 +56,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -71,7 +71,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -87,7 +87,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -102,7 +102,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientScopesClientScopeIdScopeMappingsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -117,7 +117,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmAvailableGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -132,7 +132,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmCompositeGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -147,7 +147,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -161,7 +161,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -176,7 +176,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -190,7 +190,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientAvailableGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -206,7 +206,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientCompositeGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -222,7 +222,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -237,7 +237,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -253,7 +253,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -268,7 +268,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -283,7 +283,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmAvailableGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -298,7 +298,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmCompositeGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -313,7 +313,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -327,7 +327,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -342,7 +342,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientScopeId string @@ -356,7 +356,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientAvailableGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -372,7 +372,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientCompositeGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -388,7 +388,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -403,7 +403,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -419,7 +419,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientsClientUuidScopeMappingsClientsClientPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -434,7 +434,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientsClientUuidScopeMappingsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -449,7 +449,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientsClientUuidScopeMappingsRealmAvailableGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -464,7 +464,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientsClientUuidScopeMappingsRealmCompositeGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -479,7 +479,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientsClientUuidScopeMappingsRealmDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -493,7 +493,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientsClientUuidScopeMappingsRealmGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string @@ -508,7 +508,7 @@ func Test_keycloak_admin_client_ScopeMappingsAPIService(t *testing.T) { t.Run("Test ScopeMappingsAPIService AdminRealmsRealmClientsClientUuidScopeMappingsRealmPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var clientUuid string diff --git a/test/api_users_test.go b/test/api_users_test.go index 61ad3dd..d5cd3d9 100644 --- a/test/api_users_test.go +++ b/test/api_users_test.go @@ -11,10 +11,10 @@ package keycloak_admin_client import ( "context" - openapiclient "github.com/daytonaio/daytona-ee-draft/pkg/keycloak-admin-client" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" + openapiclient "github.com/daytonaio/keycloak-admin-client" ) func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { @@ -24,7 +24,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersCountGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -38,7 +38,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -52,7 +52,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -65,7 +65,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersProfileGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -79,7 +79,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersProfileMetadataGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -93,7 +93,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersProfilePut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string @@ -107,7 +107,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdConfiguredUserStorageCredentialTypesGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -122,7 +122,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdConsentsClientDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -137,7 +137,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdConsentsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -152,7 +152,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdCredentialsCredentialIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -167,7 +167,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveAfterNewPreviousCredentialIdPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -183,7 +183,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveToFirstPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -198,7 +198,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdCredentialsCredentialIdUserLabelPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -213,7 +213,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdCredentialsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -228,7 +228,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -242,7 +242,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdDisableCredentialTypesPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -256,7 +256,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdExecuteActionsEmailPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -270,7 +270,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdFederatedIdentityGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -285,7 +285,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdFederatedIdentityProviderDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -300,7 +300,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdFederatedIdentityProviderPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -315,7 +315,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -330,7 +330,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdGroupsCountGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -345,7 +345,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdGroupsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -360,7 +360,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdGroupsGroupIdDelete", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -375,7 +375,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdGroupsGroupIdPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -390,7 +390,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdImpersonationPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -405,7 +405,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdLogoutPost", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -419,7 +419,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdOfflineSessionsClientUuidGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -435,7 +435,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -449,7 +449,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdResetPasswordEmailPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -463,7 +463,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdResetPasswordPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -477,7 +477,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdSendVerifyEmailPut", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -491,7 +491,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdSessionsGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string @@ -506,7 +506,7 @@ func Test_keycloak_admin_client_UsersAPIService(t *testing.T) { t.Run("Test UsersAPIService AdminRealmsRealmUsersUserIdUnmanagedAttributesGet", func(t *testing.T) { - t.Skip("skip test") // remove to run test + t.Skip("skip test") // remove to run test var realm string var userId string diff --git a/utils.go b/utils.go index 057b05b..9f31c40 100644 --- a/utils.go +++ b/utils.go @@ -358,4 +358,4 @@ func newStrictDecoder(data []byte) *json.Decoder { // Prevent trying to import "fmt" func reportError(format string, a ...interface{}) error { return fmt.Errorf(format, a...) -} +} \ No newline at end of file