Documentation
¶
Overview ¶
Package openapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.2 DO NOT EDIT.
Index ¶
- func NewAcceptInvitationRequest(server string, realm string, invitationId string) (*http.Request, error)
- func NewAddIdpMapperRequest(server string, realm string, orgId string, alias string, ...) (*http.Request, error)
- func NewAddIdpMapperRequestWithBody(server string, realm string, orgId string, alias string, contentType string, ...) (*http.Request, error)
- func NewAddOrganizationInvitationRequest(server string, realm string, orgId string, ...) (*http.Request, error)
- func NewAddOrganizationInvitationRequestWithBody(server string, realm string, orgId string, contentType string, body io.Reader) (*http.Request, error)
- func NewAddOrganizationMemberAttributesRequest(server string, realm string, orgId string, userId string, ...) (*http.Request, error)
- func NewAddOrganizationMemberAttributesRequestWithBody(server string, realm string, orgId string, userId string, contentType string, ...) (*http.Request, error)
- func NewAddOrganizationMemberRequest(server string, realm string, orgId string, userId string) (*http.Request, error)
- func NewCheckOrganizationMembershipRequest(server string, realm string, orgId string, userId string) (*http.Request, error)
- func NewCheckUserOrganizationRoleRequest(server string, realm string, orgId string, name string, userId string) (*http.Request, error)
- func NewCreateEventRequest(server string, realm string, body CreateEventJSONRequestBody) (*http.Request, error)
- func NewCreateEventRequestWithBody(server string, realm string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateIdpInitiatedClientRequest(server string, realm string, orgId string, ...) (*http.Request, error)
- func NewCreateIdpInitiatedClientRequestWithBody(server string, realm string, orgId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateIdpRequest(server string, realm string, orgId string, body CreateIdpJSONRequestBody) (*http.Request, error)
- func NewCreateIdpRequestWithBody(server string, realm string, orgId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateMagicLinkRequest(server string, realm string, body CreateMagicLinkJSONRequestBody) (*http.Request, error)
- func NewCreateMagicLinkRequestWithBody(server string, realm string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateOrganizationRequest(server string, realm string, body CreateOrganizationJSONRequestBody) (*http.Request, error)
- func NewCreateOrganizationRequestWithBody(server string, realm string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateOrganizationRoleRequest(server string, realm string, orgId string, ...) (*http.Request, error)
- func NewCreateOrganizationRoleRequestWithBody(server string, realm string, orgId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateOrganizationRolesRequest(server string, realm string, orgId string, ...) (*http.Request, error)
- func NewCreateOrganizationRolesRequestWithBody(server string, realm string, orgId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateOrganizationScimConfigRequest(server string, realm string, orgId string, ...) (*http.Request, error)
- func NewCreateOrganizationScimConfigRequestWithBody(server string, realm string, orgId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreatePortalLinkRequestWithBody(server string, realm string, orgId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreatePortalLinkRequestWithFormdataBody(server string, realm string, orgId string, ...) (*http.Request, error)
- func NewCreateRealmAttributeRequest(server string, realm string, body CreateRealmAttributeJSONRequestBody) (*http.Request, error)
- func NewCreateRealmAttributeRequestWithBody(server string, realm string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateWebhookRequest(server string, realm string, body CreateWebhookJSONRequestBody) (*http.Request, error)
- func NewCreateWebhookRequestWithBody(server string, realm string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteIdpMapperRequest(server string, realm string, orgId string, alias string, id string) (*http.Request, error)
- func NewDeleteIdpRequest(server string, realm string, orgId string, alias string) (*http.Request, error)
- func NewDeleteOrganizationRequest(server string, realm string, orgId string) (*http.Request, error)
- func NewDeleteOrganizationRoleRequest(server string, realm string, orgId string, name string) (*http.Request, error)
- func NewDeleteOrganizationRolesRequest(server string, realm string, orgId string, ...) (*http.Request, error)
- func NewDeleteOrganizationRolesRequestWithBody(server string, realm string, orgId string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteOrganizationScimConfigRequest(server string, realm string, orgId string) (*http.Request, error)
- func NewDeleteRealmAttributeRequest(server string, realm string, attributeKey string) (*http.Request, error)
- func NewDeleteWebhookRequest(server string, realm string, webhookId string) (*http.Request, error)
- func NewExportOrganizationsRequest(server string, realm string, params *ExportOrganizationsParams) (*http.Request, error)
- func NewGetActiveOrganizationRequest(server string, realm string) (*http.Request, error)
- func NewGetIdpMapperRequest(server string, realm string, orgId string, alias string, id string) (*http.Request, error)
- func NewGetIdpMappersRequest(server string, realm string, orgId string, alias string) (*http.Request, error)
- func NewGetIdpRequest(server string, realm string, orgId string, alias string) (*http.Request, error)
- func NewGetIdpsRequest(server string, realm string, orgId string) (*http.Request, error)
- func NewGetMeRequest(server string, realm string) (*http.Request, error)
- func NewGetOrganizationByIdRequest(server string, realm string, orgId string) (*http.Request, error)
- func NewGetOrganizationConfigRequest(server string, realm string) (*http.Request, error)
- func NewGetOrganizationDomainRequest(server string, realm string, orgId string, domainName string) (*http.Request, error)
- func NewGetOrganizationDomainsRequest(server string, realm string, orgId string) (*http.Request, error)
- func NewGetOrganizationInvitationByIdRequest(server string, realm string, orgId string, invitationId string) (*http.Request, error)
- func NewGetOrganizationInvitationCountRequest(server string, realm string, orgId string) (*http.Request, error)
- func NewGetOrganizationInvitationsRequest(server string, realm string, orgId string, ...) (*http.Request, error)
- func NewGetOrganizationMemberAttributesRequest(server string, realm string, orgId string, userId string) (*http.Request, error)
- func NewGetOrganizationMembershipsCountRequest(server string, realm string, orgId string, ...) (*http.Request, error)
- func NewGetOrganizationMembershipsRequest(server string, realm string, orgId string, ...) (*http.Request, error)
- func NewGetOrganizationRoleRequest(server string, realm string, orgId string, name string) (*http.Request, error)
- func NewGetOrganizationRolesRequest(server string, realm string, orgId string) (*http.Request, error)
- func NewGetOrganizationScimConfigRequest(server string, realm string, orgId string) (*http.Request, error)
- func NewGetOrganizationsCountRequest(server string, realm string, params *GetOrganizationsCountParams) (*http.Request, error)
- func NewGetOrganizationsRequest(server string, realm string, params *GetOrganizationsParams) (*http.Request, error)
- func NewGetPayloadByKeycloakTypeAndIdRequest(server string, realm string, pType string, kid string) (*http.Request, error)
- func NewGetRealmAttributeByKeyRequest(server string, realm string, attributeKey string) (*http.Request, error)
- func NewGetRealmAttributesRequest(server string, realm string) (*http.Request, error)
- func NewGetUserOrganizationRolesRequest(server string, realm string, orgId string, name string) (*http.Request, error)
- func NewGetWebhookByIdRequest(server string, realm string, webhookId string) (*http.Request, error)
- func NewGetWebhookSecretByIdRequest(server string, realm string, webhookId string) (*http.Request, error)
- func NewGetWebhookSendByIdRequest(server string, realm string, webhookId string, sendId string) (*http.Request, error)
- func NewGetWebhookSendsByKeycloakTypeAndIdRequest(server string, realm string, pType string, kid string) (*http.Request, error)
- func NewGetWebhookSendsRequest(server string, realm string, webhookId string, params *GetWebhookSendsParams) (*http.Request, error)
- func NewGetWebhooksCountRequest(server string, realm string) (*http.Request, error)
- func NewGetWebhooksRequest(server string, realm string, params *GetWebhooksParams) (*http.Request, error)
- func NewGrantUserOrganizationRoleRequest(server string, realm string, orgId string, name string, userId string) (*http.Request, error)
- func NewGrantUserRolesInOrganizationRequest(server string, realm string, userId string, orgId string, ...) (*http.Request, error)
- func NewGrantUserRolesInOrganizationRequestWithBody(server string, realm string, userId string, orgId string, contentType string, ...) (*http.Request, error)
- func NewImportIdpJsonRequest(server string, realm string, orgId string) (*http.Request, error)
- func NewImportOrganizationsRequest(server string, realm string, params *ImportOrganizationsParams, ...) (*http.Request, error)
- func NewImportOrganizationsRequestWithBody(server string, realm string, params *ImportOrganizationsParams, ...) (*http.Request, error)
- func NewInvitationsRequest(server string, realm string) (*http.Request, error)
- func NewLinkIdpRequest(server string, realm string, orgId string, body LinkIdpJSONRequestBody) (*http.Request, error)
- func NewLinkIdpRequestWithBody(server string, realm string, orgId string, contentType string, body io.Reader) (*http.Request, error)
- func NewListUserOrganizationsRequest(server string, realm string, userId string) (*http.Request, error)
- func NewListUserRolesInOrganizationRequest(server string, realm string, userId string, orgId string) (*http.Request, error)
- func NewRejectInvitationRequest(server string, realm string, invitationId string) (*http.Request, error)
- func NewRemoveOrganizationInvitationRequest(server string, realm string, orgId string, invitationId string) (*http.Request, error)
- func NewRemoveOrganizationMemberRequest(server string, realm string, orgId string, userId string) (*http.Request, error)
- func NewResendOrganizationInvitationRequest(server string, realm string, orgId string, invitationId string) (*http.Request, error)
- func NewResendWebhookByIdRequest(server string, realm string, webhookId string, sendId string) (*http.Request, error)
- func NewRevokeUserOrganizationRoleRequest(server string, realm string, orgId string, name string, userId string) (*http.Request, error)
- func NewRevokeUserRolesInOrganizationRequest(server string, realm string, userId string, orgId string, ...) (*http.Request, error)
- func NewRevokeUserRolesInOrganizationRequestWithBody(server string, realm string, userId string, orgId string, contentType string, ...) (*http.Request, error)
- func NewSwitchActiveOrganizationRequest(server string, realm string, body SwitchActiveOrganizationJSONRequestBody) (*http.Request, error)
- func NewSwitchActiveOrganizationRequestWithBody(server string, realm string, contentType string, body io.Reader) (*http.Request, error)
- func NewUnlinkIdpRequest(server string, realm string, orgId string, alias string) (*http.Request, error)
- func NewUpdateIdpMapperRequest(server string, realm string, orgId string, alias string, id string, ...) (*http.Request, error)
- func NewUpdateIdpMapperRequestWithBody(server string, realm string, orgId string, alias string, id string, ...) (*http.Request, error)
- func NewUpdateIdpRequest(server string, realm string, orgId string, alias string, ...) (*http.Request, error)
- func NewUpdateIdpRequestWithBody(server string, realm string, orgId string, alias string, contentType string, ...) (*http.Request, error)
- func NewUpdateOrganizationConfigRequest(server string, realm string, body UpdateOrganizationConfigJSONRequestBody) (*http.Request, error)
- func NewUpdateOrganizationConfigRequestWithBody(server string, realm string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateOrganizationRequest(server string, realm string, orgId string, ...) (*http.Request, error)
- func NewUpdateOrganizationRequestWithBody(server string, realm string, orgId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateOrganizationRoleRequest(server string, realm string, orgId string, name string, ...) (*http.Request, error)
- func NewUpdateOrganizationRoleRequestWithBody(server string, realm string, orgId string, name string, contentType string, ...) (*http.Request, error)
- func NewUpdateOrganizationScimConfigRequest(server string, realm string, orgId string, ...) (*http.Request, error)
- func NewUpdateOrganizationScimConfigRequestWithBody(server string, realm string, orgId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateRealmAttributeByKeyRequest(server string, realm string, attributeKey string, ...) (*http.Request, error)
- func NewUpdateRealmAttributeByKeyRequestWithBody(server string, realm string, attributeKey string, contentType string, ...) (*http.Request, error)
- func NewUpdateWebhookRequest(server string, realm string, webhookId string, ...) (*http.Request, error)
- func NewUpdateWebhookRequestWithBody(server string, realm string, webhookId string, contentType string, ...) (*http.Request, error)
- func NewVerifyDomainRequest(server string, realm string, orgId string, domainName string) (*http.Request, error)
- type AcceptInvitationResponse
- type AccessTokenResponse
- type AddIdpMapperJSONRequestBody
- type AddIdpMapperResponse
- type AddIdpMapperResponse201Headers
- type AddOrganizationInvitationJSONRequestBody
- type AddOrganizationInvitationResponse
- type AddOrganizationInvitationResponse201Headers
- type AddOrganizationMemberAttributesJSONRequestBody
- type AddOrganizationMemberAttributesResponse
- func (r AddOrganizationMemberAttributesResponse) ContentType() string
- func (r AddOrganizationMemberAttributesResponse) GetBody() []byte
- func (r AddOrganizationMemberAttributesResponse) GetJSON200() *map[string][]string
- func (r AddOrganizationMemberAttributesResponse) Status() string
- func (r AddOrganizationMemberAttributesResponse) StatusCode() int
- type AddOrganizationMemberResponse
- type AddOrganizationMemberResponse201Headers
- type AuthDetailsRepresentation
- type BulkResponseItem
- type CheckOrganizationMembershipResponse
- type CheckUserOrganizationRoleResponse
- type Client
- func (c *Client) AcceptInvitation(ctx context.Context, realm string, invitationId string, ...) (*http.Response, error)
- func (c *Client) AddIdpMapper(ctx context.Context, realm string, orgId string, alias string, ...) (*http.Response, error)
- func (c *Client) AddIdpMapperWithBody(ctx context.Context, realm string, orgId string, alias string, ...) (*http.Response, error)
- func (c *Client) AddOrganizationInvitation(ctx context.Context, realm string, orgId string, ...) (*http.Response, error)
- func (c *Client) AddOrganizationInvitationWithBody(ctx context.Context, realm string, orgId string, contentType string, ...) (*http.Response, error)
- func (c *Client) AddOrganizationMember(ctx context.Context, realm string, orgId string, userId string, ...) (*http.Response, error)
- func (c *Client) AddOrganizationMemberAttributes(ctx context.Context, realm string, orgId string, userId string, ...) (*http.Response, error)
- func (c *Client) AddOrganizationMemberAttributesWithBody(ctx context.Context, realm string, orgId string, userId string, ...) (*http.Response, error)
- func (c *Client) CheckOrganizationMembership(ctx context.Context, realm string, orgId string, userId string, ...) (*http.Response, error)
- func (c *Client) CheckUserOrganizationRole(ctx context.Context, realm string, orgId string, name string, userId string, ...) (*http.Response, error)
- func (c *Client) CreateEvent(ctx context.Context, realm string, body CreateEventJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateEventWithBody(ctx context.Context, realm string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateIdp(ctx context.Context, realm string, orgId string, body CreateIdpJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateIdpInitiatedClient(ctx context.Context, realm string, orgId string, ...) (*http.Response, error)
- func (c *Client) CreateIdpInitiatedClientWithBody(ctx context.Context, realm string, orgId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateIdpWithBody(ctx context.Context, realm string, orgId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateMagicLink(ctx context.Context, realm string, body CreateMagicLinkJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateMagicLinkWithBody(ctx context.Context, realm string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateOrganization(ctx context.Context, realm string, body CreateOrganizationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateOrganizationRole(ctx context.Context, realm string, orgId string, ...) (*http.Response, error)
- func (c *Client) CreateOrganizationRoleWithBody(ctx context.Context, realm string, orgId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateOrganizationRoles(ctx context.Context, realm string, orgId string, ...) (*http.Response, error)
- func (c *Client) CreateOrganizationRolesWithBody(ctx context.Context, realm string, orgId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateOrganizationScimConfig(ctx context.Context, realm string, orgId string, ...) (*http.Response, error)
- func (c *Client) CreateOrganizationScimConfigWithBody(ctx context.Context, realm string, orgId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateOrganizationWithBody(ctx context.Context, realm string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreatePortalLinkWithBody(ctx context.Context, realm string, orgId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreatePortalLinkWithFormdataBody(ctx context.Context, realm string, orgId string, ...) (*http.Response, error)
- func (c *Client) CreateRealmAttribute(ctx context.Context, realm string, body CreateRealmAttributeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateRealmAttributeWithBody(ctx context.Context, realm string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateWebhook(ctx context.Context, realm string, body CreateWebhookJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateWebhookWithBody(ctx context.Context, realm string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteIdp(ctx context.Context, realm string, orgId string, alias string, ...) (*http.Response, error)
- func (c *Client) DeleteIdpMapper(ctx context.Context, realm string, orgId string, alias string, id string, ...) (*http.Response, error)
- func (c *Client) DeleteOrganization(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteOrganizationRole(ctx context.Context, realm string, orgId string, name string, ...) (*http.Response, error)
- func (c *Client) DeleteOrganizationRoles(ctx context.Context, realm string, orgId string, ...) (*http.Response, error)
- func (c *Client) DeleteOrganizationRolesWithBody(ctx context.Context, realm string, orgId string, contentType string, ...) (*http.Response, error)
- func (c *Client) DeleteOrganizationScimConfig(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteRealmAttribute(ctx context.Context, realm string, attributeKey string, ...) (*http.Response, error)
- func (c *Client) DeleteWebhook(ctx context.Context, realm string, webhookId string, ...) (*http.Response, error)
- func (c *Client) ExportOrganizations(ctx context.Context, realm string, params *ExportOrganizationsParams, ...) (*http.Response, error)
- func (c *Client) GetActiveOrganization(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIdp(ctx context.Context, realm string, orgId string, alias string, ...) (*http.Response, error)
- func (c *Client) GetIdpMapper(ctx context.Context, realm string, orgId string, alias string, id string, ...) (*http.Response, error)
- func (c *Client) GetIdpMappers(ctx context.Context, realm string, orgId string, alias string, ...) (*http.Response, error)
- func (c *Client) GetIdps(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMe(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOrganizationById(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOrganizationConfig(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOrganizationDomain(ctx context.Context, realm string, orgId string, domainName string, ...) (*http.Response, error)
- func (c *Client) GetOrganizationDomains(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOrganizationInvitationById(ctx context.Context, realm string, orgId string, invitationId string, ...) (*http.Response, error)
- func (c *Client) GetOrganizationInvitationCount(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOrganizationInvitations(ctx context.Context, realm string, orgId string, ...) (*http.Response, error)
- func (c *Client) GetOrganizationMemberAttributes(ctx context.Context, realm string, orgId string, userId string, ...) (*http.Response, error)
- func (c *Client) GetOrganizationMemberships(ctx context.Context, realm string, orgId string, ...) (*http.Response, error)
- func (c *Client) GetOrganizationMembershipsCount(ctx context.Context, realm string, orgId string, ...) (*http.Response, error)
- func (c *Client) GetOrganizationRole(ctx context.Context, realm string, orgId string, name string, ...) (*http.Response, error)
- func (c *Client) GetOrganizationRoles(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOrganizationScimConfig(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOrganizations(ctx context.Context, realm string, params *GetOrganizationsParams, ...) (*http.Response, error)
- func (c *Client) GetOrganizationsCount(ctx context.Context, realm string, params *GetOrganizationsCountParams, ...) (*http.Response, error)
- func (c *Client) GetPayloadByKeycloakTypeAndId(ctx context.Context, realm string, pType string, kid string, ...) (*http.Response, error)
- func (c *Client) GetRealmAttributeByKey(ctx context.Context, realm string, attributeKey string, ...) (*http.Response, error)
- func (c *Client) GetRealmAttributes(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUserOrganizationRoles(ctx context.Context, realm string, orgId string, name string, ...) (*http.Response, error)
- func (c *Client) GetWebhookById(ctx context.Context, realm string, webhookId string, ...) (*http.Response, error)
- func (c *Client) GetWebhookSecretById(ctx context.Context, realm string, webhookId string, ...) (*http.Response, error)
- func (c *Client) GetWebhookSendById(ctx context.Context, realm string, webhookId string, sendId string, ...) (*http.Response, error)
- func (c *Client) GetWebhookSends(ctx context.Context, realm string, webhookId string, ...) (*http.Response, error)
- func (c *Client) GetWebhookSendsByKeycloakTypeAndId(ctx context.Context, realm string, pType string, kid string, ...) (*http.Response, error)
- func (c *Client) GetWebhooks(ctx context.Context, realm string, params *GetWebhooksParams, ...) (*http.Response, error)
- func (c *Client) GetWebhooksCount(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GrantUserOrganizationRole(ctx context.Context, realm string, orgId string, name string, userId string, ...) (*http.Response, error)
- func (c *Client) GrantUserRolesInOrganization(ctx context.Context, realm string, userId string, orgId string, ...) (*http.Response, error)
- func (c *Client) GrantUserRolesInOrganizationWithBody(ctx context.Context, realm string, userId string, orgId string, ...) (*http.Response, error)
- func (c *Client) ImportIdpJson(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ImportOrganizations(ctx context.Context, realm string, params *ImportOrganizationsParams, ...) (*http.Response, error)
- func (c *Client) ImportOrganizationsWithBody(ctx context.Context, realm string, params *ImportOrganizationsParams, ...) (*http.Response, error)
- func (c *Client) Invitations(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LinkIdp(ctx context.Context, realm string, orgId string, body LinkIdpJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) LinkIdpWithBody(ctx context.Context, realm string, orgId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ListUserOrganizations(ctx context.Context, realm string, userId string, ...) (*http.Response, error)
- func (c *Client) ListUserRolesInOrganization(ctx context.Context, realm string, userId string, orgId string, ...) (*http.Response, error)
- func (c *Client) RejectInvitation(ctx context.Context, realm string, invitationId string, ...) (*http.Response, error)
- func (c *Client) RemoveOrganizationInvitation(ctx context.Context, realm string, orgId string, invitationId string, ...) (*http.Response, error)
- func (c *Client) RemoveOrganizationMember(ctx context.Context, realm string, orgId string, userId string, ...) (*http.Response, error)
- func (c *Client) ResendOrganizationInvitation(ctx context.Context, realm string, orgId string, invitationId string, ...) (*http.Response, error)
- func (c *Client) ResendWebhookById(ctx context.Context, realm string, webhookId string, sendId string, ...) (*http.Response, error)
- func (c *Client) RevokeUserOrganizationRole(ctx context.Context, realm string, orgId string, name string, userId string, ...) (*http.Response, error)
- func (c *Client) RevokeUserRolesInOrganization(ctx context.Context, realm string, userId string, orgId string, ...) (*http.Response, error)
- func (c *Client) RevokeUserRolesInOrganizationWithBody(ctx context.Context, realm string, userId string, orgId string, ...) (*http.Response, error)
- func (c *Client) SwitchActiveOrganization(ctx context.Context, realm string, ...) (*http.Response, error)
- func (c *Client) SwitchActiveOrganizationWithBody(ctx context.Context, realm string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UnlinkIdp(ctx context.Context, realm string, orgId string, alias string, ...) (*http.Response, error)
- func (c *Client) UpdateIdp(ctx context.Context, realm string, orgId string, alias string, ...) (*http.Response, error)
- func (c *Client) UpdateIdpMapper(ctx context.Context, realm string, orgId string, alias string, id string, ...) (*http.Response, error)
- func (c *Client) UpdateIdpMapperWithBody(ctx context.Context, realm string, orgId string, alias string, id string, ...) (*http.Response, error)
- func (c *Client) UpdateIdpWithBody(ctx context.Context, realm string, orgId string, alias string, ...) (*http.Response, error)
- func (c *Client) UpdateOrganization(ctx context.Context, realm string, orgId string, ...) (*http.Response, error)
- func (c *Client) UpdateOrganizationConfig(ctx context.Context, realm string, ...) (*http.Response, error)
- func (c *Client) UpdateOrganizationConfigWithBody(ctx context.Context, realm string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateOrganizationRole(ctx context.Context, realm string, orgId string, name string, ...) (*http.Response, error)
- func (c *Client) UpdateOrganizationRoleWithBody(ctx context.Context, realm string, orgId string, name string, ...) (*http.Response, error)
- func (c *Client) UpdateOrganizationScimConfig(ctx context.Context, realm string, orgId string, ...) (*http.Response, error)
- func (c *Client) UpdateOrganizationScimConfigWithBody(ctx context.Context, realm string, orgId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateOrganizationWithBody(ctx context.Context, realm string, orgId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateRealmAttributeByKey(ctx context.Context, realm string, attributeKey string, ...) (*http.Response, error)
- func (c *Client) UpdateRealmAttributeByKeyWithBody(ctx context.Context, realm string, attributeKey string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateWebhook(ctx context.Context, realm string, webhookId string, ...) (*http.Response, error)
- func (c *Client) UpdateWebhookWithBody(ctx context.Context, realm string, webhookId string, contentType string, ...) (*http.Response, error)
- func (c *Client) VerifyDomain(ctx context.Context, realm string, orgId string, domainName string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AcceptInvitationWithResponse(ctx context.Context, realm string, invitationId string, ...) (*AcceptInvitationResponse, error)
- func (c *ClientWithResponses) AddIdpMapperWithBodyWithResponse(ctx context.Context, realm string, orgId string, alias string, ...) (*AddIdpMapperResponse, error)
- func (c *ClientWithResponses) AddIdpMapperWithResponse(ctx context.Context, realm string, orgId string, alias string, ...) (*AddIdpMapperResponse, error)
- func (c *ClientWithResponses) AddOrganizationInvitationWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, ...) (*AddOrganizationInvitationResponse, error)
- func (c *ClientWithResponses) AddOrganizationInvitationWithResponse(ctx context.Context, realm string, orgId string, ...) (*AddOrganizationInvitationResponse, error)
- func (c *ClientWithResponses) AddOrganizationMemberAttributesWithBodyWithResponse(ctx context.Context, realm string, orgId string, userId string, ...) (*AddOrganizationMemberAttributesResponse, error)
- func (c *ClientWithResponses) AddOrganizationMemberAttributesWithResponse(ctx context.Context, realm string, orgId string, userId string, ...) (*AddOrganizationMemberAttributesResponse, error)
- func (c *ClientWithResponses) AddOrganizationMemberWithResponse(ctx context.Context, realm string, orgId string, userId string, ...) (*AddOrganizationMemberResponse, error)
- func (c *ClientWithResponses) CheckOrganizationMembershipWithResponse(ctx context.Context, realm string, orgId string, userId string, ...) (*CheckOrganizationMembershipResponse, error)
- func (c *ClientWithResponses) CheckUserOrganizationRoleWithResponse(ctx context.Context, realm string, orgId string, name string, userId string, ...) (*CheckUserOrganizationRoleResponse, error)
- func (c *ClientWithResponses) CreateEventWithBodyWithResponse(ctx context.Context, realm string, contentType string, body io.Reader, ...) (*CreateEventResponse, error)
- func (c *ClientWithResponses) CreateEventWithResponse(ctx context.Context, realm string, body CreateEventJSONRequestBody, ...) (*CreateEventResponse, error)
- func (c *ClientWithResponses) CreateIdpInitiatedClientWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, ...) (*CreateIdpInitiatedClientResponse, error)
- func (c *ClientWithResponses) CreateIdpInitiatedClientWithResponse(ctx context.Context, realm string, orgId string, ...) (*CreateIdpInitiatedClientResponse, error)
- func (c *ClientWithResponses) CreateIdpWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, ...) (*CreateIdpResponse, error)
- func (c *ClientWithResponses) CreateIdpWithResponse(ctx context.Context, realm string, orgId string, body CreateIdpJSONRequestBody, ...) (*CreateIdpResponse, error)
- func (c *ClientWithResponses) CreateMagicLinkWithBodyWithResponse(ctx context.Context, realm string, contentType string, body io.Reader, ...) (*CreateMagicLinkResponse, error)
- func (c *ClientWithResponses) CreateMagicLinkWithResponse(ctx context.Context, realm string, body CreateMagicLinkJSONRequestBody, ...) (*CreateMagicLinkResponse, error)
- func (c *ClientWithResponses) CreateOrganizationRoleWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, ...) (*CreateOrganizationRoleResponse, error)
- func (c *ClientWithResponses) CreateOrganizationRoleWithResponse(ctx context.Context, realm string, orgId string, ...) (*CreateOrganizationRoleResponse, error)
- func (c *ClientWithResponses) CreateOrganizationRolesWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, ...) (*CreateOrganizationRolesResponse, error)
- func (c *ClientWithResponses) CreateOrganizationRolesWithResponse(ctx context.Context, realm string, orgId string, ...) (*CreateOrganizationRolesResponse, error)
- func (c *ClientWithResponses) CreateOrganizationScimConfigWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, ...) (*CreateOrganizationScimConfigResponse, error)
- func (c *ClientWithResponses) CreateOrganizationScimConfigWithResponse(ctx context.Context, realm string, orgId string, ...) (*CreateOrganizationScimConfigResponse, error)
- func (c *ClientWithResponses) CreateOrganizationWithBodyWithResponse(ctx context.Context, realm string, contentType string, body io.Reader, ...) (*CreateOrganizationResponse, error)
- func (c *ClientWithResponses) CreateOrganizationWithResponse(ctx context.Context, realm string, body CreateOrganizationJSONRequestBody, ...) (*CreateOrganizationResponse, error)
- func (c *ClientWithResponses) CreatePortalLinkWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, ...) (*CreatePortalLinkResponse, error)
- func (c *ClientWithResponses) CreatePortalLinkWithFormdataBodyWithResponse(ctx context.Context, realm string, orgId string, ...) (*CreatePortalLinkResponse, error)
- func (c *ClientWithResponses) CreateRealmAttributeWithBodyWithResponse(ctx context.Context, realm string, contentType string, body io.Reader, ...) (*CreateRealmAttributeResponse, error)
- func (c *ClientWithResponses) CreateRealmAttributeWithResponse(ctx context.Context, realm string, body CreateRealmAttributeJSONRequestBody, ...) (*CreateRealmAttributeResponse, error)
- func (c *ClientWithResponses) CreateWebhookWithBodyWithResponse(ctx context.Context, realm string, contentType string, body io.Reader, ...) (*CreateWebhookResponse, error)
- func (c *ClientWithResponses) CreateWebhookWithResponse(ctx context.Context, realm string, body CreateWebhookJSONRequestBody, ...) (*CreateWebhookResponse, error)
- func (c *ClientWithResponses) DeleteIdpMapperWithResponse(ctx context.Context, realm string, orgId string, alias string, id string, ...) (*DeleteIdpMapperResponse, error)
- func (c *ClientWithResponses) DeleteIdpWithResponse(ctx context.Context, realm string, orgId string, alias string, ...) (*DeleteIdpResponse, error)
- func (c *ClientWithResponses) DeleteOrganizationRoleWithResponse(ctx context.Context, realm string, orgId string, name string, ...) (*DeleteOrganizationRoleResponse, error)
- func (c *ClientWithResponses) DeleteOrganizationRolesWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, ...) (*DeleteOrganizationRolesResponse, error)
- func (c *ClientWithResponses) DeleteOrganizationRolesWithResponse(ctx context.Context, realm string, orgId string, ...) (*DeleteOrganizationRolesResponse, error)
- func (c *ClientWithResponses) DeleteOrganizationScimConfigWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*DeleteOrganizationScimConfigResponse, error)
- func (c *ClientWithResponses) DeleteOrganizationWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*DeleteOrganizationResponse, error)
- func (c *ClientWithResponses) DeleteRealmAttributeWithResponse(ctx context.Context, realm string, attributeKey string, ...) (*DeleteRealmAttributeResponse, error)
- func (c *ClientWithResponses) DeleteWebhookWithResponse(ctx context.Context, realm string, webhookId string, ...) (*DeleteWebhookResponse, error)
- func (c *ClientWithResponses) ExportOrganizationsWithResponse(ctx context.Context, realm string, params *ExportOrganizationsParams, ...) (*ExportOrganizationsResponse, error)
- func (c *ClientWithResponses) GetActiveOrganizationWithResponse(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*GetActiveOrganizationResponse, error)
- func (c *ClientWithResponses) GetIdpMapperWithResponse(ctx context.Context, realm string, orgId string, alias string, id string, ...) (*GetIdpMapperResponse, error)
- func (c *ClientWithResponses) GetIdpMappersWithResponse(ctx context.Context, realm string, orgId string, alias string, ...) (*GetIdpMappersResponse, error)
- func (c *ClientWithResponses) GetIdpWithResponse(ctx context.Context, realm string, orgId string, alias string, ...) (*GetIdpResponse, error)
- func (c *ClientWithResponses) GetIdpsWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*GetIdpsResponse, error)
- func (c *ClientWithResponses) GetMeWithResponse(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*GetMeResponse, error)
- func (c *ClientWithResponses) GetOrganizationByIdWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*GetOrganizationByIdResponse, error)
- func (c *ClientWithResponses) GetOrganizationConfigWithResponse(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*GetOrganizationConfigResponse, error)
- func (c *ClientWithResponses) GetOrganizationDomainWithResponse(ctx context.Context, realm string, orgId string, domainName string, ...) (*GetOrganizationDomainResponse, error)
- func (c *ClientWithResponses) GetOrganizationDomainsWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*GetOrganizationDomainsResponse, error)
- func (c *ClientWithResponses) GetOrganizationInvitationByIdWithResponse(ctx context.Context, realm string, orgId string, invitationId string, ...) (*GetOrganizationInvitationByIdResponse, error)
- func (c *ClientWithResponses) GetOrganizationInvitationCountWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*GetOrganizationInvitationCountResponse, error)
- func (c *ClientWithResponses) GetOrganizationInvitationsWithResponse(ctx context.Context, realm string, orgId string, ...) (*GetOrganizationInvitationsResponse, error)
- func (c *ClientWithResponses) GetOrganizationMemberAttributesWithResponse(ctx context.Context, realm string, orgId string, userId string, ...) (*GetOrganizationMemberAttributesResponse, error)
- func (c *ClientWithResponses) GetOrganizationMembershipsCountWithResponse(ctx context.Context, realm string, orgId string, ...) (*GetOrganizationMembershipsCountResponse, error)
- func (c *ClientWithResponses) GetOrganizationMembershipsWithResponse(ctx context.Context, realm string, orgId string, ...) (*GetOrganizationMembershipsResponse, error)
- func (c *ClientWithResponses) GetOrganizationRoleWithResponse(ctx context.Context, realm string, orgId string, name string, ...) (*GetOrganizationRoleResponse, error)
- func (c *ClientWithResponses) GetOrganizationRolesWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*GetOrganizationRolesResponse, error)
- func (c *ClientWithResponses) GetOrganizationScimConfigWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*GetOrganizationScimConfigResponse, error)
- func (c *ClientWithResponses) GetOrganizationsCountWithResponse(ctx context.Context, realm string, params *GetOrganizationsCountParams, ...) (*GetOrganizationsCountResponse, error)
- func (c *ClientWithResponses) GetOrganizationsWithResponse(ctx context.Context, realm string, params *GetOrganizationsParams, ...) (*GetOrganizationsResponse, error)
- func (c *ClientWithResponses) GetPayloadByKeycloakTypeAndIdWithResponse(ctx context.Context, realm string, pType string, kid string, ...) (*GetPayloadByKeycloakTypeAndIdResponse, error)
- func (c *ClientWithResponses) GetRealmAttributeByKeyWithResponse(ctx context.Context, realm string, attributeKey string, ...) (*GetRealmAttributeByKeyResponse, error)
- func (c *ClientWithResponses) GetRealmAttributesWithResponse(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*GetRealmAttributesResponse, error)
- func (c *ClientWithResponses) GetUserOrganizationRolesWithResponse(ctx context.Context, realm string, orgId string, name string, ...) (*GetUserOrganizationRolesResponse, error)
- func (c *ClientWithResponses) GetWebhookByIdWithResponse(ctx context.Context, realm string, webhookId string, ...) (*GetWebhookByIdResponse, error)
- func (c *ClientWithResponses) GetWebhookSecretByIdWithResponse(ctx context.Context, realm string, webhookId string, ...) (*GetWebhookSecretByIdResponse, error)
- func (c *ClientWithResponses) GetWebhookSendByIdWithResponse(ctx context.Context, realm string, webhookId string, sendId string, ...) (*GetWebhookSendByIdResponse, error)
- func (c *ClientWithResponses) GetWebhookSendsByKeycloakTypeAndIdWithResponse(ctx context.Context, realm string, pType string, kid string, ...) (*GetWebhookSendsByKeycloakTypeAndIdResponse, error)
- func (c *ClientWithResponses) GetWebhookSendsWithResponse(ctx context.Context, realm string, webhookId string, ...) (*GetWebhookSendsResponse, error)
- func (c *ClientWithResponses) GetWebhooksCountWithResponse(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*GetWebhooksCountResponse, error)
- func (c *ClientWithResponses) GetWebhooksWithResponse(ctx context.Context, realm string, params *GetWebhooksParams, ...) (*GetWebhooksResponse, error)
- func (c *ClientWithResponses) GrantUserOrganizationRoleWithResponse(ctx context.Context, realm string, orgId string, name string, userId string, ...) (*GrantUserOrganizationRoleResponse, error)
- func (c *ClientWithResponses) GrantUserRolesInOrganizationWithBodyWithResponse(ctx context.Context, realm string, userId string, orgId string, ...) (*GrantUserRolesInOrganizationResponse, error)
- func (c *ClientWithResponses) GrantUserRolesInOrganizationWithResponse(ctx context.Context, realm string, userId string, orgId string, ...) (*GrantUserRolesInOrganizationResponse, error)
- func (c *ClientWithResponses) ImportIdpJsonWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*ImportIdpJsonResponse, error)
- func (c *ClientWithResponses) ImportOrganizationsWithBodyWithResponse(ctx context.Context, realm string, params *ImportOrganizationsParams, ...) (*ImportOrganizationsResponse, error)
- func (c *ClientWithResponses) ImportOrganizationsWithResponse(ctx context.Context, realm string, params *ImportOrganizationsParams, ...) (*ImportOrganizationsResponse, error)
- func (c *ClientWithResponses) InvitationsWithResponse(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*InvitationsResponse, error)
- func (c *ClientWithResponses) LinkIdpWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, ...) (*LinkIdpResponse, error)
- func (c *ClientWithResponses) LinkIdpWithResponse(ctx context.Context, realm string, orgId string, body LinkIdpJSONRequestBody, ...) (*LinkIdpResponse, error)
- func (c *ClientWithResponses) ListUserOrganizationsWithResponse(ctx context.Context, realm string, userId string, ...) (*ListUserOrganizationsResponse, error)
- func (c *ClientWithResponses) ListUserRolesInOrganizationWithResponse(ctx context.Context, realm string, userId string, orgId string, ...) (*ListUserRolesInOrganizationResponse, error)
- func (c *ClientWithResponses) RejectInvitationWithResponse(ctx context.Context, realm string, invitationId string, ...) (*RejectInvitationResponse, error)
- func (c *ClientWithResponses) RemoveOrganizationInvitationWithResponse(ctx context.Context, realm string, orgId string, invitationId string, ...) (*RemoveOrganizationInvitationResponse, error)
- func (c *ClientWithResponses) RemoveOrganizationMemberWithResponse(ctx context.Context, realm string, orgId string, userId string, ...) (*RemoveOrganizationMemberResponse, error)
- func (c *ClientWithResponses) ResendOrganizationInvitationWithResponse(ctx context.Context, realm string, orgId string, invitationId string, ...) (*ResendOrganizationInvitationResponse, error)
- func (c *ClientWithResponses) ResendWebhookByIdWithResponse(ctx context.Context, realm string, webhookId string, sendId string, ...) (*ResendWebhookByIdResponse, error)
- func (c *ClientWithResponses) RevokeUserOrganizationRoleWithResponse(ctx context.Context, realm string, orgId string, name string, userId string, ...) (*RevokeUserOrganizationRoleResponse, error)
- func (c *ClientWithResponses) RevokeUserRolesInOrganizationWithBodyWithResponse(ctx context.Context, realm string, userId string, orgId string, ...) (*RevokeUserRolesInOrganizationResponse, error)
- func (c *ClientWithResponses) RevokeUserRolesInOrganizationWithResponse(ctx context.Context, realm string, userId string, orgId string, ...) (*RevokeUserRolesInOrganizationResponse, error)
- func (c *ClientWithResponses) SwitchActiveOrganizationWithBodyWithResponse(ctx context.Context, realm string, contentType string, body io.Reader, ...) (*SwitchActiveOrganizationResponse, error)
- func (c *ClientWithResponses) SwitchActiveOrganizationWithResponse(ctx context.Context, realm string, ...) (*SwitchActiveOrganizationResponse, error)
- func (c *ClientWithResponses) UnlinkIdpWithResponse(ctx context.Context, realm string, orgId string, alias string, ...) (*UnlinkIdpResponse, error)
- func (c *ClientWithResponses) UpdateIdpMapperWithBodyWithResponse(ctx context.Context, realm string, orgId string, alias string, id string, ...) (*UpdateIdpMapperResponse, error)
- func (c *ClientWithResponses) UpdateIdpMapperWithResponse(ctx context.Context, realm string, orgId string, alias string, id string, ...) (*UpdateIdpMapperResponse, error)
- func (c *ClientWithResponses) UpdateIdpWithBodyWithResponse(ctx context.Context, realm string, orgId string, alias string, ...) (*UpdateIdpResponse, error)
- func (c *ClientWithResponses) UpdateIdpWithResponse(ctx context.Context, realm string, orgId string, alias string, ...) (*UpdateIdpResponse, error)
- func (c *ClientWithResponses) UpdateOrganizationConfigWithBodyWithResponse(ctx context.Context, realm string, contentType string, body io.Reader, ...) (*UpdateOrganizationConfigResponse, error)
- func (c *ClientWithResponses) UpdateOrganizationConfigWithResponse(ctx context.Context, realm string, ...) (*UpdateOrganizationConfigResponse, error)
- func (c *ClientWithResponses) UpdateOrganizationRoleWithBodyWithResponse(ctx context.Context, realm string, orgId string, name string, ...) (*UpdateOrganizationRoleResponse, error)
- func (c *ClientWithResponses) UpdateOrganizationRoleWithResponse(ctx context.Context, realm string, orgId string, name string, ...) (*UpdateOrganizationRoleResponse, error)
- func (c *ClientWithResponses) UpdateOrganizationScimConfigWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, ...) (*UpdateOrganizationScimConfigResponse, error)
- func (c *ClientWithResponses) UpdateOrganizationScimConfigWithResponse(ctx context.Context, realm string, orgId string, ...) (*UpdateOrganizationScimConfigResponse, error)
- func (c *ClientWithResponses) UpdateOrganizationWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, ...) (*UpdateOrganizationResponse, error)
- func (c *ClientWithResponses) UpdateOrganizationWithResponse(ctx context.Context, realm string, orgId string, ...) (*UpdateOrganizationResponse, error)
- func (c *ClientWithResponses) UpdateRealmAttributeByKeyWithBodyWithResponse(ctx context.Context, realm string, attributeKey string, contentType string, ...) (*UpdateRealmAttributeByKeyResponse, error)
- func (c *ClientWithResponses) UpdateRealmAttributeByKeyWithResponse(ctx context.Context, realm string, attributeKey string, ...) (*UpdateRealmAttributeByKeyResponse, error)
- func (c *ClientWithResponses) UpdateWebhookWithBodyWithResponse(ctx context.Context, realm string, webhookId string, contentType string, ...) (*UpdateWebhookResponse, error)
- func (c *ClientWithResponses) UpdateWebhookWithResponse(ctx context.Context, realm string, webhookId string, ...) (*UpdateWebhookResponse, error)
- func (c *ClientWithResponses) VerifyDomainWithResponse(ctx context.Context, realm string, orgId string, domainName string, ...) (*VerifyDomainResponse, error)
- type ClientWithResponsesInterface
- type CreateEventJSONRequestBody
- type CreateEventResponse
- type CreateIdpInitiatedClientJSONRequestBody
- type CreateIdpInitiatedClientResponse
- type CreateIdpInitiatedClientResponse201Headers
- type CreateIdpJSONRequestBody
- type CreateIdpResponse
- type CreateIdpResponse201Headers
- type CreateMagicLinkJSONRequestBody
- type CreateMagicLinkResponse
- type CreateOrganizationJSONRequestBody
- type CreateOrganizationResponse
- type CreateOrganizationResponse201Headers
- type CreateOrganizationRoleJSONRequestBody
- type CreateOrganizationRoleResponse
- type CreateOrganizationRoleResponse201Headers
- type CreateOrganizationRolesJSONBody
- type CreateOrganizationRolesJSONRequestBody
- type CreateOrganizationRolesResponse
- func (r CreateOrganizationRolesResponse) ContentType() string
- func (r CreateOrganizationRolesResponse) GetBody() []byte
- func (r CreateOrganizationRolesResponse) GetJSON207() *[]BulkResponseItem
- func (r CreateOrganizationRolesResponse) Status() string
- func (r CreateOrganizationRolesResponse) StatusCode() int
- type CreateOrganizationScimConfigJSONRequestBody
- type CreateOrganizationScimConfigResponse
- func (r CreateOrganizationScimConfigResponse) ContentType() string
- func (r CreateOrganizationScimConfigResponse) GetBody() []byte
- func (r CreateOrganizationScimConfigResponse) GetJSON201() *OrganizationScimRepresentation
- func (r CreateOrganizationScimConfigResponse) Status() string
- func (r CreateOrganizationScimConfigResponse) StatusCode() int
- type CreatePortalLinkFormdataBody
- type CreatePortalLinkFormdataRequestBody
- type CreatePortalLinkResponse
- type CreateRealmAttributeJSONRequestBody
- type CreateRealmAttributeResponse
- type CreateRealmAttributeResponse201Headers
- type CreateWebhookJSONRequestBody
- type CreateWebhookResponse
- type CreateWebhookResponse201Headers
- type CredentialRepresentation
- type DeleteIdpMapperResponse
- type DeleteIdpResponse
- type DeleteOrganizationResponse
- type DeleteOrganizationRoleResponse
- type DeleteOrganizationRolesJSONBody
- type DeleteOrganizationRolesJSONRequestBody
- type DeleteOrganizationRolesResponse
- func (r DeleteOrganizationRolesResponse) ContentType() string
- func (r DeleteOrganizationRolesResponse) GetBody() []byte
- func (r DeleteOrganizationRolesResponse) GetJSON207() *[]BulkResponseItem
- func (r DeleteOrganizationRolesResponse) Status() string
- func (r DeleteOrganizationRolesResponse) StatusCode() int
- type DeleteOrganizationScimConfigResponse
- type DeleteRealmAttributeResponse
- type DeleteWebhookResponse
- type EventRepresentation
- type ExportOrganizationsParams
- type ExportOrganizationsResponse
- func (r ExportOrganizationsResponse) ContentType() string
- func (r ExportOrganizationsResponse) GetBody() []byte
- func (r ExportOrganizationsResponse) GetJSON200() *OrganizationsExportRepresentation
- func (r ExportOrganizationsResponse) Status() string
- func (r ExportOrganizationsResponse) StatusCode() int
- type ExternalBasicScimAuth
- type ExternalBasicScimAuthType
- type ExternalJwtScimAuth
- type ExternalJwtScimAuthType
- type ExternalSecretScimAuth
- type ExternalSecretScimAuthType
- type GetActiveOrganizationResponse
- func (r GetActiveOrganizationResponse) ContentType() string
- func (r GetActiveOrganizationResponse) GetBody() []byte
- func (r GetActiveOrganizationResponse) GetJSON200() *OrganizationRepresentation
- func (r GetActiveOrganizationResponse) Status() string
- func (r GetActiveOrganizationResponse) StatusCode() int
- type GetIdpMapperResponse
- type GetIdpMappersResponse
- type GetIdpResponse
- type GetIdpsResponse
- type GetMeResponse
- type GetOrganizationByIdResponse
- type GetOrganizationConfigResponse
- func (r GetOrganizationConfigResponse) ContentType() string
- func (r GetOrganizationConfigResponse) GetBody() []byte
- func (r GetOrganizationConfigResponse) GetJSON200() *OrganizationConfigRepresentation
- func (r GetOrganizationConfigResponse) Status() string
- func (r GetOrganizationConfigResponse) StatusCode() int
- type GetOrganizationDomainResponse
- func (r GetOrganizationDomainResponse) ContentType() string
- func (r GetOrganizationDomainResponse) GetBody() []byte
- func (r GetOrganizationDomainResponse) GetJSON200() *OrganizationDomainRepresentation
- func (r GetOrganizationDomainResponse) Status() string
- func (r GetOrganizationDomainResponse) StatusCode() int
- type GetOrganizationDomainsResponse
- func (r GetOrganizationDomainsResponse) ContentType() string
- func (r GetOrganizationDomainsResponse) GetBody() []byte
- func (r GetOrganizationDomainsResponse) GetJSON200() *[]OrganizationDomainRepresentation
- func (r GetOrganizationDomainsResponse) Status() string
- func (r GetOrganizationDomainsResponse) StatusCode() int
- type GetOrganizationInvitationByIdResponse
- func (r GetOrganizationInvitationByIdResponse) ContentType() string
- func (r GetOrganizationInvitationByIdResponse) GetBody() []byte
- func (r GetOrganizationInvitationByIdResponse) GetJSON200() *InvitationRepresentation
- func (r GetOrganizationInvitationByIdResponse) Status() string
- func (r GetOrganizationInvitationByIdResponse) StatusCode() int
- type GetOrganizationInvitationCountResponse
- func (r GetOrganizationInvitationCountResponse) ContentType() string
- func (r GetOrganizationInvitationCountResponse) GetBody() []byte
- func (r GetOrganizationInvitationCountResponse) GetJSON200() *int32
- func (r GetOrganizationInvitationCountResponse) Status() string
- func (r GetOrganizationInvitationCountResponse) StatusCode() int
- type GetOrganizationInvitationsParams
- type GetOrganizationInvitationsResponse
- func (r GetOrganizationInvitationsResponse) ContentType() string
- func (r GetOrganizationInvitationsResponse) GetBody() []byte
- func (r GetOrganizationInvitationsResponse) GetJSON200() *[]InvitationRepresentation
- func (r GetOrganizationInvitationsResponse) Status() string
- func (r GetOrganizationInvitationsResponse) StatusCode() int
- type GetOrganizationMemberAttributesResponse
- func (r GetOrganizationMemberAttributesResponse) ContentType() string
- func (r GetOrganizationMemberAttributesResponse) GetBody() []byte
- func (r GetOrganizationMemberAttributesResponse) GetJSON200() *map[string][]string
- func (r GetOrganizationMemberAttributesResponse) Status() string
- func (r GetOrganizationMemberAttributesResponse) StatusCode() int
- type GetOrganizationMembershipsCountParams
- type GetOrganizationMembershipsCountResponse
- func (r GetOrganizationMembershipsCountResponse) ContentType() string
- func (r GetOrganizationMembershipsCountResponse) GetBody() []byte
- func (r GetOrganizationMembershipsCountResponse) GetJSON200() *int32
- func (r GetOrganizationMembershipsCountResponse) Status() string
- func (r GetOrganizationMembershipsCountResponse) StatusCode() int
- type GetOrganizationMembershipsParams
- type GetOrganizationMembershipsResponse
- func (r GetOrganizationMembershipsResponse) ContentType() string
- func (r GetOrganizationMembershipsResponse) GetBody() []byte
- func (r GetOrganizationMembershipsResponse) GetJSON200() *[]UserWithOrgsBriefRepresentation
- func (r GetOrganizationMembershipsResponse) Status() string
- func (r GetOrganizationMembershipsResponse) StatusCode() int
- type GetOrganizationRoleResponse
- func (r GetOrganizationRoleResponse) ContentType() string
- func (r GetOrganizationRoleResponse) GetBody() []byte
- func (r GetOrganizationRoleResponse) GetJSON200() *OrganizationRoleRepresentation
- func (r GetOrganizationRoleResponse) Status() string
- func (r GetOrganizationRoleResponse) StatusCode() int
- type GetOrganizationRolesResponse
- func (r GetOrganizationRolesResponse) ContentType() string
- func (r GetOrganizationRolesResponse) GetBody() []byte
- func (r GetOrganizationRolesResponse) GetJSON200() *[]OrganizationRoleRepresentation
- func (r GetOrganizationRolesResponse) Status() string
- func (r GetOrganizationRolesResponse) StatusCode() int
- type GetOrganizationScimConfigResponse
- func (r GetOrganizationScimConfigResponse) ContentType() string
- func (r GetOrganizationScimConfigResponse) GetBody() []byte
- func (r GetOrganizationScimConfigResponse) GetJSON200() *OrganizationScimRepresentation
- func (r GetOrganizationScimConfigResponse) Status() string
- func (r GetOrganizationScimConfigResponse) StatusCode() int
- type GetOrganizationsCountParams
- type GetOrganizationsCountResponse
- type GetOrganizationsParams
- type GetOrganizationsResponse
- type GetPayloadByKeycloakTypeAndIdResponse
- func (r GetPayloadByKeycloakTypeAndIdResponse) ContentType() string
- func (r GetPayloadByKeycloakTypeAndIdResponse) GetBody() []byte
- func (r GetPayloadByKeycloakTypeAndIdResponse) GetJSON200() *EventRepresentation
- func (r GetPayloadByKeycloakTypeAndIdResponse) Status() string
- func (r GetPayloadByKeycloakTypeAndIdResponse) StatusCode() int
- type GetRealmAttributeByKeyResponse
- func (r GetRealmAttributeByKeyResponse) ContentType() string
- func (r GetRealmAttributeByKeyResponse) GetBody() []byte
- func (r GetRealmAttributeByKeyResponse) GetJSON200() *RealmAttributeRepresentation
- func (r GetRealmAttributeByKeyResponse) Status() string
- func (r GetRealmAttributeByKeyResponse) StatusCode() int
- type GetRealmAttributesResponse
- func (r GetRealmAttributesResponse) ContentType() string
- func (r GetRealmAttributesResponse) GetBody() []byte
- func (r GetRealmAttributesResponse) GetJSON200() *[]KeyedRealmAttributeRepresentation
- func (r GetRealmAttributesResponse) Status() string
- func (r GetRealmAttributesResponse) StatusCode() int
- type GetUserOrganizationRolesResponse
- func (r GetUserOrganizationRolesResponse) ContentType() string
- func (r GetUserOrganizationRolesResponse) GetBody() []byte
- func (r GetUserOrganizationRolesResponse) GetJSON200() *[]UserRepresentation
- func (r GetUserOrganizationRolesResponse) Status() string
- func (r GetUserOrganizationRolesResponse) StatusCode() int
- type GetWebhookByIdResponse
- type GetWebhookSecretByIdResponse
- type GetWebhookSendByIdResponse
- type GetWebhookSendsByKeycloakTypeAndIdResponse
- func (r GetWebhookSendsByKeycloakTypeAndIdResponse) ContentType() string
- func (r GetWebhookSendsByKeycloakTypeAndIdResponse) GetBody() []byte
- func (r GetWebhookSendsByKeycloakTypeAndIdResponse) GetJSON200() *[]WebhookSendRepresentation
- func (r GetWebhookSendsByKeycloakTypeAndIdResponse) Status() string
- func (r GetWebhookSendsByKeycloakTypeAndIdResponse) StatusCode() int
- type GetWebhookSendsParams
- type GetWebhookSendsResponse
- type GetWebhooksCountResponse
- type GetWebhooksParams
- type GetWebhooksResponse
- type GrantUserOrganizationRoleResponse
- type GrantUserOrganizationRoleResponse201Headers
- type GrantUserRolesInOrganizationJSONBody
- type GrantUserRolesInOrganizationJSONRequestBody
- type GrantUserRolesInOrganizationResponse
- func (r GrantUserRolesInOrganizationResponse) ContentType() string
- func (r GrantUserRolesInOrganizationResponse) GetBody() []byte
- func (r GrantUserRolesInOrganizationResponse) GetJSON207() *[]BulkResponseItem
- func (r GrantUserRolesInOrganizationResponse) Status() string
- func (r GrantUserRolesInOrganizationResponse) StatusCode() int
- type HttpRequestDoer
- type IdentityProviderMapperRepresentation
- type IdentityProviderRepresentation
- type IdpInitiatedClientRepresentation
- type IdpInitiatedClientRepresentationAttributesSamlForcePostBinding
- type IdpInitiatedClientRepresentationProtocol
- type ImportIdpJsonResponse
- type ImportOrganizationsJSONRequestBody
- type ImportOrganizationsParams
- type ImportOrganizationsResponse
- func (r ImportOrganizationsResponse) ContentType() string
- func (r ImportOrganizationsResponse) GetBody() []byte
- func (r ImportOrganizationsResponse) GetJSON200() *OrganizationsImportResultRepresentation
- func (r ImportOrganizationsResponse) Status() string
- func (r ImportOrganizationsResponse) StatusCode() int
- type InvitationRepresentation
- type InvitationRequestRepresentation
- type InvitationsResponse
- type KeycloakScimAuth
- type KeycloakScimAuthType
- type KeyedRealmAttributeRepresentation
- type LinkIdentityProviderRepresentation
- type LinkIdpJSONRequestBody
- type LinkIdpResponse
- type LinkIdpResponse201Headers
- type ListUserOrganizationsResponse
- func (r ListUserOrganizationsResponse) ContentType() string
- func (r ListUserOrganizationsResponse) GetBody() []byte
- func (r ListUserOrganizationsResponse) GetJSON200() *[]OrganizationRepresentation
- func (r ListUserOrganizationsResponse) Status() string
- func (r ListUserOrganizationsResponse) StatusCode() int
- type ListUserRolesInOrganizationResponse
- func (r ListUserRolesInOrganizationResponse) ContentType() string
- func (r ListUserRolesInOrganizationResponse) GetBody() []byte
- func (r ListUserRolesInOrganizationResponse) GetJSON200() *[]OrganizationRoleRepresentation
- func (r ListUserRolesInOrganizationResponse) Status() string
- func (r ListUserRolesInOrganizationResponse) StatusCode() int
- type MagicLinkRequest
- type MagicLinkResponse
- type MyOrganizationRepresentation
- type MyOrganizationsRepresentation
- type OrganizationConfigRepresentation
- type OrganizationDomainRepresentation
- type OrganizationExportRepresentation
- type OrganizationMemberAttributeRepresentation
- type OrganizationRepresentation
- type OrganizationRoleMapRepresentation
- type OrganizationRoleRepresentation
- type OrganizationScimAuth
- func (t OrganizationScimAuth) AsExternalBasicScimAuth() (ExternalBasicScimAuth, error)
- func (t OrganizationScimAuth) AsExternalJwtScimAuth() (ExternalJwtScimAuth, error)
- func (t OrganizationScimAuth) AsExternalSecretScimAuth() (ExternalSecretScimAuth, error)
- func (t OrganizationScimAuth) AsKeycloakScimAuth() (KeycloakScimAuth, error)
- func (t OrganizationScimAuth) Discriminator() (string, error)
- func (t *OrganizationScimAuth) FromExternalBasicScimAuth(v ExternalBasicScimAuth) error
- func (t *OrganizationScimAuth) FromExternalJwtScimAuth(v ExternalJwtScimAuth) error
- func (t *OrganizationScimAuth) FromExternalSecretScimAuth(v ExternalSecretScimAuth) error
- func (t *OrganizationScimAuth) FromKeycloakScimAuth(v KeycloakScimAuth) error
- func (t OrganizationScimAuth) MarshalJSON() ([]byte, error)
- func (t *OrganizationScimAuth) MergeExternalBasicScimAuth(v ExternalBasicScimAuth) error
- func (t *OrganizationScimAuth) MergeExternalJwtScimAuth(v ExternalJwtScimAuth) error
- func (t *OrganizationScimAuth) MergeExternalSecretScimAuth(v ExternalSecretScimAuth) error
- func (t *OrganizationScimAuth) MergeKeycloakScimAuth(v KeycloakScimAuth) error
- func (t *OrganizationScimAuth) UnmarshalJSON(b []byte) error
- func (t OrganizationScimAuth) ValueByDiscriminator() (interface{}, error)
- type OrganizationScimAuthType
- type OrganizationScimRepresentation
- type OrganizationsConfigRepresentation
- type OrganizationsExportRepresentation
- type OrganizationsImportRepresentation
- type OrganizationsImportResultRepresentation
- type PortalLinkRepresentation
- type RealmAttributeRepresentation
- type RejectInvitationResponse
- type RemoveOrganizationInvitationResponse
- type RemoveOrganizationMemberResponse
- type RequestEditorFn
- type ResendOrganizationInvitationResponse
- type ResendWebhookByIdResponse
- type RevokeUserOrganizationRoleResponse
- type RevokeUserRolesInOrganizationJSONBody
- type RevokeUserRolesInOrganizationJSONRequestBody
- type RevokeUserRolesInOrganizationResponse
- func (r RevokeUserRolesInOrganizationResponse) ContentType() string
- func (r RevokeUserRolesInOrganizationResponse) GetBody() []byte
- func (r RevokeUserRolesInOrganizationResponse) GetJSON207() *[]BulkResponseItem
- func (r RevokeUserRolesInOrganizationResponse) Status() string
- func (r RevokeUserRolesInOrganizationResponse) StatusCode() int
- type SwitchActiveOrganizationJSONRequestBody
- type SwitchActiveOrganizationResponse
- func (r SwitchActiveOrganizationResponse) ContentType() string
- func (r SwitchActiveOrganizationResponse) GetBody() []byte
- func (r SwitchActiveOrganizationResponse) GetJSON200() *AccessTokenResponse
- func (r SwitchActiveOrganizationResponse) Status() string
- func (r SwitchActiveOrganizationResponse) StatusCode() int
- type SwitchOrganizationRepresentation
- type UnlinkIdpResponse
- type UpdateIdpJSONRequestBody
- type UpdateIdpMapperJSONRequestBody
- type UpdateIdpMapperResponse
- type UpdateIdpResponse
- type UpdateOrganizationConfigJSONRequestBody
- type UpdateOrganizationConfigResponse
- type UpdateOrganizationJSONRequestBody
- type UpdateOrganizationResponse
- type UpdateOrganizationRoleJSONRequestBody
- type UpdateOrganizationRoleResponse
- type UpdateOrganizationScimConfigJSONRequestBody
- type UpdateOrganizationScimConfigResponse
- func (r UpdateOrganizationScimConfigResponse) ContentType() string
- func (r UpdateOrganizationScimConfigResponse) GetBody() []byte
- func (r UpdateOrganizationScimConfigResponse) GetJSON200() *OrganizationScimRepresentation
- func (r UpdateOrganizationScimConfigResponse) Status() string
- func (r UpdateOrganizationScimConfigResponse) StatusCode() int
- type UpdateRealmAttributeByKeyJSONRequestBody
- type UpdateRealmAttributeByKeyResponse
- type UpdateWebhookJSONRequestBody
- type UpdateWebhookResponse
- type UserBriefRepresentation
- type UserRepresentation
- type UserWithOrgsBriefRepresentation
- type UserWithOrgsRepresentation
- type VerifyDomainResponse
- type WebhookRepresentation
- type WebhookSendRepresentation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAcceptInvitationRequest ¶
func NewAcceptInvitationRequest(server string, realm string, invitationId string) (*http.Request, error)
NewAcceptInvitationRequest constructs an http.Request for the AcceptInvitation method
func NewAddIdpMapperRequest ¶
func NewAddIdpMapperRequest(server string, realm string, orgId string, alias string, body AddIdpMapperJSONRequestBody) (*http.Request, error)
NewAddIdpMapperRequest calls the generic AddIdpMapper builder with application/json body
func NewAddIdpMapperRequestWithBody ¶
func NewAddIdpMapperRequestWithBody(server string, realm string, orgId string, alias string, contentType string, body io.Reader) (*http.Request, error)
NewAddIdpMapperRequestWithBody constructs an http.Request for the AddIdpMapper method, with any body, and a specified content type
func NewAddOrganizationInvitationRequest ¶
func NewAddOrganizationInvitationRequest(server string, realm string, orgId string, body AddOrganizationInvitationJSONRequestBody) (*http.Request, error)
NewAddOrganizationInvitationRequest calls the generic AddOrganizationInvitation builder with application/json body
func NewAddOrganizationInvitationRequestWithBody ¶
func NewAddOrganizationInvitationRequestWithBody(server string, realm string, orgId string, contentType string, body io.Reader) (*http.Request, error)
NewAddOrganizationInvitationRequestWithBody constructs an http.Request for the AddOrganizationInvitation method, with any body, and a specified content type
func NewAddOrganizationMemberAttributesRequest ¶
func NewAddOrganizationMemberAttributesRequest(server string, realm string, orgId string, userId string, body AddOrganizationMemberAttributesJSONRequestBody) (*http.Request, error)
NewAddOrganizationMemberAttributesRequest calls the generic AddOrganizationMemberAttributes builder with application/json body
func NewAddOrganizationMemberAttributesRequestWithBody ¶
func NewAddOrganizationMemberAttributesRequestWithBody(server string, realm string, orgId string, userId string, contentType string, body io.Reader) (*http.Request, error)
NewAddOrganizationMemberAttributesRequestWithBody constructs an http.Request for the AddOrganizationMemberAttributes method, with any body, and a specified content type
func NewAddOrganizationMemberRequest ¶
func NewAddOrganizationMemberRequest(server string, realm string, orgId string, userId string) (*http.Request, error)
NewAddOrganizationMemberRequest constructs an http.Request for the AddOrganizationMember method
func NewCheckOrganizationMembershipRequest ¶
func NewCheckOrganizationMembershipRequest(server string, realm string, orgId string, userId string) (*http.Request, error)
NewCheckOrganizationMembershipRequest constructs an http.Request for the CheckOrganizationMembership method
func NewCheckUserOrganizationRoleRequest ¶
func NewCheckUserOrganizationRoleRequest(server string, realm string, orgId string, name string, userId string) (*http.Request, error)
NewCheckUserOrganizationRoleRequest constructs an http.Request for the CheckUserOrganizationRole method
func NewCreateEventRequest ¶
func NewCreateEventRequest(server string, realm string, body CreateEventJSONRequestBody) (*http.Request, error)
NewCreateEventRequest calls the generic CreateEvent builder with application/json body
func NewCreateEventRequestWithBody ¶
func NewCreateEventRequestWithBody(server string, realm string, contentType string, body io.Reader) (*http.Request, error)
NewCreateEventRequestWithBody constructs an http.Request for the CreateEvent method, with any body, and a specified content type
func NewCreateIdpInitiatedClientRequest ¶
func NewCreateIdpInitiatedClientRequest(server string, realm string, orgId string, body CreateIdpInitiatedClientJSONRequestBody) (*http.Request, error)
NewCreateIdpInitiatedClientRequest calls the generic CreateIdpInitiatedClient builder with application/json body
func NewCreateIdpInitiatedClientRequestWithBody ¶
func NewCreateIdpInitiatedClientRequestWithBody(server string, realm string, orgId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateIdpInitiatedClientRequestWithBody constructs an http.Request for the CreateIdpInitiatedClient method, with any body, and a specified content type
func NewCreateIdpRequest ¶
func NewCreateIdpRequest(server string, realm string, orgId string, body CreateIdpJSONRequestBody) (*http.Request, error)
NewCreateIdpRequest calls the generic CreateIdp builder with application/json body
func NewCreateIdpRequestWithBody ¶
func NewCreateIdpRequestWithBody(server string, realm string, orgId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateIdpRequestWithBody constructs an http.Request for the CreateIdp method, with any body, and a specified content type
func NewCreateMagicLinkRequest ¶
func NewCreateMagicLinkRequest(server string, realm string, body CreateMagicLinkJSONRequestBody) (*http.Request, error)
NewCreateMagicLinkRequest calls the generic CreateMagicLink builder with application/json body
func NewCreateMagicLinkRequestWithBody ¶
func NewCreateMagicLinkRequestWithBody(server string, realm string, contentType string, body io.Reader) (*http.Request, error)
NewCreateMagicLinkRequestWithBody constructs an http.Request for the CreateMagicLink method, with any body, and a specified content type
func NewCreateOrganizationRequest ¶
func NewCreateOrganizationRequest(server string, realm string, body CreateOrganizationJSONRequestBody) (*http.Request, error)
NewCreateOrganizationRequest calls the generic CreateOrganization builder with application/json body
func NewCreateOrganizationRequestWithBody ¶
func NewCreateOrganizationRequestWithBody(server string, realm string, contentType string, body io.Reader) (*http.Request, error)
NewCreateOrganizationRequestWithBody constructs an http.Request for the CreateOrganization method, with any body, and a specified content type
func NewCreateOrganizationRoleRequest ¶
func NewCreateOrganizationRoleRequest(server string, realm string, orgId string, body CreateOrganizationRoleJSONRequestBody) (*http.Request, error)
NewCreateOrganizationRoleRequest calls the generic CreateOrganizationRole builder with application/json body
func NewCreateOrganizationRoleRequestWithBody ¶
func NewCreateOrganizationRoleRequestWithBody(server string, realm string, orgId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateOrganizationRoleRequestWithBody constructs an http.Request for the CreateOrganizationRole method, with any body, and a specified content type
func NewCreateOrganizationRolesRequest ¶
func NewCreateOrganizationRolesRequest(server string, realm string, orgId string, body CreateOrganizationRolesJSONRequestBody) (*http.Request, error)
NewCreateOrganizationRolesRequest calls the generic CreateOrganizationRoles builder with application/json body
func NewCreateOrganizationRolesRequestWithBody ¶
func NewCreateOrganizationRolesRequestWithBody(server string, realm string, orgId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateOrganizationRolesRequestWithBody constructs an http.Request for the CreateOrganizationRoles method, with any body, and a specified content type
func NewCreateOrganizationScimConfigRequest ¶
func NewCreateOrganizationScimConfigRequest(server string, realm string, orgId string, body CreateOrganizationScimConfigJSONRequestBody) (*http.Request, error)
NewCreateOrganizationScimConfigRequest calls the generic CreateOrganizationScimConfig builder with application/json body
func NewCreateOrganizationScimConfigRequestWithBody ¶
func NewCreateOrganizationScimConfigRequestWithBody(server string, realm string, orgId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateOrganizationScimConfigRequestWithBody constructs an http.Request for the CreateOrganizationScimConfig method, with any body, and a specified content type
func NewCreatePortalLinkRequestWithBody ¶
func NewCreatePortalLinkRequestWithBody(server string, realm string, orgId string, contentType string, body io.Reader) (*http.Request, error)
NewCreatePortalLinkRequestWithBody constructs an http.Request for the CreatePortalLink method, with any body, and a specified content type
func NewCreatePortalLinkRequestWithFormdataBody ¶
func NewCreatePortalLinkRequestWithFormdataBody(server string, realm string, orgId string, body CreatePortalLinkFormdataRequestBody) (*http.Request, error)
NewCreatePortalLinkRequestWithFormdataBody calls the generic CreatePortalLink builder with application/x-www-form-urlencoded body
func NewCreateRealmAttributeRequest ¶
func NewCreateRealmAttributeRequest(server string, realm string, body CreateRealmAttributeJSONRequestBody) (*http.Request, error)
NewCreateRealmAttributeRequest calls the generic CreateRealmAttribute builder with application/json body
func NewCreateRealmAttributeRequestWithBody ¶
func NewCreateRealmAttributeRequestWithBody(server string, realm string, contentType string, body io.Reader) (*http.Request, error)
NewCreateRealmAttributeRequestWithBody constructs an http.Request for the CreateRealmAttribute method, with any body, and a specified content type
func NewCreateWebhookRequest ¶
func NewCreateWebhookRequest(server string, realm string, body CreateWebhookJSONRequestBody) (*http.Request, error)
NewCreateWebhookRequest calls the generic CreateWebhook builder with application/json body
func NewCreateWebhookRequestWithBody ¶
func NewCreateWebhookRequestWithBody(server string, realm string, contentType string, body io.Reader) (*http.Request, error)
NewCreateWebhookRequestWithBody constructs an http.Request for the CreateWebhook method, with any body, and a specified content type
func NewDeleteIdpMapperRequest ¶
func NewDeleteIdpMapperRequest(server string, realm string, orgId string, alias string, id string) (*http.Request, error)
NewDeleteIdpMapperRequest constructs an http.Request for the DeleteIdpMapper method
func NewDeleteIdpRequest ¶
func NewDeleteIdpRequest(server string, realm string, orgId string, alias string) (*http.Request, error)
NewDeleteIdpRequest constructs an http.Request for the DeleteIdp method
func NewDeleteOrganizationRequest ¶
NewDeleteOrganizationRequest constructs an http.Request for the DeleteOrganization method
func NewDeleteOrganizationRoleRequest ¶
func NewDeleteOrganizationRoleRequest(server string, realm string, orgId string, name string) (*http.Request, error)
NewDeleteOrganizationRoleRequest constructs an http.Request for the DeleteOrganizationRole method
func NewDeleteOrganizationRolesRequest ¶
func NewDeleteOrganizationRolesRequest(server string, realm string, orgId string, body DeleteOrganizationRolesJSONRequestBody) (*http.Request, error)
NewDeleteOrganizationRolesRequest calls the generic DeleteOrganizationRoles builder with application/json body
func NewDeleteOrganizationRolesRequestWithBody ¶
func NewDeleteOrganizationRolesRequestWithBody(server string, realm string, orgId string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteOrganizationRolesRequestWithBody constructs an http.Request for the DeleteOrganizationRoles method, with any body, and a specified content type
func NewDeleteOrganizationScimConfigRequest ¶
func NewDeleteOrganizationScimConfigRequest(server string, realm string, orgId string) (*http.Request, error)
NewDeleteOrganizationScimConfigRequest constructs an http.Request for the DeleteOrganizationScimConfig method
func NewDeleteRealmAttributeRequest ¶
func NewDeleteRealmAttributeRequest(server string, realm string, attributeKey string) (*http.Request, error)
NewDeleteRealmAttributeRequest constructs an http.Request for the DeleteRealmAttribute method
func NewDeleteWebhookRequest ¶
NewDeleteWebhookRequest constructs an http.Request for the DeleteWebhook method
func NewExportOrganizationsRequest ¶
func NewExportOrganizationsRequest(server string, realm string, params *ExportOrganizationsParams) (*http.Request, error)
NewExportOrganizationsRequest constructs an http.Request for the ExportOrganizations method
func NewGetActiveOrganizationRequest ¶
NewGetActiveOrganizationRequest constructs an http.Request for the GetActiveOrganization method
func NewGetIdpMapperRequest ¶
func NewGetIdpMapperRequest(server string, realm string, orgId string, alias string, id string) (*http.Request, error)
NewGetIdpMapperRequest constructs an http.Request for the GetIdpMapper method
func NewGetIdpMappersRequest ¶
func NewGetIdpMappersRequest(server string, realm string, orgId string, alias string) (*http.Request, error)
NewGetIdpMappersRequest constructs an http.Request for the GetIdpMappers method
func NewGetIdpRequest ¶
func NewGetIdpRequest(server string, realm string, orgId string, alias string) (*http.Request, error)
NewGetIdpRequest constructs an http.Request for the GetIdp method
func NewGetIdpsRequest ¶
NewGetIdpsRequest constructs an http.Request for the GetIdps method
func NewGetMeRequest ¶
NewGetMeRequest constructs an http.Request for the GetMe method
func NewGetOrganizationByIdRequest ¶
func NewGetOrganizationByIdRequest(server string, realm string, orgId string) (*http.Request, error)
NewGetOrganizationByIdRequest constructs an http.Request for the GetOrganizationById method
func NewGetOrganizationConfigRequest ¶
NewGetOrganizationConfigRequest constructs an http.Request for the GetOrganizationConfig method
func NewGetOrganizationDomainRequest ¶
func NewGetOrganizationDomainRequest(server string, realm string, orgId string, domainName string) (*http.Request, error)
NewGetOrganizationDomainRequest constructs an http.Request for the GetOrganizationDomain method
func NewGetOrganizationDomainsRequest ¶
func NewGetOrganizationDomainsRequest(server string, realm string, orgId string) (*http.Request, error)
NewGetOrganizationDomainsRequest constructs an http.Request for the GetOrganizationDomains method
func NewGetOrganizationInvitationByIdRequest ¶
func NewGetOrganizationInvitationByIdRequest(server string, realm string, orgId string, invitationId string) (*http.Request, error)
NewGetOrganizationInvitationByIdRequest constructs an http.Request for the GetOrganizationInvitationById method
func NewGetOrganizationInvitationCountRequest ¶
func NewGetOrganizationInvitationCountRequest(server string, realm string, orgId string) (*http.Request, error)
NewGetOrganizationInvitationCountRequest constructs an http.Request for the GetOrganizationInvitationCount method
func NewGetOrganizationInvitationsRequest ¶
func NewGetOrganizationInvitationsRequest(server string, realm string, orgId string, params *GetOrganizationInvitationsParams) (*http.Request, error)
NewGetOrganizationInvitationsRequest constructs an http.Request for the GetOrganizationInvitations method
func NewGetOrganizationMemberAttributesRequest ¶
func NewGetOrganizationMemberAttributesRequest(server string, realm string, orgId string, userId string) (*http.Request, error)
NewGetOrganizationMemberAttributesRequest constructs an http.Request for the GetOrganizationMemberAttributes method
func NewGetOrganizationMembershipsCountRequest ¶
func NewGetOrganizationMembershipsCountRequest(server string, realm string, orgId string, params *GetOrganizationMembershipsCountParams) (*http.Request, error)
NewGetOrganizationMembershipsCountRequest constructs an http.Request for the GetOrganizationMembershipsCount method
func NewGetOrganizationMembershipsRequest ¶
func NewGetOrganizationMembershipsRequest(server string, realm string, orgId string, params *GetOrganizationMembershipsParams) (*http.Request, error)
NewGetOrganizationMembershipsRequest constructs an http.Request for the GetOrganizationMemberships method
func NewGetOrganizationRoleRequest ¶
func NewGetOrganizationRoleRequest(server string, realm string, orgId string, name string) (*http.Request, error)
NewGetOrganizationRoleRequest constructs an http.Request for the GetOrganizationRole method
func NewGetOrganizationRolesRequest ¶
func NewGetOrganizationRolesRequest(server string, realm string, orgId string) (*http.Request, error)
NewGetOrganizationRolesRequest constructs an http.Request for the GetOrganizationRoles method
func NewGetOrganizationScimConfigRequest ¶
func NewGetOrganizationScimConfigRequest(server string, realm string, orgId string) (*http.Request, error)
NewGetOrganizationScimConfigRequest constructs an http.Request for the GetOrganizationScimConfig method
func NewGetOrganizationsCountRequest ¶
func NewGetOrganizationsCountRequest(server string, realm string, params *GetOrganizationsCountParams) (*http.Request, error)
NewGetOrganizationsCountRequest constructs an http.Request for the GetOrganizationsCount method
func NewGetOrganizationsRequest ¶
func NewGetOrganizationsRequest(server string, realm string, params *GetOrganizationsParams) (*http.Request, error)
NewGetOrganizationsRequest constructs an http.Request for the GetOrganizations method
func NewGetPayloadByKeycloakTypeAndIdRequest ¶
func NewGetPayloadByKeycloakTypeAndIdRequest(server string, realm string, pType string, kid string) (*http.Request, error)
NewGetPayloadByKeycloakTypeAndIdRequest constructs an http.Request for the GetPayloadByKeycloakTypeAndId method
func NewGetRealmAttributeByKeyRequest ¶
func NewGetRealmAttributeByKeyRequest(server string, realm string, attributeKey string) (*http.Request, error)
NewGetRealmAttributeByKeyRequest constructs an http.Request for the GetRealmAttributeByKey method
func NewGetRealmAttributesRequest ¶
NewGetRealmAttributesRequest constructs an http.Request for the GetRealmAttributes method
func NewGetUserOrganizationRolesRequest ¶
func NewGetUserOrganizationRolesRequest(server string, realm string, orgId string, name string) (*http.Request, error)
NewGetUserOrganizationRolesRequest constructs an http.Request for the GetUserOrganizationRoles method
func NewGetWebhookByIdRequest ¶
NewGetWebhookByIdRequest constructs an http.Request for the GetWebhookById method
func NewGetWebhookSecretByIdRequest ¶
func NewGetWebhookSecretByIdRequest(server string, realm string, webhookId string) (*http.Request, error)
NewGetWebhookSecretByIdRequest constructs an http.Request for the GetWebhookSecretById method
func NewGetWebhookSendByIdRequest ¶
func NewGetWebhookSendByIdRequest(server string, realm string, webhookId string, sendId string) (*http.Request, error)
NewGetWebhookSendByIdRequest constructs an http.Request for the GetWebhookSendById method
func NewGetWebhookSendsByKeycloakTypeAndIdRequest ¶
func NewGetWebhookSendsByKeycloakTypeAndIdRequest(server string, realm string, pType string, kid string) (*http.Request, error)
NewGetWebhookSendsByKeycloakTypeAndIdRequest constructs an http.Request for the GetWebhookSendsByKeycloakTypeAndId method
func NewGetWebhookSendsRequest ¶
func NewGetWebhookSendsRequest(server string, realm string, webhookId string, params *GetWebhookSendsParams) (*http.Request, error)
NewGetWebhookSendsRequest constructs an http.Request for the GetWebhookSends method
func NewGetWebhooksCountRequest ¶
NewGetWebhooksCountRequest constructs an http.Request for the GetWebhooksCount method
func NewGetWebhooksRequest ¶
func NewGetWebhooksRequest(server string, realm string, params *GetWebhooksParams) (*http.Request, error)
NewGetWebhooksRequest constructs an http.Request for the GetWebhooks method
func NewGrantUserOrganizationRoleRequest ¶
func NewGrantUserOrganizationRoleRequest(server string, realm string, orgId string, name string, userId string) (*http.Request, error)
NewGrantUserOrganizationRoleRequest constructs an http.Request for the GrantUserOrganizationRole method
func NewGrantUserRolesInOrganizationRequest ¶
func NewGrantUserRolesInOrganizationRequest(server string, realm string, userId string, orgId string, body GrantUserRolesInOrganizationJSONRequestBody) (*http.Request, error)
NewGrantUserRolesInOrganizationRequest calls the generic GrantUserRolesInOrganization builder with application/json body
func NewGrantUserRolesInOrganizationRequestWithBody ¶
func NewGrantUserRolesInOrganizationRequestWithBody(server string, realm string, userId string, orgId string, contentType string, body io.Reader) (*http.Request, error)
NewGrantUserRolesInOrganizationRequestWithBody constructs an http.Request for the GrantUserRolesInOrganization method, with any body, and a specified content type
func NewImportIdpJsonRequest ¶
NewImportIdpJsonRequest constructs an http.Request for the ImportIdpJson method
func NewImportOrganizationsRequest ¶
func NewImportOrganizationsRequest(server string, realm string, params *ImportOrganizationsParams, body ImportOrganizationsJSONRequestBody) (*http.Request, error)
NewImportOrganizationsRequest calls the generic ImportOrganizations builder with application/json body
func NewImportOrganizationsRequestWithBody ¶
func NewImportOrganizationsRequestWithBody(server string, realm string, params *ImportOrganizationsParams, contentType string, body io.Reader) (*http.Request, error)
NewImportOrganizationsRequestWithBody constructs an http.Request for the ImportOrganizations method, with any body, and a specified content type
func NewInvitationsRequest ¶
NewInvitationsRequest constructs an http.Request for the Invitations method
func NewLinkIdpRequest ¶
func NewLinkIdpRequest(server string, realm string, orgId string, body LinkIdpJSONRequestBody) (*http.Request, error)
NewLinkIdpRequest calls the generic LinkIdp builder with application/json body
func NewLinkIdpRequestWithBody ¶
func NewLinkIdpRequestWithBody(server string, realm string, orgId string, contentType string, body io.Reader) (*http.Request, error)
NewLinkIdpRequestWithBody constructs an http.Request for the LinkIdp method, with any body, and a specified content type
func NewListUserOrganizationsRequest ¶
func NewListUserOrganizationsRequest(server string, realm string, userId string) (*http.Request, error)
NewListUserOrganizationsRequest constructs an http.Request for the ListUserOrganizations method
func NewListUserRolesInOrganizationRequest ¶
func NewListUserRolesInOrganizationRequest(server string, realm string, userId string, orgId string) (*http.Request, error)
NewListUserRolesInOrganizationRequest constructs an http.Request for the ListUserRolesInOrganization method
func NewRejectInvitationRequest ¶
func NewRejectInvitationRequest(server string, realm string, invitationId string) (*http.Request, error)
NewRejectInvitationRequest constructs an http.Request for the RejectInvitation method
func NewRemoveOrganizationInvitationRequest ¶
func NewRemoveOrganizationInvitationRequest(server string, realm string, orgId string, invitationId string) (*http.Request, error)
NewRemoveOrganizationInvitationRequest constructs an http.Request for the RemoveOrganizationInvitation method
func NewRemoveOrganizationMemberRequest ¶
func NewRemoveOrganizationMemberRequest(server string, realm string, orgId string, userId string) (*http.Request, error)
NewRemoveOrganizationMemberRequest constructs an http.Request for the RemoveOrganizationMember method
func NewResendOrganizationInvitationRequest ¶
func NewResendOrganizationInvitationRequest(server string, realm string, orgId string, invitationId string) (*http.Request, error)
NewResendOrganizationInvitationRequest constructs an http.Request for the ResendOrganizationInvitation method
func NewResendWebhookByIdRequest ¶
func NewResendWebhookByIdRequest(server string, realm string, webhookId string, sendId string) (*http.Request, error)
NewResendWebhookByIdRequest constructs an http.Request for the ResendWebhookById method
func NewRevokeUserOrganizationRoleRequest ¶
func NewRevokeUserOrganizationRoleRequest(server string, realm string, orgId string, name string, userId string) (*http.Request, error)
NewRevokeUserOrganizationRoleRequest constructs an http.Request for the RevokeUserOrganizationRole method
func NewRevokeUserRolesInOrganizationRequest ¶
func NewRevokeUserRolesInOrganizationRequest(server string, realm string, userId string, orgId string, body RevokeUserRolesInOrganizationJSONRequestBody) (*http.Request, error)
NewRevokeUserRolesInOrganizationRequest calls the generic RevokeUserRolesInOrganization builder with application/json body
func NewRevokeUserRolesInOrganizationRequestWithBody ¶
func NewRevokeUserRolesInOrganizationRequestWithBody(server string, realm string, userId string, orgId string, contentType string, body io.Reader) (*http.Request, error)
NewRevokeUserRolesInOrganizationRequestWithBody constructs an http.Request for the RevokeUserRolesInOrganization method, with any body, and a specified content type
func NewSwitchActiveOrganizationRequest ¶
func NewSwitchActiveOrganizationRequest(server string, realm string, body SwitchActiveOrganizationJSONRequestBody) (*http.Request, error)
NewSwitchActiveOrganizationRequest calls the generic SwitchActiveOrganization builder with application/json body
func NewSwitchActiveOrganizationRequestWithBody ¶
func NewSwitchActiveOrganizationRequestWithBody(server string, realm string, contentType string, body io.Reader) (*http.Request, error)
NewSwitchActiveOrganizationRequestWithBody constructs an http.Request for the SwitchActiveOrganization method, with any body, and a specified content type
func NewUnlinkIdpRequest ¶
func NewUnlinkIdpRequest(server string, realm string, orgId string, alias string) (*http.Request, error)
NewUnlinkIdpRequest constructs an http.Request for the UnlinkIdp method
func NewUpdateIdpMapperRequest ¶
func NewUpdateIdpMapperRequest(server string, realm string, orgId string, alias string, id string, body UpdateIdpMapperJSONRequestBody) (*http.Request, error)
NewUpdateIdpMapperRequest calls the generic UpdateIdpMapper builder with application/json body
func NewUpdateIdpMapperRequestWithBody ¶
func NewUpdateIdpMapperRequestWithBody(server string, realm string, orgId string, alias string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateIdpMapperRequestWithBody constructs an http.Request for the UpdateIdpMapper method, with any body, and a specified content type
func NewUpdateIdpRequest ¶
func NewUpdateIdpRequest(server string, realm string, orgId string, alias string, body UpdateIdpJSONRequestBody) (*http.Request, error)
NewUpdateIdpRequest calls the generic UpdateIdp builder with application/json body
func NewUpdateIdpRequestWithBody ¶
func NewUpdateIdpRequestWithBody(server string, realm string, orgId string, alias string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateIdpRequestWithBody constructs an http.Request for the UpdateIdp method, with any body, and a specified content type
func NewUpdateOrganizationConfigRequest ¶
func NewUpdateOrganizationConfigRequest(server string, realm string, body UpdateOrganizationConfigJSONRequestBody) (*http.Request, error)
NewUpdateOrganizationConfigRequest calls the generic UpdateOrganizationConfig builder with application/json body
func NewUpdateOrganizationConfigRequestWithBody ¶
func NewUpdateOrganizationConfigRequestWithBody(server string, realm string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateOrganizationConfigRequestWithBody constructs an http.Request for the UpdateOrganizationConfig method, with any body, and a specified content type
func NewUpdateOrganizationRequest ¶
func NewUpdateOrganizationRequest(server string, realm string, orgId string, body UpdateOrganizationJSONRequestBody) (*http.Request, error)
NewUpdateOrganizationRequest calls the generic UpdateOrganization builder with application/json body
func NewUpdateOrganizationRequestWithBody ¶
func NewUpdateOrganizationRequestWithBody(server string, realm string, orgId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateOrganizationRequestWithBody constructs an http.Request for the UpdateOrganization method, with any body, and a specified content type
func NewUpdateOrganizationRoleRequest ¶
func NewUpdateOrganizationRoleRequest(server string, realm string, orgId string, name string, body UpdateOrganizationRoleJSONRequestBody) (*http.Request, error)
NewUpdateOrganizationRoleRequest calls the generic UpdateOrganizationRole builder with application/json body
func NewUpdateOrganizationRoleRequestWithBody ¶
func NewUpdateOrganizationRoleRequestWithBody(server string, realm string, orgId string, name string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateOrganizationRoleRequestWithBody constructs an http.Request for the UpdateOrganizationRole method, with any body, and a specified content type
func NewUpdateOrganizationScimConfigRequest ¶
func NewUpdateOrganizationScimConfigRequest(server string, realm string, orgId string, body UpdateOrganizationScimConfigJSONRequestBody) (*http.Request, error)
NewUpdateOrganizationScimConfigRequest calls the generic UpdateOrganizationScimConfig builder with application/json body
func NewUpdateOrganizationScimConfigRequestWithBody ¶
func NewUpdateOrganizationScimConfigRequestWithBody(server string, realm string, orgId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateOrganizationScimConfigRequestWithBody constructs an http.Request for the UpdateOrganizationScimConfig method, with any body, and a specified content type
func NewUpdateRealmAttributeByKeyRequest ¶
func NewUpdateRealmAttributeByKeyRequest(server string, realm string, attributeKey string, body UpdateRealmAttributeByKeyJSONRequestBody) (*http.Request, error)
NewUpdateRealmAttributeByKeyRequest calls the generic UpdateRealmAttributeByKey builder with application/json body
func NewUpdateRealmAttributeByKeyRequestWithBody ¶
func NewUpdateRealmAttributeByKeyRequestWithBody(server string, realm string, attributeKey string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateRealmAttributeByKeyRequestWithBody constructs an http.Request for the UpdateRealmAttributeByKey method, with any body, and a specified content type
func NewUpdateWebhookRequest ¶
func NewUpdateWebhookRequest(server string, realm string, webhookId string, body UpdateWebhookJSONRequestBody) (*http.Request, error)
NewUpdateWebhookRequest calls the generic UpdateWebhook builder with application/json body
func NewUpdateWebhookRequestWithBody ¶
func NewUpdateWebhookRequestWithBody(server string, realm string, webhookId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateWebhookRequestWithBody constructs an http.Request for the UpdateWebhook method, with any body, and a specified content type
Types ¶
type AcceptInvitationResponse ¶
func ParseAcceptInvitationResponse ¶
func ParseAcceptInvitationResponse(rsp *http.Response) (*AcceptInvitationResponse, error)
ParseAcceptInvitationResponse parses an HTTP response from a AcceptInvitationWithResponse call
func (AcceptInvitationResponse) ContentType ¶
func (r AcceptInvitationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AcceptInvitationResponse) GetBody ¶
func (r AcceptInvitationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AcceptInvitationResponse) Status ¶
func (r AcceptInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (AcceptInvitationResponse) StatusCode ¶
func (r AcceptInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccessTokenResponse ¶
type AccessTokenResponse struct {
AccessToken *string `json:"access_token,omitempty"`
ExpiresIn *int64 `json:"expires_in,omitempty"`
IdToken *string `json:"id_token,omitempty"`
NotBeforePolicy *int64 `json:"not-before-policy,omitempty"`
RefreshExpiresIn *int64 `json:"refresh_expires_in,omitempty"`
RefreshToken *string `json:"refresh_token,omitempty"`
Scope *string `json:"scope,omitempty"`
SessionState *string `json:"session_state,omitempty"`
TokenType *string `json:"token_type,omitempty"`
}
AccessTokenResponse A freshly issued OIDC token set, reflecting the user's new active organization. The `refresh_token` is only present when the client is configured to use refresh tokens, and `id_token` only for OIDC requests.
type AddIdpMapperJSONRequestBody ¶
type AddIdpMapperJSONRequestBody = IdentityProviderMapperRepresentation
AddIdpMapperJSONRequestBody defines body for AddIdpMapper for application/json ContentType.
type AddIdpMapperResponse ¶
type AddIdpMapperResponse struct {
Body []byte
HTTPResponse *http.Response
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *AddIdpMapperResponse201Headers
}
func ParseAddIdpMapperResponse ¶
func ParseAddIdpMapperResponse(rsp *http.Response) (*AddIdpMapperResponse, error)
ParseAddIdpMapperResponse parses an HTTP response from a AddIdpMapperWithResponse call
func (AddIdpMapperResponse) ContentType ¶
func (r AddIdpMapperResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddIdpMapperResponse) GetBody ¶
func (r AddIdpMapperResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AddIdpMapperResponse) Status ¶
func (r AddIdpMapperResponse) Status() string
Status returns HTTPResponse.Status
func (AddIdpMapperResponse) StatusCode ¶
func (r AddIdpMapperResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddIdpMapperResponse201Headers ¶ added in v0.3.0
type AddIdpMapperResponse201Headers struct {
Location *string
}
AddIdpMapperResponse201Headers the declared response headers of an HTTP 201 response for AddIdpMapper
type AddOrganizationInvitationJSONRequestBody ¶
type AddOrganizationInvitationJSONRequestBody = InvitationRequestRepresentation
AddOrganizationInvitationJSONRequestBody defines body for AddOrganizationInvitation for application/json ContentType.
type AddOrganizationInvitationResponse ¶
type AddOrganizationInvitationResponse struct {
Body []byte
HTTPResponse *http.Response
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *AddOrganizationInvitationResponse201Headers
}
func ParseAddOrganizationInvitationResponse ¶
func ParseAddOrganizationInvitationResponse(rsp *http.Response) (*AddOrganizationInvitationResponse, error)
ParseAddOrganizationInvitationResponse parses an HTTP response from a AddOrganizationInvitationWithResponse call
func (AddOrganizationInvitationResponse) ContentType ¶
func (r AddOrganizationInvitationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddOrganizationInvitationResponse) GetBody ¶
func (r AddOrganizationInvitationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AddOrganizationInvitationResponse) Status ¶
func (r AddOrganizationInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (AddOrganizationInvitationResponse) StatusCode ¶
func (r AddOrganizationInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddOrganizationInvitationResponse201Headers ¶ added in v0.3.0
type AddOrganizationInvitationResponse201Headers struct {
Location *string
}
AddOrganizationInvitationResponse201Headers the declared response headers of an HTTP 201 response for AddOrganizationInvitation
type AddOrganizationMemberAttributesJSONRequestBody ¶
type AddOrganizationMemberAttributesJSONRequestBody = OrganizationMemberAttributeRepresentation
AddOrganizationMemberAttributesJSONRequestBody defines body for AddOrganizationMemberAttributes for application/json ContentType.
type AddOrganizationMemberAttributesResponse ¶
type AddOrganizationMemberAttributesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string][]string
}
func ParseAddOrganizationMemberAttributesResponse ¶
func ParseAddOrganizationMemberAttributesResponse(rsp *http.Response) (*AddOrganizationMemberAttributesResponse, error)
ParseAddOrganizationMemberAttributesResponse parses an HTTP response from a AddOrganizationMemberAttributesWithResponse call
func (AddOrganizationMemberAttributesResponse) ContentType ¶
func (r AddOrganizationMemberAttributesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddOrganizationMemberAttributesResponse) GetBody ¶
func (r AddOrganizationMemberAttributesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AddOrganizationMemberAttributesResponse) GetJSON200 ¶
func (r AddOrganizationMemberAttributesResponse) GetJSON200() *map[string][]string
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AddOrganizationMemberAttributesResponse) Status ¶
func (r AddOrganizationMemberAttributesResponse) Status() string
Status returns HTTPResponse.Status
func (AddOrganizationMemberAttributesResponse) StatusCode ¶
func (r AddOrganizationMemberAttributesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddOrganizationMemberResponse ¶
type AddOrganizationMemberResponse struct {
Body []byte
HTTPResponse *http.Response
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *AddOrganizationMemberResponse201Headers
}
func ParseAddOrganizationMemberResponse ¶
func ParseAddOrganizationMemberResponse(rsp *http.Response) (*AddOrganizationMemberResponse, error)
ParseAddOrganizationMemberResponse parses an HTTP response from a AddOrganizationMemberWithResponse call
func (AddOrganizationMemberResponse) ContentType ¶
func (r AddOrganizationMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddOrganizationMemberResponse) GetBody ¶
func (r AddOrganizationMemberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AddOrganizationMemberResponse) Status ¶
func (r AddOrganizationMemberResponse) Status() string
Status returns HTTPResponse.Status
func (AddOrganizationMemberResponse) StatusCode ¶
func (r AddOrganizationMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddOrganizationMemberResponse201Headers ¶ added in v0.3.0
type AddOrganizationMemberResponse201Headers struct {
Location *string
}
AddOrganizationMemberResponse201Headers the declared response headers of an HTTP 201 response for AddOrganizationMember
type AuthDetailsRepresentation ¶
type AuthDetailsRepresentation struct {
ClientId *string `json:"clientId,omitempty"`
IpAddress *string `json:"ipAddress,omitempty"`
RealmId *string `json:"realmId,omitempty"`
SessionId *string `json:"sessionId,omitempty"`
UserId *string `json:"userId,omitempty"`
Username *string `json:"username,omitempty"`
}
AuthDetailsRepresentation defines model for AuthDetailsRepresentation.
type BulkResponseItem ¶
type BulkResponseItem struct {
Error *string `json:"error,omitempty"`
Item *map[string]interface{} `json:"item,omitempty"`
Status *int `json:"status,omitempty"`
}
BulkResponseItem defines model for BulkResponseItem.
type CheckOrganizationMembershipResponse ¶
func ParseCheckOrganizationMembershipResponse ¶
func ParseCheckOrganizationMembershipResponse(rsp *http.Response) (*CheckOrganizationMembershipResponse, error)
ParseCheckOrganizationMembershipResponse parses an HTTP response from a CheckOrganizationMembershipWithResponse call
func (CheckOrganizationMembershipResponse) ContentType ¶
func (r CheckOrganizationMembershipResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CheckOrganizationMembershipResponse) GetBody ¶
func (r CheckOrganizationMembershipResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CheckOrganizationMembershipResponse) Status ¶
func (r CheckOrganizationMembershipResponse) Status() string
Status returns HTTPResponse.Status
func (CheckOrganizationMembershipResponse) StatusCode ¶
func (r CheckOrganizationMembershipResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CheckUserOrganizationRoleResponse ¶
func ParseCheckUserOrganizationRoleResponse ¶
func ParseCheckUserOrganizationRoleResponse(rsp *http.Response) (*CheckUserOrganizationRoleResponse, error)
ParseCheckUserOrganizationRoleResponse parses an HTTP response from a CheckUserOrganizationRoleWithResponse call
func (CheckUserOrganizationRoleResponse) ContentType ¶
func (r CheckUserOrganizationRoleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CheckUserOrganizationRoleResponse) GetBody ¶
func (r CheckUserOrganizationRoleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CheckUserOrganizationRoleResponse) Status ¶
func (r CheckUserOrganizationRoleResponse) Status() string
Status returns HTTPResponse.Status
func (CheckUserOrganizationRoleResponse) StatusCode ¶
func (r CheckUserOrganizationRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) AcceptInvitation ¶
func (c *Client) AcceptInvitation(ctx context.Context, realm string, invitationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
AcceptInvitation Accept invitation for authenticated user
Accept invitation for authenticated user.
Corresponds with POST /{realm}/orgs/me/invitations/{invitationId} (the `AcceptInvitation` operationId).
func (*Client) AddIdpMapper ¶
func (c *Client) AddIdpMapper(ctx context.Context, realm string, orgId string, alias string, body AddIdpMapperJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AddIdpMapper Add a mapper to identity provider
Takes a body of the `application/json` content type.
Corresponds with POST /{realm}/orgs/{orgId}/idps/{alias}/mappers (the `AddIdpMapper` operationId).
func (*Client) AddIdpMapperWithBody ¶
func (c *Client) AddIdpMapperWithBody(ctx context.Context, realm string, orgId string, alias string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddIdpMapperWithBody Add a mapper to identity provider
Takes any type of body and a specified content type.
Corresponds with POST /{realm}/orgs/{orgId}/idps/{alias}/mappers (the `AddIdpMapper` operationId).
func (*Client) AddOrganizationInvitation ¶
func (c *Client) AddOrganizationInvitation(ctx context.Context, realm string, orgId string, body AddOrganizationInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AddOrganizationInvitation Create an invitation to an organization
Create an invitation to join the specified organization. Requires a user to register with the application (if they don't already have an account) before they can accept the invitation. Acceptance happens during login via a required action.
Takes a body of the `application/json` content type.
Corresponds with POST /{realm}/orgs/{orgId}/invitations (the `AddOrganizationInvitation` operationId).
func (*Client) AddOrganizationInvitationWithBody ¶
func (c *Client) AddOrganizationInvitationWithBody(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddOrganizationInvitationWithBody Create an invitation to an organization
Create an invitation to join the specified organization. Requires a user to register with the application (if they don't already have an account) before they can accept the invitation. Acceptance happens during login via a required action.
Takes any type of body and a specified content type.
Corresponds with POST /{realm}/orgs/{orgId}/invitations (the `AddOrganizationInvitation` operationId).
func (*Client) AddOrganizationMember ¶
func (c *Client) AddOrganizationMember(ctx context.Context, realm string, orgId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
AddOrganizationMember Add an organization member
Add the specified user to the specified organization as a member.
Corresponds with PUT /{realm}/orgs/{orgId}/members/{userId} (the `AddOrganizationMember` operationId).
func (*Client) AddOrganizationMemberAttributes ¶
func (c *Client) AddOrganizationMemberAttributes(ctx context.Context, realm string, orgId string, userId string, body AddOrganizationMemberAttributesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AddOrganizationMemberAttributes Add/update organization member attributes
Add or update attributes for a specific member of an organization.
Takes a body of the `application/json` content type.
Corresponds with PUT /{realm}/orgs/{orgId}/members/{userId}/attributes (the `AddOrganizationMemberAttributes` operationId).
func (*Client) AddOrganizationMemberAttributesWithBody ¶
func (c *Client) AddOrganizationMemberAttributesWithBody(ctx context.Context, realm string, orgId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddOrganizationMemberAttributesWithBody Add/update organization member attributes
Add or update attributes for a specific member of an organization.
Takes any type of body and a specified content type.
Corresponds with PUT /{realm}/orgs/{orgId}/members/{userId}/attributes (the `AddOrganizationMemberAttributes` operationId).
func (*Client) CheckOrganizationMembership ¶
func (c *Client) CheckOrganizationMembership(ctx context.Context, realm string, orgId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
CheckOrganizationMembership Check if a user is a member of an organization
Corresponds with GET /{realm}/orgs/{orgId}/members/{userId} (the `CheckOrganizationMembership` operationId).
func (*Client) CheckUserOrganizationRole ¶
func (c *Client) CheckUserOrganizationRole(ctx context.Context, realm string, orgId string, name string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
CheckUserOrganizationRole Check if a user has an organization role
Corresponds with GET /{realm}/orgs/{orgId}/roles/{name}/users/{userId} (the `CheckUserOrganizationRole` operationId).
func (*Client) CreateEvent ¶
func (c *Client) CreateEvent(ctx context.Context, realm string, body CreateEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEvent Create a new audit log event
Takes a body of the `application/json` content type.
Corresponds with POST /{realm}/events (the `CreateEvent` operationId).
func (*Client) CreateEventWithBody ¶
func (c *Client) CreateEventWithBody(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEventWithBody Create a new audit log event
Takes any type of body and a specified content type.
Corresponds with POST /{realm}/events (the `CreateEvent` operationId).
func (*Client) CreateIdp ¶
func (c *Client) CreateIdp(ctx context.Context, realm string, orgId string, body CreateIdpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateIdp Create a new identity provider for this organization
Takes a body of the `application/json` content type.
Corresponds with POST /{realm}/orgs/{orgId}/idps (the `CreateIdp` operationId).
func (*Client) CreateIdpInitiatedClient ¶
func (c *Client) CreateIdpInitiatedClient(ctx context.Context, realm string, orgId string, body CreateIdpInitiatedClientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateIdpInitiatedClient Create the client for IdP-initiated login through this organization's identity provider
Creates a SAML client that accepts IdP-initiated logins brokered through an identity provider of this organization. Create the client before the identity provider it is paired with.
Takes a body of the `application/json` content type.
Corresponds with POST /{realm}/orgs/{orgId}/idps/clients (the `CreateIdpInitiatedClient` operationId).
func (*Client) CreateIdpInitiatedClientWithBody ¶
func (c *Client) CreateIdpInitiatedClientWithBody(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateIdpInitiatedClientWithBody Create the client for IdP-initiated login through this organization's identity provider
Creates a SAML client that accepts IdP-initiated logins brokered through an identity provider of this organization. Create the client before the identity provider it is paired with.
Takes any type of body and a specified content type.
Corresponds with POST /{realm}/orgs/{orgId}/idps/clients (the `CreateIdpInitiatedClient` operationId).
func (*Client) CreateIdpWithBody ¶
func (c *Client) CreateIdpWithBody(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateIdpWithBody Create a new identity provider for this organization
Takes any type of body and a specified content type.
Corresponds with POST /{realm}/orgs/{orgId}/idps (the `CreateIdp` operationId).
func (*Client) CreateMagicLink ¶
func (c *Client) CreateMagicLink(ctx context.Context, realm string, body CreateMagicLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMagicLink Create a magic link to log in a user
Takes a body of the `application/json` content type.
Corresponds with POST /{realm}/magic-link (the `CreateMagicLink` operationId).
func (*Client) CreateMagicLinkWithBody ¶
func (c *Client) CreateMagicLinkWithBody(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMagicLinkWithBody Create a magic link to log in a user
Takes any type of body and a specified content type.
Corresponds with POST /{realm}/magic-link (the `CreateMagicLink` operationId).
func (*Client) CreateOrganization ¶
func (c *Client) CreateOrganization(ctx context.Context, realm string, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateOrganization Create a new organization
Takes a body of the `application/json` content type.
Corresponds with POST /{realm}/orgs (the `CreateOrganization` operationId).
func (*Client) CreateOrganizationRole ¶
func (c *Client) CreateOrganizationRole(ctx context.Context, realm string, orgId string, body CreateOrganizationRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateOrganizationRole Create a new role for this organization
Takes a body of the `application/json` content type.
Corresponds with POST /{realm}/orgs/{orgId}/roles (the `CreateOrganizationRole` operationId).
func (*Client) CreateOrganizationRoleWithBody ¶
func (c *Client) CreateOrganizationRoleWithBody(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateOrganizationRoleWithBody Create a new role for this organization
Takes any type of body and a specified content type.
Corresponds with POST /{realm}/orgs/{orgId}/roles (the `CreateOrganizationRole` operationId).
func (*Client) CreateOrganizationRoles ¶
func (c *Client) CreateOrganizationRoles(ctx context.Context, realm string, orgId string, body CreateOrganizationRolesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateOrganizationRoles Create new roles for this organization
Takes a body of the `application/json` content type.
Corresponds with PUT /{realm}/orgs/{orgId}/roles (the `CreateOrganizationRoles` operationId).
func (*Client) CreateOrganizationRolesWithBody ¶
func (c *Client) CreateOrganizationRolesWithBody(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateOrganizationRolesWithBody Create new roles for this organization
Takes any type of body and a specified content type.
Corresponds with PUT /{realm}/orgs/{orgId}/roles (the `CreateOrganizationRoles` operationId).
func (*Client) CreateOrganizationScimConfig ¶
func (c *Client) CreateOrganizationScimConfig(ctx context.Context, realm string, orgId string, body CreateOrganizationScimConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateOrganizationScimConfig Create the SCIM configuration for an organization
Creates the SCIM 2.0 service-provider configuration for the organization. Requires `manage-organizations` or `manage-identity-providers` on the organization. Returns 404 if the realm-level SCIM flag is off, and 409 if a configuration already exists for the organization. Cleartext secrets and basic passwords submitted here are hashed with Argon2id before persistence.
Takes a body of the `application/json` content type.
Corresponds with POST /{realm}/orgs/{orgId}/scim (the `CreateOrganizationScimConfig` operationId).
func (*Client) CreateOrganizationScimConfigWithBody ¶
func (c *Client) CreateOrganizationScimConfigWithBody(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateOrganizationScimConfigWithBody Create the SCIM configuration for an organization
Creates the SCIM 2.0 service-provider configuration for the organization. Requires `manage-organizations` or `manage-identity-providers` on the organization. Returns 404 if the realm-level SCIM flag is off, and 409 if a configuration already exists for the organization. Cleartext secrets and basic passwords submitted here are hashed with Argon2id before persistence.
Takes any type of body and a specified content type.
Corresponds with POST /{realm}/orgs/{orgId}/scim (the `CreateOrganizationScimConfig` operationId).
func (*Client) CreateOrganizationWithBody ¶
func (c *Client) CreateOrganizationWithBody(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateOrganizationWithBody Create a new organization
Takes any type of body and a specified content type.
Corresponds with POST /{realm}/orgs (the `CreateOrganization` operationId).
func (*Client) CreatePortalLinkWithBody ¶
func (c *Client) CreatePortalLinkWithBody(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePortalLinkWithBody Create a link for the organization's IdP Wizard
Create a link for this organization's IdP Wizard. This link encodes an action token on behalf of the organization's default admin user, or the user that is optionally specified in this request. The user specified must be a member of this organization, and have full organization admin roles.
Takes any type of body and a specified content type.
Corresponds with POST /{realm}/orgs/{orgId}/portal-link (the `CreatePortalLink` operationId).
func (*Client) CreatePortalLinkWithFormdataBody ¶
func (c *Client) CreatePortalLinkWithFormdataBody(ctx context.Context, realm string, orgId string, body CreatePortalLinkFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePortalLinkWithFormdataBody Create a link for the organization's IdP Wizard
Create a link for this organization's IdP Wizard. This link encodes an action token on behalf of the organization's default admin user, or the user that is optionally specified in this request. The user specified must be a member of this organization, and have full organization admin roles.
Takes a body of the `application/x-www-form-urlencoded` content type.
Corresponds with POST /{realm}/orgs/{orgId}/portal-link (the `CreatePortalLink` operationId).
func (*Client) CreateRealmAttribute ¶
func (c *Client) CreateRealmAttribute(ctx context.Context, realm string, body CreateRealmAttributeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateRealmAttribute Create a new realm attribute
Takes a body of the `application/json` content type.
Corresponds with POST /{realm}/attributes (the `CreateRealmAttribute` operationId).
func (*Client) CreateRealmAttributeWithBody ¶
func (c *Client) CreateRealmAttributeWithBody(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateRealmAttributeWithBody Create a new realm attribute
Takes any type of body and a specified content type.
Corresponds with POST /{realm}/attributes (the `CreateRealmAttribute` operationId).
func (*Client) CreateWebhook ¶
func (c *Client) CreateWebhook(ctx context.Context, realm string, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateWebhook Create a new webhook
Takes a body of the `application/json` content type.
Corresponds with POST /{realm}/webhooks (the `CreateWebhook` operationId).
func (*Client) CreateWebhookWithBody ¶
func (c *Client) CreateWebhookWithBody(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateWebhookWithBody Create a new webhook
Takes any type of body and a specified content type.
Corresponds with POST /{realm}/webhooks (the `CreateWebhook` operationId).
func (*Client) DeleteIdp ¶
func (c *Client) DeleteIdp(ctx context.Context, realm string, orgId string, alias string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteIdp Delete the identity provider
Corresponds with DELETE /{realm}/orgs/{orgId}/idps/{alias} (the `DeleteIdp` operationId).
func (*Client) DeleteIdpMapper ¶
func (c *Client) DeleteIdpMapper(ctx context.Context, realm string, orgId string, alias string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteIdpMapper Delete a mapper for the identity provider
Corresponds with DELETE /{realm}/orgs/{orgId}/idps/{alias}/mappers/{id} (the `DeleteIdpMapper` operationId).
func (*Client) DeleteOrganization ¶
func (c *Client) DeleteOrganization(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteOrganization Delete the organization
Corresponds with DELETE /{realm}/orgs/{orgId} (the `DeleteOrganization` operationId).
func (*Client) DeleteOrganizationRole ¶
func (c *Client) DeleteOrganizationRole(ctx context.Context, realm string, orgId string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteOrganizationRole Delete this organization role
Corresponds with DELETE /{realm}/orgs/{orgId}/roles/{name} (the `DeleteOrganizationRole` operationId).
func (*Client) DeleteOrganizationRoles ¶
func (c *Client) DeleteOrganizationRoles(ctx context.Context, realm string, orgId string, body DeleteOrganizationRolesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteOrganizationRoles Delete this organization roles
Takes a body of the `application/json` content type.
Corresponds with PATCH /{realm}/orgs/{orgId}/roles (the `DeleteOrganizationRoles` operationId).
func (*Client) DeleteOrganizationRolesWithBody ¶
func (c *Client) DeleteOrganizationRolesWithBody(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteOrganizationRolesWithBody Delete this organization roles
Takes any type of body and a specified content type.
Corresponds with PATCH /{realm}/orgs/{orgId}/roles (the `DeleteOrganizationRoles` operationId).
func (*Client) DeleteOrganizationScimConfig ¶
func (c *Client) DeleteOrganizationScimConfig(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteOrganizationScimConfig Delete the SCIM configuration for an organization
Removes the SCIM 2.0 service-provider configuration for the organization. Requires `manage-organizations` or `manage-identity-providers` on the organization.
Corresponds with DELETE /{realm}/orgs/{orgId}/scim (the `DeleteOrganizationScimConfig` operationId).
func (*Client) DeleteRealmAttribute ¶
func (c *Client) DeleteRealmAttribute(ctx context.Context, realm string, attributeKey string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteRealmAttribute Delete the realm attribute
Corresponds with DELETE /{realm}/attributes/{attributeKey} (the `DeleteRealmAttribute` operationId).
func (*Client) DeleteWebhook ¶
func (c *Client) DeleteWebhook(ctx context.Context, realm string, webhookId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteWebhook Delete the webhook
Corresponds with DELETE /{realm}/webhooks/{webhookId} (the `DeleteWebhook` operationId).
func (*Client) ExportOrganizations ¶
func (c *Client) ExportOrganizations(ctx context.Context, realm string, params *ExportOrganizationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ExportOrganizations Export organizations
Export all organizations and their configurations from this realm.
Corresponds with GET /{realm}/orgs/export (the `ExportOrganizations` operationId).
func (*Client) GetActiveOrganization ¶
func (c *Client) GetActiveOrganization(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetActiveOrganization Get active organization for authenticated user
Get the currently active organization for the authenticated user.
Corresponds with GET /{realm}/users/active-organization (the `GetActiveOrganization` operationId).
func (*Client) GetIdp ¶
func (c *Client) GetIdp(ctx context.Context, realm string, orgId string, alias string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetIdp Get identity provider for this organization by alias
Corresponds with GET /{realm}/orgs/{orgId}/idps/{alias} (the `GetIdp` operationId).
func (*Client) GetIdpMapper ¶
func (c *Client) GetIdpMapper(ctx context.Context, realm string, orgId string, alias string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetIdpMapper Get mapper by id for the identity provider
Corresponds with GET /{realm}/orgs/{orgId}/idps/{alias}/mappers/{id} (the `GetIdpMapper` operationId).
func (*Client) GetIdpMappers ¶
func (c *Client) GetIdpMappers(ctx context.Context, realm string, orgId string, alias string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetIdpMappers Get mappers for identity provider
Corresponds with GET /{realm}/orgs/{orgId}/idps/{alias}/mappers (the `GetIdpMappers` operationId).
func (*Client) GetIdps ¶
func (c *Client) GetIdps(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetIdps Get identity providers for this organization
Corresponds with GET /{realm}/orgs/{orgId}/idps (the `GetIdps` operationId).
func (*Client) GetMe ¶
func (c *Client) GetMe(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMe Get orgs and roles for authenticated user
Get a list of all organizations that the user is a member and their roles in those organizations. Similar idea to /userinfo in OIDC.
Corresponds with GET /{realm}/orgs/me (the `GetMe` operationId).
func (*Client) GetOrganizationById ¶
func (c *Client) GetOrganizationById(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOrganizationById Get organization by id
Corresponds with GET /{realm}/orgs/{orgId} (the `GetOrganizationById` operationId).
func (*Client) GetOrganizationConfig ¶
func (c *Client) GetOrganizationConfig(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOrganizationConfig Get organization configuration
Get the global organization configuration for this realm.
Corresponds with GET /{realm}/orgs/config (the `GetOrganizationConfig` operationId).
func (*Client) GetOrganizationDomain ¶
func (c *Client) GetOrganizationDomain(ctx context.Context, realm string, orgId string, domainName string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOrganizationDomain Get details for a domain owned by an organization
Corresponds with GET /{realm}/orgs/{orgId}/domains/{domainName} (the `GetOrganizationDomain` operationId).
func (*Client) GetOrganizationDomains ¶
func (c *Client) GetOrganizationDomains(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOrganizationDomains Get details for all domains owned by an organization
Corresponds with GET /{realm}/orgs/{orgId}/domains (the `GetOrganizationDomains` operationId).
func (*Client) GetOrganizationInvitationById ¶
func (c *Client) GetOrganizationInvitationById(ctx context.Context, realm string, orgId string, invitationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOrganizationInvitationById Get organization invitation by ID
Get an invitation to an organization by its uuid.
Corresponds with GET /{realm}/orgs/{orgId}/invitations/{invitationId} (the `GetOrganizationInvitationById` operationId).
func (*Client) GetOrganizationInvitationCount ¶
func (c *Client) GetOrganizationInvitationCount(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOrganizationInvitationCount Get organization invitation count
Get a count of invitations to an organization.
Corresponds with GET /{realm}/orgs/{orgId}/invitations/count (the `GetOrganizationInvitationCount` operationId).
func (*Client) GetOrganizationInvitations ¶
func (c *Client) GetOrganizationInvitations(ctx context.Context, realm string, orgId string, params *GetOrganizationInvitationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOrganizationInvitations Get organization invitations
Get a paginated list of invitations to an organization, using an optional search query for email address.
Corresponds with GET /{realm}/orgs/{orgId}/invitations (the `GetOrganizationInvitations` operationId).
func (*Client) GetOrganizationMemberAttributes ¶
func (c *Client) GetOrganizationMemberAttributes(ctx context.Context, realm string, orgId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOrganizationMemberAttributes Get organization member attributes
Get attributes for a specific member of an organization.
Corresponds with GET /{realm}/orgs/{orgId}/members/{userId}/attributes (the `GetOrganizationMemberAttributes` operationId).
func (*Client) GetOrganizationMemberships ¶
func (c *Client) GetOrganizationMemberships(ctx context.Context, realm string, orgId string, params *GetOrganizationMembershipsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOrganizationMemberships Get organization memberships
Get a paginated list of users who are a member of the specified organization.
Corresponds with GET /{realm}/orgs/{orgId}/members (the `GetOrganizationMemberships` operationId).
func (*Client) GetOrganizationMembershipsCount ¶
func (c *Client) GetOrganizationMembershipsCount(ctx context.Context, realm string, orgId string, params *GetOrganizationMembershipsCountParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOrganizationMembershipsCount Get organization members count
Get total number of members of a given organization.
Corresponds with GET /{realm}/orgs/{orgId}/members/count (the `GetOrganizationMembershipsCount` operationId).
func (*Client) GetOrganizationRole ¶
func (c *Client) GetOrganizationRole(ctx context.Context, realm string, orgId string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOrganizationRole Get role for this organization by name
Corresponds with GET /{realm}/orgs/{orgId}/roles/{name} (the `GetOrganizationRole` operationId).
func (*Client) GetOrganizationRoles ¶
func (c *Client) GetOrganizationRoles(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOrganizationRoles Get roles for this organization
Corresponds with GET /{realm}/orgs/{orgId}/roles (the `GetOrganizationRoles` operationId).
func (*Client) GetOrganizationScimConfig ¶
func (c *Client) GetOrganizationScimConfig(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOrganizationScimConfig Get the SCIM configuration for an organization
Returns the SCIM 2.0 service-provider configuration for the organization. Requires `view-organizations` or `view-identity-providers` on the organization. Returns 404 if the realm-level SCIM flag (`scimEnabled` in the orgs config) is off, or if no configuration exists for the organization yet.
Corresponds with GET /{realm}/orgs/{orgId}/scim (the `GetOrganizationScimConfig` operationId).
func (*Client) GetOrganizations ¶
func (c *Client) GetOrganizations(ctx context.Context, realm string, params *GetOrganizationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOrganizations Get organizations
Get a paginated list of organizations using optional search query parameters.
Corresponds with GET /{realm}/orgs (the `GetOrganizations` operationId).
func (*Client) GetOrganizationsCount ¶
func (c *Client) GetOrganizationsCount(ctx context.Context, realm string, params *GetOrganizationsCountParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOrganizationsCount Get organizations count
Get a count of organizations using an optional search query.
Corresponds with GET /{realm}/orgs/count (the `GetOrganizationsCount` operationId).
func (*Client) GetPayloadByKeycloakTypeAndId ¶
func (c *Client) GetPayloadByKeycloakTypeAndId(ctx context.Context, realm string, pType string, kid string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPayloadByKeycloakTypeAndId Get a payload by Keycloak type and id
Corresponds with GET /{realm}/webhooks/payload/{type}/{kid} (the `GetPayloadByKeycloakTypeAndId` operationId).
func (*Client) GetRealmAttributeByKey ¶
func (c *Client) GetRealmAttributeByKey(ctx context.Context, realm string, attributeKey string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRealmAttributeByKey Get realm attribute by key
Corresponds with GET /{realm}/attributes/{attributeKey} (the `GetRealmAttributeByKey` operationId).
func (*Client) GetRealmAttributes ¶
func (c *Client) GetRealmAttributes(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRealmAttributes Get realm attributes
Get a list of attributes for this realm.
Corresponds with GET /{realm}/attributes (the `GetRealmAttributes` operationId).
func (*Client) GetUserOrganizationRoles ¶
func (c *Client) GetUserOrganizationRoles(ctx context.Context, realm string, orgId string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetUserOrganizationRoles Get users with this organization role
Corresponds with GET /{realm}/orgs/{orgId}/roles/{name}/users (the `GetUserOrganizationRoles` operationId).
func (*Client) GetWebhookById ¶
func (c *Client) GetWebhookById(ctx context.Context, realm string, webhookId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWebhookById Get webhook by id
Corresponds with GET /{realm}/webhooks/{webhookId} (the `GetWebhookById` operationId).
func (*Client) GetWebhookSecretById ¶
func (c *Client) GetWebhookSecretById(ctx context.Context, realm string, webhookId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWebhookSecretById Get webhook secret by id
Corresponds with GET /{realm}/webhooks/{webhookId}/secret (the `GetWebhookSecretById` operationId).
func (*Client) GetWebhookSendById ¶
func (c *Client) GetWebhookSendById(ctx context.Context, realm string, webhookId string, sendId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWebhookSendById Get webhook send by id
Corresponds with GET /{realm}/webhooks/{webhookId}/sends/{sendId} (the `GetWebhookSendById` operationId).
func (*Client) GetWebhookSends ¶
func (c *Client) GetWebhookSends(ctx context.Context, realm string, webhookId string, params *GetWebhookSendsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWebhookSends Get webhook sends
Corresponds with GET /{realm}/webhooks/{webhookId}/sends (the `GetWebhookSends` operationId).
func (*Client) GetWebhookSendsByKeycloakTypeAndId ¶
func (c *Client) GetWebhookSendsByKeycloakTypeAndId(ctx context.Context, realm string, pType string, kid string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWebhookSendsByKeycloakTypeAndId Get all webhook sends triggered by a Keycloak event
Corresponds with GET /{realm}/webhooks/sends/{type}/{kid} (the `GetWebhookSendsByKeycloakTypeAndId` operationId).
func (*Client) GetWebhooks ¶
func (c *Client) GetWebhooks(ctx context.Context, realm string, params *GetWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWebhooks Get webhooks
Get a list of webhooks for this realm.
Corresponds with GET /{realm}/webhooks (the `GetWebhooks` operationId).
func (*Client) GetWebhooksCount ¶
func (c *Client) GetWebhooksCount(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWebhooksCount Get webhooks count
Get a count of webhooks.
Corresponds with GET /{realm}/webhooks/count (the `GetWebhooksCount` operationId).
func (*Client) GrantUserOrganizationRole ¶
func (c *Client) GrantUserOrganizationRole(ctx context.Context, realm string, orgId string, name string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GrantUserOrganizationRole Grant a user an organization role
Grant the specified user to the specified organization role.
Corresponds with PUT /{realm}/orgs/{orgId}/roles/{name}/users/{userId} (the `GrantUserOrganizationRole` operationId).
func (*Client) GrantUserRolesInOrganization ¶
func (c *Client) GrantUserRolesInOrganization(ctx context.Context, realm string, userId string, orgId string, body GrantUserRolesInOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GrantUserRolesInOrganization Grant a user organization roles
Takes a body of the `application/json` content type.
Corresponds with PUT /{realm}/users/{userId}/orgs/{orgId}/roles (the `GrantUserRolesInOrganization` operationId).
func (*Client) GrantUserRolesInOrganizationWithBody ¶
func (c *Client) GrantUserRolesInOrganizationWithBody(ctx context.Context, realm string, userId string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GrantUserRolesInOrganizationWithBody Grant a user organization roles
Takes any type of body and a specified content type.
Corresponds with PUT /{realm}/users/{userId}/orgs/{orgId}/roles (the `GrantUserRolesInOrganization` operationId).
func (*Client) ImportIdpJson ¶
func (c *Client) ImportIdpJson(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ImportIdpJson Import identity provider from uploaded JSON file
Corresponds with POST /{realm}/orgs/{orgId}/idps/import-config (the `ImportIdpJson` operationId).
func (*Client) ImportOrganizations ¶
func (c *Client) ImportOrganizations(ctx context.Context, realm string, params *ImportOrganizationsParams, body ImportOrganizationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ImportOrganizations Import organizations
Import organizations and their configurations into this realm.
Takes a body of the `application/json` content type.
Corresponds with POST /{realm}/orgs/import (the `ImportOrganizations` operationId).
func (*Client) ImportOrganizationsWithBody ¶
func (c *Client) ImportOrganizationsWithBody(ctx context.Context, realm string, params *ImportOrganizationsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ImportOrganizationsWithBody Import organizations
Import organizations and their configurations into this realm.
Takes any type of body and a specified content type.
Corresponds with POST /{realm}/orgs/import (the `ImportOrganizations` operationId).
func (*Client) Invitations ¶
func (c *Client) Invitations(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*http.Response, error)
Invitations Get invitations for authenticated user
Get a list of all invitations for the user.
Corresponds with GET /{realm}/orgs/me/invitations (the `Invitations` operationId).
func (*Client) LinkIdp ¶
func (c *Client) LinkIdp(ctx context.Context, realm string, orgId string, body LinkIdpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
LinkIdp Link an existing identity provider to this organization
Takes a body of the `application/json` content type.
Corresponds with POST /{realm}/orgs/{orgId}/idps/link (the `LinkIdp` operationId).
func (*Client) LinkIdpWithBody ¶
func (c *Client) LinkIdpWithBody(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LinkIdpWithBody Link an existing identity provider to this organization
Takes any type of body and a specified content type.
Corresponds with POST /{realm}/orgs/{orgId}/idps/link (the `LinkIdp` operationId).
func (*Client) ListUserOrganizations ¶
func (c *Client) ListUserOrganizations(ctx context.Context, realm string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ListUserOrganizations List organizations for the given user
Corresponds with GET /{realm}/users/{userId}/orgs (the `ListUserOrganizations` operationId).
func (*Client) ListUserRolesInOrganization ¶
func (c *Client) ListUserRolesInOrganization(ctx context.Context, realm string, userId string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ListUserRolesInOrganization List organization roles for the given user and org
Corresponds with GET /{realm}/users/{userId}/orgs/{orgId}/roles (the `ListUserRolesInOrganization` operationId).
func (*Client) RejectInvitation ¶
func (c *Client) RejectInvitation(ctx context.Context, realm string, invitationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
RejectInvitation Reject invitation for authenticated user
Reject invitation for authenticated user.
Corresponds with DELETE /{realm}/orgs/me/invitations/{invitationId} (the `RejectInvitation` operationId).
func (*Client) RemoveOrganizationInvitation ¶
func (c *Client) RemoveOrganizationInvitation(ctx context.Context, realm string, orgId string, invitationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveOrganizationInvitation Remove a pending invitation
Corresponds with DELETE /{realm}/orgs/{orgId}/invitations/{invitationId} (the `RemoveOrganizationInvitation` operationId).
func (*Client) RemoveOrganizationMember ¶
func (c *Client) RemoveOrganizationMember(ctx context.Context, realm string, orgId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveOrganizationMember Remove an organization member
Remove the specified user from the specified organization as a member.
Corresponds with DELETE /{realm}/orgs/{orgId}/members/{userId} (the `RemoveOrganizationMember` operationId).
func (*Client) ResendOrganizationInvitation ¶
func (c *Client) ResendOrganizationInvitation(ctx context.Context, realm string, orgId string, invitationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ResendOrganizationInvitation Resend an Organization Invitation
Resend the email for an existing Organization Invitation.
Corresponds with PUT /{realm}/orgs/{orgId}/invitations/{invitationId}/resend-email (the `ResendOrganizationInvitation` operationId).
func (*Client) ResendWebhookById ¶
func (c *Client) ResendWebhookById(ctx context.Context, realm string, webhookId string, sendId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ResendWebhookById Resend a webhook by send ID
Corresponds with POST /{realm}/webhooks/{webhookId}/sends/{sendId}/resend (the `ResendWebhookById` operationId).
func (*Client) RevokeUserOrganizationRole ¶
func (c *Client) RevokeUserOrganizationRole(ctx context.Context, realm string, orgId string, name string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
RevokeUserOrganizationRole Revoke an organization role from a user
Revoke the specified organization role from the specified user.
Corresponds with DELETE /{realm}/orgs/{orgId}/roles/{name}/users/{userId} (the `RevokeUserOrganizationRole` operationId).
func (*Client) RevokeUserRolesInOrganization ¶
func (c *Client) RevokeUserRolesInOrganization(ctx context.Context, realm string, userId string, orgId string, body RevokeUserRolesInOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RevokeUserRolesInOrganization Revoke organization roles from a user
Takes a body of the `application/json` content type.
Corresponds with PATCH /{realm}/users/{userId}/orgs/{orgId}/roles (the `RevokeUserRolesInOrganization` operationId).
func (*Client) RevokeUserRolesInOrganizationWithBody ¶
func (c *Client) RevokeUserRolesInOrganizationWithBody(ctx context.Context, realm string, userId string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RevokeUserRolesInOrganizationWithBody Revoke organization roles from a user
Takes any type of body and a specified content type.
Corresponds with PATCH /{realm}/users/{userId}/orgs/{orgId}/roles (the `RevokeUserRolesInOrganization` operationId).
func (*Client) SwitchActiveOrganization ¶
func (c *Client) SwitchActiveOrganization(ctx context.Context, realm string, body SwitchActiveOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SwitchActiveOrganization Switch active organization for authenticated user
Switch the active organization context for the authenticated user.
Takes a body of the `application/json` content type.
Corresponds with PUT /{realm}/users/switch-organization (the `SwitchActiveOrganization` operationId).
func (*Client) SwitchActiveOrganizationWithBody ¶
func (c *Client) SwitchActiveOrganizationWithBody(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SwitchActiveOrganizationWithBody Switch active organization for authenticated user
Switch the active organization context for the authenticated user.
Takes any type of body and a specified content type.
Corresponds with PUT /{realm}/users/switch-organization (the `SwitchActiveOrganization` operationId).
func (*Client) UnlinkIdp ¶
func (c *Client) UnlinkIdp(ctx context.Context, realm string, orgId string, alias string, reqEditors ...RequestEditorFn) (*http.Response, error)
UnlinkIdp Unlink an existing and linked identity provider from this organization
Corresponds with POST /{realm}/orgs/{orgId}/idps/{alias}/unlink (the `UnlinkIdp` operationId).
func (*Client) UpdateIdp ¶
func (c *Client) UpdateIdp(ctx context.Context, realm string, orgId string, alias string, body UpdateIdpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateIdp Update identity provider for this organization by alias
Takes a body of the `application/json` content type.
Corresponds with PUT /{realm}/orgs/{orgId}/idps/{alias} (the `UpdateIdp` operationId).
func (*Client) UpdateIdpMapper ¶
func (c *Client) UpdateIdpMapper(ctx context.Context, realm string, orgId string, alias string, id string, body UpdateIdpMapperJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateIdpMapper Update a mapper for the identity provider
Takes a body of the `application/json` content type.
Corresponds with PUT /{realm}/orgs/{orgId}/idps/{alias}/mappers/{id} (the `UpdateIdpMapper` operationId).
func (*Client) UpdateIdpMapperWithBody ¶
func (c *Client) UpdateIdpMapperWithBody(ctx context.Context, realm string, orgId string, alias string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateIdpMapperWithBody Update a mapper for the identity provider
Takes any type of body and a specified content type.
Corresponds with PUT /{realm}/orgs/{orgId}/idps/{alias}/mappers/{id} (the `UpdateIdpMapper` operationId).
func (*Client) UpdateIdpWithBody ¶
func (c *Client) UpdateIdpWithBody(ctx context.Context, realm string, orgId string, alias string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateIdpWithBody Update identity provider for this organization by alias
Takes any type of body and a specified content type.
Corresponds with PUT /{realm}/orgs/{orgId}/idps/{alias} (the `UpdateIdp` operationId).
func (*Client) UpdateOrganization ¶
func (c *Client) UpdateOrganization(ctx context.Context, realm string, orgId string, body UpdateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateOrganization Update this organization by id
Takes a body of the `application/json` content type.
Corresponds with PUT /{realm}/orgs/{orgId} (the `UpdateOrganization` operationId).
func (*Client) UpdateOrganizationConfig ¶
func (c *Client) UpdateOrganizationConfig(ctx context.Context, realm string, body UpdateOrganizationConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateOrganizationConfig Update organization configuration
Update the global organization configuration for this realm.
Takes a body of the `application/json` content type.
Corresponds with PUT /{realm}/orgs/config (the `UpdateOrganizationConfig` operationId).
func (*Client) UpdateOrganizationConfigWithBody ¶
func (c *Client) UpdateOrganizationConfigWithBody(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateOrganizationConfigWithBody Update organization configuration
Update the global organization configuration for this realm.
Takes any type of body and a specified content type.
Corresponds with PUT /{realm}/orgs/config (the `UpdateOrganizationConfig` operationId).
func (*Client) UpdateOrganizationRole ¶
func (c *Client) UpdateOrganizationRole(ctx context.Context, realm string, orgId string, name string, body UpdateOrganizationRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateOrganizationRole Update role for this organization
Takes a body of the `application/json` content type.
Corresponds with PUT /{realm}/orgs/{orgId}/roles/{name} (the `UpdateOrganizationRole` operationId).
func (*Client) UpdateOrganizationRoleWithBody ¶
func (c *Client) UpdateOrganizationRoleWithBody(ctx context.Context, realm string, orgId string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateOrganizationRoleWithBody Update role for this organization
Takes any type of body and a specified content type.
Corresponds with PUT /{realm}/orgs/{orgId}/roles/{name} (the `UpdateOrganizationRole` operationId).
func (*Client) UpdateOrganizationScimConfig ¶
func (c *Client) UpdateOrganizationScimConfig(ctx context.Context, realm string, orgId string, body UpdateOrganizationScimConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateOrganizationScimConfig Update the SCIM configuration for an organization
Updates the SCIM 2.0 service-provider configuration for the organization. Requires `manage-organizations` or `manage-identity-providers` on the organization. Omit secret/password fields on `auth` to preserve the existing stored credential; supply a new value to rotate.
Takes a body of the `application/json` content type.
Corresponds with PUT /{realm}/orgs/{orgId}/scim (the `UpdateOrganizationScimConfig` operationId).
func (*Client) UpdateOrganizationScimConfigWithBody ¶
func (c *Client) UpdateOrganizationScimConfigWithBody(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateOrganizationScimConfigWithBody Update the SCIM configuration for an organization
Updates the SCIM 2.0 service-provider configuration for the organization. Requires `manage-organizations` or `manage-identity-providers` on the organization. Omit secret/password fields on `auth` to preserve the existing stored credential; supply a new value to rotate.
Takes any type of body and a specified content type.
Corresponds with PUT /{realm}/orgs/{orgId}/scim (the `UpdateOrganizationScimConfig` operationId).
func (*Client) UpdateOrganizationWithBody ¶
func (c *Client) UpdateOrganizationWithBody(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateOrganizationWithBody Update this organization by id
Takes any type of body and a specified content type.
Corresponds with PUT /{realm}/orgs/{orgId} (the `UpdateOrganization` operationId).
func (*Client) UpdateRealmAttributeByKey ¶
func (c *Client) UpdateRealmAttributeByKey(ctx context.Context, realm string, attributeKey string, body UpdateRealmAttributeByKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateRealmAttributeByKey Update realm attribute by key
Takes a body of the `application/json` content type.
Corresponds with PUT /{realm}/attributes/{attributeKey} (the `UpdateRealmAttributeByKey` operationId).
func (*Client) UpdateRealmAttributeByKeyWithBody ¶
func (c *Client) UpdateRealmAttributeByKeyWithBody(ctx context.Context, realm string, attributeKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateRealmAttributeByKeyWithBody Update realm attribute by key
Takes any type of body and a specified content type.
Corresponds with PUT /{realm}/attributes/{attributeKey} (the `UpdateRealmAttributeByKey` operationId).
func (*Client) UpdateWebhook ¶
func (c *Client) UpdateWebhook(ctx context.Context, realm string, webhookId string, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateWebhook Update this webhook by id
Takes a body of the `application/json` content type.
Corresponds with PUT /{realm}/webhooks/{webhookId} (the `UpdateWebhook` operationId).
func (*Client) UpdateWebhookWithBody ¶
func (c *Client) UpdateWebhookWithBody(ctx context.Context, realm string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateWebhookWithBody Update this webhook by id
Takes any type of body and a specified content type.
Corresponds with PUT /{realm}/webhooks/{webhookId} (the `UpdateWebhook` operationId).
func (*Client) VerifyDomain ¶
func (c *Client) VerifyDomain(ctx context.Context, realm string, orgId string, domainName string, reqEditors ...RequestEditorFn) (*http.Response, error)
VerifyDomain Start domain verification
Initiate a verification check for the domain name owned by this organization.
Corresponds with POST /{realm}/orgs/{orgId}/domains/{domainName}/verify (the `VerifyDomain` operationId).
type ClientInterface ¶
type ClientInterface interface {
// GetRealmAttributes Get realm attributes
//
// Get a list of attributes for this realm.
//
// Corresponds with GET /{realm}/attributes (the `GetRealmAttributes` operationId).
GetRealmAttributes(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRealmAttributeWithBody Create a new realm attribute
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /{realm}/attributes (the `CreateRealmAttribute` operationId).
CreateRealmAttributeWithBody(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRealmAttribute Create a new realm attribute
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /{realm}/attributes (the `CreateRealmAttribute` operationId).
CreateRealmAttribute(ctx context.Context, realm string, body CreateRealmAttributeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteRealmAttribute Delete the realm attribute
//
// Corresponds with DELETE /{realm}/attributes/{attributeKey} (the `DeleteRealmAttribute` operationId).
DeleteRealmAttribute(ctx context.Context, realm string, attributeKey string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRealmAttributeByKey Get realm attribute by key
//
// Corresponds with GET /{realm}/attributes/{attributeKey} (the `GetRealmAttributeByKey` operationId).
GetRealmAttributeByKey(ctx context.Context, realm string, attributeKey string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateRealmAttributeByKeyWithBody Update realm attribute by key
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /{realm}/attributes/{attributeKey} (the `UpdateRealmAttributeByKey` operationId).
UpdateRealmAttributeByKeyWithBody(ctx context.Context, realm string, attributeKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateRealmAttributeByKey Update realm attribute by key
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /{realm}/attributes/{attributeKey} (the `UpdateRealmAttributeByKey` operationId).
UpdateRealmAttributeByKey(ctx context.Context, realm string, attributeKey string, body UpdateRealmAttributeByKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEventWithBody Create a new audit log event
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /{realm}/events (the `CreateEvent` operationId).
CreateEventWithBody(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEvent Create a new audit log event
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /{realm}/events (the `CreateEvent` operationId).
CreateEvent(ctx context.Context, realm string, body CreateEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMagicLinkWithBody Create a magic link to log in a user
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /{realm}/magic-link (the `CreateMagicLink` operationId).
CreateMagicLinkWithBody(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMagicLink Create a magic link to log in a user
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /{realm}/magic-link (the `CreateMagicLink` operationId).
CreateMagicLink(ctx context.Context, realm string, body CreateMagicLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOrganizations Get organizations
//
// Get a paginated list of organizations using optional search query parameters.
//
// Corresponds with GET /{realm}/orgs (the `GetOrganizations` operationId).
GetOrganizations(ctx context.Context, realm string, params *GetOrganizationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateOrganizationWithBody Create a new organization
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /{realm}/orgs (the `CreateOrganization` operationId).
CreateOrganizationWithBody(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateOrganization Create a new organization
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /{realm}/orgs (the `CreateOrganization` operationId).
CreateOrganization(ctx context.Context, realm string, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOrganizationConfig Get organization configuration
//
// Get the global organization configuration for this realm.
//
// Corresponds with GET /{realm}/orgs/config (the `GetOrganizationConfig` operationId).
GetOrganizationConfig(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateOrganizationConfigWithBody Update organization configuration
//
// Update the global organization configuration for this realm.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /{realm}/orgs/config (the `UpdateOrganizationConfig` operationId).
UpdateOrganizationConfigWithBody(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateOrganizationConfig Update organization configuration
//
// Update the global organization configuration for this realm.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /{realm}/orgs/config (the `UpdateOrganizationConfig` operationId).
UpdateOrganizationConfig(ctx context.Context, realm string, body UpdateOrganizationConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOrganizationsCount Get organizations count
//
// Get a count of organizations using an optional search query.
//
// Corresponds with GET /{realm}/orgs/count (the `GetOrganizationsCount` operationId).
GetOrganizationsCount(ctx context.Context, realm string, params *GetOrganizationsCountParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportOrganizations Export organizations
//
// Export all organizations and their configurations from this realm.
//
// Corresponds with GET /{realm}/orgs/export (the `ExportOrganizations` operationId).
ExportOrganizations(ctx context.Context, realm string, params *ExportOrganizationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ImportOrganizationsWithBody Import organizations
//
// Import organizations and their configurations into this realm.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /{realm}/orgs/import (the `ImportOrganizations` operationId).
ImportOrganizationsWithBody(ctx context.Context, realm string, params *ImportOrganizationsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ImportOrganizations Import organizations
//
// Import organizations and their configurations into this realm.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /{realm}/orgs/import (the `ImportOrganizations` operationId).
ImportOrganizations(ctx context.Context, realm string, params *ImportOrganizationsParams, body ImportOrganizationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMe Get orgs and roles for authenticated user
//
// Get a list of all organizations that the user is a member and their roles in those organizations. Similar idea to /userinfo in OIDC.
//
// Corresponds with GET /{realm}/orgs/me (the `GetMe` operationId).
GetMe(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*http.Response, error)
// Invitations Get invitations for authenticated user
//
// Get a list of all invitations for the user.
//
// Corresponds with GET /{realm}/orgs/me/invitations (the `Invitations` operationId).
Invitations(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RejectInvitation Reject invitation for authenticated user
//
// Reject invitation for authenticated user.
//
// Corresponds with DELETE /{realm}/orgs/me/invitations/{invitationId} (the `RejectInvitation` operationId).
RejectInvitation(ctx context.Context, realm string, invitationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AcceptInvitation Accept invitation for authenticated user
//
// Accept invitation for authenticated user.
//
// Corresponds with POST /{realm}/orgs/me/invitations/{invitationId} (the `AcceptInvitation` operationId).
AcceptInvitation(ctx context.Context, realm string, invitationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteOrganization Delete the organization
//
// Corresponds with DELETE /{realm}/orgs/{orgId} (the `DeleteOrganization` operationId).
DeleteOrganization(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOrganizationById Get organization by id
//
// Corresponds with GET /{realm}/orgs/{orgId} (the `GetOrganizationById` operationId).
GetOrganizationById(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateOrganizationWithBody Update this organization by id
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /{realm}/orgs/{orgId} (the `UpdateOrganization` operationId).
UpdateOrganizationWithBody(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateOrganization Update this organization by id
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /{realm}/orgs/{orgId} (the `UpdateOrganization` operationId).
UpdateOrganization(ctx context.Context, realm string, orgId string, body UpdateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOrganizationDomains Get details for all domains owned by an organization
//
// Corresponds with GET /{realm}/orgs/{orgId}/domains (the `GetOrganizationDomains` operationId).
GetOrganizationDomains(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOrganizationDomain Get details for a domain owned by an organization
//
// Corresponds with GET /{realm}/orgs/{orgId}/domains/{domainName} (the `GetOrganizationDomain` operationId).
GetOrganizationDomain(ctx context.Context, realm string, orgId string, domainName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// VerifyDomain Start domain verification
//
// Initiate a verification check for the domain name owned by this organization.
//
// Corresponds with POST /{realm}/orgs/{orgId}/domains/{domainName}/verify (the `VerifyDomain` operationId).
VerifyDomain(ctx context.Context, realm string, orgId string, domainName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIdps Get identity providers for this organization
//
// Corresponds with GET /{realm}/orgs/{orgId}/idps (the `GetIdps` operationId).
GetIdps(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateIdpWithBody Create a new identity provider for this organization
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /{realm}/orgs/{orgId}/idps (the `CreateIdp` operationId).
CreateIdpWithBody(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateIdp Create a new identity provider for this organization
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /{realm}/orgs/{orgId}/idps (the `CreateIdp` operationId).
CreateIdp(ctx context.Context, realm string, orgId string, body CreateIdpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateIdpInitiatedClientWithBody Create the client for IdP-initiated login through this organization's identity provider
//
// Creates a SAML client that accepts IdP-initiated logins brokered through an identity provider of this organization. Create the client before the identity provider it is paired with.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /{realm}/orgs/{orgId}/idps/clients (the `CreateIdpInitiatedClient` operationId).
CreateIdpInitiatedClientWithBody(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateIdpInitiatedClient Create the client for IdP-initiated login through this organization's identity provider
//
// Creates a SAML client that accepts IdP-initiated logins brokered through an identity provider of this organization. Create the client before the identity provider it is paired with.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /{realm}/orgs/{orgId}/idps/clients (the `CreateIdpInitiatedClient` operationId).
CreateIdpInitiatedClient(ctx context.Context, realm string, orgId string, body CreateIdpInitiatedClientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ImportIdpJson Import identity provider from uploaded JSON file
//
// Corresponds with POST /{realm}/orgs/{orgId}/idps/import-config (the `ImportIdpJson` operationId).
ImportIdpJson(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LinkIdpWithBody Link an existing identity provider to this organization
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /{realm}/orgs/{orgId}/idps/link (the `LinkIdp` operationId).
LinkIdpWithBody(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// LinkIdp Link an existing identity provider to this organization
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /{realm}/orgs/{orgId}/idps/link (the `LinkIdp` operationId).
LinkIdp(ctx context.Context, realm string, orgId string, body LinkIdpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteIdp Delete the identity provider
//
// Corresponds with DELETE /{realm}/orgs/{orgId}/idps/{alias} (the `DeleteIdp` operationId).
DeleteIdp(ctx context.Context, realm string, orgId string, alias string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIdp Get identity provider for this organization by alias
//
// Corresponds with GET /{realm}/orgs/{orgId}/idps/{alias} (the `GetIdp` operationId).
GetIdp(ctx context.Context, realm string, orgId string, alias string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateIdpWithBody Update identity provider for this organization by alias
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /{realm}/orgs/{orgId}/idps/{alias} (the `UpdateIdp` operationId).
UpdateIdpWithBody(ctx context.Context, realm string, orgId string, alias string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateIdp Update identity provider for this organization by alias
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /{realm}/orgs/{orgId}/idps/{alias} (the `UpdateIdp` operationId).
UpdateIdp(ctx context.Context, realm string, orgId string, alias string, body UpdateIdpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIdpMappers Get mappers for identity provider
//
// Corresponds with GET /{realm}/orgs/{orgId}/idps/{alias}/mappers (the `GetIdpMappers` operationId).
GetIdpMappers(ctx context.Context, realm string, orgId string, alias string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddIdpMapperWithBody Add a mapper to identity provider
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /{realm}/orgs/{orgId}/idps/{alias}/mappers (the `AddIdpMapper` operationId).
AddIdpMapperWithBody(ctx context.Context, realm string, orgId string, alias string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddIdpMapper Add a mapper to identity provider
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /{realm}/orgs/{orgId}/idps/{alias}/mappers (the `AddIdpMapper` operationId).
AddIdpMapper(ctx context.Context, realm string, orgId string, alias string, body AddIdpMapperJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteIdpMapper Delete a mapper for the identity provider
//
// Corresponds with DELETE /{realm}/orgs/{orgId}/idps/{alias}/mappers/{id} (the `DeleteIdpMapper` operationId).
DeleteIdpMapper(ctx context.Context, realm string, orgId string, alias string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIdpMapper Get mapper by id for the identity provider
//
// Corresponds with GET /{realm}/orgs/{orgId}/idps/{alias}/mappers/{id} (the `GetIdpMapper` operationId).
GetIdpMapper(ctx context.Context, realm string, orgId string, alias string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateIdpMapperWithBody Update a mapper for the identity provider
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /{realm}/orgs/{orgId}/idps/{alias}/mappers/{id} (the `UpdateIdpMapper` operationId).
UpdateIdpMapperWithBody(ctx context.Context, realm string, orgId string, alias string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateIdpMapper Update a mapper for the identity provider
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /{realm}/orgs/{orgId}/idps/{alias}/mappers/{id} (the `UpdateIdpMapper` operationId).
UpdateIdpMapper(ctx context.Context, realm string, orgId string, alias string, id string, body UpdateIdpMapperJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnlinkIdp Unlink an existing and linked identity provider from this organization
//
// Corresponds with POST /{realm}/orgs/{orgId}/idps/{alias}/unlink (the `UnlinkIdp` operationId).
UnlinkIdp(ctx context.Context, realm string, orgId string, alias string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOrganizationInvitations Get organization invitations
//
// Get a paginated list of invitations to an organization, using an optional search query for email address.
//
// Corresponds with GET /{realm}/orgs/{orgId}/invitations (the `GetOrganizationInvitations` operationId).
GetOrganizationInvitations(ctx context.Context, realm string, orgId string, params *GetOrganizationInvitationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddOrganizationInvitationWithBody Create an invitation to an organization
//
// Create an invitation to join the specified organization. Requires a user to register with the application (if they don't already have an account) before they can accept the invitation. Acceptance happens during login via a required action.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /{realm}/orgs/{orgId}/invitations (the `AddOrganizationInvitation` operationId).
AddOrganizationInvitationWithBody(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddOrganizationInvitation Create an invitation to an organization
//
// Create an invitation to join the specified organization. Requires a user to register with the application (if they don't already have an account) before they can accept the invitation. Acceptance happens during login via a required action.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /{realm}/orgs/{orgId}/invitations (the `AddOrganizationInvitation` operationId).
AddOrganizationInvitation(ctx context.Context, realm string, orgId string, body AddOrganizationInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOrganizationInvitationCount Get organization invitation count
//
// Get a count of invitations to an organization.
//
// Corresponds with GET /{realm}/orgs/{orgId}/invitations/count (the `GetOrganizationInvitationCount` operationId).
GetOrganizationInvitationCount(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveOrganizationInvitation Remove a pending invitation
//
// Corresponds with DELETE /{realm}/orgs/{orgId}/invitations/{invitationId} (the `RemoveOrganizationInvitation` operationId).
RemoveOrganizationInvitation(ctx context.Context, realm string, orgId string, invitationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOrganizationInvitationById Get organization invitation by ID
//
// Get an invitation to an organization by its uuid.
//
// Corresponds with GET /{realm}/orgs/{orgId}/invitations/{invitationId} (the `GetOrganizationInvitationById` operationId).
GetOrganizationInvitationById(ctx context.Context, realm string, orgId string, invitationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResendOrganizationInvitation Resend an Organization Invitation
//
// Resend the email for an existing Organization Invitation.
//
// Corresponds with PUT /{realm}/orgs/{orgId}/invitations/{invitationId}/resend-email (the `ResendOrganizationInvitation` operationId).
ResendOrganizationInvitation(ctx context.Context, realm string, orgId string, invitationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOrganizationMemberships Get organization memberships
//
// Get a paginated list of users who are a member of the specified organization.
//
// Corresponds with GET /{realm}/orgs/{orgId}/members (the `GetOrganizationMemberships` operationId).
GetOrganizationMemberships(ctx context.Context, realm string, orgId string, params *GetOrganizationMembershipsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOrganizationMembershipsCount Get organization members count
//
// Get total number of members of a given organization.
//
// Corresponds with GET /{realm}/orgs/{orgId}/members/count (the `GetOrganizationMembershipsCount` operationId).
GetOrganizationMembershipsCount(ctx context.Context, realm string, orgId string, params *GetOrganizationMembershipsCountParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveOrganizationMember Remove an organization member
//
// Remove the specified user from the specified organization as a member.
//
// Corresponds with DELETE /{realm}/orgs/{orgId}/members/{userId} (the `RemoveOrganizationMember` operationId).
RemoveOrganizationMember(ctx context.Context, realm string, orgId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CheckOrganizationMembership Check if a user is a member of an organization
//
// Corresponds with GET /{realm}/orgs/{orgId}/members/{userId} (the `CheckOrganizationMembership` operationId).
CheckOrganizationMembership(ctx context.Context, realm string, orgId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddOrganizationMember Add an organization member
//
// Add the specified user to the specified organization as a member.
//
// Corresponds with PUT /{realm}/orgs/{orgId}/members/{userId} (the `AddOrganizationMember` operationId).
AddOrganizationMember(ctx context.Context, realm string, orgId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOrganizationMemberAttributes Get organization member attributes
//
// Get attributes for a specific member of an organization.
//
// Corresponds with GET /{realm}/orgs/{orgId}/members/{userId}/attributes (the `GetOrganizationMemberAttributes` operationId).
GetOrganizationMemberAttributes(ctx context.Context, realm string, orgId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddOrganizationMemberAttributesWithBody Add/update organization member attributes
//
// Add or update attributes for a specific member of an organization.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /{realm}/orgs/{orgId}/members/{userId}/attributes (the `AddOrganizationMemberAttributes` operationId).
AddOrganizationMemberAttributesWithBody(ctx context.Context, realm string, orgId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddOrganizationMemberAttributes Add/update organization member attributes
//
// Add or update attributes for a specific member of an organization.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /{realm}/orgs/{orgId}/members/{userId}/attributes (the `AddOrganizationMemberAttributes` operationId).
AddOrganizationMemberAttributes(ctx context.Context, realm string, orgId string, userId string, body AddOrganizationMemberAttributesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePortalLinkWithBody Create a link for the organization's IdP Wizard
//
// Create a link for this organization's IdP Wizard. This link encodes an action token on behalf of the organization's default admin user, or the user that is optionally specified in this request. The user specified must be a member of this organization, and have full organization admin roles.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /{realm}/orgs/{orgId}/portal-link (the `CreatePortalLink` operationId).
CreatePortalLinkWithBody(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePortalLinkWithFormdataBody Create a link for the organization's IdP Wizard
//
// Create a link for this organization's IdP Wizard. This link encodes an action token on behalf of the organization's default admin user, or the user that is optionally specified in this request. The user specified must be a member of this organization, and have full organization admin roles.
//
// Takes a body of the `application/x-www-form-urlencoded` content type.
//
// Corresponds with POST /{realm}/orgs/{orgId}/portal-link (the `CreatePortalLink` operationId).
CreatePortalLinkWithFormdataBody(ctx context.Context, realm string, orgId string, body CreatePortalLinkFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOrganizationRoles Get roles for this organization
//
// Corresponds with GET /{realm}/orgs/{orgId}/roles (the `GetOrganizationRoles` operationId).
GetOrganizationRoles(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteOrganizationRolesWithBody Delete this organization roles
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /{realm}/orgs/{orgId}/roles (the `DeleteOrganizationRoles` operationId).
DeleteOrganizationRolesWithBody(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteOrganizationRoles Delete this organization roles
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /{realm}/orgs/{orgId}/roles (the `DeleteOrganizationRoles` operationId).
DeleteOrganizationRoles(ctx context.Context, realm string, orgId string, body DeleteOrganizationRolesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateOrganizationRoleWithBody Create a new role for this organization
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /{realm}/orgs/{orgId}/roles (the `CreateOrganizationRole` operationId).
CreateOrganizationRoleWithBody(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateOrganizationRole Create a new role for this organization
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /{realm}/orgs/{orgId}/roles (the `CreateOrganizationRole` operationId).
CreateOrganizationRole(ctx context.Context, realm string, orgId string, body CreateOrganizationRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateOrganizationRolesWithBody Create new roles for this organization
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /{realm}/orgs/{orgId}/roles (the `CreateOrganizationRoles` operationId).
CreateOrganizationRolesWithBody(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateOrganizationRoles Create new roles for this organization
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /{realm}/orgs/{orgId}/roles (the `CreateOrganizationRoles` operationId).
CreateOrganizationRoles(ctx context.Context, realm string, orgId string, body CreateOrganizationRolesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteOrganizationRole Delete this organization role
//
// Corresponds with DELETE /{realm}/orgs/{orgId}/roles/{name} (the `DeleteOrganizationRole` operationId).
DeleteOrganizationRole(ctx context.Context, realm string, orgId string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOrganizationRole Get role for this organization by name
//
// Corresponds with GET /{realm}/orgs/{orgId}/roles/{name} (the `GetOrganizationRole` operationId).
GetOrganizationRole(ctx context.Context, realm string, orgId string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateOrganizationRoleWithBody Update role for this organization
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /{realm}/orgs/{orgId}/roles/{name} (the `UpdateOrganizationRole` operationId).
UpdateOrganizationRoleWithBody(ctx context.Context, realm string, orgId string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateOrganizationRole Update role for this organization
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /{realm}/orgs/{orgId}/roles/{name} (the `UpdateOrganizationRole` operationId).
UpdateOrganizationRole(ctx context.Context, realm string, orgId string, name string, body UpdateOrganizationRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUserOrganizationRoles Get users with this organization role
//
// Corresponds with GET /{realm}/orgs/{orgId}/roles/{name}/users (the `GetUserOrganizationRoles` operationId).
GetUserOrganizationRoles(ctx context.Context, realm string, orgId string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokeUserOrganizationRole Revoke an organization role from a user
//
// Revoke the specified organization role from the specified user.
//
// Corresponds with DELETE /{realm}/orgs/{orgId}/roles/{name}/users/{userId} (the `RevokeUserOrganizationRole` operationId).
RevokeUserOrganizationRole(ctx context.Context, realm string, orgId string, name string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CheckUserOrganizationRole Check if a user has an organization role
//
// Corresponds with GET /{realm}/orgs/{orgId}/roles/{name}/users/{userId} (the `CheckUserOrganizationRole` operationId).
CheckUserOrganizationRole(ctx context.Context, realm string, orgId string, name string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GrantUserOrganizationRole Grant a user an organization role
//
// Grant the specified user to the specified organization role.
//
// Corresponds with PUT /{realm}/orgs/{orgId}/roles/{name}/users/{userId} (the `GrantUserOrganizationRole` operationId).
GrantUserOrganizationRole(ctx context.Context, realm string, orgId string, name string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteOrganizationScimConfig Delete the SCIM configuration for an organization
//
// Removes the SCIM 2.0 service-provider configuration for the
// organization. Requires `manage-organizations` or
// `manage-identity-providers` on the organization.
//
// Corresponds with DELETE /{realm}/orgs/{orgId}/scim (the `DeleteOrganizationScimConfig` operationId).
DeleteOrganizationScimConfig(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOrganizationScimConfig Get the SCIM configuration for an organization
//
// Returns the SCIM 2.0 service-provider configuration for the
// organization. Requires `view-organizations` or
// `view-identity-providers` on the organization. Returns 404 if
// the realm-level SCIM flag (`scimEnabled` in the orgs config) is
// off, or if no configuration exists for the organization yet.
//
// Corresponds with GET /{realm}/orgs/{orgId}/scim (the `GetOrganizationScimConfig` operationId).
GetOrganizationScimConfig(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateOrganizationScimConfigWithBody Create the SCIM configuration for an organization
//
// Creates the SCIM 2.0 service-provider configuration for the
// organization. Requires `manage-organizations` or
// `manage-identity-providers` on the organization. Returns 404 if
// the realm-level SCIM flag is off, and 409 if a configuration
// already exists for the organization. Cleartext secrets and basic
// passwords submitted here are hashed with Argon2id before
// persistence.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /{realm}/orgs/{orgId}/scim (the `CreateOrganizationScimConfig` operationId).
CreateOrganizationScimConfigWithBody(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateOrganizationScimConfig Create the SCIM configuration for an organization
//
// Creates the SCIM 2.0 service-provider configuration for the
// organization. Requires `manage-organizations` or
// `manage-identity-providers` on the organization. Returns 404 if
// the realm-level SCIM flag is off, and 409 if a configuration
// already exists for the organization. Cleartext secrets and basic
// passwords submitted here are hashed with Argon2id before
// persistence.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /{realm}/orgs/{orgId}/scim (the `CreateOrganizationScimConfig` operationId).
CreateOrganizationScimConfig(ctx context.Context, realm string, orgId string, body CreateOrganizationScimConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateOrganizationScimConfigWithBody Update the SCIM configuration for an organization
//
// Updates the SCIM 2.0 service-provider configuration for the
// organization. Requires `manage-organizations` or
// `manage-identity-providers` on the organization. Omit
// secret/password fields on `auth` to preserve the existing stored
// credential; supply a new value to rotate.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /{realm}/orgs/{orgId}/scim (the `UpdateOrganizationScimConfig` operationId).
UpdateOrganizationScimConfigWithBody(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateOrganizationScimConfig Update the SCIM configuration for an organization
//
// Updates the SCIM 2.0 service-provider configuration for the
// organization. Requires `manage-organizations` or
// `manage-identity-providers` on the organization. Omit
// secret/password fields on `auth` to preserve the existing stored
// credential; supply a new value to rotate.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /{realm}/orgs/{orgId}/scim (the `UpdateOrganizationScimConfig` operationId).
UpdateOrganizationScimConfig(ctx context.Context, realm string, orgId string, body UpdateOrganizationScimConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetActiveOrganization Get active organization for authenticated user
//
// Get the currently active organization for the authenticated user.
//
// Corresponds with GET /{realm}/users/active-organization (the `GetActiveOrganization` operationId).
GetActiveOrganization(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SwitchActiveOrganizationWithBody Switch active organization for authenticated user
//
// Switch the active organization context for the authenticated user.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /{realm}/users/switch-organization (the `SwitchActiveOrganization` operationId).
SwitchActiveOrganizationWithBody(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SwitchActiveOrganization Switch active organization for authenticated user
//
// Switch the active organization context for the authenticated user.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /{realm}/users/switch-organization (the `SwitchActiveOrganization` operationId).
SwitchActiveOrganization(ctx context.Context, realm string, body SwitchActiveOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListUserOrganizations List organizations for the given user
//
// Corresponds with GET /{realm}/users/{userId}/orgs (the `ListUserOrganizations` operationId).
ListUserOrganizations(ctx context.Context, realm string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListUserRolesInOrganization List organization roles for the given user and org
//
// Corresponds with GET /{realm}/users/{userId}/orgs/{orgId}/roles (the `ListUserRolesInOrganization` operationId).
ListUserRolesInOrganization(ctx context.Context, realm string, userId string, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokeUserRolesInOrganizationWithBody Revoke organization roles from a user
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /{realm}/users/{userId}/orgs/{orgId}/roles (the `RevokeUserRolesInOrganization` operationId).
RevokeUserRolesInOrganizationWithBody(ctx context.Context, realm string, userId string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokeUserRolesInOrganization Revoke organization roles from a user
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /{realm}/users/{userId}/orgs/{orgId}/roles (the `RevokeUserRolesInOrganization` operationId).
RevokeUserRolesInOrganization(ctx context.Context, realm string, userId string, orgId string, body RevokeUserRolesInOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GrantUserRolesInOrganizationWithBody Grant a user organization roles
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /{realm}/users/{userId}/orgs/{orgId}/roles (the `GrantUserRolesInOrganization` operationId).
GrantUserRolesInOrganizationWithBody(ctx context.Context, realm string, userId string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GrantUserRolesInOrganization Grant a user organization roles
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /{realm}/users/{userId}/orgs/{orgId}/roles (the `GrantUserRolesInOrganization` operationId).
GrantUserRolesInOrganization(ctx context.Context, realm string, userId string, orgId string, body GrantUserRolesInOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWebhooks Get webhooks
//
// Get a list of webhooks for this realm.
//
// Corresponds with GET /{realm}/webhooks (the `GetWebhooks` operationId).
GetWebhooks(ctx context.Context, realm string, params *GetWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWebhookWithBody Create a new webhook
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /{realm}/webhooks (the `CreateWebhook` operationId).
CreateWebhookWithBody(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWebhook Create a new webhook
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /{realm}/webhooks (the `CreateWebhook` operationId).
CreateWebhook(ctx context.Context, realm string, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWebhooksCount Get webhooks count
//
// Get a count of webhooks.
//
// Corresponds with GET /{realm}/webhooks/count (the `GetWebhooksCount` operationId).
GetWebhooksCount(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPayloadByKeycloakTypeAndId Get a payload by Keycloak type and id
//
// Corresponds with GET /{realm}/webhooks/payload/{type}/{kid} (the `GetPayloadByKeycloakTypeAndId` operationId).
GetPayloadByKeycloakTypeAndId(ctx context.Context, realm string, pType string, kid string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWebhookSendsByKeycloakTypeAndId Get all webhook sends triggered by a Keycloak event
//
// Corresponds with GET /{realm}/webhooks/sends/{type}/{kid} (the `GetWebhookSendsByKeycloakTypeAndId` operationId).
GetWebhookSendsByKeycloakTypeAndId(ctx context.Context, realm string, pType string, kid string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteWebhook Delete the webhook
//
// Corresponds with DELETE /{realm}/webhooks/{webhookId} (the `DeleteWebhook` operationId).
DeleteWebhook(ctx context.Context, realm string, webhookId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWebhookById Get webhook by id
//
// Corresponds with GET /{realm}/webhooks/{webhookId} (the `GetWebhookById` operationId).
GetWebhookById(ctx context.Context, realm string, webhookId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWebhookWithBody Update this webhook by id
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /{realm}/webhooks/{webhookId} (the `UpdateWebhook` operationId).
UpdateWebhookWithBody(ctx context.Context, realm string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWebhook Update this webhook by id
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /{realm}/webhooks/{webhookId} (the `UpdateWebhook` operationId).
UpdateWebhook(ctx context.Context, realm string, webhookId string, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWebhookSecretById Get webhook secret by id
//
// Corresponds with GET /{realm}/webhooks/{webhookId}/secret (the `GetWebhookSecretById` operationId).
GetWebhookSecretById(ctx context.Context, realm string, webhookId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWebhookSends Get webhook sends
//
// Corresponds with GET /{realm}/webhooks/{webhookId}/sends (the `GetWebhookSends` operationId).
GetWebhookSends(ctx context.Context, realm string, webhookId string, params *GetWebhookSendsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWebhookSendById Get webhook send by id
//
// Corresponds with GET /{realm}/webhooks/{webhookId}/sends/{sendId} (the `GetWebhookSendById` operationId).
GetWebhookSendById(ctx context.Context, realm string, webhookId string, sendId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResendWebhookById Resend a webhook by send ID
//
// Corresponds with POST /{realm}/webhooks/{webhookId}/sends/{sendId}/resend (the `ResendWebhookById` operationId).
ResendWebhookById(ctx context.Context, realm string, webhookId string, sendId string, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) AcceptInvitationWithResponse ¶
func (c *ClientWithResponses) AcceptInvitationWithResponse(ctx context.Context, realm string, invitationId string, reqEditors ...RequestEditorFn) (*AcceptInvitationResponse, error)
AcceptInvitationWithResponse Accept invitation for authenticated user
Accept invitation for authenticated user.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs/me/invitations/{invitationId} (the `AcceptInvitation` operationId).
func (*ClientWithResponses) AddIdpMapperWithBodyWithResponse ¶
func (c *ClientWithResponses) AddIdpMapperWithBodyWithResponse(ctx context.Context, realm string, orgId string, alias string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddIdpMapperResponse, error)
AddIdpMapperWithBodyWithResponse Add a mapper to identity provider
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs/{orgId}/idps/{alias}/mappers (the `AddIdpMapper` operationId).
func (*ClientWithResponses) AddIdpMapperWithResponse ¶
func (c *ClientWithResponses) AddIdpMapperWithResponse(ctx context.Context, realm string, orgId string, alias string, body AddIdpMapperJSONRequestBody, reqEditors ...RequestEditorFn) (*AddIdpMapperResponse, error)
AddIdpMapperWithResponse Add a mapper to identity provider
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs/{orgId}/idps/{alias}/mappers (the `AddIdpMapper` operationId).
func (*ClientWithResponses) AddOrganizationInvitationWithBodyWithResponse ¶
func (c *ClientWithResponses) AddOrganizationInvitationWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddOrganizationInvitationResponse, error)
AddOrganizationInvitationWithBodyWithResponse Create an invitation to an organization
Create an invitation to join the specified organization. Requires a user to register with the application (if they don't already have an account) before they can accept the invitation. Acceptance happens during login via a required action.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs/{orgId}/invitations (the `AddOrganizationInvitation` operationId).
func (*ClientWithResponses) AddOrganizationInvitationWithResponse ¶
func (c *ClientWithResponses) AddOrganizationInvitationWithResponse(ctx context.Context, realm string, orgId string, body AddOrganizationInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*AddOrganizationInvitationResponse, error)
AddOrganizationInvitationWithResponse Create an invitation to an organization
Create an invitation to join the specified organization. Requires a user to register with the application (if they don't already have an account) before they can accept the invitation. Acceptance happens during login via a required action.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs/{orgId}/invitations (the `AddOrganizationInvitation` operationId).
func (*ClientWithResponses) AddOrganizationMemberAttributesWithBodyWithResponse ¶
func (c *ClientWithResponses) AddOrganizationMemberAttributesWithBodyWithResponse(ctx context.Context, realm string, orgId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddOrganizationMemberAttributesResponse, error)
AddOrganizationMemberAttributesWithBodyWithResponse Add/update organization member attributes
Add or update attributes for a specific member of an organization.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/orgs/{orgId}/members/{userId}/attributes (the `AddOrganizationMemberAttributes` operationId).
func (*ClientWithResponses) AddOrganizationMemberAttributesWithResponse ¶
func (c *ClientWithResponses) AddOrganizationMemberAttributesWithResponse(ctx context.Context, realm string, orgId string, userId string, body AddOrganizationMemberAttributesJSONRequestBody, reqEditors ...RequestEditorFn) (*AddOrganizationMemberAttributesResponse, error)
AddOrganizationMemberAttributesWithResponse Add/update organization member attributes
Add or update attributes for a specific member of an organization.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/orgs/{orgId}/members/{userId}/attributes (the `AddOrganizationMemberAttributes` operationId).
func (*ClientWithResponses) AddOrganizationMemberWithResponse ¶
func (c *ClientWithResponses) AddOrganizationMemberWithResponse(ctx context.Context, realm string, orgId string, userId string, reqEditors ...RequestEditorFn) (*AddOrganizationMemberResponse, error)
AddOrganizationMemberWithResponse Add an organization member
Add the specified user to the specified organization as a member.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/orgs/{orgId}/members/{userId} (the `AddOrganizationMember` operationId).
func (*ClientWithResponses) CheckOrganizationMembershipWithResponse ¶
func (c *ClientWithResponses) CheckOrganizationMembershipWithResponse(ctx context.Context, realm string, orgId string, userId string, reqEditors ...RequestEditorFn) (*CheckOrganizationMembershipResponse, error)
CheckOrganizationMembershipWithResponse Check if a user is a member of an organization
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/{orgId}/members/{userId} (the `CheckOrganizationMembership` operationId).
func (*ClientWithResponses) CheckUserOrganizationRoleWithResponse ¶
func (c *ClientWithResponses) CheckUserOrganizationRoleWithResponse(ctx context.Context, realm string, orgId string, name string, userId string, reqEditors ...RequestEditorFn) (*CheckUserOrganizationRoleResponse, error)
CheckUserOrganizationRoleWithResponse Check if a user has an organization role
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/{orgId}/roles/{name}/users/{userId} (the `CheckUserOrganizationRole` operationId).
func (*ClientWithResponses) CreateEventWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateEventWithBodyWithResponse(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEventResponse, error)
CreateEventWithBodyWithResponse Create a new audit log event
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/events (the `CreateEvent` operationId).
func (*ClientWithResponses) CreateEventWithResponse ¶
func (c *ClientWithResponses) CreateEventWithResponse(ctx context.Context, realm string, body CreateEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEventResponse, error)
CreateEventWithResponse Create a new audit log event
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/events (the `CreateEvent` operationId).
func (*ClientWithResponses) CreateIdpInitiatedClientWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateIdpInitiatedClientWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIdpInitiatedClientResponse, error)
CreateIdpInitiatedClientWithBodyWithResponse Create the client for IdP-initiated login through this organization's identity provider
Creates a SAML client that accepts IdP-initiated logins brokered through an identity provider of this organization. Create the client before the identity provider it is paired with.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs/{orgId}/idps/clients (the `CreateIdpInitiatedClient` operationId).
func (*ClientWithResponses) CreateIdpInitiatedClientWithResponse ¶
func (c *ClientWithResponses) CreateIdpInitiatedClientWithResponse(ctx context.Context, realm string, orgId string, body CreateIdpInitiatedClientJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIdpInitiatedClientResponse, error)
CreateIdpInitiatedClientWithResponse Create the client for IdP-initiated login through this organization's identity provider
Creates a SAML client that accepts IdP-initiated logins brokered through an identity provider of this organization. Create the client before the identity provider it is paired with.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs/{orgId}/idps/clients (the `CreateIdpInitiatedClient` operationId).
func (*ClientWithResponses) CreateIdpWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateIdpWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIdpResponse, error)
CreateIdpWithBodyWithResponse Create a new identity provider for this organization
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs/{orgId}/idps (the `CreateIdp` operationId).
func (*ClientWithResponses) CreateIdpWithResponse ¶
func (c *ClientWithResponses) CreateIdpWithResponse(ctx context.Context, realm string, orgId string, body CreateIdpJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIdpResponse, error)
CreateIdpWithResponse Create a new identity provider for this organization
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs/{orgId}/idps (the `CreateIdp` operationId).
func (*ClientWithResponses) CreateMagicLinkWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateMagicLinkWithBodyWithResponse(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMagicLinkResponse, error)
CreateMagicLinkWithBodyWithResponse Create a magic link to log in a user
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/magic-link (the `CreateMagicLink` operationId).
func (*ClientWithResponses) CreateMagicLinkWithResponse ¶
func (c *ClientWithResponses) CreateMagicLinkWithResponse(ctx context.Context, realm string, body CreateMagicLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMagicLinkResponse, error)
CreateMagicLinkWithResponse Create a magic link to log in a user
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/magic-link (the `CreateMagicLink` operationId).
func (*ClientWithResponses) CreateOrganizationRoleWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateOrganizationRoleWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationRoleResponse, error)
CreateOrganizationRoleWithBodyWithResponse Create a new role for this organization
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs/{orgId}/roles (the `CreateOrganizationRole` operationId).
func (*ClientWithResponses) CreateOrganizationRoleWithResponse ¶
func (c *ClientWithResponses) CreateOrganizationRoleWithResponse(ctx context.Context, realm string, orgId string, body CreateOrganizationRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationRoleResponse, error)
CreateOrganizationRoleWithResponse Create a new role for this organization
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs/{orgId}/roles (the `CreateOrganizationRole` operationId).
func (*ClientWithResponses) CreateOrganizationRolesWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateOrganizationRolesWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationRolesResponse, error)
CreateOrganizationRolesWithBodyWithResponse Create new roles for this organization
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/orgs/{orgId}/roles (the `CreateOrganizationRoles` operationId).
func (*ClientWithResponses) CreateOrganizationRolesWithResponse ¶
func (c *ClientWithResponses) CreateOrganizationRolesWithResponse(ctx context.Context, realm string, orgId string, body CreateOrganizationRolesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationRolesResponse, error)
CreateOrganizationRolesWithResponse Create new roles for this organization
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/orgs/{orgId}/roles (the `CreateOrganizationRoles` operationId).
func (*ClientWithResponses) CreateOrganizationScimConfigWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateOrganizationScimConfigWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationScimConfigResponse, error)
CreateOrganizationScimConfigWithBodyWithResponse Create the SCIM configuration for an organization
Creates the SCIM 2.0 service-provider configuration for the organization. Requires `manage-organizations` or `manage-identity-providers` on the organization. Returns 404 if the realm-level SCIM flag is off, and 409 if a configuration already exists for the organization. Cleartext secrets and basic passwords submitted here are hashed with Argon2id before persistence.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs/{orgId}/scim (the `CreateOrganizationScimConfig` operationId).
func (*ClientWithResponses) CreateOrganizationScimConfigWithResponse ¶
func (c *ClientWithResponses) CreateOrganizationScimConfigWithResponse(ctx context.Context, realm string, orgId string, body CreateOrganizationScimConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationScimConfigResponse, error)
CreateOrganizationScimConfigWithResponse Create the SCIM configuration for an organization
Creates the SCIM 2.0 service-provider configuration for the organization. Requires `manage-organizations` or `manage-identity-providers` on the organization. Returns 404 if the realm-level SCIM flag is off, and 409 if a configuration already exists for the organization. Cleartext secrets and basic passwords submitted here are hashed with Argon2id before persistence.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs/{orgId}/scim (the `CreateOrganizationScimConfig` operationId).
func (*ClientWithResponses) CreateOrganizationWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateOrganizationWithBodyWithResponse(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)
CreateOrganizationWithBodyWithResponse Create a new organization
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs (the `CreateOrganization` operationId).
func (*ClientWithResponses) CreateOrganizationWithResponse ¶
func (c *ClientWithResponses) CreateOrganizationWithResponse(ctx context.Context, realm string, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)
CreateOrganizationWithResponse Create a new organization
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs (the `CreateOrganization` operationId).
func (*ClientWithResponses) CreatePortalLinkWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePortalLinkWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePortalLinkResponse, error)
CreatePortalLinkWithBodyWithResponse Create a link for the organization's IdP Wizard
Create a link for this organization's IdP Wizard. This link encodes an action token on behalf of the organization's default admin user, or the user that is optionally specified in this request. The user specified must be a member of this organization, and have full organization admin roles.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs/{orgId}/portal-link (the `CreatePortalLink` operationId).
func (*ClientWithResponses) CreatePortalLinkWithFormdataBodyWithResponse ¶
func (c *ClientWithResponses) CreatePortalLinkWithFormdataBodyWithResponse(ctx context.Context, realm string, orgId string, body CreatePortalLinkFormdataRequestBody, reqEditors ...RequestEditorFn) (*CreatePortalLinkResponse, error)
CreatePortalLinkWithFormdataBodyWithResponse Create a link for the organization's IdP Wizard
Create a link for this organization's IdP Wizard. This link encodes an action token on behalf of the organization's default admin user, or the user that is optionally specified in this request. The user specified must be a member of this organization, and have full organization admin roles.
Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs/{orgId}/portal-link (the `CreatePortalLink` operationId).
func (*ClientWithResponses) CreateRealmAttributeWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateRealmAttributeWithBodyWithResponse(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRealmAttributeResponse, error)
CreateRealmAttributeWithBodyWithResponse Create a new realm attribute
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/attributes (the `CreateRealmAttribute` operationId).
func (*ClientWithResponses) CreateRealmAttributeWithResponse ¶
func (c *ClientWithResponses) CreateRealmAttributeWithResponse(ctx context.Context, realm string, body CreateRealmAttributeJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRealmAttributeResponse, error)
CreateRealmAttributeWithResponse Create a new realm attribute
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/attributes (the `CreateRealmAttribute` operationId).
func (*ClientWithResponses) CreateWebhookWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateWebhookWithBodyWithResponse(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)
CreateWebhookWithBodyWithResponse Create a new webhook
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/webhooks (the `CreateWebhook` operationId).
func (*ClientWithResponses) CreateWebhookWithResponse ¶
func (c *ClientWithResponses) CreateWebhookWithResponse(ctx context.Context, realm string, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)
CreateWebhookWithResponse Create a new webhook
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/webhooks (the `CreateWebhook` operationId).
func (*ClientWithResponses) DeleteIdpMapperWithResponse ¶
func (c *ClientWithResponses) DeleteIdpMapperWithResponse(ctx context.Context, realm string, orgId string, alias string, id string, reqEditors ...RequestEditorFn) (*DeleteIdpMapperResponse, error)
DeleteIdpMapperWithResponse Delete a mapper for the identity provider
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /{realm}/orgs/{orgId}/idps/{alias}/mappers/{id} (the `DeleteIdpMapper` operationId).
func (*ClientWithResponses) DeleteIdpWithResponse ¶
func (c *ClientWithResponses) DeleteIdpWithResponse(ctx context.Context, realm string, orgId string, alias string, reqEditors ...RequestEditorFn) (*DeleteIdpResponse, error)
DeleteIdpWithResponse Delete the identity provider
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /{realm}/orgs/{orgId}/idps/{alias} (the `DeleteIdp` operationId).
func (*ClientWithResponses) DeleteOrganizationRoleWithResponse ¶
func (c *ClientWithResponses) DeleteOrganizationRoleWithResponse(ctx context.Context, realm string, orgId string, name string, reqEditors ...RequestEditorFn) (*DeleteOrganizationRoleResponse, error)
DeleteOrganizationRoleWithResponse Delete this organization role
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /{realm}/orgs/{orgId}/roles/{name} (the `DeleteOrganizationRole` operationId).
func (*ClientWithResponses) DeleteOrganizationRolesWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteOrganizationRolesWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteOrganizationRolesResponse, error)
DeleteOrganizationRolesWithBodyWithResponse Delete this organization roles
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /{realm}/orgs/{orgId}/roles (the `DeleteOrganizationRoles` operationId).
func (*ClientWithResponses) DeleteOrganizationRolesWithResponse ¶
func (c *ClientWithResponses) DeleteOrganizationRolesWithResponse(ctx context.Context, realm string, orgId string, body DeleteOrganizationRolesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteOrganizationRolesResponse, error)
DeleteOrganizationRolesWithResponse Delete this organization roles
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /{realm}/orgs/{orgId}/roles (the `DeleteOrganizationRoles` operationId).
func (*ClientWithResponses) DeleteOrganizationScimConfigWithResponse ¶
func (c *ClientWithResponses) DeleteOrganizationScimConfigWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*DeleteOrganizationScimConfigResponse, error)
DeleteOrganizationScimConfigWithResponse Delete the SCIM configuration for an organization
Removes the SCIM 2.0 service-provider configuration for the organization. Requires `manage-organizations` or `manage-identity-providers` on the organization.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /{realm}/orgs/{orgId}/scim (the `DeleteOrganizationScimConfig` operationId).
func (*ClientWithResponses) DeleteOrganizationWithResponse ¶
func (c *ClientWithResponses) DeleteOrganizationWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*DeleteOrganizationResponse, error)
DeleteOrganizationWithResponse Delete the organization
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /{realm}/orgs/{orgId} (the `DeleteOrganization` operationId).
func (*ClientWithResponses) DeleteRealmAttributeWithResponse ¶
func (c *ClientWithResponses) DeleteRealmAttributeWithResponse(ctx context.Context, realm string, attributeKey string, reqEditors ...RequestEditorFn) (*DeleteRealmAttributeResponse, error)
DeleteRealmAttributeWithResponse Delete the realm attribute
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /{realm}/attributes/{attributeKey} (the `DeleteRealmAttribute` operationId).
func (*ClientWithResponses) DeleteWebhookWithResponse ¶
func (c *ClientWithResponses) DeleteWebhookWithResponse(ctx context.Context, realm string, webhookId string, reqEditors ...RequestEditorFn) (*DeleteWebhookResponse, error)
DeleteWebhookWithResponse Delete the webhook
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /{realm}/webhooks/{webhookId} (the `DeleteWebhook` operationId).
func (*ClientWithResponses) ExportOrganizationsWithResponse ¶
func (c *ClientWithResponses) ExportOrganizationsWithResponse(ctx context.Context, realm string, params *ExportOrganizationsParams, reqEditors ...RequestEditorFn) (*ExportOrganizationsResponse, error)
ExportOrganizationsWithResponse Export organizations
Export all organizations and their configurations from this realm.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/export (the `ExportOrganizations` operationId).
func (*ClientWithResponses) GetActiveOrganizationWithResponse ¶
func (c *ClientWithResponses) GetActiveOrganizationWithResponse(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*GetActiveOrganizationResponse, error)
GetActiveOrganizationWithResponse Get active organization for authenticated user
Get the currently active organization for the authenticated user.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/users/active-organization (the `GetActiveOrganization` operationId).
func (*ClientWithResponses) GetIdpMapperWithResponse ¶
func (c *ClientWithResponses) GetIdpMapperWithResponse(ctx context.Context, realm string, orgId string, alias string, id string, reqEditors ...RequestEditorFn) (*GetIdpMapperResponse, error)
GetIdpMapperWithResponse Get mapper by id for the identity provider
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/{orgId}/idps/{alias}/mappers/{id} (the `GetIdpMapper` operationId).
func (*ClientWithResponses) GetIdpMappersWithResponse ¶
func (c *ClientWithResponses) GetIdpMappersWithResponse(ctx context.Context, realm string, orgId string, alias string, reqEditors ...RequestEditorFn) (*GetIdpMappersResponse, error)
GetIdpMappersWithResponse Get mappers for identity provider
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/{orgId}/idps/{alias}/mappers (the `GetIdpMappers` operationId).
func (*ClientWithResponses) GetIdpWithResponse ¶
func (c *ClientWithResponses) GetIdpWithResponse(ctx context.Context, realm string, orgId string, alias string, reqEditors ...RequestEditorFn) (*GetIdpResponse, error)
GetIdpWithResponse Get identity provider for this organization by alias
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/{orgId}/idps/{alias} (the `GetIdp` operationId).
func (*ClientWithResponses) GetIdpsWithResponse ¶
func (c *ClientWithResponses) GetIdpsWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*GetIdpsResponse, error)
GetIdpsWithResponse Get identity providers for this organization
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/{orgId}/idps (the `GetIdps` operationId).
func (*ClientWithResponses) GetMeWithResponse ¶
func (c *ClientWithResponses) GetMeWithResponse(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*GetMeResponse, error)
GetMeWithResponse Get orgs and roles for authenticated user
Get a list of all organizations that the user is a member and their roles in those organizations. Similar idea to /userinfo in OIDC.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/me (the `GetMe` operationId).
func (*ClientWithResponses) GetOrganizationByIdWithResponse ¶
func (c *ClientWithResponses) GetOrganizationByIdWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*GetOrganizationByIdResponse, error)
GetOrganizationByIdWithResponse Get organization by id
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/{orgId} (the `GetOrganizationById` operationId).
func (*ClientWithResponses) GetOrganizationConfigWithResponse ¶
func (c *ClientWithResponses) GetOrganizationConfigWithResponse(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*GetOrganizationConfigResponse, error)
GetOrganizationConfigWithResponse Get organization configuration
Get the global organization configuration for this realm.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/config (the `GetOrganizationConfig` operationId).
func (*ClientWithResponses) GetOrganizationDomainWithResponse ¶
func (c *ClientWithResponses) GetOrganizationDomainWithResponse(ctx context.Context, realm string, orgId string, domainName string, reqEditors ...RequestEditorFn) (*GetOrganizationDomainResponse, error)
GetOrganizationDomainWithResponse Get details for a domain owned by an organization
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/{orgId}/domains/{domainName} (the `GetOrganizationDomain` operationId).
func (*ClientWithResponses) GetOrganizationDomainsWithResponse ¶
func (c *ClientWithResponses) GetOrganizationDomainsWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*GetOrganizationDomainsResponse, error)
GetOrganizationDomainsWithResponse Get details for all domains owned by an organization
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/{orgId}/domains (the `GetOrganizationDomains` operationId).
func (*ClientWithResponses) GetOrganizationInvitationByIdWithResponse ¶
func (c *ClientWithResponses) GetOrganizationInvitationByIdWithResponse(ctx context.Context, realm string, orgId string, invitationId string, reqEditors ...RequestEditorFn) (*GetOrganizationInvitationByIdResponse, error)
GetOrganizationInvitationByIdWithResponse Get organization invitation by ID
Get an invitation to an organization by its uuid.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/{orgId}/invitations/{invitationId} (the `GetOrganizationInvitationById` operationId).
func (*ClientWithResponses) GetOrganizationInvitationCountWithResponse ¶
func (c *ClientWithResponses) GetOrganizationInvitationCountWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*GetOrganizationInvitationCountResponse, error)
GetOrganizationInvitationCountWithResponse Get organization invitation count
Get a count of invitations to an organization.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/{orgId}/invitations/count (the `GetOrganizationInvitationCount` operationId).
func (*ClientWithResponses) GetOrganizationInvitationsWithResponse ¶
func (c *ClientWithResponses) GetOrganizationInvitationsWithResponse(ctx context.Context, realm string, orgId string, params *GetOrganizationInvitationsParams, reqEditors ...RequestEditorFn) (*GetOrganizationInvitationsResponse, error)
GetOrganizationInvitationsWithResponse Get organization invitations
Get a paginated list of invitations to an organization, using an optional search query for email address.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/{orgId}/invitations (the `GetOrganizationInvitations` operationId).
func (*ClientWithResponses) GetOrganizationMemberAttributesWithResponse ¶
func (c *ClientWithResponses) GetOrganizationMemberAttributesWithResponse(ctx context.Context, realm string, orgId string, userId string, reqEditors ...RequestEditorFn) (*GetOrganizationMemberAttributesResponse, error)
GetOrganizationMemberAttributesWithResponse Get organization member attributes
Get attributes for a specific member of an organization.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/{orgId}/members/{userId}/attributes (the `GetOrganizationMemberAttributes` operationId).
func (*ClientWithResponses) GetOrganizationMembershipsCountWithResponse ¶
func (c *ClientWithResponses) GetOrganizationMembershipsCountWithResponse(ctx context.Context, realm string, orgId string, params *GetOrganizationMembershipsCountParams, reqEditors ...RequestEditorFn) (*GetOrganizationMembershipsCountResponse, error)
GetOrganizationMembershipsCountWithResponse Get organization members count
Get total number of members of a given organization.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/{orgId}/members/count (the `GetOrganizationMembershipsCount` operationId).
func (*ClientWithResponses) GetOrganizationMembershipsWithResponse ¶
func (c *ClientWithResponses) GetOrganizationMembershipsWithResponse(ctx context.Context, realm string, orgId string, params *GetOrganizationMembershipsParams, reqEditors ...RequestEditorFn) (*GetOrganizationMembershipsResponse, error)
GetOrganizationMembershipsWithResponse Get organization memberships
Get a paginated list of users who are a member of the specified organization.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/{orgId}/members (the `GetOrganizationMemberships` operationId).
func (*ClientWithResponses) GetOrganizationRoleWithResponse ¶
func (c *ClientWithResponses) GetOrganizationRoleWithResponse(ctx context.Context, realm string, orgId string, name string, reqEditors ...RequestEditorFn) (*GetOrganizationRoleResponse, error)
GetOrganizationRoleWithResponse Get role for this organization by name
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/{orgId}/roles/{name} (the `GetOrganizationRole` operationId).
func (*ClientWithResponses) GetOrganizationRolesWithResponse ¶
func (c *ClientWithResponses) GetOrganizationRolesWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*GetOrganizationRolesResponse, error)
GetOrganizationRolesWithResponse Get roles for this organization
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/{orgId}/roles (the `GetOrganizationRoles` operationId).
func (*ClientWithResponses) GetOrganizationScimConfigWithResponse ¶
func (c *ClientWithResponses) GetOrganizationScimConfigWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*GetOrganizationScimConfigResponse, error)
GetOrganizationScimConfigWithResponse Get the SCIM configuration for an organization
Returns the SCIM 2.0 service-provider configuration for the organization. Requires `view-organizations` or `view-identity-providers` on the organization. Returns 404 if the realm-level SCIM flag (`scimEnabled` in the orgs config) is off, or if no configuration exists for the organization yet.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/{orgId}/scim (the `GetOrganizationScimConfig` operationId).
func (*ClientWithResponses) GetOrganizationsCountWithResponse ¶
func (c *ClientWithResponses) GetOrganizationsCountWithResponse(ctx context.Context, realm string, params *GetOrganizationsCountParams, reqEditors ...RequestEditorFn) (*GetOrganizationsCountResponse, error)
GetOrganizationsCountWithResponse Get organizations count
Get a count of organizations using an optional search query.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/count (the `GetOrganizationsCount` operationId).
func (*ClientWithResponses) GetOrganizationsWithResponse ¶
func (c *ClientWithResponses) GetOrganizationsWithResponse(ctx context.Context, realm string, params *GetOrganizationsParams, reqEditors ...RequestEditorFn) (*GetOrganizationsResponse, error)
GetOrganizationsWithResponse Get organizations
Get a paginated list of organizations using optional search query parameters.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs (the `GetOrganizations` operationId).
func (*ClientWithResponses) GetPayloadByKeycloakTypeAndIdWithResponse ¶
func (c *ClientWithResponses) GetPayloadByKeycloakTypeAndIdWithResponse(ctx context.Context, realm string, pType string, kid string, reqEditors ...RequestEditorFn) (*GetPayloadByKeycloakTypeAndIdResponse, error)
GetPayloadByKeycloakTypeAndIdWithResponse Get a payload by Keycloak type and id
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/webhooks/payload/{type}/{kid} (the `GetPayloadByKeycloakTypeAndId` operationId).
func (*ClientWithResponses) GetRealmAttributeByKeyWithResponse ¶
func (c *ClientWithResponses) GetRealmAttributeByKeyWithResponse(ctx context.Context, realm string, attributeKey string, reqEditors ...RequestEditorFn) (*GetRealmAttributeByKeyResponse, error)
GetRealmAttributeByKeyWithResponse Get realm attribute by key
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/attributes/{attributeKey} (the `GetRealmAttributeByKey` operationId).
func (*ClientWithResponses) GetRealmAttributesWithResponse ¶
func (c *ClientWithResponses) GetRealmAttributesWithResponse(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*GetRealmAttributesResponse, error)
GetRealmAttributesWithResponse Get realm attributes
Get a list of attributes for this realm.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/attributes (the `GetRealmAttributes` operationId).
func (*ClientWithResponses) GetUserOrganizationRolesWithResponse ¶
func (c *ClientWithResponses) GetUserOrganizationRolesWithResponse(ctx context.Context, realm string, orgId string, name string, reqEditors ...RequestEditorFn) (*GetUserOrganizationRolesResponse, error)
GetUserOrganizationRolesWithResponse Get users with this organization role
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/{orgId}/roles/{name}/users (the `GetUserOrganizationRoles` operationId).
func (*ClientWithResponses) GetWebhookByIdWithResponse ¶
func (c *ClientWithResponses) GetWebhookByIdWithResponse(ctx context.Context, realm string, webhookId string, reqEditors ...RequestEditorFn) (*GetWebhookByIdResponse, error)
GetWebhookByIdWithResponse Get webhook by id
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/webhooks/{webhookId} (the `GetWebhookById` operationId).
func (*ClientWithResponses) GetWebhookSecretByIdWithResponse ¶
func (c *ClientWithResponses) GetWebhookSecretByIdWithResponse(ctx context.Context, realm string, webhookId string, reqEditors ...RequestEditorFn) (*GetWebhookSecretByIdResponse, error)
GetWebhookSecretByIdWithResponse Get webhook secret by id
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/webhooks/{webhookId}/secret (the `GetWebhookSecretById` operationId).
func (*ClientWithResponses) GetWebhookSendByIdWithResponse ¶
func (c *ClientWithResponses) GetWebhookSendByIdWithResponse(ctx context.Context, realm string, webhookId string, sendId string, reqEditors ...RequestEditorFn) (*GetWebhookSendByIdResponse, error)
GetWebhookSendByIdWithResponse Get webhook send by id
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/webhooks/{webhookId}/sends/{sendId} (the `GetWebhookSendById` operationId).
func (*ClientWithResponses) GetWebhookSendsByKeycloakTypeAndIdWithResponse ¶
func (c *ClientWithResponses) GetWebhookSendsByKeycloakTypeAndIdWithResponse(ctx context.Context, realm string, pType string, kid string, reqEditors ...RequestEditorFn) (*GetWebhookSendsByKeycloakTypeAndIdResponse, error)
GetWebhookSendsByKeycloakTypeAndIdWithResponse Get all webhook sends triggered by a Keycloak event
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/webhooks/sends/{type}/{kid} (the `GetWebhookSendsByKeycloakTypeAndId` operationId).
func (*ClientWithResponses) GetWebhookSendsWithResponse ¶
func (c *ClientWithResponses) GetWebhookSendsWithResponse(ctx context.Context, realm string, webhookId string, params *GetWebhookSendsParams, reqEditors ...RequestEditorFn) (*GetWebhookSendsResponse, error)
GetWebhookSendsWithResponse Get webhook sends
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/webhooks/{webhookId}/sends (the `GetWebhookSends` operationId).
func (*ClientWithResponses) GetWebhooksCountWithResponse ¶
func (c *ClientWithResponses) GetWebhooksCountWithResponse(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*GetWebhooksCountResponse, error)
GetWebhooksCountWithResponse Get webhooks count
Get a count of webhooks.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/webhooks/count (the `GetWebhooksCount` operationId).
func (*ClientWithResponses) GetWebhooksWithResponse ¶
func (c *ClientWithResponses) GetWebhooksWithResponse(ctx context.Context, realm string, params *GetWebhooksParams, reqEditors ...RequestEditorFn) (*GetWebhooksResponse, error)
GetWebhooksWithResponse Get webhooks
Get a list of webhooks for this realm.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/webhooks (the `GetWebhooks` operationId).
func (*ClientWithResponses) GrantUserOrganizationRoleWithResponse ¶
func (c *ClientWithResponses) GrantUserOrganizationRoleWithResponse(ctx context.Context, realm string, orgId string, name string, userId string, reqEditors ...RequestEditorFn) (*GrantUserOrganizationRoleResponse, error)
GrantUserOrganizationRoleWithResponse Grant a user an organization role
Grant the specified user to the specified organization role.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/orgs/{orgId}/roles/{name}/users/{userId} (the `GrantUserOrganizationRole` operationId).
func (*ClientWithResponses) GrantUserRolesInOrganizationWithBodyWithResponse ¶
func (c *ClientWithResponses) GrantUserRolesInOrganizationWithBodyWithResponse(ctx context.Context, realm string, userId string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GrantUserRolesInOrganizationResponse, error)
GrantUserRolesInOrganizationWithBodyWithResponse Grant a user organization roles
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/users/{userId}/orgs/{orgId}/roles (the `GrantUserRolesInOrganization` operationId).
func (*ClientWithResponses) GrantUserRolesInOrganizationWithResponse ¶
func (c *ClientWithResponses) GrantUserRolesInOrganizationWithResponse(ctx context.Context, realm string, userId string, orgId string, body GrantUserRolesInOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*GrantUserRolesInOrganizationResponse, error)
GrantUserRolesInOrganizationWithResponse Grant a user organization roles
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/users/{userId}/orgs/{orgId}/roles (the `GrantUserRolesInOrganization` operationId).
func (*ClientWithResponses) ImportIdpJsonWithResponse ¶
func (c *ClientWithResponses) ImportIdpJsonWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*ImportIdpJsonResponse, error)
ImportIdpJsonWithResponse Import identity provider from uploaded JSON file
Returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs/{orgId}/idps/import-config (the `ImportIdpJson` operationId).
func (*ClientWithResponses) ImportOrganizationsWithBodyWithResponse ¶
func (c *ClientWithResponses) ImportOrganizationsWithBodyWithResponse(ctx context.Context, realm string, params *ImportOrganizationsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportOrganizationsResponse, error)
ImportOrganizationsWithBodyWithResponse Import organizations
Import organizations and their configurations into this realm.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs/import (the `ImportOrganizations` operationId).
func (*ClientWithResponses) ImportOrganizationsWithResponse ¶
func (c *ClientWithResponses) ImportOrganizationsWithResponse(ctx context.Context, realm string, params *ImportOrganizationsParams, body ImportOrganizationsJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportOrganizationsResponse, error)
ImportOrganizationsWithResponse Import organizations
Import organizations and their configurations into this realm.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs/import (the `ImportOrganizations` operationId).
func (*ClientWithResponses) InvitationsWithResponse ¶
func (c *ClientWithResponses) InvitationsWithResponse(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*InvitationsResponse, error)
InvitationsWithResponse Get invitations for authenticated user
Get a list of all invitations for the user.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/orgs/me/invitations (the `Invitations` operationId).
func (*ClientWithResponses) LinkIdpWithBodyWithResponse ¶
func (c *ClientWithResponses) LinkIdpWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LinkIdpResponse, error)
LinkIdpWithBodyWithResponse Link an existing identity provider to this organization
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs/{orgId}/idps/link (the `LinkIdp` operationId).
func (*ClientWithResponses) LinkIdpWithResponse ¶
func (c *ClientWithResponses) LinkIdpWithResponse(ctx context.Context, realm string, orgId string, body LinkIdpJSONRequestBody, reqEditors ...RequestEditorFn) (*LinkIdpResponse, error)
LinkIdpWithResponse Link an existing identity provider to this organization
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs/{orgId}/idps/link (the `LinkIdp` operationId).
func (*ClientWithResponses) ListUserOrganizationsWithResponse ¶
func (c *ClientWithResponses) ListUserOrganizationsWithResponse(ctx context.Context, realm string, userId string, reqEditors ...RequestEditorFn) (*ListUserOrganizationsResponse, error)
ListUserOrganizationsWithResponse List organizations for the given user
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/users/{userId}/orgs (the `ListUserOrganizations` operationId).
func (*ClientWithResponses) ListUserRolesInOrganizationWithResponse ¶
func (c *ClientWithResponses) ListUserRolesInOrganizationWithResponse(ctx context.Context, realm string, userId string, orgId string, reqEditors ...RequestEditorFn) (*ListUserRolesInOrganizationResponse, error)
ListUserRolesInOrganizationWithResponse List organization roles for the given user and org
Returns a wrapper object for the known response body format(s).
Corresponds with GET /{realm}/users/{userId}/orgs/{orgId}/roles (the `ListUserRolesInOrganization` operationId).
func (*ClientWithResponses) RejectInvitationWithResponse ¶
func (c *ClientWithResponses) RejectInvitationWithResponse(ctx context.Context, realm string, invitationId string, reqEditors ...RequestEditorFn) (*RejectInvitationResponse, error)
RejectInvitationWithResponse Reject invitation for authenticated user
Reject invitation for authenticated user.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /{realm}/orgs/me/invitations/{invitationId} (the `RejectInvitation` operationId).
func (*ClientWithResponses) RemoveOrganizationInvitationWithResponse ¶
func (c *ClientWithResponses) RemoveOrganizationInvitationWithResponse(ctx context.Context, realm string, orgId string, invitationId string, reqEditors ...RequestEditorFn) (*RemoveOrganizationInvitationResponse, error)
RemoveOrganizationInvitationWithResponse Remove a pending invitation
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /{realm}/orgs/{orgId}/invitations/{invitationId} (the `RemoveOrganizationInvitation` operationId).
func (*ClientWithResponses) RemoveOrganizationMemberWithResponse ¶
func (c *ClientWithResponses) RemoveOrganizationMemberWithResponse(ctx context.Context, realm string, orgId string, userId string, reqEditors ...RequestEditorFn) (*RemoveOrganizationMemberResponse, error)
RemoveOrganizationMemberWithResponse Remove an organization member
Remove the specified user from the specified organization as a member.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /{realm}/orgs/{orgId}/members/{userId} (the `RemoveOrganizationMember` operationId).
func (*ClientWithResponses) ResendOrganizationInvitationWithResponse ¶
func (c *ClientWithResponses) ResendOrganizationInvitationWithResponse(ctx context.Context, realm string, orgId string, invitationId string, reqEditors ...RequestEditorFn) (*ResendOrganizationInvitationResponse, error)
ResendOrganizationInvitationWithResponse Resend an Organization Invitation
Resend the email for an existing Organization Invitation.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/orgs/{orgId}/invitations/{invitationId}/resend-email (the `ResendOrganizationInvitation` operationId).
func (*ClientWithResponses) ResendWebhookByIdWithResponse ¶
func (c *ClientWithResponses) ResendWebhookByIdWithResponse(ctx context.Context, realm string, webhookId string, sendId string, reqEditors ...RequestEditorFn) (*ResendWebhookByIdResponse, error)
ResendWebhookByIdWithResponse Resend a webhook by send ID
Returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/webhooks/{webhookId}/sends/{sendId}/resend (the `ResendWebhookById` operationId).
func (*ClientWithResponses) RevokeUserOrganizationRoleWithResponse ¶
func (c *ClientWithResponses) RevokeUserOrganizationRoleWithResponse(ctx context.Context, realm string, orgId string, name string, userId string, reqEditors ...RequestEditorFn) (*RevokeUserOrganizationRoleResponse, error)
RevokeUserOrganizationRoleWithResponse Revoke an organization role from a user
Revoke the specified organization role from the specified user.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /{realm}/orgs/{orgId}/roles/{name}/users/{userId} (the `RevokeUserOrganizationRole` operationId).
func (*ClientWithResponses) RevokeUserRolesInOrganizationWithBodyWithResponse ¶
func (c *ClientWithResponses) RevokeUserRolesInOrganizationWithBodyWithResponse(ctx context.Context, realm string, userId string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RevokeUserRolesInOrganizationResponse, error)
RevokeUserRolesInOrganizationWithBodyWithResponse Revoke organization roles from a user
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /{realm}/users/{userId}/orgs/{orgId}/roles (the `RevokeUserRolesInOrganization` operationId).
func (*ClientWithResponses) RevokeUserRolesInOrganizationWithResponse ¶
func (c *ClientWithResponses) RevokeUserRolesInOrganizationWithResponse(ctx context.Context, realm string, userId string, orgId string, body RevokeUserRolesInOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*RevokeUserRolesInOrganizationResponse, error)
RevokeUserRolesInOrganizationWithResponse Revoke organization roles from a user
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /{realm}/users/{userId}/orgs/{orgId}/roles (the `RevokeUserRolesInOrganization` operationId).
func (*ClientWithResponses) SwitchActiveOrganizationWithBodyWithResponse ¶
func (c *ClientWithResponses) SwitchActiveOrganizationWithBodyWithResponse(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SwitchActiveOrganizationResponse, error)
SwitchActiveOrganizationWithBodyWithResponse Switch active organization for authenticated user
Switch the active organization context for the authenticated user.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/users/switch-organization (the `SwitchActiveOrganization` operationId).
func (*ClientWithResponses) SwitchActiveOrganizationWithResponse ¶
func (c *ClientWithResponses) SwitchActiveOrganizationWithResponse(ctx context.Context, realm string, body SwitchActiveOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*SwitchActiveOrganizationResponse, error)
SwitchActiveOrganizationWithResponse Switch active organization for authenticated user
Switch the active organization context for the authenticated user.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/users/switch-organization (the `SwitchActiveOrganization` operationId).
func (*ClientWithResponses) UnlinkIdpWithResponse ¶
func (c *ClientWithResponses) UnlinkIdpWithResponse(ctx context.Context, realm string, orgId string, alias string, reqEditors ...RequestEditorFn) (*UnlinkIdpResponse, error)
UnlinkIdpWithResponse Unlink an existing and linked identity provider from this organization
Returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs/{orgId}/idps/{alias}/unlink (the `UnlinkIdp` operationId).
func (*ClientWithResponses) UpdateIdpMapperWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateIdpMapperWithBodyWithResponse(ctx context.Context, realm string, orgId string, alias string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIdpMapperResponse, error)
UpdateIdpMapperWithBodyWithResponse Update a mapper for the identity provider
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/orgs/{orgId}/idps/{alias}/mappers/{id} (the `UpdateIdpMapper` operationId).
func (*ClientWithResponses) UpdateIdpMapperWithResponse ¶
func (c *ClientWithResponses) UpdateIdpMapperWithResponse(ctx context.Context, realm string, orgId string, alias string, id string, body UpdateIdpMapperJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateIdpMapperResponse, error)
UpdateIdpMapperWithResponse Update a mapper for the identity provider
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/orgs/{orgId}/idps/{alias}/mappers/{id} (the `UpdateIdpMapper` operationId).
func (*ClientWithResponses) UpdateIdpWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateIdpWithBodyWithResponse(ctx context.Context, realm string, orgId string, alias string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIdpResponse, error)
UpdateIdpWithBodyWithResponse Update identity provider for this organization by alias
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/orgs/{orgId}/idps/{alias} (the `UpdateIdp` operationId).
func (*ClientWithResponses) UpdateIdpWithResponse ¶
func (c *ClientWithResponses) UpdateIdpWithResponse(ctx context.Context, realm string, orgId string, alias string, body UpdateIdpJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateIdpResponse, error)
UpdateIdpWithResponse Update identity provider for this organization by alias
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/orgs/{orgId}/idps/{alias} (the `UpdateIdp` operationId).
func (*ClientWithResponses) UpdateOrganizationConfigWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateOrganizationConfigWithBodyWithResponse(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationConfigResponse, error)
UpdateOrganizationConfigWithBodyWithResponse Update organization configuration
Update the global organization configuration for this realm.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/orgs/config (the `UpdateOrganizationConfig` operationId).
func (*ClientWithResponses) UpdateOrganizationConfigWithResponse ¶
func (c *ClientWithResponses) UpdateOrganizationConfigWithResponse(ctx context.Context, realm string, body UpdateOrganizationConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationConfigResponse, error)
UpdateOrganizationConfigWithResponse Update organization configuration
Update the global organization configuration for this realm.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/orgs/config (the `UpdateOrganizationConfig` operationId).
func (*ClientWithResponses) UpdateOrganizationRoleWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateOrganizationRoleWithBodyWithResponse(ctx context.Context, realm string, orgId string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationRoleResponse, error)
UpdateOrganizationRoleWithBodyWithResponse Update role for this organization
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/orgs/{orgId}/roles/{name} (the `UpdateOrganizationRole` operationId).
func (*ClientWithResponses) UpdateOrganizationRoleWithResponse ¶
func (c *ClientWithResponses) UpdateOrganizationRoleWithResponse(ctx context.Context, realm string, orgId string, name string, body UpdateOrganizationRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationRoleResponse, error)
UpdateOrganizationRoleWithResponse Update role for this organization
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/orgs/{orgId}/roles/{name} (the `UpdateOrganizationRole` operationId).
func (*ClientWithResponses) UpdateOrganizationScimConfigWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateOrganizationScimConfigWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationScimConfigResponse, error)
UpdateOrganizationScimConfigWithBodyWithResponse Update the SCIM configuration for an organization
Updates the SCIM 2.0 service-provider configuration for the organization. Requires `manage-organizations` or `manage-identity-providers` on the organization. Omit secret/password fields on `auth` to preserve the existing stored credential; supply a new value to rotate.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/orgs/{orgId}/scim (the `UpdateOrganizationScimConfig` operationId).
func (*ClientWithResponses) UpdateOrganizationScimConfigWithResponse ¶
func (c *ClientWithResponses) UpdateOrganizationScimConfigWithResponse(ctx context.Context, realm string, orgId string, body UpdateOrganizationScimConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationScimConfigResponse, error)
UpdateOrganizationScimConfigWithResponse Update the SCIM configuration for an organization
Updates the SCIM 2.0 service-provider configuration for the organization. Requires `manage-organizations` or `manage-identity-providers` on the organization. Omit secret/password fields on `auth` to preserve the existing stored credential; supply a new value to rotate.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/orgs/{orgId}/scim (the `UpdateOrganizationScimConfig` operationId).
func (*ClientWithResponses) UpdateOrganizationWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateOrganizationWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationResponse, error)
UpdateOrganizationWithBodyWithResponse Update this organization by id
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/orgs/{orgId} (the `UpdateOrganization` operationId).
func (*ClientWithResponses) UpdateOrganizationWithResponse ¶
func (c *ClientWithResponses) UpdateOrganizationWithResponse(ctx context.Context, realm string, orgId string, body UpdateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationResponse, error)
UpdateOrganizationWithResponse Update this organization by id
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/orgs/{orgId} (the `UpdateOrganization` operationId).
func (*ClientWithResponses) UpdateRealmAttributeByKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateRealmAttributeByKeyWithBodyWithResponse(ctx context.Context, realm string, attributeKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRealmAttributeByKeyResponse, error)
UpdateRealmAttributeByKeyWithBodyWithResponse Update realm attribute by key
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/attributes/{attributeKey} (the `UpdateRealmAttributeByKey` operationId).
func (*ClientWithResponses) UpdateRealmAttributeByKeyWithResponse ¶
func (c *ClientWithResponses) UpdateRealmAttributeByKeyWithResponse(ctx context.Context, realm string, attributeKey string, body UpdateRealmAttributeByKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRealmAttributeByKeyResponse, error)
UpdateRealmAttributeByKeyWithResponse Update realm attribute by key
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/attributes/{attributeKey} (the `UpdateRealmAttributeByKey` operationId).
func (*ClientWithResponses) UpdateWebhookWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateWebhookWithBodyWithResponse(ctx context.Context, realm string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)
UpdateWebhookWithBodyWithResponse Update this webhook by id
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/webhooks/{webhookId} (the `UpdateWebhook` operationId).
func (*ClientWithResponses) UpdateWebhookWithResponse ¶
func (c *ClientWithResponses) UpdateWebhookWithResponse(ctx context.Context, realm string, webhookId string, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)
UpdateWebhookWithResponse Update this webhook by id
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /{realm}/webhooks/{webhookId} (the `UpdateWebhook` operationId).
func (*ClientWithResponses) VerifyDomainWithResponse ¶
func (c *ClientWithResponses) VerifyDomainWithResponse(ctx context.Context, realm string, orgId string, domainName string, reqEditors ...RequestEditorFn) (*VerifyDomainResponse, error)
VerifyDomainWithResponse Start domain verification
Initiate a verification check for the domain name owned by this organization.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /{realm}/orgs/{orgId}/domains/{domainName}/verify (the `VerifyDomain` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetRealmAttributesWithResponse Get realm attributes
//
// Get a list of attributes for this realm.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/attributes (the `GetRealmAttributes` operationId).
GetRealmAttributesWithResponse(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*GetRealmAttributesResponse, error)
// CreateRealmAttributeWithBodyWithResponse Create a new realm attribute
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/attributes (the `CreateRealmAttribute` operationId).
CreateRealmAttributeWithBodyWithResponse(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRealmAttributeResponse, error)
// CreateRealmAttributeWithResponse Create a new realm attribute
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/attributes (the `CreateRealmAttribute` operationId).
CreateRealmAttributeWithResponse(ctx context.Context, realm string, body CreateRealmAttributeJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRealmAttributeResponse, error)
// DeleteRealmAttributeWithResponse Delete the realm attribute
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /{realm}/attributes/{attributeKey} (the `DeleteRealmAttribute` operationId).
DeleteRealmAttributeWithResponse(ctx context.Context, realm string, attributeKey string, reqEditors ...RequestEditorFn) (*DeleteRealmAttributeResponse, error)
// GetRealmAttributeByKeyWithResponse Get realm attribute by key
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/attributes/{attributeKey} (the `GetRealmAttributeByKey` operationId).
GetRealmAttributeByKeyWithResponse(ctx context.Context, realm string, attributeKey string, reqEditors ...RequestEditorFn) (*GetRealmAttributeByKeyResponse, error)
// UpdateRealmAttributeByKeyWithBodyWithResponse Update realm attribute by key
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/attributes/{attributeKey} (the `UpdateRealmAttributeByKey` operationId).
UpdateRealmAttributeByKeyWithBodyWithResponse(ctx context.Context, realm string, attributeKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRealmAttributeByKeyResponse, error)
// UpdateRealmAttributeByKeyWithResponse Update realm attribute by key
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/attributes/{attributeKey} (the `UpdateRealmAttributeByKey` operationId).
UpdateRealmAttributeByKeyWithResponse(ctx context.Context, realm string, attributeKey string, body UpdateRealmAttributeByKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRealmAttributeByKeyResponse, error)
// CreateEventWithBodyWithResponse Create a new audit log event
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/events (the `CreateEvent` operationId).
CreateEventWithBodyWithResponse(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEventResponse, error)
// CreateEventWithResponse Create a new audit log event
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/events (the `CreateEvent` operationId).
CreateEventWithResponse(ctx context.Context, realm string, body CreateEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEventResponse, error)
// CreateMagicLinkWithBodyWithResponse Create a magic link to log in a user
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/magic-link (the `CreateMagicLink` operationId).
CreateMagicLinkWithBodyWithResponse(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMagicLinkResponse, error)
// CreateMagicLinkWithResponse Create a magic link to log in a user
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/magic-link (the `CreateMagicLink` operationId).
CreateMagicLinkWithResponse(ctx context.Context, realm string, body CreateMagicLinkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMagicLinkResponse, error)
// GetOrganizationsWithResponse Get organizations
//
// Get a paginated list of organizations using optional search query parameters.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs (the `GetOrganizations` operationId).
GetOrganizationsWithResponse(ctx context.Context, realm string, params *GetOrganizationsParams, reqEditors ...RequestEditorFn) (*GetOrganizationsResponse, error)
// CreateOrganizationWithBodyWithResponse Create a new organization
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs (the `CreateOrganization` operationId).
CreateOrganizationWithBodyWithResponse(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)
// CreateOrganizationWithResponse Create a new organization
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs (the `CreateOrganization` operationId).
CreateOrganizationWithResponse(ctx context.Context, realm string, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)
// GetOrganizationConfigWithResponse Get organization configuration
//
// Get the global organization configuration for this realm.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/config (the `GetOrganizationConfig` operationId).
GetOrganizationConfigWithResponse(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*GetOrganizationConfigResponse, error)
// UpdateOrganizationConfigWithBodyWithResponse Update organization configuration
//
// Update the global organization configuration for this realm.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/orgs/config (the `UpdateOrganizationConfig` operationId).
UpdateOrganizationConfigWithBodyWithResponse(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationConfigResponse, error)
// UpdateOrganizationConfigWithResponse Update organization configuration
//
// Update the global organization configuration for this realm.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/orgs/config (the `UpdateOrganizationConfig` operationId).
UpdateOrganizationConfigWithResponse(ctx context.Context, realm string, body UpdateOrganizationConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationConfigResponse, error)
// GetOrganizationsCountWithResponse Get organizations count
//
// Get a count of organizations using an optional search query.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/count (the `GetOrganizationsCount` operationId).
GetOrganizationsCountWithResponse(ctx context.Context, realm string, params *GetOrganizationsCountParams, reqEditors ...RequestEditorFn) (*GetOrganizationsCountResponse, error)
// ExportOrganizationsWithResponse Export organizations
//
// Export all organizations and their configurations from this realm.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/export (the `ExportOrganizations` operationId).
ExportOrganizationsWithResponse(ctx context.Context, realm string, params *ExportOrganizationsParams, reqEditors ...RequestEditorFn) (*ExportOrganizationsResponse, error)
// ImportOrganizationsWithBodyWithResponse Import organizations
//
// Import organizations and their configurations into this realm.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs/import (the `ImportOrganizations` operationId).
ImportOrganizationsWithBodyWithResponse(ctx context.Context, realm string, params *ImportOrganizationsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportOrganizationsResponse, error)
// ImportOrganizationsWithResponse Import organizations
//
// Import organizations and their configurations into this realm.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs/import (the `ImportOrganizations` operationId).
ImportOrganizationsWithResponse(ctx context.Context, realm string, params *ImportOrganizationsParams, body ImportOrganizationsJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportOrganizationsResponse, error)
// GetMeWithResponse Get orgs and roles for authenticated user
//
// Get a list of all organizations that the user is a member and their roles in those organizations. Similar idea to /userinfo in OIDC.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/me (the `GetMe` operationId).
GetMeWithResponse(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*GetMeResponse, error)
// InvitationsWithResponse Get invitations for authenticated user
//
// Get a list of all invitations for the user.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/me/invitations (the `Invitations` operationId).
InvitationsWithResponse(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*InvitationsResponse, error)
// RejectInvitationWithResponse Reject invitation for authenticated user
//
// Reject invitation for authenticated user.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /{realm}/orgs/me/invitations/{invitationId} (the `RejectInvitation` operationId).
RejectInvitationWithResponse(ctx context.Context, realm string, invitationId string, reqEditors ...RequestEditorFn) (*RejectInvitationResponse, error)
// AcceptInvitationWithResponse Accept invitation for authenticated user
//
// Accept invitation for authenticated user.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs/me/invitations/{invitationId} (the `AcceptInvitation` operationId).
AcceptInvitationWithResponse(ctx context.Context, realm string, invitationId string, reqEditors ...RequestEditorFn) (*AcceptInvitationResponse, error)
// DeleteOrganizationWithResponse Delete the organization
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /{realm}/orgs/{orgId} (the `DeleteOrganization` operationId).
DeleteOrganizationWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*DeleteOrganizationResponse, error)
// GetOrganizationByIdWithResponse Get organization by id
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/{orgId} (the `GetOrganizationById` operationId).
GetOrganizationByIdWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*GetOrganizationByIdResponse, error)
// UpdateOrganizationWithBodyWithResponse Update this organization by id
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/orgs/{orgId} (the `UpdateOrganization` operationId).
UpdateOrganizationWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationResponse, error)
// UpdateOrganizationWithResponse Update this organization by id
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/orgs/{orgId} (the `UpdateOrganization` operationId).
UpdateOrganizationWithResponse(ctx context.Context, realm string, orgId string, body UpdateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationResponse, error)
// GetOrganizationDomainsWithResponse Get details for all domains owned by an organization
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/{orgId}/domains (the `GetOrganizationDomains` operationId).
GetOrganizationDomainsWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*GetOrganizationDomainsResponse, error)
// GetOrganizationDomainWithResponse Get details for a domain owned by an organization
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/{orgId}/domains/{domainName} (the `GetOrganizationDomain` operationId).
GetOrganizationDomainWithResponse(ctx context.Context, realm string, orgId string, domainName string, reqEditors ...RequestEditorFn) (*GetOrganizationDomainResponse, error)
// VerifyDomainWithResponse Start domain verification
//
// Initiate a verification check for the domain name owned by this organization.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs/{orgId}/domains/{domainName}/verify (the `VerifyDomain` operationId).
VerifyDomainWithResponse(ctx context.Context, realm string, orgId string, domainName string, reqEditors ...RequestEditorFn) (*VerifyDomainResponse, error)
// GetIdpsWithResponse Get identity providers for this organization
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/{orgId}/idps (the `GetIdps` operationId).
GetIdpsWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*GetIdpsResponse, error)
// CreateIdpWithBodyWithResponse Create a new identity provider for this organization
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs/{orgId}/idps (the `CreateIdp` operationId).
CreateIdpWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIdpResponse, error)
// CreateIdpWithResponse Create a new identity provider for this organization
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs/{orgId}/idps (the `CreateIdp` operationId).
CreateIdpWithResponse(ctx context.Context, realm string, orgId string, body CreateIdpJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIdpResponse, error)
// CreateIdpInitiatedClientWithBodyWithResponse Create the client for IdP-initiated login through this organization's identity provider
//
// Creates a SAML client that accepts IdP-initiated logins brokered through an identity provider of this organization. Create the client before the identity provider it is paired with.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs/{orgId}/idps/clients (the `CreateIdpInitiatedClient` operationId).
CreateIdpInitiatedClientWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIdpInitiatedClientResponse, error)
// CreateIdpInitiatedClientWithResponse Create the client for IdP-initiated login through this organization's identity provider
//
// Creates a SAML client that accepts IdP-initiated logins brokered through an identity provider of this organization. Create the client before the identity provider it is paired with.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs/{orgId}/idps/clients (the `CreateIdpInitiatedClient` operationId).
CreateIdpInitiatedClientWithResponse(ctx context.Context, realm string, orgId string, body CreateIdpInitiatedClientJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIdpInitiatedClientResponse, error)
// ImportIdpJsonWithResponse Import identity provider from uploaded JSON file
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs/{orgId}/idps/import-config (the `ImportIdpJson` operationId).
ImportIdpJsonWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*ImportIdpJsonResponse, error)
// LinkIdpWithBodyWithResponse Link an existing identity provider to this organization
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs/{orgId}/idps/link (the `LinkIdp` operationId).
LinkIdpWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LinkIdpResponse, error)
// LinkIdpWithResponse Link an existing identity provider to this organization
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs/{orgId}/idps/link (the `LinkIdp` operationId).
LinkIdpWithResponse(ctx context.Context, realm string, orgId string, body LinkIdpJSONRequestBody, reqEditors ...RequestEditorFn) (*LinkIdpResponse, error)
// DeleteIdpWithResponse Delete the identity provider
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /{realm}/orgs/{orgId}/idps/{alias} (the `DeleteIdp` operationId).
DeleteIdpWithResponse(ctx context.Context, realm string, orgId string, alias string, reqEditors ...RequestEditorFn) (*DeleteIdpResponse, error)
// GetIdpWithResponse Get identity provider for this organization by alias
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/{orgId}/idps/{alias} (the `GetIdp` operationId).
GetIdpWithResponse(ctx context.Context, realm string, orgId string, alias string, reqEditors ...RequestEditorFn) (*GetIdpResponse, error)
// UpdateIdpWithBodyWithResponse Update identity provider for this organization by alias
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/orgs/{orgId}/idps/{alias} (the `UpdateIdp` operationId).
UpdateIdpWithBodyWithResponse(ctx context.Context, realm string, orgId string, alias string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIdpResponse, error)
// UpdateIdpWithResponse Update identity provider for this organization by alias
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/orgs/{orgId}/idps/{alias} (the `UpdateIdp` operationId).
UpdateIdpWithResponse(ctx context.Context, realm string, orgId string, alias string, body UpdateIdpJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateIdpResponse, error)
// GetIdpMappersWithResponse Get mappers for identity provider
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/{orgId}/idps/{alias}/mappers (the `GetIdpMappers` operationId).
GetIdpMappersWithResponse(ctx context.Context, realm string, orgId string, alias string, reqEditors ...RequestEditorFn) (*GetIdpMappersResponse, error)
// AddIdpMapperWithBodyWithResponse Add a mapper to identity provider
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs/{orgId}/idps/{alias}/mappers (the `AddIdpMapper` operationId).
AddIdpMapperWithBodyWithResponse(ctx context.Context, realm string, orgId string, alias string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddIdpMapperResponse, error)
// AddIdpMapperWithResponse Add a mapper to identity provider
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs/{orgId}/idps/{alias}/mappers (the `AddIdpMapper` operationId).
AddIdpMapperWithResponse(ctx context.Context, realm string, orgId string, alias string, body AddIdpMapperJSONRequestBody, reqEditors ...RequestEditorFn) (*AddIdpMapperResponse, error)
// DeleteIdpMapperWithResponse Delete a mapper for the identity provider
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /{realm}/orgs/{orgId}/idps/{alias}/mappers/{id} (the `DeleteIdpMapper` operationId).
DeleteIdpMapperWithResponse(ctx context.Context, realm string, orgId string, alias string, id string, reqEditors ...RequestEditorFn) (*DeleteIdpMapperResponse, error)
// GetIdpMapperWithResponse Get mapper by id for the identity provider
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/{orgId}/idps/{alias}/mappers/{id} (the `GetIdpMapper` operationId).
GetIdpMapperWithResponse(ctx context.Context, realm string, orgId string, alias string, id string, reqEditors ...RequestEditorFn) (*GetIdpMapperResponse, error)
// UpdateIdpMapperWithBodyWithResponse Update a mapper for the identity provider
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/orgs/{orgId}/idps/{alias}/mappers/{id} (the `UpdateIdpMapper` operationId).
UpdateIdpMapperWithBodyWithResponse(ctx context.Context, realm string, orgId string, alias string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIdpMapperResponse, error)
// UpdateIdpMapperWithResponse Update a mapper for the identity provider
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/orgs/{orgId}/idps/{alias}/mappers/{id} (the `UpdateIdpMapper` operationId).
UpdateIdpMapperWithResponse(ctx context.Context, realm string, orgId string, alias string, id string, body UpdateIdpMapperJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateIdpMapperResponse, error)
// UnlinkIdpWithResponse Unlink an existing and linked identity provider from this organization
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs/{orgId}/idps/{alias}/unlink (the `UnlinkIdp` operationId).
UnlinkIdpWithResponse(ctx context.Context, realm string, orgId string, alias string, reqEditors ...RequestEditorFn) (*UnlinkIdpResponse, error)
// GetOrganizationInvitationsWithResponse Get organization invitations
//
// Get a paginated list of invitations to an organization, using an optional search query for email address.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/{orgId}/invitations (the `GetOrganizationInvitations` operationId).
GetOrganizationInvitationsWithResponse(ctx context.Context, realm string, orgId string, params *GetOrganizationInvitationsParams, reqEditors ...RequestEditorFn) (*GetOrganizationInvitationsResponse, error)
// AddOrganizationInvitationWithBodyWithResponse Create an invitation to an organization
//
// Create an invitation to join the specified organization. Requires a user to register with the application (if they don't already have an account) before they can accept the invitation. Acceptance happens during login via a required action.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs/{orgId}/invitations (the `AddOrganizationInvitation` operationId).
AddOrganizationInvitationWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddOrganizationInvitationResponse, error)
// AddOrganizationInvitationWithResponse Create an invitation to an organization
//
// Create an invitation to join the specified organization. Requires a user to register with the application (if they don't already have an account) before they can accept the invitation. Acceptance happens during login via a required action.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs/{orgId}/invitations (the `AddOrganizationInvitation` operationId).
AddOrganizationInvitationWithResponse(ctx context.Context, realm string, orgId string, body AddOrganizationInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*AddOrganizationInvitationResponse, error)
// GetOrganizationInvitationCountWithResponse Get organization invitation count
//
// Get a count of invitations to an organization.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/{orgId}/invitations/count (the `GetOrganizationInvitationCount` operationId).
GetOrganizationInvitationCountWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*GetOrganizationInvitationCountResponse, error)
// RemoveOrganizationInvitationWithResponse Remove a pending invitation
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /{realm}/orgs/{orgId}/invitations/{invitationId} (the `RemoveOrganizationInvitation` operationId).
RemoveOrganizationInvitationWithResponse(ctx context.Context, realm string, orgId string, invitationId string, reqEditors ...RequestEditorFn) (*RemoveOrganizationInvitationResponse, error)
// GetOrganizationInvitationByIdWithResponse Get organization invitation by ID
//
// Get an invitation to an organization by its uuid.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/{orgId}/invitations/{invitationId} (the `GetOrganizationInvitationById` operationId).
GetOrganizationInvitationByIdWithResponse(ctx context.Context, realm string, orgId string, invitationId string, reqEditors ...RequestEditorFn) (*GetOrganizationInvitationByIdResponse, error)
// ResendOrganizationInvitationWithResponse Resend an Organization Invitation
//
// Resend the email for an existing Organization Invitation.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/orgs/{orgId}/invitations/{invitationId}/resend-email (the `ResendOrganizationInvitation` operationId).
ResendOrganizationInvitationWithResponse(ctx context.Context, realm string, orgId string, invitationId string, reqEditors ...RequestEditorFn) (*ResendOrganizationInvitationResponse, error)
// GetOrganizationMembershipsWithResponse Get organization memberships
//
// Get a paginated list of users who are a member of the specified organization.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/{orgId}/members (the `GetOrganizationMemberships` operationId).
GetOrganizationMembershipsWithResponse(ctx context.Context, realm string, orgId string, params *GetOrganizationMembershipsParams, reqEditors ...RequestEditorFn) (*GetOrganizationMembershipsResponse, error)
// GetOrganizationMembershipsCountWithResponse Get organization members count
//
// Get total number of members of a given organization.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/{orgId}/members/count (the `GetOrganizationMembershipsCount` operationId).
GetOrganizationMembershipsCountWithResponse(ctx context.Context, realm string, orgId string, params *GetOrganizationMembershipsCountParams, reqEditors ...RequestEditorFn) (*GetOrganizationMembershipsCountResponse, error)
// RemoveOrganizationMemberWithResponse Remove an organization member
//
// Remove the specified user from the specified organization as a member.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /{realm}/orgs/{orgId}/members/{userId} (the `RemoveOrganizationMember` operationId).
RemoveOrganizationMemberWithResponse(ctx context.Context, realm string, orgId string, userId string, reqEditors ...RequestEditorFn) (*RemoveOrganizationMemberResponse, error)
// CheckOrganizationMembershipWithResponse Check if a user is a member of an organization
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/{orgId}/members/{userId} (the `CheckOrganizationMembership` operationId).
CheckOrganizationMembershipWithResponse(ctx context.Context, realm string, orgId string, userId string, reqEditors ...RequestEditorFn) (*CheckOrganizationMembershipResponse, error)
// AddOrganizationMemberWithResponse Add an organization member
//
// Add the specified user to the specified organization as a member.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/orgs/{orgId}/members/{userId} (the `AddOrganizationMember` operationId).
AddOrganizationMemberWithResponse(ctx context.Context, realm string, orgId string, userId string, reqEditors ...RequestEditorFn) (*AddOrganizationMemberResponse, error)
// GetOrganizationMemberAttributesWithResponse Get organization member attributes
//
// Get attributes for a specific member of an organization.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/{orgId}/members/{userId}/attributes (the `GetOrganizationMemberAttributes` operationId).
GetOrganizationMemberAttributesWithResponse(ctx context.Context, realm string, orgId string, userId string, reqEditors ...RequestEditorFn) (*GetOrganizationMemberAttributesResponse, error)
// AddOrganizationMemberAttributesWithBodyWithResponse Add/update organization member attributes
//
// Add or update attributes for a specific member of an organization.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/orgs/{orgId}/members/{userId}/attributes (the `AddOrganizationMemberAttributes` operationId).
AddOrganizationMemberAttributesWithBodyWithResponse(ctx context.Context, realm string, orgId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddOrganizationMemberAttributesResponse, error)
// AddOrganizationMemberAttributesWithResponse Add/update organization member attributes
//
// Add or update attributes for a specific member of an organization.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/orgs/{orgId}/members/{userId}/attributes (the `AddOrganizationMemberAttributes` operationId).
AddOrganizationMemberAttributesWithResponse(ctx context.Context, realm string, orgId string, userId string, body AddOrganizationMemberAttributesJSONRequestBody, reqEditors ...RequestEditorFn) (*AddOrganizationMemberAttributesResponse, error)
// CreatePortalLinkWithBodyWithResponse Create a link for the organization's IdP Wizard
//
// Create a link for this organization's IdP Wizard. This link encodes an action token on behalf of the organization's default admin user, or the user that is optionally specified in this request. The user specified must be a member of this organization, and have full organization admin roles.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs/{orgId}/portal-link (the `CreatePortalLink` operationId).
CreatePortalLinkWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePortalLinkResponse, error)
// CreatePortalLinkWithFormdataBodyWithResponse Create a link for the organization's IdP Wizard
//
// Create a link for this organization's IdP Wizard. This link encodes an action token on behalf of the organization's default admin user, or the user that is optionally specified in this request. The user specified must be a member of this organization, and have full organization admin roles.
//
// Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs/{orgId}/portal-link (the `CreatePortalLink` operationId).
CreatePortalLinkWithFormdataBodyWithResponse(ctx context.Context, realm string, orgId string, body CreatePortalLinkFormdataRequestBody, reqEditors ...RequestEditorFn) (*CreatePortalLinkResponse, error)
// GetOrganizationRolesWithResponse Get roles for this organization
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/{orgId}/roles (the `GetOrganizationRoles` operationId).
GetOrganizationRolesWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*GetOrganizationRolesResponse, error)
// DeleteOrganizationRolesWithBodyWithResponse Delete this organization roles
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /{realm}/orgs/{orgId}/roles (the `DeleteOrganizationRoles` operationId).
DeleteOrganizationRolesWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteOrganizationRolesResponse, error)
// DeleteOrganizationRolesWithResponse Delete this organization roles
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /{realm}/orgs/{orgId}/roles (the `DeleteOrganizationRoles` operationId).
DeleteOrganizationRolesWithResponse(ctx context.Context, realm string, orgId string, body DeleteOrganizationRolesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteOrganizationRolesResponse, error)
// CreateOrganizationRoleWithBodyWithResponse Create a new role for this organization
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs/{orgId}/roles (the `CreateOrganizationRole` operationId).
CreateOrganizationRoleWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationRoleResponse, error)
// CreateOrganizationRoleWithResponse Create a new role for this organization
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs/{orgId}/roles (the `CreateOrganizationRole` operationId).
CreateOrganizationRoleWithResponse(ctx context.Context, realm string, orgId string, body CreateOrganizationRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationRoleResponse, error)
// CreateOrganizationRolesWithBodyWithResponse Create new roles for this organization
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/orgs/{orgId}/roles (the `CreateOrganizationRoles` operationId).
CreateOrganizationRolesWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationRolesResponse, error)
// CreateOrganizationRolesWithResponse Create new roles for this organization
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/orgs/{orgId}/roles (the `CreateOrganizationRoles` operationId).
CreateOrganizationRolesWithResponse(ctx context.Context, realm string, orgId string, body CreateOrganizationRolesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationRolesResponse, error)
// DeleteOrganizationRoleWithResponse Delete this organization role
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /{realm}/orgs/{orgId}/roles/{name} (the `DeleteOrganizationRole` operationId).
DeleteOrganizationRoleWithResponse(ctx context.Context, realm string, orgId string, name string, reqEditors ...RequestEditorFn) (*DeleteOrganizationRoleResponse, error)
// GetOrganizationRoleWithResponse Get role for this organization by name
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/{orgId}/roles/{name} (the `GetOrganizationRole` operationId).
GetOrganizationRoleWithResponse(ctx context.Context, realm string, orgId string, name string, reqEditors ...RequestEditorFn) (*GetOrganizationRoleResponse, error)
// UpdateOrganizationRoleWithBodyWithResponse Update role for this organization
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/orgs/{orgId}/roles/{name} (the `UpdateOrganizationRole` operationId).
UpdateOrganizationRoleWithBodyWithResponse(ctx context.Context, realm string, orgId string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationRoleResponse, error)
// UpdateOrganizationRoleWithResponse Update role for this organization
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/orgs/{orgId}/roles/{name} (the `UpdateOrganizationRole` operationId).
UpdateOrganizationRoleWithResponse(ctx context.Context, realm string, orgId string, name string, body UpdateOrganizationRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationRoleResponse, error)
// GetUserOrganizationRolesWithResponse Get users with this organization role
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/{orgId}/roles/{name}/users (the `GetUserOrganizationRoles` operationId).
GetUserOrganizationRolesWithResponse(ctx context.Context, realm string, orgId string, name string, reqEditors ...RequestEditorFn) (*GetUserOrganizationRolesResponse, error)
// RevokeUserOrganizationRoleWithResponse Revoke an organization role from a user
//
// Revoke the specified organization role from the specified user.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /{realm}/orgs/{orgId}/roles/{name}/users/{userId} (the `RevokeUserOrganizationRole` operationId).
RevokeUserOrganizationRoleWithResponse(ctx context.Context, realm string, orgId string, name string, userId string, reqEditors ...RequestEditorFn) (*RevokeUserOrganizationRoleResponse, error)
// CheckUserOrganizationRoleWithResponse Check if a user has an organization role
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/{orgId}/roles/{name}/users/{userId} (the `CheckUserOrganizationRole` operationId).
CheckUserOrganizationRoleWithResponse(ctx context.Context, realm string, orgId string, name string, userId string, reqEditors ...RequestEditorFn) (*CheckUserOrganizationRoleResponse, error)
// GrantUserOrganizationRoleWithResponse Grant a user an organization role
//
// Grant the specified user to the specified organization role.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/orgs/{orgId}/roles/{name}/users/{userId} (the `GrantUserOrganizationRole` operationId).
GrantUserOrganizationRoleWithResponse(ctx context.Context, realm string, orgId string, name string, userId string, reqEditors ...RequestEditorFn) (*GrantUserOrganizationRoleResponse, error)
// DeleteOrganizationScimConfigWithResponse Delete the SCIM configuration for an organization
//
// Removes the SCIM 2.0 service-provider configuration for the
// organization. Requires `manage-organizations` or
// `manage-identity-providers` on the organization.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /{realm}/orgs/{orgId}/scim (the `DeleteOrganizationScimConfig` operationId).
DeleteOrganizationScimConfigWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*DeleteOrganizationScimConfigResponse, error)
// GetOrganizationScimConfigWithResponse Get the SCIM configuration for an organization
//
// Returns the SCIM 2.0 service-provider configuration for the
// organization. Requires `view-organizations` or
// `view-identity-providers` on the organization. Returns 404 if
// the realm-level SCIM flag (`scimEnabled` in the orgs config) is
// off, or if no configuration exists for the organization yet.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/orgs/{orgId}/scim (the `GetOrganizationScimConfig` operationId).
GetOrganizationScimConfigWithResponse(ctx context.Context, realm string, orgId string, reqEditors ...RequestEditorFn) (*GetOrganizationScimConfigResponse, error)
// CreateOrganizationScimConfigWithBodyWithResponse Create the SCIM configuration for an organization
//
// Creates the SCIM 2.0 service-provider configuration for the
// organization. Requires `manage-organizations` or
// `manage-identity-providers` on the organization. Returns 404 if
// the realm-level SCIM flag is off, and 409 if a configuration
// already exists for the organization. Cleartext secrets and basic
// passwords submitted here are hashed with Argon2id before
// persistence.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs/{orgId}/scim (the `CreateOrganizationScimConfig` operationId).
CreateOrganizationScimConfigWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationScimConfigResponse, error)
// CreateOrganizationScimConfigWithResponse Create the SCIM configuration for an organization
//
// Creates the SCIM 2.0 service-provider configuration for the
// organization. Requires `manage-organizations` or
// `manage-identity-providers` on the organization. Returns 404 if
// the realm-level SCIM flag is off, and 409 if a configuration
// already exists for the organization. Cleartext secrets and basic
// passwords submitted here are hashed with Argon2id before
// persistence.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/orgs/{orgId}/scim (the `CreateOrganizationScimConfig` operationId).
CreateOrganizationScimConfigWithResponse(ctx context.Context, realm string, orgId string, body CreateOrganizationScimConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationScimConfigResponse, error)
// UpdateOrganizationScimConfigWithBodyWithResponse Update the SCIM configuration for an organization
//
// Updates the SCIM 2.0 service-provider configuration for the
// organization. Requires `manage-organizations` or
// `manage-identity-providers` on the organization. Omit
// secret/password fields on `auth` to preserve the existing stored
// credential; supply a new value to rotate.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/orgs/{orgId}/scim (the `UpdateOrganizationScimConfig` operationId).
UpdateOrganizationScimConfigWithBodyWithResponse(ctx context.Context, realm string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationScimConfigResponse, error)
// UpdateOrganizationScimConfigWithResponse Update the SCIM configuration for an organization
//
// Updates the SCIM 2.0 service-provider configuration for the
// organization. Requires `manage-organizations` or
// `manage-identity-providers` on the organization. Omit
// secret/password fields on `auth` to preserve the existing stored
// credential; supply a new value to rotate.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/orgs/{orgId}/scim (the `UpdateOrganizationScimConfig` operationId).
UpdateOrganizationScimConfigWithResponse(ctx context.Context, realm string, orgId string, body UpdateOrganizationScimConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationScimConfigResponse, error)
// GetActiveOrganizationWithResponse Get active organization for authenticated user
//
// Get the currently active organization for the authenticated user.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/users/active-organization (the `GetActiveOrganization` operationId).
GetActiveOrganizationWithResponse(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*GetActiveOrganizationResponse, error)
// SwitchActiveOrganizationWithBodyWithResponse Switch active organization for authenticated user
//
// Switch the active organization context for the authenticated user.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/users/switch-organization (the `SwitchActiveOrganization` operationId).
SwitchActiveOrganizationWithBodyWithResponse(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SwitchActiveOrganizationResponse, error)
// SwitchActiveOrganizationWithResponse Switch active organization for authenticated user
//
// Switch the active organization context for the authenticated user.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/users/switch-organization (the `SwitchActiveOrganization` operationId).
SwitchActiveOrganizationWithResponse(ctx context.Context, realm string, body SwitchActiveOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*SwitchActiveOrganizationResponse, error)
// ListUserOrganizationsWithResponse List organizations for the given user
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/users/{userId}/orgs (the `ListUserOrganizations` operationId).
ListUserOrganizationsWithResponse(ctx context.Context, realm string, userId string, reqEditors ...RequestEditorFn) (*ListUserOrganizationsResponse, error)
// ListUserRolesInOrganizationWithResponse List organization roles for the given user and org
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/users/{userId}/orgs/{orgId}/roles (the `ListUserRolesInOrganization` operationId).
ListUserRolesInOrganizationWithResponse(ctx context.Context, realm string, userId string, orgId string, reqEditors ...RequestEditorFn) (*ListUserRolesInOrganizationResponse, error)
// RevokeUserRolesInOrganizationWithBodyWithResponse Revoke organization roles from a user
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /{realm}/users/{userId}/orgs/{orgId}/roles (the `RevokeUserRolesInOrganization` operationId).
RevokeUserRolesInOrganizationWithBodyWithResponse(ctx context.Context, realm string, userId string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RevokeUserRolesInOrganizationResponse, error)
// RevokeUserRolesInOrganizationWithResponse Revoke organization roles from a user
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /{realm}/users/{userId}/orgs/{orgId}/roles (the `RevokeUserRolesInOrganization` operationId).
RevokeUserRolesInOrganizationWithResponse(ctx context.Context, realm string, userId string, orgId string, body RevokeUserRolesInOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*RevokeUserRolesInOrganizationResponse, error)
// GrantUserRolesInOrganizationWithBodyWithResponse Grant a user organization roles
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/users/{userId}/orgs/{orgId}/roles (the `GrantUserRolesInOrganization` operationId).
GrantUserRolesInOrganizationWithBodyWithResponse(ctx context.Context, realm string, userId string, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GrantUserRolesInOrganizationResponse, error)
// GrantUserRolesInOrganizationWithResponse Grant a user organization roles
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/users/{userId}/orgs/{orgId}/roles (the `GrantUserRolesInOrganization` operationId).
GrantUserRolesInOrganizationWithResponse(ctx context.Context, realm string, userId string, orgId string, body GrantUserRolesInOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*GrantUserRolesInOrganizationResponse, error)
// GetWebhooksWithResponse Get webhooks
//
// Get a list of webhooks for this realm.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/webhooks (the `GetWebhooks` operationId).
GetWebhooksWithResponse(ctx context.Context, realm string, params *GetWebhooksParams, reqEditors ...RequestEditorFn) (*GetWebhooksResponse, error)
// CreateWebhookWithBodyWithResponse Create a new webhook
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/webhooks (the `CreateWebhook` operationId).
CreateWebhookWithBodyWithResponse(ctx context.Context, realm string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)
// CreateWebhookWithResponse Create a new webhook
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/webhooks (the `CreateWebhook` operationId).
CreateWebhookWithResponse(ctx context.Context, realm string, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)
// GetWebhooksCountWithResponse Get webhooks count
//
// Get a count of webhooks.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/webhooks/count (the `GetWebhooksCount` operationId).
GetWebhooksCountWithResponse(ctx context.Context, realm string, reqEditors ...RequestEditorFn) (*GetWebhooksCountResponse, error)
// GetPayloadByKeycloakTypeAndIdWithResponse Get a payload by Keycloak type and id
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/webhooks/payload/{type}/{kid} (the `GetPayloadByKeycloakTypeAndId` operationId).
GetPayloadByKeycloakTypeAndIdWithResponse(ctx context.Context, realm string, pType string, kid string, reqEditors ...RequestEditorFn) (*GetPayloadByKeycloakTypeAndIdResponse, error)
// GetWebhookSendsByKeycloakTypeAndIdWithResponse Get all webhook sends triggered by a Keycloak event
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/webhooks/sends/{type}/{kid} (the `GetWebhookSendsByKeycloakTypeAndId` operationId).
GetWebhookSendsByKeycloakTypeAndIdWithResponse(ctx context.Context, realm string, pType string, kid string, reqEditors ...RequestEditorFn) (*GetWebhookSendsByKeycloakTypeAndIdResponse, error)
// DeleteWebhookWithResponse Delete the webhook
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /{realm}/webhooks/{webhookId} (the `DeleteWebhook` operationId).
DeleteWebhookWithResponse(ctx context.Context, realm string, webhookId string, reqEditors ...RequestEditorFn) (*DeleteWebhookResponse, error)
// GetWebhookByIdWithResponse Get webhook by id
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/webhooks/{webhookId} (the `GetWebhookById` operationId).
GetWebhookByIdWithResponse(ctx context.Context, realm string, webhookId string, reqEditors ...RequestEditorFn) (*GetWebhookByIdResponse, error)
// UpdateWebhookWithBodyWithResponse Update this webhook by id
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/webhooks/{webhookId} (the `UpdateWebhook` operationId).
UpdateWebhookWithBodyWithResponse(ctx context.Context, realm string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)
// UpdateWebhookWithResponse Update this webhook by id
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /{realm}/webhooks/{webhookId} (the `UpdateWebhook` operationId).
UpdateWebhookWithResponse(ctx context.Context, realm string, webhookId string, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)
// GetWebhookSecretByIdWithResponse Get webhook secret by id
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/webhooks/{webhookId}/secret (the `GetWebhookSecretById` operationId).
GetWebhookSecretByIdWithResponse(ctx context.Context, realm string, webhookId string, reqEditors ...RequestEditorFn) (*GetWebhookSecretByIdResponse, error)
// GetWebhookSendsWithResponse Get webhook sends
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/webhooks/{webhookId}/sends (the `GetWebhookSends` operationId).
GetWebhookSendsWithResponse(ctx context.Context, realm string, webhookId string, params *GetWebhookSendsParams, reqEditors ...RequestEditorFn) (*GetWebhookSendsResponse, error)
// GetWebhookSendByIdWithResponse Get webhook send by id
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /{realm}/webhooks/{webhookId}/sends/{sendId} (the `GetWebhookSendById` operationId).
GetWebhookSendByIdWithResponse(ctx context.Context, realm string, webhookId string, sendId string, reqEditors ...RequestEditorFn) (*GetWebhookSendByIdResponse, error)
// ResendWebhookByIdWithResponse Resend a webhook by send ID
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /{realm}/webhooks/{webhookId}/sends/{sendId}/resend (the `ResendWebhookById` operationId).
ResendWebhookByIdWithResponse(ctx context.Context, realm string, webhookId string, sendId string, reqEditors ...RequestEditorFn) (*ResendWebhookByIdResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateEventJSONRequestBody ¶
type CreateEventJSONRequestBody = EventRepresentation
CreateEventJSONRequestBody defines body for CreateEvent for application/json ContentType.
type CreateEventResponse ¶
func ParseCreateEventResponse ¶
func ParseCreateEventResponse(rsp *http.Response) (*CreateEventResponse, error)
ParseCreateEventResponse parses an HTTP response from a CreateEventWithResponse call
func (CreateEventResponse) ContentType ¶
func (r CreateEventResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateEventResponse) GetBody ¶
func (r CreateEventResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateEventResponse) Status ¶
func (r CreateEventResponse) Status() string
Status returns HTTPResponse.Status
func (CreateEventResponse) StatusCode ¶
func (r CreateEventResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateIdpInitiatedClientJSONRequestBody ¶
type CreateIdpInitiatedClientJSONRequestBody = IdpInitiatedClientRepresentation
CreateIdpInitiatedClientJSONRequestBody defines body for CreateIdpInitiatedClient for application/json ContentType.
type CreateIdpInitiatedClientResponse ¶
type CreateIdpInitiatedClientResponse struct {
Body []byte
HTTPResponse *http.Response
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *CreateIdpInitiatedClientResponse201Headers
}
func ParseCreateIdpInitiatedClientResponse ¶
func ParseCreateIdpInitiatedClientResponse(rsp *http.Response) (*CreateIdpInitiatedClientResponse, error)
ParseCreateIdpInitiatedClientResponse parses an HTTP response from a CreateIdpInitiatedClientWithResponse call
func (CreateIdpInitiatedClientResponse) ContentType ¶
func (r CreateIdpInitiatedClientResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateIdpInitiatedClientResponse) GetBody ¶
func (r CreateIdpInitiatedClientResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateIdpInitiatedClientResponse) Status ¶
func (r CreateIdpInitiatedClientResponse) Status() string
Status returns HTTPResponse.Status
func (CreateIdpInitiatedClientResponse) StatusCode ¶
func (r CreateIdpInitiatedClientResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateIdpInitiatedClientResponse201Headers ¶
type CreateIdpInitiatedClientResponse201Headers struct {
Location *string
}
CreateIdpInitiatedClientResponse201Headers the declared response headers of an HTTP 201 response for CreateIdpInitiatedClient
type CreateIdpJSONRequestBody ¶
type CreateIdpJSONRequestBody = IdentityProviderRepresentation
CreateIdpJSONRequestBody defines body for CreateIdp for application/json ContentType.
type CreateIdpResponse ¶
type CreateIdpResponse struct {
Body []byte
HTTPResponse *http.Response
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *CreateIdpResponse201Headers
}
func ParseCreateIdpResponse ¶
func ParseCreateIdpResponse(rsp *http.Response) (*CreateIdpResponse, error)
ParseCreateIdpResponse parses an HTTP response from a CreateIdpWithResponse call
func (CreateIdpResponse) ContentType ¶
func (r CreateIdpResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateIdpResponse) GetBody ¶
func (r CreateIdpResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateIdpResponse) Status ¶
func (r CreateIdpResponse) Status() string
Status returns HTTPResponse.Status
func (CreateIdpResponse) StatusCode ¶
func (r CreateIdpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateIdpResponse201Headers ¶ added in v0.3.0
type CreateIdpResponse201Headers struct {
Location *string
}
CreateIdpResponse201Headers the declared response headers of an HTTP 201 response for CreateIdp
type CreateMagicLinkJSONRequestBody ¶
type CreateMagicLinkJSONRequestBody = MagicLinkRequest
CreateMagicLinkJSONRequestBody defines body for CreateMagicLink for application/json ContentType.
type CreateMagicLinkResponse ¶
type CreateMagicLinkResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MagicLinkResponse
}
func ParseCreateMagicLinkResponse ¶
func ParseCreateMagicLinkResponse(rsp *http.Response) (*CreateMagicLinkResponse, error)
ParseCreateMagicLinkResponse parses an HTTP response from a CreateMagicLinkWithResponse call
func (CreateMagicLinkResponse) ContentType ¶
func (r CreateMagicLinkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateMagicLinkResponse) GetBody ¶
func (r CreateMagicLinkResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateMagicLinkResponse) GetJSON200 ¶
func (r CreateMagicLinkResponse) GetJSON200() *MagicLinkResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateMagicLinkResponse) Status ¶
func (r CreateMagicLinkResponse) Status() string
Status returns HTTPResponse.Status
func (CreateMagicLinkResponse) StatusCode ¶
func (r CreateMagicLinkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateOrganizationJSONRequestBody ¶
type CreateOrganizationJSONRequestBody = OrganizationRepresentation
CreateOrganizationJSONRequestBody defines body for CreateOrganization for application/json ContentType.
type CreateOrganizationResponse ¶
type CreateOrganizationResponse struct {
Body []byte
HTTPResponse *http.Response
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *CreateOrganizationResponse201Headers
}
func ParseCreateOrganizationResponse ¶
func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationResponse, error)
ParseCreateOrganizationResponse parses an HTTP response from a CreateOrganizationWithResponse call
func (CreateOrganizationResponse) ContentType ¶
func (r CreateOrganizationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateOrganizationResponse) GetBody ¶
func (r CreateOrganizationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateOrganizationResponse) Status ¶
func (r CreateOrganizationResponse) Status() string
Status returns HTTPResponse.Status
func (CreateOrganizationResponse) StatusCode ¶
func (r CreateOrganizationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateOrganizationResponse201Headers ¶
type CreateOrganizationResponse201Headers struct {
Location *string
}
CreateOrganizationResponse201Headers the declared response headers of an HTTP 201 response for CreateOrganization
type CreateOrganizationRoleJSONRequestBody ¶
type CreateOrganizationRoleJSONRequestBody = OrganizationRoleRepresentation
CreateOrganizationRoleJSONRequestBody defines body for CreateOrganizationRole for application/json ContentType.
type CreateOrganizationRoleResponse ¶
type CreateOrganizationRoleResponse struct {
Body []byte
HTTPResponse *http.Response
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *CreateOrganizationRoleResponse201Headers
}
func ParseCreateOrganizationRoleResponse ¶
func ParseCreateOrganizationRoleResponse(rsp *http.Response) (*CreateOrganizationRoleResponse, error)
ParseCreateOrganizationRoleResponse parses an HTTP response from a CreateOrganizationRoleWithResponse call
func (CreateOrganizationRoleResponse) ContentType ¶
func (r CreateOrganizationRoleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateOrganizationRoleResponse) GetBody ¶
func (r CreateOrganizationRoleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateOrganizationRoleResponse) Status ¶
func (r CreateOrganizationRoleResponse) Status() string
Status returns HTTPResponse.Status
func (CreateOrganizationRoleResponse) StatusCode ¶
func (r CreateOrganizationRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateOrganizationRoleResponse201Headers ¶ added in v0.3.0
type CreateOrganizationRoleResponse201Headers struct {
Location *string
}
CreateOrganizationRoleResponse201Headers the declared response headers of an HTTP 201 response for CreateOrganizationRole
type CreateOrganizationRolesJSONBody ¶
type CreateOrganizationRolesJSONBody = []OrganizationRoleRepresentation
CreateOrganizationRolesJSONBody defines parameters for CreateOrganizationRoles.
type CreateOrganizationRolesJSONRequestBody ¶
type CreateOrganizationRolesJSONRequestBody = CreateOrganizationRolesJSONBody
CreateOrganizationRolesJSONRequestBody defines body for CreateOrganizationRoles for application/json ContentType.
type CreateOrganizationRolesResponse ¶
type CreateOrganizationRolesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON207 the response for an HTTP 207 `application/json` response
JSON207 *[]BulkResponseItem
}
func ParseCreateOrganizationRolesResponse ¶
func ParseCreateOrganizationRolesResponse(rsp *http.Response) (*CreateOrganizationRolesResponse, error)
ParseCreateOrganizationRolesResponse parses an HTTP response from a CreateOrganizationRolesWithResponse call
func (CreateOrganizationRolesResponse) ContentType ¶
func (r CreateOrganizationRolesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateOrganizationRolesResponse) GetBody ¶
func (r CreateOrganizationRolesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateOrganizationRolesResponse) GetJSON207 ¶
func (r CreateOrganizationRolesResponse) GetJSON207() *[]BulkResponseItem
GetJSON207 returns the response for an HTTP 207 `application/json` response
func (CreateOrganizationRolesResponse) Status ¶
func (r CreateOrganizationRolesResponse) Status() string
Status returns HTTPResponse.Status
func (CreateOrganizationRolesResponse) StatusCode ¶
func (r CreateOrganizationRolesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateOrganizationScimConfigJSONRequestBody ¶
type CreateOrganizationScimConfigJSONRequestBody = OrganizationScimRepresentation
CreateOrganizationScimConfigJSONRequestBody defines body for CreateOrganizationScimConfig for application/json ContentType.
type CreateOrganizationScimConfigResponse ¶
type CreateOrganizationScimConfigResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *OrganizationScimRepresentation
}
func ParseCreateOrganizationScimConfigResponse ¶
func ParseCreateOrganizationScimConfigResponse(rsp *http.Response) (*CreateOrganizationScimConfigResponse, error)
ParseCreateOrganizationScimConfigResponse parses an HTTP response from a CreateOrganizationScimConfigWithResponse call
func (CreateOrganizationScimConfigResponse) ContentType ¶
func (r CreateOrganizationScimConfigResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateOrganizationScimConfigResponse) GetBody ¶
func (r CreateOrganizationScimConfigResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateOrganizationScimConfigResponse) GetJSON201 ¶
func (r CreateOrganizationScimConfigResponse) GetJSON201() *OrganizationScimRepresentation
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateOrganizationScimConfigResponse) Status ¶
func (r CreateOrganizationScimConfigResponse) Status() string
Status returns HTTPResponse.Status
func (CreateOrganizationScimConfigResponse) StatusCode ¶
func (r CreateOrganizationScimConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePortalLinkFormdataBody ¶
type CreatePortalLinkFormdataBody struct {
UserId *string `form:"userId,omitempty" json:"userId,omitempty"`
}
CreatePortalLinkFormdataBody defines parameters for CreatePortalLink.
type CreatePortalLinkFormdataRequestBody ¶
type CreatePortalLinkFormdataRequestBody CreatePortalLinkFormdataBody
CreatePortalLinkFormdataRequestBody defines body for CreatePortalLink for application/x-www-form-urlencoded ContentType.
type CreatePortalLinkResponse ¶
type CreatePortalLinkResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PortalLinkRepresentation
}
func ParseCreatePortalLinkResponse ¶
func ParseCreatePortalLinkResponse(rsp *http.Response) (*CreatePortalLinkResponse, error)
ParseCreatePortalLinkResponse parses an HTTP response from a CreatePortalLinkWithResponse call
func (CreatePortalLinkResponse) ContentType ¶
func (r CreatePortalLinkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreatePortalLinkResponse) GetBody ¶
func (r CreatePortalLinkResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreatePortalLinkResponse) GetJSON200 ¶
func (r CreatePortalLinkResponse) GetJSON200() *PortalLinkRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreatePortalLinkResponse) Status ¶
func (r CreatePortalLinkResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePortalLinkResponse) StatusCode ¶
func (r CreatePortalLinkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateRealmAttributeJSONRequestBody ¶
type CreateRealmAttributeJSONRequestBody = RealmAttributeRepresentation
CreateRealmAttributeJSONRequestBody defines body for CreateRealmAttribute for application/json ContentType.
type CreateRealmAttributeResponse ¶
type CreateRealmAttributeResponse struct {
Body []byte
HTTPResponse *http.Response
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *CreateRealmAttributeResponse201Headers
}
func ParseCreateRealmAttributeResponse ¶
func ParseCreateRealmAttributeResponse(rsp *http.Response) (*CreateRealmAttributeResponse, error)
ParseCreateRealmAttributeResponse parses an HTTP response from a CreateRealmAttributeWithResponse call
func (CreateRealmAttributeResponse) ContentType ¶
func (r CreateRealmAttributeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateRealmAttributeResponse) GetBody ¶
func (r CreateRealmAttributeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateRealmAttributeResponse) Status ¶
func (r CreateRealmAttributeResponse) Status() string
Status returns HTTPResponse.Status
func (CreateRealmAttributeResponse) StatusCode ¶
func (r CreateRealmAttributeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateRealmAttributeResponse201Headers ¶ added in v0.3.0
type CreateRealmAttributeResponse201Headers struct {
Location *string
}
CreateRealmAttributeResponse201Headers the declared response headers of an HTTP 201 response for CreateRealmAttribute
type CreateWebhookJSONRequestBody ¶
type CreateWebhookJSONRequestBody = WebhookRepresentation
CreateWebhookJSONRequestBody defines body for CreateWebhook for application/json ContentType.
type CreateWebhookResponse ¶
type CreateWebhookResponse struct {
Body []byte
HTTPResponse *http.Response
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *CreateWebhookResponse201Headers
}
func ParseCreateWebhookResponse ¶
func ParseCreateWebhookResponse(rsp *http.Response) (*CreateWebhookResponse, error)
ParseCreateWebhookResponse parses an HTTP response from a CreateWebhookWithResponse call
func (CreateWebhookResponse) ContentType ¶
func (r CreateWebhookResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateWebhookResponse) GetBody ¶
func (r CreateWebhookResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateWebhookResponse) Status ¶
func (r CreateWebhookResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWebhookResponse) StatusCode ¶
func (r CreateWebhookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateWebhookResponse201Headers ¶ added in v0.3.0
type CreateWebhookResponse201Headers struct {
Location *string
}
CreateWebhookResponse201Headers the declared response headers of an HTTP 201 response for CreateWebhook
type CredentialRepresentation ¶
type CredentialRepresentation struct {
Type *string `json:"type,omitempty"`
Value *string `json:"value,omitempty"`
}
CredentialRepresentation defines model for CredentialRepresentation.
type DeleteIdpMapperResponse ¶
func ParseDeleteIdpMapperResponse ¶
func ParseDeleteIdpMapperResponse(rsp *http.Response) (*DeleteIdpMapperResponse, error)
ParseDeleteIdpMapperResponse parses an HTTP response from a DeleteIdpMapperWithResponse call
func (DeleteIdpMapperResponse) ContentType ¶
func (r DeleteIdpMapperResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteIdpMapperResponse) GetBody ¶
func (r DeleteIdpMapperResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteIdpMapperResponse) Status ¶
func (r DeleteIdpMapperResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIdpMapperResponse) StatusCode ¶
func (r DeleteIdpMapperResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIdpResponse ¶
func ParseDeleteIdpResponse ¶
func ParseDeleteIdpResponse(rsp *http.Response) (*DeleteIdpResponse, error)
ParseDeleteIdpResponse parses an HTTP response from a DeleteIdpWithResponse call
func (DeleteIdpResponse) ContentType ¶
func (r DeleteIdpResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteIdpResponse) GetBody ¶
func (r DeleteIdpResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteIdpResponse) Status ¶
func (r DeleteIdpResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIdpResponse) StatusCode ¶
func (r DeleteIdpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteOrganizationResponse ¶
func ParseDeleteOrganizationResponse ¶
func ParseDeleteOrganizationResponse(rsp *http.Response) (*DeleteOrganizationResponse, error)
ParseDeleteOrganizationResponse parses an HTTP response from a DeleteOrganizationWithResponse call
func (DeleteOrganizationResponse) ContentType ¶
func (r DeleteOrganizationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteOrganizationResponse) GetBody ¶
func (r DeleteOrganizationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteOrganizationResponse) Status ¶
func (r DeleteOrganizationResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteOrganizationResponse) StatusCode ¶
func (r DeleteOrganizationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteOrganizationRoleResponse ¶
func ParseDeleteOrganizationRoleResponse ¶
func ParseDeleteOrganizationRoleResponse(rsp *http.Response) (*DeleteOrganizationRoleResponse, error)
ParseDeleteOrganizationRoleResponse parses an HTTP response from a DeleteOrganizationRoleWithResponse call
func (DeleteOrganizationRoleResponse) ContentType ¶
func (r DeleteOrganizationRoleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteOrganizationRoleResponse) GetBody ¶
func (r DeleteOrganizationRoleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteOrganizationRoleResponse) Status ¶
func (r DeleteOrganizationRoleResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteOrganizationRoleResponse) StatusCode ¶
func (r DeleteOrganizationRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteOrganizationRolesJSONBody ¶
type DeleteOrganizationRolesJSONBody = []OrganizationRoleRepresentation
DeleteOrganizationRolesJSONBody defines parameters for DeleteOrganizationRoles.
type DeleteOrganizationRolesJSONRequestBody ¶
type DeleteOrganizationRolesJSONRequestBody = DeleteOrganizationRolesJSONBody
DeleteOrganizationRolesJSONRequestBody defines body for DeleteOrganizationRoles for application/json ContentType.
type DeleteOrganizationRolesResponse ¶
type DeleteOrganizationRolesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON207 the response for an HTTP 207 `application/json` response
JSON207 *[]BulkResponseItem
}
func ParseDeleteOrganizationRolesResponse ¶
func ParseDeleteOrganizationRolesResponse(rsp *http.Response) (*DeleteOrganizationRolesResponse, error)
ParseDeleteOrganizationRolesResponse parses an HTTP response from a DeleteOrganizationRolesWithResponse call
func (DeleteOrganizationRolesResponse) ContentType ¶
func (r DeleteOrganizationRolesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteOrganizationRolesResponse) GetBody ¶
func (r DeleteOrganizationRolesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteOrganizationRolesResponse) GetJSON207 ¶
func (r DeleteOrganizationRolesResponse) GetJSON207() *[]BulkResponseItem
GetJSON207 returns the response for an HTTP 207 `application/json` response
func (DeleteOrganizationRolesResponse) Status ¶
func (r DeleteOrganizationRolesResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteOrganizationRolesResponse) StatusCode ¶
func (r DeleteOrganizationRolesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteOrganizationScimConfigResponse ¶
func ParseDeleteOrganizationScimConfigResponse ¶
func ParseDeleteOrganizationScimConfigResponse(rsp *http.Response) (*DeleteOrganizationScimConfigResponse, error)
ParseDeleteOrganizationScimConfigResponse parses an HTTP response from a DeleteOrganizationScimConfigWithResponse call
func (DeleteOrganizationScimConfigResponse) ContentType ¶
func (r DeleteOrganizationScimConfigResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteOrganizationScimConfigResponse) GetBody ¶
func (r DeleteOrganizationScimConfigResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteOrganizationScimConfigResponse) Status ¶
func (r DeleteOrganizationScimConfigResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteOrganizationScimConfigResponse) StatusCode ¶
func (r DeleteOrganizationScimConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteRealmAttributeResponse ¶
func ParseDeleteRealmAttributeResponse ¶
func ParseDeleteRealmAttributeResponse(rsp *http.Response) (*DeleteRealmAttributeResponse, error)
ParseDeleteRealmAttributeResponse parses an HTTP response from a DeleteRealmAttributeWithResponse call
func (DeleteRealmAttributeResponse) ContentType ¶
func (r DeleteRealmAttributeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteRealmAttributeResponse) GetBody ¶
func (r DeleteRealmAttributeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteRealmAttributeResponse) Status ¶
func (r DeleteRealmAttributeResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteRealmAttributeResponse) StatusCode ¶
func (r DeleteRealmAttributeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteWebhookResponse ¶
func ParseDeleteWebhookResponse ¶
func ParseDeleteWebhookResponse(rsp *http.Response) (*DeleteWebhookResponse, error)
ParseDeleteWebhookResponse parses an HTTP response from a DeleteWebhookWithResponse call
func (DeleteWebhookResponse) ContentType ¶
func (r DeleteWebhookResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteWebhookResponse) GetBody ¶
func (r DeleteWebhookResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteWebhookResponse) Status ¶
func (r DeleteWebhookResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteWebhookResponse) StatusCode ¶
func (r DeleteWebhookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EventRepresentation ¶
type EventRepresentation struct {
AuthDetails *AuthDetailsRepresentation `json:"authDetails,omitempty"`
Details *map[string]interface{} `json:"details,omitempty"`
Error *string `json:"error,omitempty"`
Id *string `json:"id,omitempty"`
OperationType *string `json:"operationType,omitempty"`
RealmId *string `json:"realmId,omitempty"`
RealmName *string `json:"realmName,omitempty"`
Representation *string `json:"representation,omitempty"`
// ResourceId Id of the affected resource (set by the server).
ResourceId *string `json:"resourceId,omitempty"`
ResourcePath *string `json:"resourcePath,omitempty"`
ResourceType *string `json:"resourceType,omitempty"`
Time *int64 `json:"time,omitempty"`
Type *string `json:"type,omitempty"`
Uid *string `json:"uid,omitempty"`
}
EventRepresentation defines model for EventRepresentation.
type ExportOrganizationsParams ¶
type ExportOrganizationsParams struct {
// IncludeMembers Include organization members in the export
IncludeMembers *bool `form:"includeMembers,omitempty" json:"includeMembers,omitempty"`
// IncludeRoles Include organization roles in the export
IncludeRoles *bool `form:"includeRoles,omitempty" json:"includeRoles,omitempty"`
// IncludeIdps Include identity providers in the export
IncludeIdps *bool `form:"includeIdps,omitempty" json:"includeIdps,omitempty"`
// OrgIds Specific organization IDs to export (if not provided, exports all)
OrgIds *[]string `form:"orgIds,omitempty" json:"orgIds,omitempty"`
}
ExportOrganizationsParams defines parameters for ExportOrganizations.
type ExportOrganizationsResponse ¶
type ExportOrganizationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrganizationsExportRepresentation
}
func ParseExportOrganizationsResponse ¶
func ParseExportOrganizationsResponse(rsp *http.Response) (*ExportOrganizationsResponse, error)
ParseExportOrganizationsResponse parses an HTTP response from a ExportOrganizationsWithResponse call
func (ExportOrganizationsResponse) ContentType ¶
func (r ExportOrganizationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExportOrganizationsResponse) GetBody ¶
func (r ExportOrganizationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ExportOrganizationsResponse) GetJSON200 ¶
func (r ExportOrganizationsResponse) GetJSON200() *OrganizationsExportRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ExportOrganizationsResponse) Status ¶
func (r ExportOrganizationsResponse) Status() string
Status returns HTTPResponse.Status
func (ExportOrganizationsResponse) StatusCode ¶
func (r ExportOrganizationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExternalBasicScimAuth ¶
type ExternalBasicScimAuth struct {
// Password Password for HTTP Basic auth. Cleartext on submit; hashed at
// rest. Omit on update to keep the existing password.
Password *string `json:"password,omitempty"`
Type ExternalBasicScimAuthType `json:"type"`
// Username Username for HTTP Basic auth. Stored in cleartext.
Username *string `json:"username,omitempty"`
}
ExternalBasicScimAuth HTTP Basic auth. The password is hashed with Argon2id before storage.
type ExternalBasicScimAuthType ¶
type ExternalBasicScimAuthType string
ExternalBasicScimAuthType defines model for ExternalBasicScimAuth.Type.
const (
ExternalBasicScimAuthTypeEXTERNALBASIC ExternalBasicScimAuthType = "EXTERNAL_BASIC"
)
Defines values for ExternalBasicScimAuthType.
func (ExternalBasicScimAuthType) Valid ¶
func (e ExternalBasicScimAuthType) Valid() bool
Valid indicates whether the value is a known member of the ExternalBasicScimAuthType enum.
type ExternalJwtScimAuth ¶
type ExternalJwtScimAuth struct {
// Audience Expected `aud` claim.
Audience *string `json:"audience,omitempty"`
// Issuer Expected `iss` claim. Must exactly match the upstream IdP's issuer URL.
Issuer *string `json:"issuer,omitempty"`
// JwksUri URL the server fetches to validate the JWT signature.
JwksUri *string `json:"jwks_uri,omitempty"`
Type ExternalJwtScimAuthType `json:"type"`
}
ExternalJwtScimAuth Validates an inbound JWT issued by an external IdP. The token's issuer and audience must match the configured values, and the signature is verified against keys fetched from the configured JWKS URI.
type ExternalJwtScimAuthType ¶
type ExternalJwtScimAuthType string
ExternalJwtScimAuthType defines model for ExternalJwtScimAuth.Type.
const (
ExternalJwtScimAuthTypeEXTERNALJWT ExternalJwtScimAuthType = "EXTERNAL_JWT"
)
Defines values for ExternalJwtScimAuthType.
func (ExternalJwtScimAuthType) Valid ¶
func (e ExternalJwtScimAuthType) Valid() bool
Valid indicates whether the value is a known member of the ExternalJwtScimAuthType enum.
type ExternalSecretScimAuth ¶
type ExternalSecretScimAuth struct {
// SharedSecret Random opaque value. Cleartext on submit; hashed at rest. Omit
// on update to keep the existing secret.
Type ExternalSecretScimAuthType `json:"type"`
}
ExternalSecretScimAuth Bearer-style shared secret. The client sends `Authorization: Bearer <secret>`; the server compares the value against a stored Argon2id hash.
type ExternalSecretScimAuthType ¶
type ExternalSecretScimAuthType string
ExternalSecretScimAuthType defines model for ExternalSecretScimAuth.Type.
const (
ExternalSecretScimAuthTypeEXTERNALSECRET ExternalSecretScimAuthType = "EXTERNAL_SECRET"
)
Defines values for ExternalSecretScimAuthType.
func (ExternalSecretScimAuthType) Valid ¶
func (e ExternalSecretScimAuthType) Valid() bool
Valid indicates whether the value is a known member of the ExternalSecretScimAuthType enum.
type GetActiveOrganizationResponse ¶
type GetActiveOrganizationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrganizationRepresentation
}
func ParseGetActiveOrganizationResponse ¶
func ParseGetActiveOrganizationResponse(rsp *http.Response) (*GetActiveOrganizationResponse, error)
ParseGetActiveOrganizationResponse parses an HTTP response from a GetActiveOrganizationWithResponse call
func (GetActiveOrganizationResponse) ContentType ¶
func (r GetActiveOrganizationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetActiveOrganizationResponse) GetBody ¶
func (r GetActiveOrganizationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetActiveOrganizationResponse) GetJSON200 ¶
func (r GetActiveOrganizationResponse) GetJSON200() *OrganizationRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetActiveOrganizationResponse) Status ¶
func (r GetActiveOrganizationResponse) Status() string
Status returns HTTPResponse.Status
func (GetActiveOrganizationResponse) StatusCode ¶
func (r GetActiveOrganizationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIdpMapperResponse ¶
type GetIdpMapperResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *IdentityProviderMapperRepresentation
}
func ParseGetIdpMapperResponse ¶
func ParseGetIdpMapperResponse(rsp *http.Response) (*GetIdpMapperResponse, error)
ParseGetIdpMapperResponse parses an HTTP response from a GetIdpMapperWithResponse call
func (GetIdpMapperResponse) ContentType ¶
func (r GetIdpMapperResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetIdpMapperResponse) GetBody ¶
func (r GetIdpMapperResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetIdpMapperResponse) GetJSON200 ¶
func (r GetIdpMapperResponse) GetJSON200() *IdentityProviderMapperRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetIdpMapperResponse) Status ¶
func (r GetIdpMapperResponse) Status() string
Status returns HTTPResponse.Status
func (GetIdpMapperResponse) StatusCode ¶
func (r GetIdpMapperResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIdpMappersResponse ¶
type GetIdpMappersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]IdentityProviderMapperRepresentation
}
func ParseGetIdpMappersResponse ¶
func ParseGetIdpMappersResponse(rsp *http.Response) (*GetIdpMappersResponse, error)
ParseGetIdpMappersResponse parses an HTTP response from a GetIdpMappersWithResponse call
func (GetIdpMappersResponse) ContentType ¶
func (r GetIdpMappersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetIdpMappersResponse) GetBody ¶
func (r GetIdpMappersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetIdpMappersResponse) GetJSON200 ¶
func (r GetIdpMappersResponse) GetJSON200() *[]IdentityProviderMapperRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetIdpMappersResponse) Status ¶
func (r GetIdpMappersResponse) Status() string
Status returns HTTPResponse.Status
func (GetIdpMappersResponse) StatusCode ¶
func (r GetIdpMappersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIdpResponse ¶
type GetIdpResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *IdentityProviderRepresentation
}
func ParseGetIdpResponse ¶
func ParseGetIdpResponse(rsp *http.Response) (*GetIdpResponse, error)
ParseGetIdpResponse parses an HTTP response from a GetIdpWithResponse call
func (GetIdpResponse) ContentType ¶
func (r GetIdpResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetIdpResponse) GetBody ¶
func (r GetIdpResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetIdpResponse) GetJSON200 ¶
func (r GetIdpResponse) GetJSON200() *IdentityProviderRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetIdpResponse) Status ¶
func (r GetIdpResponse) Status() string
Status returns HTTPResponse.Status
func (GetIdpResponse) StatusCode ¶
func (r GetIdpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIdpsResponse ¶
type GetIdpsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]IdentityProviderRepresentation
}
func ParseGetIdpsResponse ¶
func ParseGetIdpsResponse(rsp *http.Response) (*GetIdpsResponse, error)
ParseGetIdpsResponse parses an HTTP response from a GetIdpsWithResponse call
func (GetIdpsResponse) ContentType ¶
func (r GetIdpsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetIdpsResponse) GetBody ¶
func (r GetIdpsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetIdpsResponse) GetJSON200 ¶
func (r GetIdpsResponse) GetJSON200() *[]IdentityProviderRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetIdpsResponse) Status ¶
func (r GetIdpsResponse) Status() string
Status returns HTTPResponse.Status
func (GetIdpsResponse) StatusCode ¶
func (r GetIdpsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMeResponse ¶
type GetMeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MyOrganizationsRepresentation
}
func ParseGetMeResponse ¶
func ParseGetMeResponse(rsp *http.Response) (*GetMeResponse, error)
ParseGetMeResponse parses an HTTP response from a GetMeWithResponse call
func (GetMeResponse) ContentType ¶
func (r GetMeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMeResponse) GetBody ¶
func (r GetMeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMeResponse) GetJSON200 ¶
func (r GetMeResponse) GetJSON200() *MyOrganizationsRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMeResponse) Status ¶
func (r GetMeResponse) Status() string
Status returns HTTPResponse.Status
func (GetMeResponse) StatusCode ¶
func (r GetMeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrganizationByIdResponse ¶
type GetOrganizationByIdResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrganizationRepresentation
}
func ParseGetOrganizationByIdResponse ¶
func ParseGetOrganizationByIdResponse(rsp *http.Response) (*GetOrganizationByIdResponse, error)
ParseGetOrganizationByIdResponse parses an HTTP response from a GetOrganizationByIdWithResponse call
func (GetOrganizationByIdResponse) ContentType ¶
func (r GetOrganizationByIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrganizationByIdResponse) GetBody ¶
func (r GetOrganizationByIdResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOrganizationByIdResponse) GetJSON200 ¶
func (r GetOrganizationByIdResponse) GetJSON200() *OrganizationRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOrganizationByIdResponse) Status ¶
func (r GetOrganizationByIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrganizationByIdResponse) StatusCode ¶
func (r GetOrganizationByIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrganizationConfigResponse ¶
type GetOrganizationConfigResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrganizationConfigRepresentation
}
func ParseGetOrganizationConfigResponse ¶
func ParseGetOrganizationConfigResponse(rsp *http.Response) (*GetOrganizationConfigResponse, error)
ParseGetOrganizationConfigResponse parses an HTTP response from a GetOrganizationConfigWithResponse call
func (GetOrganizationConfigResponse) ContentType ¶
func (r GetOrganizationConfigResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrganizationConfigResponse) GetBody ¶
func (r GetOrganizationConfigResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOrganizationConfigResponse) GetJSON200 ¶
func (r GetOrganizationConfigResponse) GetJSON200() *OrganizationConfigRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOrganizationConfigResponse) Status ¶
func (r GetOrganizationConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrganizationConfigResponse) StatusCode ¶
func (r GetOrganizationConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrganizationDomainResponse ¶
type GetOrganizationDomainResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrganizationDomainRepresentation
}
func ParseGetOrganizationDomainResponse ¶
func ParseGetOrganizationDomainResponse(rsp *http.Response) (*GetOrganizationDomainResponse, error)
ParseGetOrganizationDomainResponse parses an HTTP response from a GetOrganizationDomainWithResponse call
func (GetOrganizationDomainResponse) ContentType ¶
func (r GetOrganizationDomainResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrganizationDomainResponse) GetBody ¶
func (r GetOrganizationDomainResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOrganizationDomainResponse) GetJSON200 ¶
func (r GetOrganizationDomainResponse) GetJSON200() *OrganizationDomainRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOrganizationDomainResponse) Status ¶
func (r GetOrganizationDomainResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrganizationDomainResponse) StatusCode ¶
func (r GetOrganizationDomainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrganizationDomainsResponse ¶
type GetOrganizationDomainsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]OrganizationDomainRepresentation
}
func ParseGetOrganizationDomainsResponse ¶
func ParseGetOrganizationDomainsResponse(rsp *http.Response) (*GetOrganizationDomainsResponse, error)
ParseGetOrganizationDomainsResponse parses an HTTP response from a GetOrganizationDomainsWithResponse call
func (GetOrganizationDomainsResponse) ContentType ¶
func (r GetOrganizationDomainsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrganizationDomainsResponse) GetBody ¶
func (r GetOrganizationDomainsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOrganizationDomainsResponse) GetJSON200 ¶
func (r GetOrganizationDomainsResponse) GetJSON200() *[]OrganizationDomainRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOrganizationDomainsResponse) Status ¶
func (r GetOrganizationDomainsResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrganizationDomainsResponse) StatusCode ¶
func (r GetOrganizationDomainsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrganizationInvitationByIdResponse ¶
type GetOrganizationInvitationByIdResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *InvitationRepresentation
}
func ParseGetOrganizationInvitationByIdResponse ¶
func ParseGetOrganizationInvitationByIdResponse(rsp *http.Response) (*GetOrganizationInvitationByIdResponse, error)
ParseGetOrganizationInvitationByIdResponse parses an HTTP response from a GetOrganizationInvitationByIdWithResponse call
func (GetOrganizationInvitationByIdResponse) ContentType ¶
func (r GetOrganizationInvitationByIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrganizationInvitationByIdResponse) GetBody ¶
func (r GetOrganizationInvitationByIdResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOrganizationInvitationByIdResponse) GetJSON200 ¶
func (r GetOrganizationInvitationByIdResponse) GetJSON200() *InvitationRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOrganizationInvitationByIdResponse) Status ¶
func (r GetOrganizationInvitationByIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrganizationInvitationByIdResponse) StatusCode ¶
func (r GetOrganizationInvitationByIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrganizationInvitationCountResponse ¶
type GetOrganizationInvitationCountResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *int32
}
func ParseGetOrganizationInvitationCountResponse ¶
func ParseGetOrganizationInvitationCountResponse(rsp *http.Response) (*GetOrganizationInvitationCountResponse, error)
ParseGetOrganizationInvitationCountResponse parses an HTTP response from a GetOrganizationInvitationCountWithResponse call
func (GetOrganizationInvitationCountResponse) ContentType ¶
func (r GetOrganizationInvitationCountResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrganizationInvitationCountResponse) GetBody ¶
func (r GetOrganizationInvitationCountResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOrganizationInvitationCountResponse) GetJSON200 ¶
func (r GetOrganizationInvitationCountResponse) GetJSON200() *int32
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOrganizationInvitationCountResponse) Status ¶
func (r GetOrganizationInvitationCountResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrganizationInvitationCountResponse) StatusCode ¶
func (r GetOrganizationInvitationCountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrganizationInvitationsParams ¶
type GetOrganizationInvitationsParams struct {
Search *string `form:"search,omitempty" json:"search,omitempty"`
First *int32 `form:"first,omitempty" json:"first,omitempty"`
Max *int32 `form:"max,omitempty" json:"max,omitempty"`
}
GetOrganizationInvitationsParams defines parameters for GetOrganizationInvitations.
type GetOrganizationInvitationsResponse ¶
type GetOrganizationInvitationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]InvitationRepresentation
}
func ParseGetOrganizationInvitationsResponse ¶
func ParseGetOrganizationInvitationsResponse(rsp *http.Response) (*GetOrganizationInvitationsResponse, error)
ParseGetOrganizationInvitationsResponse parses an HTTP response from a GetOrganizationInvitationsWithResponse call
func (GetOrganizationInvitationsResponse) ContentType ¶
func (r GetOrganizationInvitationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrganizationInvitationsResponse) GetBody ¶
func (r GetOrganizationInvitationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOrganizationInvitationsResponse) GetJSON200 ¶
func (r GetOrganizationInvitationsResponse) GetJSON200() *[]InvitationRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOrganizationInvitationsResponse) Status ¶
func (r GetOrganizationInvitationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrganizationInvitationsResponse) StatusCode ¶
func (r GetOrganizationInvitationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrganizationMemberAttributesResponse ¶
type GetOrganizationMemberAttributesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string][]string
}
func ParseGetOrganizationMemberAttributesResponse ¶
func ParseGetOrganizationMemberAttributesResponse(rsp *http.Response) (*GetOrganizationMemberAttributesResponse, error)
ParseGetOrganizationMemberAttributesResponse parses an HTTP response from a GetOrganizationMemberAttributesWithResponse call
func (GetOrganizationMemberAttributesResponse) ContentType ¶
func (r GetOrganizationMemberAttributesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrganizationMemberAttributesResponse) GetBody ¶
func (r GetOrganizationMemberAttributesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOrganizationMemberAttributesResponse) GetJSON200 ¶
func (r GetOrganizationMemberAttributesResponse) GetJSON200() *map[string][]string
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOrganizationMemberAttributesResponse) Status ¶
func (r GetOrganizationMemberAttributesResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrganizationMemberAttributesResponse) StatusCode ¶
func (r GetOrganizationMemberAttributesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrganizationMembershipsCountParams ¶
type GetOrganizationMembershipsCountParams struct {
ExcludeAdminAccounts *bool `form:"excludeAdminAccounts,omitempty" json:"excludeAdminAccounts,omitempty"`
}
GetOrganizationMembershipsCountParams defines parameters for GetOrganizationMembershipsCount.
type GetOrganizationMembershipsCountResponse ¶
type GetOrganizationMembershipsCountResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *int32
}
func ParseGetOrganizationMembershipsCountResponse ¶
func ParseGetOrganizationMembershipsCountResponse(rsp *http.Response) (*GetOrganizationMembershipsCountResponse, error)
ParseGetOrganizationMembershipsCountResponse parses an HTTP response from a GetOrganizationMembershipsCountWithResponse call
func (GetOrganizationMembershipsCountResponse) ContentType ¶
func (r GetOrganizationMembershipsCountResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrganizationMembershipsCountResponse) GetBody ¶
func (r GetOrganizationMembershipsCountResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOrganizationMembershipsCountResponse) GetJSON200 ¶
func (r GetOrganizationMembershipsCountResponse) GetJSON200() *int32
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOrganizationMembershipsCountResponse) Status ¶
func (r GetOrganizationMembershipsCountResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrganizationMembershipsCountResponse) StatusCode ¶
func (r GetOrganizationMembershipsCountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrganizationMembershipsParams ¶
type GetOrganizationMembershipsParams struct {
Search *string `form:"search,omitempty" json:"search,omitempty"`
First *int32 `form:"first,omitempty" json:"first,omitempty"`
Max *int32 `form:"max,omitempty" json:"max,omitempty"`
ExcludeAdminAccounts *bool `form:"excludeAdminAccounts,omitempty" json:"excludeAdminAccounts,omitempty"`
IncludeOrgs *bool `form:"includeOrgs,omitempty" json:"includeOrgs,omitempty"`
}
GetOrganizationMembershipsParams defines parameters for GetOrganizationMemberships.
type GetOrganizationMembershipsResponse ¶
type GetOrganizationMembershipsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]UserWithOrgsBriefRepresentation
}
func ParseGetOrganizationMembershipsResponse ¶
func ParseGetOrganizationMembershipsResponse(rsp *http.Response) (*GetOrganizationMembershipsResponse, error)
ParseGetOrganizationMembershipsResponse parses an HTTP response from a GetOrganizationMembershipsWithResponse call
func (GetOrganizationMembershipsResponse) ContentType ¶
func (r GetOrganizationMembershipsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrganizationMembershipsResponse) GetBody ¶
func (r GetOrganizationMembershipsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOrganizationMembershipsResponse) GetJSON200 ¶
func (r GetOrganizationMembershipsResponse) GetJSON200() *[]UserWithOrgsBriefRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOrganizationMembershipsResponse) Status ¶
func (r GetOrganizationMembershipsResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrganizationMembershipsResponse) StatusCode ¶
func (r GetOrganizationMembershipsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrganizationRoleResponse ¶
type GetOrganizationRoleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrganizationRoleRepresentation
}
func ParseGetOrganizationRoleResponse ¶
func ParseGetOrganizationRoleResponse(rsp *http.Response) (*GetOrganizationRoleResponse, error)
ParseGetOrganizationRoleResponse parses an HTTP response from a GetOrganizationRoleWithResponse call
func (GetOrganizationRoleResponse) ContentType ¶
func (r GetOrganizationRoleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrganizationRoleResponse) GetBody ¶
func (r GetOrganizationRoleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOrganizationRoleResponse) GetJSON200 ¶
func (r GetOrganizationRoleResponse) GetJSON200() *OrganizationRoleRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOrganizationRoleResponse) Status ¶
func (r GetOrganizationRoleResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrganizationRoleResponse) StatusCode ¶
func (r GetOrganizationRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrganizationRolesResponse ¶
type GetOrganizationRolesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]OrganizationRoleRepresentation
}
func ParseGetOrganizationRolesResponse ¶
func ParseGetOrganizationRolesResponse(rsp *http.Response) (*GetOrganizationRolesResponse, error)
ParseGetOrganizationRolesResponse parses an HTTP response from a GetOrganizationRolesWithResponse call
func (GetOrganizationRolesResponse) ContentType ¶
func (r GetOrganizationRolesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrganizationRolesResponse) GetBody ¶
func (r GetOrganizationRolesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOrganizationRolesResponse) GetJSON200 ¶
func (r GetOrganizationRolesResponse) GetJSON200() *[]OrganizationRoleRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOrganizationRolesResponse) Status ¶
func (r GetOrganizationRolesResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrganizationRolesResponse) StatusCode ¶
func (r GetOrganizationRolesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrganizationScimConfigResponse ¶
type GetOrganizationScimConfigResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrganizationScimRepresentation
}
func ParseGetOrganizationScimConfigResponse ¶
func ParseGetOrganizationScimConfigResponse(rsp *http.Response) (*GetOrganizationScimConfigResponse, error)
ParseGetOrganizationScimConfigResponse parses an HTTP response from a GetOrganizationScimConfigWithResponse call
func (GetOrganizationScimConfigResponse) ContentType ¶
func (r GetOrganizationScimConfigResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrganizationScimConfigResponse) GetBody ¶
func (r GetOrganizationScimConfigResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOrganizationScimConfigResponse) GetJSON200 ¶
func (r GetOrganizationScimConfigResponse) GetJSON200() *OrganizationScimRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOrganizationScimConfigResponse) Status ¶
func (r GetOrganizationScimConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrganizationScimConfigResponse) StatusCode ¶
func (r GetOrganizationScimConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrganizationsCountParams ¶
type GetOrganizationsCountParams struct {
Search *string `form:"search,omitempty" json:"search,omitempty"`
// Q search by attributes using the format (space separated) `k1:v1 k2:v2`
Q *string `form:"q,omitempty" json:"q,omitempty"`
// Exact exact search
Exact *string `form:"exact,omitempty" json:"exact,omitempty"`
}
GetOrganizationsCountParams defines parameters for GetOrganizationsCount.
type GetOrganizationsCountResponse ¶
type GetOrganizationsCountResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *int32
}
func ParseGetOrganizationsCountResponse ¶
func ParseGetOrganizationsCountResponse(rsp *http.Response) (*GetOrganizationsCountResponse, error)
ParseGetOrganizationsCountResponse parses an HTTP response from a GetOrganizationsCountWithResponse call
func (GetOrganizationsCountResponse) ContentType ¶
func (r GetOrganizationsCountResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrganizationsCountResponse) GetBody ¶
func (r GetOrganizationsCountResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOrganizationsCountResponse) GetJSON200 ¶
func (r GetOrganizationsCountResponse) GetJSON200() *int32
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOrganizationsCountResponse) Status ¶
func (r GetOrganizationsCountResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrganizationsCountResponse) StatusCode ¶
func (r GetOrganizationsCountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrganizationsParams ¶
type GetOrganizationsParams struct {
// Search search by name
Search *string `form:"search,omitempty" json:"search,omitempty"`
First *int32 `form:"first,omitempty" json:"first,omitempty"`
Max *int32 `form:"max,omitempty" json:"max,omitempty"`
// Q search by attributes using the format (space separated) `k1:v1 k2:v2`
Q *string `form:"q,omitempty" json:"q,omitempty"`
// Exact search parameter exact match
Exact *string `form:"exact,omitempty" json:"exact,omitempty"`
}
GetOrganizationsParams defines parameters for GetOrganizations.
type GetOrganizationsResponse ¶
type GetOrganizationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]OrganizationRepresentation
}
func ParseGetOrganizationsResponse ¶
func ParseGetOrganizationsResponse(rsp *http.Response) (*GetOrganizationsResponse, error)
ParseGetOrganizationsResponse parses an HTTP response from a GetOrganizationsWithResponse call
func (GetOrganizationsResponse) ContentType ¶
func (r GetOrganizationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrganizationsResponse) GetBody ¶
func (r GetOrganizationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOrganizationsResponse) GetJSON200 ¶
func (r GetOrganizationsResponse) GetJSON200() *[]OrganizationRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOrganizationsResponse) Status ¶
func (r GetOrganizationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrganizationsResponse) StatusCode ¶
func (r GetOrganizationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPayloadByKeycloakTypeAndIdResponse ¶
type GetPayloadByKeycloakTypeAndIdResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EventRepresentation
}
func ParseGetPayloadByKeycloakTypeAndIdResponse ¶
func ParseGetPayloadByKeycloakTypeAndIdResponse(rsp *http.Response) (*GetPayloadByKeycloakTypeAndIdResponse, error)
ParseGetPayloadByKeycloakTypeAndIdResponse parses an HTTP response from a GetPayloadByKeycloakTypeAndIdWithResponse call
func (GetPayloadByKeycloakTypeAndIdResponse) ContentType ¶
func (r GetPayloadByKeycloakTypeAndIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPayloadByKeycloakTypeAndIdResponse) GetBody ¶
func (r GetPayloadByKeycloakTypeAndIdResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPayloadByKeycloakTypeAndIdResponse) GetJSON200 ¶
func (r GetPayloadByKeycloakTypeAndIdResponse) GetJSON200() *EventRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetPayloadByKeycloakTypeAndIdResponse) Status ¶
func (r GetPayloadByKeycloakTypeAndIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetPayloadByKeycloakTypeAndIdResponse) StatusCode ¶
func (r GetPayloadByKeycloakTypeAndIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRealmAttributeByKeyResponse ¶
type GetRealmAttributeByKeyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RealmAttributeRepresentation
}
func ParseGetRealmAttributeByKeyResponse ¶
func ParseGetRealmAttributeByKeyResponse(rsp *http.Response) (*GetRealmAttributeByKeyResponse, error)
ParseGetRealmAttributeByKeyResponse parses an HTTP response from a GetRealmAttributeByKeyWithResponse call
func (GetRealmAttributeByKeyResponse) ContentType ¶
func (r GetRealmAttributeByKeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRealmAttributeByKeyResponse) GetBody ¶
func (r GetRealmAttributeByKeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRealmAttributeByKeyResponse) GetJSON200 ¶
func (r GetRealmAttributeByKeyResponse) GetJSON200() *RealmAttributeRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetRealmAttributeByKeyResponse) Status ¶
func (r GetRealmAttributeByKeyResponse) Status() string
Status returns HTTPResponse.Status
func (GetRealmAttributeByKeyResponse) StatusCode ¶
func (r GetRealmAttributeByKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRealmAttributesResponse ¶
type GetRealmAttributesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]KeyedRealmAttributeRepresentation
}
func ParseGetRealmAttributesResponse ¶
func ParseGetRealmAttributesResponse(rsp *http.Response) (*GetRealmAttributesResponse, error)
ParseGetRealmAttributesResponse parses an HTTP response from a GetRealmAttributesWithResponse call
func (GetRealmAttributesResponse) ContentType ¶
func (r GetRealmAttributesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRealmAttributesResponse) GetBody ¶
func (r GetRealmAttributesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRealmAttributesResponse) GetJSON200 ¶
func (r GetRealmAttributesResponse) GetJSON200() *[]KeyedRealmAttributeRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetRealmAttributesResponse) Status ¶
func (r GetRealmAttributesResponse) Status() string
Status returns HTTPResponse.Status
func (GetRealmAttributesResponse) StatusCode ¶
func (r GetRealmAttributesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUserOrganizationRolesResponse ¶
type GetUserOrganizationRolesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]UserRepresentation
}
func ParseGetUserOrganizationRolesResponse ¶
func ParseGetUserOrganizationRolesResponse(rsp *http.Response) (*GetUserOrganizationRolesResponse, error)
ParseGetUserOrganizationRolesResponse parses an HTTP response from a GetUserOrganizationRolesWithResponse call
func (GetUserOrganizationRolesResponse) ContentType ¶
func (r GetUserOrganizationRolesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetUserOrganizationRolesResponse) GetBody ¶
func (r GetUserOrganizationRolesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetUserOrganizationRolesResponse) GetJSON200 ¶
func (r GetUserOrganizationRolesResponse) GetJSON200() *[]UserRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetUserOrganizationRolesResponse) Status ¶
func (r GetUserOrganizationRolesResponse) Status() string
Status returns HTTPResponse.Status
func (GetUserOrganizationRolesResponse) StatusCode ¶
func (r GetUserOrganizationRolesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWebhookByIdResponse ¶
type GetWebhookByIdResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WebhookRepresentation
}
func ParseGetWebhookByIdResponse ¶
func ParseGetWebhookByIdResponse(rsp *http.Response) (*GetWebhookByIdResponse, error)
ParseGetWebhookByIdResponse parses an HTTP response from a GetWebhookByIdWithResponse call
func (GetWebhookByIdResponse) ContentType ¶
func (r GetWebhookByIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWebhookByIdResponse) GetBody ¶
func (r GetWebhookByIdResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWebhookByIdResponse) GetJSON200 ¶
func (r GetWebhookByIdResponse) GetJSON200() *WebhookRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWebhookByIdResponse) Status ¶
func (r GetWebhookByIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetWebhookByIdResponse) StatusCode ¶
func (r GetWebhookByIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWebhookSecretByIdResponse ¶
type GetWebhookSecretByIdResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CredentialRepresentation
}
func ParseGetWebhookSecretByIdResponse ¶
func ParseGetWebhookSecretByIdResponse(rsp *http.Response) (*GetWebhookSecretByIdResponse, error)
ParseGetWebhookSecretByIdResponse parses an HTTP response from a GetWebhookSecretByIdWithResponse call
func (GetWebhookSecretByIdResponse) ContentType ¶
func (r GetWebhookSecretByIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWebhookSecretByIdResponse) GetBody ¶
func (r GetWebhookSecretByIdResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWebhookSecretByIdResponse) GetJSON200 ¶
func (r GetWebhookSecretByIdResponse) GetJSON200() *CredentialRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWebhookSecretByIdResponse) Status ¶
func (r GetWebhookSecretByIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetWebhookSecretByIdResponse) StatusCode ¶
func (r GetWebhookSecretByIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWebhookSendByIdResponse ¶
type GetWebhookSendByIdResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WebhookSendRepresentation
}
func ParseGetWebhookSendByIdResponse ¶
func ParseGetWebhookSendByIdResponse(rsp *http.Response) (*GetWebhookSendByIdResponse, error)
ParseGetWebhookSendByIdResponse parses an HTTP response from a GetWebhookSendByIdWithResponse call
func (GetWebhookSendByIdResponse) ContentType ¶
func (r GetWebhookSendByIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWebhookSendByIdResponse) GetBody ¶
func (r GetWebhookSendByIdResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWebhookSendByIdResponse) GetJSON200 ¶
func (r GetWebhookSendByIdResponse) GetJSON200() *WebhookSendRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWebhookSendByIdResponse) Status ¶
func (r GetWebhookSendByIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetWebhookSendByIdResponse) StatusCode ¶
func (r GetWebhookSendByIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWebhookSendsByKeycloakTypeAndIdResponse ¶
type GetWebhookSendsByKeycloakTypeAndIdResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]WebhookSendRepresentation
}
func ParseGetWebhookSendsByKeycloakTypeAndIdResponse ¶
func ParseGetWebhookSendsByKeycloakTypeAndIdResponse(rsp *http.Response) (*GetWebhookSendsByKeycloakTypeAndIdResponse, error)
ParseGetWebhookSendsByKeycloakTypeAndIdResponse parses an HTTP response from a GetWebhookSendsByKeycloakTypeAndIdWithResponse call
func (GetWebhookSendsByKeycloakTypeAndIdResponse) ContentType ¶
func (r GetWebhookSendsByKeycloakTypeAndIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWebhookSendsByKeycloakTypeAndIdResponse) GetBody ¶
func (r GetWebhookSendsByKeycloakTypeAndIdResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWebhookSendsByKeycloakTypeAndIdResponse) GetJSON200 ¶
func (r GetWebhookSendsByKeycloakTypeAndIdResponse) GetJSON200() *[]WebhookSendRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWebhookSendsByKeycloakTypeAndIdResponse) Status ¶
func (r GetWebhookSendsByKeycloakTypeAndIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetWebhookSendsByKeycloakTypeAndIdResponse) StatusCode ¶
func (r GetWebhookSendsByKeycloakTypeAndIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWebhookSendsParams ¶
type GetWebhookSendsParams struct {
First *int32 `form:"first,omitempty" json:"first,omitempty"`
Max *int32 `form:"max,omitempty" json:"max,omitempty"`
}
GetWebhookSendsParams defines parameters for GetWebhookSends.
type GetWebhookSendsResponse ¶
type GetWebhookSendsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]WebhookSendRepresentation
}
func ParseGetWebhookSendsResponse ¶
func ParseGetWebhookSendsResponse(rsp *http.Response) (*GetWebhookSendsResponse, error)
ParseGetWebhookSendsResponse parses an HTTP response from a GetWebhookSendsWithResponse call
func (GetWebhookSendsResponse) ContentType ¶
func (r GetWebhookSendsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWebhookSendsResponse) GetBody ¶
func (r GetWebhookSendsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWebhookSendsResponse) GetJSON200 ¶
func (r GetWebhookSendsResponse) GetJSON200() *[]WebhookSendRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWebhookSendsResponse) Status ¶
func (r GetWebhookSendsResponse) Status() string
Status returns HTTPResponse.Status
func (GetWebhookSendsResponse) StatusCode ¶
func (r GetWebhookSendsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWebhooksCountResponse ¶
type GetWebhooksCountResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *int32
}
func ParseGetWebhooksCountResponse ¶
func ParseGetWebhooksCountResponse(rsp *http.Response) (*GetWebhooksCountResponse, error)
ParseGetWebhooksCountResponse parses an HTTP response from a GetWebhooksCountWithResponse call
func (GetWebhooksCountResponse) ContentType ¶
func (r GetWebhooksCountResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWebhooksCountResponse) GetBody ¶
func (r GetWebhooksCountResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWebhooksCountResponse) GetJSON200 ¶
func (r GetWebhooksCountResponse) GetJSON200() *int32
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWebhooksCountResponse) Status ¶
func (r GetWebhooksCountResponse) Status() string
Status returns HTTPResponse.Status
func (GetWebhooksCountResponse) StatusCode ¶
func (r GetWebhooksCountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWebhooksParams ¶
type GetWebhooksParams struct {
First *int32 `form:"first,omitempty" json:"first,omitempty"`
Max *int32 `form:"max,omitempty" json:"max,omitempty"`
}
GetWebhooksParams defines parameters for GetWebhooks.
type GetWebhooksResponse ¶
type GetWebhooksResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]WebhookRepresentation
}
func ParseGetWebhooksResponse ¶
func ParseGetWebhooksResponse(rsp *http.Response) (*GetWebhooksResponse, error)
ParseGetWebhooksResponse parses an HTTP response from a GetWebhooksWithResponse call
func (GetWebhooksResponse) ContentType ¶
func (r GetWebhooksResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWebhooksResponse) GetBody ¶
func (r GetWebhooksResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWebhooksResponse) GetJSON200 ¶
func (r GetWebhooksResponse) GetJSON200() *[]WebhookRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWebhooksResponse) Status ¶
func (r GetWebhooksResponse) Status() string
Status returns HTTPResponse.Status
func (GetWebhooksResponse) StatusCode ¶
func (r GetWebhooksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GrantUserOrganizationRoleResponse ¶
type GrantUserOrganizationRoleResponse struct {
Body []byte
HTTPResponse *http.Response
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *GrantUserOrganizationRoleResponse201Headers
}
func ParseGrantUserOrganizationRoleResponse ¶
func ParseGrantUserOrganizationRoleResponse(rsp *http.Response) (*GrantUserOrganizationRoleResponse, error)
ParseGrantUserOrganizationRoleResponse parses an HTTP response from a GrantUserOrganizationRoleWithResponse call
func (GrantUserOrganizationRoleResponse) ContentType ¶
func (r GrantUserOrganizationRoleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GrantUserOrganizationRoleResponse) GetBody ¶
func (r GrantUserOrganizationRoleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GrantUserOrganizationRoleResponse) Status ¶
func (r GrantUserOrganizationRoleResponse) Status() string
Status returns HTTPResponse.Status
func (GrantUserOrganizationRoleResponse) StatusCode ¶
func (r GrantUserOrganizationRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GrantUserOrganizationRoleResponse201Headers ¶ added in v0.3.0
type GrantUserOrganizationRoleResponse201Headers struct {
Location *string
}
GrantUserOrganizationRoleResponse201Headers the declared response headers of an HTTP 201 response for GrantUserOrganizationRole
type GrantUserRolesInOrganizationJSONBody ¶
type GrantUserRolesInOrganizationJSONBody = []OrganizationRoleRepresentation
GrantUserRolesInOrganizationJSONBody defines parameters for GrantUserRolesInOrganization.
type GrantUserRolesInOrganizationJSONRequestBody ¶
type GrantUserRolesInOrganizationJSONRequestBody = GrantUserRolesInOrganizationJSONBody
GrantUserRolesInOrganizationJSONRequestBody defines body for GrantUserRolesInOrganization for application/json ContentType.
type GrantUserRolesInOrganizationResponse ¶
type GrantUserRolesInOrganizationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON207 the response for an HTTP 207 `application/json` response
JSON207 *[]BulkResponseItem
}
func ParseGrantUserRolesInOrganizationResponse ¶
func ParseGrantUserRolesInOrganizationResponse(rsp *http.Response) (*GrantUserRolesInOrganizationResponse, error)
ParseGrantUserRolesInOrganizationResponse parses an HTTP response from a GrantUserRolesInOrganizationWithResponse call
func (GrantUserRolesInOrganizationResponse) ContentType ¶
func (r GrantUserRolesInOrganizationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GrantUserRolesInOrganizationResponse) GetBody ¶
func (r GrantUserRolesInOrganizationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GrantUserRolesInOrganizationResponse) GetJSON207 ¶
func (r GrantUserRolesInOrganizationResponse) GetJSON207() *[]BulkResponseItem
GetJSON207 returns the response for an HTTP 207 `application/json` response
func (GrantUserRolesInOrganizationResponse) Status ¶
func (r GrantUserRolesInOrganizationResponse) Status() string
Status returns HTTPResponse.Status
func (GrantUserRolesInOrganizationResponse) StatusCode ¶
func (r GrantUserRolesInOrganizationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type IdentityProviderMapperRepresentation ¶
type IdentityProviderMapperRepresentation struct {
Config *map[string]interface{} `json:"config,omitempty"`
Id *string `json:"id,omitempty"`
IdentityProviderAlias *string `json:"identityProviderAlias,omitempty"`
IdentityProviderMapper *string `json:"identityProviderMapper,omitempty"`
Name *string `json:"name,omitempty"`
}
IdentityProviderMapperRepresentation defines model for IdentityProviderMapperRepresentation.
type IdentityProviderRepresentation ¶
type IdentityProviderRepresentation struct {
AddReadTokenRoleOnCreate *bool `json:"addReadTokenRoleOnCreate,omitempty"`
Alias *string `json:"alias,omitempty"`
Config *map[string]interface{} `json:"config,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
FirstBrokerLoginFlowAlias *string `json:"firstBrokerLoginFlowAlias,omitempty"`
InternalId *string `json:"internalId,omitempty"`
LinkOnly *bool `json:"linkOnly,omitempty"`
PostBrokerLoginFlowAlias *string `json:"postBrokerLoginFlowAlias,omitempty"`
ProviderId *string `json:"providerId,omitempty"`
StoreToken *bool `json:"storeToken,omitempty"`
TrustEmail *bool `json:"trustEmail,omitempty"`
}
IdentityProviderRepresentation defines model for IdentityProviderRepresentation.
type IdpInitiatedClientRepresentation ¶
type IdpInitiatedClientRepresentation struct {
// Attributes String values only, including booleans ("true"/"false").
Attributes *struct {
// PhasetwoIdpInitiatedAlias Alias of the identity provider this client is paired with.
PhasetwoIdpInitiatedAlias *string `json:"phasetwo.idp-initiated.alias,omitempty"`
// SamlForcePostBinding Send the response to the target application with the POST binding.
SamlForcePostBinding *IdpInitiatedClientRepresentationAttributesSamlForcePostBinding `json:"saml.force.post.binding,omitempty"`
// SamlAssertionConsumerUrlPost ACS URL of a SAML application using the POST binding.
SamlAssertionConsumerUrlPost *string `json:"saml_assertion_consumer_url_post,omitempty"`
// SamlAssertionConsumerUrlRedirect Where to send the user after login. For an OIDC application, its home page; for a SAML application using the Redirect binding, its ACS URL.
SamlAssertionConsumerUrlRedirect *string `json:"saml_assertion_consumer_url_redirect,omitempty"`
// SamlIdpInitiatedSsoRelayState RelayState sent to the target application.
SamlIdpInitiatedSsoRelayState *string `json:"saml_idp_initiated_sso_relay_state,omitempty"`
// SamlIdpInitiatedSsoUrlName Must equal `clientId`. The identity provider posts to `/realms/{realm}/broker/{alias}/endpoint/clients/{value}`.
SamlIdpInitiatedSsoUrlName *string `json:"saml_idp_initiated_sso_url_name,omitempty"`
} `json:"attributes,omitempty"`
// ClientId Must start with `idp-initiated-`. By convention `idp-initiated-{alias}`, where `{alias}` is the identity provider alias.
//
// Example: idp-initiated-generic-saml-a1b2c3
ClientId string `json:"clientId"`
Description *string `json:"description,omitempty"`
Name *string `json:"name,omitempty"`
Protocol IdpInitiatedClientRepresentationProtocol `json:"protocol"`
}
IdpInitiatedClientRepresentation SAML client that receives IdP-initiated logins brokered through an identity provider of this organization and sends the user on to the target application.
type IdpInitiatedClientRepresentationAttributesSamlForcePostBinding ¶
type IdpInitiatedClientRepresentationAttributesSamlForcePostBinding string
IdpInitiatedClientRepresentationAttributesSamlForcePostBinding Send the response to the target application with the POST binding.
const ( False IdpInitiatedClientRepresentationAttributesSamlForcePostBinding = "false" True IdpInitiatedClientRepresentationAttributesSamlForcePostBinding = "true" )
Defines values for IdpInitiatedClientRepresentationAttributesSamlForcePostBinding.
func (IdpInitiatedClientRepresentationAttributesSamlForcePostBinding) Valid ¶
func (e IdpInitiatedClientRepresentationAttributesSamlForcePostBinding) Valid() bool
Valid indicates whether the value is a known member of the IdpInitiatedClientRepresentationAttributesSamlForcePostBinding enum.
type IdpInitiatedClientRepresentationProtocol ¶
type IdpInitiatedClientRepresentationProtocol string
IdpInitiatedClientRepresentationProtocol defines model for IdpInitiatedClientRepresentation.Protocol.
const (
Saml IdpInitiatedClientRepresentationProtocol = "saml"
)
Defines values for IdpInitiatedClientRepresentationProtocol.
func (IdpInitiatedClientRepresentationProtocol) Valid ¶
func (e IdpInitiatedClientRepresentationProtocol) Valid() bool
Valid indicates whether the value is a known member of the IdpInitiatedClientRepresentationProtocol enum.
type ImportIdpJsonResponse ¶
type ImportIdpJsonResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string]interface{}
}
func ParseImportIdpJsonResponse ¶
func ParseImportIdpJsonResponse(rsp *http.Response) (*ImportIdpJsonResponse, error)
ParseImportIdpJsonResponse parses an HTTP response from a ImportIdpJsonWithResponse call
func (ImportIdpJsonResponse) ContentType ¶
func (r ImportIdpJsonResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ImportIdpJsonResponse) GetBody ¶
func (r ImportIdpJsonResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ImportIdpJsonResponse) GetJSON200 ¶
func (r ImportIdpJsonResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ImportIdpJsonResponse) Status ¶
func (r ImportIdpJsonResponse) Status() string
Status returns HTTPResponse.Status
func (ImportIdpJsonResponse) StatusCode ¶
func (r ImportIdpJsonResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ImportOrganizationsJSONRequestBody ¶
type ImportOrganizationsJSONRequestBody = OrganizationsImportRepresentation
ImportOrganizationsJSONRequestBody defines body for ImportOrganizations for application/json ContentType.
type ImportOrganizationsParams ¶
type ImportOrganizationsParams struct {
// SkipExisting Skip organizations that already exist instead of updating them
SkipExisting *bool `form:"skipExisting,omitempty" json:"skipExisting,omitempty"`
// ImportMembers Import organization members (requires existing users in realm)
ImportMembers *bool `form:"importMembers,omitempty" json:"importMembers,omitempty"`
}
ImportOrganizationsParams defines parameters for ImportOrganizations.
type ImportOrganizationsResponse ¶
type ImportOrganizationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrganizationsImportResultRepresentation
}
func ParseImportOrganizationsResponse ¶
func ParseImportOrganizationsResponse(rsp *http.Response) (*ImportOrganizationsResponse, error)
ParseImportOrganizationsResponse parses an HTTP response from a ImportOrganizationsWithResponse call
func (ImportOrganizationsResponse) ContentType ¶
func (r ImportOrganizationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ImportOrganizationsResponse) GetBody ¶
func (r ImportOrganizationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ImportOrganizationsResponse) GetJSON200 ¶
func (r ImportOrganizationsResponse) GetJSON200() *OrganizationsImportResultRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ImportOrganizationsResponse) Status ¶
func (r ImportOrganizationsResponse) Status() string
Status returns HTTPResponse.Status
func (ImportOrganizationsResponse) StatusCode ¶
func (r ImportOrganizationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InvitationRepresentation ¶
type InvitationRepresentation struct {
Attributes *map[string][]string `json:"attributes,omitempty"`
// CreatedAt Creation time in UTC, to the minute (`yyyy-MM-ddTHH:mmZ`, e.g. `2026-01-31T09:15Z`).
CreatedAt *string `json:"createdAt,omitempty"`
Email *string `json:"email,omitempty"`
Id *string `json:"id,omitempty"`
InvitationUrl *string `json:"invitationUrl,omitempty"`
InviterId *string `json:"inviterId,omitempty"`
OrganizationId *string `json:"organizationId,omitempty"`
Roles *[]string `json:"roles,omitempty"`
}
InvitationRepresentation defines model for InvitationRepresentation.
type InvitationRequestRepresentation ¶
type InvitationRequestRepresentation struct {
Attributes *map[string][]string `json:"attributes,omitempty"`
Email *string `json:"email,omitempty"`
InviterId *string `json:"inviterId,omitempty"`
RedirectUri *string `json:"redirectUri,omitempty"`
Roles *[]string `json:"roles,omitempty"`
Send *bool `json:"send,omitempty"`
}
InvitationRequestRepresentation defines model for InvitationRequestRepresentation.
type InvitationsResponse ¶
type InvitationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *InvitationRepresentation
}
func ParseInvitationsResponse ¶
func ParseInvitationsResponse(rsp *http.Response) (*InvitationsResponse, error)
ParseInvitationsResponse parses an HTTP response from a InvitationsWithResponse call
func (InvitationsResponse) ContentType ¶
func (r InvitationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (InvitationsResponse) GetBody ¶
func (r InvitationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (InvitationsResponse) GetJSON200 ¶
func (r InvitationsResponse) GetJSON200() *InvitationRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (InvitationsResponse) Status ¶
func (r InvitationsResponse) Status() string
Status returns HTTPResponse.Status
func (InvitationsResponse) StatusCode ¶
func (r InvitationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type KeycloakScimAuth ¶
type KeycloakScimAuth struct {
Type KeycloakScimAuthType `json:"type"`
}
KeycloakScimAuth Authenticates inbound SCIM calls with a Keycloak-issued access token (Bearer). The caller must hold the realm-management roles required to manage members of the organization.
type KeycloakScimAuthType ¶
type KeycloakScimAuthType string
KeycloakScimAuthType defines model for KeycloakScimAuth.Type.
const (
KeycloakScimAuthTypeKEYCLOAK KeycloakScimAuthType = "KEYCLOAK"
)
Defines values for KeycloakScimAuthType.
func (KeycloakScimAuthType) Valid ¶
func (e KeycloakScimAuthType) Valid() bool
Valid indicates whether the value is a known member of the KeycloakScimAuthType enum.
type KeyedRealmAttributeRepresentation ¶
type KeyedRealmAttributeRepresentation map[string]RealmAttributeRepresentation
KeyedRealmAttributeRepresentation defines model for KeyedRealmAttributeRepresentation.
type LinkIdentityProviderRepresentation ¶
type LinkIdentityProviderRepresentation struct {
Alias *string `json:"alias,omitempty"`
PostBrokerFlow *string `json:"post_broker_flow,omitempty"`
SyncMode *string `json:"sync_mode,omitempty"`
}
LinkIdentityProviderRepresentation defines model for LinkIdentityProviderRepresentation.
type LinkIdpJSONRequestBody ¶
type LinkIdpJSONRequestBody = LinkIdentityProviderRepresentation
LinkIdpJSONRequestBody defines body for LinkIdp for application/json ContentType.
type LinkIdpResponse ¶
type LinkIdpResponse struct {
Body []byte
HTTPResponse *http.Response
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *LinkIdpResponse201Headers
}
func ParseLinkIdpResponse ¶
func ParseLinkIdpResponse(rsp *http.Response) (*LinkIdpResponse, error)
ParseLinkIdpResponse parses an HTTP response from a LinkIdpWithResponse call
func (LinkIdpResponse) ContentType ¶
func (r LinkIdpResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LinkIdpResponse) GetBody ¶
func (r LinkIdpResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LinkIdpResponse) Status ¶
func (r LinkIdpResponse) Status() string
Status returns HTTPResponse.Status
func (LinkIdpResponse) StatusCode ¶
func (r LinkIdpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LinkIdpResponse201Headers ¶ added in v0.3.0
type LinkIdpResponse201Headers struct {
Location *string
}
LinkIdpResponse201Headers the declared response headers of an HTTP 201 response for LinkIdp
type ListUserOrganizationsResponse ¶
type ListUserOrganizationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]OrganizationRepresentation
}
func ParseListUserOrganizationsResponse ¶
func ParseListUserOrganizationsResponse(rsp *http.Response) (*ListUserOrganizationsResponse, error)
ParseListUserOrganizationsResponse parses an HTTP response from a ListUserOrganizationsWithResponse call
func (ListUserOrganizationsResponse) ContentType ¶
func (r ListUserOrganizationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListUserOrganizationsResponse) GetBody ¶
func (r ListUserOrganizationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListUserOrganizationsResponse) GetJSON200 ¶
func (r ListUserOrganizationsResponse) GetJSON200() *[]OrganizationRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListUserOrganizationsResponse) Status ¶
func (r ListUserOrganizationsResponse) Status() string
Status returns HTTPResponse.Status
func (ListUserOrganizationsResponse) StatusCode ¶
func (r ListUserOrganizationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListUserRolesInOrganizationResponse ¶
type ListUserRolesInOrganizationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]OrganizationRoleRepresentation
}
func ParseListUserRolesInOrganizationResponse ¶
func ParseListUserRolesInOrganizationResponse(rsp *http.Response) (*ListUserRolesInOrganizationResponse, error)
ParseListUserRolesInOrganizationResponse parses an HTTP response from a ListUserRolesInOrganizationWithResponse call
func (ListUserRolesInOrganizationResponse) ContentType ¶
func (r ListUserRolesInOrganizationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListUserRolesInOrganizationResponse) GetBody ¶
func (r ListUserRolesInOrganizationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListUserRolesInOrganizationResponse) GetJSON200 ¶
func (r ListUserRolesInOrganizationResponse) GetJSON200() *[]OrganizationRoleRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListUserRolesInOrganizationResponse) Status ¶
func (r ListUserRolesInOrganizationResponse) Status() string
Status returns HTTPResponse.Status
func (ListUserRolesInOrganizationResponse) StatusCode ¶
func (r ListUserRolesInOrganizationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MagicLinkRequest ¶
type MagicLinkRequest struct {
ClientId string `json:"client_id"`
CodeChallenge *string `json:"code_challenge,omitempty"`
CodeChallengeMethod *string `json:"code_challenge_method,omitempty"`
Email *string `json:"email,omitempty"`
ExpirationSeconds *int `json:"expiration_seconds,omitempty"`
ForceCreate *bool `json:"force_create,omitempty"`
Nonce *string `json:"nonce,omitempty"`
RedirectUri string `json:"redirect_uri"`
RememberMe *bool `json:"remember_me,omitempty"`
ResponseMode *string `json:"response_mode,omitempty"`
Reusable *bool `json:"reusable,omitempty"`
Scope *string `json:"scope,omitempty"`
SendEmail *bool `json:"send_email,omitempty"`
State *string `json:"state,omitempty"`
UpdatePassword *bool `json:"update_password,omitempty"`
UpdateProfile *bool `json:"update_profile,omitempty"`
Username *string `json:"username,omitempty"`
}
MagicLinkRequest defines model for MagicLinkRequest.
type MagicLinkResponse ¶
type MagicLinkResponse struct {
Link *string `json:"link,omitempty"`
Sent *bool `json:"sent,omitempty"`
UserId *string `json:"user_id,omitempty"`
}
MagicLinkResponse defines model for MagicLinkResponse.
type MyOrganizationRepresentation ¶
type MyOrganizationRepresentation struct {
Attributes *map[string][]string `json:"attributes,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
Name *string `json:"name,omitempty"`
Roles *[]string `json:"roles,omitempty"`
Url *string `json:"url,omitempty"`
}
MyOrganizationRepresentation defines model for MyOrganizationRepresentation.
type MyOrganizationsRepresentation ¶
type MyOrganizationsRepresentation map[string]MyOrganizationRepresentation
MyOrganizationsRepresentation defines model for MyOrganizationsRepresentation.
type OrganizationConfigRepresentation ¶
type OrganizationConfigRepresentation struct {
// AdminEventsEnabled Whether admin events are enabled for organization operations
AdminEventsEnabled *bool `json:"adminEventsEnabled,omitempty"`
// Attributes Additional configuration attributes
Attributes *map[string][]string `json:"attributes,omitempty"`
// CreateAdminUser Whether to create a default admin user for new organizations
CreateAdminUser *bool `json:"createAdminUser,omitempty"`
// DefaultPostBrokerFlow Default post broker login flow for organization identity providers
DefaultPostBrokerFlow *string `json:"defaultPostBrokerFlow,omitempty"`
// DefaultSyncMode Default sync mode for organization identity providers
DefaultSyncMode *string `json:"defaultSyncMode,omitempty"`
// EventsEnabled Whether user events are enabled for organization operations
EventsEnabled *bool `json:"eventsEnabled,omitempty"`
// ScimEnabled Realm-level feature flag that turns on per-organization SCIM 2.0
// provisioning. When false (the default) the organization SCIM
// configuration endpoints under `/{realm}/orgs/{orgId}/scim`
// return 404 and the SCIM tab is hidden in the Admin UI.
ScimEnabled *bool `json:"scimEnabled,omitempty"`
SharedIdps *bool `json:"sharedIdps,omitempty"`
}
OrganizationConfigRepresentation defines model for OrganizationConfigRepresentation.
type OrganizationDomainRepresentation ¶
type OrganizationDomainRepresentation struct {
DomainName string `json:"domain_name"`
RecordKey string `json:"record_key"`
RecordValue string `json:"record_value"`
Verified bool `json:"verified"`
}
OrganizationDomainRepresentation defines model for OrganizationDomainRepresentation.
type OrganizationExportRepresentation ¶
type OrganizationExportRepresentation struct {
Attributes *map[string][]string `json:"attributes,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
Domains *[]string `json:"domains,omitempty"`
Id *string `json:"id,omitempty"`
IdentityProviders *[]IdentityProviderRepresentation `json:"identityProviders,omitempty"`
Members *[]struct {
Email *string `json:"email,omitempty"`
Roles *[]string `json:"roles,omitempty"`
UserId *string `json:"userId,omitempty"`
} `json:"members,omitempty"`
Name *string `json:"name,omitempty"`
Realm *string `json:"realm,omitempty"`
Roles *[]OrganizationRoleRepresentation `json:"roles,omitempty"`
Url *string `json:"url,omitempty"`
}
OrganizationExportRepresentation defines model for OrganizationExportRepresentation.
type OrganizationMemberAttributeRepresentation ¶
type OrganizationMemberAttributeRepresentation struct {
Attributes *map[string][]string `json:"attributes,omitempty"`
}
OrganizationMemberAttributeRepresentation defines model for OrganizationMemberAttributeRepresentation.
type OrganizationRepresentation ¶
type OrganizationRepresentation struct {
Attributes *map[string][]string `json:"attributes,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
Domains *[]string `json:"domains,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Realm *string `json:"realm,omitempty"`
Url *string `json:"url,omitempty"`
}
OrganizationRepresentation defines model for OrganizationRepresentation.
type OrganizationRoleMapRepresentation ¶
type OrganizationRoleMapRepresentation map[string][]OrganizationRoleRepresentation
OrganizationRoleMapRepresentation defines model for OrganizationRoleMapRepresentation.
type OrganizationRoleRepresentation ¶
type OrganizationRoleRepresentation struct {
Description *string `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
}
OrganizationRoleRepresentation defines model for OrganizationRoleRepresentation.
type OrganizationScimAuth ¶
type OrganizationScimAuth struct {
// Type Authentication mode selector.
Type OrganizationScimAuthType `json:"type"`
// contains filtered or unexported fields
}
OrganizationScimAuth Polymorphic authentication configuration for the inbound SCIM endpoint. The `type` field discriminates the variant; the remaining fields depend on the variant chosen.
func (OrganizationScimAuth) AsExternalBasicScimAuth ¶
func (t OrganizationScimAuth) AsExternalBasicScimAuth() (ExternalBasicScimAuth, error)
AsExternalBasicScimAuth returns the union data inside the OrganizationScimAuth as a ExternalBasicScimAuth
func (OrganizationScimAuth) AsExternalJwtScimAuth ¶
func (t OrganizationScimAuth) AsExternalJwtScimAuth() (ExternalJwtScimAuth, error)
AsExternalJwtScimAuth returns the union data inside the OrganizationScimAuth as a ExternalJwtScimAuth
func (OrganizationScimAuth) AsExternalSecretScimAuth ¶
func (t OrganizationScimAuth) AsExternalSecretScimAuth() (ExternalSecretScimAuth, error)
AsExternalSecretScimAuth returns the union data inside the OrganizationScimAuth as a ExternalSecretScimAuth
func (OrganizationScimAuth) AsKeycloakScimAuth ¶
func (t OrganizationScimAuth) AsKeycloakScimAuth() (KeycloakScimAuth, error)
AsKeycloakScimAuth returns the union data inside the OrganizationScimAuth as a KeycloakScimAuth
func (OrganizationScimAuth) Discriminator ¶
func (t OrganizationScimAuth) Discriminator() (string, error)
func (*OrganizationScimAuth) FromExternalBasicScimAuth ¶
func (t *OrganizationScimAuth) FromExternalBasicScimAuth(v ExternalBasicScimAuth) error
FromExternalBasicScimAuth overwrites any union data inside the OrganizationScimAuth as the provided ExternalBasicScimAuth
func (*OrganizationScimAuth) FromExternalJwtScimAuth ¶
func (t *OrganizationScimAuth) FromExternalJwtScimAuth(v ExternalJwtScimAuth) error
FromExternalJwtScimAuth overwrites any union data inside the OrganizationScimAuth as the provided ExternalJwtScimAuth
func (*OrganizationScimAuth) FromExternalSecretScimAuth ¶
func (t *OrganizationScimAuth) FromExternalSecretScimAuth(v ExternalSecretScimAuth) error
FromExternalSecretScimAuth overwrites any union data inside the OrganizationScimAuth as the provided ExternalSecretScimAuth
func (*OrganizationScimAuth) FromKeycloakScimAuth ¶
func (t *OrganizationScimAuth) FromKeycloakScimAuth(v KeycloakScimAuth) error
FromKeycloakScimAuth overwrites any union data inside the OrganizationScimAuth as the provided KeycloakScimAuth
func (OrganizationScimAuth) MarshalJSON ¶
func (t OrganizationScimAuth) MarshalJSON() ([]byte, error)
func (*OrganizationScimAuth) MergeExternalBasicScimAuth ¶
func (t *OrganizationScimAuth) MergeExternalBasicScimAuth(v ExternalBasicScimAuth) error
MergeExternalBasicScimAuth performs a merge with any union data inside the OrganizationScimAuth, using the provided ExternalBasicScimAuth
func (*OrganizationScimAuth) MergeExternalJwtScimAuth ¶
func (t *OrganizationScimAuth) MergeExternalJwtScimAuth(v ExternalJwtScimAuth) error
MergeExternalJwtScimAuth performs a merge with any union data inside the OrganizationScimAuth, using the provided ExternalJwtScimAuth
func (*OrganizationScimAuth) MergeExternalSecretScimAuth ¶
func (t *OrganizationScimAuth) MergeExternalSecretScimAuth(v ExternalSecretScimAuth) error
MergeExternalSecretScimAuth performs a merge with any union data inside the OrganizationScimAuth, using the provided ExternalSecretScimAuth
func (*OrganizationScimAuth) MergeKeycloakScimAuth ¶
func (t *OrganizationScimAuth) MergeKeycloakScimAuth(v KeycloakScimAuth) error
MergeKeycloakScimAuth performs a merge with any union data inside the OrganizationScimAuth, using the provided KeycloakScimAuth
func (*OrganizationScimAuth) UnmarshalJSON ¶
func (t *OrganizationScimAuth) UnmarshalJSON(b []byte) error
func (OrganizationScimAuth) ValueByDiscriminator ¶
func (t OrganizationScimAuth) ValueByDiscriminator() (interface{}, error)
type OrganizationScimAuthType ¶
type OrganizationScimAuthType string
OrganizationScimAuthType Authentication mode selector.
const ( OrganizationScimAuthTypeEXTERNALBASIC OrganizationScimAuthType = "EXTERNAL_BASIC" OrganizationScimAuthTypeEXTERNALJWT OrganizationScimAuthType = "EXTERNAL_JWT" OrganizationScimAuthTypeEXTERNALSECRET OrganizationScimAuthType = "EXTERNAL_SECRET" OrganizationScimAuthTypeKEYCLOAK OrganizationScimAuthType = "KEYCLOAK" )
Defines values for OrganizationScimAuthType.
func (OrganizationScimAuthType) Valid ¶
func (e OrganizationScimAuthType) Valid() bool
Valid indicates whether the value is a known member of the OrganizationScimAuthType enum.
type OrganizationScimRepresentation ¶
type OrganizationScimRepresentation struct {
// Auth Polymorphic authentication configuration for the inbound SCIM
// endpoint. The `type` field discriminates the variant; the remaining
// fields depend on the variant chosen.
Auth *OrganizationScimAuth `json:"auth,omitempty"`
// EmailAsUsername When true, the provisioned user's `username` mirrors their
// `email`, and subsequent SCIM update operations do not change
// the username.
EmailAsUsername *bool `json:"email_as_username,omitempty"`
// Enabled Whether the organization's SCIM endpoint accepts inbound traffic.
// Turn this off to pause provisioning without losing the
// configuration.
Enabled *bool `json:"enabled,omitempty"`
// LinkIdp When true, provisioned users are federated with the
// organization's configured identity provider so they can sign in
// via the org's SSO immediately after provisioning.
LinkIdp *bool `json:"link_idp,omitempty"`
}
OrganizationScimRepresentation Per-organization SCIM 2.0 service-provider configuration. One of these backs the SCIM endpoint at `{authServerUrl}/realms/{realm}/scim/v2/organizations/{orgId}/`.
type OrganizationsConfigRepresentation ¶
type OrganizationsConfigRepresentation struct {
// CreateAdminUserEnabled Whether to create a default admin user for new organizations
CreateAdminUserEnabled *bool `json:"createAdminUserEnabled,omitempty"`
SharedIdpsEnabled *bool `json:"sharedIdpsEnabled,omitempty"`
}
OrganizationsConfigRepresentation defines model for OrganizationsConfigRepresentation.
type OrganizationsExportRepresentation ¶
type OrganizationsExportRepresentation struct {
Config *OrganizationsConfigRepresentation `json:"config,omitempty"`
// ExportedAt Export timestamp
ExportedAt *time.Time `json:"exportedAt,omitempty"`
Organizations *[]OrganizationExportRepresentation `json:"organizations,omitempty"`
// Realm Source realm name
Realm *string `json:"realm,omitempty"`
// Version Export format version
Version *string `json:"version,omitempty"`
}
OrganizationsExportRepresentation defines model for OrganizationsExportRepresentation.
type OrganizationsImportRepresentation ¶
type OrganizationsImportRepresentation struct {
Config *OrganizationsConfigRepresentation `json:"config,omitempty"`
Organizations *[]OrganizationExportRepresentation `json:"organizations,omitempty"`
// Version Import format version
Version *string `json:"version,omitempty"`
}
OrganizationsImportRepresentation defines model for OrganizationsImportRepresentation.
type OrganizationsImportResultRepresentation ¶
type OrganizationsImportResultRepresentation struct {
Errors *[]struct {
Error *string `json:"error,omitempty"`
OrganizationName *string `json:"organizationName,omitempty"`
} `json:"errors,omitempty"`
// Imported Number of organizations successfully imported
Imported *int `json:"imported,omitempty"`
// Skipped Number of organizations skipped
Skipped *int `json:"skipped,omitempty"`
// Updated Number of organizations updated
Updated *int `json:"updated,omitempty"`
}
OrganizationsImportResultRepresentation defines model for OrganizationsImportResultRepresentation.
type PortalLinkRepresentation ¶
type PortalLinkRepresentation struct {
Link *string `json:"link,omitempty"`
Redirect *string `json:"redirect,omitempty"`
User *string `json:"user,omitempty"`
}
PortalLinkRepresentation defines model for PortalLinkRepresentation.
type RealmAttributeRepresentation ¶
type RealmAttributeRepresentation struct {
Name *string `json:"name,omitempty"`
Realm *string `json:"realm,omitempty"`
Value *string `json:"value,omitempty"`
}
RealmAttributeRepresentation defines model for RealmAttributeRepresentation.
type RejectInvitationResponse ¶
func ParseRejectInvitationResponse ¶
func ParseRejectInvitationResponse(rsp *http.Response) (*RejectInvitationResponse, error)
ParseRejectInvitationResponse parses an HTTP response from a RejectInvitationWithResponse call
func (RejectInvitationResponse) ContentType ¶
func (r RejectInvitationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RejectInvitationResponse) GetBody ¶
func (r RejectInvitationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RejectInvitationResponse) Status ¶
func (r RejectInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (RejectInvitationResponse) StatusCode ¶
func (r RejectInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveOrganizationInvitationResponse ¶
func ParseRemoveOrganizationInvitationResponse ¶
func ParseRemoveOrganizationInvitationResponse(rsp *http.Response) (*RemoveOrganizationInvitationResponse, error)
ParseRemoveOrganizationInvitationResponse parses an HTTP response from a RemoveOrganizationInvitationWithResponse call
func (RemoveOrganizationInvitationResponse) ContentType ¶
func (r RemoveOrganizationInvitationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemoveOrganizationInvitationResponse) GetBody ¶
func (r RemoveOrganizationInvitationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RemoveOrganizationInvitationResponse) Status ¶
func (r RemoveOrganizationInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveOrganizationInvitationResponse) StatusCode ¶
func (r RemoveOrganizationInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveOrganizationMemberResponse ¶
func ParseRemoveOrganizationMemberResponse ¶
func ParseRemoveOrganizationMemberResponse(rsp *http.Response) (*RemoveOrganizationMemberResponse, error)
ParseRemoveOrganizationMemberResponse parses an HTTP response from a RemoveOrganizationMemberWithResponse call
func (RemoveOrganizationMemberResponse) ContentType ¶
func (r RemoveOrganizationMemberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemoveOrganizationMemberResponse) GetBody ¶
func (r RemoveOrganizationMemberResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RemoveOrganizationMemberResponse) Status ¶
func (r RemoveOrganizationMemberResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveOrganizationMemberResponse) StatusCode ¶
func (r RemoveOrganizationMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResendOrganizationInvitationResponse ¶
func ParseResendOrganizationInvitationResponse ¶
func ParseResendOrganizationInvitationResponse(rsp *http.Response) (*ResendOrganizationInvitationResponse, error)
ParseResendOrganizationInvitationResponse parses an HTTP response from a ResendOrganizationInvitationWithResponse call
func (ResendOrganizationInvitationResponse) ContentType ¶
func (r ResendOrganizationInvitationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResendOrganizationInvitationResponse) GetBody ¶
func (r ResendOrganizationInvitationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResendOrganizationInvitationResponse) Status ¶
func (r ResendOrganizationInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (ResendOrganizationInvitationResponse) StatusCode ¶
func (r ResendOrganizationInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResendWebhookByIdResponse ¶
func ParseResendWebhookByIdResponse ¶
func ParseResendWebhookByIdResponse(rsp *http.Response) (*ResendWebhookByIdResponse, error)
ParseResendWebhookByIdResponse parses an HTTP response from a ResendWebhookByIdWithResponse call
func (ResendWebhookByIdResponse) ContentType ¶
func (r ResendWebhookByIdResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResendWebhookByIdResponse) GetBody ¶
func (r ResendWebhookByIdResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResendWebhookByIdResponse) Status ¶
func (r ResendWebhookByIdResponse) Status() string
Status returns HTTPResponse.Status
func (ResendWebhookByIdResponse) StatusCode ¶
func (r ResendWebhookByIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevokeUserOrganizationRoleResponse ¶
func ParseRevokeUserOrganizationRoleResponse ¶
func ParseRevokeUserOrganizationRoleResponse(rsp *http.Response) (*RevokeUserOrganizationRoleResponse, error)
ParseRevokeUserOrganizationRoleResponse parses an HTTP response from a RevokeUserOrganizationRoleWithResponse call
func (RevokeUserOrganizationRoleResponse) ContentType ¶
func (r RevokeUserOrganizationRoleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevokeUserOrganizationRoleResponse) GetBody ¶
func (r RevokeUserOrganizationRoleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RevokeUserOrganizationRoleResponse) Status ¶
func (r RevokeUserOrganizationRoleResponse) Status() string
Status returns HTTPResponse.Status
func (RevokeUserOrganizationRoleResponse) StatusCode ¶
func (r RevokeUserOrganizationRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevokeUserRolesInOrganizationJSONBody ¶
type RevokeUserRolesInOrganizationJSONBody = []OrganizationRoleRepresentation
RevokeUserRolesInOrganizationJSONBody defines parameters for RevokeUserRolesInOrganization.
type RevokeUserRolesInOrganizationJSONRequestBody ¶
type RevokeUserRolesInOrganizationJSONRequestBody = RevokeUserRolesInOrganizationJSONBody
RevokeUserRolesInOrganizationJSONRequestBody defines body for RevokeUserRolesInOrganization for application/json ContentType.
type RevokeUserRolesInOrganizationResponse ¶
type RevokeUserRolesInOrganizationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON207 the response for an HTTP 207 `application/json` response
JSON207 *[]BulkResponseItem
}
func ParseRevokeUserRolesInOrganizationResponse ¶
func ParseRevokeUserRolesInOrganizationResponse(rsp *http.Response) (*RevokeUserRolesInOrganizationResponse, error)
ParseRevokeUserRolesInOrganizationResponse parses an HTTP response from a RevokeUserRolesInOrganizationWithResponse call
func (RevokeUserRolesInOrganizationResponse) ContentType ¶
func (r RevokeUserRolesInOrganizationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevokeUserRolesInOrganizationResponse) GetBody ¶
func (r RevokeUserRolesInOrganizationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RevokeUserRolesInOrganizationResponse) GetJSON207 ¶
func (r RevokeUserRolesInOrganizationResponse) GetJSON207() *[]BulkResponseItem
GetJSON207 returns the response for an HTTP 207 `application/json` response
func (RevokeUserRolesInOrganizationResponse) Status ¶
func (r RevokeUserRolesInOrganizationResponse) Status() string
Status returns HTTPResponse.Status
func (RevokeUserRolesInOrganizationResponse) StatusCode ¶
func (r RevokeUserRolesInOrganizationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SwitchActiveOrganizationJSONRequestBody ¶
type SwitchActiveOrganizationJSONRequestBody = SwitchOrganizationRepresentation
SwitchActiveOrganizationJSONRequestBody defines body for SwitchActiveOrganization for application/json ContentType.
type SwitchActiveOrganizationResponse ¶
type SwitchActiveOrganizationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AccessTokenResponse
}
func ParseSwitchActiveOrganizationResponse ¶
func ParseSwitchActiveOrganizationResponse(rsp *http.Response) (*SwitchActiveOrganizationResponse, error)
ParseSwitchActiveOrganizationResponse parses an HTTP response from a SwitchActiveOrganizationWithResponse call
func (SwitchActiveOrganizationResponse) ContentType ¶
func (r SwitchActiveOrganizationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SwitchActiveOrganizationResponse) GetBody ¶
func (r SwitchActiveOrganizationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SwitchActiveOrganizationResponse) GetJSON200 ¶
func (r SwitchActiveOrganizationResponse) GetJSON200() *AccessTokenResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SwitchActiveOrganizationResponse) Status ¶
func (r SwitchActiveOrganizationResponse) Status() string
Status returns HTTPResponse.Status
func (SwitchActiveOrganizationResponse) StatusCode ¶
func (r SwitchActiveOrganizationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SwitchOrganizationRepresentation ¶
type SwitchOrganizationRepresentation struct {
// Id The ID of the organization to switch to
Id string `json:"id"`
}
SwitchOrganizationRepresentation defines model for SwitchOrganizationRepresentation.
type UnlinkIdpResponse ¶
func ParseUnlinkIdpResponse ¶
func ParseUnlinkIdpResponse(rsp *http.Response) (*UnlinkIdpResponse, error)
ParseUnlinkIdpResponse parses an HTTP response from a UnlinkIdpWithResponse call
func (UnlinkIdpResponse) ContentType ¶
func (r UnlinkIdpResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UnlinkIdpResponse) GetBody ¶
func (r UnlinkIdpResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UnlinkIdpResponse) Status ¶
func (r UnlinkIdpResponse) Status() string
Status returns HTTPResponse.Status
func (UnlinkIdpResponse) StatusCode ¶
func (r UnlinkIdpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateIdpJSONRequestBody ¶
type UpdateIdpJSONRequestBody = IdentityProviderRepresentation
UpdateIdpJSONRequestBody defines body for UpdateIdp for application/json ContentType.
type UpdateIdpMapperJSONRequestBody ¶
type UpdateIdpMapperJSONRequestBody = IdentityProviderMapperRepresentation
UpdateIdpMapperJSONRequestBody defines body for UpdateIdpMapper for application/json ContentType.
type UpdateIdpMapperResponse ¶
func ParseUpdateIdpMapperResponse ¶
func ParseUpdateIdpMapperResponse(rsp *http.Response) (*UpdateIdpMapperResponse, error)
ParseUpdateIdpMapperResponse parses an HTTP response from a UpdateIdpMapperWithResponse call
func (UpdateIdpMapperResponse) ContentType ¶
func (r UpdateIdpMapperResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateIdpMapperResponse) GetBody ¶
func (r UpdateIdpMapperResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateIdpMapperResponse) Status ¶
func (r UpdateIdpMapperResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateIdpMapperResponse) StatusCode ¶
func (r UpdateIdpMapperResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateIdpResponse ¶
func ParseUpdateIdpResponse ¶
func ParseUpdateIdpResponse(rsp *http.Response) (*UpdateIdpResponse, error)
ParseUpdateIdpResponse parses an HTTP response from a UpdateIdpWithResponse call
func (UpdateIdpResponse) ContentType ¶
func (r UpdateIdpResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateIdpResponse) GetBody ¶
func (r UpdateIdpResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateIdpResponse) Status ¶
func (r UpdateIdpResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateIdpResponse) StatusCode ¶
func (r UpdateIdpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateOrganizationConfigJSONRequestBody ¶
type UpdateOrganizationConfigJSONRequestBody = OrganizationConfigRepresentation
UpdateOrganizationConfigJSONRequestBody defines body for UpdateOrganizationConfig for application/json ContentType.
type UpdateOrganizationConfigResponse ¶
func ParseUpdateOrganizationConfigResponse ¶
func ParseUpdateOrganizationConfigResponse(rsp *http.Response) (*UpdateOrganizationConfigResponse, error)
ParseUpdateOrganizationConfigResponse parses an HTTP response from a UpdateOrganizationConfigWithResponse call
func (UpdateOrganizationConfigResponse) ContentType ¶
func (r UpdateOrganizationConfigResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateOrganizationConfigResponse) GetBody ¶
func (r UpdateOrganizationConfigResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateOrganizationConfigResponse) Status ¶
func (r UpdateOrganizationConfigResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateOrganizationConfigResponse) StatusCode ¶
func (r UpdateOrganizationConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateOrganizationJSONRequestBody ¶
type UpdateOrganizationJSONRequestBody = OrganizationRepresentation
UpdateOrganizationJSONRequestBody defines body for UpdateOrganization for application/json ContentType.
type UpdateOrganizationResponse ¶
func ParseUpdateOrganizationResponse ¶
func ParseUpdateOrganizationResponse(rsp *http.Response) (*UpdateOrganizationResponse, error)
ParseUpdateOrganizationResponse parses an HTTP response from a UpdateOrganizationWithResponse call
func (UpdateOrganizationResponse) ContentType ¶
func (r UpdateOrganizationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateOrganizationResponse) GetBody ¶
func (r UpdateOrganizationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateOrganizationResponse) Status ¶
func (r UpdateOrganizationResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateOrganizationResponse) StatusCode ¶
func (r UpdateOrganizationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateOrganizationRoleJSONRequestBody ¶
type UpdateOrganizationRoleJSONRequestBody = OrganizationRoleRepresentation
UpdateOrganizationRoleJSONRequestBody defines body for UpdateOrganizationRole for application/json ContentType.
type UpdateOrganizationRoleResponse ¶
func ParseUpdateOrganizationRoleResponse ¶
func ParseUpdateOrganizationRoleResponse(rsp *http.Response) (*UpdateOrganizationRoleResponse, error)
ParseUpdateOrganizationRoleResponse parses an HTTP response from a UpdateOrganizationRoleWithResponse call
func (UpdateOrganizationRoleResponse) ContentType ¶
func (r UpdateOrganizationRoleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateOrganizationRoleResponse) GetBody ¶
func (r UpdateOrganizationRoleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateOrganizationRoleResponse) Status ¶
func (r UpdateOrganizationRoleResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateOrganizationRoleResponse) StatusCode ¶
func (r UpdateOrganizationRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateOrganizationScimConfigJSONRequestBody ¶
type UpdateOrganizationScimConfigJSONRequestBody = OrganizationScimRepresentation
UpdateOrganizationScimConfigJSONRequestBody defines body for UpdateOrganizationScimConfig for application/json ContentType.
type UpdateOrganizationScimConfigResponse ¶
type UpdateOrganizationScimConfigResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrganizationScimRepresentation
}
func ParseUpdateOrganizationScimConfigResponse ¶
func ParseUpdateOrganizationScimConfigResponse(rsp *http.Response) (*UpdateOrganizationScimConfigResponse, error)
ParseUpdateOrganizationScimConfigResponse parses an HTTP response from a UpdateOrganizationScimConfigWithResponse call
func (UpdateOrganizationScimConfigResponse) ContentType ¶
func (r UpdateOrganizationScimConfigResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateOrganizationScimConfigResponse) GetBody ¶
func (r UpdateOrganizationScimConfigResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateOrganizationScimConfigResponse) GetJSON200 ¶
func (r UpdateOrganizationScimConfigResponse) GetJSON200() *OrganizationScimRepresentation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateOrganizationScimConfigResponse) Status ¶
func (r UpdateOrganizationScimConfigResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateOrganizationScimConfigResponse) StatusCode ¶
func (r UpdateOrganizationScimConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateRealmAttributeByKeyJSONRequestBody ¶
type UpdateRealmAttributeByKeyJSONRequestBody = RealmAttributeRepresentation
UpdateRealmAttributeByKeyJSONRequestBody defines body for UpdateRealmAttributeByKey for application/json ContentType.
type UpdateRealmAttributeByKeyResponse ¶
func ParseUpdateRealmAttributeByKeyResponse ¶
func ParseUpdateRealmAttributeByKeyResponse(rsp *http.Response) (*UpdateRealmAttributeByKeyResponse, error)
ParseUpdateRealmAttributeByKeyResponse parses an HTTP response from a UpdateRealmAttributeByKeyWithResponse call
func (UpdateRealmAttributeByKeyResponse) ContentType ¶
func (r UpdateRealmAttributeByKeyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateRealmAttributeByKeyResponse) GetBody ¶
func (r UpdateRealmAttributeByKeyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateRealmAttributeByKeyResponse) Status ¶
func (r UpdateRealmAttributeByKeyResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateRealmAttributeByKeyResponse) StatusCode ¶
func (r UpdateRealmAttributeByKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateWebhookJSONRequestBody ¶
type UpdateWebhookJSONRequestBody = WebhookRepresentation
UpdateWebhookJSONRequestBody defines body for UpdateWebhook for application/json ContentType.
type UpdateWebhookResponse ¶
func ParseUpdateWebhookResponse ¶
func ParseUpdateWebhookResponse(rsp *http.Response) (*UpdateWebhookResponse, error)
ParseUpdateWebhookResponse parses an HTTP response from a UpdateWebhookWithResponse call
func (UpdateWebhookResponse) ContentType ¶
func (r UpdateWebhookResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateWebhookResponse) GetBody ¶
func (r UpdateWebhookResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateWebhookResponse) Status ¶
func (r UpdateWebhookResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateWebhookResponse) StatusCode ¶
func (r UpdateWebhookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserBriefRepresentation ¶
type UserBriefRepresentation struct {
CreatedTimestamp *int64 `json:"createdTimestamp,omitempty"`
Email *string `json:"email,omitempty"`
EmailVerified *bool `json:"emailVerified,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
FirstName *string `json:"firstName,omitempty"`
Groups *[]string `json:"groups,omitempty"`
Id *string `json:"id,omitempty"`
LastName *string `json:"lastName,omitempty"`
Username *string `json:"username,omitempty"`
}
UserBriefRepresentation defines model for UserBriefRepresentation.
type UserRepresentation ¶
type UserRepresentation struct {
Attributes *map[string]interface{} `json:"attributes,omitempty"`
CreatedTimestamp *int64 `json:"createdTimestamp,omitempty"`
Email *string `json:"email,omitempty"`
EmailVerified *bool `json:"emailVerified,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
FirstName *string `json:"firstName,omitempty"`
Groups *[]string `json:"groups,omitempty"`
Id *string `json:"id,omitempty"`
LastName *string `json:"lastName,omitempty"`
Username *string `json:"username,omitempty"`
}
UserRepresentation defines model for UserRepresentation.
type UserWithOrgsBriefRepresentation ¶
type UserWithOrgsBriefRepresentation struct {
CreatedTimestamp *int64 `json:"createdTimestamp,omitempty"`
Email *string `json:"email,omitempty"`
EmailVerified *bool `json:"emailVerified,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
FirstName *string `json:"firstName,omitempty"`
Groups *[]string `json:"groups,omitempty"`
Id *string `json:"id,omitempty"`
LastName *string `json:"lastName,omitempty"`
Organizations *OrganizationRoleMapRepresentation `json:"organizations,omitempty"`
Username *string `json:"username,omitempty"`
}
UserWithOrgsBriefRepresentation defines model for UserWithOrgsBriefRepresentation.
type UserWithOrgsRepresentation ¶
type UserWithOrgsRepresentation struct {
Attributes *map[string]interface{} `json:"attributes,omitempty"`
CreatedTimestamp *int64 `json:"createdTimestamp,omitempty"`
Email *string `json:"email,omitempty"`
EmailVerified *bool `json:"emailVerified,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
FirstName *string `json:"firstName,omitempty"`
Groups *[]string `json:"groups,omitempty"`
Id *string `json:"id,omitempty"`
LastName *string `json:"lastName,omitempty"`
Organizations *OrganizationRoleMapRepresentation `json:"organizations,omitempty"`
Username *string `json:"username,omitempty"`
}
UserWithOrgsRepresentation defines model for UserWithOrgsRepresentation.
type VerifyDomainResponse ¶
func ParseVerifyDomainResponse ¶
func ParseVerifyDomainResponse(rsp *http.Response) (*VerifyDomainResponse, error)
ParseVerifyDomainResponse parses an HTTP response from a VerifyDomainWithResponse call
func (VerifyDomainResponse) ContentType ¶
func (r VerifyDomainResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (VerifyDomainResponse) GetBody ¶
func (r VerifyDomainResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (VerifyDomainResponse) Status ¶
func (r VerifyDomainResponse) Status() string
Status returns HTTPResponse.Status
func (VerifyDomainResponse) StatusCode ¶
func (r VerifyDomainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WebhookRepresentation ¶
type WebhookRepresentation struct {
Attributes *map[string]interface{} `json:"attributes,omitempty"`
CreatedAt *int64 `json:"createdAt,omitempty"`
CreatedBy *string `json:"createdBy,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
EventTypes *[]string `json:"eventTypes,omitempty"`
Id *string `json:"id,omitempty"`
Realm *string `json:"realm,omitempty"`
Secret *string `json:"secret,omitempty"`
Url *string `json:"url,omitempty"`
}
WebhookRepresentation defines model for WebhookRepresentation.
type WebhookSendRepresentation ¶
type WebhookSendRepresentation struct {
EventId *string `json:"event_id,omitempty"`
Id *string `json:"id,omitempty"`
KeycloakEventId *string `json:"keycloak_event_id,omitempty"`
KeycloakEventType *string `json:"keycloak_event_type,omitempty"`
Payload *string `json:"payload,omitempty"`
Retries *int `json:"retries,omitempty"`
// SentAt When the send was attempted, in milliseconds since the epoch.
SentAt *int64 `json:"sent_at,omitempty"`
Status *int `json:"status,omitempty"`
StatusMessage *string `json:"status_message,omitempty"`
Type *string `json:"type,omitempty"`
Webhook *WebhookRepresentation `json:"webhook,omitempty"`
}
WebhookSendRepresentation defines model for WebhookSendRepresentation.