users

package
v1.32.13 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2025 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivateUserBadRequest added in v1.30.0

type ActivateUserBadRequest struct {
	Payload *models.ErrorResponse
}

ActivateUserBadRequest describes a response with status code 400, with default header values.

Malformed request.

func NewActivateUserBadRequest added in v1.30.0

func NewActivateUserBadRequest() *ActivateUserBadRequest

NewActivateUserBadRequest creates a ActivateUserBadRequest with default headers values

func (*ActivateUserBadRequest) Code added in v1.30.0

func (o *ActivateUserBadRequest) Code() int

Code gets the status code for the activate user bad request response

func (*ActivateUserBadRequest) Error added in v1.30.0

func (o *ActivateUserBadRequest) Error() string

func (*ActivateUserBadRequest) GetPayload added in v1.30.0

func (o *ActivateUserBadRequest) GetPayload() *models.ErrorResponse

func (*ActivateUserBadRequest) IsClientError added in v1.30.0

func (o *ActivateUserBadRequest) IsClientError() bool

IsClientError returns true when this activate user bad request response has a 4xx status code

func (*ActivateUserBadRequest) IsCode added in v1.30.0

func (o *ActivateUserBadRequest) IsCode(code int) bool

IsCode returns true when this activate user bad request response a status code equal to that given

func (*ActivateUserBadRequest) IsRedirect added in v1.30.0

func (o *ActivateUserBadRequest) IsRedirect() bool

IsRedirect returns true when this activate user bad request response has a 3xx status code

func (*ActivateUserBadRequest) IsServerError added in v1.30.0

func (o *ActivateUserBadRequest) IsServerError() bool

IsServerError returns true when this activate user bad request response has a 5xx status code

func (*ActivateUserBadRequest) IsSuccess added in v1.30.0

func (o *ActivateUserBadRequest) IsSuccess() bool

IsSuccess returns true when this activate user bad request response has a 2xx status code

func (*ActivateUserBadRequest) String added in v1.30.0

func (o *ActivateUserBadRequest) String() string

type ActivateUserConflict added in v1.30.0

type ActivateUserConflict struct {
}

ActivateUserConflict describes a response with status code 409, with default header values.

user already activated

func NewActivateUserConflict added in v1.30.0

func NewActivateUserConflict() *ActivateUserConflict

NewActivateUserConflict creates a ActivateUserConflict with default headers values

func (*ActivateUserConflict) Code added in v1.30.0

func (o *ActivateUserConflict) Code() int

Code gets the status code for the activate user conflict response

func (*ActivateUserConflict) Error added in v1.30.0

func (o *ActivateUserConflict) Error() string

func (*ActivateUserConflict) IsClientError added in v1.30.0

func (o *ActivateUserConflict) IsClientError() bool

IsClientError returns true when this activate user conflict response has a 4xx status code

func (*ActivateUserConflict) IsCode added in v1.30.0

func (o *ActivateUserConflict) IsCode(code int) bool

IsCode returns true when this activate user conflict response a status code equal to that given

func (*ActivateUserConflict) IsRedirect added in v1.30.0

func (o *ActivateUserConflict) IsRedirect() bool

IsRedirect returns true when this activate user conflict response has a 3xx status code

func (*ActivateUserConflict) IsServerError added in v1.30.0

func (o *ActivateUserConflict) IsServerError() bool

IsServerError returns true when this activate user conflict response has a 5xx status code

func (*ActivateUserConflict) IsSuccess added in v1.30.0

func (o *ActivateUserConflict) IsSuccess() bool

IsSuccess returns true when this activate user conflict response has a 2xx status code

func (*ActivateUserConflict) String added in v1.30.0

func (o *ActivateUserConflict) String() string

type ActivateUserForbidden added in v1.30.0

type ActivateUserForbidden struct {
	Payload *models.ErrorResponse
}

ActivateUserForbidden describes a response with status code 403, with default header values.

Forbidden

func NewActivateUserForbidden added in v1.30.0

func NewActivateUserForbidden() *ActivateUserForbidden

NewActivateUserForbidden creates a ActivateUserForbidden with default headers values

func (*ActivateUserForbidden) Code added in v1.30.0

func (o *ActivateUserForbidden) Code() int

Code gets the status code for the activate user forbidden response

func (*ActivateUserForbidden) Error added in v1.30.0

func (o *ActivateUserForbidden) Error() string

func (*ActivateUserForbidden) GetPayload added in v1.30.0

func (o *ActivateUserForbidden) GetPayload() *models.ErrorResponse

func (*ActivateUserForbidden) IsClientError added in v1.30.0

func (o *ActivateUserForbidden) IsClientError() bool

IsClientError returns true when this activate user forbidden response has a 4xx status code

func (*ActivateUserForbidden) IsCode added in v1.30.0

func (o *ActivateUserForbidden) IsCode(code int) bool

IsCode returns true when this activate user forbidden response a status code equal to that given

func (*ActivateUserForbidden) IsRedirect added in v1.30.0

func (o *ActivateUserForbidden) IsRedirect() bool

IsRedirect returns true when this activate user forbidden response has a 3xx status code

func (*ActivateUserForbidden) IsServerError added in v1.30.0

func (o *ActivateUserForbidden) IsServerError() bool

IsServerError returns true when this activate user forbidden response has a 5xx status code

func (*ActivateUserForbidden) IsSuccess added in v1.30.0

func (o *ActivateUserForbidden) IsSuccess() bool

IsSuccess returns true when this activate user forbidden response has a 2xx status code

func (*ActivateUserForbidden) String added in v1.30.0

func (o *ActivateUserForbidden) String() string

type ActivateUserInternalServerError added in v1.30.0

type ActivateUserInternalServerError struct {
	Payload *models.ErrorResponse
}

ActivateUserInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewActivateUserInternalServerError added in v1.30.0

func NewActivateUserInternalServerError() *ActivateUserInternalServerError

NewActivateUserInternalServerError creates a ActivateUserInternalServerError with default headers values

func (*ActivateUserInternalServerError) Code added in v1.30.0

Code gets the status code for the activate user internal server error response

func (*ActivateUserInternalServerError) Error added in v1.30.0

func (*ActivateUserInternalServerError) GetPayload added in v1.30.0

func (*ActivateUserInternalServerError) IsClientError added in v1.30.0

func (o *ActivateUserInternalServerError) IsClientError() bool

IsClientError returns true when this activate user internal server error response has a 4xx status code

func (*ActivateUserInternalServerError) IsCode added in v1.30.0

func (o *ActivateUserInternalServerError) IsCode(code int) bool

IsCode returns true when this activate user internal server error response a status code equal to that given

func (*ActivateUserInternalServerError) IsRedirect added in v1.30.0

func (o *ActivateUserInternalServerError) IsRedirect() bool

IsRedirect returns true when this activate user internal server error response has a 3xx status code

func (*ActivateUserInternalServerError) IsServerError added in v1.30.0

func (o *ActivateUserInternalServerError) IsServerError() bool

IsServerError returns true when this activate user internal server error response has a 5xx status code

func (*ActivateUserInternalServerError) IsSuccess added in v1.30.0

func (o *ActivateUserInternalServerError) IsSuccess() bool

IsSuccess returns true when this activate user internal server error response has a 2xx status code

func (*ActivateUserInternalServerError) String added in v1.30.0

type ActivateUserNotFound added in v1.30.0

type ActivateUserNotFound struct {
}

ActivateUserNotFound describes a response with status code 404, with default header values.

user not found

func NewActivateUserNotFound added in v1.30.0

func NewActivateUserNotFound() *ActivateUserNotFound

NewActivateUserNotFound creates a ActivateUserNotFound with default headers values

func (*ActivateUserNotFound) Code added in v1.30.0

func (o *ActivateUserNotFound) Code() int

Code gets the status code for the activate user not found response

func (*ActivateUserNotFound) Error added in v1.30.0

func (o *ActivateUserNotFound) Error() string

func (*ActivateUserNotFound) IsClientError added in v1.30.0

func (o *ActivateUserNotFound) IsClientError() bool

IsClientError returns true when this activate user not found response has a 4xx status code

func (*ActivateUserNotFound) IsCode added in v1.30.0

func (o *ActivateUserNotFound) IsCode(code int) bool

IsCode returns true when this activate user not found response a status code equal to that given

func (*ActivateUserNotFound) IsRedirect added in v1.30.0

func (o *ActivateUserNotFound) IsRedirect() bool

IsRedirect returns true when this activate user not found response has a 3xx status code

func (*ActivateUserNotFound) IsServerError added in v1.30.0

func (o *ActivateUserNotFound) IsServerError() bool

IsServerError returns true when this activate user not found response has a 5xx status code

func (*ActivateUserNotFound) IsSuccess added in v1.30.0

func (o *ActivateUserNotFound) IsSuccess() bool

IsSuccess returns true when this activate user not found response has a 2xx status code

func (*ActivateUserNotFound) String added in v1.30.0

func (o *ActivateUserNotFound) String() string

type ActivateUserOK added in v1.30.0

type ActivateUserOK struct {
}

ActivateUserOK describes a response with status code 200, with default header values.

User successfully activated

func NewActivateUserOK added in v1.30.0

func NewActivateUserOK() *ActivateUserOK

NewActivateUserOK creates a ActivateUserOK with default headers values

func (*ActivateUserOK) Code added in v1.30.0

func (o *ActivateUserOK) Code() int

Code gets the status code for the activate user o k response

func (*ActivateUserOK) Error added in v1.30.0

func (o *ActivateUserOK) Error() string

func (*ActivateUserOK) IsClientError added in v1.30.0

func (o *ActivateUserOK) IsClientError() bool

IsClientError returns true when this activate user o k response has a 4xx status code

func (*ActivateUserOK) IsCode added in v1.30.0

func (o *ActivateUserOK) IsCode(code int) bool

IsCode returns true when this activate user o k response a status code equal to that given

func (*ActivateUserOK) IsRedirect added in v1.30.0

func (o *ActivateUserOK) IsRedirect() bool

IsRedirect returns true when this activate user o k response has a 3xx status code

func (*ActivateUserOK) IsServerError added in v1.30.0

func (o *ActivateUserOK) IsServerError() bool

IsServerError returns true when this activate user o k response has a 5xx status code

func (*ActivateUserOK) IsSuccess added in v1.30.0

func (o *ActivateUserOK) IsSuccess() bool

IsSuccess returns true when this activate user o k response has a 2xx status code

func (*ActivateUserOK) String added in v1.30.0

func (o *ActivateUserOK) String() string

type ActivateUserParams added in v1.30.0

type ActivateUserParams struct {

	/* UserID.

	   user id
	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ActivateUserParams contains all the parameters to send to the API endpoint

for the activate user operation.

Typically these are written to a http.Request.

func NewActivateUserParams added in v1.30.0

func NewActivateUserParams() *ActivateUserParams

NewActivateUserParams creates a new ActivateUserParams 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 NewActivateUserParamsWithContext added in v1.30.0

func NewActivateUserParamsWithContext(ctx context.Context) *ActivateUserParams

NewActivateUserParamsWithContext creates a new ActivateUserParams object with the ability to set a context for a request.

func NewActivateUserParamsWithHTTPClient added in v1.30.0

func NewActivateUserParamsWithHTTPClient(client *http.Client) *ActivateUserParams

NewActivateUserParamsWithHTTPClient creates a new ActivateUserParams object with the ability to set a custom HTTPClient for a request.

func NewActivateUserParamsWithTimeout added in v1.30.0

func NewActivateUserParamsWithTimeout(timeout time.Duration) *ActivateUserParams

NewActivateUserParamsWithTimeout creates a new ActivateUserParams object with the ability to set a timeout on a request.

func (*ActivateUserParams) SetContext added in v1.30.0

func (o *ActivateUserParams) SetContext(ctx context.Context)

SetContext adds the context to the activate user params

func (*ActivateUserParams) SetDefaults added in v1.30.0

func (o *ActivateUserParams) SetDefaults()

SetDefaults hydrates default values in the activate user params (not the query body).

All values with no default are reset to their zero value.

func (*ActivateUserParams) SetHTTPClient added in v1.30.0

func (o *ActivateUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the activate user params

func (*ActivateUserParams) SetTimeout added in v1.30.0

func (o *ActivateUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the activate user params

func (*ActivateUserParams) SetUserID added in v1.30.0

func (o *ActivateUserParams) SetUserID(userID string)

SetUserID adds the userId to the activate user params

func (*ActivateUserParams) WithContext added in v1.30.0

WithContext adds the context to the activate user params

func (*ActivateUserParams) WithDefaults added in v1.30.0

func (o *ActivateUserParams) WithDefaults() *ActivateUserParams

WithDefaults hydrates default values in the activate user params (not the query body).

All values with no default are reset to their zero value.

func (*ActivateUserParams) WithHTTPClient added in v1.30.0

func (o *ActivateUserParams) WithHTTPClient(client *http.Client) *ActivateUserParams

WithHTTPClient adds the HTTPClient to the activate user params

func (*ActivateUserParams) WithTimeout added in v1.30.0

func (o *ActivateUserParams) WithTimeout(timeout time.Duration) *ActivateUserParams

WithTimeout adds the timeout to the activate user params

func (*ActivateUserParams) WithUserID added in v1.30.0

func (o *ActivateUserParams) WithUserID(userID string) *ActivateUserParams

WithUserID adds the userID to the activate user params

func (*ActivateUserParams) WriteToRequest added in v1.30.0

func (o *ActivateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ActivateUserReader added in v1.30.0

type ActivateUserReader struct {
	// contains filtered or unexported fields
}

ActivateUserReader is a Reader for the ActivateUser structure.

func (*ActivateUserReader) ReadResponse added in v1.30.0

func (o *ActivateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ActivateUserUnauthorized added in v1.30.0

type ActivateUserUnauthorized struct {
}

ActivateUserUnauthorized describes a response with status code 401, with default header values.

Unauthorized or invalid credentials.

func NewActivateUserUnauthorized added in v1.30.0

func NewActivateUserUnauthorized() *ActivateUserUnauthorized

NewActivateUserUnauthorized creates a ActivateUserUnauthorized with default headers values

func (*ActivateUserUnauthorized) Code added in v1.30.0

func (o *ActivateUserUnauthorized) Code() int

Code gets the status code for the activate user unauthorized response

func (*ActivateUserUnauthorized) Error added in v1.30.0

func (o *ActivateUserUnauthorized) Error() string

func (*ActivateUserUnauthorized) IsClientError added in v1.30.0

func (o *ActivateUserUnauthorized) IsClientError() bool

IsClientError returns true when this activate user unauthorized response has a 4xx status code

func (*ActivateUserUnauthorized) IsCode added in v1.30.0

func (o *ActivateUserUnauthorized) IsCode(code int) bool

IsCode returns true when this activate user unauthorized response a status code equal to that given

func (*ActivateUserUnauthorized) IsRedirect added in v1.30.0

func (o *ActivateUserUnauthorized) IsRedirect() bool

IsRedirect returns true when this activate user unauthorized response has a 3xx status code

func (*ActivateUserUnauthorized) IsServerError added in v1.30.0

func (o *ActivateUserUnauthorized) IsServerError() bool

IsServerError returns true when this activate user unauthorized response has a 5xx status code

func (*ActivateUserUnauthorized) IsSuccess added in v1.30.0

func (o *ActivateUserUnauthorized) IsSuccess() bool

IsSuccess returns true when this activate user unauthorized response has a 2xx status code

func (*ActivateUserUnauthorized) String added in v1.30.0

func (o *ActivateUserUnauthorized) String() string

type ActivateUserUnprocessableEntity added in v1.30.0

type ActivateUserUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

ActivateUserUnprocessableEntity describes a response with status code 422, with default header values.

Request body is well-formed (i.e., syntactically correct), but semantically erroneous.

func NewActivateUserUnprocessableEntity added in v1.30.0

func NewActivateUserUnprocessableEntity() *ActivateUserUnprocessableEntity

NewActivateUserUnprocessableEntity creates a ActivateUserUnprocessableEntity with default headers values

func (*ActivateUserUnprocessableEntity) Code added in v1.30.0

Code gets the status code for the activate user unprocessable entity response

func (*ActivateUserUnprocessableEntity) Error added in v1.30.0

func (*ActivateUserUnprocessableEntity) GetPayload added in v1.30.0

func (*ActivateUserUnprocessableEntity) IsClientError added in v1.30.0

func (o *ActivateUserUnprocessableEntity) IsClientError() bool

IsClientError returns true when this activate user unprocessable entity response has a 4xx status code

func (*ActivateUserUnprocessableEntity) IsCode added in v1.30.0

func (o *ActivateUserUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this activate user unprocessable entity response a status code equal to that given

func (*ActivateUserUnprocessableEntity) IsRedirect added in v1.30.0

func (o *ActivateUserUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this activate user unprocessable entity response has a 3xx status code

func (*ActivateUserUnprocessableEntity) IsServerError added in v1.30.0

func (o *ActivateUserUnprocessableEntity) IsServerError() bool

IsServerError returns true when this activate user unprocessable entity response has a 5xx status code

func (*ActivateUserUnprocessableEntity) IsSuccess added in v1.30.0

func (o *ActivateUserUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this activate user unprocessable entity response has a 2xx status code

func (*ActivateUserUnprocessableEntity) String added in v1.30.0

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for users API

func (*Client) ActivateUser added in v1.30.0

func (a *Client) ActivateUser(params *ActivateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ActivateUserOK, error)

ActivateUser activates a deactivated user

func (*Client) CreateUser added in v1.30.0

func (a *Client) CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserCreated, error)

CreateUser creates new user

func (*Client) DeactivateUser added in v1.30.0

func (a *Client) DeactivateUser(params *DeactivateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeactivateUserOK, error)

DeactivateUser deactivates a user

func (*Client) DeleteUser added in v1.30.0

func (a *Client) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserNoContent, error)

DeleteUser deletes user

func (*Client) GetOwnInfo

func (a *Client) GetOwnInfo(params *GetOwnInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOwnInfoOK, error)

GetOwnInfo gets info relevant to own user e g username roles

func (*Client) GetUserInfo added in v1.30.0

func (a *Client) GetUserInfo(params *GetUserInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserInfoOK, error)

GetUserInfo gets info relevant to user e g username roles

func (*Client) ListAllUsers added in v1.30.0

func (a *Client) ListAllUsers(params *ListAllUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAllUsersOK, error)

ListAllUsers lists all db users

func (*Client) RotateUserAPIKey added in v1.30.0

func (a *Client) RotateUserAPIKey(params *RotateUserAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RotateUserAPIKeyOK, error)

RotateUserAPIKey rotates user api key

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ActivateUser(params *ActivateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ActivateUserOK, error)

	CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserCreated, error)

	DeactivateUser(params *DeactivateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeactivateUserOK, error)

	DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserNoContent, error)

	GetOwnInfo(params *GetOwnInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOwnInfoOK, error)

	GetUserInfo(params *GetUserInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserInfoOK, error)

	ListAllUsers(params *ListAllUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAllUsersOK, error)

	RotateUserAPIKey(params *RotateUserAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RotateUserAPIKeyOK, 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 users API client.

type CreateUserBadRequest added in v1.30.0

type CreateUserBadRequest struct {
	Payload *models.ErrorResponse
}

CreateUserBadRequest describes a response with status code 400, with default header values.

Malformed request.

func NewCreateUserBadRequest added in v1.30.0

func NewCreateUserBadRequest() *CreateUserBadRequest

NewCreateUserBadRequest creates a CreateUserBadRequest with default headers values

func (*CreateUserBadRequest) Code added in v1.30.0

func (o *CreateUserBadRequest) Code() int

Code gets the status code for the create user bad request response

func (*CreateUserBadRequest) Error added in v1.30.0

func (o *CreateUserBadRequest) Error() string

func (*CreateUserBadRequest) GetPayload added in v1.30.0

func (o *CreateUserBadRequest) GetPayload() *models.ErrorResponse

func (*CreateUserBadRequest) IsClientError added in v1.30.0

func (o *CreateUserBadRequest) IsClientError() bool

IsClientError returns true when this create user bad request response has a 4xx status code

func (*CreateUserBadRequest) IsCode added in v1.30.0

func (o *CreateUserBadRequest) IsCode(code int) bool

IsCode returns true when this create user bad request response a status code equal to that given

func (*CreateUserBadRequest) IsRedirect added in v1.30.0

func (o *CreateUserBadRequest) IsRedirect() bool

IsRedirect returns true when this create user bad request response has a 3xx status code

func (*CreateUserBadRequest) IsServerError added in v1.30.0

func (o *CreateUserBadRequest) IsServerError() bool

IsServerError returns true when this create user bad request response has a 5xx status code

func (*CreateUserBadRequest) IsSuccess added in v1.30.0

func (o *CreateUserBadRequest) IsSuccess() bool

IsSuccess returns true when this create user bad request response has a 2xx status code

func (*CreateUserBadRequest) String added in v1.30.0

func (o *CreateUserBadRequest) String() string

type CreateUserBody added in v1.30.10

type CreateUserBody struct {

	// EXPERIMENTAL, DONT USE. THIS WILL BE REMOVED AGAIN. - set the given time as creation time
	// Format: date-time
	CreateTime strfmt.DateTime `json:"createTime,omitempty"`

	// EXPERIMENTAL, DONT USE. THIS WILL BE REMOVED AGAIN. - import api key from static user
	Import *bool `json:"import,omitempty"`
}

CreateUserBody create user body swagger:model CreateUserBody

func (*CreateUserBody) ContextValidate added in v1.30.10

func (o *CreateUserBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create user body based on context it is used

func (*CreateUserBody) MarshalBinary added in v1.30.10

func (o *CreateUserBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateUserBody) UnmarshalBinary added in v1.30.10

func (o *CreateUserBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateUserBody) Validate added in v1.30.10

func (o *CreateUserBody) Validate(formats strfmt.Registry) error

Validate validates this create user body

type CreateUserConflict added in v1.30.0

type CreateUserConflict struct {
	Payload *models.ErrorResponse
}

CreateUserConflict describes a response with status code 409, with default header values.

User already exists

func NewCreateUserConflict added in v1.30.0

func NewCreateUserConflict() *CreateUserConflict

NewCreateUserConflict creates a CreateUserConflict with default headers values

func (*CreateUserConflict) Code added in v1.30.0

func (o *CreateUserConflict) Code() int

Code gets the status code for the create user conflict response

func (*CreateUserConflict) Error added in v1.30.0

func (o *CreateUserConflict) Error() string

func (*CreateUserConflict) GetPayload added in v1.30.0

func (o *CreateUserConflict) GetPayload() *models.ErrorResponse

func (*CreateUserConflict) IsClientError added in v1.30.0

func (o *CreateUserConflict) IsClientError() bool

IsClientError returns true when this create user conflict response has a 4xx status code

func (*CreateUserConflict) IsCode added in v1.30.0

func (o *CreateUserConflict) IsCode(code int) bool

IsCode returns true when this create user conflict response a status code equal to that given

func (*CreateUserConflict) IsRedirect added in v1.30.0

func (o *CreateUserConflict) IsRedirect() bool

IsRedirect returns true when this create user conflict response has a 3xx status code

func (*CreateUserConflict) IsServerError added in v1.30.0

func (o *CreateUserConflict) IsServerError() bool

IsServerError returns true when this create user conflict response has a 5xx status code

func (*CreateUserConflict) IsSuccess added in v1.30.0

func (o *CreateUserConflict) IsSuccess() bool

IsSuccess returns true when this create user conflict response has a 2xx status code

func (*CreateUserConflict) String added in v1.30.0

func (o *CreateUserConflict) String() string

type CreateUserCreated added in v1.30.0

type CreateUserCreated struct {
	Payload *models.UserAPIKey
}

CreateUserCreated describes a response with status code 201, with default header values.

User created successfully

func NewCreateUserCreated added in v1.30.0

func NewCreateUserCreated() *CreateUserCreated

NewCreateUserCreated creates a CreateUserCreated with default headers values

func (*CreateUserCreated) Code added in v1.30.0

func (o *CreateUserCreated) Code() int

Code gets the status code for the create user created response

func (*CreateUserCreated) Error added in v1.30.0

func (o *CreateUserCreated) Error() string

func (*CreateUserCreated) GetPayload added in v1.30.0

func (o *CreateUserCreated) GetPayload() *models.UserAPIKey

func (*CreateUserCreated) IsClientError added in v1.30.0

func (o *CreateUserCreated) IsClientError() bool

IsClientError returns true when this create user created response has a 4xx status code

func (*CreateUserCreated) IsCode added in v1.30.0

func (o *CreateUserCreated) IsCode(code int) bool

IsCode returns true when this create user created response a status code equal to that given

func (*CreateUserCreated) IsRedirect added in v1.30.0

func (o *CreateUserCreated) IsRedirect() bool

IsRedirect returns true when this create user created response has a 3xx status code

func (*CreateUserCreated) IsServerError added in v1.30.0

func (o *CreateUserCreated) IsServerError() bool

IsServerError returns true when this create user created response has a 5xx status code

func (*CreateUserCreated) IsSuccess added in v1.30.0

func (o *CreateUserCreated) IsSuccess() bool

IsSuccess returns true when this create user created response has a 2xx status code

func (*CreateUserCreated) String added in v1.30.0

func (o *CreateUserCreated) String() string

type CreateUserForbidden added in v1.30.0

type CreateUserForbidden struct {
	Payload *models.ErrorResponse
}

CreateUserForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateUserForbidden added in v1.30.0

func NewCreateUserForbidden() *CreateUserForbidden

NewCreateUserForbidden creates a CreateUserForbidden with default headers values

func (*CreateUserForbidden) Code added in v1.30.0

func (o *CreateUserForbidden) Code() int

Code gets the status code for the create user forbidden response

func (*CreateUserForbidden) Error added in v1.30.0

func (o *CreateUserForbidden) Error() string

func (*CreateUserForbidden) GetPayload added in v1.30.0

func (o *CreateUserForbidden) GetPayload() *models.ErrorResponse

func (*CreateUserForbidden) IsClientError added in v1.30.0

func (o *CreateUserForbidden) IsClientError() bool

IsClientError returns true when this create user forbidden response has a 4xx status code

func (*CreateUserForbidden) IsCode added in v1.30.0

func (o *CreateUserForbidden) IsCode(code int) bool

IsCode returns true when this create user forbidden response a status code equal to that given

func (*CreateUserForbidden) IsRedirect added in v1.30.0

func (o *CreateUserForbidden) IsRedirect() bool

IsRedirect returns true when this create user forbidden response has a 3xx status code

func (*CreateUserForbidden) IsServerError added in v1.30.0

func (o *CreateUserForbidden) IsServerError() bool

IsServerError returns true when this create user forbidden response has a 5xx status code

func (*CreateUserForbidden) IsSuccess added in v1.30.0

func (o *CreateUserForbidden) IsSuccess() bool

IsSuccess returns true when this create user forbidden response has a 2xx status code

func (*CreateUserForbidden) String added in v1.30.0

func (o *CreateUserForbidden) String() string

type CreateUserInternalServerError added in v1.30.0

type CreateUserInternalServerError struct {
	Payload *models.ErrorResponse
}

CreateUserInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewCreateUserInternalServerError added in v1.30.0

func NewCreateUserInternalServerError() *CreateUserInternalServerError

NewCreateUserInternalServerError creates a CreateUserInternalServerError with default headers values

func (*CreateUserInternalServerError) Code added in v1.30.0

Code gets the status code for the create user internal server error response

func (*CreateUserInternalServerError) Error added in v1.30.0

func (*CreateUserInternalServerError) GetPayload added in v1.30.0

func (*CreateUserInternalServerError) IsClientError added in v1.30.0

func (o *CreateUserInternalServerError) IsClientError() bool

IsClientError returns true when this create user internal server error response has a 4xx status code

func (*CreateUserInternalServerError) IsCode added in v1.30.0

func (o *CreateUserInternalServerError) IsCode(code int) bool

IsCode returns true when this create user internal server error response a status code equal to that given

func (*CreateUserInternalServerError) IsRedirect added in v1.30.0

func (o *CreateUserInternalServerError) IsRedirect() bool

IsRedirect returns true when this create user internal server error response has a 3xx status code

func (*CreateUserInternalServerError) IsServerError added in v1.30.0

func (o *CreateUserInternalServerError) IsServerError() bool

IsServerError returns true when this create user internal server error response has a 5xx status code

func (*CreateUserInternalServerError) IsSuccess added in v1.30.0

func (o *CreateUserInternalServerError) IsSuccess() bool

IsSuccess returns true when this create user internal server error response has a 2xx status code

func (*CreateUserInternalServerError) String added in v1.30.0

type CreateUserNotFound added in v1.30.10

type CreateUserNotFound struct {
	Payload *models.ErrorResponse
}

CreateUserNotFound describes a response with status code 404, with default header values.

user not found

func NewCreateUserNotFound added in v1.30.10

func NewCreateUserNotFound() *CreateUserNotFound

NewCreateUserNotFound creates a CreateUserNotFound with default headers values

func (*CreateUserNotFound) Code added in v1.30.10

func (o *CreateUserNotFound) Code() int

Code gets the status code for the create user not found response

func (*CreateUserNotFound) Error added in v1.30.10

func (o *CreateUserNotFound) Error() string

func (*CreateUserNotFound) GetPayload added in v1.30.10

func (o *CreateUserNotFound) GetPayload() *models.ErrorResponse

func (*CreateUserNotFound) IsClientError added in v1.30.10

func (o *CreateUserNotFound) IsClientError() bool

IsClientError returns true when this create user not found response has a 4xx status code

func (*CreateUserNotFound) IsCode added in v1.30.10

func (o *CreateUserNotFound) IsCode(code int) bool

IsCode returns true when this create user not found response a status code equal to that given

func (*CreateUserNotFound) IsRedirect added in v1.30.10

func (o *CreateUserNotFound) IsRedirect() bool

IsRedirect returns true when this create user not found response has a 3xx status code

func (*CreateUserNotFound) IsServerError added in v1.30.10

func (o *CreateUserNotFound) IsServerError() bool

IsServerError returns true when this create user not found response has a 5xx status code

func (*CreateUserNotFound) IsSuccess added in v1.30.10

func (o *CreateUserNotFound) IsSuccess() bool

IsSuccess returns true when this create user not found response has a 2xx status code

func (*CreateUserNotFound) String added in v1.30.10

func (o *CreateUserNotFound) String() string

type CreateUserParams added in v1.30.0

type CreateUserParams struct {

	// Body.
	Body CreateUserBody

	/* UserID.

	   user id
	*/
	UserID string

	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 added in v1.30.0

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 added in v1.30.0

func NewCreateUserParamsWithContext(ctx context.Context) *CreateUserParams

NewCreateUserParamsWithContext creates a new CreateUserParams object with the ability to set a context for a request.

func NewCreateUserParamsWithHTTPClient added in v1.30.0

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 added in v1.30.0

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 added in v1.30.10

func (o *CreateUserParams) SetBody(body CreateUserBody)

SetBody adds the body to the create user params

func (*CreateUserParams) SetContext added in v1.30.0

func (o *CreateUserParams) SetContext(ctx context.Context)

SetContext adds the context to the create user params

func (*CreateUserParams) SetDefaults added in v1.30.0

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 added in v1.30.0

func (o *CreateUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create user params

func (*CreateUserParams) SetTimeout added in v1.30.0

func (o *CreateUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create user params

func (*CreateUserParams) SetUserID added in v1.30.0

func (o *CreateUserParams) SetUserID(userID string)

SetUserID adds the userId to the create user params

func (*CreateUserParams) WithBody added in v1.30.10

WithBody adds the body to the create user params

func (*CreateUserParams) WithContext added in v1.30.0

func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams

WithContext adds the context to the create user params

func (*CreateUserParams) WithDefaults added in v1.30.0

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 added in v1.30.0

func (o *CreateUserParams) WithHTTPClient(client *http.Client) *CreateUserParams

WithHTTPClient adds the HTTPClient to the create user params

func (*CreateUserParams) WithTimeout added in v1.30.0

func (o *CreateUserParams) WithTimeout(timeout time.Duration) *CreateUserParams

WithTimeout adds the timeout to the create user params

func (*CreateUserParams) WithUserID added in v1.30.0

func (o *CreateUserParams) WithUserID(userID string) *CreateUserParams

WithUserID adds the userID to the create user params

func (*CreateUserParams) WriteToRequest added in v1.30.0

func (o *CreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateUserReader added in v1.30.0

type CreateUserReader struct {
	// contains filtered or unexported fields
}

CreateUserReader is a Reader for the CreateUser structure.

func (*CreateUserReader) ReadResponse added in v1.30.0

func (o *CreateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateUserUnauthorized added in v1.30.0

type CreateUserUnauthorized struct {
}

CreateUserUnauthorized describes a response with status code 401, with default header values.

Unauthorized or invalid credentials.

func NewCreateUserUnauthorized added in v1.30.0

func NewCreateUserUnauthorized() *CreateUserUnauthorized

NewCreateUserUnauthorized creates a CreateUserUnauthorized with default headers values

func (*CreateUserUnauthorized) Code added in v1.30.0

func (o *CreateUserUnauthorized) Code() int

Code gets the status code for the create user unauthorized response

func (*CreateUserUnauthorized) Error added in v1.30.0

func (o *CreateUserUnauthorized) Error() string

func (*CreateUserUnauthorized) IsClientError added in v1.30.0

func (o *CreateUserUnauthorized) IsClientError() bool

IsClientError returns true when this create user unauthorized response has a 4xx status code

func (*CreateUserUnauthorized) IsCode added in v1.30.0

func (o *CreateUserUnauthorized) IsCode(code int) bool

IsCode returns true when this create user unauthorized response a status code equal to that given

func (*CreateUserUnauthorized) IsRedirect added in v1.30.0

func (o *CreateUserUnauthorized) IsRedirect() bool

IsRedirect returns true when this create user unauthorized response has a 3xx status code

func (*CreateUserUnauthorized) IsServerError added in v1.30.0

func (o *CreateUserUnauthorized) IsServerError() bool

IsServerError returns true when this create user unauthorized response has a 5xx status code

func (*CreateUserUnauthorized) IsSuccess added in v1.30.0

func (o *CreateUserUnauthorized) IsSuccess() bool

IsSuccess returns true when this create user unauthorized response has a 2xx status code

func (*CreateUserUnauthorized) String added in v1.30.0

func (o *CreateUserUnauthorized) String() string

type CreateUserUnprocessableEntity added in v1.30.0

type CreateUserUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

CreateUserUnprocessableEntity describes a response with status code 422, with default header values.

Request body is well-formed (i.e., syntactically correct), but semantically erroneous.

func NewCreateUserUnprocessableEntity added in v1.30.0

func NewCreateUserUnprocessableEntity() *CreateUserUnprocessableEntity

NewCreateUserUnprocessableEntity creates a CreateUserUnprocessableEntity with default headers values

func (*CreateUserUnprocessableEntity) Code added in v1.30.0

Code gets the status code for the create user unprocessable entity response

func (*CreateUserUnprocessableEntity) Error added in v1.30.0

func (*CreateUserUnprocessableEntity) GetPayload added in v1.30.0

func (*CreateUserUnprocessableEntity) IsClientError added in v1.30.0

func (o *CreateUserUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create user unprocessable entity response has a 4xx status code

func (*CreateUserUnprocessableEntity) IsCode added in v1.30.0

func (o *CreateUserUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this create user unprocessable entity response a status code equal to that given

func (*CreateUserUnprocessableEntity) IsRedirect added in v1.30.0

func (o *CreateUserUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this create user unprocessable entity response has a 3xx status code

func (*CreateUserUnprocessableEntity) IsServerError added in v1.30.0

func (o *CreateUserUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create user unprocessable entity response has a 5xx status code

func (*CreateUserUnprocessableEntity) IsSuccess added in v1.30.0

func (o *CreateUserUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this create user unprocessable entity response has a 2xx status code

func (*CreateUserUnprocessableEntity) String added in v1.30.0

type DeactivateUserBadRequest added in v1.30.0

type DeactivateUserBadRequest struct {
	Payload *models.ErrorResponse
}

DeactivateUserBadRequest describes a response with status code 400, with default header values.

Malformed request.

func NewDeactivateUserBadRequest added in v1.30.0

func NewDeactivateUserBadRequest() *DeactivateUserBadRequest

NewDeactivateUserBadRequest creates a DeactivateUserBadRequest with default headers values

func (*DeactivateUserBadRequest) Code added in v1.30.0

func (o *DeactivateUserBadRequest) Code() int

Code gets the status code for the deactivate user bad request response

func (*DeactivateUserBadRequest) Error added in v1.30.0

func (o *DeactivateUserBadRequest) Error() string

func (*DeactivateUserBadRequest) GetPayload added in v1.30.0

func (*DeactivateUserBadRequest) IsClientError added in v1.30.0

func (o *DeactivateUserBadRequest) IsClientError() bool

IsClientError returns true when this deactivate user bad request response has a 4xx status code

func (*DeactivateUserBadRequest) IsCode added in v1.30.0

func (o *DeactivateUserBadRequest) IsCode(code int) bool

IsCode returns true when this deactivate user bad request response a status code equal to that given

func (*DeactivateUserBadRequest) IsRedirect added in v1.30.0

func (o *DeactivateUserBadRequest) IsRedirect() bool

IsRedirect returns true when this deactivate user bad request response has a 3xx status code

func (*DeactivateUserBadRequest) IsServerError added in v1.30.0

func (o *DeactivateUserBadRequest) IsServerError() bool

IsServerError returns true when this deactivate user bad request response has a 5xx status code

func (*DeactivateUserBadRequest) IsSuccess added in v1.30.0

func (o *DeactivateUserBadRequest) IsSuccess() bool

IsSuccess returns true when this deactivate user bad request response has a 2xx status code

func (*DeactivateUserBadRequest) String added in v1.30.0

func (o *DeactivateUserBadRequest) String() string

type DeactivateUserBody added in v1.30.0

type DeactivateUserBody struct {

	// if the key should be revoked when deactivating the user
	RevokeKey *bool `json:"revoke_key,omitempty"`
}

DeactivateUserBody deactivate user body swagger:model DeactivateUserBody

func (*DeactivateUserBody) ContextValidate added in v1.30.0

func (o *DeactivateUserBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this deactivate user body based on context it is used

func (*DeactivateUserBody) MarshalBinary added in v1.30.0

func (o *DeactivateUserBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeactivateUserBody) UnmarshalBinary added in v1.30.0

func (o *DeactivateUserBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeactivateUserBody) Validate added in v1.30.0

func (o *DeactivateUserBody) Validate(formats strfmt.Registry) error

Validate validates this deactivate user body

type DeactivateUserConflict added in v1.30.0

type DeactivateUserConflict struct {
}

DeactivateUserConflict describes a response with status code 409, with default header values.

user already deactivated

func NewDeactivateUserConflict added in v1.30.0

func NewDeactivateUserConflict() *DeactivateUserConflict

NewDeactivateUserConflict creates a DeactivateUserConflict with default headers values

func (*DeactivateUserConflict) Code added in v1.30.0

func (o *DeactivateUserConflict) Code() int

Code gets the status code for the deactivate user conflict response

func (*DeactivateUserConflict) Error added in v1.30.0

func (o *DeactivateUserConflict) Error() string

func (*DeactivateUserConflict) IsClientError added in v1.30.0

func (o *DeactivateUserConflict) IsClientError() bool

IsClientError returns true when this deactivate user conflict response has a 4xx status code

func (*DeactivateUserConflict) IsCode added in v1.30.0

func (o *DeactivateUserConflict) IsCode(code int) bool

IsCode returns true when this deactivate user conflict response a status code equal to that given

func (*DeactivateUserConflict) IsRedirect added in v1.30.0

func (o *DeactivateUserConflict) IsRedirect() bool

IsRedirect returns true when this deactivate user conflict response has a 3xx status code

func (*DeactivateUserConflict) IsServerError added in v1.30.0

func (o *DeactivateUserConflict) IsServerError() bool

IsServerError returns true when this deactivate user conflict response has a 5xx status code

func (*DeactivateUserConflict) IsSuccess added in v1.30.0

func (o *DeactivateUserConflict) IsSuccess() bool

IsSuccess returns true when this deactivate user conflict response has a 2xx status code

func (*DeactivateUserConflict) String added in v1.30.0

func (o *DeactivateUserConflict) String() string

type DeactivateUserForbidden added in v1.30.0

type DeactivateUserForbidden struct {
	Payload *models.ErrorResponse
}

DeactivateUserForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeactivateUserForbidden added in v1.30.0

func NewDeactivateUserForbidden() *DeactivateUserForbidden

NewDeactivateUserForbidden creates a DeactivateUserForbidden with default headers values

func (*DeactivateUserForbidden) Code added in v1.30.0

func (o *DeactivateUserForbidden) Code() int

Code gets the status code for the deactivate user forbidden response

func (*DeactivateUserForbidden) Error added in v1.30.0

func (o *DeactivateUserForbidden) Error() string

func (*DeactivateUserForbidden) GetPayload added in v1.30.0

func (o *DeactivateUserForbidden) GetPayload() *models.ErrorResponse

func (*DeactivateUserForbidden) IsClientError added in v1.30.0

func (o *DeactivateUserForbidden) IsClientError() bool

IsClientError returns true when this deactivate user forbidden response has a 4xx status code

func (*DeactivateUserForbidden) IsCode added in v1.30.0

func (o *DeactivateUserForbidden) IsCode(code int) bool

IsCode returns true when this deactivate user forbidden response a status code equal to that given

func (*DeactivateUserForbidden) IsRedirect added in v1.30.0

func (o *DeactivateUserForbidden) IsRedirect() bool

IsRedirect returns true when this deactivate user forbidden response has a 3xx status code

func (*DeactivateUserForbidden) IsServerError added in v1.30.0

func (o *DeactivateUserForbidden) IsServerError() bool

IsServerError returns true when this deactivate user forbidden response has a 5xx status code

func (*DeactivateUserForbidden) IsSuccess added in v1.30.0

func (o *DeactivateUserForbidden) IsSuccess() bool

IsSuccess returns true when this deactivate user forbidden response has a 2xx status code

func (*DeactivateUserForbidden) String added in v1.30.0

func (o *DeactivateUserForbidden) String() string

type DeactivateUserInternalServerError added in v1.30.0

type DeactivateUserInternalServerError struct {
	Payload *models.ErrorResponse
}

DeactivateUserInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewDeactivateUserInternalServerError added in v1.30.0

func NewDeactivateUserInternalServerError() *DeactivateUserInternalServerError

NewDeactivateUserInternalServerError creates a DeactivateUserInternalServerError with default headers values

func (*DeactivateUserInternalServerError) Code added in v1.30.0

Code gets the status code for the deactivate user internal server error response

func (*DeactivateUserInternalServerError) Error added in v1.30.0

func (*DeactivateUserInternalServerError) GetPayload added in v1.30.0

func (*DeactivateUserInternalServerError) IsClientError added in v1.30.0

func (o *DeactivateUserInternalServerError) IsClientError() bool

IsClientError returns true when this deactivate user internal server error response has a 4xx status code

func (*DeactivateUserInternalServerError) IsCode added in v1.30.0

func (o *DeactivateUserInternalServerError) IsCode(code int) bool

IsCode returns true when this deactivate user internal server error response a status code equal to that given

func (*DeactivateUserInternalServerError) IsRedirect added in v1.30.0

func (o *DeactivateUserInternalServerError) IsRedirect() bool

IsRedirect returns true when this deactivate user internal server error response has a 3xx status code

func (*DeactivateUserInternalServerError) IsServerError added in v1.30.0

func (o *DeactivateUserInternalServerError) IsServerError() bool

IsServerError returns true when this deactivate user internal server error response has a 5xx status code

func (*DeactivateUserInternalServerError) IsSuccess added in v1.30.0

func (o *DeactivateUserInternalServerError) IsSuccess() bool

IsSuccess returns true when this deactivate user internal server error response has a 2xx status code

func (*DeactivateUserInternalServerError) String added in v1.30.0

type DeactivateUserNotFound added in v1.30.0

type DeactivateUserNotFound struct {
}

DeactivateUserNotFound describes a response with status code 404, with default header values.

user not found

func NewDeactivateUserNotFound added in v1.30.0

func NewDeactivateUserNotFound() *DeactivateUserNotFound

NewDeactivateUserNotFound creates a DeactivateUserNotFound with default headers values

func (*DeactivateUserNotFound) Code added in v1.30.0

func (o *DeactivateUserNotFound) Code() int

Code gets the status code for the deactivate user not found response

func (*DeactivateUserNotFound) Error added in v1.30.0

func (o *DeactivateUserNotFound) Error() string

func (*DeactivateUserNotFound) IsClientError added in v1.30.0

func (o *DeactivateUserNotFound) IsClientError() bool

IsClientError returns true when this deactivate user not found response has a 4xx status code

func (*DeactivateUserNotFound) IsCode added in v1.30.0

func (o *DeactivateUserNotFound) IsCode(code int) bool

IsCode returns true when this deactivate user not found response a status code equal to that given

func (*DeactivateUserNotFound) IsRedirect added in v1.30.0

func (o *DeactivateUserNotFound) IsRedirect() bool

IsRedirect returns true when this deactivate user not found response has a 3xx status code

func (*DeactivateUserNotFound) IsServerError added in v1.30.0

func (o *DeactivateUserNotFound) IsServerError() bool

IsServerError returns true when this deactivate user not found response has a 5xx status code

func (*DeactivateUserNotFound) IsSuccess added in v1.30.0

func (o *DeactivateUserNotFound) IsSuccess() bool

IsSuccess returns true when this deactivate user not found response has a 2xx status code

func (*DeactivateUserNotFound) String added in v1.30.0

func (o *DeactivateUserNotFound) String() string

type DeactivateUserOK added in v1.30.0

type DeactivateUserOK struct {
}

DeactivateUserOK describes a response with status code 200, with default header values.

users successfully deactivated

func NewDeactivateUserOK added in v1.30.0

func NewDeactivateUserOK() *DeactivateUserOK

NewDeactivateUserOK creates a DeactivateUserOK with default headers values

func (*DeactivateUserOK) Code added in v1.30.0

func (o *DeactivateUserOK) Code() int

Code gets the status code for the deactivate user o k response

func (*DeactivateUserOK) Error added in v1.30.0

func (o *DeactivateUserOK) Error() string

func (*DeactivateUserOK) IsClientError added in v1.30.0

func (o *DeactivateUserOK) IsClientError() bool

IsClientError returns true when this deactivate user o k response has a 4xx status code

func (*DeactivateUserOK) IsCode added in v1.30.0

func (o *DeactivateUserOK) IsCode(code int) bool

IsCode returns true when this deactivate user o k response a status code equal to that given

func (*DeactivateUserOK) IsRedirect added in v1.30.0

func (o *DeactivateUserOK) IsRedirect() bool

IsRedirect returns true when this deactivate user o k response has a 3xx status code

func (*DeactivateUserOK) IsServerError added in v1.30.0

func (o *DeactivateUserOK) IsServerError() bool

IsServerError returns true when this deactivate user o k response has a 5xx status code

func (*DeactivateUserOK) IsSuccess added in v1.30.0

func (o *DeactivateUserOK) IsSuccess() bool

IsSuccess returns true when this deactivate user o k response has a 2xx status code

func (*DeactivateUserOK) String added in v1.30.0

func (o *DeactivateUserOK) String() string

type DeactivateUserParams added in v1.30.0

type DeactivateUserParams struct {

	// Body.
	Body DeactivateUserBody

	/* UserID.

	   user id
	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeactivateUserParams contains all the parameters to send to the API endpoint

for the deactivate user operation.

Typically these are written to a http.Request.

func NewDeactivateUserParams added in v1.30.0

func NewDeactivateUserParams() *DeactivateUserParams

NewDeactivateUserParams creates a new DeactivateUserParams 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 NewDeactivateUserParamsWithContext added in v1.30.0

func NewDeactivateUserParamsWithContext(ctx context.Context) *DeactivateUserParams

NewDeactivateUserParamsWithContext creates a new DeactivateUserParams object with the ability to set a context for a request.

func NewDeactivateUserParamsWithHTTPClient added in v1.30.0

func NewDeactivateUserParamsWithHTTPClient(client *http.Client) *DeactivateUserParams

NewDeactivateUserParamsWithHTTPClient creates a new DeactivateUserParams object with the ability to set a custom HTTPClient for a request.

func NewDeactivateUserParamsWithTimeout added in v1.30.0

func NewDeactivateUserParamsWithTimeout(timeout time.Duration) *DeactivateUserParams

NewDeactivateUserParamsWithTimeout creates a new DeactivateUserParams object with the ability to set a timeout on a request.

func (*DeactivateUserParams) SetBody added in v1.30.0

func (o *DeactivateUserParams) SetBody(body DeactivateUserBody)

SetBody adds the body to the deactivate user params

func (*DeactivateUserParams) SetContext added in v1.30.0

func (o *DeactivateUserParams) SetContext(ctx context.Context)

SetContext adds the context to the deactivate user params

func (*DeactivateUserParams) SetDefaults added in v1.30.0

func (o *DeactivateUserParams) SetDefaults()

SetDefaults hydrates default values in the deactivate user params (not the query body).

All values with no default are reset to their zero value.

func (*DeactivateUserParams) SetHTTPClient added in v1.30.0

func (o *DeactivateUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the deactivate user params

func (*DeactivateUserParams) SetTimeout added in v1.30.0

func (o *DeactivateUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the deactivate user params

func (*DeactivateUserParams) SetUserID added in v1.30.0

func (o *DeactivateUserParams) SetUserID(userID string)

SetUserID adds the userId to the deactivate user params

func (*DeactivateUserParams) WithBody added in v1.30.0

WithBody adds the body to the deactivate user params

func (*DeactivateUserParams) WithContext added in v1.30.0

WithContext adds the context to the deactivate user params

func (*DeactivateUserParams) WithDefaults added in v1.30.0

func (o *DeactivateUserParams) WithDefaults() *DeactivateUserParams

WithDefaults hydrates default values in the deactivate user params (not the query body).

All values with no default are reset to their zero value.

func (*DeactivateUserParams) WithHTTPClient added in v1.30.0

func (o *DeactivateUserParams) WithHTTPClient(client *http.Client) *DeactivateUserParams

WithHTTPClient adds the HTTPClient to the deactivate user params

func (*DeactivateUserParams) WithTimeout added in v1.30.0

func (o *DeactivateUserParams) WithTimeout(timeout time.Duration) *DeactivateUserParams

WithTimeout adds the timeout to the deactivate user params

func (*DeactivateUserParams) WithUserID added in v1.30.0

func (o *DeactivateUserParams) WithUserID(userID string) *DeactivateUserParams

WithUserID adds the userID to the deactivate user params

func (*DeactivateUserParams) WriteToRequest added in v1.30.0

func (o *DeactivateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeactivateUserReader added in v1.30.0

type DeactivateUserReader struct {
	// contains filtered or unexported fields
}

DeactivateUserReader is a Reader for the DeactivateUser structure.

func (*DeactivateUserReader) ReadResponse added in v1.30.0

func (o *DeactivateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeactivateUserUnauthorized added in v1.30.0

type DeactivateUserUnauthorized struct {
}

DeactivateUserUnauthorized describes a response with status code 401, with default header values.

Unauthorized or invalid credentials.

func NewDeactivateUserUnauthorized added in v1.30.0

func NewDeactivateUserUnauthorized() *DeactivateUserUnauthorized

NewDeactivateUserUnauthorized creates a DeactivateUserUnauthorized with default headers values

func (*DeactivateUserUnauthorized) Code added in v1.30.0

func (o *DeactivateUserUnauthorized) Code() int

Code gets the status code for the deactivate user unauthorized response

func (*DeactivateUserUnauthorized) Error added in v1.30.0

func (*DeactivateUserUnauthorized) IsClientError added in v1.30.0

func (o *DeactivateUserUnauthorized) IsClientError() bool

IsClientError returns true when this deactivate user unauthorized response has a 4xx status code

func (*DeactivateUserUnauthorized) IsCode added in v1.30.0

func (o *DeactivateUserUnauthorized) IsCode(code int) bool

IsCode returns true when this deactivate user unauthorized response a status code equal to that given

func (*DeactivateUserUnauthorized) IsRedirect added in v1.30.0

func (o *DeactivateUserUnauthorized) IsRedirect() bool

IsRedirect returns true when this deactivate user unauthorized response has a 3xx status code

func (*DeactivateUserUnauthorized) IsServerError added in v1.30.0

func (o *DeactivateUserUnauthorized) IsServerError() bool

IsServerError returns true when this deactivate user unauthorized response has a 5xx status code

func (*DeactivateUserUnauthorized) IsSuccess added in v1.30.0

func (o *DeactivateUserUnauthorized) IsSuccess() bool

IsSuccess returns true when this deactivate user unauthorized response has a 2xx status code

func (*DeactivateUserUnauthorized) String added in v1.30.0

func (o *DeactivateUserUnauthorized) String() string

type DeactivateUserUnprocessableEntity added in v1.30.0

type DeactivateUserUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

DeactivateUserUnprocessableEntity describes a response with status code 422, with default header values.

Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?

func NewDeactivateUserUnprocessableEntity added in v1.30.0

func NewDeactivateUserUnprocessableEntity() *DeactivateUserUnprocessableEntity

NewDeactivateUserUnprocessableEntity creates a DeactivateUserUnprocessableEntity with default headers values

func (*DeactivateUserUnprocessableEntity) Code added in v1.30.0

Code gets the status code for the deactivate user unprocessable entity response

func (*DeactivateUserUnprocessableEntity) Error added in v1.30.0

func (*DeactivateUserUnprocessableEntity) GetPayload added in v1.30.0

func (*DeactivateUserUnprocessableEntity) IsClientError added in v1.30.0

func (o *DeactivateUserUnprocessableEntity) IsClientError() bool

IsClientError returns true when this deactivate user unprocessable entity response has a 4xx status code

func (*DeactivateUserUnprocessableEntity) IsCode added in v1.30.0

func (o *DeactivateUserUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this deactivate user unprocessable entity response a status code equal to that given

func (*DeactivateUserUnprocessableEntity) IsRedirect added in v1.30.0

func (o *DeactivateUserUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this deactivate user unprocessable entity response has a 3xx status code

func (*DeactivateUserUnprocessableEntity) IsServerError added in v1.30.0

func (o *DeactivateUserUnprocessableEntity) IsServerError() bool

IsServerError returns true when this deactivate user unprocessable entity response has a 5xx status code

func (*DeactivateUserUnprocessableEntity) IsSuccess added in v1.30.0

func (o *DeactivateUserUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this deactivate user unprocessable entity response has a 2xx status code

func (*DeactivateUserUnprocessableEntity) String added in v1.30.0

type DeleteUserBadRequest added in v1.30.0

type DeleteUserBadRequest struct {
	Payload *models.ErrorResponse
}

DeleteUserBadRequest describes a response with status code 400, with default header values.

Malformed request.

func NewDeleteUserBadRequest added in v1.30.0

func NewDeleteUserBadRequest() *DeleteUserBadRequest

NewDeleteUserBadRequest creates a DeleteUserBadRequest with default headers values

func (*DeleteUserBadRequest) Code added in v1.30.0

func (o *DeleteUserBadRequest) Code() int

Code gets the status code for the delete user bad request response

func (*DeleteUserBadRequest) Error added in v1.30.0

func (o *DeleteUserBadRequest) Error() string

func (*DeleteUserBadRequest) GetPayload added in v1.30.0

func (o *DeleteUserBadRequest) GetPayload() *models.ErrorResponse

func (*DeleteUserBadRequest) IsClientError added in v1.30.0

func (o *DeleteUserBadRequest) IsClientError() bool

IsClientError returns true when this delete user bad request response has a 4xx status code

func (*DeleteUserBadRequest) IsCode added in v1.30.0

func (o *DeleteUserBadRequest) IsCode(code int) bool

IsCode returns true when this delete user bad request response a status code equal to that given

func (*DeleteUserBadRequest) IsRedirect added in v1.30.0

func (o *DeleteUserBadRequest) IsRedirect() bool

IsRedirect returns true when this delete user bad request response has a 3xx status code

func (*DeleteUserBadRequest) IsServerError added in v1.30.0

func (o *DeleteUserBadRequest) IsServerError() bool

IsServerError returns true when this delete user bad request response has a 5xx status code

func (*DeleteUserBadRequest) IsSuccess added in v1.30.0

func (o *DeleteUserBadRequest) IsSuccess() bool

IsSuccess returns true when this delete user bad request response has a 2xx status code

func (*DeleteUserBadRequest) String added in v1.30.0

func (o *DeleteUserBadRequest) String() string

type DeleteUserForbidden added in v1.30.0

type DeleteUserForbidden struct {
	Payload *models.ErrorResponse
}

DeleteUserForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteUserForbidden added in v1.30.0

func NewDeleteUserForbidden() *DeleteUserForbidden

NewDeleteUserForbidden creates a DeleteUserForbidden with default headers values

func (*DeleteUserForbidden) Code added in v1.30.0

func (o *DeleteUserForbidden) Code() int

Code gets the status code for the delete user forbidden response

func (*DeleteUserForbidden) Error added in v1.30.0

func (o *DeleteUserForbidden) Error() string

func (*DeleteUserForbidden) GetPayload added in v1.30.0

func (o *DeleteUserForbidden) GetPayload() *models.ErrorResponse

func (*DeleteUserForbidden) IsClientError added in v1.30.0

func (o *DeleteUserForbidden) IsClientError() bool

IsClientError returns true when this delete user forbidden response has a 4xx status code

func (*DeleteUserForbidden) IsCode added in v1.30.0

func (o *DeleteUserForbidden) IsCode(code int) bool

IsCode returns true when this delete user forbidden response a status code equal to that given

func (*DeleteUserForbidden) IsRedirect added in v1.30.0

func (o *DeleteUserForbidden) IsRedirect() bool

IsRedirect returns true when this delete user forbidden response has a 3xx status code

func (*DeleteUserForbidden) IsServerError added in v1.30.0

func (o *DeleteUserForbidden) IsServerError() bool

IsServerError returns true when this delete user forbidden response has a 5xx status code

func (*DeleteUserForbidden) IsSuccess added in v1.30.0

func (o *DeleteUserForbidden) IsSuccess() bool

IsSuccess returns true when this delete user forbidden response has a 2xx status code

func (*DeleteUserForbidden) String added in v1.30.0

func (o *DeleteUserForbidden) String() string

type DeleteUserInternalServerError added in v1.30.0

type DeleteUserInternalServerError struct {
	Payload *models.ErrorResponse
}

DeleteUserInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewDeleteUserInternalServerError added in v1.30.0

func NewDeleteUserInternalServerError() *DeleteUserInternalServerError

NewDeleteUserInternalServerError creates a DeleteUserInternalServerError with default headers values

func (*DeleteUserInternalServerError) Code added in v1.30.0

Code gets the status code for the delete user internal server error response

func (*DeleteUserInternalServerError) Error added in v1.30.0

func (*DeleteUserInternalServerError) GetPayload added in v1.30.0

func (*DeleteUserInternalServerError) IsClientError added in v1.30.0

func (o *DeleteUserInternalServerError) IsClientError() bool

IsClientError returns true when this delete user internal server error response has a 4xx status code

func (*DeleteUserInternalServerError) IsCode added in v1.30.0

func (o *DeleteUserInternalServerError) IsCode(code int) bool

IsCode returns true when this delete user internal server error response a status code equal to that given

func (*DeleteUserInternalServerError) IsRedirect added in v1.30.0

func (o *DeleteUserInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete user internal server error response has a 3xx status code

func (*DeleteUserInternalServerError) IsServerError added in v1.30.0

func (o *DeleteUserInternalServerError) IsServerError() bool

IsServerError returns true when this delete user internal server error response has a 5xx status code

func (*DeleteUserInternalServerError) IsSuccess added in v1.30.0

func (o *DeleteUserInternalServerError) IsSuccess() bool

IsSuccess returns true when this delete user internal server error response has a 2xx status code

func (*DeleteUserInternalServerError) String added in v1.30.0

type DeleteUserNoContent added in v1.30.0

type DeleteUserNoContent struct {
}

DeleteUserNoContent describes a response with status code 204, with default header values.

Successfully deleted.

func NewDeleteUserNoContent added in v1.30.0

func NewDeleteUserNoContent() *DeleteUserNoContent

NewDeleteUserNoContent creates a DeleteUserNoContent with default headers values

func (*DeleteUserNoContent) Code added in v1.30.0

func (o *DeleteUserNoContent) Code() int

Code gets the status code for the delete user no content response

func (*DeleteUserNoContent) Error added in v1.30.0

func (o *DeleteUserNoContent) Error() string

func (*DeleteUserNoContent) IsClientError added in v1.30.0

func (o *DeleteUserNoContent) IsClientError() bool

IsClientError returns true when this delete user no content response has a 4xx status code

func (*DeleteUserNoContent) IsCode added in v1.30.0

func (o *DeleteUserNoContent) IsCode(code int) bool

IsCode returns true when this delete user no content response a status code equal to that given

func (*DeleteUserNoContent) IsRedirect added in v1.30.0

func (o *DeleteUserNoContent) IsRedirect() bool

IsRedirect returns true when this delete user no content response has a 3xx status code

func (*DeleteUserNoContent) IsServerError added in v1.30.0

func (o *DeleteUserNoContent) IsServerError() bool

IsServerError returns true when this delete user no content response has a 5xx status code

func (*DeleteUserNoContent) IsSuccess added in v1.30.0

func (o *DeleteUserNoContent) IsSuccess() bool

IsSuccess returns true when this delete user no content response has a 2xx status code

func (*DeleteUserNoContent) String added in v1.30.0

func (o *DeleteUserNoContent) String() string

type DeleteUserNotFound added in v1.30.0

type DeleteUserNotFound struct {
}

DeleteUserNotFound describes a response with status code 404, with default header values.

user not found

func NewDeleteUserNotFound added in v1.30.0

func NewDeleteUserNotFound() *DeleteUserNotFound

NewDeleteUserNotFound creates a DeleteUserNotFound with default headers values

func (*DeleteUserNotFound) Code added in v1.30.0

func (o *DeleteUserNotFound) Code() int

Code gets the status code for the delete user not found response

func (*DeleteUserNotFound) Error added in v1.30.0

func (o *DeleteUserNotFound) Error() string

func (*DeleteUserNotFound) IsClientError added in v1.30.0

func (o *DeleteUserNotFound) IsClientError() bool

IsClientError returns true when this delete user not found response has a 4xx status code

func (*DeleteUserNotFound) IsCode added in v1.30.0

func (o *DeleteUserNotFound) IsCode(code int) bool

IsCode returns true when this delete user not found response a status code equal to that given

func (*DeleteUserNotFound) IsRedirect added in v1.30.0

func (o *DeleteUserNotFound) IsRedirect() bool

IsRedirect returns true when this delete user not found response has a 3xx status code

func (*DeleteUserNotFound) IsServerError added in v1.30.0

func (o *DeleteUserNotFound) IsServerError() bool

IsServerError returns true when this delete user not found response has a 5xx status code

func (*DeleteUserNotFound) IsSuccess added in v1.30.0

func (o *DeleteUserNotFound) IsSuccess() bool

IsSuccess returns true when this delete user not found response has a 2xx status code

func (*DeleteUserNotFound) String added in v1.30.0

func (o *DeleteUserNotFound) String() string

type DeleteUserParams added in v1.30.0

type DeleteUserParams struct {

	/* UserID.

	   user name
	*/
	UserID 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 added in v1.30.0

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 added in v1.30.0

func NewDeleteUserParamsWithContext(ctx context.Context) *DeleteUserParams

NewDeleteUserParamsWithContext creates a new DeleteUserParams object with the ability to set a context for a request.

func NewDeleteUserParamsWithHTTPClient added in v1.30.0

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 added in v1.30.0

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 added in v1.30.0

func (o *DeleteUserParams) SetContext(ctx context.Context)

SetContext adds the context to the delete user params

func (*DeleteUserParams) SetDefaults added in v1.30.0

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 added in v1.30.0

func (o *DeleteUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete user params

func (*DeleteUserParams) SetTimeout added in v1.30.0

func (o *DeleteUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete user params

func (*DeleteUserParams) SetUserID added in v1.30.0

func (o *DeleteUserParams) SetUserID(userID string)

SetUserID adds the userId to the delete user params

func (*DeleteUserParams) WithContext added in v1.30.0

func (o *DeleteUserParams) WithContext(ctx context.Context) *DeleteUserParams

WithContext adds the context to the delete user params

func (*DeleteUserParams) WithDefaults added in v1.30.0

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 added in v1.30.0

func (o *DeleteUserParams) WithHTTPClient(client *http.Client) *DeleteUserParams

WithHTTPClient adds the HTTPClient to the delete user params

func (*DeleteUserParams) WithTimeout added in v1.30.0

func (o *DeleteUserParams) WithTimeout(timeout time.Duration) *DeleteUserParams

WithTimeout adds the timeout to the delete user params

func (*DeleteUserParams) WithUserID added in v1.30.0

func (o *DeleteUserParams) WithUserID(userID string) *DeleteUserParams

WithUserID adds the userID to the delete user params

func (*DeleteUserParams) WriteToRequest added in v1.30.0

func (o *DeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteUserReader added in v1.30.0

type DeleteUserReader struct {
	// contains filtered or unexported fields
}

DeleteUserReader is a Reader for the DeleteUser structure.

func (*DeleteUserReader) ReadResponse added in v1.30.0

func (o *DeleteUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteUserUnauthorized added in v1.30.0

type DeleteUserUnauthorized struct {
}

DeleteUserUnauthorized describes a response with status code 401, with default header values.

Unauthorized or invalid credentials.

func NewDeleteUserUnauthorized added in v1.30.0

func NewDeleteUserUnauthorized() *DeleteUserUnauthorized

NewDeleteUserUnauthorized creates a DeleteUserUnauthorized with default headers values

func (*DeleteUserUnauthorized) Code added in v1.30.0

func (o *DeleteUserUnauthorized) Code() int

Code gets the status code for the delete user unauthorized response

func (*DeleteUserUnauthorized) Error added in v1.30.0

func (o *DeleteUserUnauthorized) Error() string

func (*DeleteUserUnauthorized) IsClientError added in v1.30.0

func (o *DeleteUserUnauthorized) IsClientError() bool

IsClientError returns true when this delete user unauthorized response has a 4xx status code

func (*DeleteUserUnauthorized) IsCode added in v1.30.0

func (o *DeleteUserUnauthorized) IsCode(code int) bool

IsCode returns true when this delete user unauthorized response a status code equal to that given

func (*DeleteUserUnauthorized) IsRedirect added in v1.30.0

func (o *DeleteUserUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete user unauthorized response has a 3xx status code

func (*DeleteUserUnauthorized) IsServerError added in v1.30.0

func (o *DeleteUserUnauthorized) IsServerError() bool

IsServerError returns true when this delete user unauthorized response has a 5xx status code

func (*DeleteUserUnauthorized) IsSuccess added in v1.30.0

func (o *DeleteUserUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete user unauthorized response has a 2xx status code

func (*DeleteUserUnauthorized) String added in v1.30.0

func (o *DeleteUserUnauthorized) String() string

type DeleteUserUnprocessableEntity added in v1.30.0

type DeleteUserUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

DeleteUserUnprocessableEntity describes a response with status code 422, with default header values.

Request body is well-formed (i.e., syntactically correct), but semantically erroneous.

func NewDeleteUserUnprocessableEntity added in v1.30.0

func NewDeleteUserUnprocessableEntity() *DeleteUserUnprocessableEntity

NewDeleteUserUnprocessableEntity creates a DeleteUserUnprocessableEntity with default headers values

func (*DeleteUserUnprocessableEntity) Code added in v1.30.0

Code gets the status code for the delete user unprocessable entity response

func (*DeleteUserUnprocessableEntity) Error added in v1.30.0

func (*DeleteUserUnprocessableEntity) GetPayload added in v1.30.0

func (*DeleteUserUnprocessableEntity) IsClientError added in v1.30.0

func (o *DeleteUserUnprocessableEntity) IsClientError() bool

IsClientError returns true when this delete user unprocessable entity response has a 4xx status code

func (*DeleteUserUnprocessableEntity) IsCode added in v1.30.0

func (o *DeleteUserUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this delete user unprocessable entity response a status code equal to that given

func (*DeleteUserUnprocessableEntity) IsRedirect added in v1.30.0

func (o *DeleteUserUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this delete user unprocessable entity response has a 3xx status code

func (*DeleteUserUnprocessableEntity) IsServerError added in v1.30.0

func (o *DeleteUserUnprocessableEntity) IsServerError() bool

IsServerError returns true when this delete user unprocessable entity response has a 5xx status code

func (*DeleteUserUnprocessableEntity) IsSuccess added in v1.30.0

func (o *DeleteUserUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this delete user unprocessable entity response has a 2xx status code

func (*DeleteUserUnprocessableEntity) String added in v1.30.0

type GetOwnInfoInternalServerError

type GetOwnInfoInternalServerError struct {
	Payload *models.ErrorResponse
}

GetOwnInfoInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewGetOwnInfoInternalServerError

func NewGetOwnInfoInternalServerError() *GetOwnInfoInternalServerError

NewGetOwnInfoInternalServerError creates a GetOwnInfoInternalServerError with default headers values

func (*GetOwnInfoInternalServerError) Code

Code gets the status code for the get own info internal server error response

func (*GetOwnInfoInternalServerError) Error

func (*GetOwnInfoInternalServerError) GetPayload

func (*GetOwnInfoInternalServerError) IsClientError

func (o *GetOwnInfoInternalServerError) IsClientError() bool

IsClientError returns true when this get own info internal server error response has a 4xx status code

func (*GetOwnInfoInternalServerError) IsCode

func (o *GetOwnInfoInternalServerError) IsCode(code int) bool

IsCode returns true when this get own info internal server error response a status code equal to that given

func (*GetOwnInfoInternalServerError) IsRedirect

func (o *GetOwnInfoInternalServerError) IsRedirect() bool

IsRedirect returns true when this get own info internal server error response has a 3xx status code

func (*GetOwnInfoInternalServerError) IsServerError

func (o *GetOwnInfoInternalServerError) IsServerError() bool

IsServerError returns true when this get own info internal server error response has a 5xx status code

func (*GetOwnInfoInternalServerError) IsSuccess

func (o *GetOwnInfoInternalServerError) IsSuccess() bool

IsSuccess returns true when this get own info internal server error response has a 2xx status code

func (*GetOwnInfoInternalServerError) String

type GetOwnInfoNotImplemented added in v1.31.0

type GetOwnInfoNotImplemented struct {
	Payload *models.ErrorResponse
}

GetOwnInfoNotImplemented describes a response with status code 501, with default header values.

Replica movement operations are disabled.

func NewGetOwnInfoNotImplemented added in v1.31.0

func NewGetOwnInfoNotImplemented() *GetOwnInfoNotImplemented

NewGetOwnInfoNotImplemented creates a GetOwnInfoNotImplemented with default headers values

func (*GetOwnInfoNotImplemented) Code added in v1.31.0

func (o *GetOwnInfoNotImplemented) Code() int

Code gets the status code for the get own info not implemented response

func (*GetOwnInfoNotImplemented) Error added in v1.31.0

func (o *GetOwnInfoNotImplemented) Error() string

func (*GetOwnInfoNotImplemented) GetPayload added in v1.31.0

func (*GetOwnInfoNotImplemented) IsClientError added in v1.31.0

func (o *GetOwnInfoNotImplemented) IsClientError() bool

IsClientError returns true when this get own info not implemented response has a 4xx status code

func (*GetOwnInfoNotImplemented) IsCode added in v1.31.0

func (o *GetOwnInfoNotImplemented) IsCode(code int) bool

IsCode returns true when this get own info not implemented response a status code equal to that given

func (*GetOwnInfoNotImplemented) IsRedirect added in v1.31.0

func (o *GetOwnInfoNotImplemented) IsRedirect() bool

IsRedirect returns true when this get own info not implemented response has a 3xx status code

func (*GetOwnInfoNotImplemented) IsServerError added in v1.31.0

func (o *GetOwnInfoNotImplemented) IsServerError() bool

IsServerError returns true when this get own info not implemented response has a 5xx status code

func (*GetOwnInfoNotImplemented) IsSuccess added in v1.31.0

func (o *GetOwnInfoNotImplemented) IsSuccess() bool

IsSuccess returns true when this get own info not implemented response has a 2xx status code

func (*GetOwnInfoNotImplemented) String added in v1.31.0

func (o *GetOwnInfoNotImplemented) String() string

type GetOwnInfoOK

type GetOwnInfoOK struct {
	Payload *models.UserOwnInfo
}

GetOwnInfoOK describes a response with status code 200, with default header values.

Info about the user

func NewGetOwnInfoOK

func NewGetOwnInfoOK() *GetOwnInfoOK

NewGetOwnInfoOK creates a GetOwnInfoOK with default headers values

func (*GetOwnInfoOK) Code

func (o *GetOwnInfoOK) Code() int

Code gets the status code for the get own info o k response

func (*GetOwnInfoOK) Error

func (o *GetOwnInfoOK) Error() string

func (*GetOwnInfoOK) GetPayload

func (o *GetOwnInfoOK) GetPayload() *models.UserOwnInfo

func (*GetOwnInfoOK) IsClientError

func (o *GetOwnInfoOK) IsClientError() bool

IsClientError returns true when this get own info o k response has a 4xx status code

func (*GetOwnInfoOK) IsCode

func (o *GetOwnInfoOK) IsCode(code int) bool

IsCode returns true when this get own info o k response a status code equal to that given

func (*GetOwnInfoOK) IsRedirect

func (o *GetOwnInfoOK) IsRedirect() bool

IsRedirect returns true when this get own info o k response has a 3xx status code

func (*GetOwnInfoOK) IsServerError

func (o *GetOwnInfoOK) IsServerError() bool

IsServerError returns true when this get own info o k response has a 5xx status code

func (*GetOwnInfoOK) IsSuccess

func (o *GetOwnInfoOK) IsSuccess() bool

IsSuccess returns true when this get own info o k response has a 2xx status code

func (*GetOwnInfoOK) String

func (o *GetOwnInfoOK) String() string

type GetOwnInfoParams

type GetOwnInfoParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOwnInfoParams contains all the parameters to send to the API endpoint

for the get own info operation.

Typically these are written to a http.Request.

func NewGetOwnInfoParams

func NewGetOwnInfoParams() *GetOwnInfoParams

NewGetOwnInfoParams creates a new GetOwnInfoParams 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 NewGetOwnInfoParamsWithContext

func NewGetOwnInfoParamsWithContext(ctx context.Context) *GetOwnInfoParams

NewGetOwnInfoParamsWithContext creates a new GetOwnInfoParams object with the ability to set a context for a request.

func NewGetOwnInfoParamsWithHTTPClient

func NewGetOwnInfoParamsWithHTTPClient(client *http.Client) *GetOwnInfoParams

NewGetOwnInfoParamsWithHTTPClient creates a new GetOwnInfoParams object with the ability to set a custom HTTPClient for a request.

func NewGetOwnInfoParamsWithTimeout

func NewGetOwnInfoParamsWithTimeout(timeout time.Duration) *GetOwnInfoParams

NewGetOwnInfoParamsWithTimeout creates a new GetOwnInfoParams object with the ability to set a timeout on a request.

func (*GetOwnInfoParams) SetContext

func (o *GetOwnInfoParams) SetContext(ctx context.Context)

SetContext adds the context to the get own info params

func (*GetOwnInfoParams) SetDefaults

func (o *GetOwnInfoParams) SetDefaults()

SetDefaults hydrates default values in the get own info params (not the query body).

All values with no default are reset to their zero value.

func (*GetOwnInfoParams) SetHTTPClient

func (o *GetOwnInfoParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get own info params

func (*GetOwnInfoParams) SetTimeout

func (o *GetOwnInfoParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get own info params

func (*GetOwnInfoParams) WithContext

func (o *GetOwnInfoParams) WithContext(ctx context.Context) *GetOwnInfoParams

WithContext adds the context to the get own info params

func (*GetOwnInfoParams) WithDefaults

func (o *GetOwnInfoParams) WithDefaults() *GetOwnInfoParams

WithDefaults hydrates default values in the get own info params (not the query body).

All values with no default are reset to their zero value.

func (*GetOwnInfoParams) WithHTTPClient

func (o *GetOwnInfoParams) WithHTTPClient(client *http.Client) *GetOwnInfoParams

WithHTTPClient adds the HTTPClient to the get own info params

func (*GetOwnInfoParams) WithTimeout

func (o *GetOwnInfoParams) WithTimeout(timeout time.Duration) *GetOwnInfoParams

WithTimeout adds the timeout to the get own info params

func (*GetOwnInfoParams) WriteToRequest

func (o *GetOwnInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetOwnInfoReader

type GetOwnInfoReader struct {
	// contains filtered or unexported fields
}

GetOwnInfoReader is a Reader for the GetOwnInfo structure.

func (*GetOwnInfoReader) ReadResponse

func (o *GetOwnInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOwnInfoUnauthorized

type GetOwnInfoUnauthorized struct {
}

GetOwnInfoUnauthorized describes a response with status code 401, with default header values.

Unauthorized or invalid credentials.

func NewGetOwnInfoUnauthorized

func NewGetOwnInfoUnauthorized() *GetOwnInfoUnauthorized

NewGetOwnInfoUnauthorized creates a GetOwnInfoUnauthorized with default headers values

func (*GetOwnInfoUnauthorized) Code

func (o *GetOwnInfoUnauthorized) Code() int

Code gets the status code for the get own info unauthorized response

func (*GetOwnInfoUnauthorized) Error

func (o *GetOwnInfoUnauthorized) Error() string

func (*GetOwnInfoUnauthorized) IsClientError

func (o *GetOwnInfoUnauthorized) IsClientError() bool

IsClientError returns true when this get own info unauthorized response has a 4xx status code

func (*GetOwnInfoUnauthorized) IsCode

func (o *GetOwnInfoUnauthorized) IsCode(code int) bool

IsCode returns true when this get own info unauthorized response a status code equal to that given

func (*GetOwnInfoUnauthorized) IsRedirect

func (o *GetOwnInfoUnauthorized) IsRedirect() bool

IsRedirect returns true when this get own info unauthorized response has a 3xx status code

func (*GetOwnInfoUnauthorized) IsServerError

func (o *GetOwnInfoUnauthorized) IsServerError() bool

IsServerError returns true when this get own info unauthorized response has a 5xx status code

func (*GetOwnInfoUnauthorized) IsSuccess

func (o *GetOwnInfoUnauthorized) IsSuccess() bool

IsSuccess returns true when this get own info unauthorized response has a 2xx status code

func (*GetOwnInfoUnauthorized) String

func (o *GetOwnInfoUnauthorized) String() string

type GetUserInfoForbidden added in v1.30.0

type GetUserInfoForbidden struct {
	Payload *models.ErrorResponse
}

GetUserInfoForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetUserInfoForbidden added in v1.30.0

func NewGetUserInfoForbidden() *GetUserInfoForbidden

NewGetUserInfoForbidden creates a GetUserInfoForbidden with default headers values

func (*GetUserInfoForbidden) Code added in v1.30.0

func (o *GetUserInfoForbidden) Code() int

Code gets the status code for the get user info forbidden response

func (*GetUserInfoForbidden) Error added in v1.30.0

func (o *GetUserInfoForbidden) Error() string

func (*GetUserInfoForbidden) GetPayload added in v1.30.0

func (o *GetUserInfoForbidden) GetPayload() *models.ErrorResponse

func (*GetUserInfoForbidden) IsClientError added in v1.30.0

func (o *GetUserInfoForbidden) IsClientError() bool

IsClientError returns true when this get user info forbidden response has a 4xx status code

func (*GetUserInfoForbidden) IsCode added in v1.30.0

func (o *GetUserInfoForbidden) IsCode(code int) bool

IsCode returns true when this get user info forbidden response a status code equal to that given

func (*GetUserInfoForbidden) IsRedirect added in v1.30.0

func (o *GetUserInfoForbidden) IsRedirect() bool

IsRedirect returns true when this get user info forbidden response has a 3xx status code

func (*GetUserInfoForbidden) IsServerError added in v1.30.0

func (o *GetUserInfoForbidden) IsServerError() bool

IsServerError returns true when this get user info forbidden response has a 5xx status code

func (*GetUserInfoForbidden) IsSuccess added in v1.30.0

func (o *GetUserInfoForbidden) IsSuccess() bool

IsSuccess returns true when this get user info forbidden response has a 2xx status code

func (*GetUserInfoForbidden) String added in v1.30.0

func (o *GetUserInfoForbidden) String() string

type GetUserInfoInternalServerError added in v1.30.0

type GetUserInfoInternalServerError struct {
	Payload *models.ErrorResponse
}

GetUserInfoInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewGetUserInfoInternalServerError added in v1.30.0

func NewGetUserInfoInternalServerError() *GetUserInfoInternalServerError

NewGetUserInfoInternalServerError creates a GetUserInfoInternalServerError with default headers values

func (*GetUserInfoInternalServerError) Code added in v1.30.0

Code gets the status code for the get user info internal server error response

func (*GetUserInfoInternalServerError) Error added in v1.30.0

func (*GetUserInfoInternalServerError) GetPayload added in v1.30.0

func (*GetUserInfoInternalServerError) IsClientError added in v1.30.0

func (o *GetUserInfoInternalServerError) IsClientError() bool

IsClientError returns true when this get user info internal server error response has a 4xx status code

func (*GetUserInfoInternalServerError) IsCode added in v1.30.0

func (o *GetUserInfoInternalServerError) IsCode(code int) bool

IsCode returns true when this get user info internal server error response a status code equal to that given

func (*GetUserInfoInternalServerError) IsRedirect added in v1.30.0

func (o *GetUserInfoInternalServerError) IsRedirect() bool

IsRedirect returns true when this get user info internal server error response has a 3xx status code

func (*GetUserInfoInternalServerError) IsServerError added in v1.30.0

func (o *GetUserInfoInternalServerError) IsServerError() bool

IsServerError returns true when this get user info internal server error response has a 5xx status code

func (*GetUserInfoInternalServerError) IsSuccess added in v1.30.0

func (o *GetUserInfoInternalServerError) IsSuccess() bool

IsSuccess returns true when this get user info internal server error response has a 2xx status code

func (*GetUserInfoInternalServerError) String added in v1.30.0

type GetUserInfoNotFound added in v1.30.0

type GetUserInfoNotFound struct {
}

GetUserInfoNotFound describes a response with status code 404, with default header values.

user not found

func NewGetUserInfoNotFound added in v1.30.0

func NewGetUserInfoNotFound() *GetUserInfoNotFound

NewGetUserInfoNotFound creates a GetUserInfoNotFound with default headers values

func (*GetUserInfoNotFound) Code added in v1.30.0

func (o *GetUserInfoNotFound) Code() int

Code gets the status code for the get user info not found response

func (*GetUserInfoNotFound) Error added in v1.30.0

func (o *GetUserInfoNotFound) Error() string

func (*GetUserInfoNotFound) IsClientError added in v1.30.0

func (o *GetUserInfoNotFound) IsClientError() bool

IsClientError returns true when this get user info not found response has a 4xx status code

func (*GetUserInfoNotFound) IsCode added in v1.30.0

func (o *GetUserInfoNotFound) IsCode(code int) bool

IsCode returns true when this get user info not found response a status code equal to that given

func (*GetUserInfoNotFound) IsRedirect added in v1.30.0

func (o *GetUserInfoNotFound) IsRedirect() bool

IsRedirect returns true when this get user info not found response has a 3xx status code

func (*GetUserInfoNotFound) IsServerError added in v1.30.0

func (o *GetUserInfoNotFound) IsServerError() bool

IsServerError returns true when this get user info not found response has a 5xx status code

func (*GetUserInfoNotFound) IsSuccess added in v1.30.0

func (o *GetUserInfoNotFound) IsSuccess() bool

IsSuccess returns true when this get user info not found response has a 2xx status code

func (*GetUserInfoNotFound) String added in v1.30.0

func (o *GetUserInfoNotFound) String() string

type GetUserInfoOK added in v1.30.0

type GetUserInfoOK struct {
	Payload *models.DBUserInfo
}

GetUserInfoOK describes a response with status code 200, with default header values.

Info about the user

func NewGetUserInfoOK added in v1.30.0

func NewGetUserInfoOK() *GetUserInfoOK

NewGetUserInfoOK creates a GetUserInfoOK with default headers values

func (*GetUserInfoOK) Code added in v1.30.0

func (o *GetUserInfoOK) Code() int

Code gets the status code for the get user info o k response

func (*GetUserInfoOK) Error added in v1.30.0

func (o *GetUserInfoOK) Error() string

func (*GetUserInfoOK) GetPayload added in v1.30.0

func (o *GetUserInfoOK) GetPayload() *models.DBUserInfo

func (*GetUserInfoOK) IsClientError added in v1.30.0

func (o *GetUserInfoOK) IsClientError() bool

IsClientError returns true when this get user info o k response has a 4xx status code

func (*GetUserInfoOK) IsCode added in v1.30.0

func (o *GetUserInfoOK) IsCode(code int) bool

IsCode returns true when this get user info o k response a status code equal to that given

func (*GetUserInfoOK) IsRedirect added in v1.30.0

func (o *GetUserInfoOK) IsRedirect() bool

IsRedirect returns true when this get user info o k response has a 3xx status code

func (*GetUserInfoOK) IsServerError added in v1.30.0

func (o *GetUserInfoOK) IsServerError() bool

IsServerError returns true when this get user info o k response has a 5xx status code

func (*GetUserInfoOK) IsSuccess added in v1.30.0

func (o *GetUserInfoOK) IsSuccess() bool

IsSuccess returns true when this get user info o k response has a 2xx status code

func (*GetUserInfoOK) String added in v1.30.0

func (o *GetUserInfoOK) String() string

type GetUserInfoParams added in v1.30.0

type GetUserInfoParams struct {

	/* IncludeLastUsedTime.

	   Whether to include the last used time of the given user
	*/
	IncludeLastUsedTime *bool

	/* UserID.

	   user id
	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetUserInfoParams contains all the parameters to send to the API endpoint

for the get user info operation.

Typically these are written to a http.Request.

func NewGetUserInfoParams added in v1.30.0

func NewGetUserInfoParams() *GetUserInfoParams

NewGetUserInfoParams creates a new GetUserInfoParams 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 NewGetUserInfoParamsWithContext added in v1.30.0

func NewGetUserInfoParamsWithContext(ctx context.Context) *GetUserInfoParams

NewGetUserInfoParamsWithContext creates a new GetUserInfoParams object with the ability to set a context for a request.

func NewGetUserInfoParamsWithHTTPClient added in v1.30.0

func NewGetUserInfoParamsWithHTTPClient(client *http.Client) *GetUserInfoParams

NewGetUserInfoParamsWithHTTPClient creates a new GetUserInfoParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserInfoParamsWithTimeout added in v1.30.0

func NewGetUserInfoParamsWithTimeout(timeout time.Duration) *GetUserInfoParams

NewGetUserInfoParamsWithTimeout creates a new GetUserInfoParams object with the ability to set a timeout on a request.

func (*GetUserInfoParams) SetContext added in v1.30.0

func (o *GetUserInfoParams) SetContext(ctx context.Context)

SetContext adds the context to the get user info params

func (*GetUserInfoParams) SetDefaults added in v1.30.0

func (o *GetUserInfoParams) SetDefaults()

SetDefaults hydrates default values in the get user info params (not the query body).

All values with no default are reset to their zero value.

func (*GetUserInfoParams) SetHTTPClient added in v1.30.0

func (o *GetUserInfoParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get user info params

func (*GetUserInfoParams) SetIncludeLastUsedTime added in v1.30.1

func (o *GetUserInfoParams) SetIncludeLastUsedTime(includeLastUsedTime *bool)

SetIncludeLastUsedTime adds the includeLastUsedTime to the get user info params

func (*GetUserInfoParams) SetTimeout added in v1.30.0

func (o *GetUserInfoParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get user info params

func (*GetUserInfoParams) SetUserID added in v1.30.0

func (o *GetUserInfoParams) SetUserID(userID string)

SetUserID adds the userId to the get user info params

func (*GetUserInfoParams) WithContext added in v1.30.0

func (o *GetUserInfoParams) WithContext(ctx context.Context) *GetUserInfoParams

WithContext adds the context to the get user info params

func (*GetUserInfoParams) WithDefaults added in v1.30.0

func (o *GetUserInfoParams) WithDefaults() *GetUserInfoParams

WithDefaults hydrates default values in the get user info params (not the query body).

All values with no default are reset to their zero value.

func (*GetUserInfoParams) WithHTTPClient added in v1.30.0

func (o *GetUserInfoParams) WithHTTPClient(client *http.Client) *GetUserInfoParams

WithHTTPClient adds the HTTPClient to the get user info params

func (*GetUserInfoParams) WithIncludeLastUsedTime added in v1.30.1

func (o *GetUserInfoParams) WithIncludeLastUsedTime(includeLastUsedTime *bool) *GetUserInfoParams

WithIncludeLastUsedTime adds the includeLastUsedTime to the get user info params

func (*GetUserInfoParams) WithTimeout added in v1.30.0

func (o *GetUserInfoParams) WithTimeout(timeout time.Duration) *GetUserInfoParams

WithTimeout adds the timeout to the get user info params

func (*GetUserInfoParams) WithUserID added in v1.30.0

func (o *GetUserInfoParams) WithUserID(userID string) *GetUserInfoParams

WithUserID adds the userID to the get user info params

func (*GetUserInfoParams) WriteToRequest added in v1.30.0

func (o *GetUserInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetUserInfoReader added in v1.30.0

type GetUserInfoReader struct {
	// contains filtered or unexported fields
}

GetUserInfoReader is a Reader for the GetUserInfo structure.

func (*GetUserInfoReader) ReadResponse added in v1.30.0

func (o *GetUserInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetUserInfoUnauthorized added in v1.30.0

type GetUserInfoUnauthorized struct {
}

GetUserInfoUnauthorized describes a response with status code 401, with default header values.

Unauthorized or invalid credentials.

func NewGetUserInfoUnauthorized added in v1.30.0

func NewGetUserInfoUnauthorized() *GetUserInfoUnauthorized

NewGetUserInfoUnauthorized creates a GetUserInfoUnauthorized with default headers values

func (*GetUserInfoUnauthorized) Code added in v1.30.0

func (o *GetUserInfoUnauthorized) Code() int

Code gets the status code for the get user info unauthorized response

func (*GetUserInfoUnauthorized) Error added in v1.30.0

func (o *GetUserInfoUnauthorized) Error() string

func (*GetUserInfoUnauthorized) IsClientError added in v1.30.0

func (o *GetUserInfoUnauthorized) IsClientError() bool

IsClientError returns true when this get user info unauthorized response has a 4xx status code

func (*GetUserInfoUnauthorized) IsCode added in v1.30.0

func (o *GetUserInfoUnauthorized) IsCode(code int) bool

IsCode returns true when this get user info unauthorized response a status code equal to that given

func (*GetUserInfoUnauthorized) IsRedirect added in v1.30.0

func (o *GetUserInfoUnauthorized) IsRedirect() bool

IsRedirect returns true when this get user info unauthorized response has a 3xx status code

func (*GetUserInfoUnauthorized) IsServerError added in v1.30.0

func (o *GetUserInfoUnauthorized) IsServerError() bool

IsServerError returns true when this get user info unauthorized response has a 5xx status code

func (*GetUserInfoUnauthorized) IsSuccess added in v1.30.0

func (o *GetUserInfoUnauthorized) IsSuccess() bool

IsSuccess returns true when this get user info unauthorized response has a 2xx status code

func (*GetUserInfoUnauthorized) String added in v1.30.0

func (o *GetUserInfoUnauthorized) String() string

type GetUserInfoUnprocessableEntity added in v1.30.1

type GetUserInfoUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

GetUserInfoUnprocessableEntity describes a response with status code 422, with default header values.

Request body is well-formed (i.e., syntactically correct), but semantically erroneous.

func NewGetUserInfoUnprocessableEntity added in v1.30.1

func NewGetUserInfoUnprocessableEntity() *GetUserInfoUnprocessableEntity

NewGetUserInfoUnprocessableEntity creates a GetUserInfoUnprocessableEntity with default headers values

func (*GetUserInfoUnprocessableEntity) Code added in v1.30.1

Code gets the status code for the get user info unprocessable entity response

func (*GetUserInfoUnprocessableEntity) Error added in v1.30.1

func (*GetUserInfoUnprocessableEntity) GetPayload added in v1.30.1

func (*GetUserInfoUnprocessableEntity) IsClientError added in v1.30.1

func (o *GetUserInfoUnprocessableEntity) IsClientError() bool

IsClientError returns true when this get user info unprocessable entity response has a 4xx status code

func (*GetUserInfoUnprocessableEntity) IsCode added in v1.30.1

func (o *GetUserInfoUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this get user info unprocessable entity response a status code equal to that given

func (*GetUserInfoUnprocessableEntity) IsRedirect added in v1.30.1

func (o *GetUserInfoUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this get user info unprocessable entity response has a 3xx status code

func (*GetUserInfoUnprocessableEntity) IsServerError added in v1.30.1

func (o *GetUserInfoUnprocessableEntity) IsServerError() bool

IsServerError returns true when this get user info unprocessable entity response has a 5xx status code

func (*GetUserInfoUnprocessableEntity) IsSuccess added in v1.30.1

func (o *GetUserInfoUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this get user info unprocessable entity response has a 2xx status code

func (*GetUserInfoUnprocessableEntity) String added in v1.30.1

type ListAllUsersForbidden added in v1.30.0

type ListAllUsersForbidden struct {
	Payload *models.ErrorResponse
}

ListAllUsersForbidden describes a response with status code 403, with default header values.

Forbidden

func NewListAllUsersForbidden added in v1.30.0

func NewListAllUsersForbidden() *ListAllUsersForbidden

NewListAllUsersForbidden creates a ListAllUsersForbidden with default headers values

func (*ListAllUsersForbidden) Code added in v1.30.0

func (o *ListAllUsersForbidden) Code() int

Code gets the status code for the list all users forbidden response

func (*ListAllUsersForbidden) Error added in v1.30.0

func (o *ListAllUsersForbidden) Error() string

func (*ListAllUsersForbidden) GetPayload added in v1.30.0

func (o *ListAllUsersForbidden) GetPayload() *models.ErrorResponse

func (*ListAllUsersForbidden) IsClientError added in v1.30.0

func (o *ListAllUsersForbidden) IsClientError() bool

IsClientError returns true when this list all users forbidden response has a 4xx status code

func (*ListAllUsersForbidden) IsCode added in v1.30.0

func (o *ListAllUsersForbidden) IsCode(code int) bool

IsCode returns true when this list all users forbidden response a status code equal to that given

func (*ListAllUsersForbidden) IsRedirect added in v1.30.0

func (o *ListAllUsersForbidden) IsRedirect() bool

IsRedirect returns true when this list all users forbidden response has a 3xx status code

func (*ListAllUsersForbidden) IsServerError added in v1.30.0

func (o *ListAllUsersForbidden) IsServerError() bool

IsServerError returns true when this list all users forbidden response has a 5xx status code

func (*ListAllUsersForbidden) IsSuccess added in v1.30.0

func (o *ListAllUsersForbidden) IsSuccess() bool

IsSuccess returns true when this list all users forbidden response has a 2xx status code

func (*ListAllUsersForbidden) String added in v1.30.0

func (o *ListAllUsersForbidden) String() string

type ListAllUsersInternalServerError added in v1.30.0

type ListAllUsersInternalServerError struct {
	Payload *models.ErrorResponse
}

ListAllUsersInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewListAllUsersInternalServerError added in v1.30.0

func NewListAllUsersInternalServerError() *ListAllUsersInternalServerError

NewListAllUsersInternalServerError creates a ListAllUsersInternalServerError with default headers values

func (*ListAllUsersInternalServerError) Code added in v1.30.0

Code gets the status code for the list all users internal server error response

func (*ListAllUsersInternalServerError) Error added in v1.30.0

func (*ListAllUsersInternalServerError) GetPayload added in v1.30.0

func (*ListAllUsersInternalServerError) IsClientError added in v1.30.0

func (o *ListAllUsersInternalServerError) IsClientError() bool

IsClientError returns true when this list all users internal server error response has a 4xx status code

func (*ListAllUsersInternalServerError) IsCode added in v1.30.0

func (o *ListAllUsersInternalServerError) IsCode(code int) bool

IsCode returns true when this list all users internal server error response a status code equal to that given

func (*ListAllUsersInternalServerError) IsRedirect added in v1.30.0

func (o *ListAllUsersInternalServerError) IsRedirect() bool

IsRedirect returns true when this list all users internal server error response has a 3xx status code

func (*ListAllUsersInternalServerError) IsServerError added in v1.30.0

func (o *ListAllUsersInternalServerError) IsServerError() bool

IsServerError returns true when this list all users internal server error response has a 5xx status code

func (*ListAllUsersInternalServerError) IsSuccess added in v1.30.0

func (o *ListAllUsersInternalServerError) IsSuccess() bool

IsSuccess returns true when this list all users internal server error response has a 2xx status code

func (*ListAllUsersInternalServerError) String added in v1.30.0

type ListAllUsersOK added in v1.30.0

type ListAllUsersOK struct {
	Payload []*models.DBUserInfo
}

ListAllUsersOK describes a response with status code 200, with default header values.

Info about the users

func NewListAllUsersOK added in v1.30.0

func NewListAllUsersOK() *ListAllUsersOK

NewListAllUsersOK creates a ListAllUsersOK with default headers values

func (*ListAllUsersOK) Code added in v1.30.0

func (o *ListAllUsersOK) Code() int

Code gets the status code for the list all users o k response

func (*ListAllUsersOK) Error added in v1.30.0

func (o *ListAllUsersOK) Error() string

func (*ListAllUsersOK) GetPayload added in v1.30.0

func (o *ListAllUsersOK) GetPayload() []*models.DBUserInfo

func (*ListAllUsersOK) IsClientError added in v1.30.0

func (o *ListAllUsersOK) IsClientError() bool

IsClientError returns true when this list all users o k response has a 4xx status code

func (*ListAllUsersOK) IsCode added in v1.30.0

func (o *ListAllUsersOK) IsCode(code int) bool

IsCode returns true when this list all users o k response a status code equal to that given

func (*ListAllUsersOK) IsRedirect added in v1.30.0

func (o *ListAllUsersOK) IsRedirect() bool

IsRedirect returns true when this list all users o k response has a 3xx status code

func (*ListAllUsersOK) IsServerError added in v1.30.0

func (o *ListAllUsersOK) IsServerError() bool

IsServerError returns true when this list all users o k response has a 5xx status code

func (*ListAllUsersOK) IsSuccess added in v1.30.0

func (o *ListAllUsersOK) IsSuccess() bool

IsSuccess returns true when this list all users o k response has a 2xx status code

func (*ListAllUsersOK) String added in v1.30.0

func (o *ListAllUsersOK) String() string

type ListAllUsersParams added in v1.30.0

type ListAllUsersParams struct {

	/* IncludeLastUsedTime.

	   Whether to include the last used time of the users
	*/
	IncludeLastUsedTime *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListAllUsersParams contains all the parameters to send to the API endpoint

for the list all users operation.

Typically these are written to a http.Request.

func NewListAllUsersParams added in v1.30.0

func NewListAllUsersParams() *ListAllUsersParams

NewListAllUsersParams creates a new ListAllUsersParams 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 NewListAllUsersParamsWithContext added in v1.30.0

func NewListAllUsersParamsWithContext(ctx context.Context) *ListAllUsersParams

NewListAllUsersParamsWithContext creates a new ListAllUsersParams object with the ability to set a context for a request.

func NewListAllUsersParamsWithHTTPClient added in v1.30.0

func NewListAllUsersParamsWithHTTPClient(client *http.Client) *ListAllUsersParams

NewListAllUsersParamsWithHTTPClient creates a new ListAllUsersParams object with the ability to set a custom HTTPClient for a request.

func NewListAllUsersParamsWithTimeout added in v1.30.0

func NewListAllUsersParamsWithTimeout(timeout time.Duration) *ListAllUsersParams

NewListAllUsersParamsWithTimeout creates a new ListAllUsersParams object with the ability to set a timeout on a request.

func (*ListAllUsersParams) SetContext added in v1.30.0

func (o *ListAllUsersParams) SetContext(ctx context.Context)

SetContext adds the context to the list all users params

func (*ListAllUsersParams) SetDefaults added in v1.30.0

func (o *ListAllUsersParams) SetDefaults()

SetDefaults hydrates default values in the list all users params (not the query body).

All values with no default are reset to their zero value.

func (*ListAllUsersParams) SetHTTPClient added in v1.30.0

func (o *ListAllUsersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list all users params

func (*ListAllUsersParams) SetIncludeLastUsedTime added in v1.30.1

func (o *ListAllUsersParams) SetIncludeLastUsedTime(includeLastUsedTime *bool)

SetIncludeLastUsedTime adds the includeLastUsedTime to the list all users params

func (*ListAllUsersParams) SetTimeout added in v1.30.0

func (o *ListAllUsersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list all users params

func (*ListAllUsersParams) WithContext added in v1.30.0

WithContext adds the context to the list all users params

func (*ListAllUsersParams) WithDefaults added in v1.30.0

func (o *ListAllUsersParams) WithDefaults() *ListAllUsersParams

WithDefaults hydrates default values in the list all users params (not the query body).

All values with no default are reset to their zero value.

func (*ListAllUsersParams) WithHTTPClient added in v1.30.0

func (o *ListAllUsersParams) WithHTTPClient(client *http.Client) *ListAllUsersParams

WithHTTPClient adds the HTTPClient to the list all users params

func (*ListAllUsersParams) WithIncludeLastUsedTime added in v1.30.1

func (o *ListAllUsersParams) WithIncludeLastUsedTime(includeLastUsedTime *bool) *ListAllUsersParams

WithIncludeLastUsedTime adds the includeLastUsedTime to the list all users params

func (*ListAllUsersParams) WithTimeout added in v1.30.0

func (o *ListAllUsersParams) WithTimeout(timeout time.Duration) *ListAllUsersParams

WithTimeout adds the timeout to the list all users params

func (*ListAllUsersParams) WriteToRequest added in v1.30.0

func (o *ListAllUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListAllUsersReader added in v1.30.0

type ListAllUsersReader struct {
	// contains filtered or unexported fields
}

ListAllUsersReader is a Reader for the ListAllUsers structure.

func (*ListAllUsersReader) ReadResponse added in v1.30.0

func (o *ListAllUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListAllUsersUnauthorized added in v1.30.0

type ListAllUsersUnauthorized struct {
}

ListAllUsersUnauthorized describes a response with status code 401, with default header values.

Unauthorized or invalid credentials.

func NewListAllUsersUnauthorized added in v1.30.0

func NewListAllUsersUnauthorized() *ListAllUsersUnauthorized

NewListAllUsersUnauthorized creates a ListAllUsersUnauthorized with default headers values

func (*ListAllUsersUnauthorized) Code added in v1.30.0

func (o *ListAllUsersUnauthorized) Code() int

Code gets the status code for the list all users unauthorized response

func (*ListAllUsersUnauthorized) Error added in v1.30.0

func (o *ListAllUsersUnauthorized) Error() string

func (*ListAllUsersUnauthorized) IsClientError added in v1.30.0

func (o *ListAllUsersUnauthorized) IsClientError() bool

IsClientError returns true when this list all users unauthorized response has a 4xx status code

func (*ListAllUsersUnauthorized) IsCode added in v1.30.0

func (o *ListAllUsersUnauthorized) IsCode(code int) bool

IsCode returns true when this list all users unauthorized response a status code equal to that given

func (*ListAllUsersUnauthorized) IsRedirect added in v1.30.0

func (o *ListAllUsersUnauthorized) IsRedirect() bool

IsRedirect returns true when this list all users unauthorized response has a 3xx status code

func (*ListAllUsersUnauthorized) IsServerError added in v1.30.0

func (o *ListAllUsersUnauthorized) IsServerError() bool

IsServerError returns true when this list all users unauthorized response has a 5xx status code

func (*ListAllUsersUnauthorized) IsSuccess added in v1.30.0

func (o *ListAllUsersUnauthorized) IsSuccess() bool

IsSuccess returns true when this list all users unauthorized response has a 2xx status code

func (*ListAllUsersUnauthorized) String added in v1.30.0

func (o *ListAllUsersUnauthorized) String() string

type RotateUserAPIKeyBadRequest added in v1.30.0

type RotateUserAPIKeyBadRequest struct {
	Payload *models.ErrorResponse
}

RotateUserAPIKeyBadRequest describes a response with status code 400, with default header values.

Malformed request.

func NewRotateUserAPIKeyBadRequest added in v1.30.0

func NewRotateUserAPIKeyBadRequest() *RotateUserAPIKeyBadRequest

NewRotateUserAPIKeyBadRequest creates a RotateUserAPIKeyBadRequest with default headers values

func (*RotateUserAPIKeyBadRequest) Code added in v1.30.0

func (o *RotateUserAPIKeyBadRequest) Code() int

Code gets the status code for the rotate user Api key bad request response

func (*RotateUserAPIKeyBadRequest) Error added in v1.30.0

func (*RotateUserAPIKeyBadRequest) GetPayload added in v1.30.0

func (*RotateUserAPIKeyBadRequest) IsClientError added in v1.30.0

func (o *RotateUserAPIKeyBadRequest) IsClientError() bool

IsClientError returns true when this rotate user Api key bad request response has a 4xx status code

func (*RotateUserAPIKeyBadRequest) IsCode added in v1.30.0

func (o *RotateUserAPIKeyBadRequest) IsCode(code int) bool

IsCode returns true when this rotate user Api key bad request response a status code equal to that given

func (*RotateUserAPIKeyBadRequest) IsRedirect added in v1.30.0

func (o *RotateUserAPIKeyBadRequest) IsRedirect() bool

IsRedirect returns true when this rotate user Api key bad request response has a 3xx status code

func (*RotateUserAPIKeyBadRequest) IsServerError added in v1.30.0

func (o *RotateUserAPIKeyBadRequest) IsServerError() bool

IsServerError returns true when this rotate user Api key bad request response has a 5xx status code

func (*RotateUserAPIKeyBadRequest) IsSuccess added in v1.30.0

func (o *RotateUserAPIKeyBadRequest) IsSuccess() bool

IsSuccess returns true when this rotate user Api key bad request response has a 2xx status code

func (*RotateUserAPIKeyBadRequest) String added in v1.30.0

func (o *RotateUserAPIKeyBadRequest) String() string

type RotateUserAPIKeyForbidden added in v1.30.0

type RotateUserAPIKeyForbidden struct {
	Payload *models.ErrorResponse
}

RotateUserAPIKeyForbidden describes a response with status code 403, with default header values.

Forbidden

func NewRotateUserAPIKeyForbidden added in v1.30.0

func NewRotateUserAPIKeyForbidden() *RotateUserAPIKeyForbidden

NewRotateUserAPIKeyForbidden creates a RotateUserAPIKeyForbidden with default headers values

func (*RotateUserAPIKeyForbidden) Code added in v1.30.0

func (o *RotateUserAPIKeyForbidden) Code() int

Code gets the status code for the rotate user Api key forbidden response

func (*RotateUserAPIKeyForbidden) Error added in v1.30.0

func (o *RotateUserAPIKeyForbidden) Error() string

func (*RotateUserAPIKeyForbidden) GetPayload added in v1.30.0

func (*RotateUserAPIKeyForbidden) IsClientError added in v1.30.0

func (o *RotateUserAPIKeyForbidden) IsClientError() bool

IsClientError returns true when this rotate user Api key forbidden response has a 4xx status code

func (*RotateUserAPIKeyForbidden) IsCode added in v1.30.0

func (o *RotateUserAPIKeyForbidden) IsCode(code int) bool

IsCode returns true when this rotate user Api key forbidden response a status code equal to that given

func (*RotateUserAPIKeyForbidden) IsRedirect added in v1.30.0

func (o *RotateUserAPIKeyForbidden) IsRedirect() bool

IsRedirect returns true when this rotate user Api key forbidden response has a 3xx status code

func (*RotateUserAPIKeyForbidden) IsServerError added in v1.30.0

func (o *RotateUserAPIKeyForbidden) IsServerError() bool

IsServerError returns true when this rotate user Api key forbidden response has a 5xx status code

func (*RotateUserAPIKeyForbidden) IsSuccess added in v1.30.0

func (o *RotateUserAPIKeyForbidden) IsSuccess() bool

IsSuccess returns true when this rotate user Api key forbidden response has a 2xx status code

func (*RotateUserAPIKeyForbidden) String added in v1.30.0

func (o *RotateUserAPIKeyForbidden) String() string

type RotateUserAPIKeyInternalServerError added in v1.30.0

type RotateUserAPIKeyInternalServerError struct {
	Payload *models.ErrorResponse
}

RotateUserAPIKeyInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewRotateUserAPIKeyInternalServerError added in v1.30.0

func NewRotateUserAPIKeyInternalServerError() *RotateUserAPIKeyInternalServerError

NewRotateUserAPIKeyInternalServerError creates a RotateUserAPIKeyInternalServerError with default headers values

func (*RotateUserAPIKeyInternalServerError) Code added in v1.30.0

Code gets the status code for the rotate user Api key internal server error response

func (*RotateUserAPIKeyInternalServerError) Error added in v1.30.0

func (*RotateUserAPIKeyInternalServerError) GetPayload added in v1.30.0

func (*RotateUserAPIKeyInternalServerError) IsClientError added in v1.30.0

func (o *RotateUserAPIKeyInternalServerError) IsClientError() bool

IsClientError returns true when this rotate user Api key internal server error response has a 4xx status code

func (*RotateUserAPIKeyInternalServerError) IsCode added in v1.30.0

IsCode returns true when this rotate user Api key internal server error response a status code equal to that given

func (*RotateUserAPIKeyInternalServerError) IsRedirect added in v1.30.0

func (o *RotateUserAPIKeyInternalServerError) IsRedirect() bool

IsRedirect returns true when this rotate user Api key internal server error response has a 3xx status code

func (*RotateUserAPIKeyInternalServerError) IsServerError added in v1.30.0

func (o *RotateUserAPIKeyInternalServerError) IsServerError() bool

IsServerError returns true when this rotate user Api key internal server error response has a 5xx status code

func (*RotateUserAPIKeyInternalServerError) IsSuccess added in v1.30.0

IsSuccess returns true when this rotate user Api key internal server error response has a 2xx status code

func (*RotateUserAPIKeyInternalServerError) String added in v1.30.0

type RotateUserAPIKeyNotFound added in v1.30.0

type RotateUserAPIKeyNotFound struct {
}

RotateUserAPIKeyNotFound describes a response with status code 404, with default header values.

user not found

func NewRotateUserAPIKeyNotFound added in v1.30.0

func NewRotateUserAPIKeyNotFound() *RotateUserAPIKeyNotFound

NewRotateUserAPIKeyNotFound creates a RotateUserAPIKeyNotFound with default headers values

func (*RotateUserAPIKeyNotFound) Code added in v1.30.0

func (o *RotateUserAPIKeyNotFound) Code() int

Code gets the status code for the rotate user Api key not found response

func (*RotateUserAPIKeyNotFound) Error added in v1.30.0

func (o *RotateUserAPIKeyNotFound) Error() string

func (*RotateUserAPIKeyNotFound) IsClientError added in v1.30.0

func (o *RotateUserAPIKeyNotFound) IsClientError() bool

IsClientError returns true when this rotate user Api key not found response has a 4xx status code

func (*RotateUserAPIKeyNotFound) IsCode added in v1.30.0

func (o *RotateUserAPIKeyNotFound) IsCode(code int) bool

IsCode returns true when this rotate user Api key not found response a status code equal to that given

func (*RotateUserAPIKeyNotFound) IsRedirect added in v1.30.0

func (o *RotateUserAPIKeyNotFound) IsRedirect() bool

IsRedirect returns true when this rotate user Api key not found response has a 3xx status code

func (*RotateUserAPIKeyNotFound) IsServerError added in v1.30.0

func (o *RotateUserAPIKeyNotFound) IsServerError() bool

IsServerError returns true when this rotate user Api key not found response has a 5xx status code

func (*RotateUserAPIKeyNotFound) IsSuccess added in v1.30.0

func (o *RotateUserAPIKeyNotFound) IsSuccess() bool

IsSuccess returns true when this rotate user Api key not found response has a 2xx status code

func (*RotateUserAPIKeyNotFound) String added in v1.30.0

func (o *RotateUserAPIKeyNotFound) String() string

type RotateUserAPIKeyOK added in v1.30.0

type RotateUserAPIKeyOK struct {
	Payload *models.UserAPIKey
}

RotateUserAPIKeyOK describes a response with status code 200, with default header values.

ApiKey successfully changed

func NewRotateUserAPIKeyOK added in v1.30.0

func NewRotateUserAPIKeyOK() *RotateUserAPIKeyOK

NewRotateUserAPIKeyOK creates a RotateUserAPIKeyOK with default headers values

func (*RotateUserAPIKeyOK) Code added in v1.30.0

func (o *RotateUserAPIKeyOK) Code() int

Code gets the status code for the rotate user Api key o k response

func (*RotateUserAPIKeyOK) Error added in v1.30.0

func (o *RotateUserAPIKeyOK) Error() string

func (*RotateUserAPIKeyOK) GetPayload added in v1.30.0

func (o *RotateUserAPIKeyOK) GetPayload() *models.UserAPIKey

func (*RotateUserAPIKeyOK) IsClientError added in v1.30.0

func (o *RotateUserAPIKeyOK) IsClientError() bool

IsClientError returns true when this rotate user Api key o k response has a 4xx status code

func (*RotateUserAPIKeyOK) IsCode added in v1.30.0

func (o *RotateUserAPIKeyOK) IsCode(code int) bool

IsCode returns true when this rotate user Api key o k response a status code equal to that given

func (*RotateUserAPIKeyOK) IsRedirect added in v1.30.0

func (o *RotateUserAPIKeyOK) IsRedirect() bool

IsRedirect returns true when this rotate user Api key o k response has a 3xx status code

func (*RotateUserAPIKeyOK) IsServerError added in v1.30.0

func (o *RotateUserAPIKeyOK) IsServerError() bool

IsServerError returns true when this rotate user Api key o k response has a 5xx status code

func (*RotateUserAPIKeyOK) IsSuccess added in v1.30.0

func (o *RotateUserAPIKeyOK) IsSuccess() bool

IsSuccess returns true when this rotate user Api key o k response has a 2xx status code

func (*RotateUserAPIKeyOK) String added in v1.30.0

func (o *RotateUserAPIKeyOK) String() string

type RotateUserAPIKeyParams added in v1.30.0

type RotateUserAPIKeyParams struct {

	/* UserID.

	   user id
	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RotateUserAPIKeyParams contains all the parameters to send to the API endpoint

for the rotate user Api key operation.

Typically these are written to a http.Request.

func NewRotateUserAPIKeyParams added in v1.30.0

func NewRotateUserAPIKeyParams() *RotateUserAPIKeyParams

NewRotateUserAPIKeyParams creates a new RotateUserAPIKeyParams 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 NewRotateUserAPIKeyParamsWithContext added in v1.30.0

func NewRotateUserAPIKeyParamsWithContext(ctx context.Context) *RotateUserAPIKeyParams

NewRotateUserAPIKeyParamsWithContext creates a new RotateUserAPIKeyParams object with the ability to set a context for a request.

func NewRotateUserAPIKeyParamsWithHTTPClient added in v1.30.0

func NewRotateUserAPIKeyParamsWithHTTPClient(client *http.Client) *RotateUserAPIKeyParams

NewRotateUserAPIKeyParamsWithHTTPClient creates a new RotateUserAPIKeyParams object with the ability to set a custom HTTPClient for a request.

func NewRotateUserAPIKeyParamsWithTimeout added in v1.30.0

func NewRotateUserAPIKeyParamsWithTimeout(timeout time.Duration) *RotateUserAPIKeyParams

NewRotateUserAPIKeyParamsWithTimeout creates a new RotateUserAPIKeyParams object with the ability to set a timeout on a request.

func (*RotateUserAPIKeyParams) SetContext added in v1.30.0

func (o *RotateUserAPIKeyParams) SetContext(ctx context.Context)

SetContext adds the context to the rotate user Api key params

func (*RotateUserAPIKeyParams) SetDefaults added in v1.30.0

func (o *RotateUserAPIKeyParams) SetDefaults()

SetDefaults hydrates default values in the rotate user Api key params (not the query body).

All values with no default are reset to their zero value.

func (*RotateUserAPIKeyParams) SetHTTPClient added in v1.30.0

func (o *RotateUserAPIKeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the rotate user Api key params

func (*RotateUserAPIKeyParams) SetTimeout added in v1.30.0

func (o *RotateUserAPIKeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the rotate user Api key params

func (*RotateUserAPIKeyParams) SetUserID added in v1.30.0

func (o *RotateUserAPIKeyParams) SetUserID(userID string)

SetUserID adds the userId to the rotate user Api key params

func (*RotateUserAPIKeyParams) WithContext added in v1.30.0

WithContext adds the context to the rotate user Api key params

func (*RotateUserAPIKeyParams) WithDefaults added in v1.30.0

WithDefaults hydrates default values in the rotate user Api key params (not the query body).

All values with no default are reset to their zero value.

func (*RotateUserAPIKeyParams) WithHTTPClient added in v1.30.0

func (o *RotateUserAPIKeyParams) WithHTTPClient(client *http.Client) *RotateUserAPIKeyParams

WithHTTPClient adds the HTTPClient to the rotate user Api key params

func (*RotateUserAPIKeyParams) WithTimeout added in v1.30.0

WithTimeout adds the timeout to the rotate user Api key params

func (*RotateUserAPIKeyParams) WithUserID added in v1.30.0

func (o *RotateUserAPIKeyParams) WithUserID(userID string) *RotateUserAPIKeyParams

WithUserID adds the userID to the rotate user Api key params

func (*RotateUserAPIKeyParams) WriteToRequest added in v1.30.0

WriteToRequest writes these params to a swagger request

type RotateUserAPIKeyReader added in v1.30.0

type RotateUserAPIKeyReader struct {
	// contains filtered or unexported fields
}

RotateUserAPIKeyReader is a Reader for the RotateUserAPIKey structure.

func (*RotateUserAPIKeyReader) ReadResponse added in v1.30.0

func (o *RotateUserAPIKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RotateUserAPIKeyUnauthorized added in v1.30.0

type RotateUserAPIKeyUnauthorized struct {
}

RotateUserAPIKeyUnauthorized describes a response with status code 401, with default header values.

Unauthorized or invalid credentials.

func NewRotateUserAPIKeyUnauthorized added in v1.30.0

func NewRotateUserAPIKeyUnauthorized() *RotateUserAPIKeyUnauthorized

NewRotateUserAPIKeyUnauthorized creates a RotateUserAPIKeyUnauthorized with default headers values

func (*RotateUserAPIKeyUnauthorized) Code added in v1.30.0

Code gets the status code for the rotate user Api key unauthorized response

func (*RotateUserAPIKeyUnauthorized) Error added in v1.30.0

func (*RotateUserAPIKeyUnauthorized) IsClientError added in v1.30.0

func (o *RotateUserAPIKeyUnauthorized) IsClientError() bool

IsClientError returns true when this rotate user Api key unauthorized response has a 4xx status code

func (*RotateUserAPIKeyUnauthorized) IsCode added in v1.30.0

func (o *RotateUserAPIKeyUnauthorized) IsCode(code int) bool

IsCode returns true when this rotate user Api key unauthorized response a status code equal to that given

func (*RotateUserAPIKeyUnauthorized) IsRedirect added in v1.30.0

func (o *RotateUserAPIKeyUnauthorized) IsRedirect() bool

IsRedirect returns true when this rotate user Api key unauthorized response has a 3xx status code

func (*RotateUserAPIKeyUnauthorized) IsServerError added in v1.30.0

func (o *RotateUserAPIKeyUnauthorized) IsServerError() bool

IsServerError returns true when this rotate user Api key unauthorized response has a 5xx status code

func (*RotateUserAPIKeyUnauthorized) IsSuccess added in v1.30.0

func (o *RotateUserAPIKeyUnauthorized) IsSuccess() bool

IsSuccess returns true when this rotate user Api key unauthorized response has a 2xx status code

func (*RotateUserAPIKeyUnauthorized) String added in v1.30.0

type RotateUserAPIKeyUnprocessableEntity added in v1.30.0

type RotateUserAPIKeyUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

RotateUserAPIKeyUnprocessableEntity describes a response with status code 422, with default header values.

Request body is well-formed (i.e., syntactically correct), but semantically erroneous.

func NewRotateUserAPIKeyUnprocessableEntity added in v1.30.0

func NewRotateUserAPIKeyUnprocessableEntity() *RotateUserAPIKeyUnprocessableEntity

NewRotateUserAPIKeyUnprocessableEntity creates a RotateUserAPIKeyUnprocessableEntity with default headers values

func (*RotateUserAPIKeyUnprocessableEntity) Code added in v1.30.0

Code gets the status code for the rotate user Api key unprocessable entity response

func (*RotateUserAPIKeyUnprocessableEntity) Error added in v1.30.0

func (*RotateUserAPIKeyUnprocessableEntity) GetPayload added in v1.30.0

func (*RotateUserAPIKeyUnprocessableEntity) IsClientError added in v1.30.0

func (o *RotateUserAPIKeyUnprocessableEntity) IsClientError() bool

IsClientError returns true when this rotate user Api key unprocessable entity response has a 4xx status code

func (*RotateUserAPIKeyUnprocessableEntity) IsCode added in v1.30.0

IsCode returns true when this rotate user Api key unprocessable entity response a status code equal to that given

func (*RotateUserAPIKeyUnprocessableEntity) IsRedirect added in v1.30.0

func (o *RotateUserAPIKeyUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this rotate user Api key unprocessable entity response has a 3xx status code

func (*RotateUserAPIKeyUnprocessableEntity) IsServerError added in v1.30.0

func (o *RotateUserAPIKeyUnprocessableEntity) IsServerError() bool

IsServerError returns true when this rotate user Api key unprocessable entity response has a 5xx status code

func (*RotateUserAPIKeyUnprocessableEntity) IsSuccess added in v1.30.0

IsSuccess returns true when this rotate user Api key unprocessable entity response has a 2xx status code

func (*RotateUserAPIKeyUnprocessableEntity) String added in v1.30.0

Jump to

Keyboard shortcuts

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