users

package
v0.0.0-...-cfedc03 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddToGroupsBadRequest

type AddToGroupsBadRequest struct {
	Payload *models.HTTPError
}
AddToGroupsBadRequest describes a response with status code 400, with default header values.

bad request

func NewAddToGroupsBadRequest

func NewAddToGroupsBadRequest() *AddToGroupsBadRequest

NewAddToGroupsBadRequest creates a AddToGroupsBadRequest with default headers values

func (*AddToGroupsBadRequest) Error

func (o *AddToGroupsBadRequest) Error() string

func (*AddToGroupsBadRequest) GetPayload

func (o *AddToGroupsBadRequest) GetPayload() *models.HTTPError

func (*AddToGroupsBadRequest) IsClientError

func (o *AddToGroupsBadRequest) IsClientError() bool

IsClientError returns true when this add to groups bad request response has a 4xx status code

func (*AddToGroupsBadRequest) IsCode

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

IsCode returns true when this add to groups bad request response a status code equal to that given

func (*AddToGroupsBadRequest) IsRedirect

func (o *AddToGroupsBadRequest) IsRedirect() bool

IsRedirect returns true when this add to groups bad request response has a 3xx status code

func (*AddToGroupsBadRequest) IsServerError

func (o *AddToGroupsBadRequest) IsServerError() bool

IsServerError returns true when this add to groups bad request response has a 5xx status code

func (*AddToGroupsBadRequest) IsSuccess

func (o *AddToGroupsBadRequest) IsSuccess() bool

IsSuccess returns true when this add to groups bad request response has a 2xx status code

func (*AddToGroupsBadRequest) String

func (o *AddToGroupsBadRequest) String() string

type AddToGroupsForbidden

type AddToGroupsForbidden struct {
	Payload *models.HTTPError
}
AddToGroupsForbidden describes a response with status code 403, with default header values.

forbidden

func NewAddToGroupsForbidden

func NewAddToGroupsForbidden() *AddToGroupsForbidden

NewAddToGroupsForbidden creates a AddToGroupsForbidden with default headers values

func (*AddToGroupsForbidden) Error

func (o *AddToGroupsForbidden) Error() string

func (*AddToGroupsForbidden) GetPayload

func (o *AddToGroupsForbidden) GetPayload() *models.HTTPError

func (*AddToGroupsForbidden) IsClientError

func (o *AddToGroupsForbidden) IsClientError() bool

IsClientError returns true when this add to groups forbidden response has a 4xx status code

func (*AddToGroupsForbidden) IsCode

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

IsCode returns true when this add to groups forbidden response a status code equal to that given

func (*AddToGroupsForbidden) IsRedirect

func (o *AddToGroupsForbidden) IsRedirect() bool

IsRedirect returns true when this add to groups forbidden response has a 3xx status code

func (*AddToGroupsForbidden) IsServerError

func (o *AddToGroupsForbidden) IsServerError() bool

IsServerError returns true when this add to groups forbidden response has a 5xx status code

func (*AddToGroupsForbidden) IsSuccess

func (o *AddToGroupsForbidden) IsSuccess() bool

IsSuccess returns true when this add to groups forbidden response has a 2xx status code

func (*AddToGroupsForbidden) String

func (o *AddToGroupsForbidden) String() string

type AddToGroupsInternalServerError

type AddToGroupsInternalServerError struct {
	Payload *models.HTTPError
}
AddToGroupsInternalServerError describes a response with status code 500, with default header values.

server error

func NewAddToGroupsInternalServerError

func NewAddToGroupsInternalServerError() *AddToGroupsInternalServerError

NewAddToGroupsInternalServerError creates a AddToGroupsInternalServerError with default headers values

func (*AddToGroupsInternalServerError) Error

func (*AddToGroupsInternalServerError) GetPayload

func (*AddToGroupsInternalServerError) IsClientError

func (o *AddToGroupsInternalServerError) IsClientError() bool

IsClientError returns true when this add to groups internal server error response has a 4xx status code

func (*AddToGroupsInternalServerError) IsCode

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

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

func (*AddToGroupsInternalServerError) IsRedirect

func (o *AddToGroupsInternalServerError) IsRedirect() bool

IsRedirect returns true when this add to groups internal server error response has a 3xx status code

func (*AddToGroupsInternalServerError) IsServerError

func (o *AddToGroupsInternalServerError) IsServerError() bool

IsServerError returns true when this add to groups internal server error response has a 5xx status code

func (*AddToGroupsInternalServerError) IsSuccess

func (o *AddToGroupsInternalServerError) IsSuccess() bool

IsSuccess returns true when this add to groups internal server error response has a 2xx status code

func (*AddToGroupsInternalServerError) String

type AddToGroupsNotFound

type AddToGroupsNotFound struct {
	Payload *models.HTTPError
}
AddToGroupsNotFound describes a response with status code 404, with default header values.

not found

func NewAddToGroupsNotFound

func NewAddToGroupsNotFound() *AddToGroupsNotFound

NewAddToGroupsNotFound creates a AddToGroupsNotFound with default headers values

func (*AddToGroupsNotFound) Error

func (o *AddToGroupsNotFound) Error() string

func (*AddToGroupsNotFound) GetPayload

func (o *AddToGroupsNotFound) GetPayload() *models.HTTPError

func (*AddToGroupsNotFound) IsClientError

func (o *AddToGroupsNotFound) IsClientError() bool

IsClientError returns true when this add to groups not found response has a 4xx status code

func (*AddToGroupsNotFound) IsCode

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

IsCode returns true when this add to groups not found response a status code equal to that given

func (*AddToGroupsNotFound) IsRedirect

func (o *AddToGroupsNotFound) IsRedirect() bool

IsRedirect returns true when this add to groups not found response has a 3xx status code

func (*AddToGroupsNotFound) IsServerError

func (o *AddToGroupsNotFound) IsServerError() bool

IsServerError returns true when this add to groups not found response has a 5xx status code

func (*AddToGroupsNotFound) IsSuccess

func (o *AddToGroupsNotFound) IsSuccess() bool

IsSuccess returns true when this add to groups not found response has a 2xx status code

func (*AddToGroupsNotFound) String

func (o *AddToGroupsNotFound) String() string

type AddToGroupsOK

type AddToGroupsOK struct {
	Payload *models.AddToGroupsResponse
}
AddToGroupsOK describes a response with status code 200, with default header values.

no error

func NewAddToGroupsOK

func NewAddToGroupsOK() *AddToGroupsOK

NewAddToGroupsOK creates a AddToGroupsOK with default headers values

func (*AddToGroupsOK) Error

func (o *AddToGroupsOK) Error() string

func (*AddToGroupsOK) GetPayload

func (o *AddToGroupsOK) GetPayload() *models.AddToGroupsResponse

func (*AddToGroupsOK) IsClientError

func (o *AddToGroupsOK) IsClientError() bool

IsClientError returns true when this add to groups o k response has a 4xx status code

func (*AddToGroupsOK) IsCode

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

IsCode returns true when this add to groups o k response a status code equal to that given

func (*AddToGroupsOK) IsRedirect

func (o *AddToGroupsOK) IsRedirect() bool

IsRedirect returns true when this add to groups o k response has a 3xx status code

func (*AddToGroupsOK) IsServerError

func (o *AddToGroupsOK) IsServerError() bool

IsServerError returns true when this add to groups o k response has a 5xx status code

func (*AddToGroupsOK) IsSuccess

func (o *AddToGroupsOK) IsSuccess() bool

IsSuccess returns true when this add to groups o k response has a 2xx status code

func (*AddToGroupsOK) String

func (o *AddToGroupsOK) String() string

type AddToGroupsParams

type AddToGroupsParams struct {

	// Body.
	Body *models.AddToGroupsRequest

	/* Name.

	   Full user name to lookup user by
	*/
	Name string

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

AddToGroupsParams contains all the parameters to send to the API endpoint

for the add to groups operation.

Typically these are written to a http.Request.

func NewAddToGroupsParams

func NewAddToGroupsParams() *AddToGroupsParams

NewAddToGroupsParams creates a new AddToGroupsParams 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 NewAddToGroupsParamsWithContext

func NewAddToGroupsParamsWithContext(ctx context.Context) *AddToGroupsParams

NewAddToGroupsParamsWithContext creates a new AddToGroupsParams object with the ability to set a context for a request.

func NewAddToGroupsParamsWithHTTPClient

func NewAddToGroupsParamsWithHTTPClient(client *http.Client) *AddToGroupsParams

NewAddToGroupsParamsWithHTTPClient creates a new AddToGroupsParams object with the ability to set a custom HTTPClient for a request.

func NewAddToGroupsParamsWithTimeout

func NewAddToGroupsParamsWithTimeout(timeout time.Duration) *AddToGroupsParams

NewAddToGroupsParamsWithTimeout creates a new AddToGroupsParams object with the ability to set a timeout on a request.

func (*AddToGroupsParams) SetBody

func (o *AddToGroupsParams) SetBody(body *models.AddToGroupsRequest)

SetBody adds the body to the add to groups params

func (*AddToGroupsParams) SetContext

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

SetContext adds the context to the add to groups params

func (*AddToGroupsParams) SetDefaults

func (o *AddToGroupsParams) SetDefaults()

SetDefaults hydrates default values in the add to groups params (not the query body).

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

func (*AddToGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add to groups params

func (*AddToGroupsParams) SetName

func (o *AddToGroupsParams) SetName(name string)

SetName adds the name to the add to groups params

func (*AddToGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the add to groups params

func (*AddToGroupsParams) WithBody

WithBody adds the body to the add to groups params

func (*AddToGroupsParams) WithContext

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

WithContext adds the context to the add to groups params

func (*AddToGroupsParams) WithDefaults

func (o *AddToGroupsParams) WithDefaults() *AddToGroupsParams

WithDefaults hydrates default values in the add to groups params (not the query body).

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

func (*AddToGroupsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add to groups params

func (*AddToGroupsParams) WithName

func (o *AddToGroupsParams) WithName(name string) *AddToGroupsParams

WithName adds the name to the add to groups params

func (*AddToGroupsParams) WithTimeout

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

WithTimeout adds the timeout to the add to groups params

func (*AddToGroupsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddToGroupsReader

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

AddToGroupsReader is a Reader for the AddToGroups structure.

func (*AddToGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddToGroupsUnauthorized

type AddToGroupsUnauthorized struct {
	Payload *models.HTTPError
}
AddToGroupsUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAddToGroupsUnauthorized

func NewAddToGroupsUnauthorized() *AddToGroupsUnauthorized

NewAddToGroupsUnauthorized creates a AddToGroupsUnauthorized with default headers values

func (*AddToGroupsUnauthorized) Error

func (o *AddToGroupsUnauthorized) Error() string

func (*AddToGroupsUnauthorized) GetPayload

func (o *AddToGroupsUnauthorized) GetPayload() *models.HTTPError

func (*AddToGroupsUnauthorized) IsClientError

func (o *AddToGroupsUnauthorized) IsClientError() bool

IsClientError returns true when this add to groups unauthorized response has a 4xx status code

func (*AddToGroupsUnauthorized) IsCode

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

IsCode returns true when this add to groups unauthorized response a status code equal to that given

func (*AddToGroupsUnauthorized) IsRedirect

func (o *AddToGroupsUnauthorized) IsRedirect() bool

IsRedirect returns true when this add to groups unauthorized response has a 3xx status code

func (*AddToGroupsUnauthorized) IsServerError

func (o *AddToGroupsUnauthorized) IsServerError() bool

IsServerError returns true when this add to groups unauthorized response has a 5xx status code

func (*AddToGroupsUnauthorized) IsSuccess

func (o *AddToGroupsUnauthorized) IsSuccess() bool

IsSuccess returns true when this add to groups unauthorized response has a 2xx status code

func (*AddToGroupsUnauthorized) String

func (o *AddToGroupsUnauthorized) String() string

type ChangePasswordBadRequest

type ChangePasswordBadRequest struct {
	Payload *models.HTTPError
}
ChangePasswordBadRequest describes a response with status code 400, with default header values.

bad request

func NewChangePasswordBadRequest

func NewChangePasswordBadRequest() *ChangePasswordBadRequest

NewChangePasswordBadRequest creates a ChangePasswordBadRequest with default headers values

func (*ChangePasswordBadRequest) Error

func (o *ChangePasswordBadRequest) Error() string

func (*ChangePasswordBadRequest) GetPayload

func (o *ChangePasswordBadRequest) GetPayload() *models.HTTPError

func (*ChangePasswordBadRequest) IsClientError

func (o *ChangePasswordBadRequest) IsClientError() bool

IsClientError returns true when this change password bad request response has a 4xx status code

func (*ChangePasswordBadRequest) IsCode

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

IsCode returns true when this change password bad request response a status code equal to that given

func (*ChangePasswordBadRequest) IsRedirect

func (o *ChangePasswordBadRequest) IsRedirect() bool

IsRedirect returns true when this change password bad request response has a 3xx status code

func (*ChangePasswordBadRequest) IsServerError

func (o *ChangePasswordBadRequest) IsServerError() bool

IsServerError returns true when this change password bad request response has a 5xx status code

func (*ChangePasswordBadRequest) IsSuccess

func (o *ChangePasswordBadRequest) IsSuccess() bool

IsSuccess returns true when this change password bad request response has a 2xx status code

func (*ChangePasswordBadRequest) String

func (o *ChangePasswordBadRequest) String() string

type ChangePasswordForbidden

type ChangePasswordForbidden struct {
	Payload *models.HTTPError
}
ChangePasswordForbidden describes a response with status code 403, with default header values.

forbidden

func NewChangePasswordForbidden

func NewChangePasswordForbidden() *ChangePasswordForbidden

NewChangePasswordForbidden creates a ChangePasswordForbidden with default headers values

func (*ChangePasswordForbidden) Error

func (o *ChangePasswordForbidden) Error() string

func (*ChangePasswordForbidden) GetPayload

func (o *ChangePasswordForbidden) GetPayload() *models.HTTPError

func (*ChangePasswordForbidden) IsClientError

func (o *ChangePasswordForbidden) IsClientError() bool

IsClientError returns true when this change password forbidden response has a 4xx status code

func (*ChangePasswordForbidden) IsCode

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

IsCode returns true when this change password forbidden response a status code equal to that given

func (*ChangePasswordForbidden) IsRedirect

func (o *ChangePasswordForbidden) IsRedirect() bool

IsRedirect returns true when this change password forbidden response has a 3xx status code

func (*ChangePasswordForbidden) IsServerError

func (o *ChangePasswordForbidden) IsServerError() bool

IsServerError returns true when this change password forbidden response has a 5xx status code

func (*ChangePasswordForbidden) IsSuccess

func (o *ChangePasswordForbidden) IsSuccess() bool

IsSuccess returns true when this change password forbidden response has a 2xx status code

func (*ChangePasswordForbidden) String

func (o *ChangePasswordForbidden) String() string

type ChangePasswordInternalServerError

type ChangePasswordInternalServerError struct {
	Payload *models.HTTPError
}
ChangePasswordInternalServerError describes a response with status code 500, with default header values.

server error

func NewChangePasswordInternalServerError

func NewChangePasswordInternalServerError() *ChangePasswordInternalServerError

NewChangePasswordInternalServerError creates a ChangePasswordInternalServerError with default headers values

func (*ChangePasswordInternalServerError) Error

func (*ChangePasswordInternalServerError) GetPayload

func (*ChangePasswordInternalServerError) IsClientError

func (o *ChangePasswordInternalServerError) IsClientError() bool

IsClientError returns true when this change password internal server error response has a 4xx status code

func (*ChangePasswordInternalServerError) IsCode

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

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

func (*ChangePasswordInternalServerError) IsRedirect

func (o *ChangePasswordInternalServerError) IsRedirect() bool

IsRedirect returns true when this change password internal server error response has a 3xx status code

func (*ChangePasswordInternalServerError) IsServerError

func (o *ChangePasswordInternalServerError) IsServerError() bool

IsServerError returns true when this change password internal server error response has a 5xx status code

func (*ChangePasswordInternalServerError) IsSuccess

func (o *ChangePasswordInternalServerError) IsSuccess() bool

IsSuccess returns true when this change password internal server error response has a 2xx status code

func (*ChangePasswordInternalServerError) String

type ChangePasswordOK

type ChangePasswordOK struct {
	Payload *models.MessageResponse
}
ChangePasswordOK describes a response with status code 200, with default header values.

no error

func NewChangePasswordOK

func NewChangePasswordOK() *ChangePasswordOK

NewChangePasswordOK creates a ChangePasswordOK with default headers values

func (*ChangePasswordOK) Error

func (o *ChangePasswordOK) Error() string

func (*ChangePasswordOK) GetPayload

func (o *ChangePasswordOK) GetPayload() *models.MessageResponse

func (*ChangePasswordOK) IsClientError

func (o *ChangePasswordOK) IsClientError() bool

IsClientError returns true when this change password o k response has a 4xx status code

func (*ChangePasswordOK) IsCode

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

IsCode returns true when this change password o k response a status code equal to that given

func (*ChangePasswordOK) IsRedirect

func (o *ChangePasswordOK) IsRedirect() bool

IsRedirect returns true when this change password o k response has a 3xx status code

func (*ChangePasswordOK) IsServerError

func (o *ChangePasswordOK) IsServerError() bool

IsServerError returns true when this change password o k response has a 5xx status code

func (*ChangePasswordOK) IsSuccess

func (o *ChangePasswordOK) IsSuccess() bool

IsSuccess returns true when this change password o k response has a 2xx status code

func (*ChangePasswordOK) String

func (o *ChangePasswordOK) String() string

type ChangePasswordParams

type ChangePasswordParams struct {

	// Body.
	Body *models.PasswordChange

	/* Name.

	   Full user name to lookup user by
	*/
	Name string

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

ChangePasswordParams contains all the parameters to send to the API endpoint

for the change password operation.

Typically these are written to a http.Request.

func NewChangePasswordParams

func NewChangePasswordParams() *ChangePasswordParams

NewChangePasswordParams creates a new ChangePasswordParams 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 NewChangePasswordParamsWithContext

func NewChangePasswordParamsWithContext(ctx context.Context) *ChangePasswordParams

NewChangePasswordParamsWithContext creates a new ChangePasswordParams object with the ability to set a context for a request.

func NewChangePasswordParamsWithHTTPClient

func NewChangePasswordParamsWithHTTPClient(client *http.Client) *ChangePasswordParams

NewChangePasswordParamsWithHTTPClient creates a new ChangePasswordParams object with the ability to set a custom HTTPClient for a request.

func NewChangePasswordParamsWithTimeout

func NewChangePasswordParamsWithTimeout(timeout time.Duration) *ChangePasswordParams

NewChangePasswordParamsWithTimeout creates a new ChangePasswordParams object with the ability to set a timeout on a request.

func (*ChangePasswordParams) SetBody

func (o *ChangePasswordParams) SetBody(body *models.PasswordChange)

SetBody adds the body to the change password params

func (*ChangePasswordParams) SetContext

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

SetContext adds the context to the change password params

func (*ChangePasswordParams) SetDefaults

func (o *ChangePasswordParams) SetDefaults()

SetDefaults hydrates default values in the change password params (not the query body).

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

func (*ChangePasswordParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change password params

func (*ChangePasswordParams) SetName

func (o *ChangePasswordParams) SetName(name string)

SetName adds the name to the change password params

func (*ChangePasswordParams) SetTimeout

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

SetTimeout adds the timeout to the change password params

func (*ChangePasswordParams) WithBody

WithBody adds the body to the change password params

func (*ChangePasswordParams) WithContext

WithContext adds the context to the change password params

func (*ChangePasswordParams) WithDefaults

func (o *ChangePasswordParams) WithDefaults() *ChangePasswordParams

WithDefaults hydrates default values in the change password params (not the query body).

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

func (*ChangePasswordParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the change password params

func (*ChangePasswordParams) WithName

WithName adds the name to the change password params

func (*ChangePasswordParams) WithTimeout

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

WithTimeout adds the timeout to the change password params

func (*ChangePasswordParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ChangePasswordReader

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

ChangePasswordReader is a Reader for the ChangePassword structure.

func (*ChangePasswordReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangePasswordUnauthorized

type ChangePasswordUnauthorized struct {
	Payload *models.HTTPError
}
ChangePasswordUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewChangePasswordUnauthorized

func NewChangePasswordUnauthorized() *ChangePasswordUnauthorized

NewChangePasswordUnauthorized creates a ChangePasswordUnauthorized with default headers values

func (*ChangePasswordUnauthorized) Error

func (*ChangePasswordUnauthorized) GetPayload

func (o *ChangePasswordUnauthorized) GetPayload() *models.HTTPError

func (*ChangePasswordUnauthorized) IsClientError

func (o *ChangePasswordUnauthorized) IsClientError() bool

IsClientError returns true when this change password unauthorized response has a 4xx status code

func (*ChangePasswordUnauthorized) IsCode

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

IsCode returns true when this change password unauthorized response a status code equal to that given

func (*ChangePasswordUnauthorized) IsRedirect

func (o *ChangePasswordUnauthorized) IsRedirect() bool

IsRedirect returns true when this change password unauthorized response has a 3xx status code

func (*ChangePasswordUnauthorized) IsServerError

func (o *ChangePasswordUnauthorized) IsServerError() bool

IsServerError returns true when this change password unauthorized response has a 5xx status code

func (*ChangePasswordUnauthorized) IsSuccess

func (o *ChangePasswordUnauthorized) IsSuccess() bool

IsSuccess returns true when this change password unauthorized response has a 2xx status code

func (*ChangePasswordUnauthorized) String

func (o *ChangePasswordUnauthorized) String() string

type Client

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

Client for users API

func (*Client) AddToGroups

func (a *Client) AddToGroups(params *AddToGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddToGroupsOK, error)

AddToGroups adds member to groups

Add a user to one or more groups.

func (*Client) ChangePassword

func (a *Client) ChangePassword(params *ChangePasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangePasswordOK, error)

ChangePassword changes password

Allows the user to change their own password.

func (*Client) CreateUser

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

CreateUser creates a user

Create a new user.

func (*Client) DeleteUser

DeleteUser deletes a user

Retrieve an existing user by user name. For users linked to 3rd party providers, such as AWS or Azure, the user name

must be prefixed with the provider name from configuration in the format of <providername>:<username> i.e. aws-dev:db

func (*Client) GetMember

func (a *Client) GetMember(params *GetMemberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMemberOK, error)

GetMember gets member group

Retrieve a member's group by member name.

func (*Client) GetUser

func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserOK, error)
GetUser gets a user

Retrieve an existing user by user name. For users linked to 3rd party providers, such as AWS or Azure, the user name

must be prefixed with the provider name from configuration in the format of <providername>:<username> i.e. aws-dev:db

func (*Client) GetUserByVersion

func (a *Client) GetUserByVersion(params *GetUserByVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserByVersionOK, error)
GetUserByVersion gets a user by version

Retrieve an existing user by user name and version. For users linked to 3rd party providers, such as AWS or Azure, the user name

must be prefixed with the provider name from configuration in the format of <providername>:<username> i.e. aws-dev:db

func (*Client) RestoreUser

func (a *Client) RestoreUser(params *RestoreUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreUserOK, error)

RestoreUser restores a user

Restore a user by path.

func (*Client) SearchUsers

func (a *Client) SearchUsers(params *SearchUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchUsersOK, error)

SearchUsers searches for users

Search for one or more users by their name.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateUser

func (a *Client) UpdateUser(params *UpdateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserOK, error)

UpdateUser updates a user

Update an existing user.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AddToGroups(params *AddToGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddToGroupsOK, error)

	ChangePassword(params *ChangePasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangePasswordOK, error)

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

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

	GetMember(params *GetMemberParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMemberOK, error)

	GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserOK, error)

	GetUserByVersion(params *GetUserByVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserByVersionOK, error)

	RestoreUser(params *RestoreUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestoreUserOK, error)

	SearchUsers(params *SearchUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchUsersOK, error)

	UpdateUser(params *UpdateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateUserOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new users API client.

type CreateUserBadRequest

type CreateUserBadRequest struct {
	Payload *models.HTTPError
}
CreateUserBadRequest describes a response with status code 400, with default header values.

bad request

func NewCreateUserBadRequest

func NewCreateUserBadRequest() *CreateUserBadRequest

NewCreateUserBadRequest creates a CreateUserBadRequest with default headers values

func (*CreateUserBadRequest) Error

func (o *CreateUserBadRequest) Error() string

func (*CreateUserBadRequest) GetPayload

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

func (*CreateUserBadRequest) IsClientError

func (o *CreateUserBadRequest) IsClientError() bool

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

func (*CreateUserBadRequest) IsCode

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

func (o *CreateUserBadRequest) IsRedirect() bool

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

func (*CreateUserBadRequest) IsServerError

func (o *CreateUserBadRequest) IsServerError() bool

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

func (*CreateUserBadRequest) IsSuccess

func (o *CreateUserBadRequest) IsSuccess() bool

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

func (*CreateUserBadRequest) String

func (o *CreateUserBadRequest) String() string

type CreateUserCreated

type CreateUserCreated struct {
	Payload *models.User
}
CreateUserCreated describes a response with status code 201, with default header values.

no error

func NewCreateUserCreated

func NewCreateUserCreated() *CreateUserCreated

NewCreateUserCreated creates a CreateUserCreated with default headers values

func (*CreateUserCreated) Error

func (o *CreateUserCreated) Error() string

func (*CreateUserCreated) GetPayload

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

func (*CreateUserCreated) IsClientError

func (o *CreateUserCreated) IsClientError() bool

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

func (*CreateUserCreated) IsCode

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

func (o *CreateUserCreated) IsRedirect() bool

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

func (*CreateUserCreated) IsServerError

func (o *CreateUserCreated) IsServerError() bool

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

func (*CreateUserCreated) IsSuccess

func (o *CreateUserCreated) IsSuccess() bool

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

func (*CreateUserCreated) String

func (o *CreateUserCreated) String() string

type CreateUserForbidden

type CreateUserForbidden struct {
	Payload *models.HTTPError
}
CreateUserForbidden describes a response with status code 403, with default header values.

forbidden

func NewCreateUserForbidden

func NewCreateUserForbidden() *CreateUserForbidden

NewCreateUserForbidden creates a CreateUserForbidden with default headers values

func (*CreateUserForbidden) Error

func (o *CreateUserForbidden) Error() string

func (*CreateUserForbidden) GetPayload

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

func (*CreateUserForbidden) IsClientError

func (o *CreateUserForbidden) IsClientError() bool

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

func (*CreateUserForbidden) IsCode

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

func (o *CreateUserForbidden) IsRedirect() bool

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

func (*CreateUserForbidden) IsServerError

func (o *CreateUserForbidden) IsServerError() bool

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

func (*CreateUserForbidden) IsSuccess

func (o *CreateUserForbidden) IsSuccess() bool

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

func (*CreateUserForbidden) String

func (o *CreateUserForbidden) String() string

type CreateUserInternalServerError

type CreateUserInternalServerError struct {
	Payload *models.HTTPError
}
CreateUserInternalServerError describes a response with status code 500, with default header values.

server error

func NewCreateUserInternalServerError

func NewCreateUserInternalServerError() *CreateUserInternalServerError

NewCreateUserInternalServerError creates a CreateUserInternalServerError with default headers values

func (*CreateUserInternalServerError) Error

func (*CreateUserInternalServerError) GetPayload

func (*CreateUserInternalServerError) IsClientError

func (o *CreateUserInternalServerError) IsClientError() bool

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

func (*CreateUserInternalServerError) IsCode

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

func (o *CreateUserInternalServerError) IsRedirect() bool

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

func (*CreateUserInternalServerError) IsServerError

func (o *CreateUserInternalServerError) IsServerError() bool

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

func (*CreateUserInternalServerError) IsSuccess

func (o *CreateUserInternalServerError) IsSuccess() bool

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

func (*CreateUserInternalServerError) String

type CreateUserParams

type CreateUserParams struct {

	// Body.
	Body *models.UserCreateModel

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

CreateUserParams contains all the parameters to send to the API endpoint

for the create user operation.

Typically these are written to a http.Request.

func NewCreateUserParams

func NewCreateUserParams() *CreateUserParams

NewCreateUserParams creates a new CreateUserParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateUserParamsWithContext

func NewCreateUserParamsWithContext(ctx context.Context) *CreateUserParams

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

func NewCreateUserParamsWithHTTPClient

func NewCreateUserParamsWithHTTPClient(client *http.Client) *CreateUserParams

NewCreateUserParamsWithHTTPClient creates a new CreateUserParams object with the ability to set a custom HTTPClient for a request.

func NewCreateUserParamsWithTimeout

func NewCreateUserParamsWithTimeout(timeout time.Duration) *CreateUserParams

NewCreateUserParamsWithTimeout creates a new CreateUserParams object with the ability to set a timeout on a request.

func (*CreateUserParams) SetBody

func (o *CreateUserParams) SetBody(body *models.UserCreateModel)

SetBody adds the body to the create user params

func (*CreateUserParams) SetContext

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

SetContext adds the context to the create user params

func (*CreateUserParams) SetDefaults

func (o *CreateUserParams) SetDefaults()

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

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

func (*CreateUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create user params

func (*CreateUserParams) SetTimeout

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

SetTimeout adds the timeout to the create user params

func (*CreateUserParams) WithBody

WithBody adds the body to the create user params

func (*CreateUserParams) WithContext

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

WithContext adds the context to the create user params

func (*CreateUserParams) WithDefaults

func (o *CreateUserParams) WithDefaults() *CreateUserParams

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

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

func (*CreateUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create user params

func (*CreateUserParams) WithTimeout

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

WithTimeout adds the timeout to the create user params

func (*CreateUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateUserReader

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

CreateUserReader is a Reader for the CreateUser structure.

func (*CreateUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateUserUnauthorized

type CreateUserUnauthorized struct {
	Payload *models.HTTPError
}
CreateUserUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewCreateUserUnauthorized

func NewCreateUserUnauthorized() *CreateUserUnauthorized

NewCreateUserUnauthorized creates a CreateUserUnauthorized with default headers values

func (*CreateUserUnauthorized) Error

func (o *CreateUserUnauthorized) Error() string

func (*CreateUserUnauthorized) GetPayload

func (o *CreateUserUnauthorized) GetPayload() *models.HTTPError

func (*CreateUserUnauthorized) IsClientError

func (o *CreateUserUnauthorized) IsClientError() bool

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

func (*CreateUserUnauthorized) IsCode

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

func (o *CreateUserUnauthorized) IsRedirect() bool

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

func (*CreateUserUnauthorized) IsServerError

func (o *CreateUserUnauthorized) IsServerError() bool

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

func (*CreateUserUnauthorized) IsSuccess

func (o *CreateUserUnauthorized) IsSuccess() bool

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

func (*CreateUserUnauthorized) String

func (o *CreateUserUnauthorized) String() string

type DeleteUserBadRequest

type DeleteUserBadRequest struct {
	Payload *models.HTTPError
}
DeleteUserBadRequest describes a response with status code 400, with default header values.

bad request

func NewDeleteUserBadRequest

func NewDeleteUserBadRequest() *DeleteUserBadRequest

NewDeleteUserBadRequest creates a DeleteUserBadRequest with default headers values

func (*DeleteUserBadRequest) Error

func (o *DeleteUserBadRequest) Error() string

func (*DeleteUserBadRequest) GetPayload

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

func (*DeleteUserBadRequest) IsClientError

func (o *DeleteUserBadRequest) IsClientError() bool

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

func (*DeleteUserBadRequest) IsCode

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

func (o *DeleteUserBadRequest) IsRedirect() bool

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

func (*DeleteUserBadRequest) IsServerError

func (o *DeleteUserBadRequest) IsServerError() bool

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

func (*DeleteUserBadRequest) IsSuccess

func (o *DeleteUserBadRequest) IsSuccess() bool

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

func (*DeleteUserBadRequest) String

func (o *DeleteUserBadRequest) String() string

type DeleteUserForbidden

type DeleteUserForbidden struct {
	Payload *models.HTTPError
}
DeleteUserForbidden describes a response with status code 403, with default header values.

forbidden

func NewDeleteUserForbidden

func NewDeleteUserForbidden() *DeleteUserForbidden

NewDeleteUserForbidden creates a DeleteUserForbidden with default headers values

func (*DeleteUserForbidden) Error

func (o *DeleteUserForbidden) Error() string

func (*DeleteUserForbidden) GetPayload

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

func (*DeleteUserForbidden) IsClientError

func (o *DeleteUserForbidden) IsClientError() bool

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

func (*DeleteUserForbidden) IsCode

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

func (o *DeleteUserForbidden) IsRedirect() bool

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

func (*DeleteUserForbidden) IsServerError

func (o *DeleteUserForbidden) IsServerError() bool

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

func (*DeleteUserForbidden) IsSuccess

func (o *DeleteUserForbidden) IsSuccess() bool

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

func (*DeleteUserForbidden) String

func (o *DeleteUserForbidden) String() string

type DeleteUserInternalServerError

type DeleteUserInternalServerError struct {
	Payload *models.HTTPError
}
DeleteUserInternalServerError describes a response with status code 500, with default header values.

server error

func NewDeleteUserInternalServerError

func NewDeleteUserInternalServerError() *DeleteUserInternalServerError

NewDeleteUserInternalServerError creates a DeleteUserInternalServerError with default headers values

func (*DeleteUserInternalServerError) Error

func (*DeleteUserInternalServerError) GetPayload

func (*DeleteUserInternalServerError) IsClientError

func (o *DeleteUserInternalServerError) IsClientError() bool

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

func (*DeleteUserInternalServerError) IsCode

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

func (o *DeleteUserInternalServerError) IsRedirect() bool

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

func (*DeleteUserInternalServerError) IsServerError

func (o *DeleteUserInternalServerError) IsServerError() bool

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

func (*DeleteUserInternalServerError) IsSuccess

func (o *DeleteUserInternalServerError) IsSuccess() bool

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

func (*DeleteUserInternalServerError) String

type DeleteUserNoContent

type DeleteUserNoContent struct {
}
DeleteUserNoContent describes a response with status code 204, with default header values.

no error

func NewDeleteUserNoContent

func NewDeleteUserNoContent() *DeleteUserNoContent

NewDeleteUserNoContent creates a DeleteUserNoContent with default headers values

func (*DeleteUserNoContent) Error

func (o *DeleteUserNoContent) Error() string

func (*DeleteUserNoContent) IsClientError

func (o *DeleteUserNoContent) IsClientError() bool

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

func (*DeleteUserNoContent) IsCode

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

func (o *DeleteUserNoContent) IsRedirect() bool

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

func (*DeleteUserNoContent) IsServerError

func (o *DeleteUserNoContent) IsServerError() bool

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

func (*DeleteUserNoContent) IsSuccess

func (o *DeleteUserNoContent) IsSuccess() bool

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

func (*DeleteUserNoContent) String

func (o *DeleteUserNoContent) String() string

type DeleteUserNotFound

type DeleteUserNotFound struct {
	Payload *models.HTTPError
}
DeleteUserNotFound describes a response with status code 404, with default header values.

not found

func NewDeleteUserNotFound

func NewDeleteUserNotFound() *DeleteUserNotFound

NewDeleteUserNotFound creates a DeleteUserNotFound with default headers values

func (*DeleteUserNotFound) Error

func (o *DeleteUserNotFound) Error() string

func (*DeleteUserNotFound) GetPayload

func (o *DeleteUserNotFound) GetPayload() *models.HTTPError

func (*DeleteUserNotFound) IsClientError

func (o *DeleteUserNotFound) IsClientError() bool

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

func (*DeleteUserNotFound) IsCode

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

func (o *DeleteUserNotFound) IsRedirect() bool

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

func (*DeleteUserNotFound) IsServerError

func (o *DeleteUserNotFound) IsServerError() bool

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

func (*DeleteUserNotFound) IsSuccess

func (o *DeleteUserNotFound) IsSuccess() bool

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

func (*DeleteUserNotFound) String

func (o *DeleteUserNotFound) String() string

type DeleteUserOK

type DeleteUserOK struct {
	Payload *models.MessageResponse
}
DeleteUserOK describes a response with status code 200, with default header values.

no error

func NewDeleteUserOK

func NewDeleteUserOK() *DeleteUserOK

NewDeleteUserOK creates a DeleteUserOK with default headers values

func (*DeleteUserOK) Error

func (o *DeleteUserOK) Error() string

func (*DeleteUserOK) GetPayload

func (o *DeleteUserOK) GetPayload() *models.MessageResponse

func (*DeleteUserOK) IsClientError

func (o *DeleteUserOK) IsClientError() bool

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

func (*DeleteUserOK) IsCode

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

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

func (*DeleteUserOK) IsRedirect

func (o *DeleteUserOK) IsRedirect() bool

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

func (*DeleteUserOK) IsServerError

func (o *DeleteUserOK) IsServerError() bool

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

func (*DeleteUserOK) IsSuccess

func (o *DeleteUserOK) IsSuccess() bool

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

func (*DeleteUserOK) String

func (o *DeleteUserOK) String() string

type DeleteUserParams

type DeleteUserParams struct {

	/* Force.

	   Delete immediately
	*/
	Force *bool

	/* Name.

	   Full user name to lookup user by
	*/
	Name string

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

DeleteUserParams contains all the parameters to send to the API endpoint

for the delete user operation.

Typically these are written to a http.Request.

func NewDeleteUserParams

func NewDeleteUserParams() *DeleteUserParams

NewDeleteUserParams creates a new DeleteUserParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteUserParamsWithContext

func NewDeleteUserParamsWithContext(ctx context.Context) *DeleteUserParams

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

func NewDeleteUserParamsWithHTTPClient

func NewDeleteUserParamsWithHTTPClient(client *http.Client) *DeleteUserParams

NewDeleteUserParamsWithHTTPClient creates a new DeleteUserParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteUserParamsWithTimeout

func NewDeleteUserParamsWithTimeout(timeout time.Duration) *DeleteUserParams

NewDeleteUserParamsWithTimeout creates a new DeleteUserParams object with the ability to set a timeout on a request.

func (*DeleteUserParams) SetContext

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

SetContext adds the context to the delete user params

func (*DeleteUserParams) SetDefaults

func (o *DeleteUserParams) SetDefaults()

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

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

func (*DeleteUserParams) SetForce

func (o *DeleteUserParams) SetForce(force *bool)

SetForce adds the force to the delete user params

func (*DeleteUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete user params

func (*DeleteUserParams) SetName

func (o *DeleteUserParams) SetName(name string)

SetName adds the name to the delete user params

func (*DeleteUserParams) SetTimeout

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

SetTimeout adds the timeout to the delete user params

func (*DeleteUserParams) WithContext

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

WithContext adds the context to the delete user params

func (*DeleteUserParams) WithDefaults

func (o *DeleteUserParams) WithDefaults() *DeleteUserParams

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

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

func (*DeleteUserParams) WithForce

func (o *DeleteUserParams) WithForce(force *bool) *DeleteUserParams

WithForce adds the force to the delete user params

func (*DeleteUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete user params

func (*DeleteUserParams) WithName

func (o *DeleteUserParams) WithName(name string) *DeleteUserParams

WithName adds the name to the delete user params

func (*DeleteUserParams) WithTimeout

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

WithTimeout adds the timeout to the delete user params

func (*DeleteUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteUserReader

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

DeleteUserReader is a Reader for the DeleteUser structure.

func (*DeleteUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUserUnauthorized

type DeleteUserUnauthorized struct {
	Payload *models.HTTPError
}
DeleteUserUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewDeleteUserUnauthorized

func NewDeleteUserUnauthorized() *DeleteUserUnauthorized

NewDeleteUserUnauthorized creates a DeleteUserUnauthorized with default headers values

func (*DeleteUserUnauthorized) Error

func (o *DeleteUserUnauthorized) Error() string

func (*DeleteUserUnauthorized) GetPayload

func (o *DeleteUserUnauthorized) GetPayload() *models.HTTPError

func (*DeleteUserUnauthorized) IsClientError

func (o *DeleteUserUnauthorized) IsClientError() bool

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

func (*DeleteUserUnauthorized) IsCode

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

func (o *DeleteUserUnauthorized) IsRedirect() bool

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

func (*DeleteUserUnauthorized) IsServerError

func (o *DeleteUserUnauthorized) IsServerError() bool

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

func (*DeleteUserUnauthorized) IsSuccess

func (o *DeleteUserUnauthorized) IsSuccess() bool

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

func (*DeleteUserUnauthorized) String

func (o *DeleteUserUnauthorized) String() string

type GetMemberBadRequest

type GetMemberBadRequest struct {
	Payload *models.HTTPError
}
GetMemberBadRequest describes a response with status code 400, with default header values.

bad request

func NewGetMemberBadRequest

func NewGetMemberBadRequest() *GetMemberBadRequest

NewGetMemberBadRequest creates a GetMemberBadRequest with default headers values

func (*GetMemberBadRequest) Error

func (o *GetMemberBadRequest) Error() string

func (*GetMemberBadRequest) GetPayload

func (o *GetMemberBadRequest) GetPayload() *models.HTTPError

func (*GetMemberBadRequest) IsClientError

func (o *GetMemberBadRequest) IsClientError() bool

IsClientError returns true when this get member bad request response has a 4xx status code

func (*GetMemberBadRequest) IsCode

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

IsCode returns true when this get member bad request response a status code equal to that given

func (*GetMemberBadRequest) IsRedirect

func (o *GetMemberBadRequest) IsRedirect() bool

IsRedirect returns true when this get member bad request response has a 3xx status code

func (*GetMemberBadRequest) IsServerError

func (o *GetMemberBadRequest) IsServerError() bool

IsServerError returns true when this get member bad request response has a 5xx status code

func (*GetMemberBadRequest) IsSuccess

func (o *GetMemberBadRequest) IsSuccess() bool

IsSuccess returns true when this get member bad request response has a 2xx status code

func (*GetMemberBadRequest) String

func (o *GetMemberBadRequest) String() string

type GetMemberForbidden

type GetMemberForbidden struct {
	Payload *models.HTTPError
}
GetMemberForbidden describes a response with status code 403, with default header values.

forbidden

func NewGetMemberForbidden

func NewGetMemberForbidden() *GetMemberForbidden

NewGetMemberForbidden creates a GetMemberForbidden with default headers values

func (*GetMemberForbidden) Error

func (o *GetMemberForbidden) Error() string

func (*GetMemberForbidden) GetPayload

func (o *GetMemberForbidden) GetPayload() *models.HTTPError

func (*GetMemberForbidden) IsClientError

func (o *GetMemberForbidden) IsClientError() bool

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

func (*GetMemberForbidden) IsCode

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

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

func (*GetMemberForbidden) IsRedirect

func (o *GetMemberForbidden) IsRedirect() bool

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

func (*GetMemberForbidden) IsServerError

func (o *GetMemberForbidden) IsServerError() bool

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

func (*GetMemberForbidden) IsSuccess

func (o *GetMemberForbidden) IsSuccess() bool

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

func (*GetMemberForbidden) String

func (o *GetMemberForbidden) String() string

type GetMemberInternalServerError

type GetMemberInternalServerError struct {
	Payload *models.HTTPError
}
GetMemberInternalServerError describes a response with status code 500, with default header values.

server error

func NewGetMemberInternalServerError

func NewGetMemberInternalServerError() *GetMemberInternalServerError

NewGetMemberInternalServerError creates a GetMemberInternalServerError with default headers values

func (*GetMemberInternalServerError) Error

func (*GetMemberInternalServerError) GetPayload

func (*GetMemberInternalServerError) IsClientError

func (o *GetMemberInternalServerError) IsClientError() bool

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

func (*GetMemberInternalServerError) IsCode

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

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

func (*GetMemberInternalServerError) IsRedirect

func (o *GetMemberInternalServerError) IsRedirect() bool

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

func (*GetMemberInternalServerError) IsServerError

func (o *GetMemberInternalServerError) IsServerError() bool

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

func (*GetMemberInternalServerError) IsSuccess

func (o *GetMemberInternalServerError) IsSuccess() bool

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

func (*GetMemberInternalServerError) String

type GetMemberNotFound

type GetMemberNotFound struct {
	Payload *models.HTTPError
}
GetMemberNotFound describes a response with status code 404, with default header values.

not found

func NewGetMemberNotFound

func NewGetMemberNotFound() *GetMemberNotFound

NewGetMemberNotFound creates a GetMemberNotFound with default headers values

func (*GetMemberNotFound) Error

func (o *GetMemberNotFound) Error() string

func (*GetMemberNotFound) GetPayload

func (o *GetMemberNotFound) GetPayload() *models.HTTPError

func (*GetMemberNotFound) IsClientError

func (o *GetMemberNotFound) IsClientError() bool

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

func (*GetMemberNotFound) IsCode

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

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

func (*GetMemberNotFound) IsRedirect

func (o *GetMemberNotFound) IsRedirect() bool

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

func (*GetMemberNotFound) IsServerError

func (o *GetMemberNotFound) IsServerError() bool

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

func (*GetMemberNotFound) IsSuccess

func (o *GetMemberNotFound) IsSuccess() bool

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

func (*GetMemberNotFound) String

func (o *GetMemberNotFound) String() string

type GetMemberOK

type GetMemberOK struct {
	Payload *models.MemberResponse
}
GetMemberOK describes a response with status code 200, with default header values.

no error

func NewGetMemberOK

func NewGetMemberOK() *GetMemberOK

NewGetMemberOK creates a GetMemberOK with default headers values

func (*GetMemberOK) Error

func (o *GetMemberOK) Error() string

func (*GetMemberOK) GetPayload

func (o *GetMemberOK) GetPayload() *models.MemberResponse

func (*GetMemberOK) IsClientError

func (o *GetMemberOK) IsClientError() bool

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

func (*GetMemberOK) IsCode

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

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

func (*GetMemberOK) IsRedirect

func (o *GetMemberOK) IsRedirect() bool

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

func (*GetMemberOK) IsServerError

func (o *GetMemberOK) IsServerError() bool

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

func (*GetMemberOK) IsSuccess

func (o *GetMemberOK) IsSuccess() bool

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

func (*GetMemberOK) String

func (o *GetMemberOK) String() string

type GetMemberParams

type GetMemberParams struct {

	/* Name.

	   Member name to lookup member
	*/
	Name string

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

GetMemberParams contains all the parameters to send to the API endpoint

for the get member operation.

Typically these are written to a http.Request.

func NewGetMemberParams

func NewGetMemberParams() *GetMemberParams

NewGetMemberParams creates a new GetMemberParams 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 NewGetMemberParamsWithContext

func NewGetMemberParamsWithContext(ctx context.Context) *GetMemberParams

NewGetMemberParamsWithContext creates a new GetMemberParams object with the ability to set a context for a request.

func NewGetMemberParamsWithHTTPClient

func NewGetMemberParamsWithHTTPClient(client *http.Client) *GetMemberParams

NewGetMemberParamsWithHTTPClient creates a new GetMemberParams object with the ability to set a custom HTTPClient for a request.

func NewGetMemberParamsWithTimeout

func NewGetMemberParamsWithTimeout(timeout time.Duration) *GetMemberParams

NewGetMemberParamsWithTimeout creates a new GetMemberParams object with the ability to set a timeout on a request.

func (*GetMemberParams) SetContext

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

SetContext adds the context to the get member params

func (*GetMemberParams) SetDefaults

func (o *GetMemberParams) SetDefaults()

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

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

func (*GetMemberParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get member params

func (*GetMemberParams) SetName

func (o *GetMemberParams) SetName(name string)

SetName adds the name to the get member params

func (*GetMemberParams) SetTimeout

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

SetTimeout adds the timeout to the get member params

func (*GetMemberParams) WithContext

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

WithContext adds the context to the get member params

func (*GetMemberParams) WithDefaults

func (o *GetMemberParams) WithDefaults() *GetMemberParams

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

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

func (*GetMemberParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get member params

func (*GetMemberParams) WithName

func (o *GetMemberParams) WithName(name string) *GetMemberParams

WithName adds the name to the get member params

func (*GetMemberParams) WithTimeout

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

WithTimeout adds the timeout to the get member params

func (*GetMemberParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetMemberReader

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

GetMemberReader is a Reader for the GetMember structure.

func (*GetMemberReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMemberUnauthorized

type GetMemberUnauthorized struct {
	Payload *models.HTTPError
}
GetMemberUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewGetMemberUnauthorized

func NewGetMemberUnauthorized() *GetMemberUnauthorized

NewGetMemberUnauthorized creates a GetMemberUnauthorized with default headers values

func (*GetMemberUnauthorized) Error

func (o *GetMemberUnauthorized) Error() string

func (*GetMemberUnauthorized) GetPayload

func (o *GetMemberUnauthorized) GetPayload() *models.HTTPError

func (*GetMemberUnauthorized) IsClientError

func (o *GetMemberUnauthorized) IsClientError() bool

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

func (*GetMemberUnauthorized) IsCode

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

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

func (*GetMemberUnauthorized) IsRedirect

func (o *GetMemberUnauthorized) IsRedirect() bool

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

func (*GetMemberUnauthorized) IsServerError

func (o *GetMemberUnauthorized) IsServerError() bool

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

func (*GetMemberUnauthorized) IsSuccess

func (o *GetMemberUnauthorized) IsSuccess() bool

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

func (*GetMemberUnauthorized) String

func (o *GetMemberUnauthorized) String() string

type GetUserBadRequest

type GetUserBadRequest struct {
	Payload *models.HTTPError
}
GetUserBadRequest describes a response with status code 400, with default header values.

bad request

func NewGetUserBadRequest

func NewGetUserBadRequest() *GetUserBadRequest

NewGetUserBadRequest creates a GetUserBadRequest with default headers values

func (*GetUserBadRequest) Error

func (o *GetUserBadRequest) Error() string

func (*GetUserBadRequest) GetPayload

func (o *GetUserBadRequest) GetPayload() *models.HTTPError

func (*GetUserBadRequest) IsClientError

func (o *GetUserBadRequest) IsClientError() bool

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

func (*GetUserBadRequest) IsCode

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

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

func (*GetUserBadRequest) IsRedirect

func (o *GetUserBadRequest) IsRedirect() bool

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

func (*GetUserBadRequest) IsServerError

func (o *GetUserBadRequest) IsServerError() bool

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

func (*GetUserBadRequest) IsSuccess

func (o *GetUserBadRequest) IsSuccess() bool

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

func (*GetUserBadRequest) String

func (o *GetUserBadRequest) String() string

type GetUserByVersionBadRequest

type GetUserByVersionBadRequest struct {
	Payload *models.HTTPError
}
GetUserByVersionBadRequest describes a response with status code 400, with default header values.

bad request

func NewGetUserByVersionBadRequest

func NewGetUserByVersionBadRequest() *GetUserByVersionBadRequest

NewGetUserByVersionBadRequest creates a GetUserByVersionBadRequest with default headers values

func (*GetUserByVersionBadRequest) Error

func (*GetUserByVersionBadRequest) GetPayload

func (o *GetUserByVersionBadRequest) GetPayload() *models.HTTPError

func (*GetUserByVersionBadRequest) IsClientError

func (o *GetUserByVersionBadRequest) IsClientError() bool

IsClientError returns true when this get user by version bad request response has a 4xx status code

func (*GetUserByVersionBadRequest) IsCode

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

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

func (*GetUserByVersionBadRequest) IsRedirect

func (o *GetUserByVersionBadRequest) IsRedirect() bool

IsRedirect returns true when this get user by version bad request response has a 3xx status code

func (*GetUserByVersionBadRequest) IsServerError

func (o *GetUserByVersionBadRequest) IsServerError() bool

IsServerError returns true when this get user by version bad request response has a 5xx status code

func (*GetUserByVersionBadRequest) IsSuccess

func (o *GetUserByVersionBadRequest) IsSuccess() bool

IsSuccess returns true when this get user by version bad request response has a 2xx status code

func (*GetUserByVersionBadRequest) String

func (o *GetUserByVersionBadRequest) String() string

type GetUserByVersionForbidden

type GetUserByVersionForbidden struct {
	Payload *models.HTTPError
}
GetUserByVersionForbidden describes a response with status code 403, with default header values.

forbidden

func NewGetUserByVersionForbidden

func NewGetUserByVersionForbidden() *GetUserByVersionForbidden

NewGetUserByVersionForbidden creates a GetUserByVersionForbidden with default headers values

func (*GetUserByVersionForbidden) Error

func (o *GetUserByVersionForbidden) Error() string

func (*GetUserByVersionForbidden) GetPayload

func (o *GetUserByVersionForbidden) GetPayload() *models.HTTPError

func (*GetUserByVersionForbidden) IsClientError

func (o *GetUserByVersionForbidden) IsClientError() bool

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

func (*GetUserByVersionForbidden) IsCode

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

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

func (*GetUserByVersionForbidden) IsRedirect

func (o *GetUserByVersionForbidden) IsRedirect() bool

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

func (*GetUserByVersionForbidden) IsServerError

func (o *GetUserByVersionForbidden) IsServerError() bool

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

func (*GetUserByVersionForbidden) IsSuccess

func (o *GetUserByVersionForbidden) IsSuccess() bool

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

func (*GetUserByVersionForbidden) String

func (o *GetUserByVersionForbidden) String() string

type GetUserByVersionInternalServerError

type GetUserByVersionInternalServerError struct {
	Payload *models.HTTPError
}
GetUserByVersionInternalServerError describes a response with status code 500, with default header values.

server error

func NewGetUserByVersionInternalServerError

func NewGetUserByVersionInternalServerError() *GetUserByVersionInternalServerError

NewGetUserByVersionInternalServerError creates a GetUserByVersionInternalServerError with default headers values

func (*GetUserByVersionInternalServerError) Error

func (*GetUserByVersionInternalServerError) GetPayload

func (*GetUserByVersionInternalServerError) IsClientError

func (o *GetUserByVersionInternalServerError) IsClientError() bool

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

func (*GetUserByVersionInternalServerError) IsCode

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

func (*GetUserByVersionInternalServerError) IsRedirect

func (o *GetUserByVersionInternalServerError) IsRedirect() bool

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

func (*GetUserByVersionInternalServerError) IsServerError

func (o *GetUserByVersionInternalServerError) IsServerError() bool

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

func (*GetUserByVersionInternalServerError) IsSuccess

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

func (*GetUserByVersionInternalServerError) String

type GetUserByVersionNotFound

type GetUserByVersionNotFound struct {
	Payload *models.HTTPError
}
GetUserByVersionNotFound describes a response with status code 404, with default header values.

not found

func NewGetUserByVersionNotFound

func NewGetUserByVersionNotFound() *GetUserByVersionNotFound

NewGetUserByVersionNotFound creates a GetUserByVersionNotFound with default headers values

func (*GetUserByVersionNotFound) Error

func (o *GetUserByVersionNotFound) Error() string

func (*GetUserByVersionNotFound) GetPayload

func (o *GetUserByVersionNotFound) GetPayload() *models.HTTPError

func (*GetUserByVersionNotFound) IsClientError

func (o *GetUserByVersionNotFound) IsClientError() bool

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

func (*GetUserByVersionNotFound) IsCode

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

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

func (*GetUserByVersionNotFound) IsRedirect

func (o *GetUserByVersionNotFound) IsRedirect() bool

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

func (*GetUserByVersionNotFound) IsServerError

func (o *GetUserByVersionNotFound) IsServerError() bool

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

func (*GetUserByVersionNotFound) IsSuccess

func (o *GetUserByVersionNotFound) IsSuccess() bool

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

func (*GetUserByVersionNotFound) String

func (o *GetUserByVersionNotFound) String() string

type GetUserByVersionOK

type GetUserByVersionOK struct {
	Payload *models.UserVersionResponse
}
GetUserByVersionOK describes a response with status code 200, with default header values.

no error

func NewGetUserByVersionOK

func NewGetUserByVersionOK() *GetUserByVersionOK

NewGetUserByVersionOK creates a GetUserByVersionOK with default headers values

func (*GetUserByVersionOK) Error

func (o *GetUserByVersionOK) Error() string

func (*GetUserByVersionOK) GetPayload

func (*GetUserByVersionOK) IsClientError

func (o *GetUserByVersionOK) IsClientError() bool

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

func (*GetUserByVersionOK) IsCode

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

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

func (*GetUserByVersionOK) IsRedirect

func (o *GetUserByVersionOK) IsRedirect() bool

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

func (*GetUserByVersionOK) IsServerError

func (o *GetUserByVersionOK) IsServerError() bool

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

func (*GetUserByVersionOK) IsSuccess

func (o *GetUserByVersionOK) IsSuccess() bool

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

func (*GetUserByVersionOK) String

func (o *GetUserByVersionOK) String() string

type GetUserByVersionParams

type GetUserByVersionParams struct {

	/* Name.

	   Full user name to lookup user by
	*/
	Name string

	/* Version.

	   Versions to return

	   Format: int64
	*/
	Version int64

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

GetUserByVersionParams contains all the parameters to send to the API endpoint

for the get user by version operation.

Typically these are written to a http.Request.

func NewGetUserByVersionParams

func NewGetUserByVersionParams() *GetUserByVersionParams

NewGetUserByVersionParams creates a new GetUserByVersionParams 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 NewGetUserByVersionParamsWithContext

func NewGetUserByVersionParamsWithContext(ctx context.Context) *GetUserByVersionParams

NewGetUserByVersionParamsWithContext creates a new GetUserByVersionParams object with the ability to set a context for a request.

func NewGetUserByVersionParamsWithHTTPClient

func NewGetUserByVersionParamsWithHTTPClient(client *http.Client) *GetUserByVersionParams

NewGetUserByVersionParamsWithHTTPClient creates a new GetUserByVersionParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserByVersionParamsWithTimeout

func NewGetUserByVersionParamsWithTimeout(timeout time.Duration) *GetUserByVersionParams

NewGetUserByVersionParamsWithTimeout creates a new GetUserByVersionParams object with the ability to set a timeout on a request.

func (*GetUserByVersionParams) SetContext

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

SetContext adds the context to the get user by version params

func (*GetUserByVersionParams) SetDefaults

func (o *GetUserByVersionParams) SetDefaults()

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

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

func (*GetUserByVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user by version params

func (*GetUserByVersionParams) SetName

func (o *GetUserByVersionParams) SetName(name string)

SetName adds the name to the get user by version params

func (*GetUserByVersionParams) SetTimeout

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

SetTimeout adds the timeout to the get user by version params

func (*GetUserByVersionParams) SetVersion

func (o *GetUserByVersionParams) SetVersion(version int64)

SetVersion adds the version to the get user by version params

func (*GetUserByVersionParams) WithContext

WithContext adds the context to the get user by version params

func (*GetUserByVersionParams) WithDefaults

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

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

func (*GetUserByVersionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user by version params

func (*GetUserByVersionParams) WithName

WithName adds the name to the get user by version params

func (*GetUserByVersionParams) WithTimeout

WithTimeout adds the timeout to the get user by version params

func (*GetUserByVersionParams) WithVersion

func (o *GetUserByVersionParams) WithVersion(version int64) *GetUserByVersionParams

WithVersion adds the version to the get user by version params

func (*GetUserByVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserByVersionReader

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

GetUserByVersionReader is a Reader for the GetUserByVersion structure.

func (*GetUserByVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserByVersionUnauthorized

type GetUserByVersionUnauthorized struct {
	Payload *models.HTTPError
}
GetUserByVersionUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewGetUserByVersionUnauthorized

func NewGetUserByVersionUnauthorized() *GetUserByVersionUnauthorized

NewGetUserByVersionUnauthorized creates a GetUserByVersionUnauthorized with default headers values

func (*GetUserByVersionUnauthorized) Error

func (*GetUserByVersionUnauthorized) GetPayload

func (*GetUserByVersionUnauthorized) IsClientError

func (o *GetUserByVersionUnauthorized) IsClientError() bool

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

func (*GetUserByVersionUnauthorized) IsCode

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

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

func (*GetUserByVersionUnauthorized) IsRedirect

func (o *GetUserByVersionUnauthorized) IsRedirect() bool

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

func (*GetUserByVersionUnauthorized) IsServerError

func (o *GetUserByVersionUnauthorized) IsServerError() bool

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

func (*GetUserByVersionUnauthorized) IsSuccess

func (o *GetUserByVersionUnauthorized) IsSuccess() bool

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

func (*GetUserByVersionUnauthorized) String

type GetUserForbidden

type GetUserForbidden struct {
	Payload *models.HTTPError
}
GetUserForbidden describes a response with status code 403, with default header values.

forbidden

func NewGetUserForbidden

func NewGetUserForbidden() *GetUserForbidden

NewGetUserForbidden creates a GetUserForbidden with default headers values

func (*GetUserForbidden) Error

func (o *GetUserForbidden) Error() string

func (*GetUserForbidden) GetPayload

func (o *GetUserForbidden) GetPayload() *models.HTTPError

func (*GetUserForbidden) IsClientError

func (o *GetUserForbidden) IsClientError() bool

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

func (*GetUserForbidden) IsCode

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

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

func (*GetUserForbidden) IsRedirect

func (o *GetUserForbidden) IsRedirect() bool

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

func (*GetUserForbidden) IsServerError

func (o *GetUserForbidden) IsServerError() bool

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

func (*GetUserForbidden) IsSuccess

func (o *GetUserForbidden) IsSuccess() bool

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

func (*GetUserForbidden) String

func (o *GetUserForbidden) String() string

type GetUserInternalServerError

type GetUserInternalServerError struct {
	Payload *models.HTTPError
}
GetUserInternalServerError describes a response with status code 500, with default header values.

server error

func NewGetUserInternalServerError

func NewGetUserInternalServerError() *GetUserInternalServerError

NewGetUserInternalServerError creates a GetUserInternalServerError with default headers values

func (*GetUserInternalServerError) Error

func (*GetUserInternalServerError) GetPayload

func (o *GetUserInternalServerError) GetPayload() *models.HTTPError

func (*GetUserInternalServerError) IsClientError

func (o *GetUserInternalServerError) IsClientError() bool

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

func (*GetUserInternalServerError) IsCode

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

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

func (*GetUserInternalServerError) IsRedirect

func (o *GetUserInternalServerError) IsRedirect() bool

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

func (*GetUserInternalServerError) IsServerError

func (o *GetUserInternalServerError) IsServerError() bool

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

func (*GetUserInternalServerError) IsSuccess

func (o *GetUserInternalServerError) IsSuccess() bool

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

func (*GetUserInternalServerError) String

func (o *GetUserInternalServerError) String() string

type GetUserNotFound

type GetUserNotFound struct {
	Payload *models.HTTPError
}
GetUserNotFound describes a response with status code 404, with default header values.

not found

func NewGetUserNotFound

func NewGetUserNotFound() *GetUserNotFound

NewGetUserNotFound creates a GetUserNotFound with default headers values

func (*GetUserNotFound) Error

func (o *GetUserNotFound) Error() string

func (*GetUserNotFound) GetPayload

func (o *GetUserNotFound) GetPayload() *models.HTTPError

func (*GetUserNotFound) IsClientError

func (o *GetUserNotFound) IsClientError() bool

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

func (*GetUserNotFound) IsCode

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

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

func (*GetUserNotFound) IsRedirect

func (o *GetUserNotFound) IsRedirect() bool

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

func (*GetUserNotFound) IsServerError

func (o *GetUserNotFound) IsServerError() bool

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

func (*GetUserNotFound) IsSuccess

func (o *GetUserNotFound) IsSuccess() bool

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

func (*GetUserNotFound) String

func (o *GetUserNotFound) String() string

type GetUserOK

type GetUserOK struct {
	Payload *models.User
}
GetUserOK describes a response with status code 200, with default header values.

no error

func NewGetUserOK

func NewGetUserOK() *GetUserOK

NewGetUserOK creates a GetUserOK with default headers values

func (*GetUserOK) Error

func (o *GetUserOK) Error() string

func (*GetUserOK) GetPayload

func (o *GetUserOK) GetPayload() *models.User

func (*GetUserOK) IsClientError

func (o *GetUserOK) IsClientError() bool

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

func (*GetUserOK) IsCode

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

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

func (*GetUserOK) IsRedirect

func (o *GetUserOK) IsRedirect() bool

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

func (*GetUserOK) IsServerError

func (o *GetUserOK) IsServerError() bool

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

func (*GetUserOK) IsSuccess

func (o *GetUserOK) IsSuccess() bool

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

func (*GetUserOK) String

func (o *GetUserOK) String() string

type GetUserParams

type GetUserParams struct {

	/* Name.

	   Full user name to lookup user by
	*/
	Name string

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

GetUserParams contains all the parameters to send to the API endpoint

for the get user operation.

Typically these are written to a http.Request.

func NewGetUserParams

func NewGetUserParams() *GetUserParams

NewGetUserParams creates a new GetUserParams 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 NewGetUserParamsWithContext

func NewGetUserParamsWithContext(ctx context.Context) *GetUserParams

NewGetUserParamsWithContext creates a new GetUserParams object with the ability to set a context for a request.

func NewGetUserParamsWithHTTPClient

func NewGetUserParamsWithHTTPClient(client *http.Client) *GetUserParams

NewGetUserParamsWithHTTPClient creates a new GetUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserParamsWithTimeout

func NewGetUserParamsWithTimeout(timeout time.Duration) *GetUserParams

NewGetUserParamsWithTimeout creates a new GetUserParams object with the ability to set a timeout on a request.

func (*GetUserParams) SetContext

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

SetContext adds the context to the get user params

func (*GetUserParams) SetDefaults

func (o *GetUserParams) SetDefaults()

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

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

func (*GetUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user params

func (*GetUserParams) SetName

func (o *GetUserParams) SetName(name string)

SetName adds the name to the get user params

func (*GetUserParams) SetTimeout

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

SetTimeout adds the timeout to the get user params

func (*GetUserParams) WithContext

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

WithContext adds the context to the get user params

func (*GetUserParams) WithDefaults

func (o *GetUserParams) WithDefaults() *GetUserParams

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

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

func (*GetUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user params

func (*GetUserParams) WithName

func (o *GetUserParams) WithName(name string) *GetUserParams

WithName adds the name to the get user params

func (*GetUserParams) WithTimeout

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

WithTimeout adds the timeout to the get user params

func (*GetUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUserReader

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

GetUserReader is a Reader for the GetUser structure.

func (*GetUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserUnauthorized

type GetUserUnauthorized struct {
	Payload *models.HTTPError
}
GetUserUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewGetUserUnauthorized

func NewGetUserUnauthorized() *GetUserUnauthorized

NewGetUserUnauthorized creates a GetUserUnauthorized with default headers values

func (*GetUserUnauthorized) Error

func (o *GetUserUnauthorized) Error() string

func (*GetUserUnauthorized) GetPayload

func (o *GetUserUnauthorized) GetPayload() *models.HTTPError

func (*GetUserUnauthorized) IsClientError

func (o *GetUserUnauthorized) IsClientError() bool

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

func (*GetUserUnauthorized) IsCode

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

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

func (*GetUserUnauthorized) IsRedirect

func (o *GetUserUnauthorized) IsRedirect() bool

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

func (*GetUserUnauthorized) IsServerError

func (o *GetUserUnauthorized) IsServerError() bool

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

func (*GetUserUnauthorized) IsSuccess

func (o *GetUserUnauthorized) IsSuccess() bool

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

func (*GetUserUnauthorized) String

func (o *GetUserUnauthorized) String() string

type RestoreUserBadRequest

type RestoreUserBadRequest struct {
	Payload *models.HTTPError
}
RestoreUserBadRequest describes a response with status code 400, with default header values.

bad request

func NewRestoreUserBadRequest

func NewRestoreUserBadRequest() *RestoreUserBadRequest

NewRestoreUserBadRequest creates a RestoreUserBadRequest with default headers values

func (*RestoreUserBadRequest) Error

func (o *RestoreUserBadRequest) Error() string

func (*RestoreUserBadRequest) GetPayload

func (o *RestoreUserBadRequest) GetPayload() *models.HTTPError

func (*RestoreUserBadRequest) IsClientError

func (o *RestoreUserBadRequest) IsClientError() bool

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

func (*RestoreUserBadRequest) IsCode

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

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

func (*RestoreUserBadRequest) IsRedirect

func (o *RestoreUserBadRequest) IsRedirect() bool

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

func (*RestoreUserBadRequest) IsServerError

func (o *RestoreUserBadRequest) IsServerError() bool

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

func (*RestoreUserBadRequest) IsSuccess

func (o *RestoreUserBadRequest) IsSuccess() bool

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

func (*RestoreUserBadRequest) String

func (o *RestoreUserBadRequest) String() string

type RestoreUserForbidden

type RestoreUserForbidden struct {
	Payload *models.HTTPError
}
RestoreUserForbidden describes a response with status code 403, with default header values.

forbidden

func NewRestoreUserForbidden

func NewRestoreUserForbidden() *RestoreUserForbidden

NewRestoreUserForbidden creates a RestoreUserForbidden with default headers values

func (*RestoreUserForbidden) Error

func (o *RestoreUserForbidden) Error() string

func (*RestoreUserForbidden) GetPayload

func (o *RestoreUserForbidden) GetPayload() *models.HTTPError

func (*RestoreUserForbidden) IsClientError

func (o *RestoreUserForbidden) IsClientError() bool

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

func (*RestoreUserForbidden) IsCode

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

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

func (*RestoreUserForbidden) IsRedirect

func (o *RestoreUserForbidden) IsRedirect() bool

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

func (*RestoreUserForbidden) IsServerError

func (o *RestoreUserForbidden) IsServerError() bool

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

func (*RestoreUserForbidden) IsSuccess

func (o *RestoreUserForbidden) IsSuccess() bool

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

func (*RestoreUserForbidden) String

func (o *RestoreUserForbidden) String() string

type RestoreUserInternalServerError

type RestoreUserInternalServerError struct {
	Payload *models.HTTPError
}
RestoreUserInternalServerError describes a response with status code 500, with default header values.

server error

func NewRestoreUserInternalServerError

func NewRestoreUserInternalServerError() *RestoreUserInternalServerError

NewRestoreUserInternalServerError creates a RestoreUserInternalServerError with default headers values

func (*RestoreUserInternalServerError) Error

func (*RestoreUserInternalServerError) GetPayload

func (*RestoreUserInternalServerError) IsClientError

func (o *RestoreUserInternalServerError) IsClientError() bool

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

func (*RestoreUserInternalServerError) IsCode

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

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

func (*RestoreUserInternalServerError) IsRedirect

func (o *RestoreUserInternalServerError) IsRedirect() bool

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

func (*RestoreUserInternalServerError) IsServerError

func (o *RestoreUserInternalServerError) IsServerError() bool

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

func (*RestoreUserInternalServerError) IsSuccess

func (o *RestoreUserInternalServerError) IsSuccess() bool

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

func (*RestoreUserInternalServerError) String

type RestoreUserNotFound

type RestoreUserNotFound struct {
	Payload *models.HTTPError
}
RestoreUserNotFound describes a response with status code 404, with default header values.

not found

func NewRestoreUserNotFound

func NewRestoreUserNotFound() *RestoreUserNotFound

NewRestoreUserNotFound creates a RestoreUserNotFound with default headers values

func (*RestoreUserNotFound) Error

func (o *RestoreUserNotFound) Error() string

func (*RestoreUserNotFound) GetPayload

func (o *RestoreUserNotFound) GetPayload() *models.HTTPError

func (*RestoreUserNotFound) IsClientError

func (o *RestoreUserNotFound) IsClientError() bool

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

func (*RestoreUserNotFound) IsCode

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

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

func (*RestoreUserNotFound) IsRedirect

func (o *RestoreUserNotFound) IsRedirect() bool

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

func (*RestoreUserNotFound) IsServerError

func (o *RestoreUserNotFound) IsServerError() bool

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

func (*RestoreUserNotFound) IsSuccess

func (o *RestoreUserNotFound) IsSuccess() bool

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

func (*RestoreUserNotFound) String

func (o *RestoreUserNotFound) String() string

type RestoreUserOK

type RestoreUserOK struct {
}
RestoreUserOK describes a response with status code 200, with default header values.

no error

func NewRestoreUserOK

func NewRestoreUserOK() *RestoreUserOK

NewRestoreUserOK creates a RestoreUserOK with default headers values

func (*RestoreUserOK) Error

func (o *RestoreUserOK) Error() string

func (*RestoreUserOK) IsClientError

func (o *RestoreUserOK) IsClientError() bool

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

func (*RestoreUserOK) IsCode

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

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

func (*RestoreUserOK) IsRedirect

func (o *RestoreUserOK) IsRedirect() bool

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

func (*RestoreUserOK) IsServerError

func (o *RestoreUserOK) IsServerError() bool

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

func (*RestoreUserOK) IsSuccess

func (o *RestoreUserOK) IsSuccess() bool

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

func (*RestoreUserOK) String

func (o *RestoreUserOK) String() string

type RestoreUserParams

type RestoreUserParams struct {

	/* Name.

	   Full user name to lookup user by
	*/
	Name string

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

RestoreUserParams contains all the parameters to send to the API endpoint

for the restore user operation.

Typically these are written to a http.Request.

func NewRestoreUserParams

func NewRestoreUserParams() *RestoreUserParams

NewRestoreUserParams creates a new RestoreUserParams 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 NewRestoreUserParamsWithContext

func NewRestoreUserParamsWithContext(ctx context.Context) *RestoreUserParams

NewRestoreUserParamsWithContext creates a new RestoreUserParams object with the ability to set a context for a request.

func NewRestoreUserParamsWithHTTPClient

func NewRestoreUserParamsWithHTTPClient(client *http.Client) *RestoreUserParams

NewRestoreUserParamsWithHTTPClient creates a new RestoreUserParams object with the ability to set a custom HTTPClient for a request.

func NewRestoreUserParamsWithTimeout

func NewRestoreUserParamsWithTimeout(timeout time.Duration) *RestoreUserParams

NewRestoreUserParamsWithTimeout creates a new RestoreUserParams object with the ability to set a timeout on a request.

func (*RestoreUserParams) SetContext

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

SetContext adds the context to the restore user params

func (*RestoreUserParams) SetDefaults

func (o *RestoreUserParams) SetDefaults()

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

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

func (*RestoreUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the restore user params

func (*RestoreUserParams) SetName

func (o *RestoreUserParams) SetName(name string)

SetName adds the name to the restore user params

func (*RestoreUserParams) SetTimeout

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

SetTimeout adds the timeout to the restore user params

func (*RestoreUserParams) WithContext

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

WithContext adds the context to the restore user params

func (*RestoreUserParams) WithDefaults

func (o *RestoreUserParams) WithDefaults() *RestoreUserParams

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

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

func (*RestoreUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the restore user params

func (*RestoreUserParams) WithName

func (o *RestoreUserParams) WithName(name string) *RestoreUserParams

WithName adds the name to the restore user params

func (*RestoreUserParams) WithTimeout

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

WithTimeout adds the timeout to the restore user params

func (*RestoreUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RestoreUserReader

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

RestoreUserReader is a Reader for the RestoreUser structure.

func (*RestoreUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RestoreUserUnauthorized

type RestoreUserUnauthorized struct {
	Payload *models.HTTPError
}
RestoreUserUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewRestoreUserUnauthorized

func NewRestoreUserUnauthorized() *RestoreUserUnauthorized

NewRestoreUserUnauthorized creates a RestoreUserUnauthorized with default headers values

func (*RestoreUserUnauthorized) Error

func (o *RestoreUserUnauthorized) Error() string

func (*RestoreUserUnauthorized) GetPayload

func (o *RestoreUserUnauthorized) GetPayload() *models.HTTPError

func (*RestoreUserUnauthorized) IsClientError

func (o *RestoreUserUnauthorized) IsClientError() bool

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

func (*RestoreUserUnauthorized) IsCode

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

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

func (*RestoreUserUnauthorized) IsRedirect

func (o *RestoreUserUnauthorized) IsRedirect() bool

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

func (*RestoreUserUnauthorized) IsServerError

func (o *RestoreUserUnauthorized) IsServerError() bool

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

func (*RestoreUserUnauthorized) IsSuccess

func (o *RestoreUserUnauthorized) IsSuccess() bool

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

func (*RestoreUserUnauthorized) String

func (o *RestoreUserUnauthorized) String() string

type SearchUsersBadRequest

type SearchUsersBadRequest struct {
	Payload *models.HTTPError
}
SearchUsersBadRequest describes a response with status code 400, with default header values.

bad request

func NewSearchUsersBadRequest

func NewSearchUsersBadRequest() *SearchUsersBadRequest

NewSearchUsersBadRequest creates a SearchUsersBadRequest with default headers values

func (*SearchUsersBadRequest) Error

func (o *SearchUsersBadRequest) Error() string

func (*SearchUsersBadRequest) GetPayload

func (o *SearchUsersBadRequest) GetPayload() *models.HTTPError

func (*SearchUsersBadRequest) IsClientError

func (o *SearchUsersBadRequest) IsClientError() bool

IsClientError returns true when this search users bad request response has a 4xx status code

func (*SearchUsersBadRequest) IsCode

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

IsCode returns true when this search users bad request response a status code equal to that given

func (*SearchUsersBadRequest) IsRedirect

func (o *SearchUsersBadRequest) IsRedirect() bool

IsRedirect returns true when this search users bad request response has a 3xx status code

func (*SearchUsersBadRequest) IsServerError

func (o *SearchUsersBadRequest) IsServerError() bool

IsServerError returns true when this search users bad request response has a 5xx status code

func (*SearchUsersBadRequest) IsSuccess

func (o *SearchUsersBadRequest) IsSuccess() bool

IsSuccess returns true when this search users bad request response has a 2xx status code

func (*SearchUsersBadRequest) String

func (o *SearchUsersBadRequest) String() string

type SearchUsersForbidden

type SearchUsersForbidden struct {
	Payload *models.HTTPError
}
SearchUsersForbidden describes a response with status code 403, with default header values.

forbidden

func NewSearchUsersForbidden

func NewSearchUsersForbidden() *SearchUsersForbidden

NewSearchUsersForbidden creates a SearchUsersForbidden with default headers values

func (*SearchUsersForbidden) Error

func (o *SearchUsersForbidden) Error() string

func (*SearchUsersForbidden) GetPayload

func (o *SearchUsersForbidden) GetPayload() *models.HTTPError

func (*SearchUsersForbidden) IsClientError

func (o *SearchUsersForbidden) IsClientError() bool

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

func (*SearchUsersForbidden) IsCode

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

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

func (*SearchUsersForbidden) IsRedirect

func (o *SearchUsersForbidden) IsRedirect() bool

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

func (*SearchUsersForbidden) IsServerError

func (o *SearchUsersForbidden) IsServerError() bool

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

func (*SearchUsersForbidden) IsSuccess

func (o *SearchUsersForbidden) IsSuccess() bool

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

func (*SearchUsersForbidden) String

func (o *SearchUsersForbidden) String() string

type SearchUsersInternalServerError

type SearchUsersInternalServerError struct {
	Payload *models.HTTPError
}
SearchUsersInternalServerError describes a response with status code 500, with default header values.

server error

func NewSearchUsersInternalServerError

func NewSearchUsersInternalServerError() *SearchUsersInternalServerError

NewSearchUsersInternalServerError creates a SearchUsersInternalServerError with default headers values

func (*SearchUsersInternalServerError) Error

func (*SearchUsersInternalServerError) GetPayload

func (*SearchUsersInternalServerError) IsClientError

func (o *SearchUsersInternalServerError) IsClientError() bool

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

func (*SearchUsersInternalServerError) IsCode

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

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

func (*SearchUsersInternalServerError) IsRedirect

func (o *SearchUsersInternalServerError) IsRedirect() bool

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

func (*SearchUsersInternalServerError) IsServerError

func (o *SearchUsersInternalServerError) IsServerError() bool

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

func (*SearchUsersInternalServerError) IsSuccess

func (o *SearchUsersInternalServerError) IsSuccess() bool

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

func (*SearchUsersInternalServerError) String

type SearchUsersOK

type SearchUsersOK struct {
	Payload *models.ResponseModelSearch
}
SearchUsersOK describes a response with status code 200, with default header values.

no error

func NewSearchUsersOK

func NewSearchUsersOK() *SearchUsersOK

NewSearchUsersOK creates a SearchUsersOK with default headers values

func (*SearchUsersOK) Error

func (o *SearchUsersOK) Error() string

func (*SearchUsersOK) GetPayload

func (o *SearchUsersOK) GetPayload() *models.ResponseModelSearch

func (*SearchUsersOK) IsClientError

func (o *SearchUsersOK) IsClientError() bool

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

func (*SearchUsersOK) IsCode

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

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

func (*SearchUsersOK) IsRedirect

func (o *SearchUsersOK) IsRedirect() bool

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

func (*SearchUsersOK) IsServerError

func (o *SearchUsersOK) IsServerError() bool

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

func (*SearchUsersOK) IsSuccess

func (o *SearchUsersOK) IsSuccess() bool

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

func (*SearchUsersOK) String

func (o *SearchUsersOK) String() string

type SearchUsersParams

type SearchUsersParams struct {

	/* Cursor.

	   Cursor to next batch of results
	*/
	Cursor *string

	/* Limit.

	   The maximum number of results per cursor

	   Format: int64
	*/
	Limit *int64

	/* SearchComparison.

	   Comparison type (equal, contains, begins_with) for advanced searching
	*/
	Comparison *string

	/* SearchField.

	   User field for advanced searching
	*/
	Field *string

	/* SearchType.

	   Attribute type (string, number) to search on
	*/
	UnderlyingType *string

	/* SearchTerm.

	   Search pattern for names of users to look up
	*/
	SearchTerm *string

	/* Sort.

	   Sort results ascending (asc) or descending (desc) order by lastModified attribute on field search. Default is desc
	*/
	Sort *string

	/* SortedBy.

	   SortedBy order the result by name, created or lastModified attribute on field search. Default is lastModified
	*/
	SortedBy *string

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

SearchUsersParams contains all the parameters to send to the API endpoint

for the search users operation.

Typically these are written to a http.Request.

func NewSearchUsersParams

func NewSearchUsersParams() *SearchUsersParams

NewSearchUsersParams creates a new SearchUsersParams 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 NewSearchUsersParamsWithContext

func NewSearchUsersParamsWithContext(ctx context.Context) *SearchUsersParams

NewSearchUsersParamsWithContext creates a new SearchUsersParams object with the ability to set a context for a request.

func NewSearchUsersParamsWithHTTPClient

func NewSearchUsersParamsWithHTTPClient(client *http.Client) *SearchUsersParams

NewSearchUsersParamsWithHTTPClient creates a new SearchUsersParams object with the ability to set a custom HTTPClient for a request.

func NewSearchUsersParamsWithTimeout

func NewSearchUsersParamsWithTimeout(timeout time.Duration) *SearchUsersParams

NewSearchUsersParamsWithTimeout creates a new SearchUsersParams object with the ability to set a timeout on a request.

func (*SearchUsersParams) SetComparison

func (o *SearchUsersParams) SetComparison(searchComparison *string)

SetComparison adds the searchComparison to the search users params

func (*SearchUsersParams) SetContext

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

SetContext adds the context to the search users params

func (*SearchUsersParams) SetCursor

func (o *SearchUsersParams) SetCursor(cursor *string)

SetCursor adds the cursor to the search users params

func (*SearchUsersParams) SetDefaults

func (o *SearchUsersParams) SetDefaults()

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

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

func (*SearchUsersParams) SetField

func (o *SearchUsersParams) SetField(searchField *string)

SetField adds the searchField to the search users params

func (*SearchUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search users params

func (*SearchUsersParams) SetLimit

func (o *SearchUsersParams) SetLimit(limit *int64)

SetLimit adds the limit to the search users params

func (*SearchUsersParams) SetSearchTerm

func (o *SearchUsersParams) SetSearchTerm(searchTerm *string)

SetSearchTerm adds the searchTerm to the search users params

func (*SearchUsersParams) SetSort

func (o *SearchUsersParams) SetSort(sort *string)

SetSort adds the sort to the search users params

func (*SearchUsersParams) SetSortedBy

func (o *SearchUsersParams) SetSortedBy(sortedBy *string)

SetSortedBy adds the sortedBy to the search users params

func (*SearchUsersParams) SetTimeout

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

SetTimeout adds the timeout to the search users params

func (*SearchUsersParams) SetUnderlyingType

func (o *SearchUsersParams) SetUnderlyingType(searchType *string)

SetUnderlyingType adds the searchType to the search users params

func (*SearchUsersParams) WithComparison

func (o *SearchUsersParams) WithComparison(searchComparison *string) *SearchUsersParams

WithComparison adds the searchComparison to the search users params

func (*SearchUsersParams) WithContext

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

WithContext adds the context to the search users params

func (*SearchUsersParams) WithCursor

func (o *SearchUsersParams) WithCursor(cursor *string) *SearchUsersParams

WithCursor adds the cursor to the search users params

func (*SearchUsersParams) WithDefaults

func (o *SearchUsersParams) WithDefaults() *SearchUsersParams

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

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

func (*SearchUsersParams) WithField

func (o *SearchUsersParams) WithField(searchField *string) *SearchUsersParams

WithField adds the searchField to the search users params

func (*SearchUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search users params

func (*SearchUsersParams) WithLimit

func (o *SearchUsersParams) WithLimit(limit *int64) *SearchUsersParams

WithLimit adds the limit to the search users params

func (*SearchUsersParams) WithSearchTerm

func (o *SearchUsersParams) WithSearchTerm(searchTerm *string) *SearchUsersParams

WithSearchTerm adds the searchTerm to the search users params

func (*SearchUsersParams) WithSort

func (o *SearchUsersParams) WithSort(sort *string) *SearchUsersParams

WithSort adds the sort to the search users params

func (*SearchUsersParams) WithSortedBy

func (o *SearchUsersParams) WithSortedBy(sortedBy *string) *SearchUsersParams

WithSortedBy adds the sortedBy to the search users params

func (*SearchUsersParams) WithTimeout

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

WithTimeout adds the timeout to the search users params

func (*SearchUsersParams) WithUnderlyingType

func (o *SearchUsersParams) WithUnderlyingType(searchType *string) *SearchUsersParams

WithUnderlyingType adds the searchType to the search users params

func (*SearchUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SearchUsersReader

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

SearchUsersReader is a Reader for the SearchUsers structure.

func (*SearchUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchUsersUnauthorized

type SearchUsersUnauthorized struct {
	Payload *models.HTTPError
}
SearchUsersUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewSearchUsersUnauthorized

func NewSearchUsersUnauthorized() *SearchUsersUnauthorized

NewSearchUsersUnauthorized creates a SearchUsersUnauthorized with default headers values

func (*SearchUsersUnauthorized) Error

func (o *SearchUsersUnauthorized) Error() string

func (*SearchUsersUnauthorized) GetPayload

func (o *SearchUsersUnauthorized) GetPayload() *models.HTTPError

func (*SearchUsersUnauthorized) IsClientError

func (o *SearchUsersUnauthorized) IsClientError() bool

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

func (*SearchUsersUnauthorized) IsCode

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

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

func (*SearchUsersUnauthorized) IsRedirect

func (o *SearchUsersUnauthorized) IsRedirect() bool

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

func (*SearchUsersUnauthorized) IsServerError

func (o *SearchUsersUnauthorized) IsServerError() bool

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

func (*SearchUsersUnauthorized) IsSuccess

func (o *SearchUsersUnauthorized) IsSuccess() bool

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

func (*SearchUsersUnauthorized) String

func (o *SearchUsersUnauthorized) String() string

type UpdateUserBadRequest

type UpdateUserBadRequest struct {
	Payload *models.HTTPError
}
UpdateUserBadRequest describes a response with status code 400, with default header values.

bad request

func NewUpdateUserBadRequest

func NewUpdateUserBadRequest() *UpdateUserBadRequest

NewUpdateUserBadRequest creates a UpdateUserBadRequest with default headers values

func (*UpdateUserBadRequest) Error

func (o *UpdateUserBadRequest) Error() string

func (*UpdateUserBadRequest) GetPayload

func (o *UpdateUserBadRequest) GetPayload() *models.HTTPError

func (*UpdateUserBadRequest) IsClientError

func (o *UpdateUserBadRequest) IsClientError() bool

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

func (*UpdateUserBadRequest) IsCode

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

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

func (*UpdateUserBadRequest) IsRedirect

func (o *UpdateUserBadRequest) IsRedirect() bool

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

func (*UpdateUserBadRequest) IsServerError

func (o *UpdateUserBadRequest) IsServerError() bool

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

func (*UpdateUserBadRequest) IsSuccess

func (o *UpdateUserBadRequest) IsSuccess() bool

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

func (*UpdateUserBadRequest) String

func (o *UpdateUserBadRequest) String() string

type UpdateUserForbidden

type UpdateUserForbidden struct {
	Payload *models.HTTPError
}
UpdateUserForbidden describes a response with status code 403, with default header values.

forbidden

func NewUpdateUserForbidden

func NewUpdateUserForbidden() *UpdateUserForbidden

NewUpdateUserForbidden creates a UpdateUserForbidden with default headers values

func (*UpdateUserForbidden) Error

func (o *UpdateUserForbidden) Error() string

func (*UpdateUserForbidden) GetPayload

func (o *UpdateUserForbidden) GetPayload() *models.HTTPError

func (*UpdateUserForbidden) IsClientError

func (o *UpdateUserForbidden) IsClientError() bool

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

func (*UpdateUserForbidden) IsCode

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

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

func (*UpdateUserForbidden) IsRedirect

func (o *UpdateUserForbidden) IsRedirect() bool

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

func (*UpdateUserForbidden) IsServerError

func (o *UpdateUserForbidden) IsServerError() bool

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

func (*UpdateUserForbidden) IsSuccess

func (o *UpdateUserForbidden) IsSuccess() bool

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

func (*UpdateUserForbidden) String

func (o *UpdateUserForbidden) String() string

type UpdateUserInternalServerError

type UpdateUserInternalServerError struct {
	Payload *models.HTTPError
}
UpdateUserInternalServerError describes a response with status code 500, with default header values.

server error

func NewUpdateUserInternalServerError

func NewUpdateUserInternalServerError() *UpdateUserInternalServerError

NewUpdateUserInternalServerError creates a UpdateUserInternalServerError with default headers values

func (*UpdateUserInternalServerError) Error

func (*UpdateUserInternalServerError) GetPayload

func (*UpdateUserInternalServerError) IsClientError

func (o *UpdateUserInternalServerError) IsClientError() bool

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

func (*UpdateUserInternalServerError) IsCode

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

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

func (*UpdateUserInternalServerError) IsRedirect

func (o *UpdateUserInternalServerError) IsRedirect() bool

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

func (*UpdateUserInternalServerError) IsServerError

func (o *UpdateUserInternalServerError) IsServerError() bool

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

func (*UpdateUserInternalServerError) IsSuccess

func (o *UpdateUserInternalServerError) IsSuccess() bool

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

func (*UpdateUserInternalServerError) String

type UpdateUserOK

type UpdateUserOK struct {
	Payload *models.User
}
UpdateUserOK describes a response with status code 200, with default header values.

no error

func NewUpdateUserOK

func NewUpdateUserOK() *UpdateUserOK

NewUpdateUserOK creates a UpdateUserOK with default headers values

func (*UpdateUserOK) Error

func (o *UpdateUserOK) Error() string

func (*UpdateUserOK) GetPayload

func (o *UpdateUserOK) GetPayload() *models.User

func (*UpdateUserOK) IsClientError

func (o *UpdateUserOK) IsClientError() bool

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

func (*UpdateUserOK) IsCode

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

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

func (*UpdateUserOK) IsRedirect

func (o *UpdateUserOK) IsRedirect() bool

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

func (*UpdateUserOK) IsServerError

func (o *UpdateUserOK) IsServerError() bool

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

func (*UpdateUserOK) IsSuccess

func (o *UpdateUserOK) IsSuccess() bool

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

func (*UpdateUserOK) String

func (o *UpdateUserOK) String() string

type UpdateUserParams

type UpdateUserParams struct {

	// Body.
	Body *models.UserUpdateModel

	/* Name.

	   Full user name to lookup user by
	*/
	Name string

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

UpdateUserParams contains all the parameters to send to the API endpoint

for the update user operation.

Typically these are written to a http.Request.

func NewUpdateUserParams

func NewUpdateUserParams() *UpdateUserParams

NewUpdateUserParams creates a new UpdateUserParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateUserParamsWithContext

func NewUpdateUserParamsWithContext(ctx context.Context) *UpdateUserParams

NewUpdateUserParamsWithContext creates a new UpdateUserParams object with the ability to set a context for a request.

func NewUpdateUserParamsWithHTTPClient

func NewUpdateUserParamsWithHTTPClient(client *http.Client) *UpdateUserParams

NewUpdateUserParamsWithHTTPClient creates a new UpdateUserParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateUserParamsWithTimeout

func NewUpdateUserParamsWithTimeout(timeout time.Duration) *UpdateUserParams

NewUpdateUserParamsWithTimeout creates a new UpdateUserParams object with the ability to set a timeout on a request.

func (*UpdateUserParams) SetBody

func (o *UpdateUserParams) SetBody(body *models.UserUpdateModel)

SetBody adds the body to the update user params

func (*UpdateUserParams) SetContext

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

SetContext adds the context to the update user params

func (*UpdateUserParams) SetDefaults

func (o *UpdateUserParams) SetDefaults()

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

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

func (*UpdateUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update user params

func (*UpdateUserParams) SetName

func (o *UpdateUserParams) SetName(name string)

SetName adds the name to the update user params

func (*UpdateUserParams) SetTimeout

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

SetTimeout adds the timeout to the update user params

func (*UpdateUserParams) WithBody

WithBody adds the body to the update user params

func (*UpdateUserParams) WithContext

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

WithContext adds the context to the update user params

func (*UpdateUserParams) WithDefaults

func (o *UpdateUserParams) WithDefaults() *UpdateUserParams

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

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

func (*UpdateUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update user params

func (*UpdateUserParams) WithName

func (o *UpdateUserParams) WithName(name string) *UpdateUserParams

WithName adds the name to the update user params

func (*UpdateUserParams) WithTimeout

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

WithTimeout adds the timeout to the update user params

func (*UpdateUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateUserReader

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

UpdateUserReader is a Reader for the UpdateUser structure.

func (*UpdateUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateUserUnauthorized

type UpdateUserUnauthorized struct {
	Payload *models.HTTPError
}
UpdateUserUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewUpdateUserUnauthorized

func NewUpdateUserUnauthorized() *UpdateUserUnauthorized

NewUpdateUserUnauthorized creates a UpdateUserUnauthorized with default headers values

func (*UpdateUserUnauthorized) Error

func (o *UpdateUserUnauthorized) Error() string

func (*UpdateUserUnauthorized) GetPayload

func (o *UpdateUserUnauthorized) GetPayload() *models.HTTPError

func (*UpdateUserUnauthorized) IsClientError

func (o *UpdateUserUnauthorized) IsClientError() bool

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

func (*UpdateUserUnauthorized) IsCode

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

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

func (*UpdateUserUnauthorized) IsRedirect

func (o *UpdateUserUnauthorized) IsRedirect() bool

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

func (*UpdateUserUnauthorized) IsServerError

func (o *UpdateUserUnauthorized) IsServerError() bool

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

func (*UpdateUserUnauthorized) IsSuccess

func (o *UpdateUserUnauthorized) IsSuccess() bool

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

func (*UpdateUserUnauthorized) String

func (o *UpdateUserUnauthorized) String() string

Jump to

Keyboard shortcuts

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