account

package
v0.4.45 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 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 ChangePasswordBadRequest added in v0.4.25

type ChangePasswordBadRequest struct {
}

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

password not changed

func NewChangePasswordBadRequest added in v0.4.25

func NewChangePasswordBadRequest() *ChangePasswordBadRequest

NewChangePasswordBadRequest creates a ChangePasswordBadRequest with default headers values

func (*ChangePasswordBadRequest) Code added in v0.4.25

func (o *ChangePasswordBadRequest) Code() int

Code gets the status code for the change password bad request response

func (*ChangePasswordBadRequest) Error added in v0.4.25

func (o *ChangePasswordBadRequest) Error() string

func (*ChangePasswordBadRequest) IsClientError added in v0.4.25

func (o *ChangePasswordBadRequest) IsClientError() bool

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

func (*ChangePasswordBadRequest) IsCode added in v0.4.25

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 added in v0.4.25

func (o *ChangePasswordBadRequest) IsRedirect() bool

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

func (*ChangePasswordBadRequest) IsServerError added in v0.4.25

func (o *ChangePasswordBadRequest) IsServerError() bool

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

func (*ChangePasswordBadRequest) IsSuccess added in v0.4.25

func (o *ChangePasswordBadRequest) IsSuccess() bool

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

func (*ChangePasswordBadRequest) String added in v0.4.25

func (o *ChangePasswordBadRequest) String() string

type ChangePasswordInternalServerError added in v0.4.25

type ChangePasswordInternalServerError struct {
}

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

internal server error

func NewChangePasswordInternalServerError added in v0.4.25

func NewChangePasswordInternalServerError() *ChangePasswordInternalServerError

NewChangePasswordInternalServerError creates a ChangePasswordInternalServerError with default headers values

func (*ChangePasswordInternalServerError) Code added in v0.4.25

Code gets the status code for the change password internal server error response

func (*ChangePasswordInternalServerError) Error added in v0.4.25

func (*ChangePasswordInternalServerError) IsClientError added in v0.4.25

func (o *ChangePasswordInternalServerError) IsClientError() bool

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

func (*ChangePasswordInternalServerError) IsCode added in v0.4.25

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 added in v0.4.25

func (o *ChangePasswordInternalServerError) IsRedirect() bool

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

func (*ChangePasswordInternalServerError) IsServerError added in v0.4.25

func (o *ChangePasswordInternalServerError) IsServerError() bool

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

func (*ChangePasswordInternalServerError) IsSuccess added in v0.4.25

func (o *ChangePasswordInternalServerError) IsSuccess() bool

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

func (*ChangePasswordInternalServerError) String added in v0.4.25

type ChangePasswordOK added in v0.4.25

type ChangePasswordOK struct {
}

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

changed password

func NewChangePasswordOK added in v0.4.25

func NewChangePasswordOK() *ChangePasswordOK

NewChangePasswordOK creates a ChangePasswordOK with default headers values

func (*ChangePasswordOK) Code added in v0.4.25

func (o *ChangePasswordOK) Code() int

Code gets the status code for the change password o k response

func (*ChangePasswordOK) Error added in v0.4.25

func (o *ChangePasswordOK) Error() string

func (*ChangePasswordOK) IsClientError added in v0.4.25

func (o *ChangePasswordOK) IsClientError() bool

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

func (*ChangePasswordOK) IsCode added in v0.4.25

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 added in v0.4.25

func (o *ChangePasswordOK) IsRedirect() bool

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

func (*ChangePasswordOK) IsServerError added in v0.4.25

func (o *ChangePasswordOK) IsServerError() bool

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

func (*ChangePasswordOK) IsSuccess added in v0.4.25

func (o *ChangePasswordOK) IsSuccess() bool

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

func (*ChangePasswordOK) String added in v0.4.25

func (o *ChangePasswordOK) String() string

type ChangePasswordParams added in v0.4.25

type ChangePasswordParams struct {

	// Body.
	Body *rest_model_zrok.ChangePasswordRequest

	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 added in v0.4.25

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 added in v0.4.25

func NewChangePasswordParamsWithContext(ctx context.Context) *ChangePasswordParams

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

func NewChangePasswordParamsWithHTTPClient added in v0.4.25

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 added in v0.4.25

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 added in v0.4.25

SetBody adds the body to the change password params

func (*ChangePasswordParams) SetContext added in v0.4.25

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

SetContext adds the context to the change password params

func (*ChangePasswordParams) SetDefaults added in v0.4.25

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 added in v0.4.25

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

SetHTTPClient adds the HTTPClient to the change password params

func (*ChangePasswordParams) SetTimeout added in v0.4.25

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

SetTimeout adds the timeout to the change password params

func (*ChangePasswordParams) WithBody added in v0.4.25

WithBody adds the body to the change password params

func (*ChangePasswordParams) WithContext added in v0.4.25

WithContext adds the context to the change password params

func (*ChangePasswordParams) WithDefaults added in v0.4.25

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 added in v0.4.25

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

WithHTTPClient adds the HTTPClient to the change password params

func (*ChangePasswordParams) WithTimeout added in v0.4.25

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

WithTimeout adds the timeout to the change password params

func (*ChangePasswordParams) WriteToRequest added in v0.4.25

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

WriteToRequest writes these params to a swagger request

type ChangePasswordReader added in v0.4.25

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

ChangePasswordReader is a Reader for the ChangePassword structure.

func (*ChangePasswordReader) ReadResponse added in v0.4.25

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

ReadResponse reads a server response into the received o.

type ChangePasswordUnauthorized added in v0.4.25

type ChangePasswordUnauthorized struct {
}

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

unauthorized

func NewChangePasswordUnauthorized added in v0.4.25

func NewChangePasswordUnauthorized() *ChangePasswordUnauthorized

NewChangePasswordUnauthorized creates a ChangePasswordUnauthorized with default headers values

func (*ChangePasswordUnauthorized) Code added in v0.4.25

func (o *ChangePasswordUnauthorized) Code() int

Code gets the status code for the change password unauthorized response

func (*ChangePasswordUnauthorized) Error added in v0.4.25

func (*ChangePasswordUnauthorized) IsClientError added in v0.4.25

func (o *ChangePasswordUnauthorized) IsClientError() bool

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

func (*ChangePasswordUnauthorized) IsCode added in v0.4.25

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 added in v0.4.25

func (o *ChangePasswordUnauthorized) IsRedirect() bool

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

func (*ChangePasswordUnauthorized) IsServerError added in v0.4.25

func (o *ChangePasswordUnauthorized) IsServerError() bool

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

func (*ChangePasswordUnauthorized) IsSuccess added in v0.4.25

func (o *ChangePasswordUnauthorized) IsSuccess() bool

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

func (*ChangePasswordUnauthorized) String added in v0.4.25

func (o *ChangePasswordUnauthorized) String() string

type ChangePasswordUnprocessableEntity added in v0.4.25

type ChangePasswordUnprocessableEntity struct {
	Payload rest_model_zrok.ErrorMessage
}

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

password validation failure

func NewChangePasswordUnprocessableEntity added in v0.4.25

func NewChangePasswordUnprocessableEntity() *ChangePasswordUnprocessableEntity

NewChangePasswordUnprocessableEntity creates a ChangePasswordUnprocessableEntity with default headers values

func (*ChangePasswordUnprocessableEntity) Code added in v0.4.25

Code gets the status code for the change password unprocessable entity response

func (*ChangePasswordUnprocessableEntity) Error added in v0.4.25

func (*ChangePasswordUnprocessableEntity) GetPayload added in v0.4.25

func (*ChangePasswordUnprocessableEntity) IsClientError added in v0.4.25

func (o *ChangePasswordUnprocessableEntity) IsClientError() bool

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

func (*ChangePasswordUnprocessableEntity) IsCode added in v0.4.25

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

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

func (*ChangePasswordUnprocessableEntity) IsRedirect added in v0.4.25

func (o *ChangePasswordUnprocessableEntity) IsRedirect() bool

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

func (*ChangePasswordUnprocessableEntity) IsServerError added in v0.4.25

func (o *ChangePasswordUnprocessableEntity) IsServerError() bool

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

func (*ChangePasswordUnprocessableEntity) IsSuccess added in v0.4.25

func (o *ChangePasswordUnprocessableEntity) IsSuccess() bool

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

func (*ChangePasswordUnprocessableEntity) String added in v0.4.25

type Client

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

Client for account API

func (*Client) ChangePassword added in v0.4.25

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

ChangePassword change password API

func (*Client) Invite

func (a *Client) Invite(params *InviteParams, opts ...ClientOption) (*InviteCreated, error)

Invite invite API

func (*Client) Login

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

Login login API

func (*Client) RegenerateToken added in v0.4.25

func (a *Client) RegenerateToken(params *RegenerateTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegenerateTokenOK, error)

RegenerateToken regenerate token API

func (*Client) Register

func (a *Client) Register(params *RegisterParams, opts ...ClientOption) (*RegisterOK, error)

Register register API

func (*Client) ResetPassword

func (a *Client) ResetPassword(params *ResetPasswordParams, opts ...ClientOption) (*ResetPasswordOK, error)

ResetPassword reset password API

func (*Client) ResetPasswordRequest

func (a *Client) ResetPasswordRequest(params *ResetPasswordRequestParams, opts ...ClientOption) (*ResetPasswordRequestCreated, error)

ResetPasswordRequest reset password request API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) Verify

func (a *Client) Verify(params *VerifyParams, opts ...ClientOption) (*VerifyOK, error)

Verify verify API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ChangePassword(params *ChangePasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangePasswordOK, error)

	Invite(params *InviteParams, opts ...ClientOption) (*InviteCreated, error)

	Login(params *LoginParams, opts ...ClientOption) (*LoginOK, error)

	RegenerateToken(params *RegenerateTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegenerateTokenOK, error)

	Register(params *RegisterParams, opts ...ClientOption) (*RegisterOK, error)

	ResetPassword(params *ResetPasswordParams, opts ...ClientOption) (*ResetPasswordOK, error)

	ResetPasswordRequest(params *ResetPasswordRequestParams, opts ...ClientOption) (*ResetPasswordRequestCreated, error)

	Verify(params *VerifyParams, opts ...ClientOption) (*VerifyOK, 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 account API client.

type InviteBadRequest

type InviteBadRequest struct {
	Payload rest_model_zrok.ErrorMessage
}

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

invitation not created (already exists)

func NewInviteBadRequest

func NewInviteBadRequest() *InviteBadRequest

NewInviteBadRequest creates a InviteBadRequest with default headers values

func (*InviteBadRequest) Code added in v0.4.19

func (o *InviteBadRequest) Code() int

Code gets the status code for the invite bad request response

func (*InviteBadRequest) Error

func (o *InviteBadRequest) Error() string

func (*InviteBadRequest) GetPayload added in v0.3.1

func (*InviteBadRequest) IsClientError

func (o *InviteBadRequest) IsClientError() bool

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

func (*InviteBadRequest) IsCode

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

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

func (*InviteBadRequest) IsRedirect

func (o *InviteBadRequest) IsRedirect() bool

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

func (*InviteBadRequest) IsServerError

func (o *InviteBadRequest) IsServerError() bool

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

func (*InviteBadRequest) IsSuccess

func (o *InviteBadRequest) IsSuccess() bool

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

func (*InviteBadRequest) String

func (o *InviteBadRequest) String() string

type InviteCreated

type InviteCreated struct {
}

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

invitation created

func NewInviteCreated

func NewInviteCreated() *InviteCreated

NewInviteCreated creates a InviteCreated with default headers values

func (*InviteCreated) Code added in v0.4.19

func (o *InviteCreated) Code() int

Code gets the status code for the invite created response

func (*InviteCreated) Error

func (o *InviteCreated) Error() string

func (*InviteCreated) IsClientError

func (o *InviteCreated) IsClientError() bool

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

func (*InviteCreated) IsCode

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

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

func (*InviteCreated) IsRedirect

func (o *InviteCreated) IsRedirect() bool

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

func (*InviteCreated) IsServerError

func (o *InviteCreated) IsServerError() bool

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

func (*InviteCreated) IsSuccess

func (o *InviteCreated) IsSuccess() bool

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

func (*InviteCreated) String

func (o *InviteCreated) String() string

type InviteInternalServerError

type InviteInternalServerError struct {
}

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

internal server error

func NewInviteInternalServerError

func NewInviteInternalServerError() *InviteInternalServerError

NewInviteInternalServerError creates a InviteInternalServerError with default headers values

func (*InviteInternalServerError) Code added in v0.4.19

func (o *InviteInternalServerError) Code() int

Code gets the status code for the invite internal server error response

func (*InviteInternalServerError) Error

func (o *InviteInternalServerError) Error() string

func (*InviteInternalServerError) IsClientError

func (o *InviteInternalServerError) IsClientError() bool

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

func (*InviteInternalServerError) IsCode

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

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

func (*InviteInternalServerError) IsRedirect

func (o *InviteInternalServerError) IsRedirect() bool

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

func (*InviteInternalServerError) IsServerError

func (o *InviteInternalServerError) IsServerError() bool

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

func (*InviteInternalServerError) IsSuccess

func (o *InviteInternalServerError) IsSuccess() bool

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

func (*InviteInternalServerError) String

func (o *InviteInternalServerError) String() string

type InviteParams

type InviteParams struct {

	// Body.
	Body *rest_model_zrok.InviteRequest

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

InviteParams contains all the parameters to send to the API endpoint

for the invite operation.

Typically these are written to a http.Request.

func NewInviteParams

func NewInviteParams() *InviteParams

NewInviteParams creates a new InviteParams 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 NewInviteParamsWithContext

func NewInviteParamsWithContext(ctx context.Context) *InviteParams

NewInviteParamsWithContext creates a new InviteParams object with the ability to set a context for a request.

func NewInviteParamsWithHTTPClient

func NewInviteParamsWithHTTPClient(client *http.Client) *InviteParams

NewInviteParamsWithHTTPClient creates a new InviteParams object with the ability to set a custom HTTPClient for a request.

func NewInviteParamsWithTimeout

func NewInviteParamsWithTimeout(timeout time.Duration) *InviteParams

NewInviteParamsWithTimeout creates a new InviteParams object with the ability to set a timeout on a request.

func (*InviteParams) SetBody

func (o *InviteParams) SetBody(body *rest_model_zrok.InviteRequest)

SetBody adds the body to the invite params

func (*InviteParams) SetContext

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

SetContext adds the context to the invite params

func (*InviteParams) SetDefaults

func (o *InviteParams) SetDefaults()

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

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

func (*InviteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the invite params

func (*InviteParams) SetTimeout

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

SetTimeout adds the timeout to the invite params

func (*InviteParams) WithBody

WithBody adds the body to the invite params

func (*InviteParams) WithContext

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

WithContext adds the context to the invite params

func (*InviteParams) WithDefaults

func (o *InviteParams) WithDefaults() *InviteParams

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

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

func (*InviteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the invite params

func (*InviteParams) WithTimeout

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

WithTimeout adds the timeout to the invite params

func (*InviteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type InviteReader

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

InviteReader is a Reader for the Invite structure.

func (*InviteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InviteUnauthorized

type InviteUnauthorized struct {
}

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

unauthorized

func NewInviteUnauthorized

func NewInviteUnauthorized() *InviteUnauthorized

NewInviteUnauthorized creates a InviteUnauthorized with default headers values

func (*InviteUnauthorized) Code added in v0.4.19

func (o *InviteUnauthorized) Code() int

Code gets the status code for the invite unauthorized response

func (*InviteUnauthorized) Error

func (o *InviteUnauthorized) Error() string

func (*InviteUnauthorized) IsClientError

func (o *InviteUnauthorized) IsClientError() bool

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

func (*InviteUnauthorized) IsCode

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

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

func (*InviteUnauthorized) IsRedirect

func (o *InviteUnauthorized) IsRedirect() bool

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

func (*InviteUnauthorized) IsServerError

func (o *InviteUnauthorized) IsServerError() bool

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

func (*InviteUnauthorized) IsSuccess

func (o *InviteUnauthorized) IsSuccess() bool

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

func (*InviteUnauthorized) String

func (o *InviteUnauthorized) String() string

type LoginOK

type LoginOK struct {
	Payload rest_model_zrok.LoginResponse
}

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

login successful

func NewLoginOK

func NewLoginOK() *LoginOK

NewLoginOK creates a LoginOK with default headers values

func (*LoginOK) Code added in v0.4.19

func (o *LoginOK) Code() int

Code gets the status code for the login o k response

func (*LoginOK) Error

func (o *LoginOK) Error() string

func (*LoginOK) GetPayload

func (o *LoginOK) GetPayload() rest_model_zrok.LoginResponse

func (*LoginOK) IsClientError

func (o *LoginOK) IsClientError() bool

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

func (*LoginOK) IsCode

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

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

func (*LoginOK) IsRedirect

func (o *LoginOK) IsRedirect() bool

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

func (*LoginOK) IsServerError

func (o *LoginOK) IsServerError() bool

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

func (*LoginOK) IsSuccess

func (o *LoginOK) IsSuccess() bool

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

func (*LoginOK) String

func (o *LoginOK) String() string

type LoginParams

type LoginParams struct {

	// Body.
	Body *rest_model_zrok.LoginRequest

	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 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 NewLoginParamsWithContext

func NewLoginParamsWithContext(ctx context.Context) *LoginParams

NewLoginParamsWithContext creates a new LoginParams object with 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 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 ability to set a timeout on a request.

func (*LoginParams) SetBody

func (o *LoginParams) SetBody(body *rest_model_zrok.LoginRequest)

SetBody adds the body to the login params

func (*LoginParams) SetContext

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

SetContext adds the context to the login params

func (*LoginParams) SetDefaults

func (o *LoginParams) SetDefaults()

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

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

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) WithBody

WithBody adds the body 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) WithDefaults

func (o *LoginParams) WithDefaults() *LoginParams

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

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

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 {
}

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

invalid login

func NewLoginUnauthorized

func NewLoginUnauthorized() *LoginUnauthorized

NewLoginUnauthorized creates a LoginUnauthorized with default headers values

func (*LoginUnauthorized) Code added in v0.4.19

func (o *LoginUnauthorized) Code() int

Code gets the status code for the login unauthorized response

func (*LoginUnauthorized) Error

func (o *LoginUnauthorized) Error() string

func (*LoginUnauthorized) IsClientError

func (o *LoginUnauthorized) IsClientError() bool

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

func (*LoginUnauthorized) IsCode

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

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

func (*LoginUnauthorized) IsRedirect

func (o *LoginUnauthorized) IsRedirect() bool

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

func (*LoginUnauthorized) IsServerError

func (o *LoginUnauthorized) IsServerError() bool

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

func (*LoginUnauthorized) IsSuccess

func (o *LoginUnauthorized) IsSuccess() bool

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

func (*LoginUnauthorized) String

func (o *LoginUnauthorized) String() string

type RegenerateTokenBody added in v0.4.25

type RegenerateTokenBody struct {

	// email address
	EmailAddress string `json:"emailAddress,omitempty"`
}

RegenerateTokenBody regenerate token body swagger:model RegenerateTokenBody

func (*RegenerateTokenBody) ContextValidate added in v0.4.25

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

ContextValidate validates this regenerate token body based on context it is used

func (*RegenerateTokenBody) MarshalBinary added in v0.4.25

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

MarshalBinary interface implementation

func (*RegenerateTokenBody) UnmarshalBinary added in v0.4.25

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

UnmarshalBinary interface implementation

func (*RegenerateTokenBody) Validate added in v0.4.25

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

Validate validates this regenerate token body

type RegenerateTokenInternalServerError added in v0.4.25

type RegenerateTokenInternalServerError struct {
}

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

internal server error

func NewRegenerateTokenInternalServerError added in v0.4.25

func NewRegenerateTokenInternalServerError() *RegenerateTokenInternalServerError

NewRegenerateTokenInternalServerError creates a RegenerateTokenInternalServerError with default headers values

func (*RegenerateTokenInternalServerError) Code added in v0.4.25

Code gets the status code for the regenerate token internal server error response

func (*RegenerateTokenInternalServerError) Error added in v0.4.25

func (*RegenerateTokenInternalServerError) IsClientError added in v0.4.25

func (o *RegenerateTokenInternalServerError) IsClientError() bool

IsClientError returns true when this regenerate token internal server error response has a 4xx status code

func (*RegenerateTokenInternalServerError) IsCode added in v0.4.25

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

func (*RegenerateTokenInternalServerError) IsRedirect added in v0.4.25

func (o *RegenerateTokenInternalServerError) IsRedirect() bool

IsRedirect returns true when this regenerate token internal server error response has a 3xx status code

func (*RegenerateTokenInternalServerError) IsServerError added in v0.4.25

func (o *RegenerateTokenInternalServerError) IsServerError() bool

IsServerError returns true when this regenerate token internal server error response has a 5xx status code

func (*RegenerateTokenInternalServerError) IsSuccess added in v0.4.25

IsSuccess returns true when this regenerate token internal server error response has a 2xx status code

func (*RegenerateTokenInternalServerError) String added in v0.4.25

type RegenerateTokenNotFound added in v0.4.25

type RegenerateTokenNotFound struct {
}

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

account not found

func NewRegenerateTokenNotFound added in v0.4.25

func NewRegenerateTokenNotFound() *RegenerateTokenNotFound

NewRegenerateTokenNotFound creates a RegenerateTokenNotFound with default headers values

func (*RegenerateTokenNotFound) Code added in v0.4.25

func (o *RegenerateTokenNotFound) Code() int

Code gets the status code for the regenerate token not found response

func (*RegenerateTokenNotFound) Error added in v0.4.25

func (o *RegenerateTokenNotFound) Error() string

func (*RegenerateTokenNotFound) IsClientError added in v0.4.25

func (o *RegenerateTokenNotFound) IsClientError() bool

IsClientError returns true when this regenerate token not found response has a 4xx status code

func (*RegenerateTokenNotFound) IsCode added in v0.4.25

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

IsCode returns true when this regenerate token not found response a status code equal to that given

func (*RegenerateTokenNotFound) IsRedirect added in v0.4.25

func (o *RegenerateTokenNotFound) IsRedirect() bool

IsRedirect returns true when this regenerate token not found response has a 3xx status code

func (*RegenerateTokenNotFound) IsServerError added in v0.4.25

func (o *RegenerateTokenNotFound) IsServerError() bool

IsServerError returns true when this regenerate token not found response has a 5xx status code

func (*RegenerateTokenNotFound) IsSuccess added in v0.4.25

func (o *RegenerateTokenNotFound) IsSuccess() bool

IsSuccess returns true when this regenerate token not found response has a 2xx status code

func (*RegenerateTokenNotFound) String added in v0.4.25

func (o *RegenerateTokenNotFound) String() string

type RegenerateTokenOK added in v0.4.25

type RegenerateTokenOK struct {
	Payload *RegenerateTokenOKBody
}

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

regenerate account token

func NewRegenerateTokenOK added in v0.4.25

func NewRegenerateTokenOK() *RegenerateTokenOK

NewRegenerateTokenOK creates a RegenerateTokenOK with default headers values

func (*RegenerateTokenOK) Code added in v0.4.25

func (o *RegenerateTokenOK) Code() int

Code gets the status code for the regenerate token o k response

func (*RegenerateTokenOK) Error added in v0.4.25

func (o *RegenerateTokenOK) Error() string

func (*RegenerateTokenOK) GetPayload added in v0.4.25

func (o *RegenerateTokenOK) GetPayload() *RegenerateTokenOKBody

func (*RegenerateTokenOK) IsClientError added in v0.4.25

func (o *RegenerateTokenOK) IsClientError() bool

IsClientError returns true when this regenerate token o k response has a 4xx status code

func (*RegenerateTokenOK) IsCode added in v0.4.25

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

IsCode returns true when this regenerate token o k response a status code equal to that given

func (*RegenerateTokenOK) IsRedirect added in v0.4.25

func (o *RegenerateTokenOK) IsRedirect() bool

IsRedirect returns true when this regenerate token o k response has a 3xx status code

func (*RegenerateTokenOK) IsServerError added in v0.4.25

func (o *RegenerateTokenOK) IsServerError() bool

IsServerError returns true when this regenerate token o k response has a 5xx status code

func (*RegenerateTokenOK) IsSuccess added in v0.4.25

func (o *RegenerateTokenOK) IsSuccess() bool

IsSuccess returns true when this regenerate token o k response has a 2xx status code

func (*RegenerateTokenOK) String added in v0.4.25

func (o *RegenerateTokenOK) String() string

type RegenerateTokenOKBody added in v0.4.25

type RegenerateTokenOKBody struct {

	// token
	Token string `json:"token,omitempty"`
}

RegenerateTokenOKBody regenerate token o k body swagger:model RegenerateTokenOKBody

func (*RegenerateTokenOKBody) ContextValidate added in v0.4.25

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

ContextValidate validates this regenerate token o k body based on context it is used

func (*RegenerateTokenOKBody) MarshalBinary added in v0.4.25

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

MarshalBinary interface implementation

func (*RegenerateTokenOKBody) UnmarshalBinary added in v0.4.25

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

UnmarshalBinary interface implementation

func (*RegenerateTokenOKBody) Validate added in v0.4.25

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

Validate validates this regenerate token o k body

type RegenerateTokenParams added in v0.4.25

type RegenerateTokenParams struct {

	// Body.
	Body RegenerateTokenBody

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

RegenerateTokenParams contains all the parameters to send to the API endpoint

for the regenerate token operation.

Typically these are written to a http.Request.

func NewRegenerateTokenParams added in v0.4.25

func NewRegenerateTokenParams() *RegenerateTokenParams

NewRegenerateTokenParams creates a new RegenerateTokenParams 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 NewRegenerateTokenParamsWithContext added in v0.4.25

func NewRegenerateTokenParamsWithContext(ctx context.Context) *RegenerateTokenParams

NewRegenerateTokenParamsWithContext creates a new RegenerateTokenParams object with the ability to set a context for a request.

func NewRegenerateTokenParamsWithHTTPClient added in v0.4.25

func NewRegenerateTokenParamsWithHTTPClient(client *http.Client) *RegenerateTokenParams

NewRegenerateTokenParamsWithHTTPClient creates a new RegenerateTokenParams object with the ability to set a custom HTTPClient for a request.

func NewRegenerateTokenParamsWithTimeout added in v0.4.25

func NewRegenerateTokenParamsWithTimeout(timeout time.Duration) *RegenerateTokenParams

NewRegenerateTokenParamsWithTimeout creates a new RegenerateTokenParams object with the ability to set a timeout on a request.

func (*RegenerateTokenParams) SetBody added in v0.4.25

func (o *RegenerateTokenParams) SetBody(body RegenerateTokenBody)

SetBody adds the body to the regenerate token params

func (*RegenerateTokenParams) SetContext added in v0.4.25

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

SetContext adds the context to the regenerate token params

func (*RegenerateTokenParams) SetDefaults added in v0.4.25

func (o *RegenerateTokenParams) SetDefaults()

SetDefaults hydrates default values in the regenerate token params (not the query body).

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

func (*RegenerateTokenParams) SetHTTPClient added in v0.4.25

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

SetHTTPClient adds the HTTPClient to the regenerate token params

func (*RegenerateTokenParams) SetTimeout added in v0.4.25

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

SetTimeout adds the timeout to the regenerate token params

func (*RegenerateTokenParams) WithBody added in v0.4.25

WithBody adds the body to the regenerate token params

func (*RegenerateTokenParams) WithContext added in v0.4.25

WithContext adds the context to the regenerate token params

func (*RegenerateTokenParams) WithDefaults added in v0.4.25

func (o *RegenerateTokenParams) WithDefaults() *RegenerateTokenParams

WithDefaults hydrates default values in the regenerate token params (not the query body).

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

func (*RegenerateTokenParams) WithHTTPClient added in v0.4.25

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

WithHTTPClient adds the HTTPClient to the regenerate token params

func (*RegenerateTokenParams) WithTimeout added in v0.4.25

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

WithTimeout adds the timeout to the regenerate token params

func (*RegenerateTokenParams) WriteToRequest added in v0.4.25

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

WriteToRequest writes these params to a swagger request

type RegenerateTokenReader added in v0.4.25

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

RegenerateTokenReader is a Reader for the RegenerateToken structure.

func (*RegenerateTokenReader) ReadResponse added in v0.4.25

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

ReadResponse reads a server response into the received o.

type RegisterInternalServerError

type RegisterInternalServerError struct {
}

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

internal server error

func NewRegisterInternalServerError

func NewRegisterInternalServerError() *RegisterInternalServerError

NewRegisterInternalServerError creates a RegisterInternalServerError with default headers values

func (*RegisterInternalServerError) Code added in v0.4.19

func (o *RegisterInternalServerError) Code() int

Code gets the status code for the register internal server error response

func (*RegisterInternalServerError) Error

func (*RegisterInternalServerError) IsClientError

func (o *RegisterInternalServerError) IsClientError() bool

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

func (*RegisterInternalServerError) IsCode

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

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

func (*RegisterInternalServerError) IsRedirect

func (o *RegisterInternalServerError) IsRedirect() bool

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

func (*RegisterInternalServerError) IsServerError

func (o *RegisterInternalServerError) IsServerError() bool

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

func (*RegisterInternalServerError) IsSuccess

func (o *RegisterInternalServerError) IsSuccess() bool

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

func (*RegisterInternalServerError) String

func (o *RegisterInternalServerError) String() string

type RegisterNotFound

type RegisterNotFound struct {
}

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

request not found

func NewRegisterNotFound

func NewRegisterNotFound() *RegisterNotFound

NewRegisterNotFound creates a RegisterNotFound with default headers values

func (*RegisterNotFound) Code added in v0.4.19

func (o *RegisterNotFound) Code() int

Code gets the status code for the register not found response

func (*RegisterNotFound) Error

func (o *RegisterNotFound) Error() string

func (*RegisterNotFound) IsClientError

func (o *RegisterNotFound) IsClientError() bool

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

func (*RegisterNotFound) IsCode

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

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

func (*RegisterNotFound) IsRedirect

func (o *RegisterNotFound) IsRedirect() bool

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

func (*RegisterNotFound) IsServerError

func (o *RegisterNotFound) IsServerError() bool

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

func (*RegisterNotFound) IsSuccess

func (o *RegisterNotFound) IsSuccess() bool

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

func (*RegisterNotFound) String

func (o *RegisterNotFound) String() string

type RegisterOK

type RegisterOK struct {
	Payload *rest_model_zrok.RegisterResponse
}

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

account created

func NewRegisterOK

func NewRegisterOK() *RegisterOK

NewRegisterOK creates a RegisterOK with default headers values

func (*RegisterOK) Code added in v0.4.19

func (o *RegisterOK) Code() int

Code gets the status code for the register o k response

func (*RegisterOK) Error

func (o *RegisterOK) Error() string

func (*RegisterOK) GetPayload

func (o *RegisterOK) GetPayload() *rest_model_zrok.RegisterResponse

func (*RegisterOK) IsClientError

func (o *RegisterOK) IsClientError() bool

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

func (*RegisterOK) IsCode

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

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

func (*RegisterOK) IsRedirect

func (o *RegisterOK) IsRedirect() bool

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

func (*RegisterOK) IsServerError

func (o *RegisterOK) IsServerError() bool

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

func (*RegisterOK) IsSuccess

func (o *RegisterOK) IsSuccess() bool

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

func (*RegisterOK) String

func (o *RegisterOK) String() string

type RegisterParams

type RegisterParams struct {

	// Body.
	Body *rest_model_zrok.RegisterRequest

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

RegisterParams contains all the parameters to send to the API endpoint

for the register operation.

Typically these are written to a http.Request.

func NewRegisterParams

func NewRegisterParams() *RegisterParams

NewRegisterParams creates a new RegisterParams 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 NewRegisterParamsWithContext

func NewRegisterParamsWithContext(ctx context.Context) *RegisterParams

NewRegisterParamsWithContext creates a new RegisterParams object with the ability to set a context for a request.

func NewRegisterParamsWithHTTPClient

func NewRegisterParamsWithHTTPClient(client *http.Client) *RegisterParams

NewRegisterParamsWithHTTPClient creates a new RegisterParams object with the ability to set a custom HTTPClient for a request.

func NewRegisterParamsWithTimeout

func NewRegisterParamsWithTimeout(timeout time.Duration) *RegisterParams

NewRegisterParamsWithTimeout creates a new RegisterParams object with the ability to set a timeout on a request.

func (*RegisterParams) SetBody

SetBody adds the body to the register params

func (*RegisterParams) SetContext

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

SetContext adds the context to the register params

func (*RegisterParams) SetDefaults

func (o *RegisterParams) SetDefaults()

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

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

func (*RegisterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the register params

func (*RegisterParams) SetTimeout

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

SetTimeout adds the timeout to the register params

func (*RegisterParams) WithBody

WithBody adds the body to the register params

func (*RegisterParams) WithContext

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

WithContext adds the context to the register params

func (*RegisterParams) WithDefaults

func (o *RegisterParams) WithDefaults() *RegisterParams

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

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

func (*RegisterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the register params

func (*RegisterParams) WithTimeout

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

WithTimeout adds the timeout to the register params

func (*RegisterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RegisterReader

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

RegisterReader is a Reader for the Register structure.

func (*RegisterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RegisterUnprocessableEntity added in v0.4.0

type RegisterUnprocessableEntity struct {
	Payload rest_model_zrok.ErrorMessage
}

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

password validation failure

func NewRegisterUnprocessableEntity added in v0.4.0

func NewRegisterUnprocessableEntity() *RegisterUnprocessableEntity

NewRegisterUnprocessableEntity creates a RegisterUnprocessableEntity with default headers values

func (*RegisterUnprocessableEntity) Code added in v0.4.19

func (o *RegisterUnprocessableEntity) Code() int

Code gets the status code for the register unprocessable entity response

func (*RegisterUnprocessableEntity) Error added in v0.4.0

func (*RegisterUnprocessableEntity) GetPayload added in v0.4.0

func (*RegisterUnprocessableEntity) IsClientError added in v0.4.0

func (o *RegisterUnprocessableEntity) IsClientError() bool

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

func (*RegisterUnprocessableEntity) IsCode added in v0.4.0

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

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

func (*RegisterUnprocessableEntity) IsRedirect added in v0.4.0

func (o *RegisterUnprocessableEntity) IsRedirect() bool

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

func (*RegisterUnprocessableEntity) IsServerError added in v0.4.0

func (o *RegisterUnprocessableEntity) IsServerError() bool

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

func (*RegisterUnprocessableEntity) IsSuccess added in v0.4.0

func (o *RegisterUnprocessableEntity) IsSuccess() bool

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

func (*RegisterUnprocessableEntity) String added in v0.4.0

func (o *RegisterUnprocessableEntity) String() string

type ResetPasswordInternalServerError

type ResetPasswordInternalServerError struct {
}

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

internal server error

func NewResetPasswordInternalServerError

func NewResetPasswordInternalServerError() *ResetPasswordInternalServerError

NewResetPasswordInternalServerError creates a ResetPasswordInternalServerError with default headers values

func (*ResetPasswordInternalServerError) Code added in v0.4.19

Code gets the status code for the reset password internal server error response

func (*ResetPasswordInternalServerError) Error

func (*ResetPasswordInternalServerError) IsClientError

func (o *ResetPasswordInternalServerError) IsClientError() bool

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

func (*ResetPasswordInternalServerError) IsCode

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

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

func (*ResetPasswordInternalServerError) IsRedirect

func (o *ResetPasswordInternalServerError) IsRedirect() bool

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

func (*ResetPasswordInternalServerError) IsServerError

func (o *ResetPasswordInternalServerError) IsServerError() bool

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

func (*ResetPasswordInternalServerError) IsSuccess

func (o *ResetPasswordInternalServerError) IsSuccess() bool

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

func (*ResetPasswordInternalServerError) String

type ResetPasswordNotFound

type ResetPasswordNotFound struct {
}

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

request not found

func NewResetPasswordNotFound

func NewResetPasswordNotFound() *ResetPasswordNotFound

NewResetPasswordNotFound creates a ResetPasswordNotFound with default headers values

func (*ResetPasswordNotFound) Code added in v0.4.19

func (o *ResetPasswordNotFound) Code() int

Code gets the status code for the reset password not found response

func (*ResetPasswordNotFound) Error

func (o *ResetPasswordNotFound) Error() string

func (*ResetPasswordNotFound) IsClientError

func (o *ResetPasswordNotFound) IsClientError() bool

IsClientError returns true when this reset password not found response has a 4xx status code

func (*ResetPasswordNotFound) IsCode

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

IsCode returns true when this reset password not found response a status code equal to that given

func (*ResetPasswordNotFound) IsRedirect

func (o *ResetPasswordNotFound) IsRedirect() bool

IsRedirect returns true when this reset password not found response has a 3xx status code

func (*ResetPasswordNotFound) IsServerError

func (o *ResetPasswordNotFound) IsServerError() bool

IsServerError returns true when this reset password not found response has a 5xx status code

func (*ResetPasswordNotFound) IsSuccess

func (o *ResetPasswordNotFound) IsSuccess() bool

IsSuccess returns true when this reset password not found response has a 2xx status code

func (*ResetPasswordNotFound) String

func (o *ResetPasswordNotFound) String() string

type ResetPasswordOK

type ResetPasswordOK struct {
}

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

password reset

func NewResetPasswordOK

func NewResetPasswordOK() *ResetPasswordOK

NewResetPasswordOK creates a ResetPasswordOK with default headers values

func (*ResetPasswordOK) Code added in v0.4.19

func (o *ResetPasswordOK) Code() int

Code gets the status code for the reset password o k response

func (*ResetPasswordOK) Error

func (o *ResetPasswordOK) Error() string

func (*ResetPasswordOK) IsClientError

func (o *ResetPasswordOK) IsClientError() bool

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

func (*ResetPasswordOK) IsCode

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

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

func (*ResetPasswordOK) IsRedirect

func (o *ResetPasswordOK) IsRedirect() bool

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

func (*ResetPasswordOK) IsServerError

func (o *ResetPasswordOK) IsServerError() bool

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

func (*ResetPasswordOK) IsSuccess

func (o *ResetPasswordOK) IsSuccess() bool

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

func (*ResetPasswordOK) String

func (o *ResetPasswordOK) String() string

type ResetPasswordParams

type ResetPasswordParams struct {

	// Body.
	Body *rest_model_zrok.ResetPasswordRequest

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

ResetPasswordParams contains all the parameters to send to the API endpoint

for the reset password operation.

Typically these are written to a http.Request.

func NewResetPasswordParams

func NewResetPasswordParams() *ResetPasswordParams

NewResetPasswordParams creates a new ResetPasswordParams 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 NewResetPasswordParamsWithContext

func NewResetPasswordParamsWithContext(ctx context.Context) *ResetPasswordParams

NewResetPasswordParamsWithContext creates a new ResetPasswordParams object with the ability to set a context for a request.

func NewResetPasswordParamsWithHTTPClient

func NewResetPasswordParamsWithHTTPClient(client *http.Client) *ResetPasswordParams

NewResetPasswordParamsWithHTTPClient creates a new ResetPasswordParams object with the ability to set a custom HTTPClient for a request.

func NewResetPasswordParamsWithTimeout

func NewResetPasswordParamsWithTimeout(timeout time.Duration) *ResetPasswordParams

NewResetPasswordParamsWithTimeout creates a new ResetPasswordParams object with the ability to set a timeout on a request.

func (*ResetPasswordParams) SetBody

SetBody adds the body to the reset password params

func (*ResetPasswordParams) SetContext

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

SetContext adds the context to the reset password params

func (*ResetPasswordParams) SetDefaults

func (o *ResetPasswordParams) SetDefaults()

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

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

func (*ResetPasswordParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the reset password params

func (*ResetPasswordParams) SetTimeout

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

SetTimeout adds the timeout to the reset password params

func (*ResetPasswordParams) WithBody

WithBody adds the body to the reset password params

func (*ResetPasswordParams) WithContext

WithContext adds the context to the reset password params

func (*ResetPasswordParams) WithDefaults

func (o *ResetPasswordParams) WithDefaults() *ResetPasswordParams

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

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

func (*ResetPasswordParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the reset password params

func (*ResetPasswordParams) WithTimeout

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

WithTimeout adds the timeout to the reset password params

func (*ResetPasswordParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ResetPasswordReader

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

ResetPasswordReader is a Reader for the ResetPassword structure.

func (*ResetPasswordReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResetPasswordRequestBadRequest

type ResetPasswordRequestBadRequest struct {
}

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

forgot password request not created

func NewResetPasswordRequestBadRequest

func NewResetPasswordRequestBadRequest() *ResetPasswordRequestBadRequest

NewResetPasswordRequestBadRequest creates a ResetPasswordRequestBadRequest with default headers values

func (*ResetPasswordRequestBadRequest) Code added in v0.4.19

Code gets the status code for the reset password request bad request response

func (*ResetPasswordRequestBadRequest) Error

func (*ResetPasswordRequestBadRequest) IsClientError

func (o *ResetPasswordRequestBadRequest) IsClientError() bool

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

func (*ResetPasswordRequestBadRequest) IsCode

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

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

func (*ResetPasswordRequestBadRequest) IsRedirect

func (o *ResetPasswordRequestBadRequest) IsRedirect() bool

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

func (*ResetPasswordRequestBadRequest) IsServerError

func (o *ResetPasswordRequestBadRequest) IsServerError() bool

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

func (*ResetPasswordRequestBadRequest) IsSuccess

func (o *ResetPasswordRequestBadRequest) IsSuccess() bool

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

func (*ResetPasswordRequestBadRequest) String

type ResetPasswordRequestBody

type ResetPasswordRequestBody struct {

	// email address
	EmailAddress string `json:"emailAddress,omitempty"`
}

ResetPasswordRequestBody reset password request body swagger:model ResetPasswordRequestBody

func (*ResetPasswordRequestBody) ContextValidate

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

ContextValidate validates this reset password request body based on context it is used

func (*ResetPasswordRequestBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ResetPasswordRequestBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResetPasswordRequestBody) Validate

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

Validate validates this reset password request body

type ResetPasswordRequestCreated

type ResetPasswordRequestCreated struct {
}

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

forgot password request created

func NewResetPasswordRequestCreated

func NewResetPasswordRequestCreated() *ResetPasswordRequestCreated

NewResetPasswordRequestCreated creates a ResetPasswordRequestCreated with default headers values

func (*ResetPasswordRequestCreated) Code added in v0.4.19

func (o *ResetPasswordRequestCreated) Code() int

Code gets the status code for the reset password request created response

func (*ResetPasswordRequestCreated) Error

func (*ResetPasswordRequestCreated) IsClientError

func (o *ResetPasswordRequestCreated) IsClientError() bool

IsClientError returns true when this reset password request created response has a 4xx status code

func (*ResetPasswordRequestCreated) IsCode

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

IsCode returns true when this reset password request created response a status code equal to that given

func (*ResetPasswordRequestCreated) IsRedirect

func (o *ResetPasswordRequestCreated) IsRedirect() bool

IsRedirect returns true when this reset password request created response has a 3xx status code

func (*ResetPasswordRequestCreated) IsServerError

func (o *ResetPasswordRequestCreated) IsServerError() bool

IsServerError returns true when this reset password request created response has a 5xx status code

func (*ResetPasswordRequestCreated) IsSuccess

func (o *ResetPasswordRequestCreated) IsSuccess() bool

IsSuccess returns true when this reset password request created response has a 2xx status code

func (*ResetPasswordRequestCreated) String

func (o *ResetPasswordRequestCreated) String() string

type ResetPasswordRequestInternalServerError

type ResetPasswordRequestInternalServerError struct {
}

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

internal server error

func NewResetPasswordRequestInternalServerError

func NewResetPasswordRequestInternalServerError() *ResetPasswordRequestInternalServerError

NewResetPasswordRequestInternalServerError creates a ResetPasswordRequestInternalServerError with default headers values

func (*ResetPasswordRequestInternalServerError) Code added in v0.4.19

Code gets the status code for the reset password request internal server error response

func (*ResetPasswordRequestInternalServerError) Error

func (*ResetPasswordRequestInternalServerError) IsClientError

func (o *ResetPasswordRequestInternalServerError) IsClientError() bool

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

func (*ResetPasswordRequestInternalServerError) IsCode

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

func (*ResetPasswordRequestInternalServerError) IsRedirect

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

func (*ResetPasswordRequestInternalServerError) IsServerError

func (o *ResetPasswordRequestInternalServerError) IsServerError() bool

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

func (*ResetPasswordRequestInternalServerError) IsSuccess

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

func (*ResetPasswordRequestInternalServerError) String

type ResetPasswordRequestParams

type ResetPasswordRequestParams struct {

	// Body.
	Body ResetPasswordRequestBody

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

ResetPasswordRequestParams contains all the parameters to send to the API endpoint

for the reset password request operation.

Typically these are written to a http.Request.

func NewResetPasswordRequestParams

func NewResetPasswordRequestParams() *ResetPasswordRequestParams

NewResetPasswordRequestParams creates a new ResetPasswordRequestParams 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 NewResetPasswordRequestParamsWithContext

func NewResetPasswordRequestParamsWithContext(ctx context.Context) *ResetPasswordRequestParams

NewResetPasswordRequestParamsWithContext creates a new ResetPasswordRequestParams object with the ability to set a context for a request.

func NewResetPasswordRequestParamsWithHTTPClient

func NewResetPasswordRequestParamsWithHTTPClient(client *http.Client) *ResetPasswordRequestParams

NewResetPasswordRequestParamsWithHTTPClient creates a new ResetPasswordRequestParams object with the ability to set a custom HTTPClient for a request.

func NewResetPasswordRequestParamsWithTimeout

func NewResetPasswordRequestParamsWithTimeout(timeout time.Duration) *ResetPasswordRequestParams

NewResetPasswordRequestParamsWithTimeout creates a new ResetPasswordRequestParams object with the ability to set a timeout on a request.

func (*ResetPasswordRequestParams) SetBody

SetBody adds the body to the reset password request params

func (*ResetPasswordRequestParams) SetContext

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

SetContext adds the context to the reset password request params

func (*ResetPasswordRequestParams) SetDefaults

func (o *ResetPasswordRequestParams) SetDefaults()

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

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

func (*ResetPasswordRequestParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the reset password request params

func (*ResetPasswordRequestParams) SetTimeout

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

SetTimeout adds the timeout to the reset password request params

func (*ResetPasswordRequestParams) WithBody

WithBody adds the body to the reset password request params

func (*ResetPasswordRequestParams) WithContext

WithContext adds the context to the reset password request params

func (*ResetPasswordRequestParams) WithDefaults

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

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

func (*ResetPasswordRequestParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the reset password request params

func (*ResetPasswordRequestParams) WithTimeout

WithTimeout adds the timeout to the reset password request params

func (*ResetPasswordRequestParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResetPasswordRequestReader

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

ResetPasswordRequestReader is a Reader for the ResetPasswordRequest structure.

func (*ResetPasswordRequestReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResetPasswordUnprocessableEntity added in v0.4.0

type ResetPasswordUnprocessableEntity struct {
	Payload rest_model_zrok.ErrorMessage
}

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

password validation failure

func NewResetPasswordUnprocessableEntity added in v0.4.0

func NewResetPasswordUnprocessableEntity() *ResetPasswordUnprocessableEntity

NewResetPasswordUnprocessableEntity creates a ResetPasswordUnprocessableEntity with default headers values

func (*ResetPasswordUnprocessableEntity) Code added in v0.4.19

Code gets the status code for the reset password unprocessable entity response

func (*ResetPasswordUnprocessableEntity) Error added in v0.4.0

func (*ResetPasswordUnprocessableEntity) GetPayload added in v0.4.0

func (*ResetPasswordUnprocessableEntity) IsClientError added in v0.4.0

func (o *ResetPasswordUnprocessableEntity) IsClientError() bool

IsClientError returns true when this reset password unprocessable entity response has a 4xx status code

func (*ResetPasswordUnprocessableEntity) IsCode added in v0.4.0

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

IsCode returns true when this reset password unprocessable entity response a status code equal to that given

func (*ResetPasswordUnprocessableEntity) IsRedirect added in v0.4.0

func (o *ResetPasswordUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this reset password unprocessable entity response has a 3xx status code

func (*ResetPasswordUnprocessableEntity) IsServerError added in v0.4.0

func (o *ResetPasswordUnprocessableEntity) IsServerError() bool

IsServerError returns true when this reset password unprocessable entity response has a 5xx status code

func (*ResetPasswordUnprocessableEntity) IsSuccess added in v0.4.0

func (o *ResetPasswordUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this reset password unprocessable entity response has a 2xx status code

func (*ResetPasswordUnprocessableEntity) String added in v0.4.0

type VerifyInternalServerError

type VerifyInternalServerError struct {
}

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

internal server error

func NewVerifyInternalServerError

func NewVerifyInternalServerError() *VerifyInternalServerError

NewVerifyInternalServerError creates a VerifyInternalServerError with default headers values

func (*VerifyInternalServerError) Code added in v0.4.19

func (o *VerifyInternalServerError) Code() int

Code gets the status code for the verify internal server error response

func (*VerifyInternalServerError) Error

func (o *VerifyInternalServerError) Error() string

func (*VerifyInternalServerError) IsClientError

func (o *VerifyInternalServerError) IsClientError() bool

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

func (*VerifyInternalServerError) IsCode

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

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

func (*VerifyInternalServerError) IsRedirect

func (o *VerifyInternalServerError) IsRedirect() bool

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

func (*VerifyInternalServerError) IsServerError

func (o *VerifyInternalServerError) IsServerError() bool

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

func (*VerifyInternalServerError) IsSuccess

func (o *VerifyInternalServerError) IsSuccess() bool

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

func (*VerifyInternalServerError) String

func (o *VerifyInternalServerError) String() string

type VerifyNotFound

type VerifyNotFound struct {
}

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

token not found

func NewVerifyNotFound

func NewVerifyNotFound() *VerifyNotFound

NewVerifyNotFound creates a VerifyNotFound with default headers values

func (*VerifyNotFound) Code added in v0.4.19

func (o *VerifyNotFound) Code() int

Code gets the status code for the verify not found response

func (*VerifyNotFound) Error

func (o *VerifyNotFound) Error() string

func (*VerifyNotFound) IsClientError

func (o *VerifyNotFound) IsClientError() bool

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

func (*VerifyNotFound) IsCode

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

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

func (*VerifyNotFound) IsRedirect

func (o *VerifyNotFound) IsRedirect() bool

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

func (*VerifyNotFound) IsServerError

func (o *VerifyNotFound) IsServerError() bool

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

func (*VerifyNotFound) IsSuccess

func (o *VerifyNotFound) IsSuccess() bool

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

func (*VerifyNotFound) String

func (o *VerifyNotFound) String() string

type VerifyOK

type VerifyOK struct {
	Payload *rest_model_zrok.VerifyResponse
}

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

token ready

func NewVerifyOK

func NewVerifyOK() *VerifyOK

NewVerifyOK creates a VerifyOK with default headers values

func (*VerifyOK) Code added in v0.4.19

func (o *VerifyOK) Code() int

Code gets the status code for the verify o k response

func (*VerifyOK) Error

func (o *VerifyOK) Error() string

func (*VerifyOK) GetPayload

func (o *VerifyOK) GetPayload() *rest_model_zrok.VerifyResponse

func (*VerifyOK) IsClientError

func (o *VerifyOK) IsClientError() bool

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

func (*VerifyOK) IsCode

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

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

func (*VerifyOK) IsRedirect

func (o *VerifyOK) IsRedirect() bool

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

func (*VerifyOK) IsServerError

func (o *VerifyOK) IsServerError() bool

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

func (*VerifyOK) IsSuccess

func (o *VerifyOK) IsSuccess() bool

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

func (*VerifyOK) String

func (o *VerifyOK) String() string

type VerifyParams

type VerifyParams struct {

	// Body.
	Body *rest_model_zrok.VerifyRequest

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

VerifyParams contains all the parameters to send to the API endpoint

for the verify operation.

Typically these are written to a http.Request.

func NewVerifyParams

func NewVerifyParams() *VerifyParams

NewVerifyParams creates a new VerifyParams 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 NewVerifyParamsWithContext

func NewVerifyParamsWithContext(ctx context.Context) *VerifyParams

NewVerifyParamsWithContext creates a new VerifyParams object with the ability to set a context for a request.

func NewVerifyParamsWithHTTPClient

func NewVerifyParamsWithHTTPClient(client *http.Client) *VerifyParams

NewVerifyParamsWithHTTPClient creates a new VerifyParams object with the ability to set a custom HTTPClient for a request.

func NewVerifyParamsWithTimeout

func NewVerifyParamsWithTimeout(timeout time.Duration) *VerifyParams

NewVerifyParamsWithTimeout creates a new VerifyParams object with the ability to set a timeout on a request.

func (*VerifyParams) SetBody

func (o *VerifyParams) SetBody(body *rest_model_zrok.VerifyRequest)

SetBody adds the body to the verify params

func (*VerifyParams) SetContext

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

SetContext adds the context to the verify params

func (*VerifyParams) SetDefaults

func (o *VerifyParams) SetDefaults()

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

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

func (*VerifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the verify params

func (*VerifyParams) SetTimeout

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

SetTimeout adds the timeout to the verify params

func (*VerifyParams) WithBody

WithBody adds the body to the verify params

func (*VerifyParams) WithContext

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

WithContext adds the context to the verify params

func (*VerifyParams) WithDefaults

func (o *VerifyParams) WithDefaults() *VerifyParams

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

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

func (*VerifyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the verify params

func (*VerifyParams) WithTimeout

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

WithTimeout adds the timeout to the verify params

func (*VerifyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type VerifyReader

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

VerifyReader is a Reader for the Verify structure.

func (*VerifyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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