Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateUser(params *CreateUserParams, opts ...ClientOption) (*CreateUserCreated, error)
- func (a *Client) DeleteUser(params *DeleteUserParams, opts ...ClientOption) (*DeleteUserOK, error)
- func (a *Client) GetAvailableRoleIds(params *GetAvailableRoleIdsParams, opts ...ClientOption) (*GetAvailableRoleIdsOK, error)
- func (a *Client) GetRoles(params *GetRolesParams, opts ...ClientOption) (*GetRolesOK, error)
- func (a *Client) GetUserRoleIds(params *GetUserRoleIdsParams, opts ...ClientOption) (*GetUserRoleIdsOK, error)
- func (a *Client) GrantUserRoleIds(params *GrantUserRoleIdsParams, opts ...ClientOption) (*GrantUserRoleIdsOK, error)
- func (a *Client) RetrieveEmailsByCID(params *RetrieveEmailsByCIDParams, opts ...ClientOption) (*RetrieveEmailsByCIDOK, error)
- func (a *Client) RetrieveUser(params *RetrieveUserParams, opts ...ClientOption) (*RetrieveUserOK, error)
- func (a *Client) RetrieveUserUUID(params *RetrieveUserUUIDParams, opts ...ClientOption) (*RetrieveUserUUIDOK, error)
- func (a *Client) RetrieveUserUUIDsByCID(params *RetrieveUserUUIDsByCIDParams, opts ...ClientOption) (*RetrieveUserUUIDsByCIDOK, error)
- func (a *Client) RevokeUserRoleIds(params *RevokeUserRoleIdsParams, opts ...ClientOption) (*RevokeUserRoleIdsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateUser(params *UpdateUserParams, opts ...ClientOption) (*UpdateUserOK, error)
- type ClientOption
- type ClientService
- type CreateUserBadRequest
- type CreateUserCreated
- type CreateUserForbidden
- type CreateUserParams
- func (o *CreateUserParams) SetBody(body *models.DomainUserCreateRequest)
- func (o *CreateUserParams) SetContext(ctx context.Context)
- func (o *CreateUserParams) SetDefaults()
- func (o *CreateUserParams) SetHTTPClient(client *http.Client)
- func (o *CreateUserParams) SetTimeout(timeout time.Duration)
- func (o *CreateUserParams) WithBody(body *models.DomainUserCreateRequest) *CreateUserParams
- func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams
- func (o *CreateUserParams) WithDefaults() *CreateUserParams
- func (o *CreateUserParams) WithHTTPClient(client *http.Client) *CreateUserParams
- func (o *CreateUserParams) WithTimeout(timeout time.Duration) *CreateUserParams
- func (o *CreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateUserReader
- type CreateUserTooManyRequests
- type DeleteUserBadRequest
- type DeleteUserDefault
- type DeleteUserForbidden
- type DeleteUserNotFound
- type DeleteUserOK
- type DeleteUserParams
- func (o *DeleteUserParams) SetContext(ctx context.Context)
- func (o *DeleteUserParams) SetDefaults()
- func (o *DeleteUserParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserParams) SetUserUUID(userUUID string)
- func (o *DeleteUserParams) WithContext(ctx context.Context) *DeleteUserParams
- func (o *DeleteUserParams) WithDefaults() *DeleteUserParams
- func (o *DeleteUserParams) WithHTTPClient(client *http.Client) *DeleteUserParams
- func (o *DeleteUserParams) WithTimeout(timeout time.Duration) *DeleteUserParams
- func (o *DeleteUserParams) WithUserUUID(userUUID string) *DeleteUserParams
- func (o *DeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserReader
- type DeleteUserTooManyRequests
- type GetAvailableRoleIdsDefault
- type GetAvailableRoleIdsForbidden
- type GetAvailableRoleIdsInternalServerError
- type GetAvailableRoleIdsNotFound
- type GetAvailableRoleIdsOK
- type GetAvailableRoleIdsParams
- func NewGetAvailableRoleIdsParams() *GetAvailableRoleIdsParams
- func NewGetAvailableRoleIdsParamsWithContext(ctx context.Context) *GetAvailableRoleIdsParams
- func NewGetAvailableRoleIdsParamsWithHTTPClient(client *http.Client) *GetAvailableRoleIdsParams
- func NewGetAvailableRoleIdsParamsWithTimeout(timeout time.Duration) *GetAvailableRoleIdsParams
- func (o *GetAvailableRoleIdsParams) SetContext(ctx context.Context)
- func (o *GetAvailableRoleIdsParams) SetDefaults()
- func (o *GetAvailableRoleIdsParams) SetHTTPClient(client *http.Client)
- func (o *GetAvailableRoleIdsParams) SetTimeout(timeout time.Duration)
- func (o *GetAvailableRoleIdsParams) WithContext(ctx context.Context) *GetAvailableRoleIdsParams
- func (o *GetAvailableRoleIdsParams) WithDefaults() *GetAvailableRoleIdsParams
- func (o *GetAvailableRoleIdsParams) WithHTTPClient(client *http.Client) *GetAvailableRoleIdsParams
- func (o *GetAvailableRoleIdsParams) WithTimeout(timeout time.Duration) *GetAvailableRoleIdsParams
- func (o *GetAvailableRoleIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAvailableRoleIdsReader
- type GetAvailableRoleIdsTooManyRequests
- type GetRolesBadRequest
- type GetRolesDefault
- type GetRolesForbidden
- type GetRolesInternalServerError
- type GetRolesNotFound
- type GetRolesOK
- type GetRolesParams
- func (o *GetRolesParams) SetContext(ctx context.Context)
- func (o *GetRolesParams) SetDefaults()
- func (o *GetRolesParams) SetHTTPClient(client *http.Client)
- func (o *GetRolesParams) SetIds(ids []string)
- func (o *GetRolesParams) SetTimeout(timeout time.Duration)
- func (o *GetRolesParams) WithContext(ctx context.Context) *GetRolesParams
- func (o *GetRolesParams) WithDefaults() *GetRolesParams
- func (o *GetRolesParams) WithHTTPClient(client *http.Client) *GetRolesParams
- func (o *GetRolesParams) WithIds(ids []string) *GetRolesParams
- func (o *GetRolesParams) WithTimeout(timeout time.Duration) *GetRolesParams
- func (o *GetRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRolesReader
- type GetRolesTooManyRequests
- type GetUserRoleIdsBadRequest
- type GetUserRoleIdsDefault
- type GetUserRoleIdsForbidden
- type GetUserRoleIdsInternalServerError
- type GetUserRoleIdsOK
- type GetUserRoleIdsParams
- func NewGetUserRoleIdsParams() *GetUserRoleIdsParams
- func NewGetUserRoleIdsParamsWithContext(ctx context.Context) *GetUserRoleIdsParams
- func NewGetUserRoleIdsParamsWithHTTPClient(client *http.Client) *GetUserRoleIdsParams
- func NewGetUserRoleIdsParamsWithTimeout(timeout time.Duration) *GetUserRoleIdsParams
- func (o *GetUserRoleIdsParams) SetContext(ctx context.Context)
- func (o *GetUserRoleIdsParams) SetDefaults()
- func (o *GetUserRoleIdsParams) SetHTTPClient(client *http.Client)
- func (o *GetUserRoleIdsParams) SetTimeout(timeout time.Duration)
- func (o *GetUserRoleIdsParams) SetUserUUID(userUUID string)
- func (o *GetUserRoleIdsParams) WithContext(ctx context.Context) *GetUserRoleIdsParams
- func (o *GetUserRoleIdsParams) WithDefaults() *GetUserRoleIdsParams
- func (o *GetUserRoleIdsParams) WithHTTPClient(client *http.Client) *GetUserRoleIdsParams
- func (o *GetUserRoleIdsParams) WithTimeout(timeout time.Duration) *GetUserRoleIdsParams
- func (o *GetUserRoleIdsParams) WithUserUUID(userUUID string) *GetUserRoleIdsParams
- func (o *GetUserRoleIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserRoleIdsReader
- type GetUserRoleIdsTooManyRequests
- type GrantUserRoleIdsBadRequest
- type GrantUserRoleIdsDefault
- type GrantUserRoleIdsForbidden
- type GrantUserRoleIdsOK
- type GrantUserRoleIdsParams
- func NewGrantUserRoleIdsParams() *GrantUserRoleIdsParams
- func NewGrantUserRoleIdsParamsWithContext(ctx context.Context) *GrantUserRoleIdsParams
- func NewGrantUserRoleIdsParamsWithHTTPClient(client *http.Client) *GrantUserRoleIdsParams
- func NewGrantUserRoleIdsParamsWithTimeout(timeout time.Duration) *GrantUserRoleIdsParams
- func (o *GrantUserRoleIdsParams) SetBody(body *models.DomainRoleIDs)
- func (o *GrantUserRoleIdsParams) SetContext(ctx context.Context)
- func (o *GrantUserRoleIdsParams) SetDefaults()
- func (o *GrantUserRoleIdsParams) SetHTTPClient(client *http.Client)
- func (o *GrantUserRoleIdsParams) SetTimeout(timeout time.Duration)
- func (o *GrantUserRoleIdsParams) SetUserUUID(userUUID string)
- func (o *GrantUserRoleIdsParams) WithBody(body *models.DomainRoleIDs) *GrantUserRoleIdsParams
- func (o *GrantUserRoleIdsParams) WithContext(ctx context.Context) *GrantUserRoleIdsParams
- func (o *GrantUserRoleIdsParams) WithDefaults() *GrantUserRoleIdsParams
- func (o *GrantUserRoleIdsParams) WithHTTPClient(client *http.Client) *GrantUserRoleIdsParams
- func (o *GrantUserRoleIdsParams) WithTimeout(timeout time.Duration) *GrantUserRoleIdsParams
- func (o *GrantUserRoleIdsParams) WithUserUUID(userUUID string) *GrantUserRoleIdsParams
- func (o *GrantUserRoleIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GrantUserRoleIdsReader
- type GrantUserRoleIdsTooManyRequests
- type RetrieveEmailsByCIDBadRequest
- type RetrieveEmailsByCIDDefault
- type RetrieveEmailsByCIDForbidden
- type RetrieveEmailsByCIDOK
- type RetrieveEmailsByCIDParams
- func NewRetrieveEmailsByCIDParams() *RetrieveEmailsByCIDParams
- func NewRetrieveEmailsByCIDParamsWithContext(ctx context.Context) *RetrieveEmailsByCIDParams
- func NewRetrieveEmailsByCIDParamsWithHTTPClient(client *http.Client) *RetrieveEmailsByCIDParams
- func NewRetrieveEmailsByCIDParamsWithTimeout(timeout time.Duration) *RetrieveEmailsByCIDParams
- func (o *RetrieveEmailsByCIDParams) SetContext(ctx context.Context)
- func (o *RetrieveEmailsByCIDParams) SetDefaults()
- func (o *RetrieveEmailsByCIDParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveEmailsByCIDParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveEmailsByCIDParams) WithContext(ctx context.Context) *RetrieveEmailsByCIDParams
- func (o *RetrieveEmailsByCIDParams) WithDefaults() *RetrieveEmailsByCIDParams
- func (o *RetrieveEmailsByCIDParams) WithHTTPClient(client *http.Client) *RetrieveEmailsByCIDParams
- func (o *RetrieveEmailsByCIDParams) WithTimeout(timeout time.Duration) *RetrieveEmailsByCIDParams
- func (o *RetrieveEmailsByCIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveEmailsByCIDReader
- type RetrieveEmailsByCIDTooManyRequests
- type RetrieveUserBadRequest
- type RetrieveUserDefault
- type RetrieveUserForbidden
- type RetrieveUserNotFound
- type RetrieveUserOK
- type RetrieveUserParams
- func (o *RetrieveUserParams) SetContext(ctx context.Context)
- func (o *RetrieveUserParams) SetDefaults()
- func (o *RetrieveUserParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveUserParams) SetIds(ids []string)
- func (o *RetrieveUserParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveUserParams) WithContext(ctx context.Context) *RetrieveUserParams
- func (o *RetrieveUserParams) WithDefaults() *RetrieveUserParams
- func (o *RetrieveUserParams) WithHTTPClient(client *http.Client) *RetrieveUserParams
- func (o *RetrieveUserParams) WithIds(ids []string) *RetrieveUserParams
- func (o *RetrieveUserParams) WithTimeout(timeout time.Duration) *RetrieveUserParams
- func (o *RetrieveUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveUserReader
- type RetrieveUserTooManyRequests
- type RetrieveUserUUIDBadRequest
- type RetrieveUserUUIDDefault
- type RetrieveUserUUIDForbidden
- type RetrieveUserUUIDNotFound
- type RetrieveUserUUIDOK
- type RetrieveUserUUIDParams
- func NewRetrieveUserUUIDParams() *RetrieveUserUUIDParams
- func NewRetrieveUserUUIDParamsWithContext(ctx context.Context) *RetrieveUserUUIDParams
- func NewRetrieveUserUUIDParamsWithHTTPClient(client *http.Client) *RetrieveUserUUIDParams
- func NewRetrieveUserUUIDParamsWithTimeout(timeout time.Duration) *RetrieveUserUUIDParams
- func (o *RetrieveUserUUIDParams) SetContext(ctx context.Context)
- func (o *RetrieveUserUUIDParams) SetDefaults()
- func (o *RetrieveUserUUIDParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveUserUUIDParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveUserUUIDParams) SetUID(uid []string)
- func (o *RetrieveUserUUIDParams) WithContext(ctx context.Context) *RetrieveUserUUIDParams
- func (o *RetrieveUserUUIDParams) WithDefaults() *RetrieveUserUUIDParams
- func (o *RetrieveUserUUIDParams) WithHTTPClient(client *http.Client) *RetrieveUserUUIDParams
- func (o *RetrieveUserUUIDParams) WithTimeout(timeout time.Duration) *RetrieveUserUUIDParams
- func (o *RetrieveUserUUIDParams) WithUID(uid []string) *RetrieveUserUUIDParams
- func (o *RetrieveUserUUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveUserUUIDReader
- type RetrieveUserUUIDTooManyRequests
- type RetrieveUserUUIDsByCIDBadRequest
- type RetrieveUserUUIDsByCIDDefault
- type RetrieveUserUUIDsByCIDForbidden
- type RetrieveUserUUIDsByCIDOK
- type RetrieveUserUUIDsByCIDParams
- func NewRetrieveUserUUIDsByCIDParams() *RetrieveUserUUIDsByCIDParams
- func NewRetrieveUserUUIDsByCIDParamsWithContext(ctx context.Context) *RetrieveUserUUIDsByCIDParams
- func NewRetrieveUserUUIDsByCIDParamsWithHTTPClient(client *http.Client) *RetrieveUserUUIDsByCIDParams
- func NewRetrieveUserUUIDsByCIDParamsWithTimeout(timeout time.Duration) *RetrieveUserUUIDsByCIDParams
- func (o *RetrieveUserUUIDsByCIDParams) SetContext(ctx context.Context)
- func (o *RetrieveUserUUIDsByCIDParams) SetDefaults()
- func (o *RetrieveUserUUIDsByCIDParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveUserUUIDsByCIDParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveUserUUIDsByCIDParams) WithContext(ctx context.Context) *RetrieveUserUUIDsByCIDParams
- func (o *RetrieveUserUUIDsByCIDParams) WithDefaults() *RetrieveUserUUIDsByCIDParams
- func (o *RetrieveUserUUIDsByCIDParams) WithHTTPClient(client *http.Client) *RetrieveUserUUIDsByCIDParams
- func (o *RetrieveUserUUIDsByCIDParams) WithTimeout(timeout time.Duration) *RetrieveUserUUIDsByCIDParams
- func (o *RetrieveUserUUIDsByCIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveUserUUIDsByCIDReader
- type RetrieveUserUUIDsByCIDTooManyRequests
- type RevokeUserRoleIdsBadRequest
- type RevokeUserRoleIdsDefault
- type RevokeUserRoleIdsForbidden
- type RevokeUserRoleIdsOK
- type RevokeUserRoleIdsParams
- func NewRevokeUserRoleIdsParams() *RevokeUserRoleIdsParams
- func NewRevokeUserRoleIdsParamsWithContext(ctx context.Context) *RevokeUserRoleIdsParams
- func NewRevokeUserRoleIdsParamsWithHTTPClient(client *http.Client) *RevokeUserRoleIdsParams
- func NewRevokeUserRoleIdsParamsWithTimeout(timeout time.Duration) *RevokeUserRoleIdsParams
- func (o *RevokeUserRoleIdsParams) SetContext(ctx context.Context)
- func (o *RevokeUserRoleIdsParams) SetDefaults()
- func (o *RevokeUserRoleIdsParams) SetHTTPClient(client *http.Client)
- func (o *RevokeUserRoleIdsParams) SetIds(ids []string)
- func (o *RevokeUserRoleIdsParams) SetTimeout(timeout time.Duration)
- func (o *RevokeUserRoleIdsParams) SetUserUUID(userUUID string)
- func (o *RevokeUserRoleIdsParams) WithContext(ctx context.Context) *RevokeUserRoleIdsParams
- func (o *RevokeUserRoleIdsParams) WithDefaults() *RevokeUserRoleIdsParams
- func (o *RevokeUserRoleIdsParams) WithHTTPClient(client *http.Client) *RevokeUserRoleIdsParams
- func (o *RevokeUserRoleIdsParams) WithIds(ids []string) *RevokeUserRoleIdsParams
- func (o *RevokeUserRoleIdsParams) WithTimeout(timeout time.Duration) *RevokeUserRoleIdsParams
- func (o *RevokeUserRoleIdsParams) WithUserUUID(userUUID string) *RevokeUserRoleIdsParams
- func (o *RevokeUserRoleIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeUserRoleIdsReader
- type RevokeUserRoleIdsTooManyRequests
- type UpdateUserBadRequest
- type UpdateUserDefault
- type UpdateUserForbidden
- type UpdateUserNotFound
- type UpdateUserOK
- type UpdateUserParams
- func (o *UpdateUserParams) SetBody(body *models.DomainUpdateUserFields)
- func (o *UpdateUserParams) SetContext(ctx context.Context)
- func (o *UpdateUserParams) SetDefaults()
- func (o *UpdateUserParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserParams) SetUserUUID(userUUID string)
- func (o *UpdateUserParams) WithBody(body *models.DomainUpdateUserFields) *UpdateUserParams
- func (o *UpdateUserParams) WithContext(ctx context.Context) *UpdateUserParams
- func (o *UpdateUserParams) WithDefaults() *UpdateUserParams
- func (o *UpdateUserParams) WithHTTPClient(client *http.Client) *UpdateUserParams
- func (o *UpdateUserParams) WithTimeout(timeout time.Duration) *UpdateUserParams
- func (o *UpdateUserParams) WithUserUUID(userUUID string) *UpdateUserParams
- func (o *UpdateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserReader
- type UpdateUserTooManyRequests
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for user management API
func (*Client) CreateUser ¶
func (a *Client) CreateUser(params *CreateUserParams, opts ...ClientOption) (*CreateUserCreated, error)
CreateUser creates a new user after creating a user assign one or more roles with p o s t user roles entities user roles v1
func (*Client) DeleteUser ¶
func (a *Client) DeleteUser(params *DeleteUserParams, opts ...ClientOption) (*DeleteUserOK, error)
DeleteUser deletes a user permanently
func (*Client) GetAvailableRoleIds ¶
func (a *Client) GetAvailableRoleIds(params *GetAvailableRoleIdsParams, opts ...ClientOption) (*GetAvailableRoleIdsOK, error)
GetAvailableRoleIds shows role i ds for all roles available in your customer account for more information on each role provide the role ID to customer entities roles v1
func (*Client) GetRoles ¶
func (a *Client) GetRoles(params *GetRolesParams, opts ...ClientOption) (*GetRolesOK, error)
GetRoles gets info about a role
func (*Client) GetUserRoleIds ¶
func (a *Client) GetUserRoleIds(params *GetUserRoleIdsParams, opts ...ClientOption) (*GetUserRoleIdsOK, error)
GetUserRoleIds shows role i ds of roles assigned to a user for more information on each role provide the role ID to customer entities roles v1
func (*Client) GrantUserRoleIds ¶
func (a *Client) GrantUserRoleIds(params *GrantUserRoleIdsParams, opts ...ClientOption) (*GrantUserRoleIdsOK, error)
GrantUserRoleIds assigns one or more roles to a user
func (*Client) RetrieveEmailsByCID ¶
func (a *Client) RetrieveEmailsByCID(params *RetrieveEmailsByCIDParams, opts ...ClientOption) (*RetrieveEmailsByCIDOK, error)
RetrieveEmailsByCID lists the usernames usually an email address for all users in your customer account
func (*Client) RetrieveUser ¶
func (a *Client) RetrieveUser(params *RetrieveUserParams, opts ...ClientOption) (*RetrieveUserOK, error)
RetrieveUser gets info about a user
func (*Client) RetrieveUserUUID ¶
func (a *Client) RetrieveUserUUID(params *RetrieveUserUUIDParams, opts ...ClientOption) (*RetrieveUserUUIDOK, error)
RetrieveUserUUID gets a user s ID by providing a username usually an email address
func (*Client) RetrieveUserUUIDsByCID ¶
func (a *Client) RetrieveUserUUIDsByCID(params *RetrieveUserUUIDsByCIDParams, opts ...ClientOption) (*RetrieveUserUUIDsByCIDOK, error)
RetrieveUserUUIDsByCID lists user i ds for all users in your customer account for more information on each user provide the user ID to users entities user v1
func (*Client) RevokeUserRoleIds ¶
func (a *Client) RevokeUserRoleIds(params *RevokeUserRoleIdsParams, opts ...ClientOption) (*RevokeUserRoleIdsOK, error)
RevokeUserRoleIds revokes one or more roles from a user
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateUser ¶
func (a *Client) UpdateUser(params *UpdateUserParams, opts ...ClientOption) (*UpdateUserOK, error)
UpdateUser modifies an existing user s first or last name
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateUser(params *CreateUserParams, opts ...ClientOption) (*CreateUserCreated, error) DeleteUser(params *DeleteUserParams, opts ...ClientOption) (*DeleteUserOK, error) GetAvailableRoleIds(params *GetAvailableRoleIdsParams, opts ...ClientOption) (*GetAvailableRoleIdsOK, error) GetRoles(params *GetRolesParams, opts ...ClientOption) (*GetRolesOK, error) GetUserRoleIds(params *GetUserRoleIdsParams, opts ...ClientOption) (*GetUserRoleIdsOK, error) GrantUserRoleIds(params *GrantUserRoleIdsParams, opts ...ClientOption) (*GrantUserRoleIdsOK, error) RetrieveEmailsByCID(params *RetrieveEmailsByCIDParams, opts ...ClientOption) (*RetrieveEmailsByCIDOK, error) RetrieveUser(params *RetrieveUserParams, opts ...ClientOption) (*RetrieveUserOK, error) RetrieveUserUUID(params *RetrieveUserUUIDParams, opts ...ClientOption) (*RetrieveUserUUIDOK, error) RetrieveUserUUIDsByCID(params *RetrieveUserUUIDsByCIDParams, opts ...ClientOption) (*RetrieveUserUUIDsByCIDOK, error) RevokeUserRoleIds(params *RevokeUserRoleIdsParams, opts ...ClientOption) (*RevokeUserRoleIdsOK, error) UpdateUser(params *UpdateUserParams, opts ...ClientOption) (*UpdateUserOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new user management API client.
type CreateUserBadRequest ¶
type CreateUserBadRequest struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaEntitiesResponse }
CreateUserBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewCreateUserBadRequest ¶
func NewCreateUserBadRequest() *CreateUserBadRequest
NewCreateUserBadRequest creates a CreateUserBadRequest with default headers values
func (*CreateUserBadRequest) Error ¶
func (o *CreateUserBadRequest) Error() string
func (*CreateUserBadRequest) GetPayload ¶
func (o *CreateUserBadRequest) GetPayload() *models.MsaEntitiesResponse
type CreateUserCreated ¶
type CreateUserCreated struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DomainUserMetaDataResponse }
CreateUserCreated describes a response with status code 201, with default header values.
Created
func NewCreateUserCreated ¶
func NewCreateUserCreated() *CreateUserCreated
NewCreateUserCreated creates a CreateUserCreated with default headers values
func (*CreateUserCreated) Error ¶
func (o *CreateUserCreated) Error() string
func (*CreateUserCreated) GetPayload ¶
func (o *CreateUserCreated) GetPayload() *models.DomainUserMetaDataResponse
type CreateUserForbidden ¶
type CreateUserForbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaEntitiesResponse }
CreateUserForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateUserForbidden ¶
func NewCreateUserForbidden() *CreateUserForbidden
NewCreateUserForbidden creates a CreateUserForbidden with default headers values
func (*CreateUserForbidden) Error ¶
func (o *CreateUserForbidden) Error() string
func (*CreateUserForbidden) GetPayload ¶
func (o *CreateUserForbidden) GetPayload() *models.MsaEntitiesResponse
type CreateUserParams ¶
type CreateUserParams struct { /* Body. Attributes for this user. `uid` (required) is the user's email address, which is their username in Falcon. Optional attributes: <ul><li>`firstName`</li><li>`lastName`</li><li>`password`</li></ul> As a best practice, we recommend omitting `password`. If single sign-on is enabled for your customer account, the `password` attribute is ignored. If single sign-on is not enabled, we send a user activation request to their email address when you create the user with no `password`. The user should use the activation email to set their own password. */ Body *models.DomainUserCreateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateUserParams contains all the parameters to send to the API endpoint
for the create user operation. Typically these are written to a http.Request.
func NewCreateUserParams ¶
func NewCreateUserParams() *CreateUserParams
NewCreateUserParams creates a new CreateUserParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateUserParamsWithContext ¶
func NewCreateUserParamsWithContext(ctx context.Context) *CreateUserParams
NewCreateUserParamsWithContext creates a new CreateUserParams object with the ability to set a context for a request.
func NewCreateUserParamsWithHTTPClient ¶
func NewCreateUserParamsWithHTTPClient(client *http.Client) *CreateUserParams
NewCreateUserParamsWithHTTPClient creates a new CreateUserParams object with the ability to set a custom HTTPClient for a request.
func NewCreateUserParamsWithTimeout ¶
func NewCreateUserParamsWithTimeout(timeout time.Duration) *CreateUserParams
NewCreateUserParamsWithTimeout creates a new CreateUserParams object with the ability to set a timeout on a request.
func (*CreateUserParams) SetBody ¶
func (o *CreateUserParams) SetBody(body *models.DomainUserCreateRequest)
SetBody adds the body to the create user params
func (*CreateUserParams) SetContext ¶
func (o *CreateUserParams) SetContext(ctx context.Context)
SetContext adds the context to the create user params
func (*CreateUserParams) SetDefaults ¶
func (o *CreateUserParams) SetDefaults()
SetDefaults hydrates default values in the create user params (not the query body).
All values with no default are reset to their zero value.
func (*CreateUserParams) SetHTTPClient ¶
func (o *CreateUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create user params
func (*CreateUserParams) SetTimeout ¶
func (o *CreateUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create user params
func (*CreateUserParams) WithBody ¶
func (o *CreateUserParams) WithBody(body *models.DomainUserCreateRequest) *CreateUserParams
WithBody adds the body to the create user params
func (*CreateUserParams) WithContext ¶
func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams
WithContext adds the context to the create user params
func (*CreateUserParams) WithDefaults ¶
func (o *CreateUserParams) WithDefaults() *CreateUserParams
WithDefaults hydrates default values in the create user params (not the query body).
All values with no default are reset to their zero value.
func (*CreateUserParams) WithHTTPClient ¶
func (o *CreateUserParams) WithHTTPClient(client *http.Client) *CreateUserParams
WithHTTPClient adds the HTTPClient to the create user params
func (*CreateUserParams) WithTimeout ¶
func (o *CreateUserParams) WithTimeout(timeout time.Duration) *CreateUserParams
WithTimeout adds the timeout to the create user params
func (*CreateUserParams) WriteToRequest ¶
func (o *CreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateUserReader ¶
type CreateUserReader struct {
// contains filtered or unexported fields
}
CreateUserReader is a Reader for the CreateUser structure.
func (*CreateUserReader) ReadResponse ¶
func (o *CreateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateUserTooManyRequests ¶
type CreateUserTooManyRequests struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
CreateUserTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewCreateUserTooManyRequests ¶
func NewCreateUserTooManyRequests() *CreateUserTooManyRequests
NewCreateUserTooManyRequests creates a CreateUserTooManyRequests with default headers values
func (*CreateUserTooManyRequests) Error ¶
func (o *CreateUserTooManyRequests) Error() string
func (*CreateUserTooManyRequests) GetPayload ¶
func (o *CreateUserTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type DeleteUserBadRequest ¶
type DeleteUserBadRequest struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
DeleteUserBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteUserBadRequest ¶
func NewDeleteUserBadRequest() *DeleteUserBadRequest
NewDeleteUserBadRequest creates a DeleteUserBadRequest with default headers values
func (*DeleteUserBadRequest) Error ¶
func (o *DeleteUserBadRequest) Error() string
func (*DeleteUserBadRequest) GetPayload ¶
func (o *DeleteUserBadRequest) GetPayload() *models.MsaReplyMetaOnly
type DeleteUserDefault ¶
type DeleteUserDefault struct { Payload *models.MsaReplyMetaOnly // contains filtered or unexported fields }
DeleteUserDefault describes a response with status code -1, with default header values.
OK
func NewDeleteUserDefault ¶
func NewDeleteUserDefault(code int) *DeleteUserDefault
NewDeleteUserDefault creates a DeleteUserDefault with default headers values
func (*DeleteUserDefault) Code ¶
func (o *DeleteUserDefault) Code() int
Code gets the status code for the delete user default response
func (*DeleteUserDefault) Error ¶
func (o *DeleteUserDefault) Error() string
func (*DeleteUserDefault) GetPayload ¶
func (o *DeleteUserDefault) GetPayload() *models.MsaReplyMetaOnly
type DeleteUserForbidden ¶
type DeleteUserForbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
DeleteUserForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteUserForbidden ¶
func NewDeleteUserForbidden() *DeleteUserForbidden
NewDeleteUserForbidden creates a DeleteUserForbidden with default headers values
func (*DeleteUserForbidden) Error ¶
func (o *DeleteUserForbidden) Error() string
func (*DeleteUserForbidden) GetPayload ¶
func (o *DeleteUserForbidden) GetPayload() *models.MsaReplyMetaOnly
type DeleteUserNotFound ¶
type DeleteUserNotFound struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
DeleteUserNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteUserNotFound ¶
func NewDeleteUserNotFound() *DeleteUserNotFound
NewDeleteUserNotFound creates a DeleteUserNotFound with default headers values
func (*DeleteUserNotFound) Error ¶
func (o *DeleteUserNotFound) Error() string
func (*DeleteUserNotFound) GetPayload ¶
func (o *DeleteUserNotFound) GetPayload() *models.MsaReplyMetaOnly
type DeleteUserOK ¶
type DeleteUserOK struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
DeleteUserOK describes a response with status code 200, with default header values.
OK
func NewDeleteUserOK ¶
func NewDeleteUserOK() *DeleteUserOK
NewDeleteUserOK creates a DeleteUserOK with default headers values
func (*DeleteUserOK) Error ¶
func (o *DeleteUserOK) Error() string
func (*DeleteUserOK) GetPayload ¶
func (o *DeleteUserOK) GetPayload() *models.MsaReplyMetaOnly
type DeleteUserParams ¶
type DeleteUserParams struct { /* UserUUID. ID of a user. Find a user's ID from `/users/entities/user/v1`. */ UserUUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteUserParams contains all the parameters to send to the API endpoint
for the delete user operation. Typically these are written to a http.Request.
func NewDeleteUserParams ¶
func NewDeleteUserParams() *DeleteUserParams
NewDeleteUserParams creates a new DeleteUserParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteUserParamsWithContext ¶
func NewDeleteUserParamsWithContext(ctx context.Context) *DeleteUserParams
NewDeleteUserParamsWithContext creates a new DeleteUserParams object with the ability to set a context for a request.
func NewDeleteUserParamsWithHTTPClient ¶
func NewDeleteUserParamsWithHTTPClient(client *http.Client) *DeleteUserParams
NewDeleteUserParamsWithHTTPClient creates a new DeleteUserParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteUserParamsWithTimeout ¶
func NewDeleteUserParamsWithTimeout(timeout time.Duration) *DeleteUserParams
NewDeleteUserParamsWithTimeout creates a new DeleteUserParams object with the ability to set a timeout on a request.
func (*DeleteUserParams) SetContext ¶
func (o *DeleteUserParams) SetContext(ctx context.Context)
SetContext adds the context to the delete user params
func (*DeleteUserParams) SetDefaults ¶
func (o *DeleteUserParams) SetDefaults()
SetDefaults hydrates default values in the delete user params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUserParams) SetHTTPClient ¶
func (o *DeleteUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete user params
func (*DeleteUserParams) SetTimeout ¶
func (o *DeleteUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete user params
func (*DeleteUserParams) SetUserUUID ¶
func (o *DeleteUserParams) SetUserUUID(userUUID string)
SetUserUUID adds the userUuid to the delete user params
func (*DeleteUserParams) WithContext ¶
func (o *DeleteUserParams) WithContext(ctx context.Context) *DeleteUserParams
WithContext adds the context to the delete user params
func (*DeleteUserParams) WithDefaults ¶
func (o *DeleteUserParams) WithDefaults() *DeleteUserParams
WithDefaults hydrates default values in the delete user params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUserParams) WithHTTPClient ¶
func (o *DeleteUserParams) WithHTTPClient(client *http.Client) *DeleteUserParams
WithHTTPClient adds the HTTPClient to the delete user params
func (*DeleteUserParams) WithTimeout ¶
func (o *DeleteUserParams) WithTimeout(timeout time.Duration) *DeleteUserParams
WithTimeout adds the timeout to the delete user params
func (*DeleteUserParams) WithUserUUID ¶
func (o *DeleteUserParams) WithUserUUID(userUUID string) *DeleteUserParams
WithUserUUID adds the userUUID to the delete user params
func (*DeleteUserParams) WriteToRequest ¶
func (o *DeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteUserReader ¶
type DeleteUserReader struct {
// contains filtered or unexported fields
}
DeleteUserReader is a Reader for the DeleteUser structure.
func (*DeleteUserReader) ReadResponse ¶
func (o *DeleteUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteUserTooManyRequests ¶
type DeleteUserTooManyRequests struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
DeleteUserTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewDeleteUserTooManyRequests ¶
func NewDeleteUserTooManyRequests() *DeleteUserTooManyRequests
NewDeleteUserTooManyRequests creates a DeleteUserTooManyRequests with default headers values
func (*DeleteUserTooManyRequests) Error ¶
func (o *DeleteUserTooManyRequests) Error() string
func (*DeleteUserTooManyRequests) GetPayload ¶
func (o *DeleteUserTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type GetAvailableRoleIdsDefault ¶
type GetAvailableRoleIdsDefault struct { Payload *models.MsaQueryResponse // contains filtered or unexported fields }
GetAvailableRoleIdsDefault describes a response with status code -1, with default header values.
OK
func NewGetAvailableRoleIdsDefault ¶
func NewGetAvailableRoleIdsDefault(code int) *GetAvailableRoleIdsDefault
NewGetAvailableRoleIdsDefault creates a GetAvailableRoleIdsDefault with default headers values
func (*GetAvailableRoleIdsDefault) Code ¶
func (o *GetAvailableRoleIdsDefault) Code() int
Code gets the status code for the get available role ids default response
func (*GetAvailableRoleIdsDefault) Error ¶
func (o *GetAvailableRoleIdsDefault) Error() string
func (*GetAvailableRoleIdsDefault) GetPayload ¶
func (o *GetAvailableRoleIdsDefault) GetPayload() *models.MsaQueryResponse
type GetAvailableRoleIdsForbidden ¶
type GetAvailableRoleIdsForbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
GetAvailableRoleIdsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAvailableRoleIdsForbidden ¶
func NewGetAvailableRoleIdsForbidden() *GetAvailableRoleIdsForbidden
NewGetAvailableRoleIdsForbidden creates a GetAvailableRoleIdsForbidden with default headers values
func (*GetAvailableRoleIdsForbidden) Error ¶
func (o *GetAvailableRoleIdsForbidden) Error() string
func (*GetAvailableRoleIdsForbidden) GetPayload ¶
func (o *GetAvailableRoleIdsForbidden) GetPayload() *models.MsaQueryResponse
type GetAvailableRoleIdsInternalServerError ¶
type GetAvailableRoleIdsInternalServerError struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
GetAvailableRoleIdsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAvailableRoleIdsInternalServerError ¶
func NewGetAvailableRoleIdsInternalServerError() *GetAvailableRoleIdsInternalServerError
NewGetAvailableRoleIdsInternalServerError creates a GetAvailableRoleIdsInternalServerError with default headers values
func (*GetAvailableRoleIdsInternalServerError) Error ¶
func (o *GetAvailableRoleIdsInternalServerError) Error() string
func (*GetAvailableRoleIdsInternalServerError) GetPayload ¶
func (o *GetAvailableRoleIdsInternalServerError) GetPayload() *models.MsaQueryResponse
type GetAvailableRoleIdsNotFound ¶
type GetAvailableRoleIdsNotFound struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
GetAvailableRoleIdsNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetAvailableRoleIdsNotFound ¶
func NewGetAvailableRoleIdsNotFound() *GetAvailableRoleIdsNotFound
NewGetAvailableRoleIdsNotFound creates a GetAvailableRoleIdsNotFound with default headers values
func (*GetAvailableRoleIdsNotFound) Error ¶
func (o *GetAvailableRoleIdsNotFound) Error() string
func (*GetAvailableRoleIdsNotFound) GetPayload ¶
func (o *GetAvailableRoleIdsNotFound) GetPayload() *models.MsaQueryResponse
type GetAvailableRoleIdsOK ¶
type GetAvailableRoleIdsOK struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
GetAvailableRoleIdsOK describes a response with status code 200, with default header values.
OK
func NewGetAvailableRoleIdsOK ¶
func NewGetAvailableRoleIdsOK() *GetAvailableRoleIdsOK
NewGetAvailableRoleIdsOK creates a GetAvailableRoleIdsOK with default headers values
func (*GetAvailableRoleIdsOK) Error ¶
func (o *GetAvailableRoleIdsOK) Error() string
func (*GetAvailableRoleIdsOK) GetPayload ¶
func (o *GetAvailableRoleIdsOK) GetPayload() *models.MsaQueryResponse
type GetAvailableRoleIdsParams ¶
type GetAvailableRoleIdsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAvailableRoleIdsParams contains all the parameters to send to the API endpoint
for the get available role ids operation. Typically these are written to a http.Request.
func NewGetAvailableRoleIdsParams ¶
func NewGetAvailableRoleIdsParams() *GetAvailableRoleIdsParams
NewGetAvailableRoleIdsParams creates a new GetAvailableRoleIdsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAvailableRoleIdsParamsWithContext ¶
func NewGetAvailableRoleIdsParamsWithContext(ctx context.Context) *GetAvailableRoleIdsParams
NewGetAvailableRoleIdsParamsWithContext creates a new GetAvailableRoleIdsParams object with the ability to set a context for a request.
func NewGetAvailableRoleIdsParamsWithHTTPClient ¶
func NewGetAvailableRoleIdsParamsWithHTTPClient(client *http.Client) *GetAvailableRoleIdsParams
NewGetAvailableRoleIdsParamsWithHTTPClient creates a new GetAvailableRoleIdsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAvailableRoleIdsParamsWithTimeout ¶
func NewGetAvailableRoleIdsParamsWithTimeout(timeout time.Duration) *GetAvailableRoleIdsParams
NewGetAvailableRoleIdsParamsWithTimeout creates a new GetAvailableRoleIdsParams object with the ability to set a timeout on a request.
func (*GetAvailableRoleIdsParams) SetContext ¶
func (o *GetAvailableRoleIdsParams) SetContext(ctx context.Context)
SetContext adds the context to the get available role ids params
func (*GetAvailableRoleIdsParams) SetDefaults ¶
func (o *GetAvailableRoleIdsParams) SetDefaults()
SetDefaults hydrates default values in the get available role ids params (not the query body).
All values with no default are reset to their zero value.
func (*GetAvailableRoleIdsParams) SetHTTPClient ¶
func (o *GetAvailableRoleIdsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get available role ids params
func (*GetAvailableRoleIdsParams) SetTimeout ¶
func (o *GetAvailableRoleIdsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get available role ids params
func (*GetAvailableRoleIdsParams) WithContext ¶
func (o *GetAvailableRoleIdsParams) WithContext(ctx context.Context) *GetAvailableRoleIdsParams
WithContext adds the context to the get available role ids params
func (*GetAvailableRoleIdsParams) WithDefaults ¶
func (o *GetAvailableRoleIdsParams) WithDefaults() *GetAvailableRoleIdsParams
WithDefaults hydrates default values in the get available role ids params (not the query body).
All values with no default are reset to their zero value.
func (*GetAvailableRoleIdsParams) WithHTTPClient ¶
func (o *GetAvailableRoleIdsParams) WithHTTPClient(client *http.Client) *GetAvailableRoleIdsParams
WithHTTPClient adds the HTTPClient to the get available role ids params
func (*GetAvailableRoleIdsParams) WithTimeout ¶
func (o *GetAvailableRoleIdsParams) WithTimeout(timeout time.Duration) *GetAvailableRoleIdsParams
WithTimeout adds the timeout to the get available role ids params
func (*GetAvailableRoleIdsParams) WriteToRequest ¶
func (o *GetAvailableRoleIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAvailableRoleIdsReader ¶
type GetAvailableRoleIdsReader struct {
// contains filtered or unexported fields
}
GetAvailableRoleIdsReader is a Reader for the GetAvailableRoleIds structure.
func (*GetAvailableRoleIdsReader) ReadResponse ¶
func (o *GetAvailableRoleIdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAvailableRoleIdsTooManyRequests ¶
type GetAvailableRoleIdsTooManyRequests struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
GetAvailableRoleIdsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetAvailableRoleIdsTooManyRequests ¶
func NewGetAvailableRoleIdsTooManyRequests() *GetAvailableRoleIdsTooManyRequests
NewGetAvailableRoleIdsTooManyRequests creates a GetAvailableRoleIdsTooManyRequests with default headers values
func (*GetAvailableRoleIdsTooManyRequests) Error ¶
func (o *GetAvailableRoleIdsTooManyRequests) Error() string
func (*GetAvailableRoleIdsTooManyRequests) GetPayload ¶
func (o *GetAvailableRoleIdsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type GetRolesBadRequest ¶
type GetRolesBadRequest struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaEntitiesResponse }
GetRolesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetRolesBadRequest ¶
func NewGetRolesBadRequest() *GetRolesBadRequest
NewGetRolesBadRequest creates a GetRolesBadRequest with default headers values
func (*GetRolesBadRequest) Error ¶
func (o *GetRolesBadRequest) Error() string
func (*GetRolesBadRequest) GetPayload ¶
func (o *GetRolesBadRequest) GetPayload() *models.MsaEntitiesResponse
type GetRolesDefault ¶
type GetRolesDefault struct { Payload *models.DomainUserRoleResponse // contains filtered or unexported fields }
GetRolesDefault describes a response with status code -1, with default header values.
OK
func NewGetRolesDefault ¶
func NewGetRolesDefault(code int) *GetRolesDefault
NewGetRolesDefault creates a GetRolesDefault with default headers values
func (*GetRolesDefault) Code ¶
func (o *GetRolesDefault) Code() int
Code gets the status code for the get roles default response
func (*GetRolesDefault) Error ¶
func (o *GetRolesDefault) Error() string
func (*GetRolesDefault) GetPayload ¶
func (o *GetRolesDefault) GetPayload() *models.DomainUserRoleResponse
type GetRolesForbidden ¶
type GetRolesForbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaEntitiesResponse }
GetRolesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetRolesForbidden ¶
func NewGetRolesForbidden() *GetRolesForbidden
NewGetRolesForbidden creates a GetRolesForbidden with default headers values
func (*GetRolesForbidden) Error ¶
func (o *GetRolesForbidden) Error() string
func (*GetRolesForbidden) GetPayload ¶
func (o *GetRolesForbidden) GetPayload() *models.MsaEntitiesResponse
type GetRolesInternalServerError ¶
type GetRolesInternalServerError struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaEntitiesResponse }
GetRolesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetRolesInternalServerError ¶
func NewGetRolesInternalServerError() *GetRolesInternalServerError
NewGetRolesInternalServerError creates a GetRolesInternalServerError with default headers values
func (*GetRolesInternalServerError) Error ¶
func (o *GetRolesInternalServerError) Error() string
func (*GetRolesInternalServerError) GetPayload ¶
func (o *GetRolesInternalServerError) GetPayload() *models.MsaEntitiesResponse
type GetRolesNotFound ¶
type GetRolesNotFound struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaEntitiesResponse }
GetRolesNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetRolesNotFound ¶
func NewGetRolesNotFound() *GetRolesNotFound
NewGetRolesNotFound creates a GetRolesNotFound with default headers values
func (*GetRolesNotFound) Error ¶
func (o *GetRolesNotFound) Error() string
func (*GetRolesNotFound) GetPayload ¶
func (o *GetRolesNotFound) GetPayload() *models.MsaEntitiesResponse
type GetRolesOK ¶
type GetRolesOK struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DomainUserRoleResponse }
GetRolesOK describes a response with status code 200, with default header values.
OK
func NewGetRolesOK ¶
func NewGetRolesOK() *GetRolesOK
NewGetRolesOK creates a GetRolesOK with default headers values
func (*GetRolesOK) Error ¶
func (o *GetRolesOK) Error() string
func (*GetRolesOK) GetPayload ¶
func (o *GetRolesOK) GetPayload() *models.DomainUserRoleResponse
type GetRolesParams ¶
type GetRolesParams struct { /* Ids. ID of a role. Find a role ID from `/customer/queries/roles/v1` or `/users/queries/roles/v1`. */ Ids []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRolesParams contains all the parameters to send to the API endpoint
for the get roles operation. Typically these are written to a http.Request.
func NewGetRolesParams ¶
func NewGetRolesParams() *GetRolesParams
NewGetRolesParams creates a new GetRolesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetRolesParamsWithContext ¶
func NewGetRolesParamsWithContext(ctx context.Context) *GetRolesParams
NewGetRolesParamsWithContext creates a new GetRolesParams object with the ability to set a context for a request.
func NewGetRolesParamsWithHTTPClient ¶
func NewGetRolesParamsWithHTTPClient(client *http.Client) *GetRolesParams
NewGetRolesParamsWithHTTPClient creates a new GetRolesParams object with the ability to set a custom HTTPClient for a request.
func NewGetRolesParamsWithTimeout ¶
func NewGetRolesParamsWithTimeout(timeout time.Duration) *GetRolesParams
NewGetRolesParamsWithTimeout creates a new GetRolesParams object with the ability to set a timeout on a request.
func (*GetRolesParams) SetContext ¶
func (o *GetRolesParams) SetContext(ctx context.Context)
SetContext adds the context to the get roles params
func (*GetRolesParams) SetDefaults ¶
func (o *GetRolesParams) SetDefaults()
SetDefaults hydrates default values in the get roles params (not the query body).
All values with no default are reset to their zero value.
func (*GetRolesParams) SetHTTPClient ¶
func (o *GetRolesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get roles params
func (*GetRolesParams) SetIds ¶
func (o *GetRolesParams) SetIds(ids []string)
SetIds adds the ids to the get roles params
func (*GetRolesParams) SetTimeout ¶
func (o *GetRolesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get roles params
func (*GetRolesParams) WithContext ¶
func (o *GetRolesParams) WithContext(ctx context.Context) *GetRolesParams
WithContext adds the context to the get roles params
func (*GetRolesParams) WithDefaults ¶
func (o *GetRolesParams) WithDefaults() *GetRolesParams
WithDefaults hydrates default values in the get roles params (not the query body).
All values with no default are reset to their zero value.
func (*GetRolesParams) WithHTTPClient ¶
func (o *GetRolesParams) WithHTTPClient(client *http.Client) *GetRolesParams
WithHTTPClient adds the HTTPClient to the get roles params
func (*GetRolesParams) WithIds ¶
func (o *GetRolesParams) WithIds(ids []string) *GetRolesParams
WithIds adds the ids to the get roles params
func (*GetRolesParams) WithTimeout ¶
func (o *GetRolesParams) WithTimeout(timeout time.Duration) *GetRolesParams
WithTimeout adds the timeout to the get roles params
func (*GetRolesParams) WriteToRequest ¶
func (o *GetRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRolesReader ¶
type GetRolesReader struct {
// contains filtered or unexported fields
}
GetRolesReader is a Reader for the GetRoles structure.
func (*GetRolesReader) ReadResponse ¶
func (o *GetRolesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRolesTooManyRequests ¶
type GetRolesTooManyRequests struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
GetRolesTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetRolesTooManyRequests ¶
func NewGetRolesTooManyRequests() *GetRolesTooManyRequests
NewGetRolesTooManyRequests creates a GetRolesTooManyRequests with default headers values
func (*GetRolesTooManyRequests) Error ¶
func (o *GetRolesTooManyRequests) Error() string
func (*GetRolesTooManyRequests) GetPayload ¶
func (o *GetRolesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type GetUserRoleIdsBadRequest ¶
type GetUserRoleIdsBadRequest struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
GetUserRoleIdsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetUserRoleIdsBadRequest ¶
func NewGetUserRoleIdsBadRequest() *GetUserRoleIdsBadRequest
NewGetUserRoleIdsBadRequest creates a GetUserRoleIdsBadRequest with default headers values
func (*GetUserRoleIdsBadRequest) Error ¶
func (o *GetUserRoleIdsBadRequest) Error() string
func (*GetUserRoleIdsBadRequest) GetPayload ¶
func (o *GetUserRoleIdsBadRequest) GetPayload() *models.MsaQueryResponse
type GetUserRoleIdsDefault ¶
type GetUserRoleIdsDefault struct { Payload *models.MsaQueryResponse // contains filtered or unexported fields }
GetUserRoleIdsDefault describes a response with status code -1, with default header values.
OK
func NewGetUserRoleIdsDefault ¶
func NewGetUserRoleIdsDefault(code int) *GetUserRoleIdsDefault
NewGetUserRoleIdsDefault creates a GetUserRoleIdsDefault with default headers values
func (*GetUserRoleIdsDefault) Code ¶
func (o *GetUserRoleIdsDefault) Code() int
Code gets the status code for the get user role ids default response
func (*GetUserRoleIdsDefault) Error ¶
func (o *GetUserRoleIdsDefault) Error() string
func (*GetUserRoleIdsDefault) GetPayload ¶
func (o *GetUserRoleIdsDefault) GetPayload() *models.MsaQueryResponse
type GetUserRoleIdsForbidden ¶
type GetUserRoleIdsForbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
GetUserRoleIdsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetUserRoleIdsForbidden ¶
func NewGetUserRoleIdsForbidden() *GetUserRoleIdsForbidden
NewGetUserRoleIdsForbidden creates a GetUserRoleIdsForbidden with default headers values
func (*GetUserRoleIdsForbidden) Error ¶
func (o *GetUserRoleIdsForbidden) Error() string
func (*GetUserRoleIdsForbidden) GetPayload ¶
func (o *GetUserRoleIdsForbidden) GetPayload() *models.MsaQueryResponse
type GetUserRoleIdsInternalServerError ¶
type GetUserRoleIdsInternalServerError struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
GetUserRoleIdsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetUserRoleIdsInternalServerError ¶
func NewGetUserRoleIdsInternalServerError() *GetUserRoleIdsInternalServerError
NewGetUserRoleIdsInternalServerError creates a GetUserRoleIdsInternalServerError with default headers values
func (*GetUserRoleIdsInternalServerError) Error ¶
func (o *GetUserRoleIdsInternalServerError) Error() string
func (*GetUserRoleIdsInternalServerError) GetPayload ¶
func (o *GetUserRoleIdsInternalServerError) GetPayload() *models.MsaQueryResponse
type GetUserRoleIdsOK ¶
type GetUserRoleIdsOK struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
GetUserRoleIdsOK describes a response with status code 200, with default header values.
OK
func NewGetUserRoleIdsOK ¶
func NewGetUserRoleIdsOK() *GetUserRoleIdsOK
NewGetUserRoleIdsOK creates a GetUserRoleIdsOK with default headers values
func (*GetUserRoleIdsOK) Error ¶
func (o *GetUserRoleIdsOK) Error() string
func (*GetUserRoleIdsOK) GetPayload ¶
func (o *GetUserRoleIdsOK) GetPayload() *models.MsaQueryResponse
type GetUserRoleIdsParams ¶
type GetUserRoleIdsParams struct { /* UserUUID. ID of a user. Find a user's ID from `/users/entities/user/v1`. */ UserUUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserRoleIdsParams contains all the parameters to send to the API endpoint
for the get user role ids operation. Typically these are written to a http.Request.
func NewGetUserRoleIdsParams ¶
func NewGetUserRoleIdsParams() *GetUserRoleIdsParams
NewGetUserRoleIdsParams creates a new GetUserRoleIdsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetUserRoleIdsParamsWithContext ¶
func NewGetUserRoleIdsParamsWithContext(ctx context.Context) *GetUserRoleIdsParams
NewGetUserRoleIdsParamsWithContext creates a new GetUserRoleIdsParams object with the ability to set a context for a request.
func NewGetUserRoleIdsParamsWithHTTPClient ¶
func NewGetUserRoleIdsParamsWithHTTPClient(client *http.Client) *GetUserRoleIdsParams
NewGetUserRoleIdsParamsWithHTTPClient creates a new GetUserRoleIdsParams object with the ability to set a custom HTTPClient for a request.
func NewGetUserRoleIdsParamsWithTimeout ¶
func NewGetUserRoleIdsParamsWithTimeout(timeout time.Duration) *GetUserRoleIdsParams
NewGetUserRoleIdsParamsWithTimeout creates a new GetUserRoleIdsParams object with the ability to set a timeout on a request.
func (*GetUserRoleIdsParams) SetContext ¶
func (o *GetUserRoleIdsParams) SetContext(ctx context.Context)
SetContext adds the context to the get user role ids params
func (*GetUserRoleIdsParams) SetDefaults ¶
func (o *GetUserRoleIdsParams) SetDefaults()
SetDefaults hydrates default values in the get user role ids params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserRoleIdsParams) SetHTTPClient ¶
func (o *GetUserRoleIdsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user role ids params
func (*GetUserRoleIdsParams) SetTimeout ¶
func (o *GetUserRoleIdsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user role ids params
func (*GetUserRoleIdsParams) SetUserUUID ¶
func (o *GetUserRoleIdsParams) SetUserUUID(userUUID string)
SetUserUUID adds the userUuid to the get user role ids params
func (*GetUserRoleIdsParams) WithContext ¶
func (o *GetUserRoleIdsParams) WithContext(ctx context.Context) *GetUserRoleIdsParams
WithContext adds the context to the get user role ids params
func (*GetUserRoleIdsParams) WithDefaults ¶
func (o *GetUserRoleIdsParams) WithDefaults() *GetUserRoleIdsParams
WithDefaults hydrates default values in the get user role ids params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserRoleIdsParams) WithHTTPClient ¶
func (o *GetUserRoleIdsParams) WithHTTPClient(client *http.Client) *GetUserRoleIdsParams
WithHTTPClient adds the HTTPClient to the get user role ids params
func (*GetUserRoleIdsParams) WithTimeout ¶
func (o *GetUserRoleIdsParams) WithTimeout(timeout time.Duration) *GetUserRoleIdsParams
WithTimeout adds the timeout to the get user role ids params
func (*GetUserRoleIdsParams) WithUserUUID ¶
func (o *GetUserRoleIdsParams) WithUserUUID(userUUID string) *GetUserRoleIdsParams
WithUserUUID adds the userUUID to the get user role ids params
func (*GetUserRoleIdsParams) WriteToRequest ¶
func (o *GetUserRoleIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserRoleIdsReader ¶
type GetUserRoleIdsReader struct {
// contains filtered or unexported fields
}
GetUserRoleIdsReader is a Reader for the GetUserRoleIds structure.
func (*GetUserRoleIdsReader) ReadResponse ¶
func (o *GetUserRoleIdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserRoleIdsTooManyRequests ¶
type GetUserRoleIdsTooManyRequests struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
GetUserRoleIdsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetUserRoleIdsTooManyRequests ¶
func NewGetUserRoleIdsTooManyRequests() *GetUserRoleIdsTooManyRequests
NewGetUserRoleIdsTooManyRequests creates a GetUserRoleIdsTooManyRequests with default headers values
func (*GetUserRoleIdsTooManyRequests) Error ¶
func (o *GetUserRoleIdsTooManyRequests) Error() string
func (*GetUserRoleIdsTooManyRequests) GetPayload ¶
func (o *GetUserRoleIdsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type GrantUserRoleIdsBadRequest ¶
type GrantUserRoleIdsBadRequest struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaEntitiesResponse }
GrantUserRoleIdsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGrantUserRoleIdsBadRequest ¶
func NewGrantUserRoleIdsBadRequest() *GrantUserRoleIdsBadRequest
NewGrantUserRoleIdsBadRequest creates a GrantUserRoleIdsBadRequest with default headers values
func (*GrantUserRoleIdsBadRequest) Error ¶
func (o *GrantUserRoleIdsBadRequest) Error() string
func (*GrantUserRoleIdsBadRequest) GetPayload ¶
func (o *GrantUserRoleIdsBadRequest) GetPayload() *models.MsaEntitiesResponse
type GrantUserRoleIdsDefault ¶
type GrantUserRoleIdsDefault struct { Payload *models.DomainUserRoleIDsResponse // contains filtered or unexported fields }
GrantUserRoleIdsDefault describes a response with status code -1, with default header values.
OK
func NewGrantUserRoleIdsDefault ¶
func NewGrantUserRoleIdsDefault(code int) *GrantUserRoleIdsDefault
NewGrantUserRoleIdsDefault creates a GrantUserRoleIdsDefault with default headers values
func (*GrantUserRoleIdsDefault) Code ¶
func (o *GrantUserRoleIdsDefault) Code() int
Code gets the status code for the grant user role ids default response
func (*GrantUserRoleIdsDefault) Error ¶
func (o *GrantUserRoleIdsDefault) Error() string
func (*GrantUserRoleIdsDefault) GetPayload ¶
func (o *GrantUserRoleIdsDefault) GetPayload() *models.DomainUserRoleIDsResponse
type GrantUserRoleIdsForbidden ¶
type GrantUserRoleIdsForbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaEntitiesResponse }
GrantUserRoleIdsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGrantUserRoleIdsForbidden ¶
func NewGrantUserRoleIdsForbidden() *GrantUserRoleIdsForbidden
NewGrantUserRoleIdsForbidden creates a GrantUserRoleIdsForbidden with default headers values
func (*GrantUserRoleIdsForbidden) Error ¶
func (o *GrantUserRoleIdsForbidden) Error() string
func (*GrantUserRoleIdsForbidden) GetPayload ¶
func (o *GrantUserRoleIdsForbidden) GetPayload() *models.MsaEntitiesResponse
type GrantUserRoleIdsOK ¶
type GrantUserRoleIdsOK struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DomainUserRoleIDsResponse }
GrantUserRoleIdsOK describes a response with status code 200, with default header values.
OK
func NewGrantUserRoleIdsOK ¶
func NewGrantUserRoleIdsOK() *GrantUserRoleIdsOK
NewGrantUserRoleIdsOK creates a GrantUserRoleIdsOK with default headers values
func (*GrantUserRoleIdsOK) Error ¶
func (o *GrantUserRoleIdsOK) Error() string
func (*GrantUserRoleIdsOK) GetPayload ¶
func (o *GrantUserRoleIdsOK) GetPayload() *models.DomainUserRoleIDsResponse
type GrantUserRoleIdsParams ¶
type GrantUserRoleIdsParams struct { /* Body. Role ID(s) of the role you want to assign */ Body *models.DomainRoleIDs /* UserUUID. ID of a user. Find a user's ID from `/users/entities/user/v1`. */ UserUUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GrantUserRoleIdsParams contains all the parameters to send to the API endpoint
for the grant user role ids operation. Typically these are written to a http.Request.
func NewGrantUserRoleIdsParams ¶
func NewGrantUserRoleIdsParams() *GrantUserRoleIdsParams
NewGrantUserRoleIdsParams creates a new GrantUserRoleIdsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGrantUserRoleIdsParamsWithContext ¶
func NewGrantUserRoleIdsParamsWithContext(ctx context.Context) *GrantUserRoleIdsParams
NewGrantUserRoleIdsParamsWithContext creates a new GrantUserRoleIdsParams object with the ability to set a context for a request.
func NewGrantUserRoleIdsParamsWithHTTPClient ¶
func NewGrantUserRoleIdsParamsWithHTTPClient(client *http.Client) *GrantUserRoleIdsParams
NewGrantUserRoleIdsParamsWithHTTPClient creates a new GrantUserRoleIdsParams object with the ability to set a custom HTTPClient for a request.
func NewGrantUserRoleIdsParamsWithTimeout ¶
func NewGrantUserRoleIdsParamsWithTimeout(timeout time.Duration) *GrantUserRoleIdsParams
NewGrantUserRoleIdsParamsWithTimeout creates a new GrantUserRoleIdsParams object with the ability to set a timeout on a request.
func (*GrantUserRoleIdsParams) SetBody ¶
func (o *GrantUserRoleIdsParams) SetBody(body *models.DomainRoleIDs)
SetBody adds the body to the grant user role ids params
func (*GrantUserRoleIdsParams) SetContext ¶
func (o *GrantUserRoleIdsParams) SetContext(ctx context.Context)
SetContext adds the context to the grant user role ids params
func (*GrantUserRoleIdsParams) SetDefaults ¶
func (o *GrantUserRoleIdsParams) SetDefaults()
SetDefaults hydrates default values in the grant user role ids params (not the query body).
All values with no default are reset to their zero value.
func (*GrantUserRoleIdsParams) SetHTTPClient ¶
func (o *GrantUserRoleIdsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the grant user role ids params
func (*GrantUserRoleIdsParams) SetTimeout ¶
func (o *GrantUserRoleIdsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the grant user role ids params
func (*GrantUserRoleIdsParams) SetUserUUID ¶
func (o *GrantUserRoleIdsParams) SetUserUUID(userUUID string)
SetUserUUID adds the userUuid to the grant user role ids params
func (*GrantUserRoleIdsParams) WithBody ¶
func (o *GrantUserRoleIdsParams) WithBody(body *models.DomainRoleIDs) *GrantUserRoleIdsParams
WithBody adds the body to the grant user role ids params
func (*GrantUserRoleIdsParams) WithContext ¶
func (o *GrantUserRoleIdsParams) WithContext(ctx context.Context) *GrantUserRoleIdsParams
WithContext adds the context to the grant user role ids params
func (*GrantUserRoleIdsParams) WithDefaults ¶
func (o *GrantUserRoleIdsParams) WithDefaults() *GrantUserRoleIdsParams
WithDefaults hydrates default values in the grant user role ids params (not the query body).
All values with no default are reset to their zero value.
func (*GrantUserRoleIdsParams) WithHTTPClient ¶
func (o *GrantUserRoleIdsParams) WithHTTPClient(client *http.Client) *GrantUserRoleIdsParams
WithHTTPClient adds the HTTPClient to the grant user role ids params
func (*GrantUserRoleIdsParams) WithTimeout ¶
func (o *GrantUserRoleIdsParams) WithTimeout(timeout time.Duration) *GrantUserRoleIdsParams
WithTimeout adds the timeout to the grant user role ids params
func (*GrantUserRoleIdsParams) WithUserUUID ¶
func (o *GrantUserRoleIdsParams) WithUserUUID(userUUID string) *GrantUserRoleIdsParams
WithUserUUID adds the userUUID to the grant user role ids params
func (*GrantUserRoleIdsParams) WriteToRequest ¶
func (o *GrantUserRoleIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GrantUserRoleIdsReader ¶
type GrantUserRoleIdsReader struct {
// contains filtered or unexported fields
}
GrantUserRoleIdsReader is a Reader for the GrantUserRoleIds structure.
func (*GrantUserRoleIdsReader) ReadResponse ¶
func (o *GrantUserRoleIdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GrantUserRoleIdsTooManyRequests ¶
type GrantUserRoleIdsTooManyRequests struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
GrantUserRoleIdsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGrantUserRoleIdsTooManyRequests ¶
func NewGrantUserRoleIdsTooManyRequests() *GrantUserRoleIdsTooManyRequests
NewGrantUserRoleIdsTooManyRequests creates a GrantUserRoleIdsTooManyRequests with default headers values
func (*GrantUserRoleIdsTooManyRequests) Error ¶
func (o *GrantUserRoleIdsTooManyRequests) Error() string
func (*GrantUserRoleIdsTooManyRequests) GetPayload ¶
func (o *GrantUserRoleIdsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type RetrieveEmailsByCIDBadRequest ¶
type RetrieveEmailsByCIDBadRequest struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
RetrieveEmailsByCIDBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewRetrieveEmailsByCIDBadRequest ¶
func NewRetrieveEmailsByCIDBadRequest() *RetrieveEmailsByCIDBadRequest
NewRetrieveEmailsByCIDBadRequest creates a RetrieveEmailsByCIDBadRequest with default headers values
func (*RetrieveEmailsByCIDBadRequest) Error ¶
func (o *RetrieveEmailsByCIDBadRequest) Error() string
func (*RetrieveEmailsByCIDBadRequest) GetPayload ¶
func (o *RetrieveEmailsByCIDBadRequest) GetPayload() *models.MsaQueryResponse
type RetrieveEmailsByCIDDefault ¶
type RetrieveEmailsByCIDDefault struct { Payload *models.MsaQueryResponse // contains filtered or unexported fields }
RetrieveEmailsByCIDDefault describes a response with status code -1, with default header values.
OK
func NewRetrieveEmailsByCIDDefault ¶
func NewRetrieveEmailsByCIDDefault(code int) *RetrieveEmailsByCIDDefault
NewRetrieveEmailsByCIDDefault creates a RetrieveEmailsByCIDDefault with default headers values
func (*RetrieveEmailsByCIDDefault) Code ¶
func (o *RetrieveEmailsByCIDDefault) Code() int
Code gets the status code for the retrieve emails by c ID default response
func (*RetrieveEmailsByCIDDefault) Error ¶
func (o *RetrieveEmailsByCIDDefault) Error() string
func (*RetrieveEmailsByCIDDefault) GetPayload ¶
func (o *RetrieveEmailsByCIDDefault) GetPayload() *models.MsaQueryResponse
type RetrieveEmailsByCIDForbidden ¶
type RetrieveEmailsByCIDForbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
RetrieveEmailsByCIDForbidden describes a response with status code 403, with default header values.
Forbidden
func NewRetrieveEmailsByCIDForbidden ¶
func NewRetrieveEmailsByCIDForbidden() *RetrieveEmailsByCIDForbidden
NewRetrieveEmailsByCIDForbidden creates a RetrieveEmailsByCIDForbidden with default headers values
func (*RetrieveEmailsByCIDForbidden) Error ¶
func (o *RetrieveEmailsByCIDForbidden) Error() string
func (*RetrieveEmailsByCIDForbidden) GetPayload ¶
func (o *RetrieveEmailsByCIDForbidden) GetPayload() *models.MsaQueryResponse
type RetrieveEmailsByCIDOK ¶
type RetrieveEmailsByCIDOK struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
RetrieveEmailsByCIDOK describes a response with status code 200, with default header values.
OK
func NewRetrieveEmailsByCIDOK ¶
func NewRetrieveEmailsByCIDOK() *RetrieveEmailsByCIDOK
NewRetrieveEmailsByCIDOK creates a RetrieveEmailsByCIDOK with default headers values
func (*RetrieveEmailsByCIDOK) Error ¶
func (o *RetrieveEmailsByCIDOK) Error() string
func (*RetrieveEmailsByCIDOK) GetPayload ¶
func (o *RetrieveEmailsByCIDOK) GetPayload() *models.MsaQueryResponse
type RetrieveEmailsByCIDParams ¶
type RetrieveEmailsByCIDParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrieveEmailsByCIDParams contains all the parameters to send to the API endpoint
for the retrieve emails by c ID operation. Typically these are written to a http.Request.
func NewRetrieveEmailsByCIDParams ¶
func NewRetrieveEmailsByCIDParams() *RetrieveEmailsByCIDParams
NewRetrieveEmailsByCIDParams creates a new RetrieveEmailsByCIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRetrieveEmailsByCIDParamsWithContext ¶
func NewRetrieveEmailsByCIDParamsWithContext(ctx context.Context) *RetrieveEmailsByCIDParams
NewRetrieveEmailsByCIDParamsWithContext creates a new RetrieveEmailsByCIDParams object with the ability to set a context for a request.
func NewRetrieveEmailsByCIDParamsWithHTTPClient ¶
func NewRetrieveEmailsByCIDParamsWithHTTPClient(client *http.Client) *RetrieveEmailsByCIDParams
NewRetrieveEmailsByCIDParamsWithHTTPClient creates a new RetrieveEmailsByCIDParams object with the ability to set a custom HTTPClient for a request.
func NewRetrieveEmailsByCIDParamsWithTimeout ¶
func NewRetrieveEmailsByCIDParamsWithTimeout(timeout time.Duration) *RetrieveEmailsByCIDParams
NewRetrieveEmailsByCIDParamsWithTimeout creates a new RetrieveEmailsByCIDParams object with the ability to set a timeout on a request.
func (*RetrieveEmailsByCIDParams) SetContext ¶
func (o *RetrieveEmailsByCIDParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve emails by c ID params
func (*RetrieveEmailsByCIDParams) SetDefaults ¶
func (o *RetrieveEmailsByCIDParams) SetDefaults()
SetDefaults hydrates default values in the retrieve emails by c ID params (not the query body).
All values with no default are reset to their zero value.
func (*RetrieveEmailsByCIDParams) SetHTTPClient ¶
func (o *RetrieveEmailsByCIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve emails by c ID params
func (*RetrieveEmailsByCIDParams) SetTimeout ¶
func (o *RetrieveEmailsByCIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve emails by c ID params
func (*RetrieveEmailsByCIDParams) WithContext ¶
func (o *RetrieveEmailsByCIDParams) WithContext(ctx context.Context) *RetrieveEmailsByCIDParams
WithContext adds the context to the retrieve emails by c ID params
func (*RetrieveEmailsByCIDParams) WithDefaults ¶
func (o *RetrieveEmailsByCIDParams) WithDefaults() *RetrieveEmailsByCIDParams
WithDefaults hydrates default values in the retrieve emails by c ID params (not the query body).
All values with no default are reset to their zero value.
func (*RetrieveEmailsByCIDParams) WithHTTPClient ¶
func (o *RetrieveEmailsByCIDParams) WithHTTPClient(client *http.Client) *RetrieveEmailsByCIDParams
WithHTTPClient adds the HTTPClient to the retrieve emails by c ID params
func (*RetrieveEmailsByCIDParams) WithTimeout ¶
func (o *RetrieveEmailsByCIDParams) WithTimeout(timeout time.Duration) *RetrieveEmailsByCIDParams
WithTimeout adds the timeout to the retrieve emails by c ID params
func (*RetrieveEmailsByCIDParams) WriteToRequest ¶
func (o *RetrieveEmailsByCIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveEmailsByCIDReader ¶
type RetrieveEmailsByCIDReader struct {
// contains filtered or unexported fields
}
RetrieveEmailsByCIDReader is a Reader for the RetrieveEmailsByCID structure.
func (*RetrieveEmailsByCIDReader) ReadResponse ¶
func (o *RetrieveEmailsByCIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveEmailsByCIDTooManyRequests ¶
type RetrieveEmailsByCIDTooManyRequests struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
RetrieveEmailsByCIDTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewRetrieveEmailsByCIDTooManyRequests ¶
func NewRetrieveEmailsByCIDTooManyRequests() *RetrieveEmailsByCIDTooManyRequests
NewRetrieveEmailsByCIDTooManyRequests creates a RetrieveEmailsByCIDTooManyRequests with default headers values
func (*RetrieveEmailsByCIDTooManyRequests) Error ¶
func (o *RetrieveEmailsByCIDTooManyRequests) Error() string
func (*RetrieveEmailsByCIDTooManyRequests) GetPayload ¶
func (o *RetrieveEmailsByCIDTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type RetrieveUserBadRequest ¶
type RetrieveUserBadRequest struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaEntitiesResponse }
RetrieveUserBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewRetrieveUserBadRequest ¶
func NewRetrieveUserBadRequest() *RetrieveUserBadRequest
NewRetrieveUserBadRequest creates a RetrieveUserBadRequest with default headers values
func (*RetrieveUserBadRequest) Error ¶
func (o *RetrieveUserBadRequest) Error() string
func (*RetrieveUserBadRequest) GetPayload ¶
func (o *RetrieveUserBadRequest) GetPayload() *models.MsaEntitiesResponse
type RetrieveUserDefault ¶
type RetrieveUserDefault struct { Payload *models.DomainUserMetaDataResponse // contains filtered or unexported fields }
RetrieveUserDefault describes a response with status code -1, with default header values.
OK
func NewRetrieveUserDefault ¶
func NewRetrieveUserDefault(code int) *RetrieveUserDefault
NewRetrieveUserDefault creates a RetrieveUserDefault with default headers values
func (*RetrieveUserDefault) Code ¶
func (o *RetrieveUserDefault) Code() int
Code gets the status code for the retrieve user default response
func (*RetrieveUserDefault) Error ¶
func (o *RetrieveUserDefault) Error() string
func (*RetrieveUserDefault) GetPayload ¶
func (o *RetrieveUserDefault) GetPayload() *models.DomainUserMetaDataResponse
type RetrieveUserForbidden ¶
type RetrieveUserForbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaEntitiesResponse }
RetrieveUserForbidden describes a response with status code 403, with default header values.
Forbidden
func NewRetrieveUserForbidden ¶
func NewRetrieveUserForbidden() *RetrieveUserForbidden
NewRetrieveUserForbidden creates a RetrieveUserForbidden with default headers values
func (*RetrieveUserForbidden) Error ¶
func (o *RetrieveUserForbidden) Error() string
func (*RetrieveUserForbidden) GetPayload ¶
func (o *RetrieveUserForbidden) GetPayload() *models.MsaEntitiesResponse
type RetrieveUserNotFound ¶
type RetrieveUserNotFound struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaEntitiesResponse }
RetrieveUserNotFound describes a response with status code 404, with default header values.
Not Found
func NewRetrieveUserNotFound ¶
func NewRetrieveUserNotFound() *RetrieveUserNotFound
NewRetrieveUserNotFound creates a RetrieveUserNotFound with default headers values
func (*RetrieveUserNotFound) Error ¶
func (o *RetrieveUserNotFound) Error() string
func (*RetrieveUserNotFound) GetPayload ¶
func (o *RetrieveUserNotFound) GetPayload() *models.MsaEntitiesResponse
type RetrieveUserOK ¶
type RetrieveUserOK struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DomainUserMetaDataResponse }
RetrieveUserOK describes a response with status code 200, with default header values.
OK
func NewRetrieveUserOK ¶
func NewRetrieveUserOK() *RetrieveUserOK
NewRetrieveUserOK creates a RetrieveUserOK with default headers values
func (*RetrieveUserOK) Error ¶
func (o *RetrieveUserOK) Error() string
func (*RetrieveUserOK) GetPayload ¶
func (o *RetrieveUserOK) GetPayload() *models.DomainUserMetaDataResponse
type RetrieveUserParams ¶
type RetrieveUserParams struct { /* Ids. ID of a user. Find a user's ID from `/users/entities/user/v1`. */ Ids []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrieveUserParams contains all the parameters to send to the API endpoint
for the retrieve user operation. Typically these are written to a http.Request.
func NewRetrieveUserParams ¶
func NewRetrieveUserParams() *RetrieveUserParams
NewRetrieveUserParams creates a new RetrieveUserParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRetrieveUserParamsWithContext ¶
func NewRetrieveUserParamsWithContext(ctx context.Context) *RetrieveUserParams
NewRetrieveUserParamsWithContext creates a new RetrieveUserParams object with the ability to set a context for a request.
func NewRetrieveUserParamsWithHTTPClient ¶
func NewRetrieveUserParamsWithHTTPClient(client *http.Client) *RetrieveUserParams
NewRetrieveUserParamsWithHTTPClient creates a new RetrieveUserParams object with the ability to set a custom HTTPClient for a request.
func NewRetrieveUserParamsWithTimeout ¶
func NewRetrieveUserParamsWithTimeout(timeout time.Duration) *RetrieveUserParams
NewRetrieveUserParamsWithTimeout creates a new RetrieveUserParams object with the ability to set a timeout on a request.
func (*RetrieveUserParams) SetContext ¶
func (o *RetrieveUserParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve user params
func (*RetrieveUserParams) SetDefaults ¶
func (o *RetrieveUserParams) SetDefaults()
SetDefaults hydrates default values in the retrieve user params (not the query body).
All values with no default are reset to their zero value.
func (*RetrieveUserParams) SetHTTPClient ¶
func (o *RetrieveUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve user params
func (*RetrieveUserParams) SetIds ¶
func (o *RetrieveUserParams) SetIds(ids []string)
SetIds adds the ids to the retrieve user params
func (*RetrieveUserParams) SetTimeout ¶
func (o *RetrieveUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve user params
func (*RetrieveUserParams) WithContext ¶
func (o *RetrieveUserParams) WithContext(ctx context.Context) *RetrieveUserParams
WithContext adds the context to the retrieve user params
func (*RetrieveUserParams) WithDefaults ¶
func (o *RetrieveUserParams) WithDefaults() *RetrieveUserParams
WithDefaults hydrates default values in the retrieve user params (not the query body).
All values with no default are reset to their zero value.
func (*RetrieveUserParams) WithHTTPClient ¶
func (o *RetrieveUserParams) WithHTTPClient(client *http.Client) *RetrieveUserParams
WithHTTPClient adds the HTTPClient to the retrieve user params
func (*RetrieveUserParams) WithIds ¶
func (o *RetrieveUserParams) WithIds(ids []string) *RetrieveUserParams
WithIds adds the ids to the retrieve user params
func (*RetrieveUserParams) WithTimeout ¶
func (o *RetrieveUserParams) WithTimeout(timeout time.Duration) *RetrieveUserParams
WithTimeout adds the timeout to the retrieve user params
func (*RetrieveUserParams) WriteToRequest ¶
func (o *RetrieveUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveUserReader ¶
type RetrieveUserReader struct {
// contains filtered or unexported fields
}
RetrieveUserReader is a Reader for the RetrieveUser structure.
func (*RetrieveUserReader) ReadResponse ¶
func (o *RetrieveUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveUserTooManyRequests ¶
type RetrieveUserTooManyRequests struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
RetrieveUserTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewRetrieveUserTooManyRequests ¶
func NewRetrieveUserTooManyRequests() *RetrieveUserTooManyRequests
NewRetrieveUserTooManyRequests creates a RetrieveUserTooManyRequests with default headers values
func (*RetrieveUserTooManyRequests) Error ¶
func (o *RetrieveUserTooManyRequests) Error() string
func (*RetrieveUserTooManyRequests) GetPayload ¶
func (o *RetrieveUserTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type RetrieveUserUUIDBadRequest ¶
type RetrieveUserUUIDBadRequest struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
RetrieveUserUUIDBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewRetrieveUserUUIDBadRequest ¶
func NewRetrieveUserUUIDBadRequest() *RetrieveUserUUIDBadRequest
NewRetrieveUserUUIDBadRequest creates a RetrieveUserUUIDBadRequest with default headers values
func (*RetrieveUserUUIDBadRequest) Error ¶
func (o *RetrieveUserUUIDBadRequest) Error() string
func (*RetrieveUserUUIDBadRequest) GetPayload ¶
func (o *RetrieveUserUUIDBadRequest) GetPayload() *models.MsaQueryResponse
type RetrieveUserUUIDDefault ¶
type RetrieveUserUUIDDefault struct { Payload *models.MsaQueryResponse // contains filtered or unexported fields }
RetrieveUserUUIDDefault describes a response with status code -1, with default header values.
OK
func NewRetrieveUserUUIDDefault ¶
func NewRetrieveUserUUIDDefault(code int) *RetrieveUserUUIDDefault
NewRetrieveUserUUIDDefault creates a RetrieveUserUUIDDefault with default headers values
func (*RetrieveUserUUIDDefault) Code ¶
func (o *RetrieveUserUUIDDefault) Code() int
Code gets the status code for the retrieve user UUID default response
func (*RetrieveUserUUIDDefault) Error ¶
func (o *RetrieveUserUUIDDefault) Error() string
func (*RetrieveUserUUIDDefault) GetPayload ¶
func (o *RetrieveUserUUIDDefault) GetPayload() *models.MsaQueryResponse
type RetrieveUserUUIDForbidden ¶
type RetrieveUserUUIDForbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
RetrieveUserUUIDForbidden describes a response with status code 403, with default header values.
Forbidden
func NewRetrieveUserUUIDForbidden ¶
func NewRetrieveUserUUIDForbidden() *RetrieveUserUUIDForbidden
NewRetrieveUserUUIDForbidden creates a RetrieveUserUUIDForbidden with default headers values
func (*RetrieveUserUUIDForbidden) Error ¶
func (o *RetrieveUserUUIDForbidden) Error() string
func (*RetrieveUserUUIDForbidden) GetPayload ¶
func (o *RetrieveUserUUIDForbidden) GetPayload() *models.MsaQueryResponse
type RetrieveUserUUIDNotFound ¶
type RetrieveUserUUIDNotFound struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
RetrieveUserUUIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewRetrieveUserUUIDNotFound ¶
func NewRetrieveUserUUIDNotFound() *RetrieveUserUUIDNotFound
NewRetrieveUserUUIDNotFound creates a RetrieveUserUUIDNotFound with default headers values
func (*RetrieveUserUUIDNotFound) Error ¶
func (o *RetrieveUserUUIDNotFound) Error() string
func (*RetrieveUserUUIDNotFound) GetPayload ¶
func (o *RetrieveUserUUIDNotFound) GetPayload() *models.MsaQueryResponse
type RetrieveUserUUIDOK ¶
type RetrieveUserUUIDOK struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
RetrieveUserUUIDOK describes a response with status code 200, with default header values.
OK
func NewRetrieveUserUUIDOK ¶
func NewRetrieveUserUUIDOK() *RetrieveUserUUIDOK
NewRetrieveUserUUIDOK creates a RetrieveUserUUIDOK with default headers values
func (*RetrieveUserUUIDOK) Error ¶
func (o *RetrieveUserUUIDOK) Error() string
func (*RetrieveUserUUIDOK) GetPayload ¶
func (o *RetrieveUserUUIDOK) GetPayload() *models.MsaQueryResponse
type RetrieveUserUUIDParams ¶
type RetrieveUserUUIDParams struct { /* UID. A username. This is usually the user's email address, but may vary based on your configuration. */ UID []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrieveUserUUIDParams contains all the parameters to send to the API endpoint
for the retrieve user UUID operation. Typically these are written to a http.Request.
func NewRetrieveUserUUIDParams ¶
func NewRetrieveUserUUIDParams() *RetrieveUserUUIDParams
NewRetrieveUserUUIDParams creates a new RetrieveUserUUIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRetrieveUserUUIDParamsWithContext ¶
func NewRetrieveUserUUIDParamsWithContext(ctx context.Context) *RetrieveUserUUIDParams
NewRetrieveUserUUIDParamsWithContext creates a new RetrieveUserUUIDParams object with the ability to set a context for a request.
func NewRetrieveUserUUIDParamsWithHTTPClient ¶
func NewRetrieveUserUUIDParamsWithHTTPClient(client *http.Client) *RetrieveUserUUIDParams
NewRetrieveUserUUIDParamsWithHTTPClient creates a new RetrieveUserUUIDParams object with the ability to set a custom HTTPClient for a request.
func NewRetrieveUserUUIDParamsWithTimeout ¶
func NewRetrieveUserUUIDParamsWithTimeout(timeout time.Duration) *RetrieveUserUUIDParams
NewRetrieveUserUUIDParamsWithTimeout creates a new RetrieveUserUUIDParams object with the ability to set a timeout on a request.
func (*RetrieveUserUUIDParams) SetContext ¶
func (o *RetrieveUserUUIDParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve user UUID params
func (*RetrieveUserUUIDParams) SetDefaults ¶
func (o *RetrieveUserUUIDParams) SetDefaults()
SetDefaults hydrates default values in the retrieve user UUID params (not the query body).
All values with no default are reset to their zero value.
func (*RetrieveUserUUIDParams) SetHTTPClient ¶
func (o *RetrieveUserUUIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve user UUID params
func (*RetrieveUserUUIDParams) SetTimeout ¶
func (o *RetrieveUserUUIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve user UUID params
func (*RetrieveUserUUIDParams) SetUID ¶
func (o *RetrieveUserUUIDParams) SetUID(uid []string)
SetUID adds the uid to the retrieve user UUID params
func (*RetrieveUserUUIDParams) WithContext ¶
func (o *RetrieveUserUUIDParams) WithContext(ctx context.Context) *RetrieveUserUUIDParams
WithContext adds the context to the retrieve user UUID params
func (*RetrieveUserUUIDParams) WithDefaults ¶
func (o *RetrieveUserUUIDParams) WithDefaults() *RetrieveUserUUIDParams
WithDefaults hydrates default values in the retrieve user UUID params (not the query body).
All values with no default are reset to their zero value.
func (*RetrieveUserUUIDParams) WithHTTPClient ¶
func (o *RetrieveUserUUIDParams) WithHTTPClient(client *http.Client) *RetrieveUserUUIDParams
WithHTTPClient adds the HTTPClient to the retrieve user UUID params
func (*RetrieveUserUUIDParams) WithTimeout ¶
func (o *RetrieveUserUUIDParams) WithTimeout(timeout time.Duration) *RetrieveUserUUIDParams
WithTimeout adds the timeout to the retrieve user UUID params
func (*RetrieveUserUUIDParams) WithUID ¶
func (o *RetrieveUserUUIDParams) WithUID(uid []string) *RetrieveUserUUIDParams
WithUID adds the uid to the retrieve user UUID params
func (*RetrieveUserUUIDParams) WriteToRequest ¶
func (o *RetrieveUserUUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveUserUUIDReader ¶
type RetrieveUserUUIDReader struct {
// contains filtered or unexported fields
}
RetrieveUserUUIDReader is a Reader for the RetrieveUserUUID structure.
func (*RetrieveUserUUIDReader) ReadResponse ¶
func (o *RetrieveUserUUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveUserUUIDTooManyRequests ¶
type RetrieveUserUUIDTooManyRequests struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
RetrieveUserUUIDTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewRetrieveUserUUIDTooManyRequests ¶
func NewRetrieveUserUUIDTooManyRequests() *RetrieveUserUUIDTooManyRequests
NewRetrieveUserUUIDTooManyRequests creates a RetrieveUserUUIDTooManyRequests with default headers values
func (*RetrieveUserUUIDTooManyRequests) Error ¶
func (o *RetrieveUserUUIDTooManyRequests) Error() string
func (*RetrieveUserUUIDTooManyRequests) GetPayload ¶
func (o *RetrieveUserUUIDTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type RetrieveUserUUIDsByCIDBadRequest ¶
type RetrieveUserUUIDsByCIDBadRequest struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
RetrieveUserUUIDsByCIDBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewRetrieveUserUUIDsByCIDBadRequest ¶
func NewRetrieveUserUUIDsByCIDBadRequest() *RetrieveUserUUIDsByCIDBadRequest
NewRetrieveUserUUIDsByCIDBadRequest creates a RetrieveUserUUIDsByCIDBadRequest with default headers values
func (*RetrieveUserUUIDsByCIDBadRequest) Error ¶
func (o *RetrieveUserUUIDsByCIDBadRequest) Error() string
func (*RetrieveUserUUIDsByCIDBadRequest) GetPayload ¶
func (o *RetrieveUserUUIDsByCIDBadRequest) GetPayload() *models.MsaQueryResponse
type RetrieveUserUUIDsByCIDDefault ¶
type RetrieveUserUUIDsByCIDDefault struct { Payload *models.MsaQueryResponse // contains filtered or unexported fields }
RetrieveUserUUIDsByCIDDefault describes a response with status code -1, with default header values.
OK
func NewRetrieveUserUUIDsByCIDDefault ¶
func NewRetrieveUserUUIDsByCIDDefault(code int) *RetrieveUserUUIDsByCIDDefault
NewRetrieveUserUUIDsByCIDDefault creates a RetrieveUserUUIDsByCIDDefault with default headers values
func (*RetrieveUserUUIDsByCIDDefault) Code ¶
func (o *RetrieveUserUUIDsByCIDDefault) Code() int
Code gets the status code for the retrieve user u UI ds by c ID default response
func (*RetrieveUserUUIDsByCIDDefault) Error ¶
func (o *RetrieveUserUUIDsByCIDDefault) Error() string
func (*RetrieveUserUUIDsByCIDDefault) GetPayload ¶
func (o *RetrieveUserUUIDsByCIDDefault) GetPayload() *models.MsaQueryResponse
type RetrieveUserUUIDsByCIDForbidden ¶
type RetrieveUserUUIDsByCIDForbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
RetrieveUserUUIDsByCIDForbidden describes a response with status code 403, with default header values.
Forbidden
func NewRetrieveUserUUIDsByCIDForbidden ¶
func NewRetrieveUserUUIDsByCIDForbidden() *RetrieveUserUUIDsByCIDForbidden
NewRetrieveUserUUIDsByCIDForbidden creates a RetrieveUserUUIDsByCIDForbidden with default headers values
func (*RetrieveUserUUIDsByCIDForbidden) Error ¶
func (o *RetrieveUserUUIDsByCIDForbidden) Error() string
func (*RetrieveUserUUIDsByCIDForbidden) GetPayload ¶
func (o *RetrieveUserUUIDsByCIDForbidden) GetPayload() *models.MsaQueryResponse
type RetrieveUserUUIDsByCIDOK ¶
type RetrieveUserUUIDsByCIDOK struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaQueryResponse }
RetrieveUserUUIDsByCIDOK describes a response with status code 200, with default header values.
OK
func NewRetrieveUserUUIDsByCIDOK ¶
func NewRetrieveUserUUIDsByCIDOK() *RetrieveUserUUIDsByCIDOK
NewRetrieveUserUUIDsByCIDOK creates a RetrieveUserUUIDsByCIDOK with default headers values
func (*RetrieveUserUUIDsByCIDOK) Error ¶
func (o *RetrieveUserUUIDsByCIDOK) Error() string
func (*RetrieveUserUUIDsByCIDOK) GetPayload ¶
func (o *RetrieveUserUUIDsByCIDOK) GetPayload() *models.MsaQueryResponse
type RetrieveUserUUIDsByCIDParams ¶
type RetrieveUserUUIDsByCIDParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrieveUserUUIDsByCIDParams contains all the parameters to send to the API endpoint
for the retrieve user u UI ds by c ID operation. Typically these are written to a http.Request.
func NewRetrieveUserUUIDsByCIDParams ¶
func NewRetrieveUserUUIDsByCIDParams() *RetrieveUserUUIDsByCIDParams
NewRetrieveUserUUIDsByCIDParams creates a new RetrieveUserUUIDsByCIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRetrieveUserUUIDsByCIDParamsWithContext ¶
func NewRetrieveUserUUIDsByCIDParamsWithContext(ctx context.Context) *RetrieveUserUUIDsByCIDParams
NewRetrieveUserUUIDsByCIDParamsWithContext creates a new RetrieveUserUUIDsByCIDParams object with the ability to set a context for a request.
func NewRetrieveUserUUIDsByCIDParamsWithHTTPClient ¶
func NewRetrieveUserUUIDsByCIDParamsWithHTTPClient(client *http.Client) *RetrieveUserUUIDsByCIDParams
NewRetrieveUserUUIDsByCIDParamsWithHTTPClient creates a new RetrieveUserUUIDsByCIDParams object with the ability to set a custom HTTPClient for a request.
func NewRetrieveUserUUIDsByCIDParamsWithTimeout ¶
func NewRetrieveUserUUIDsByCIDParamsWithTimeout(timeout time.Duration) *RetrieveUserUUIDsByCIDParams
NewRetrieveUserUUIDsByCIDParamsWithTimeout creates a new RetrieveUserUUIDsByCIDParams object with the ability to set a timeout on a request.
func (*RetrieveUserUUIDsByCIDParams) SetContext ¶
func (o *RetrieveUserUUIDsByCIDParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve user u UI ds by c ID params
func (*RetrieveUserUUIDsByCIDParams) SetDefaults ¶
func (o *RetrieveUserUUIDsByCIDParams) SetDefaults()
SetDefaults hydrates default values in the retrieve user u UI ds by c ID params (not the query body).
All values with no default are reset to their zero value.
func (*RetrieveUserUUIDsByCIDParams) SetHTTPClient ¶
func (o *RetrieveUserUUIDsByCIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve user u UI ds by c ID params
func (*RetrieveUserUUIDsByCIDParams) SetTimeout ¶
func (o *RetrieveUserUUIDsByCIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve user u UI ds by c ID params
func (*RetrieveUserUUIDsByCIDParams) WithContext ¶
func (o *RetrieveUserUUIDsByCIDParams) WithContext(ctx context.Context) *RetrieveUserUUIDsByCIDParams
WithContext adds the context to the retrieve user u UI ds by c ID params
func (*RetrieveUserUUIDsByCIDParams) WithDefaults ¶
func (o *RetrieveUserUUIDsByCIDParams) WithDefaults() *RetrieveUserUUIDsByCIDParams
WithDefaults hydrates default values in the retrieve user u UI ds by c ID params (not the query body).
All values with no default are reset to their zero value.
func (*RetrieveUserUUIDsByCIDParams) WithHTTPClient ¶
func (o *RetrieveUserUUIDsByCIDParams) WithHTTPClient(client *http.Client) *RetrieveUserUUIDsByCIDParams
WithHTTPClient adds the HTTPClient to the retrieve user u UI ds by c ID params
func (*RetrieveUserUUIDsByCIDParams) WithTimeout ¶
func (o *RetrieveUserUUIDsByCIDParams) WithTimeout(timeout time.Duration) *RetrieveUserUUIDsByCIDParams
WithTimeout adds the timeout to the retrieve user u UI ds by c ID params
func (*RetrieveUserUUIDsByCIDParams) WriteToRequest ¶
func (o *RetrieveUserUUIDsByCIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveUserUUIDsByCIDReader ¶
type RetrieveUserUUIDsByCIDReader struct {
// contains filtered or unexported fields
}
RetrieveUserUUIDsByCIDReader is a Reader for the RetrieveUserUUIDsByCID structure.
func (*RetrieveUserUUIDsByCIDReader) ReadResponse ¶
func (o *RetrieveUserUUIDsByCIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveUserUUIDsByCIDTooManyRequests ¶
type RetrieveUserUUIDsByCIDTooManyRequests struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
RetrieveUserUUIDsByCIDTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewRetrieveUserUUIDsByCIDTooManyRequests ¶
func NewRetrieveUserUUIDsByCIDTooManyRequests() *RetrieveUserUUIDsByCIDTooManyRequests
NewRetrieveUserUUIDsByCIDTooManyRequests creates a RetrieveUserUUIDsByCIDTooManyRequests with default headers values
func (*RetrieveUserUUIDsByCIDTooManyRequests) Error ¶
func (o *RetrieveUserUUIDsByCIDTooManyRequests) Error() string
func (*RetrieveUserUUIDsByCIDTooManyRequests) GetPayload ¶
func (o *RetrieveUserUUIDsByCIDTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type RevokeUserRoleIdsBadRequest ¶
type RevokeUserRoleIdsBadRequest struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaEntitiesResponse }
RevokeUserRoleIdsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewRevokeUserRoleIdsBadRequest ¶
func NewRevokeUserRoleIdsBadRequest() *RevokeUserRoleIdsBadRequest
NewRevokeUserRoleIdsBadRequest creates a RevokeUserRoleIdsBadRequest with default headers values
func (*RevokeUserRoleIdsBadRequest) Error ¶
func (o *RevokeUserRoleIdsBadRequest) Error() string
func (*RevokeUserRoleIdsBadRequest) GetPayload ¶
func (o *RevokeUserRoleIdsBadRequest) GetPayload() *models.MsaEntitiesResponse
type RevokeUserRoleIdsDefault ¶
type RevokeUserRoleIdsDefault struct { Payload *models.DomainUserRoleIDsResponse // contains filtered or unexported fields }
RevokeUserRoleIdsDefault describes a response with status code -1, with default header values.
OK
func NewRevokeUserRoleIdsDefault ¶
func NewRevokeUserRoleIdsDefault(code int) *RevokeUserRoleIdsDefault
NewRevokeUserRoleIdsDefault creates a RevokeUserRoleIdsDefault with default headers values
func (*RevokeUserRoleIdsDefault) Code ¶
func (o *RevokeUserRoleIdsDefault) Code() int
Code gets the status code for the revoke user role ids default response
func (*RevokeUserRoleIdsDefault) Error ¶
func (o *RevokeUserRoleIdsDefault) Error() string
func (*RevokeUserRoleIdsDefault) GetPayload ¶
func (o *RevokeUserRoleIdsDefault) GetPayload() *models.DomainUserRoleIDsResponse
type RevokeUserRoleIdsForbidden ¶
type RevokeUserRoleIdsForbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaEntitiesResponse }
RevokeUserRoleIdsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewRevokeUserRoleIdsForbidden ¶
func NewRevokeUserRoleIdsForbidden() *RevokeUserRoleIdsForbidden
NewRevokeUserRoleIdsForbidden creates a RevokeUserRoleIdsForbidden with default headers values
func (*RevokeUserRoleIdsForbidden) Error ¶
func (o *RevokeUserRoleIdsForbidden) Error() string
func (*RevokeUserRoleIdsForbidden) GetPayload ¶
func (o *RevokeUserRoleIdsForbidden) GetPayload() *models.MsaEntitiesResponse
type RevokeUserRoleIdsOK ¶
type RevokeUserRoleIdsOK struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DomainUserRoleIDsResponse }
RevokeUserRoleIdsOK describes a response with status code 200, with default header values.
OK
func NewRevokeUserRoleIdsOK ¶
func NewRevokeUserRoleIdsOK() *RevokeUserRoleIdsOK
NewRevokeUserRoleIdsOK creates a RevokeUserRoleIdsOK with default headers values
func (*RevokeUserRoleIdsOK) Error ¶
func (o *RevokeUserRoleIdsOK) Error() string
func (*RevokeUserRoleIdsOK) GetPayload ¶
func (o *RevokeUserRoleIdsOK) GetPayload() *models.DomainUserRoleIDsResponse
type RevokeUserRoleIdsParams ¶
type RevokeUserRoleIdsParams struct { /* Ids. One or more role IDs to revoke. Find a role's ID from `/users/queries/roles/v1`. */ Ids []string /* UserUUID. ID of a user. Find a user's ID from `/users/entities/user/v1`. */ UserUUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RevokeUserRoleIdsParams contains all the parameters to send to the API endpoint
for the revoke user role ids operation. Typically these are written to a http.Request.
func NewRevokeUserRoleIdsParams ¶
func NewRevokeUserRoleIdsParams() *RevokeUserRoleIdsParams
NewRevokeUserRoleIdsParams creates a new RevokeUserRoleIdsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRevokeUserRoleIdsParamsWithContext ¶
func NewRevokeUserRoleIdsParamsWithContext(ctx context.Context) *RevokeUserRoleIdsParams
NewRevokeUserRoleIdsParamsWithContext creates a new RevokeUserRoleIdsParams object with the ability to set a context for a request.
func NewRevokeUserRoleIdsParamsWithHTTPClient ¶
func NewRevokeUserRoleIdsParamsWithHTTPClient(client *http.Client) *RevokeUserRoleIdsParams
NewRevokeUserRoleIdsParamsWithHTTPClient creates a new RevokeUserRoleIdsParams object with the ability to set a custom HTTPClient for a request.
func NewRevokeUserRoleIdsParamsWithTimeout ¶
func NewRevokeUserRoleIdsParamsWithTimeout(timeout time.Duration) *RevokeUserRoleIdsParams
NewRevokeUserRoleIdsParamsWithTimeout creates a new RevokeUserRoleIdsParams object with the ability to set a timeout on a request.
func (*RevokeUserRoleIdsParams) SetContext ¶
func (o *RevokeUserRoleIdsParams) SetContext(ctx context.Context)
SetContext adds the context to the revoke user role ids params
func (*RevokeUserRoleIdsParams) SetDefaults ¶
func (o *RevokeUserRoleIdsParams) SetDefaults()
SetDefaults hydrates default values in the revoke user role ids params (not the query body).
All values with no default are reset to their zero value.
func (*RevokeUserRoleIdsParams) SetHTTPClient ¶
func (o *RevokeUserRoleIdsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the revoke user role ids params
func (*RevokeUserRoleIdsParams) SetIds ¶
func (o *RevokeUserRoleIdsParams) SetIds(ids []string)
SetIds adds the ids to the revoke user role ids params
func (*RevokeUserRoleIdsParams) SetTimeout ¶
func (o *RevokeUserRoleIdsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the revoke user role ids params
func (*RevokeUserRoleIdsParams) SetUserUUID ¶
func (o *RevokeUserRoleIdsParams) SetUserUUID(userUUID string)
SetUserUUID adds the userUuid to the revoke user role ids params
func (*RevokeUserRoleIdsParams) WithContext ¶
func (o *RevokeUserRoleIdsParams) WithContext(ctx context.Context) *RevokeUserRoleIdsParams
WithContext adds the context to the revoke user role ids params
func (*RevokeUserRoleIdsParams) WithDefaults ¶
func (o *RevokeUserRoleIdsParams) WithDefaults() *RevokeUserRoleIdsParams
WithDefaults hydrates default values in the revoke user role ids params (not the query body).
All values with no default are reset to their zero value.
func (*RevokeUserRoleIdsParams) WithHTTPClient ¶
func (o *RevokeUserRoleIdsParams) WithHTTPClient(client *http.Client) *RevokeUserRoleIdsParams
WithHTTPClient adds the HTTPClient to the revoke user role ids params
func (*RevokeUserRoleIdsParams) WithIds ¶
func (o *RevokeUserRoleIdsParams) WithIds(ids []string) *RevokeUserRoleIdsParams
WithIds adds the ids to the revoke user role ids params
func (*RevokeUserRoleIdsParams) WithTimeout ¶
func (o *RevokeUserRoleIdsParams) WithTimeout(timeout time.Duration) *RevokeUserRoleIdsParams
WithTimeout adds the timeout to the revoke user role ids params
func (*RevokeUserRoleIdsParams) WithUserUUID ¶
func (o *RevokeUserRoleIdsParams) WithUserUUID(userUUID string) *RevokeUserRoleIdsParams
WithUserUUID adds the userUUID to the revoke user role ids params
func (*RevokeUserRoleIdsParams) WriteToRequest ¶
func (o *RevokeUserRoleIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RevokeUserRoleIdsReader ¶
type RevokeUserRoleIdsReader struct {
// contains filtered or unexported fields
}
RevokeUserRoleIdsReader is a Reader for the RevokeUserRoleIds structure.
func (*RevokeUserRoleIdsReader) ReadResponse ¶
func (o *RevokeUserRoleIdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RevokeUserRoleIdsTooManyRequests ¶
type RevokeUserRoleIdsTooManyRequests struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
RevokeUserRoleIdsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewRevokeUserRoleIdsTooManyRequests ¶
func NewRevokeUserRoleIdsTooManyRequests() *RevokeUserRoleIdsTooManyRequests
NewRevokeUserRoleIdsTooManyRequests creates a RevokeUserRoleIdsTooManyRequests with default headers values
func (*RevokeUserRoleIdsTooManyRequests) Error ¶
func (o *RevokeUserRoleIdsTooManyRequests) Error() string
func (*RevokeUserRoleIdsTooManyRequests) GetPayload ¶
func (o *RevokeUserRoleIdsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type UpdateUserBadRequest ¶
type UpdateUserBadRequest struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaEntitiesResponse }
UpdateUserBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewUpdateUserBadRequest ¶
func NewUpdateUserBadRequest() *UpdateUserBadRequest
NewUpdateUserBadRequest creates a UpdateUserBadRequest with default headers values
func (*UpdateUserBadRequest) Error ¶
func (o *UpdateUserBadRequest) Error() string
func (*UpdateUserBadRequest) GetPayload ¶
func (o *UpdateUserBadRequest) GetPayload() *models.MsaEntitiesResponse
type UpdateUserDefault ¶
type UpdateUserDefault struct { Payload *models.DomainUserMetaDataResponse // contains filtered or unexported fields }
UpdateUserDefault describes a response with status code -1, with default header values.
OK
func NewUpdateUserDefault ¶
func NewUpdateUserDefault(code int) *UpdateUserDefault
NewUpdateUserDefault creates a UpdateUserDefault with default headers values
func (*UpdateUserDefault) Code ¶
func (o *UpdateUserDefault) Code() int
Code gets the status code for the update user default response
func (*UpdateUserDefault) Error ¶
func (o *UpdateUserDefault) Error() string
func (*UpdateUserDefault) GetPayload ¶
func (o *UpdateUserDefault) GetPayload() *models.DomainUserMetaDataResponse
type UpdateUserForbidden ¶
type UpdateUserForbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaEntitiesResponse }
UpdateUserForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateUserForbidden ¶
func NewUpdateUserForbidden() *UpdateUserForbidden
NewUpdateUserForbidden creates a UpdateUserForbidden with default headers values
func (*UpdateUserForbidden) Error ¶
func (o *UpdateUserForbidden) Error() string
func (*UpdateUserForbidden) GetPayload ¶
func (o *UpdateUserForbidden) GetPayload() *models.MsaEntitiesResponse
type UpdateUserNotFound ¶
type UpdateUserNotFound struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaEntitiesResponse }
UpdateUserNotFound describes a response with status code 404, with default header values.
Not Found
func NewUpdateUserNotFound ¶
func NewUpdateUserNotFound() *UpdateUserNotFound
NewUpdateUserNotFound creates a UpdateUserNotFound with default headers values
func (*UpdateUserNotFound) Error ¶
func (o *UpdateUserNotFound) Error() string
func (*UpdateUserNotFound) GetPayload ¶
func (o *UpdateUserNotFound) GetPayload() *models.MsaEntitiesResponse
type UpdateUserOK ¶
type UpdateUserOK struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DomainUserMetaDataResponse }
UpdateUserOK describes a response with status code 200, with default header values.
OK
func NewUpdateUserOK ¶
func NewUpdateUserOK() *UpdateUserOK
NewUpdateUserOK creates a UpdateUserOK with default headers values
func (*UpdateUserOK) Error ¶
func (o *UpdateUserOK) Error() string
func (*UpdateUserOK) GetPayload ¶
func (o *UpdateUserOK) GetPayload() *models.DomainUserMetaDataResponse
type UpdateUserParams ¶
type UpdateUserParams struct { /* Body. Attributes for this user. All attributes (shown below) are optional. */ Body *models.DomainUpdateUserFields /* UserUUID. ID of a user. Find a user's ID from `/users/entities/user/v1`. */ UserUUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateUserParams contains all the parameters to send to the API endpoint
for the update user operation. Typically these are written to a http.Request.
func NewUpdateUserParams ¶
func NewUpdateUserParams() *UpdateUserParams
NewUpdateUserParams creates a new UpdateUserParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateUserParamsWithContext ¶
func NewUpdateUserParamsWithContext(ctx context.Context) *UpdateUserParams
NewUpdateUserParamsWithContext creates a new UpdateUserParams object with the ability to set a context for a request.
func NewUpdateUserParamsWithHTTPClient ¶
func NewUpdateUserParamsWithHTTPClient(client *http.Client) *UpdateUserParams
NewUpdateUserParamsWithHTTPClient creates a new UpdateUserParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateUserParamsWithTimeout ¶
func NewUpdateUserParamsWithTimeout(timeout time.Duration) *UpdateUserParams
NewUpdateUserParamsWithTimeout creates a new UpdateUserParams object with the ability to set a timeout on a request.
func (*UpdateUserParams) SetBody ¶
func (o *UpdateUserParams) SetBody(body *models.DomainUpdateUserFields)
SetBody adds the body to the update user params
func (*UpdateUserParams) SetContext ¶
func (o *UpdateUserParams) SetContext(ctx context.Context)
SetContext adds the context to the update user params
func (*UpdateUserParams) SetDefaults ¶
func (o *UpdateUserParams) SetDefaults()
SetDefaults hydrates default values in the update user params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserParams) SetHTTPClient ¶
func (o *UpdateUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user params
func (*UpdateUserParams) SetTimeout ¶
func (o *UpdateUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user params
func (*UpdateUserParams) SetUserUUID ¶
func (o *UpdateUserParams) SetUserUUID(userUUID string)
SetUserUUID adds the userUuid to the update user params
func (*UpdateUserParams) WithBody ¶
func (o *UpdateUserParams) WithBody(body *models.DomainUpdateUserFields) *UpdateUserParams
WithBody adds the body to the update user params
func (*UpdateUserParams) WithContext ¶
func (o *UpdateUserParams) WithContext(ctx context.Context) *UpdateUserParams
WithContext adds the context to the update user params
func (*UpdateUserParams) WithDefaults ¶
func (o *UpdateUserParams) WithDefaults() *UpdateUserParams
WithDefaults hydrates default values in the update user params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUserParams) WithHTTPClient ¶
func (o *UpdateUserParams) WithHTTPClient(client *http.Client) *UpdateUserParams
WithHTTPClient adds the HTTPClient to the update user params
func (*UpdateUserParams) WithTimeout ¶
func (o *UpdateUserParams) WithTimeout(timeout time.Duration) *UpdateUserParams
WithTimeout adds the timeout to the update user params
func (*UpdateUserParams) WithUserUUID ¶
func (o *UpdateUserParams) WithUserUUID(userUUID string) *UpdateUserParams
WithUserUUID adds the userUUID to the update user params
func (*UpdateUserParams) WriteToRequest ¶
func (o *UpdateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserReader ¶
type UpdateUserReader struct {
// contains filtered or unexported fields
}
UpdateUserReader is a Reader for the UpdateUser structure.
func (*UpdateUserReader) ReadResponse ¶
func (o *UpdateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserTooManyRequests ¶
type UpdateUserTooManyRequests struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
UpdateUserTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewUpdateUserTooManyRequests ¶
func NewUpdateUserTooManyRequests() *UpdateUserTooManyRequests
NewUpdateUserTooManyRequests creates a UpdateUserTooManyRequests with default headers values
func (*UpdateUserTooManyRequests) Error ¶
func (o *UpdateUserTooManyRequests) Error() string
func (*UpdateUserTooManyRequests) GetPayload ¶
func (o *UpdateUserTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
Source Files ¶
- create_user_parameters.go
- create_user_responses.go
- delete_user_parameters.go
- delete_user_responses.go
- get_available_role_ids_parameters.go
- get_available_role_ids_responses.go
- get_roles_parameters.go
- get_roles_responses.go
- get_user_role_ids_parameters.go
- get_user_role_ids_responses.go
- grant_user_role_ids_parameters.go
- grant_user_role_ids_responses.go
- retrieve_emails_by_c_id_parameters.go
- retrieve_emails_by_c_id_responses.go
- retrieve_user_parameters.go
- retrieve_user_responses.go
- retrieve_user_u_ui_ds_by_c_id_parameters.go
- retrieve_user_u_ui_ds_by_c_id_responses.go
- retrieve_user_uuid_parameters.go
- retrieve_user_uuid_responses.go
- revoke_user_role_ids_parameters.go
- revoke_user_role_ids_responses.go
- update_user_parameters.go
- update_user_responses.go
- user_management_client.go