user_management

package
v0.2.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2022 License: MIT Imports: 11 Imported by: 2

Documentation

Index

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

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

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

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

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

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

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

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 (*GetAvailableRoleIdsDefault) GetPayload

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 (*GetAvailableRoleIdsForbidden) GetPayload

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 (*GetAvailableRoleIdsInternalServerError) GetPayload

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 (*GetAvailableRoleIdsNotFound) GetPayload

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

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

WithContext adds the context to the get available role ids params

func (*GetAvailableRoleIdsParams) WithDefaults

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

WithTimeout adds the timeout to the get available role ids params

func (*GetAvailableRoleIdsParams) WriteToRequest

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 (*GetAvailableRoleIdsTooManyRequests) GetPayload

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

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

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 (*GetRolesInternalServerError) GetPayload

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

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

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

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

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 (*GetUserRoleIdsInternalServerError) GetPayload

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

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 (*GetUserRoleIdsTooManyRequests) GetPayload

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 (*GrantUserRoleIdsBadRequest) GetPayload

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

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

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

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

WithBody adds the body to the grant user role ids params

func (*GrantUserRoleIdsParams) WithContext

WithContext adds the context to the grant user role ids params

func (*GrantUserRoleIdsParams) WithDefaults

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

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

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 (*GrantUserRoleIdsTooManyRequests) GetPayload

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 (*RetrieveEmailsByCIDBadRequest) GetPayload

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 (*RetrieveEmailsByCIDDefault) GetPayload

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 (*RetrieveEmailsByCIDForbidden) GetPayload

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

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

WithContext adds the context to the retrieve emails by c ID params

func (*RetrieveEmailsByCIDParams) WithDefaults

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

WithTimeout adds the timeout to the retrieve emails by c ID params

func (*RetrieveEmailsByCIDParams) WriteToRequest

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 (*RetrieveEmailsByCIDTooManyRequests) GetPayload

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

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

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

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

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

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

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 (*RetrieveUserTooManyRequests) GetPayload

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 (*RetrieveUserUUIDBadRequest) GetPayload

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

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

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

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

WithContext adds the context to the retrieve user UUID params

func (*RetrieveUserUUIDParams) WithDefaults

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

WithTimeout adds the timeout to the retrieve user UUID params

func (*RetrieveUserUUIDParams) WithUID

WithUID adds the uid to the retrieve user UUID params

func (*RetrieveUserUUIDParams) WriteToRequest

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 (*RetrieveUserUUIDTooManyRequests) GetPayload

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 (*RetrieveUserUUIDsByCIDBadRequest) GetPayload

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

Code gets the status code for the retrieve user u UI ds by c ID default response

func (*RetrieveUserUUIDsByCIDDefault) Error

func (*RetrieveUserUUIDsByCIDDefault) GetPayload

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 (*RetrieveUserUUIDsByCIDForbidden) GetPayload

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

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

WithContext adds the context to the retrieve user u UI ds by c ID params

func (*RetrieveUserUUIDsByCIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the retrieve user u UI ds by c ID params

func (*RetrieveUserUUIDsByCIDParams) WithTimeout

WithTimeout adds the timeout to the retrieve user u UI ds by c ID params

func (*RetrieveUserUUIDsByCIDParams) WriteToRequest

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 (*RetrieveUserUUIDsByCIDTooManyRequests) GetPayload

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 (*RevokeUserRoleIdsBadRequest) GetPayload

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

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 (*RevokeUserRoleIdsForbidden) GetPayload

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

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

WithContext adds the context to the revoke user role ids params

func (*RevokeUserRoleIdsParams) WithDefaults

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

WithIds adds the ids to the revoke user role ids params

func (*RevokeUserRoleIdsParams) WithTimeout

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

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 (*RevokeUserRoleIdsTooManyRequests) GetPayload

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

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

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

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

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

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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL