account

package
v0.4.29 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const ChangePasswordBadRequestCode int = 400

ChangePasswordBadRequestCode is the HTTP code returned for type ChangePasswordBadRequest

View Source
const ChangePasswordInternalServerErrorCode int = 500

ChangePasswordInternalServerErrorCode is the HTTP code returned for type ChangePasswordInternalServerError

View Source
const ChangePasswordOKCode int = 200

ChangePasswordOKCode is the HTTP code returned for type ChangePasswordOK

View Source
const ChangePasswordUnauthorizedCode int = 401

ChangePasswordUnauthorizedCode is the HTTP code returned for type ChangePasswordUnauthorized

View Source
const ChangePasswordUnprocessableEntityCode int = 422

ChangePasswordUnprocessableEntityCode is the HTTP code returned for type ChangePasswordUnprocessableEntity

View Source
const InviteBadRequestCode int = 400

InviteBadRequestCode is the HTTP code returned for type InviteBadRequest

View Source
const InviteCreatedCode int = 201

InviteCreatedCode is the HTTP code returned for type InviteCreated

View Source
const InviteInternalServerErrorCode int = 500

InviteInternalServerErrorCode is the HTTP code returned for type InviteInternalServerError

View Source
const InviteUnauthorizedCode int = 401

InviteUnauthorizedCode is the HTTP code returned for type InviteUnauthorized

View Source
const LoginOKCode int = 200

LoginOKCode is the HTTP code returned for type LoginOK

View Source
const LoginUnauthorizedCode int = 401

LoginUnauthorizedCode is the HTTP code returned for type LoginUnauthorized

View Source
const RegenerateTokenInternalServerErrorCode int = 500

RegenerateTokenInternalServerErrorCode is the HTTP code returned for type RegenerateTokenInternalServerError

View Source
const RegenerateTokenNotFoundCode int = 404

RegenerateTokenNotFoundCode is the HTTP code returned for type RegenerateTokenNotFound

View Source
const RegenerateTokenOKCode int = 200

RegenerateTokenOKCode is the HTTP code returned for type RegenerateTokenOK

View Source
const RegisterInternalServerErrorCode int = 500

RegisterInternalServerErrorCode is the HTTP code returned for type RegisterInternalServerError

View Source
const RegisterNotFoundCode int = 404

RegisterNotFoundCode is the HTTP code returned for type RegisterNotFound

View Source
const RegisterOKCode int = 200

RegisterOKCode is the HTTP code returned for type RegisterOK

View Source
const RegisterUnprocessableEntityCode int = 422

RegisterUnprocessableEntityCode is the HTTP code returned for type RegisterUnprocessableEntity

View Source
const ResetPasswordInternalServerErrorCode int = 500

ResetPasswordInternalServerErrorCode is the HTTP code returned for type ResetPasswordInternalServerError

View Source
const ResetPasswordNotFoundCode int = 404

ResetPasswordNotFoundCode is the HTTP code returned for type ResetPasswordNotFound

View Source
const ResetPasswordOKCode int = 200

ResetPasswordOKCode is the HTTP code returned for type ResetPasswordOK

View Source
const ResetPasswordRequestBadRequestCode int = 400

ResetPasswordRequestBadRequestCode is the HTTP code returned for type ResetPasswordRequestBadRequest

View Source
const ResetPasswordRequestCreatedCode int = 201

ResetPasswordRequestCreatedCode is the HTTP code returned for type ResetPasswordRequestCreated

View Source
const ResetPasswordRequestInternalServerErrorCode int = 500

ResetPasswordRequestInternalServerErrorCode is the HTTP code returned for type ResetPasswordRequestInternalServerError

View Source
const ResetPasswordUnprocessableEntityCode int = 422

ResetPasswordUnprocessableEntityCode is the HTTP code returned for type ResetPasswordUnprocessableEntity

View Source
const VerifyInternalServerErrorCode int = 500

VerifyInternalServerErrorCode is the HTTP code returned for type VerifyInternalServerError

View Source
const VerifyNotFoundCode int = 404

VerifyNotFoundCode is the HTTP code returned for type VerifyNotFound

View Source
const VerifyOKCode int = 200

VerifyOKCode is the HTTP code returned for type VerifyOK

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangePassword added in v0.4.25

type ChangePassword struct {
	Context *middleware.Context
	Handler ChangePasswordHandler
}
ChangePassword swagger:route POST /changePassword account changePassword

ChangePassword change password API

func NewChangePassword added in v0.4.25

func NewChangePassword(ctx *middleware.Context, handler ChangePasswordHandler) *ChangePassword

NewChangePassword creates a new http.Handler for the change password operation

func (*ChangePassword) ServeHTTP added in v0.4.25

func (o *ChangePassword) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ChangePasswordBadRequest added in v0.4.25

type ChangePasswordBadRequest struct {
}

ChangePasswordBadRequest password not changed

swagger:response changePasswordBadRequest

func NewChangePasswordBadRequest added in v0.4.25

func NewChangePasswordBadRequest() *ChangePasswordBadRequest

NewChangePasswordBadRequest creates ChangePasswordBadRequest with default headers values

func (*ChangePasswordBadRequest) WriteResponse added in v0.4.25

func (o *ChangePasswordBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ChangePasswordHandler added in v0.4.25

type ChangePasswordHandler interface {
	Handle(ChangePasswordParams, *rest_model_zrok.Principal) middleware.Responder
}

ChangePasswordHandler interface for that can handle valid change password params

type ChangePasswordHandlerFunc added in v0.4.25

type ChangePasswordHandlerFunc func(ChangePasswordParams, *rest_model_zrok.Principal) middleware.Responder

ChangePasswordHandlerFunc turns a function with the right signature into a change password handler

func (ChangePasswordHandlerFunc) Handle added in v0.4.25

Handle executing the request and returning a response

type ChangePasswordInternalServerError added in v0.4.25

type ChangePasswordInternalServerError struct {
}

ChangePasswordInternalServerError internal server error

swagger:response changePasswordInternalServerError

func NewChangePasswordInternalServerError added in v0.4.25

func NewChangePasswordInternalServerError() *ChangePasswordInternalServerError

NewChangePasswordInternalServerError creates ChangePasswordInternalServerError with default headers values

func (*ChangePasswordInternalServerError) WriteResponse added in v0.4.25

func (o *ChangePasswordInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ChangePasswordOK added in v0.4.25

type ChangePasswordOK struct {
}

ChangePasswordOK changed password

swagger:response changePasswordOK

func NewChangePasswordOK added in v0.4.25

func NewChangePasswordOK() *ChangePasswordOK

NewChangePasswordOK creates ChangePasswordOK with default headers values

func (*ChangePasswordOK) WriteResponse added in v0.4.25

func (o *ChangePasswordOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ChangePasswordParams added in v0.4.25

type ChangePasswordParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: body
	*/
	Body *rest_model_zrok.ChangePasswordRequest
}

ChangePasswordParams contains all the bound params for the change password operation typically these are obtained from a http.Request

swagger:parameters changePassword

func NewChangePasswordParams added in v0.4.25

func NewChangePasswordParams() ChangePasswordParams

NewChangePasswordParams creates a new ChangePasswordParams object

There are no default values defined in the spec.

func (*ChangePasswordParams) BindRequest added in v0.4.25

func (o *ChangePasswordParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewChangePasswordParams() beforehand.

type ChangePasswordURL added in v0.4.25

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

ChangePasswordURL generates an URL for the change password operation

func (*ChangePasswordURL) Build added in v0.4.25

func (o *ChangePasswordURL) Build() (*url.URL, error)

Build a url path and query string

func (*ChangePasswordURL) BuildFull added in v0.4.25

func (o *ChangePasswordURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ChangePasswordURL) Must added in v0.4.25

func (o *ChangePasswordURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ChangePasswordURL) SetBasePath added in v0.4.25

func (o *ChangePasswordURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ChangePasswordURL) String added in v0.4.25

func (o *ChangePasswordURL) String() string

String returns the string representation of the path with query string

func (*ChangePasswordURL) StringFull added in v0.4.25

func (o *ChangePasswordURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ChangePasswordURL) WithBasePath added in v0.4.25

func (o *ChangePasswordURL) WithBasePath(bp string) *ChangePasswordURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ChangePasswordUnauthorized added in v0.4.25

type ChangePasswordUnauthorized struct {
}

ChangePasswordUnauthorized unauthorized

swagger:response changePasswordUnauthorized

func NewChangePasswordUnauthorized added in v0.4.25

func NewChangePasswordUnauthorized() *ChangePasswordUnauthorized

NewChangePasswordUnauthorized creates ChangePasswordUnauthorized with default headers values

func (*ChangePasswordUnauthorized) WriteResponse added in v0.4.25

func (o *ChangePasswordUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ChangePasswordUnprocessableEntity added in v0.4.25

type ChangePasswordUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload rest_model_zrok.ErrorMessage `json:"body,omitempty"`
}

ChangePasswordUnprocessableEntity password validation failure

swagger:response changePasswordUnprocessableEntity

func NewChangePasswordUnprocessableEntity added in v0.4.25

func NewChangePasswordUnprocessableEntity() *ChangePasswordUnprocessableEntity

NewChangePasswordUnprocessableEntity creates ChangePasswordUnprocessableEntity with default headers values

func (*ChangePasswordUnprocessableEntity) SetPayload added in v0.4.25

SetPayload sets the payload to the change password unprocessable entity response

func (*ChangePasswordUnprocessableEntity) WithPayload added in v0.4.25

WithPayload adds the payload to the change password unprocessable entity response

func (*ChangePasswordUnprocessableEntity) WriteResponse added in v0.4.25

func (o *ChangePasswordUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type Invite

type Invite struct {
	Context *middleware.Context
	Handler InviteHandler
}
Invite swagger:route POST /invite account invite

Invite invite API

func NewInvite

func NewInvite(ctx *middleware.Context, handler InviteHandler) *Invite

NewInvite creates a new http.Handler for the invite operation

func (*Invite) ServeHTTP

func (o *Invite) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type InviteBadRequest

type InviteBadRequest struct {

	/*
	  In: Body
	*/
	Payload rest_model_zrok.ErrorMessage `json:"body,omitempty"`
}

InviteBadRequest invitation not created (already exists)

swagger:response inviteBadRequest

func NewInviteBadRequest

func NewInviteBadRequest() *InviteBadRequest

NewInviteBadRequest creates InviteBadRequest with default headers values

func (*InviteBadRequest) SetPayload added in v0.3.1

func (o *InviteBadRequest) SetPayload(payload rest_model_zrok.ErrorMessage)

SetPayload sets the payload to the invite bad request response

func (*InviteBadRequest) WithPayload added in v0.3.1

WithPayload adds the payload to the invite bad request response

func (*InviteBadRequest) WriteResponse

func (o *InviteBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type InviteCreated

type InviteCreated struct {
}

InviteCreated invitation created

swagger:response inviteCreated

func NewInviteCreated

func NewInviteCreated() *InviteCreated

NewInviteCreated creates InviteCreated with default headers values

func (*InviteCreated) WriteResponse

func (o *InviteCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type InviteHandler

type InviteHandler interface {
	Handle(InviteParams) middleware.Responder
}

InviteHandler interface for that can handle valid invite params

type InviteHandlerFunc

type InviteHandlerFunc func(InviteParams) middleware.Responder

InviteHandlerFunc turns a function with the right signature into a invite handler

func (InviteHandlerFunc) Handle

Handle executing the request and returning a response

type InviteInternalServerError

type InviteInternalServerError struct {
}

InviteInternalServerError internal server error

swagger:response inviteInternalServerError

func NewInviteInternalServerError

func NewInviteInternalServerError() *InviteInternalServerError

NewInviteInternalServerError creates InviteInternalServerError with default headers values

func (*InviteInternalServerError) WriteResponse

func (o *InviteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type InviteParams

type InviteParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: body
	*/
	Body *rest_model_zrok.InviteRequest
}

InviteParams contains all the bound params for the invite operation typically these are obtained from a http.Request

swagger:parameters invite

func NewInviteParams

func NewInviteParams() InviteParams

NewInviteParams creates a new InviteParams object

There are no default values defined in the spec.

func (*InviteParams) BindRequest

func (o *InviteParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewInviteParams() beforehand.

type InviteURL

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

InviteURL generates an URL for the invite operation

func (*InviteURL) Build

func (o *InviteURL) Build() (*url.URL, error)

Build a url path and query string

func (*InviteURL) BuildFull

func (o *InviteURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*InviteURL) Must

func (o *InviteURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*InviteURL) SetBasePath

func (o *InviteURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*InviteURL) String

func (o *InviteURL) String() string

String returns the string representation of the path with query string

func (*InviteURL) StringFull

func (o *InviteURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*InviteURL) WithBasePath

func (o *InviteURL) WithBasePath(bp string) *InviteURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type InviteUnauthorized

type InviteUnauthorized struct {
}

InviteUnauthorized unauthorized

swagger:response inviteUnauthorized

func NewInviteUnauthorized

func NewInviteUnauthorized() *InviteUnauthorized

NewInviteUnauthorized creates InviteUnauthorized with default headers values

func (*InviteUnauthorized) WriteResponse

func (o *InviteUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type Login

type Login struct {
	Context *middleware.Context
	Handler LoginHandler
}
Login swagger:route POST /login account login

Login login API

func NewLogin

func NewLogin(ctx *middleware.Context, handler LoginHandler) *Login

NewLogin creates a new http.Handler for the login operation

func (*Login) ServeHTTP

func (o *Login) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type LoginHandler

type LoginHandler interface {
	Handle(LoginParams) middleware.Responder
}

LoginHandler interface for that can handle valid login params

type LoginHandlerFunc

type LoginHandlerFunc func(LoginParams) middleware.Responder

LoginHandlerFunc turns a function with the right signature into a login handler

func (LoginHandlerFunc) Handle

Handle executing the request and returning a response

type LoginOK

type LoginOK struct {

	/*
	  In: Body
	*/
	Payload rest_model_zrok.LoginResponse `json:"body,omitempty"`
}

LoginOK login successful

swagger:response loginOK

func NewLoginOK

func NewLoginOK() *LoginOK

NewLoginOK creates LoginOK with default headers values

func (*LoginOK) SetPayload

func (o *LoginOK) SetPayload(payload rest_model_zrok.LoginResponse)

SetPayload sets the payload to the login o k response

func (*LoginOK) WithPayload

func (o *LoginOK) WithPayload(payload rest_model_zrok.LoginResponse) *LoginOK

WithPayload adds the payload to the login o k response

func (*LoginOK) WriteResponse

func (o *LoginOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type LoginParams

type LoginParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: body
	*/
	Body *rest_model_zrok.LoginRequest
}

LoginParams contains all the bound params for the login operation typically these are obtained from a http.Request

swagger:parameters login

func NewLoginParams

func NewLoginParams() LoginParams

NewLoginParams creates a new LoginParams object

There are no default values defined in the spec.

func (*LoginParams) BindRequest

func (o *LoginParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewLoginParams() beforehand.

type LoginURL

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

LoginURL generates an URL for the login operation

func (*LoginURL) Build

func (o *LoginURL) Build() (*url.URL, error)

Build a url path and query string

func (*LoginURL) BuildFull

func (o *LoginURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*LoginURL) Must

func (o *LoginURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*LoginURL) SetBasePath

func (o *LoginURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*LoginURL) String

func (o *LoginURL) String() string

String returns the string representation of the path with query string

func (*LoginURL) StringFull

func (o *LoginURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*LoginURL) WithBasePath

func (o *LoginURL) WithBasePath(bp string) *LoginURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type LoginUnauthorized

type LoginUnauthorized struct {
}

LoginUnauthorized invalid login

swagger:response loginUnauthorized

func NewLoginUnauthorized

func NewLoginUnauthorized() *LoginUnauthorized

NewLoginUnauthorized creates LoginUnauthorized with default headers values

func (*LoginUnauthorized) WriteResponse

func (o *LoginUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type RegenerateToken added in v0.4.25

type RegenerateToken struct {
	Context *middleware.Context
	Handler RegenerateTokenHandler
}
RegenerateToken swagger:route POST /regenerateToken account regenerateToken

RegenerateToken regenerate token API

func NewRegenerateToken added in v0.4.25

func NewRegenerateToken(ctx *middleware.Context, handler RegenerateTokenHandler) *RegenerateToken

NewRegenerateToken creates a new http.Handler for the regenerate token operation

func (*RegenerateToken) ServeHTTP added in v0.4.25

func (o *RegenerateToken) ServeHTTP(rw http.ResponseWriter, r *http.Request)

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

type RegenerateTokenHandler interface {
	Handle(RegenerateTokenParams, *rest_model_zrok.Principal) middleware.Responder
}

RegenerateTokenHandler interface for that can handle valid regenerate token params

type RegenerateTokenHandlerFunc added in v0.4.25

type RegenerateTokenHandlerFunc func(RegenerateTokenParams, *rest_model_zrok.Principal) middleware.Responder

RegenerateTokenHandlerFunc turns a function with the right signature into a regenerate token handler

func (RegenerateTokenHandlerFunc) Handle added in v0.4.25

Handle executing the request and returning a response

type RegenerateTokenInternalServerError added in v0.4.25

type RegenerateTokenInternalServerError struct {
}

RegenerateTokenInternalServerError internal server error

swagger:response regenerateTokenInternalServerError

func NewRegenerateTokenInternalServerError added in v0.4.25

func NewRegenerateTokenInternalServerError() *RegenerateTokenInternalServerError

NewRegenerateTokenInternalServerError creates RegenerateTokenInternalServerError with default headers values

func (*RegenerateTokenInternalServerError) WriteResponse added in v0.4.25

WriteResponse to the client

type RegenerateTokenNotFound added in v0.4.25

type RegenerateTokenNotFound struct {
}

RegenerateTokenNotFound account not found

swagger:response regenerateTokenNotFound

func NewRegenerateTokenNotFound added in v0.4.25

func NewRegenerateTokenNotFound() *RegenerateTokenNotFound

NewRegenerateTokenNotFound creates RegenerateTokenNotFound with default headers values

func (*RegenerateTokenNotFound) WriteResponse added in v0.4.25

func (o *RegenerateTokenNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type RegenerateTokenOK added in v0.4.25

type RegenerateTokenOK struct {

	/*
	  In: Body
	*/
	Payload *RegenerateTokenOKBody `json:"body,omitempty"`
}

RegenerateTokenOK regenerate account token

swagger:response regenerateTokenOK

func NewRegenerateTokenOK added in v0.4.25

func NewRegenerateTokenOK() *RegenerateTokenOK

NewRegenerateTokenOK creates RegenerateTokenOK with default headers values

func (*RegenerateTokenOK) SetPayload added in v0.4.25

func (o *RegenerateTokenOK) SetPayload(payload *RegenerateTokenOKBody)

SetPayload sets the payload to the regenerate token o k response

func (*RegenerateTokenOK) WithPayload added in v0.4.25

func (o *RegenerateTokenOK) WithPayload(payload *RegenerateTokenOKBody) *RegenerateTokenOK

WithPayload adds the payload to the regenerate token o k response

func (*RegenerateTokenOK) WriteResponse added in v0.4.25

func (o *RegenerateTokenOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

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 {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: body
	*/
	Body RegenerateTokenBody
}

RegenerateTokenParams contains all the bound params for the regenerate token operation typically these are obtained from a http.Request

swagger:parameters regenerateToken

func NewRegenerateTokenParams added in v0.4.25

func NewRegenerateTokenParams() RegenerateTokenParams

NewRegenerateTokenParams creates a new RegenerateTokenParams object

There are no default values defined in the spec.

func (*RegenerateTokenParams) BindRequest added in v0.4.25

func (o *RegenerateTokenParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewRegenerateTokenParams() beforehand.

type RegenerateTokenURL added in v0.4.25

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

RegenerateTokenURL generates an URL for the regenerate token operation

func (*RegenerateTokenURL) Build added in v0.4.25

func (o *RegenerateTokenURL) Build() (*url.URL, error)

Build a url path and query string

func (*RegenerateTokenURL) BuildFull added in v0.4.25

func (o *RegenerateTokenURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*RegenerateTokenURL) Must added in v0.4.25

func (o *RegenerateTokenURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*RegenerateTokenURL) SetBasePath added in v0.4.25

func (o *RegenerateTokenURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*RegenerateTokenURL) String added in v0.4.25

func (o *RegenerateTokenURL) String() string

String returns the string representation of the path with query string

func (*RegenerateTokenURL) StringFull added in v0.4.25

func (o *RegenerateTokenURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*RegenerateTokenURL) WithBasePath added in v0.4.25

func (o *RegenerateTokenURL) WithBasePath(bp string) *RegenerateTokenURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type Register

type Register struct {
	Context *middleware.Context
	Handler RegisterHandler
}
Register swagger:route POST /register account register

Register register API

func NewRegister

func NewRegister(ctx *middleware.Context, handler RegisterHandler) *Register

NewRegister creates a new http.Handler for the register operation

func (*Register) ServeHTTP

func (o *Register) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type RegisterHandler

type RegisterHandler interface {
	Handle(RegisterParams) middleware.Responder
}

RegisterHandler interface for that can handle valid register params

type RegisterHandlerFunc

type RegisterHandlerFunc func(RegisterParams) middleware.Responder

RegisterHandlerFunc turns a function with the right signature into a register handler

func (RegisterHandlerFunc) Handle

Handle executing the request and returning a response

type RegisterInternalServerError

type RegisterInternalServerError struct {
}

RegisterInternalServerError internal server error

swagger:response registerInternalServerError

func NewRegisterInternalServerError

func NewRegisterInternalServerError() *RegisterInternalServerError

NewRegisterInternalServerError creates RegisterInternalServerError with default headers values

func (*RegisterInternalServerError) WriteResponse

func (o *RegisterInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type RegisterNotFound

type RegisterNotFound struct {
}

RegisterNotFound request not found

swagger:response registerNotFound

func NewRegisterNotFound

func NewRegisterNotFound() *RegisterNotFound

NewRegisterNotFound creates RegisterNotFound with default headers values

func (*RegisterNotFound) WriteResponse

func (o *RegisterNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type RegisterOK

type RegisterOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model_zrok.RegisterResponse `json:"body,omitempty"`
}

RegisterOK account created

swagger:response registerOK

func NewRegisterOK

func NewRegisterOK() *RegisterOK

NewRegisterOK creates RegisterOK with default headers values

func (*RegisterOK) SetPayload

func (o *RegisterOK) SetPayload(payload *rest_model_zrok.RegisterResponse)

SetPayload sets the payload to the register o k response

func (*RegisterOK) WithPayload

func (o *RegisterOK) WithPayload(payload *rest_model_zrok.RegisterResponse) *RegisterOK

WithPayload adds the payload to the register o k response

func (*RegisterOK) WriteResponse

func (o *RegisterOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type RegisterParams

type RegisterParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: body
	*/
	Body *rest_model_zrok.RegisterRequest
}

RegisterParams contains all the bound params for the register operation typically these are obtained from a http.Request

swagger:parameters register

func NewRegisterParams

func NewRegisterParams() RegisterParams

NewRegisterParams creates a new RegisterParams object

There are no default values defined in the spec.

func (*RegisterParams) BindRequest

func (o *RegisterParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewRegisterParams() beforehand.

type RegisterURL

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

RegisterURL generates an URL for the register operation

func (*RegisterURL) Build

func (o *RegisterURL) Build() (*url.URL, error)

Build a url path and query string

func (*RegisterURL) BuildFull

func (o *RegisterURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*RegisterURL) Must

func (o *RegisterURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*RegisterURL) SetBasePath

func (o *RegisterURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*RegisterURL) String

func (o *RegisterURL) String() string

String returns the string representation of the path with query string

func (*RegisterURL) StringFull

func (o *RegisterURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*RegisterURL) WithBasePath

func (o *RegisterURL) WithBasePath(bp string) *RegisterURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type RegisterUnprocessableEntity added in v0.4.0

type RegisterUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload rest_model_zrok.ErrorMessage `json:"body,omitempty"`
}

RegisterUnprocessableEntity password validation failure

swagger:response registerUnprocessableEntity

func NewRegisterUnprocessableEntity added in v0.4.0

func NewRegisterUnprocessableEntity() *RegisterUnprocessableEntity

NewRegisterUnprocessableEntity creates RegisterUnprocessableEntity with default headers values

func (*RegisterUnprocessableEntity) SetPayload added in v0.4.0

SetPayload sets the payload to the register unprocessable entity response

func (*RegisterUnprocessableEntity) WithPayload added in v0.4.0

WithPayload adds the payload to the register unprocessable entity response

func (*RegisterUnprocessableEntity) WriteResponse added in v0.4.0

func (o *RegisterUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ResetPassword

type ResetPassword struct {
	Context *middleware.Context
	Handler ResetPasswordHandler
}
ResetPassword swagger:route POST /resetPassword account resetPassword

ResetPassword reset password API

func NewResetPassword

func NewResetPassword(ctx *middleware.Context, handler ResetPasswordHandler) *ResetPassword

NewResetPassword creates a new http.Handler for the reset password operation

func (*ResetPassword) ServeHTTP

func (o *ResetPassword) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ResetPasswordHandler

type ResetPasswordHandler interface {
	Handle(ResetPasswordParams) middleware.Responder
}

ResetPasswordHandler interface for that can handle valid reset password params

type ResetPasswordHandlerFunc

type ResetPasswordHandlerFunc func(ResetPasswordParams) middleware.Responder

ResetPasswordHandlerFunc turns a function with the right signature into a reset password handler

func (ResetPasswordHandlerFunc) Handle

Handle executing the request and returning a response

type ResetPasswordInternalServerError

type ResetPasswordInternalServerError struct {
}

ResetPasswordInternalServerError internal server error

swagger:response resetPasswordInternalServerError

func NewResetPasswordInternalServerError

func NewResetPasswordInternalServerError() *ResetPasswordInternalServerError

NewResetPasswordInternalServerError creates ResetPasswordInternalServerError with default headers values

func (*ResetPasswordInternalServerError) WriteResponse

func (o *ResetPasswordInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ResetPasswordNotFound

type ResetPasswordNotFound struct {
}

ResetPasswordNotFound request not found

swagger:response resetPasswordNotFound

func NewResetPasswordNotFound

func NewResetPasswordNotFound() *ResetPasswordNotFound

NewResetPasswordNotFound creates ResetPasswordNotFound with default headers values

func (*ResetPasswordNotFound) WriteResponse

func (o *ResetPasswordNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ResetPasswordOK

type ResetPasswordOK struct {
}

ResetPasswordOK password reset

swagger:response resetPasswordOK

func NewResetPasswordOK

func NewResetPasswordOK() *ResetPasswordOK

NewResetPasswordOK creates ResetPasswordOK with default headers values

func (*ResetPasswordOK) WriteResponse

func (o *ResetPasswordOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ResetPasswordParams

type ResetPasswordParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: body
	*/
	Body *rest_model_zrok.ResetPasswordRequest
}

ResetPasswordParams contains all the bound params for the reset password operation typically these are obtained from a http.Request

swagger:parameters resetPassword

func NewResetPasswordParams

func NewResetPasswordParams() ResetPasswordParams

NewResetPasswordParams creates a new ResetPasswordParams object

There are no default values defined in the spec.

func (*ResetPasswordParams) BindRequest

func (o *ResetPasswordParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewResetPasswordParams() beforehand.

type ResetPasswordRequest

type ResetPasswordRequest struct {
	Context *middleware.Context
	Handler ResetPasswordRequestHandler
}
ResetPasswordRequest swagger:route POST /resetPasswordRequest account resetPasswordRequest

ResetPasswordRequest reset password request API

func NewResetPasswordRequest

func NewResetPasswordRequest(ctx *middleware.Context, handler ResetPasswordRequestHandler) *ResetPasswordRequest

NewResetPasswordRequest creates a new http.Handler for the reset password request operation

func (*ResetPasswordRequest) ServeHTTP

func (o *ResetPasswordRequest) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ResetPasswordRequestBadRequest

type ResetPasswordRequestBadRequest struct {
}

ResetPasswordRequestBadRequest forgot password request not created

swagger:response resetPasswordRequestBadRequest

func NewResetPasswordRequestBadRequest

func NewResetPasswordRequestBadRequest() *ResetPasswordRequestBadRequest

NewResetPasswordRequestBadRequest creates ResetPasswordRequestBadRequest with default headers values

func (*ResetPasswordRequestBadRequest) WriteResponse

func (o *ResetPasswordRequestBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

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 forgot password request created

swagger:response resetPasswordRequestCreated

func NewResetPasswordRequestCreated

func NewResetPasswordRequestCreated() *ResetPasswordRequestCreated

NewResetPasswordRequestCreated creates ResetPasswordRequestCreated with default headers values

func (*ResetPasswordRequestCreated) WriteResponse

func (o *ResetPasswordRequestCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ResetPasswordRequestHandler

type ResetPasswordRequestHandler interface {
	Handle(ResetPasswordRequestParams) middleware.Responder
}

ResetPasswordRequestHandler interface for that can handle valid reset password request params

type ResetPasswordRequestHandlerFunc

type ResetPasswordRequestHandlerFunc func(ResetPasswordRequestParams) middleware.Responder

ResetPasswordRequestHandlerFunc turns a function with the right signature into a reset password request handler

func (ResetPasswordRequestHandlerFunc) Handle

Handle executing the request and returning a response

type ResetPasswordRequestInternalServerError

type ResetPasswordRequestInternalServerError struct {
}

ResetPasswordRequestInternalServerError internal server error

swagger:response resetPasswordRequestInternalServerError

func NewResetPasswordRequestInternalServerError

func NewResetPasswordRequestInternalServerError() *ResetPasswordRequestInternalServerError

NewResetPasswordRequestInternalServerError creates ResetPasswordRequestInternalServerError with default headers values

func (*ResetPasswordRequestInternalServerError) WriteResponse

WriteResponse to the client

type ResetPasswordRequestParams

type ResetPasswordRequestParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: body
	*/
	Body ResetPasswordRequestBody
}

ResetPasswordRequestParams contains all the bound params for the reset password request operation typically these are obtained from a http.Request

swagger:parameters resetPasswordRequest

func NewResetPasswordRequestParams

func NewResetPasswordRequestParams() ResetPasswordRequestParams

NewResetPasswordRequestParams creates a new ResetPasswordRequestParams object

There are no default values defined in the spec.

func (*ResetPasswordRequestParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewResetPasswordRequestParams() beforehand.

type ResetPasswordRequestURL

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

ResetPasswordRequestURL generates an URL for the reset password request operation

func (*ResetPasswordRequestURL) Build

func (o *ResetPasswordRequestURL) Build() (*url.URL, error)

Build a url path and query string

func (*ResetPasswordRequestURL) BuildFull

func (o *ResetPasswordRequestURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ResetPasswordRequestURL) Must

func (o *ResetPasswordRequestURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ResetPasswordRequestURL) SetBasePath

func (o *ResetPasswordRequestURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ResetPasswordRequestURL) String

func (o *ResetPasswordRequestURL) String() string

String returns the string representation of the path with query string

func (*ResetPasswordRequestURL) StringFull

func (o *ResetPasswordRequestURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ResetPasswordRequestURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ResetPasswordURL

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

ResetPasswordURL generates an URL for the reset password operation

func (*ResetPasswordURL) Build

func (o *ResetPasswordURL) Build() (*url.URL, error)

Build a url path and query string

func (*ResetPasswordURL) BuildFull

func (o *ResetPasswordURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ResetPasswordURL) Must

func (o *ResetPasswordURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ResetPasswordURL) SetBasePath

func (o *ResetPasswordURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ResetPasswordURL) String

func (o *ResetPasswordURL) String() string

String returns the string representation of the path with query string

func (*ResetPasswordURL) StringFull

func (o *ResetPasswordURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ResetPasswordURL) WithBasePath

func (o *ResetPasswordURL) WithBasePath(bp string) *ResetPasswordURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ResetPasswordUnprocessableEntity added in v0.4.0

type ResetPasswordUnprocessableEntity struct {

	/*
	  In: Body
	*/
	Payload rest_model_zrok.ErrorMessage `json:"body,omitempty"`
}

ResetPasswordUnprocessableEntity password validation failure

swagger:response resetPasswordUnprocessableEntity

func NewResetPasswordUnprocessableEntity added in v0.4.0

func NewResetPasswordUnprocessableEntity() *ResetPasswordUnprocessableEntity

NewResetPasswordUnprocessableEntity creates ResetPasswordUnprocessableEntity with default headers values

func (*ResetPasswordUnprocessableEntity) SetPayload added in v0.4.0

SetPayload sets the payload to the reset password unprocessable entity response

func (*ResetPasswordUnprocessableEntity) WithPayload added in v0.4.0

WithPayload adds the payload to the reset password unprocessable entity response

func (*ResetPasswordUnprocessableEntity) WriteResponse added in v0.4.0

func (o *ResetPasswordUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type Verify

type Verify struct {
	Context *middleware.Context
	Handler VerifyHandler
}
Verify swagger:route POST /verify account verify

Verify verify API

func NewVerify

func NewVerify(ctx *middleware.Context, handler VerifyHandler) *Verify

NewVerify creates a new http.Handler for the verify operation

func (*Verify) ServeHTTP

func (o *Verify) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type VerifyHandler

type VerifyHandler interface {
	Handle(VerifyParams) middleware.Responder
}

VerifyHandler interface for that can handle valid verify params

type VerifyHandlerFunc

type VerifyHandlerFunc func(VerifyParams) middleware.Responder

VerifyHandlerFunc turns a function with the right signature into a verify handler

func (VerifyHandlerFunc) Handle

Handle executing the request and returning a response

type VerifyInternalServerError

type VerifyInternalServerError struct {
}

VerifyInternalServerError internal server error

swagger:response verifyInternalServerError

func NewVerifyInternalServerError

func NewVerifyInternalServerError() *VerifyInternalServerError

NewVerifyInternalServerError creates VerifyInternalServerError with default headers values

func (*VerifyInternalServerError) WriteResponse

func (o *VerifyInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type VerifyNotFound

type VerifyNotFound struct {
}

VerifyNotFound token not found

swagger:response verifyNotFound

func NewVerifyNotFound

func NewVerifyNotFound() *VerifyNotFound

NewVerifyNotFound creates VerifyNotFound with default headers values

func (*VerifyNotFound) WriteResponse

func (o *VerifyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type VerifyOK

type VerifyOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model_zrok.VerifyResponse `json:"body,omitempty"`
}

VerifyOK token ready

swagger:response verifyOK

func NewVerifyOK

func NewVerifyOK() *VerifyOK

NewVerifyOK creates VerifyOK with default headers values

func (*VerifyOK) SetPayload

func (o *VerifyOK) SetPayload(payload *rest_model_zrok.VerifyResponse)

SetPayload sets the payload to the verify o k response

func (*VerifyOK) WithPayload

func (o *VerifyOK) WithPayload(payload *rest_model_zrok.VerifyResponse) *VerifyOK

WithPayload adds the payload to the verify o k response

func (*VerifyOK) WriteResponse

func (o *VerifyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type VerifyParams

type VerifyParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: body
	*/
	Body *rest_model_zrok.VerifyRequest
}

VerifyParams contains all the bound params for the verify operation typically these are obtained from a http.Request

swagger:parameters verify

func NewVerifyParams

func NewVerifyParams() VerifyParams

NewVerifyParams creates a new VerifyParams object

There are no default values defined in the spec.

func (*VerifyParams) BindRequest

func (o *VerifyParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewVerifyParams() beforehand.

type VerifyURL

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

VerifyURL generates an URL for the verify operation

func (*VerifyURL) Build

func (o *VerifyURL) Build() (*url.URL, error)

Build a url path and query string

func (*VerifyURL) BuildFull

func (o *VerifyURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*VerifyURL) Must

func (o *VerifyURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*VerifyURL) SetBasePath

func (o *VerifyURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*VerifyURL) String

func (o *VerifyURL) String() string

String returns the string representation of the path with query string

func (*VerifyURL) StringFull

func (o *VerifyURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*VerifyURL) WithBasePath

func (o *VerifyURL) WithBasePath(bp string) *VerifyURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

Jump to

Keyboard shortcuts

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