accounts

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2018 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for accounts API

func New

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

New creates a new accounts API client.

func (*Client) CompleteRegistration

CompleteRegistration completes registration

Completing a registration e.g. for invited users. Finish registration with a username and a password.

func (*Client) FindUserByUsername

FindUserByUsername finds by username

func (*Client) FindUsers

FindUsers finds users

func (*Client) ListAllRoles

ListAllRoles lists roles

Listing of roles.

func (*Client) Login

func (a *Client) Login(params *LoginParams) (*LoginOK, error)

Login ID4i API Login

func (*Client) RegisterUser

RegisterUser registers user

Registering a new user.

func (*Client) RequestPasswordReset

RequestPasswordReset requests password reset

Requesting a reset for a new password.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) VerifyPasswordReset

VerifyPasswordReset verifies password reset

Setting a new password and verifying the request to set the password.

func (*Client) VerifyUserRegistration

VerifyUserRegistration verifies registration

Verifies a new user registration.

type CompleteRegistrationAccepted

type CompleteRegistrationAccepted struct {
}

CompleteRegistrationAccepted handles this case with default header values.

Accepted

func NewCompleteRegistrationAccepted

func NewCompleteRegistrationAccepted() *CompleteRegistrationAccepted

NewCompleteRegistrationAccepted creates a CompleteRegistrationAccepted with default headers values

func (*CompleteRegistrationAccepted) Error

type CompleteRegistrationBadRequest

type CompleteRegistrationBadRequest struct {
	Payload *api_models.APIError
}

CompleteRegistrationBadRequest handles this case with default header values.

Bad Request

func NewCompleteRegistrationBadRequest

func NewCompleteRegistrationBadRequest() *CompleteRegistrationBadRequest

NewCompleteRegistrationBadRequest creates a CompleteRegistrationBadRequest with default headers values

func (*CompleteRegistrationBadRequest) Error

type CompleteRegistrationConflict

type CompleteRegistrationConflict struct {
	Payload *api_models.APIError
}

CompleteRegistrationConflict handles this case with default header values.

Conflict

func NewCompleteRegistrationConflict

func NewCompleteRegistrationConflict() *CompleteRegistrationConflict

NewCompleteRegistrationConflict creates a CompleteRegistrationConflict with default headers values

func (*CompleteRegistrationConflict) Error

type CompleteRegistrationForbidden

type CompleteRegistrationForbidden struct {
	Payload *api_models.APIError
}

CompleteRegistrationForbidden handles this case with default header values.

Forbidden

func NewCompleteRegistrationForbidden

func NewCompleteRegistrationForbidden() *CompleteRegistrationForbidden

NewCompleteRegistrationForbidden creates a CompleteRegistrationForbidden with default headers values

func (*CompleteRegistrationForbidden) Error

type CompleteRegistrationInternalServerError

type CompleteRegistrationInternalServerError struct {
	Payload *api_models.APIError
}

CompleteRegistrationInternalServerError handles this case with default header values.

Internal Server Error

func NewCompleteRegistrationInternalServerError

func NewCompleteRegistrationInternalServerError() *CompleteRegistrationInternalServerError

NewCompleteRegistrationInternalServerError creates a CompleteRegistrationInternalServerError with default headers values

func (*CompleteRegistrationInternalServerError) Error

type CompleteRegistrationMethodNotAllowed

type CompleteRegistrationMethodNotAllowed struct {
	Payload *api_models.APIError
}

CompleteRegistrationMethodNotAllowed handles this case with default header values.

Method not allowed

func NewCompleteRegistrationMethodNotAllowed

func NewCompleteRegistrationMethodNotAllowed() *CompleteRegistrationMethodNotAllowed

NewCompleteRegistrationMethodNotAllowed creates a CompleteRegistrationMethodNotAllowed with default headers values

func (*CompleteRegistrationMethodNotAllowed) Error

type CompleteRegistrationNotAcceptable

type CompleteRegistrationNotAcceptable struct {
	Payload *api_models.APIError
}

CompleteRegistrationNotAcceptable handles this case with default header values.

Not Acceptable

func NewCompleteRegistrationNotAcceptable

func NewCompleteRegistrationNotAcceptable() *CompleteRegistrationNotAcceptable

NewCompleteRegistrationNotAcceptable creates a CompleteRegistrationNotAcceptable with default headers values

func (*CompleteRegistrationNotAcceptable) Error

type CompleteRegistrationNotFound

type CompleteRegistrationNotFound struct {
	Payload *api_models.APIError
}

CompleteRegistrationNotFound handles this case with default header values.

Not Found

func NewCompleteRegistrationNotFound

func NewCompleteRegistrationNotFound() *CompleteRegistrationNotFound

NewCompleteRegistrationNotFound creates a CompleteRegistrationNotFound with default headers values

func (*CompleteRegistrationNotFound) Error

type CompleteRegistrationOK

type CompleteRegistrationOK struct {
}

CompleteRegistrationOK handles this case with default header values.

OK

func NewCompleteRegistrationOK

func NewCompleteRegistrationOK() *CompleteRegistrationOK

NewCompleteRegistrationOK creates a CompleteRegistrationOK with default headers values

func (*CompleteRegistrationOK) Error

func (o *CompleteRegistrationOK) Error() string

type CompleteRegistrationParams

type CompleteRegistrationParams struct {

	/*CompleteRegistration
	  Contains the verification token, the username and the initial password.

	*/
	CompleteRegistration *api_models.CompleteUserRegistrationRequest

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

CompleteRegistrationParams contains all the parameters to send to the API endpoint for the complete registration operation typically these are written to a http.Request

func NewCompleteRegistrationParams

func NewCompleteRegistrationParams() *CompleteRegistrationParams

NewCompleteRegistrationParams creates a new CompleteRegistrationParams object with the default values initialized.

func NewCompleteRegistrationParamsWithContext

func NewCompleteRegistrationParamsWithContext(ctx context.Context) *CompleteRegistrationParams

NewCompleteRegistrationParamsWithContext creates a new CompleteRegistrationParams object with the default values initialized, and the ability to set a context for a request

func NewCompleteRegistrationParamsWithHTTPClient

func NewCompleteRegistrationParamsWithHTTPClient(client *http.Client) *CompleteRegistrationParams

NewCompleteRegistrationParamsWithHTTPClient creates a new CompleteRegistrationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCompleteRegistrationParamsWithTimeout

func NewCompleteRegistrationParamsWithTimeout(timeout time.Duration) *CompleteRegistrationParams

NewCompleteRegistrationParamsWithTimeout creates a new CompleteRegistrationParams object with the default values initialized, and the ability to set a timeout on a request

func (*CompleteRegistrationParams) SetCompleteRegistration

func (o *CompleteRegistrationParams) SetCompleteRegistration(completeRegistration *api_models.CompleteUserRegistrationRequest)

SetCompleteRegistration adds the completeRegistration to the complete registration params

func (*CompleteRegistrationParams) SetContext

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

SetContext adds the context to the complete registration params

func (*CompleteRegistrationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the complete registration params

func (*CompleteRegistrationParams) SetTimeout

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

SetTimeout adds the timeout to the complete registration params

func (*CompleteRegistrationParams) WithCompleteRegistration

func (o *CompleteRegistrationParams) WithCompleteRegistration(completeRegistration *api_models.CompleteUserRegistrationRequest) *CompleteRegistrationParams

WithCompleteRegistration adds the completeRegistration to the complete registration params

func (*CompleteRegistrationParams) WithContext

WithContext adds the context to the complete registration params

func (*CompleteRegistrationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the complete registration params

func (*CompleteRegistrationParams) WithTimeout

WithTimeout adds the timeout to the complete registration params

func (*CompleteRegistrationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CompleteRegistrationReader

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

CompleteRegistrationReader is a Reader for the CompleteRegistration structure.

func (*CompleteRegistrationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CompleteRegistrationUnauthorized

type CompleteRegistrationUnauthorized struct {
	Payload *api_models.APIError
}

CompleteRegistrationUnauthorized handles this case with default header values.

Unauthorized

func NewCompleteRegistrationUnauthorized

func NewCompleteRegistrationUnauthorized() *CompleteRegistrationUnauthorized

NewCompleteRegistrationUnauthorized creates a CompleteRegistrationUnauthorized with default headers values

func (*CompleteRegistrationUnauthorized) Error

type CompleteRegistrationUnsupportedMediaType

type CompleteRegistrationUnsupportedMediaType struct {
	Payload *api_models.APIError
}

CompleteRegistrationUnsupportedMediaType handles this case with default header values.

Unsupported Media Type

func NewCompleteRegistrationUnsupportedMediaType

func NewCompleteRegistrationUnsupportedMediaType() *CompleteRegistrationUnsupportedMediaType

NewCompleteRegistrationUnsupportedMediaType creates a CompleteRegistrationUnsupportedMediaType with default headers values

func (*CompleteRegistrationUnsupportedMediaType) Error

type FindUserByUsernameAccepted

type FindUserByUsernameAccepted struct {
}

FindUserByUsernameAccepted handles this case with default header values.

Accepted

func NewFindUserByUsernameAccepted

func NewFindUserByUsernameAccepted() *FindUserByUsernameAccepted

NewFindUserByUsernameAccepted creates a FindUserByUsernameAccepted with default headers values

func (*FindUserByUsernameAccepted) Error

type FindUserByUsernameForbidden

type FindUserByUsernameForbidden struct {
	Payload *api_models.APIError
}

FindUserByUsernameForbidden handles this case with default header values.

Forbidden

func NewFindUserByUsernameForbidden

func NewFindUserByUsernameForbidden() *FindUserByUsernameForbidden

NewFindUserByUsernameForbidden creates a FindUserByUsernameForbidden with default headers values

func (*FindUserByUsernameForbidden) Error

type FindUserByUsernameInternalServerError

type FindUserByUsernameInternalServerError struct {
	Payload *api_models.APIError
}

FindUserByUsernameInternalServerError handles this case with default header values.

Internal Server Error

func NewFindUserByUsernameInternalServerError

func NewFindUserByUsernameInternalServerError() *FindUserByUsernameInternalServerError

NewFindUserByUsernameInternalServerError creates a FindUserByUsernameInternalServerError with default headers values

func (*FindUserByUsernameInternalServerError) Error

type FindUserByUsernameMethodNotAllowed

type FindUserByUsernameMethodNotAllowed struct {
	Payload *api_models.APIError
}

FindUserByUsernameMethodNotAllowed handles this case with default header values.

Method not allowed

func NewFindUserByUsernameMethodNotAllowed

func NewFindUserByUsernameMethodNotAllowed() *FindUserByUsernameMethodNotAllowed

NewFindUserByUsernameMethodNotAllowed creates a FindUserByUsernameMethodNotAllowed with default headers values

func (*FindUserByUsernameMethodNotAllowed) Error

type FindUserByUsernameNotAcceptable

type FindUserByUsernameNotAcceptable struct {
	Payload *api_models.APIError
}

FindUserByUsernameNotAcceptable handles this case with default header values.

Not Acceptable

func NewFindUserByUsernameNotAcceptable

func NewFindUserByUsernameNotAcceptable() *FindUserByUsernameNotAcceptable

NewFindUserByUsernameNotAcceptable creates a FindUserByUsernameNotAcceptable with default headers values

func (*FindUserByUsernameNotAcceptable) Error

type FindUserByUsernameNotFound

type FindUserByUsernameNotFound struct {
	Payload *api_models.APIError
}

FindUserByUsernameNotFound handles this case with default header values.

Not Found

func NewFindUserByUsernameNotFound

func NewFindUserByUsernameNotFound() *FindUserByUsernameNotFound

NewFindUserByUsernameNotFound creates a FindUserByUsernameNotFound with default headers values

func (*FindUserByUsernameNotFound) Error

type FindUserByUsernameOK

type FindUserByUsernameOK struct {
	Payload *api_models.UserPresentation
}

FindUserByUsernameOK handles this case with default header values.

OK

func NewFindUserByUsernameOK

func NewFindUserByUsernameOK() *FindUserByUsernameOK

NewFindUserByUsernameOK creates a FindUserByUsernameOK with default headers values

func (*FindUserByUsernameOK) Error

func (o *FindUserByUsernameOK) Error() string

type FindUserByUsernameParams

type FindUserByUsernameParams struct {

	/*Username
	  username

	*/
	Username string

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

FindUserByUsernameParams contains all the parameters to send to the API endpoint for the find user by username operation typically these are written to a http.Request

func NewFindUserByUsernameParams

func NewFindUserByUsernameParams() *FindUserByUsernameParams

NewFindUserByUsernameParams creates a new FindUserByUsernameParams object with the default values initialized.

func NewFindUserByUsernameParamsWithContext

func NewFindUserByUsernameParamsWithContext(ctx context.Context) *FindUserByUsernameParams

NewFindUserByUsernameParamsWithContext creates a new FindUserByUsernameParams object with the default values initialized, and the ability to set a context for a request

func NewFindUserByUsernameParamsWithHTTPClient

func NewFindUserByUsernameParamsWithHTTPClient(client *http.Client) *FindUserByUsernameParams

NewFindUserByUsernameParamsWithHTTPClient creates a new FindUserByUsernameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewFindUserByUsernameParamsWithTimeout

func NewFindUserByUsernameParamsWithTimeout(timeout time.Duration) *FindUserByUsernameParams

NewFindUserByUsernameParamsWithTimeout creates a new FindUserByUsernameParams object with the default values initialized, and the ability to set a timeout on a request

func (*FindUserByUsernameParams) SetContext

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

SetContext adds the context to the find user by username params

func (*FindUserByUsernameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the find user by username params

func (*FindUserByUsernameParams) SetTimeout

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

SetTimeout adds the timeout to the find user by username params

func (*FindUserByUsernameParams) SetUsername

func (o *FindUserByUsernameParams) SetUsername(username string)

SetUsername adds the username to the find user by username params

func (*FindUserByUsernameParams) WithContext

WithContext adds the context to the find user by username params

func (*FindUserByUsernameParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the find user by username params

func (*FindUserByUsernameParams) WithTimeout

WithTimeout adds the timeout to the find user by username params

func (*FindUserByUsernameParams) WithUsername

func (o *FindUserByUsernameParams) WithUsername(username string) *FindUserByUsernameParams

WithUsername adds the username to the find user by username params

func (*FindUserByUsernameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FindUserByUsernameReader

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

FindUserByUsernameReader is a Reader for the FindUserByUsername structure.

func (*FindUserByUsernameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FindUserByUsernameUnauthorized

type FindUserByUsernameUnauthorized struct {
	Payload *api_models.APIError
}

FindUserByUsernameUnauthorized handles this case with default header values.

Unauthorized

func NewFindUserByUsernameUnauthorized

func NewFindUserByUsernameUnauthorized() *FindUserByUsernameUnauthorized

NewFindUserByUsernameUnauthorized creates a FindUserByUsernameUnauthorized with default headers values

func (*FindUserByUsernameUnauthorized) Error

type FindUserByUsernameUnsupportedMediaType

type FindUserByUsernameUnsupportedMediaType struct {
	Payload *api_models.APIError
}

FindUserByUsernameUnsupportedMediaType handles this case with default header values.

Unsupported Media Type

func NewFindUserByUsernameUnsupportedMediaType

func NewFindUserByUsernameUnsupportedMediaType() *FindUserByUsernameUnsupportedMediaType

NewFindUserByUsernameUnsupportedMediaType creates a FindUserByUsernameUnsupportedMediaType with default headers values

func (*FindUserByUsernameUnsupportedMediaType) Error

type FindUsersAccepted

type FindUsersAccepted struct {
}

FindUsersAccepted handles this case with default header values.

Accepted

func NewFindUsersAccepted

func NewFindUsersAccepted() *FindUsersAccepted

NewFindUsersAccepted creates a FindUsersAccepted with default headers values

func (*FindUsersAccepted) Error

func (o *FindUsersAccepted) Error() string

type FindUsersForbidden

type FindUsersForbidden struct {
	Payload *api_models.APIError
}

FindUsersForbidden handles this case with default header values.

Forbidden

func NewFindUsersForbidden

func NewFindUsersForbidden() *FindUsersForbidden

NewFindUsersForbidden creates a FindUsersForbidden with default headers values

func (*FindUsersForbidden) Error

func (o *FindUsersForbidden) Error() string

type FindUsersInternalServerError

type FindUsersInternalServerError struct {
	Payload *api_models.APIError
}

FindUsersInternalServerError handles this case with default header values.

Internal Server Error

func NewFindUsersInternalServerError

func NewFindUsersInternalServerError() *FindUsersInternalServerError

NewFindUsersInternalServerError creates a FindUsersInternalServerError with default headers values

func (*FindUsersInternalServerError) Error

type FindUsersMethodNotAllowed

type FindUsersMethodNotAllowed struct {
	Payload *api_models.APIError
}

FindUsersMethodNotAllowed handles this case with default header values.

Method not allowed

func NewFindUsersMethodNotAllowed

func NewFindUsersMethodNotAllowed() *FindUsersMethodNotAllowed

NewFindUsersMethodNotAllowed creates a FindUsersMethodNotAllowed with default headers values

func (*FindUsersMethodNotAllowed) Error

func (o *FindUsersMethodNotAllowed) Error() string

type FindUsersNotAcceptable

type FindUsersNotAcceptable struct {
	Payload *api_models.APIError
}

FindUsersNotAcceptable handles this case with default header values.

Not Acceptable

func NewFindUsersNotAcceptable

func NewFindUsersNotAcceptable() *FindUsersNotAcceptable

NewFindUsersNotAcceptable creates a FindUsersNotAcceptable with default headers values

func (*FindUsersNotAcceptable) Error

func (o *FindUsersNotAcceptable) Error() string

type FindUsersNotFound

type FindUsersNotFound struct {
	Payload *api_models.APIError
}

FindUsersNotFound handles this case with default header values.

Not Found

func NewFindUsersNotFound

func NewFindUsersNotFound() *FindUsersNotFound

NewFindUsersNotFound creates a FindUsersNotFound with default headers values

func (*FindUsersNotFound) Error

func (o *FindUsersNotFound) Error() string

type FindUsersOK

type FindUsersOK struct {
	Payload *api_models.PaginatedUserPresentationResponse
}

FindUsersOK handles this case with default header values.

OK

func NewFindUsersOK

func NewFindUsersOK() *FindUsersOK

NewFindUsersOK creates a FindUsersOK with default headers values

func (*FindUsersOK) Error

func (o *FindUsersOK) Error() string

type FindUsersParams

type FindUsersParams struct {

	/*Limit
	  The maximum count of returned elements

	*/
	Limit *int32
	/*Offset
	  Start with the n-th element

	*/
	Offset *int32
	/*UsernamePrefix*/
	UsernamePrefix *string

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

FindUsersParams contains all the parameters to send to the API endpoint for the find users operation typically these are written to a http.Request

func NewFindUsersParams

func NewFindUsersParams() *FindUsersParams

NewFindUsersParams creates a new FindUsersParams object with the default values initialized.

func NewFindUsersParamsWithContext

func NewFindUsersParamsWithContext(ctx context.Context) *FindUsersParams

NewFindUsersParamsWithContext creates a new FindUsersParams object with the default values initialized, and the ability to set a context for a request

func NewFindUsersParamsWithHTTPClient

func NewFindUsersParamsWithHTTPClient(client *http.Client) *FindUsersParams

NewFindUsersParamsWithHTTPClient creates a new FindUsersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewFindUsersParamsWithTimeout

func NewFindUsersParamsWithTimeout(timeout time.Duration) *FindUsersParams

NewFindUsersParamsWithTimeout creates a new FindUsersParams object with the default values initialized, and the ability to set a timeout on a request

func (*FindUsersParams) SetContext

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

SetContext adds the context to the find users params

func (*FindUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the find users params

func (*FindUsersParams) SetLimit

func (o *FindUsersParams) SetLimit(limit *int32)

SetLimit adds the limit to the find users params

func (*FindUsersParams) SetOffset

func (o *FindUsersParams) SetOffset(offset *int32)

SetOffset adds the offset to the find users params

func (*FindUsersParams) SetTimeout

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

SetTimeout adds the timeout to the find users params

func (*FindUsersParams) SetUsernamePrefix

func (o *FindUsersParams) SetUsernamePrefix(usernamePrefix *string)

SetUsernamePrefix adds the usernamePrefix to the find users params

func (*FindUsersParams) WithContext

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

WithContext adds the context to the find users params

func (*FindUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the find users params

func (*FindUsersParams) WithLimit

func (o *FindUsersParams) WithLimit(limit *int32) *FindUsersParams

WithLimit adds the limit to the find users params

func (*FindUsersParams) WithOffset

func (o *FindUsersParams) WithOffset(offset *int32) *FindUsersParams

WithOffset adds the offset to the find users params

func (*FindUsersParams) WithTimeout

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

WithTimeout adds the timeout to the find users params

func (*FindUsersParams) WithUsernamePrefix

func (o *FindUsersParams) WithUsernamePrefix(usernamePrefix *string) *FindUsersParams

WithUsernamePrefix adds the usernamePrefix to the find users params

func (*FindUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FindUsersReader

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

FindUsersReader is a Reader for the FindUsers structure.

func (*FindUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FindUsersUnauthorized

type FindUsersUnauthorized struct {
	Payload *api_models.APIError
}

FindUsersUnauthorized handles this case with default header values.

Unauthorized

func NewFindUsersUnauthorized

func NewFindUsersUnauthorized() *FindUsersUnauthorized

NewFindUsersUnauthorized creates a FindUsersUnauthorized with default headers values

func (*FindUsersUnauthorized) Error

func (o *FindUsersUnauthorized) Error() string

type FindUsersUnsupportedMediaType

type FindUsersUnsupportedMediaType struct {
	Payload *api_models.APIError
}

FindUsersUnsupportedMediaType handles this case with default header values.

Unsupported Media Type

func NewFindUsersUnsupportedMediaType

func NewFindUsersUnsupportedMediaType() *FindUsersUnsupportedMediaType

NewFindUsersUnsupportedMediaType creates a FindUsersUnsupportedMediaType with default headers values

func (*FindUsersUnsupportedMediaType) Error

type ListAllRolesAccepted

type ListAllRolesAccepted struct {
}

ListAllRolesAccepted handles this case with default header values.

Accepted

func NewListAllRolesAccepted

func NewListAllRolesAccepted() *ListAllRolesAccepted

NewListAllRolesAccepted creates a ListAllRolesAccepted with default headers values

func (*ListAllRolesAccepted) Error

func (o *ListAllRolesAccepted) Error() string

type ListAllRolesForbidden

type ListAllRolesForbidden struct {
	Payload *api_models.APIError
}

ListAllRolesForbidden handles this case with default header values.

Forbidden

func NewListAllRolesForbidden

func NewListAllRolesForbidden() *ListAllRolesForbidden

NewListAllRolesForbidden creates a ListAllRolesForbidden with default headers values

func (*ListAllRolesForbidden) Error

func (o *ListAllRolesForbidden) Error() string

type ListAllRolesInternalServerError

type ListAllRolesInternalServerError struct {
	Payload *api_models.APIError
}

ListAllRolesInternalServerError handles this case with default header values.

Internal Server Error

func NewListAllRolesInternalServerError

func NewListAllRolesInternalServerError() *ListAllRolesInternalServerError

NewListAllRolesInternalServerError creates a ListAllRolesInternalServerError with default headers values

func (*ListAllRolesInternalServerError) Error

type ListAllRolesMethodNotAllowed

type ListAllRolesMethodNotAllowed struct {
	Payload *api_models.APIError
}

ListAllRolesMethodNotAllowed handles this case with default header values.

Method not allowed

func NewListAllRolesMethodNotAllowed

func NewListAllRolesMethodNotAllowed() *ListAllRolesMethodNotAllowed

NewListAllRolesMethodNotAllowed creates a ListAllRolesMethodNotAllowed with default headers values

func (*ListAllRolesMethodNotAllowed) Error

type ListAllRolesNotAcceptable

type ListAllRolesNotAcceptable struct {
	Payload *api_models.APIError
}

ListAllRolesNotAcceptable handles this case with default header values.

Not Acceptable

func NewListAllRolesNotAcceptable

func NewListAllRolesNotAcceptable() *ListAllRolesNotAcceptable

NewListAllRolesNotAcceptable creates a ListAllRolesNotAcceptable with default headers values

func (*ListAllRolesNotAcceptable) Error

func (o *ListAllRolesNotAcceptable) Error() string

type ListAllRolesNotFound

type ListAllRolesNotFound struct {
	Payload *api_models.APIError
}

ListAllRolesNotFound handles this case with default header values.

Not Found

func NewListAllRolesNotFound

func NewListAllRolesNotFound() *ListAllRolesNotFound

NewListAllRolesNotFound creates a ListAllRolesNotFound with default headers values

func (*ListAllRolesNotFound) Error

func (o *ListAllRolesNotFound) Error() string

type ListAllRolesOK

type ListAllRolesOK struct {
	Payload *api_models.RoleResponse
}

ListAllRolesOK handles this case with default header values.

OK

func NewListAllRolesOK

func NewListAllRolesOK() *ListAllRolesOK

NewListAllRolesOK creates a ListAllRolesOK with default headers values

func (*ListAllRolesOK) Error

func (o *ListAllRolesOK) Error() string

type ListAllRolesParams

type ListAllRolesParams struct {

	/*Limit
	  The maximum count of returned elements

	*/
	Limit *int32
	/*Offset
	  Start with the n-th element

	*/
	Offset *int32
	/*Privilege
	  If specified the roles will be filtered containing that privilege.

	*/
	Privilege *string

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

ListAllRolesParams contains all the parameters to send to the API endpoint for the list all roles operation typically these are written to a http.Request

func NewListAllRolesParams

func NewListAllRolesParams() *ListAllRolesParams

NewListAllRolesParams creates a new ListAllRolesParams object with the default values initialized.

func NewListAllRolesParamsWithContext

func NewListAllRolesParamsWithContext(ctx context.Context) *ListAllRolesParams

NewListAllRolesParamsWithContext creates a new ListAllRolesParams object with the default values initialized, and the ability to set a context for a request

func NewListAllRolesParamsWithHTTPClient

func NewListAllRolesParamsWithHTTPClient(client *http.Client) *ListAllRolesParams

NewListAllRolesParamsWithHTTPClient creates a new ListAllRolesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListAllRolesParamsWithTimeout

func NewListAllRolesParamsWithTimeout(timeout time.Duration) *ListAllRolesParams

NewListAllRolesParamsWithTimeout creates a new ListAllRolesParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListAllRolesParams) SetContext

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

SetContext adds the context to the list all roles params

func (*ListAllRolesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list all roles params

func (*ListAllRolesParams) SetLimit

func (o *ListAllRolesParams) SetLimit(limit *int32)

SetLimit adds the limit to the list all roles params

func (*ListAllRolesParams) SetOffset

func (o *ListAllRolesParams) SetOffset(offset *int32)

SetOffset adds the offset to the list all roles params

func (*ListAllRolesParams) SetPrivilege

func (o *ListAllRolesParams) SetPrivilege(privilege *string)

SetPrivilege adds the privilege to the list all roles params

func (*ListAllRolesParams) SetTimeout

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

SetTimeout adds the timeout to the list all roles params

func (*ListAllRolesParams) WithContext

WithContext adds the context to the list all roles params

func (*ListAllRolesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list all roles params

func (*ListAllRolesParams) WithLimit

func (o *ListAllRolesParams) WithLimit(limit *int32) *ListAllRolesParams

WithLimit adds the limit to the list all roles params

func (*ListAllRolesParams) WithOffset

func (o *ListAllRolesParams) WithOffset(offset *int32) *ListAllRolesParams

WithOffset adds the offset to the list all roles params

func (*ListAllRolesParams) WithPrivilege

func (o *ListAllRolesParams) WithPrivilege(privilege *string) *ListAllRolesParams

WithPrivilege adds the privilege to the list all roles params

func (*ListAllRolesParams) WithTimeout

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

WithTimeout adds the timeout to the list all roles params

func (*ListAllRolesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListAllRolesReader

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

ListAllRolesReader is a Reader for the ListAllRoles structure.

func (*ListAllRolesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAllRolesUnauthorized

type ListAllRolesUnauthorized struct {
	Payload *api_models.APIError
}

ListAllRolesUnauthorized handles this case with default header values.

Unauthorized

func NewListAllRolesUnauthorized

func NewListAllRolesUnauthorized() *ListAllRolesUnauthorized

NewListAllRolesUnauthorized creates a ListAllRolesUnauthorized with default headers values

func (*ListAllRolesUnauthorized) Error

func (o *ListAllRolesUnauthorized) Error() string

type ListAllRolesUnsupportedMediaType

type ListAllRolesUnsupportedMediaType struct {
	Payload *api_models.APIError
}

ListAllRolesUnsupportedMediaType handles this case with default header values.

Unsupported Media Type

func NewListAllRolesUnsupportedMediaType

func NewListAllRolesUnsupportedMediaType() *ListAllRolesUnsupportedMediaType

NewListAllRolesUnsupportedMediaType creates a ListAllRolesUnsupportedMediaType with default headers values

func (*ListAllRolesUnsupportedMediaType) Error

type LoginOK

type LoginOK struct {
}

LoginOK handles this case with default header values.

OK

func NewLoginOK

func NewLoginOK() *LoginOK

NewLoginOK creates a LoginOK with default headers values

func (*LoginOK) Error

func (o *LoginOK) Error() string

type LoginParams

type LoginParams struct {

	/*AccountCredentials*/
	AccountCredentials *api_models.AccountCredentials

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

LoginParams contains all the parameters to send to the API endpoint for the login operation typically these are written to a http.Request

func NewLoginParams

func NewLoginParams() *LoginParams

NewLoginParams creates a new LoginParams object with the default values initialized.

func NewLoginParamsWithContext

func NewLoginParamsWithContext(ctx context.Context) *LoginParams

NewLoginParamsWithContext creates a new LoginParams object with the default values initialized, and the ability to set a context for a request

func NewLoginParamsWithHTTPClient

func NewLoginParamsWithHTTPClient(client *http.Client) *LoginParams

NewLoginParamsWithHTTPClient creates a new LoginParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewLoginParamsWithTimeout

func NewLoginParamsWithTimeout(timeout time.Duration) *LoginParams

NewLoginParamsWithTimeout creates a new LoginParams object with the default values initialized, and the ability to set a timeout on a request

func (*LoginParams) SetAccountCredentials

func (o *LoginParams) SetAccountCredentials(accountCredentials *api_models.AccountCredentials)

SetAccountCredentials adds the accountCredentials to the login params

func (*LoginParams) SetContext

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

SetContext adds the context to the login params

func (*LoginParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the login params

func (*LoginParams) SetTimeout

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

SetTimeout adds the timeout to the login params

func (*LoginParams) WithAccountCredentials

func (o *LoginParams) WithAccountCredentials(accountCredentials *api_models.AccountCredentials) *LoginParams

WithAccountCredentials adds the accountCredentials to the login params

func (*LoginParams) WithContext

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

WithContext adds the context to the login params

func (*LoginParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the login params

func (*LoginParams) WithTimeout

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

WithTimeout adds the timeout to the login params

func (*LoginParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type LoginReader

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

LoginReader is a Reader for the Login structure.

func (*LoginReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LoginUnauthorized

type LoginUnauthorized struct {
	Payload *api_models.APIError
}

LoginUnauthorized handles this case with default header values.

Unauthorized

func NewLoginUnauthorized

func NewLoginUnauthorized() *LoginUnauthorized

NewLoginUnauthorized creates a LoginUnauthorized with default headers values

func (*LoginUnauthorized) Error

func (o *LoginUnauthorized) Error() string

type RegisterUserAccepted

type RegisterUserAccepted struct {
}

RegisterUserAccepted handles this case with default header values.

Accepted

func NewRegisterUserAccepted

func NewRegisterUserAccepted() *RegisterUserAccepted

NewRegisterUserAccepted creates a RegisterUserAccepted with default headers values

func (*RegisterUserAccepted) Error

func (o *RegisterUserAccepted) Error() string

type RegisterUserBadRequest

type RegisterUserBadRequest struct {
	Payload *api_models.APIError
}

RegisterUserBadRequest handles this case with default header values.

Bad Request

func NewRegisterUserBadRequest

func NewRegisterUserBadRequest() *RegisterUserBadRequest

NewRegisterUserBadRequest creates a RegisterUserBadRequest with default headers values

func (*RegisterUserBadRequest) Error

func (o *RegisterUserBadRequest) Error() string

type RegisterUserConflict

type RegisterUserConflict struct {
	Payload *api_models.APIError
}

RegisterUserConflict handles this case with default header values.

Conflict

func NewRegisterUserConflict

func NewRegisterUserConflict() *RegisterUserConflict

NewRegisterUserConflict creates a RegisterUserConflict with default headers values

func (*RegisterUserConflict) Error

func (o *RegisterUserConflict) Error() string

type RegisterUserCreated

type RegisterUserCreated struct {
}

RegisterUserCreated handles this case with default header values.

Created

func NewRegisterUserCreated

func NewRegisterUserCreated() *RegisterUserCreated

NewRegisterUserCreated creates a RegisterUserCreated with default headers values

func (*RegisterUserCreated) Error

func (o *RegisterUserCreated) Error() string

type RegisterUserForbidden

type RegisterUserForbidden struct {
	Payload *api_models.APIError
}

RegisterUserForbidden handles this case with default header values.

Forbidden

func NewRegisterUserForbidden

func NewRegisterUserForbidden() *RegisterUserForbidden

NewRegisterUserForbidden creates a RegisterUserForbidden with default headers values

func (*RegisterUserForbidden) Error

func (o *RegisterUserForbidden) Error() string

type RegisterUserInternalServerError

type RegisterUserInternalServerError struct {
	Payload *api_models.APIError
}

RegisterUserInternalServerError handles this case with default header values.

Internal Server Error

func NewRegisterUserInternalServerError

func NewRegisterUserInternalServerError() *RegisterUserInternalServerError

NewRegisterUserInternalServerError creates a RegisterUserInternalServerError with default headers values

func (*RegisterUserInternalServerError) Error

type RegisterUserMethodNotAllowed

type RegisterUserMethodNotAllowed struct {
	Payload *api_models.APIError
}

RegisterUserMethodNotAllowed handles this case with default header values.

Method not allowed

func NewRegisterUserMethodNotAllowed

func NewRegisterUserMethodNotAllowed() *RegisterUserMethodNotAllowed

NewRegisterUserMethodNotAllowed creates a RegisterUserMethodNotAllowed with default headers values

func (*RegisterUserMethodNotAllowed) Error

type RegisterUserNotAcceptable

type RegisterUserNotAcceptable struct {
	Payload *api_models.APIError
}

RegisterUserNotAcceptable handles this case with default header values.

Not Acceptable

func NewRegisterUserNotAcceptable

func NewRegisterUserNotAcceptable() *RegisterUserNotAcceptable

NewRegisterUserNotAcceptable creates a RegisterUserNotAcceptable with default headers values

func (*RegisterUserNotAcceptable) Error

func (o *RegisterUserNotAcceptable) Error() string

type RegisterUserNotFound

type RegisterUserNotFound struct {
	Payload *api_models.APIError
}

RegisterUserNotFound handles this case with default header values.

Not Found

func NewRegisterUserNotFound

func NewRegisterUserNotFound() *RegisterUserNotFound

NewRegisterUserNotFound creates a RegisterUserNotFound with default headers values

func (*RegisterUserNotFound) Error

func (o *RegisterUserNotFound) Error() string

type RegisterUserOK

type RegisterUserOK struct {
	Payload *api_models.UserRegistrationResponse
}

RegisterUserOK handles this case with default header values.

OK

func NewRegisterUserOK

func NewRegisterUserOK() *RegisterUserOK

NewRegisterUserOK creates a RegisterUserOK with default headers values

func (*RegisterUserOK) Error

func (o *RegisterUserOK) Error() string

type RegisterUserParams

type RegisterUserParams struct {

	/*UserRegistration
	  The user information about the new created user.

	*/
	UserRegistration *api_models.UserRegistrationRequest

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

RegisterUserParams contains all the parameters to send to the API endpoint for the register user operation typically these are written to a http.Request

func NewRegisterUserParams

func NewRegisterUserParams() *RegisterUserParams

NewRegisterUserParams creates a new RegisterUserParams object with the default values initialized.

func NewRegisterUserParamsWithContext

func NewRegisterUserParamsWithContext(ctx context.Context) *RegisterUserParams

NewRegisterUserParamsWithContext creates a new RegisterUserParams object with the default values initialized, and the ability to set a context for a request

func NewRegisterUserParamsWithHTTPClient

func NewRegisterUserParamsWithHTTPClient(client *http.Client) *RegisterUserParams

NewRegisterUserParamsWithHTTPClient creates a new RegisterUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRegisterUserParamsWithTimeout

func NewRegisterUserParamsWithTimeout(timeout time.Duration) *RegisterUserParams

NewRegisterUserParamsWithTimeout creates a new RegisterUserParams object with the default values initialized, and the ability to set a timeout on a request

func (*RegisterUserParams) SetContext

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

SetContext adds the context to the register user params

func (*RegisterUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the register user params

func (*RegisterUserParams) SetTimeout

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

SetTimeout adds the timeout to the register user params

func (*RegisterUserParams) SetUserRegistration

func (o *RegisterUserParams) SetUserRegistration(userRegistration *api_models.UserRegistrationRequest)

SetUserRegistration adds the userRegistration to the register user params

func (*RegisterUserParams) WithContext

WithContext adds the context to the register user params

func (*RegisterUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the register user params

func (*RegisterUserParams) WithTimeout

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

WithTimeout adds the timeout to the register user params

func (*RegisterUserParams) WithUserRegistration

func (o *RegisterUserParams) WithUserRegistration(userRegistration *api_models.UserRegistrationRequest) *RegisterUserParams

WithUserRegistration adds the userRegistration to the register user params

func (*RegisterUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RegisterUserReader

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

RegisterUserReader is a Reader for the RegisterUser structure.

func (*RegisterUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RegisterUserUnauthorized

type RegisterUserUnauthorized struct {
	Payload *api_models.APIError
}

RegisterUserUnauthorized handles this case with default header values.

Unauthorized

func NewRegisterUserUnauthorized

func NewRegisterUserUnauthorized() *RegisterUserUnauthorized

NewRegisterUserUnauthorized creates a RegisterUserUnauthorized with default headers values

func (*RegisterUserUnauthorized) Error

func (o *RegisterUserUnauthorized) Error() string

type RegisterUserUnsupportedMediaType

type RegisterUserUnsupportedMediaType struct {
	Payload *api_models.APIError
}

RegisterUserUnsupportedMediaType handles this case with default header values.

Unsupported Media Type

func NewRegisterUserUnsupportedMediaType

func NewRegisterUserUnsupportedMediaType() *RegisterUserUnsupportedMediaType

NewRegisterUserUnsupportedMediaType creates a RegisterUserUnsupportedMediaType with default headers values

func (*RegisterUserUnsupportedMediaType) Error

type RequestPasswordResetAccepted

type RequestPasswordResetAccepted struct {
}

RequestPasswordResetAccepted handles this case with default header values.

Accepted

func NewRequestPasswordResetAccepted

func NewRequestPasswordResetAccepted() *RequestPasswordResetAccepted

NewRequestPasswordResetAccepted creates a RequestPasswordResetAccepted with default headers values

func (*RequestPasswordResetAccepted) Error

type RequestPasswordResetBadRequest

type RequestPasswordResetBadRequest struct {
	Payload *api_models.APIError
}

RequestPasswordResetBadRequest handles this case with default header values.

Bad Request

func NewRequestPasswordResetBadRequest

func NewRequestPasswordResetBadRequest() *RequestPasswordResetBadRequest

NewRequestPasswordResetBadRequest creates a RequestPasswordResetBadRequest with default headers values

func (*RequestPasswordResetBadRequest) Error

type RequestPasswordResetConflict

type RequestPasswordResetConflict struct {
	Payload *api_models.APIError
}

RequestPasswordResetConflict handles this case with default header values.

Conflict

func NewRequestPasswordResetConflict

func NewRequestPasswordResetConflict() *RequestPasswordResetConflict

NewRequestPasswordResetConflict creates a RequestPasswordResetConflict with default headers values

func (*RequestPasswordResetConflict) Error

type RequestPasswordResetCreated

type RequestPasswordResetCreated struct {
}

RequestPasswordResetCreated handles this case with default header values.

Created

func NewRequestPasswordResetCreated

func NewRequestPasswordResetCreated() *RequestPasswordResetCreated

NewRequestPasswordResetCreated creates a RequestPasswordResetCreated with default headers values

func (*RequestPasswordResetCreated) Error

type RequestPasswordResetForbidden

type RequestPasswordResetForbidden struct {
	Payload *api_models.APIError
}

RequestPasswordResetForbidden handles this case with default header values.

Forbidden

func NewRequestPasswordResetForbidden

func NewRequestPasswordResetForbidden() *RequestPasswordResetForbidden

NewRequestPasswordResetForbidden creates a RequestPasswordResetForbidden with default headers values

func (*RequestPasswordResetForbidden) Error

type RequestPasswordResetInternalServerError

type RequestPasswordResetInternalServerError struct {
	Payload *api_models.APIError
}

RequestPasswordResetInternalServerError handles this case with default header values.

Internal Server Error

func NewRequestPasswordResetInternalServerError

func NewRequestPasswordResetInternalServerError() *RequestPasswordResetInternalServerError

NewRequestPasswordResetInternalServerError creates a RequestPasswordResetInternalServerError with default headers values

func (*RequestPasswordResetInternalServerError) Error

type RequestPasswordResetMethodNotAllowed

type RequestPasswordResetMethodNotAllowed struct {
	Payload *api_models.APIError
}

RequestPasswordResetMethodNotAllowed handles this case with default header values.

Method not allowed

func NewRequestPasswordResetMethodNotAllowed

func NewRequestPasswordResetMethodNotAllowed() *RequestPasswordResetMethodNotAllowed

NewRequestPasswordResetMethodNotAllowed creates a RequestPasswordResetMethodNotAllowed with default headers values

func (*RequestPasswordResetMethodNotAllowed) Error

type RequestPasswordResetNotAcceptable

type RequestPasswordResetNotAcceptable struct {
	Payload *api_models.APIError
}

RequestPasswordResetNotAcceptable handles this case with default header values.

Not Acceptable

func NewRequestPasswordResetNotAcceptable

func NewRequestPasswordResetNotAcceptable() *RequestPasswordResetNotAcceptable

NewRequestPasswordResetNotAcceptable creates a RequestPasswordResetNotAcceptable with default headers values

func (*RequestPasswordResetNotAcceptable) Error

type RequestPasswordResetNotFound

type RequestPasswordResetNotFound struct {
	Payload *api_models.APIError
}

RequestPasswordResetNotFound handles this case with default header values.

Not Found

func NewRequestPasswordResetNotFound

func NewRequestPasswordResetNotFound() *RequestPasswordResetNotFound

NewRequestPasswordResetNotFound creates a RequestPasswordResetNotFound with default headers values

func (*RequestPasswordResetNotFound) Error

type RequestPasswordResetOK

type RequestPasswordResetOK struct {
	Payload *api_models.SimpleMessageResponse
}

RequestPasswordResetOK handles this case with default header values.

OK

func NewRequestPasswordResetOK

func NewRequestPasswordResetOK() *RequestPasswordResetOK

NewRequestPasswordResetOK creates a RequestPasswordResetOK with default headers values

func (*RequestPasswordResetOK) Error

func (o *RequestPasswordResetOK) Error() string

type RequestPasswordResetParams

type RequestPasswordResetParams struct {

	/*ResetRequest
	  Contains the required information to request a new password.

	*/
	ResetRequest *api_models.PasswordResetRequest

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

RequestPasswordResetParams contains all the parameters to send to the API endpoint for the request password reset operation typically these are written to a http.Request

func NewRequestPasswordResetParams

func NewRequestPasswordResetParams() *RequestPasswordResetParams

NewRequestPasswordResetParams creates a new RequestPasswordResetParams object with the default values initialized.

func NewRequestPasswordResetParamsWithContext

func NewRequestPasswordResetParamsWithContext(ctx context.Context) *RequestPasswordResetParams

NewRequestPasswordResetParamsWithContext creates a new RequestPasswordResetParams object with the default values initialized, and the ability to set a context for a request

func NewRequestPasswordResetParamsWithHTTPClient

func NewRequestPasswordResetParamsWithHTTPClient(client *http.Client) *RequestPasswordResetParams

NewRequestPasswordResetParamsWithHTTPClient creates a new RequestPasswordResetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRequestPasswordResetParamsWithTimeout

func NewRequestPasswordResetParamsWithTimeout(timeout time.Duration) *RequestPasswordResetParams

NewRequestPasswordResetParamsWithTimeout creates a new RequestPasswordResetParams object with the default values initialized, and the ability to set a timeout on a request

func (*RequestPasswordResetParams) SetContext

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

SetContext adds the context to the request password reset params

func (*RequestPasswordResetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the request password reset params

func (*RequestPasswordResetParams) SetResetRequest

func (o *RequestPasswordResetParams) SetResetRequest(resetRequest *api_models.PasswordResetRequest)

SetResetRequest adds the resetRequest to the request password reset params

func (*RequestPasswordResetParams) SetTimeout

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

SetTimeout adds the timeout to the request password reset params

func (*RequestPasswordResetParams) WithContext

WithContext adds the context to the request password reset params

func (*RequestPasswordResetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the request password reset params

func (*RequestPasswordResetParams) WithResetRequest

WithResetRequest adds the resetRequest to the request password reset params

func (*RequestPasswordResetParams) WithTimeout

WithTimeout adds the timeout to the request password reset params

func (*RequestPasswordResetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RequestPasswordResetReader

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

RequestPasswordResetReader is a Reader for the RequestPasswordReset structure.

func (*RequestPasswordResetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RequestPasswordResetUnauthorized

type RequestPasswordResetUnauthorized struct {
	Payload *api_models.APIError
}

RequestPasswordResetUnauthorized handles this case with default header values.

Unauthorized

func NewRequestPasswordResetUnauthorized

func NewRequestPasswordResetUnauthorized() *RequestPasswordResetUnauthorized

NewRequestPasswordResetUnauthorized creates a RequestPasswordResetUnauthorized with default headers values

func (*RequestPasswordResetUnauthorized) Error

type RequestPasswordResetUnsupportedMediaType

type RequestPasswordResetUnsupportedMediaType struct {
	Payload *api_models.APIError
}

RequestPasswordResetUnsupportedMediaType handles this case with default header values.

Unsupported Media Type

func NewRequestPasswordResetUnsupportedMediaType

func NewRequestPasswordResetUnsupportedMediaType() *RequestPasswordResetUnsupportedMediaType

NewRequestPasswordResetUnsupportedMediaType creates a RequestPasswordResetUnsupportedMediaType with default headers values

func (*RequestPasswordResetUnsupportedMediaType) Error

type VerifyPasswordResetAccepted

type VerifyPasswordResetAccepted struct {
}

VerifyPasswordResetAccepted handles this case with default header values.

Accepted

func NewVerifyPasswordResetAccepted

func NewVerifyPasswordResetAccepted() *VerifyPasswordResetAccepted

NewVerifyPasswordResetAccepted creates a VerifyPasswordResetAccepted with default headers values

func (*VerifyPasswordResetAccepted) Error

type VerifyPasswordResetBadRequest

type VerifyPasswordResetBadRequest struct {
	Payload *api_models.APIError
}

VerifyPasswordResetBadRequest handles this case with default header values.

Bad Request

func NewVerifyPasswordResetBadRequest

func NewVerifyPasswordResetBadRequest() *VerifyPasswordResetBadRequest

NewVerifyPasswordResetBadRequest creates a VerifyPasswordResetBadRequest with default headers values

func (*VerifyPasswordResetBadRequest) Error

type VerifyPasswordResetConflict

type VerifyPasswordResetConflict struct {
	Payload *api_models.APIError
}

VerifyPasswordResetConflict handles this case with default header values.

Conflict

func NewVerifyPasswordResetConflict

func NewVerifyPasswordResetConflict() *VerifyPasswordResetConflict

NewVerifyPasswordResetConflict creates a VerifyPasswordResetConflict with default headers values

func (*VerifyPasswordResetConflict) Error

type VerifyPasswordResetForbidden

type VerifyPasswordResetForbidden struct {
	Payload *api_models.APIError
}

VerifyPasswordResetForbidden handles this case with default header values.

Forbidden

func NewVerifyPasswordResetForbidden

func NewVerifyPasswordResetForbidden() *VerifyPasswordResetForbidden

NewVerifyPasswordResetForbidden creates a VerifyPasswordResetForbidden with default headers values

func (*VerifyPasswordResetForbidden) Error

type VerifyPasswordResetInternalServerError

type VerifyPasswordResetInternalServerError struct {
	Payload *api_models.APIError
}

VerifyPasswordResetInternalServerError handles this case with default header values.

Internal Server Error

func NewVerifyPasswordResetInternalServerError

func NewVerifyPasswordResetInternalServerError() *VerifyPasswordResetInternalServerError

NewVerifyPasswordResetInternalServerError creates a VerifyPasswordResetInternalServerError with default headers values

func (*VerifyPasswordResetInternalServerError) Error

type VerifyPasswordResetMethodNotAllowed

type VerifyPasswordResetMethodNotAllowed struct {
	Payload *api_models.APIError
}

VerifyPasswordResetMethodNotAllowed handles this case with default header values.

Method not allowed

func NewVerifyPasswordResetMethodNotAllowed

func NewVerifyPasswordResetMethodNotAllowed() *VerifyPasswordResetMethodNotAllowed

NewVerifyPasswordResetMethodNotAllowed creates a VerifyPasswordResetMethodNotAllowed with default headers values

func (*VerifyPasswordResetMethodNotAllowed) Error

type VerifyPasswordResetNotAcceptable

type VerifyPasswordResetNotAcceptable struct {
	Payload *api_models.APIError
}

VerifyPasswordResetNotAcceptable handles this case with default header values.

Not Acceptable

func NewVerifyPasswordResetNotAcceptable

func NewVerifyPasswordResetNotAcceptable() *VerifyPasswordResetNotAcceptable

NewVerifyPasswordResetNotAcceptable creates a VerifyPasswordResetNotAcceptable with default headers values

func (*VerifyPasswordResetNotAcceptable) Error

type VerifyPasswordResetNotFound

type VerifyPasswordResetNotFound struct {
	Payload *api_models.APIError
}

VerifyPasswordResetNotFound handles this case with default header values.

Not Found

func NewVerifyPasswordResetNotFound

func NewVerifyPasswordResetNotFound() *VerifyPasswordResetNotFound

NewVerifyPasswordResetNotFound creates a VerifyPasswordResetNotFound with default headers values

func (*VerifyPasswordResetNotFound) Error

type VerifyPasswordResetOK

type VerifyPasswordResetOK struct {
	Payload *api_models.SimpleMessageResponse
}

VerifyPasswordResetOK handles this case with default header values.

OK

func NewVerifyPasswordResetOK

func NewVerifyPasswordResetOK() *VerifyPasswordResetOK

NewVerifyPasswordResetOK creates a VerifyPasswordResetOK with default headers values

func (*VerifyPasswordResetOK) Error

func (o *VerifyPasswordResetOK) Error() string

type VerifyPasswordResetParams

type VerifyPasswordResetParams struct {

	/*VerificationRequest
	  Contains the new password and the verification token to set the new password.

	*/
	VerificationRequest *api_models.PasswordResetVerificationRequest

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

VerifyPasswordResetParams contains all the parameters to send to the API endpoint for the verify password reset operation typically these are written to a http.Request

func NewVerifyPasswordResetParams

func NewVerifyPasswordResetParams() *VerifyPasswordResetParams

NewVerifyPasswordResetParams creates a new VerifyPasswordResetParams object with the default values initialized.

func NewVerifyPasswordResetParamsWithContext

func NewVerifyPasswordResetParamsWithContext(ctx context.Context) *VerifyPasswordResetParams

NewVerifyPasswordResetParamsWithContext creates a new VerifyPasswordResetParams object with the default values initialized, and the ability to set a context for a request

func NewVerifyPasswordResetParamsWithHTTPClient

func NewVerifyPasswordResetParamsWithHTTPClient(client *http.Client) *VerifyPasswordResetParams

NewVerifyPasswordResetParamsWithHTTPClient creates a new VerifyPasswordResetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewVerifyPasswordResetParamsWithTimeout

func NewVerifyPasswordResetParamsWithTimeout(timeout time.Duration) *VerifyPasswordResetParams

NewVerifyPasswordResetParamsWithTimeout creates a new VerifyPasswordResetParams object with the default values initialized, and the ability to set a timeout on a request

func (*VerifyPasswordResetParams) SetContext

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

SetContext adds the context to the verify password reset params

func (*VerifyPasswordResetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the verify password reset params

func (*VerifyPasswordResetParams) SetTimeout

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

SetTimeout adds the timeout to the verify password reset params

func (*VerifyPasswordResetParams) SetVerificationRequest

func (o *VerifyPasswordResetParams) SetVerificationRequest(verificationRequest *api_models.PasswordResetVerificationRequest)

SetVerificationRequest adds the verificationRequest to the verify password reset params

func (*VerifyPasswordResetParams) WithContext

WithContext adds the context to the verify password reset params

func (*VerifyPasswordResetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the verify password reset params

func (*VerifyPasswordResetParams) WithTimeout

WithTimeout adds the timeout to the verify password reset params

func (*VerifyPasswordResetParams) WithVerificationRequest

func (o *VerifyPasswordResetParams) WithVerificationRequest(verificationRequest *api_models.PasswordResetVerificationRequest) *VerifyPasswordResetParams

WithVerificationRequest adds the verificationRequest to the verify password reset params

func (*VerifyPasswordResetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type VerifyPasswordResetReader

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

VerifyPasswordResetReader is a Reader for the VerifyPasswordReset structure.

func (*VerifyPasswordResetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VerifyPasswordResetUnauthorized

type VerifyPasswordResetUnauthorized struct {
	Payload *api_models.APIError
}

VerifyPasswordResetUnauthorized handles this case with default header values.

Unauthorized

func NewVerifyPasswordResetUnauthorized

func NewVerifyPasswordResetUnauthorized() *VerifyPasswordResetUnauthorized

NewVerifyPasswordResetUnauthorized creates a VerifyPasswordResetUnauthorized with default headers values

func (*VerifyPasswordResetUnauthorized) Error

type VerifyPasswordResetUnsupportedMediaType

type VerifyPasswordResetUnsupportedMediaType struct {
	Payload *api_models.APIError
}

VerifyPasswordResetUnsupportedMediaType handles this case with default header values.

Unsupported Media Type

func NewVerifyPasswordResetUnsupportedMediaType

func NewVerifyPasswordResetUnsupportedMediaType() *VerifyPasswordResetUnsupportedMediaType

NewVerifyPasswordResetUnsupportedMediaType creates a VerifyPasswordResetUnsupportedMediaType with default headers values

func (*VerifyPasswordResetUnsupportedMediaType) Error

type VerifyUserRegistrationAccepted

type VerifyUserRegistrationAccepted struct {
}

VerifyUserRegistrationAccepted handles this case with default header values.

Accepted

func NewVerifyUserRegistrationAccepted

func NewVerifyUserRegistrationAccepted() *VerifyUserRegistrationAccepted

NewVerifyUserRegistrationAccepted creates a VerifyUserRegistrationAccepted with default headers values

func (*VerifyUserRegistrationAccepted) Error

type VerifyUserRegistrationBadRequest

type VerifyUserRegistrationBadRequest struct {
	Payload *api_models.APIError
}

VerifyUserRegistrationBadRequest handles this case with default header values.

Bad Request

func NewVerifyUserRegistrationBadRequest

func NewVerifyUserRegistrationBadRequest() *VerifyUserRegistrationBadRequest

NewVerifyUserRegistrationBadRequest creates a VerifyUserRegistrationBadRequest with default headers values

func (*VerifyUserRegistrationBadRequest) Error

type VerifyUserRegistrationConflict

type VerifyUserRegistrationConflict struct {
	Payload *api_models.APIError
}

VerifyUserRegistrationConflict handles this case with default header values.

Conflict

func NewVerifyUserRegistrationConflict

func NewVerifyUserRegistrationConflict() *VerifyUserRegistrationConflict

NewVerifyUserRegistrationConflict creates a VerifyUserRegistrationConflict with default headers values

func (*VerifyUserRegistrationConflict) Error

type VerifyUserRegistrationCreated

type VerifyUserRegistrationCreated struct {
}

VerifyUserRegistrationCreated handles this case with default header values.

Created

func NewVerifyUserRegistrationCreated

func NewVerifyUserRegistrationCreated() *VerifyUserRegistrationCreated

NewVerifyUserRegistrationCreated creates a VerifyUserRegistrationCreated with default headers values

func (*VerifyUserRegistrationCreated) Error

type VerifyUserRegistrationForbidden

type VerifyUserRegistrationForbidden struct {
	Payload *api_models.APIError
}

VerifyUserRegistrationForbidden handles this case with default header values.

Forbidden

func NewVerifyUserRegistrationForbidden

func NewVerifyUserRegistrationForbidden() *VerifyUserRegistrationForbidden

NewVerifyUserRegistrationForbidden creates a VerifyUserRegistrationForbidden with default headers values

func (*VerifyUserRegistrationForbidden) Error

type VerifyUserRegistrationInternalServerError

type VerifyUserRegistrationInternalServerError struct {
	Payload *api_models.APIError
}

VerifyUserRegistrationInternalServerError handles this case with default header values.

Internal Server Error

func NewVerifyUserRegistrationInternalServerError

func NewVerifyUserRegistrationInternalServerError() *VerifyUserRegistrationInternalServerError

NewVerifyUserRegistrationInternalServerError creates a VerifyUserRegistrationInternalServerError with default headers values

func (*VerifyUserRegistrationInternalServerError) Error

type VerifyUserRegistrationMethodNotAllowed

type VerifyUserRegistrationMethodNotAllowed struct {
	Payload *api_models.APIError
}

VerifyUserRegistrationMethodNotAllowed handles this case with default header values.

Method not allowed

func NewVerifyUserRegistrationMethodNotAllowed

func NewVerifyUserRegistrationMethodNotAllowed() *VerifyUserRegistrationMethodNotAllowed

NewVerifyUserRegistrationMethodNotAllowed creates a VerifyUserRegistrationMethodNotAllowed with default headers values

func (*VerifyUserRegistrationMethodNotAllowed) Error

type VerifyUserRegistrationNotAcceptable

type VerifyUserRegistrationNotAcceptable struct {
	Payload *api_models.APIError
}

VerifyUserRegistrationNotAcceptable handles this case with default header values.

Not Acceptable

func NewVerifyUserRegistrationNotAcceptable

func NewVerifyUserRegistrationNotAcceptable() *VerifyUserRegistrationNotAcceptable

NewVerifyUserRegistrationNotAcceptable creates a VerifyUserRegistrationNotAcceptable with default headers values

func (*VerifyUserRegistrationNotAcceptable) Error

type VerifyUserRegistrationNotFound

type VerifyUserRegistrationNotFound struct {
	Payload *api_models.APIError
}

VerifyUserRegistrationNotFound handles this case with default header values.

Not Found

func NewVerifyUserRegistrationNotFound

func NewVerifyUserRegistrationNotFound() *VerifyUserRegistrationNotFound

NewVerifyUserRegistrationNotFound creates a VerifyUserRegistrationNotFound with default headers values

func (*VerifyUserRegistrationNotFound) Error

type VerifyUserRegistrationOK

type VerifyUserRegistrationOK struct {
}

VerifyUserRegistrationOK handles this case with default header values.

OK

func NewVerifyUserRegistrationOK

func NewVerifyUserRegistrationOK() *VerifyUserRegistrationOK

NewVerifyUserRegistrationOK creates a VerifyUserRegistrationOK with default headers values

func (*VerifyUserRegistrationOK) Error

func (o *VerifyUserRegistrationOK) Error() string

type VerifyUserRegistrationParams

type VerifyUserRegistrationParams struct {

	/*Token
	  The token for user verification.

	*/
	Token *api_models.RegistrationVerificationTokenPresentation

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

VerifyUserRegistrationParams contains all the parameters to send to the API endpoint for the verify user registration operation typically these are written to a http.Request

func NewVerifyUserRegistrationParams

func NewVerifyUserRegistrationParams() *VerifyUserRegistrationParams

NewVerifyUserRegistrationParams creates a new VerifyUserRegistrationParams object with the default values initialized.

func NewVerifyUserRegistrationParamsWithContext

func NewVerifyUserRegistrationParamsWithContext(ctx context.Context) *VerifyUserRegistrationParams

NewVerifyUserRegistrationParamsWithContext creates a new VerifyUserRegistrationParams object with the default values initialized, and the ability to set a context for a request

func NewVerifyUserRegistrationParamsWithHTTPClient

func NewVerifyUserRegistrationParamsWithHTTPClient(client *http.Client) *VerifyUserRegistrationParams

NewVerifyUserRegistrationParamsWithHTTPClient creates a new VerifyUserRegistrationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewVerifyUserRegistrationParamsWithTimeout

func NewVerifyUserRegistrationParamsWithTimeout(timeout time.Duration) *VerifyUserRegistrationParams

NewVerifyUserRegistrationParamsWithTimeout creates a new VerifyUserRegistrationParams object with the default values initialized, and the ability to set a timeout on a request

func (*VerifyUserRegistrationParams) SetContext

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

SetContext adds the context to the verify user registration params

func (*VerifyUserRegistrationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the verify user registration params

func (*VerifyUserRegistrationParams) SetTimeout

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

SetTimeout adds the timeout to the verify user registration params

func (*VerifyUserRegistrationParams) SetToken

SetToken adds the token to the verify user registration params

func (*VerifyUserRegistrationParams) WithContext

WithContext adds the context to the verify user registration params

func (*VerifyUserRegistrationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the verify user registration params

func (*VerifyUserRegistrationParams) WithTimeout

WithTimeout adds the timeout to the verify user registration params

func (*VerifyUserRegistrationParams) WithToken

WithToken adds the token to the verify user registration params

func (*VerifyUserRegistrationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type VerifyUserRegistrationReader

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

VerifyUserRegistrationReader is a Reader for the VerifyUserRegistration structure.

func (*VerifyUserRegistrationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VerifyUserRegistrationUnauthorized

type VerifyUserRegistrationUnauthorized struct {
	Payload *api_models.APIError
}

VerifyUserRegistrationUnauthorized handles this case with default header values.

Unauthorized

func NewVerifyUserRegistrationUnauthorized

func NewVerifyUserRegistrationUnauthorized() *VerifyUserRegistrationUnauthorized

NewVerifyUserRegistrationUnauthorized creates a VerifyUserRegistrationUnauthorized with default headers values

func (*VerifyUserRegistrationUnauthorized) Error

type VerifyUserRegistrationUnsupportedMediaType

type VerifyUserRegistrationUnsupportedMediaType struct {
	Payload *api_models.APIError
}

VerifyUserRegistrationUnsupportedMediaType handles this case with default header values.

Unsupported Media Type

func NewVerifyUserRegistrationUnsupportedMediaType

func NewVerifyUserRegistrationUnsupportedMediaType() *VerifyUserRegistrationUnsupportedMediaType

NewVerifyUserRegistrationUnsupportedMediaType creates a VerifyUserRegistrationUnsupportedMediaType with default headers values

func (*VerifyUserRegistrationUnsupportedMediaType) Error

Jump to

Keyboard shortcuts

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