account

package
v0.4.0-rc1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 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 Client

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

Client for account 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) 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 {
	Invite(params *InviteParams, opts ...ClientOption) (*InviteCreated, error)

	Login(params *LoginParams, opts ...ClientOption) (*LoginOK, 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) 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) 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) 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) 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) 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) 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 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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