Documentation ¶
Index ¶
- type Client
- func (a *Client) Invite(params *InviteParams, opts ...ClientOption) (*InviteCreated, error)
- func (a *Client) Login(params *LoginParams, opts ...ClientOption) (*LoginOK, error)
- func (a *Client) Register(params *RegisterParams, opts ...ClientOption) (*RegisterOK, error)
- func (a *Client) ResetPassword(params *ResetPasswordParams, opts ...ClientOption) (*ResetPasswordOK, error)
- func (a *Client) ResetPasswordRequest(params *ResetPasswordRequestParams, opts ...ClientOption) (*ResetPasswordRequestCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) Verify(params *VerifyParams, opts ...ClientOption) (*VerifyOK, error)
- type ClientOption
- type ClientService
- type InviteBadRequest
- func (o *InviteBadRequest) Error() string
- func (o *InviteBadRequest) GetPayload() rest_model_zrok.ErrorMessage
- func (o *InviteBadRequest) IsClientError() bool
- func (o *InviteBadRequest) IsCode(code int) bool
- func (o *InviteBadRequest) IsRedirect() bool
- func (o *InviteBadRequest) IsServerError() bool
- func (o *InviteBadRequest) IsSuccess() bool
- func (o *InviteBadRequest) String() string
- type InviteCreated
- type InviteInternalServerError
- func (o *InviteInternalServerError) Error() string
- func (o *InviteInternalServerError) IsClientError() bool
- func (o *InviteInternalServerError) IsCode(code int) bool
- func (o *InviteInternalServerError) IsRedirect() bool
- func (o *InviteInternalServerError) IsServerError() bool
- func (o *InviteInternalServerError) IsSuccess() bool
- func (o *InviteInternalServerError) String() string
- type InviteParams
- func (o *InviteParams) SetBody(body *rest_model_zrok.InviteRequest)
- func (o *InviteParams) SetContext(ctx context.Context)
- func (o *InviteParams) SetDefaults()
- func (o *InviteParams) SetHTTPClient(client *http.Client)
- func (o *InviteParams) SetTimeout(timeout time.Duration)
- func (o *InviteParams) WithBody(body *rest_model_zrok.InviteRequest) *InviteParams
- func (o *InviteParams) WithContext(ctx context.Context) *InviteParams
- func (o *InviteParams) WithDefaults() *InviteParams
- func (o *InviteParams) WithHTTPClient(client *http.Client) *InviteParams
- func (o *InviteParams) WithTimeout(timeout time.Duration) *InviteParams
- func (o *InviteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InviteReader
- type InviteUnauthorized
- func (o *InviteUnauthorized) Error() string
- func (o *InviteUnauthorized) IsClientError() bool
- func (o *InviteUnauthorized) IsCode(code int) bool
- func (o *InviteUnauthorized) IsRedirect() bool
- func (o *InviteUnauthorized) IsServerError() bool
- func (o *InviteUnauthorized) IsSuccess() bool
- func (o *InviteUnauthorized) String() string
- type LoginOK
- func (o *LoginOK) Error() string
- func (o *LoginOK) GetPayload() rest_model_zrok.LoginResponse
- func (o *LoginOK) IsClientError() bool
- func (o *LoginOK) IsCode(code int) bool
- func (o *LoginOK) IsRedirect() bool
- func (o *LoginOK) IsServerError() bool
- func (o *LoginOK) IsSuccess() bool
- func (o *LoginOK) String() string
- type LoginParams
- func (o *LoginParams) SetBody(body *rest_model_zrok.LoginRequest)
- func (o *LoginParams) SetContext(ctx context.Context)
- func (o *LoginParams) SetDefaults()
- func (o *LoginParams) SetHTTPClient(client *http.Client)
- func (o *LoginParams) SetTimeout(timeout time.Duration)
- func (o *LoginParams) WithBody(body *rest_model_zrok.LoginRequest) *LoginParams
- func (o *LoginParams) WithContext(ctx context.Context) *LoginParams
- func (o *LoginParams) WithDefaults() *LoginParams
- func (o *LoginParams) WithHTTPClient(client *http.Client) *LoginParams
- func (o *LoginParams) WithTimeout(timeout time.Duration) *LoginParams
- func (o *LoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LoginReader
- type LoginUnauthorized
- func (o *LoginUnauthorized) Error() string
- func (o *LoginUnauthorized) IsClientError() bool
- func (o *LoginUnauthorized) IsCode(code int) bool
- func (o *LoginUnauthorized) IsRedirect() bool
- func (o *LoginUnauthorized) IsServerError() bool
- func (o *LoginUnauthorized) IsSuccess() bool
- func (o *LoginUnauthorized) String() string
- type RegisterInternalServerError
- func (o *RegisterInternalServerError) Error() string
- func (o *RegisterInternalServerError) IsClientError() bool
- func (o *RegisterInternalServerError) IsCode(code int) bool
- func (o *RegisterInternalServerError) IsRedirect() bool
- func (o *RegisterInternalServerError) IsServerError() bool
- func (o *RegisterInternalServerError) IsSuccess() bool
- func (o *RegisterInternalServerError) String() string
- type RegisterNotFound
- func (o *RegisterNotFound) Error() string
- func (o *RegisterNotFound) IsClientError() bool
- func (o *RegisterNotFound) IsCode(code int) bool
- func (o *RegisterNotFound) IsRedirect() bool
- func (o *RegisterNotFound) IsServerError() bool
- func (o *RegisterNotFound) IsSuccess() bool
- func (o *RegisterNotFound) String() string
- type RegisterOK
- func (o *RegisterOK) Error() string
- func (o *RegisterOK) GetPayload() *rest_model_zrok.RegisterResponse
- func (o *RegisterOK) IsClientError() bool
- func (o *RegisterOK) IsCode(code int) bool
- func (o *RegisterOK) IsRedirect() bool
- func (o *RegisterOK) IsServerError() bool
- func (o *RegisterOK) IsSuccess() bool
- func (o *RegisterOK) String() string
- type RegisterParams
- func (o *RegisterParams) SetBody(body *rest_model_zrok.RegisterRequest)
- func (o *RegisterParams) SetContext(ctx context.Context)
- func (o *RegisterParams) SetDefaults()
- func (o *RegisterParams) SetHTTPClient(client *http.Client)
- func (o *RegisterParams) SetTimeout(timeout time.Duration)
- func (o *RegisterParams) WithBody(body *rest_model_zrok.RegisterRequest) *RegisterParams
- func (o *RegisterParams) WithContext(ctx context.Context) *RegisterParams
- func (o *RegisterParams) WithDefaults() *RegisterParams
- func (o *RegisterParams) WithHTTPClient(client *http.Client) *RegisterParams
- func (o *RegisterParams) WithTimeout(timeout time.Duration) *RegisterParams
- func (o *RegisterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegisterReader
- type RegisterUnprocessableEntity
- func (o *RegisterUnprocessableEntity) Error() string
- func (o *RegisterUnprocessableEntity) GetPayload() rest_model_zrok.ErrorMessage
- func (o *RegisterUnprocessableEntity) IsClientError() bool
- func (o *RegisterUnprocessableEntity) IsCode(code int) bool
- func (o *RegisterUnprocessableEntity) IsRedirect() bool
- func (o *RegisterUnprocessableEntity) IsServerError() bool
- func (o *RegisterUnprocessableEntity) IsSuccess() bool
- func (o *RegisterUnprocessableEntity) String() string
- type ResetPasswordInternalServerError
- func (o *ResetPasswordInternalServerError) Error() string
- func (o *ResetPasswordInternalServerError) IsClientError() bool
- func (o *ResetPasswordInternalServerError) IsCode(code int) bool
- func (o *ResetPasswordInternalServerError) IsRedirect() bool
- func (o *ResetPasswordInternalServerError) IsServerError() bool
- func (o *ResetPasswordInternalServerError) IsSuccess() bool
- func (o *ResetPasswordInternalServerError) String() string
- type ResetPasswordNotFound
- func (o *ResetPasswordNotFound) Error() string
- func (o *ResetPasswordNotFound) IsClientError() bool
- func (o *ResetPasswordNotFound) IsCode(code int) bool
- func (o *ResetPasswordNotFound) IsRedirect() bool
- func (o *ResetPasswordNotFound) IsServerError() bool
- func (o *ResetPasswordNotFound) IsSuccess() bool
- func (o *ResetPasswordNotFound) String() string
- type ResetPasswordOK
- func (o *ResetPasswordOK) Error() string
- func (o *ResetPasswordOK) IsClientError() bool
- func (o *ResetPasswordOK) IsCode(code int) bool
- func (o *ResetPasswordOK) IsRedirect() bool
- func (o *ResetPasswordOK) IsServerError() bool
- func (o *ResetPasswordOK) IsSuccess() bool
- func (o *ResetPasswordOK) String() string
- type ResetPasswordParams
- func (o *ResetPasswordParams) SetBody(body *rest_model_zrok.ResetPasswordRequest)
- func (o *ResetPasswordParams) SetContext(ctx context.Context)
- func (o *ResetPasswordParams) SetDefaults()
- func (o *ResetPasswordParams) SetHTTPClient(client *http.Client)
- func (o *ResetPasswordParams) SetTimeout(timeout time.Duration)
- func (o *ResetPasswordParams) WithBody(body *rest_model_zrok.ResetPasswordRequest) *ResetPasswordParams
- func (o *ResetPasswordParams) WithContext(ctx context.Context) *ResetPasswordParams
- func (o *ResetPasswordParams) WithDefaults() *ResetPasswordParams
- func (o *ResetPasswordParams) WithHTTPClient(client *http.Client) *ResetPasswordParams
- func (o *ResetPasswordParams) WithTimeout(timeout time.Duration) *ResetPasswordParams
- func (o *ResetPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResetPasswordReader
- type ResetPasswordRequestBadRequest
- func (o *ResetPasswordRequestBadRequest) Error() string
- func (o *ResetPasswordRequestBadRequest) IsClientError() bool
- func (o *ResetPasswordRequestBadRequest) IsCode(code int) bool
- func (o *ResetPasswordRequestBadRequest) IsRedirect() bool
- func (o *ResetPasswordRequestBadRequest) IsServerError() bool
- func (o *ResetPasswordRequestBadRequest) IsSuccess() bool
- func (o *ResetPasswordRequestBadRequest) String() string
- type ResetPasswordRequestBody
- func (o *ResetPasswordRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ResetPasswordRequestBody) MarshalBinary() ([]byte, error)
- func (o *ResetPasswordRequestBody) UnmarshalBinary(b []byte) error
- func (o *ResetPasswordRequestBody) Validate(formats strfmt.Registry) error
- type ResetPasswordRequestCreated
- func (o *ResetPasswordRequestCreated) Error() string
- func (o *ResetPasswordRequestCreated) IsClientError() bool
- func (o *ResetPasswordRequestCreated) IsCode(code int) bool
- func (o *ResetPasswordRequestCreated) IsRedirect() bool
- func (o *ResetPasswordRequestCreated) IsServerError() bool
- func (o *ResetPasswordRequestCreated) IsSuccess() bool
- func (o *ResetPasswordRequestCreated) String() string
- type ResetPasswordRequestInternalServerError
- func (o *ResetPasswordRequestInternalServerError) Error() string
- func (o *ResetPasswordRequestInternalServerError) IsClientError() bool
- func (o *ResetPasswordRequestInternalServerError) IsCode(code int) bool
- func (o *ResetPasswordRequestInternalServerError) IsRedirect() bool
- func (o *ResetPasswordRequestInternalServerError) IsServerError() bool
- func (o *ResetPasswordRequestInternalServerError) IsSuccess() bool
- func (o *ResetPasswordRequestInternalServerError) String() string
- type ResetPasswordRequestParams
- func NewResetPasswordRequestParams() *ResetPasswordRequestParams
- func NewResetPasswordRequestParamsWithContext(ctx context.Context) *ResetPasswordRequestParams
- func NewResetPasswordRequestParamsWithHTTPClient(client *http.Client) *ResetPasswordRequestParams
- func NewResetPasswordRequestParamsWithTimeout(timeout time.Duration) *ResetPasswordRequestParams
- func (o *ResetPasswordRequestParams) SetBody(body ResetPasswordRequestBody)
- func (o *ResetPasswordRequestParams) SetContext(ctx context.Context)
- func (o *ResetPasswordRequestParams) SetDefaults()
- func (o *ResetPasswordRequestParams) SetHTTPClient(client *http.Client)
- func (o *ResetPasswordRequestParams) SetTimeout(timeout time.Duration)
- func (o *ResetPasswordRequestParams) WithBody(body ResetPasswordRequestBody) *ResetPasswordRequestParams
- func (o *ResetPasswordRequestParams) WithContext(ctx context.Context) *ResetPasswordRequestParams
- func (o *ResetPasswordRequestParams) WithDefaults() *ResetPasswordRequestParams
- func (o *ResetPasswordRequestParams) WithHTTPClient(client *http.Client) *ResetPasswordRequestParams
- func (o *ResetPasswordRequestParams) WithTimeout(timeout time.Duration) *ResetPasswordRequestParams
- func (o *ResetPasswordRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResetPasswordRequestReader
- type ResetPasswordUnprocessableEntity
- func (o *ResetPasswordUnprocessableEntity) Error() string
- func (o *ResetPasswordUnprocessableEntity) GetPayload() rest_model_zrok.ErrorMessage
- func (o *ResetPasswordUnprocessableEntity) IsClientError() bool
- func (o *ResetPasswordUnprocessableEntity) IsCode(code int) bool
- func (o *ResetPasswordUnprocessableEntity) IsRedirect() bool
- func (o *ResetPasswordUnprocessableEntity) IsServerError() bool
- func (o *ResetPasswordUnprocessableEntity) IsSuccess() bool
- func (o *ResetPasswordUnprocessableEntity) String() string
- type VerifyInternalServerError
- func (o *VerifyInternalServerError) Error() string
- func (o *VerifyInternalServerError) IsClientError() bool
- func (o *VerifyInternalServerError) IsCode(code int) bool
- func (o *VerifyInternalServerError) IsRedirect() bool
- func (o *VerifyInternalServerError) IsServerError() bool
- func (o *VerifyInternalServerError) IsSuccess() bool
- func (o *VerifyInternalServerError) String() string
- type VerifyNotFound
- func (o *VerifyNotFound) Error() string
- func (o *VerifyNotFound) IsClientError() bool
- func (o *VerifyNotFound) IsCode(code int) bool
- func (o *VerifyNotFound) IsRedirect() bool
- func (o *VerifyNotFound) IsServerError() bool
- func (o *VerifyNotFound) IsSuccess() bool
- func (o *VerifyNotFound) String() string
- type VerifyOK
- func (o *VerifyOK) Error() string
- func (o *VerifyOK) GetPayload() *rest_model_zrok.VerifyResponse
- func (o *VerifyOK) IsClientError() bool
- func (o *VerifyOK) IsCode(code int) bool
- func (o *VerifyOK) IsRedirect() bool
- func (o *VerifyOK) IsServerError() bool
- func (o *VerifyOK) IsSuccess() bool
- func (o *VerifyOK) String() string
- type VerifyParams
- func (o *VerifyParams) SetBody(body *rest_model_zrok.VerifyRequest)
- func (o *VerifyParams) SetContext(ctx context.Context)
- func (o *VerifyParams) SetDefaults()
- func (o *VerifyParams) SetHTTPClient(client *http.Client)
- func (o *VerifyParams) SetTimeout(timeout time.Duration)
- func (o *VerifyParams) WithBody(body *rest_model_zrok.VerifyRequest) *VerifyParams
- func (o *VerifyParams) WithContext(ctx context.Context) *VerifyParams
- func (o *VerifyParams) WithDefaults() *VerifyParams
- func (o *VerifyParams) WithHTTPClient(client *http.Client) *VerifyParams
- func (o *VerifyParams) WithTimeout(timeout time.Duration) *VerifyParams
- func (o *VerifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VerifyReader
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 (o *InviteBadRequest) GetPayload() rest_model_zrok.ErrorMessage
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 ¶
func (o *InviteParams) WithBody(body *rest_model_zrok.InviteRequest) *InviteParams
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) GetPayload ¶
func (o *LoginOK) GetPayload() rest_model_zrok.LoginResponse
func (*LoginOK) IsClientError ¶
IsClientError returns true when this login o k response has a 4xx status code
func (*LoginOK) IsCode ¶
IsCode returns true when this login o k response a status code equal to that given
func (*LoginOK) IsRedirect ¶
IsRedirect returns true when this login o k response has a 3xx status code
func (*LoginOK) IsServerError ¶
IsServerError returns true when this login o k response has a 5xx status code
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 ¶
func (o *LoginParams) WithBody(body *rest_model_zrok.LoginRequest) *LoginParams
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 (o *RegisterInternalServerError) Error() string
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 ¶
func (o *RegisterParams) SetBody(body *rest_model_zrok.RegisterRequest)
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 ¶
func (o *RegisterParams) WithBody(body *rest_model_zrok.RegisterRequest) *RegisterParams
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 (o *RegisterUnprocessableEntity) Error() string
func (*RegisterUnprocessableEntity) GetPayload ¶ added in v0.4.0
func (o *RegisterUnprocessableEntity) GetPayload() rest_model_zrok.ErrorMessage
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 (o *ResetPasswordInternalServerError) Error() string
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 ¶
func (o *ResetPasswordInternalServerError) String() 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 ¶
func (o *ResetPasswordParams) SetBody(body *rest_model_zrok.ResetPasswordRequest)
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 ¶
func (o *ResetPasswordParams) WithBody(body *rest_model_zrok.ResetPasswordRequest) *ResetPasswordParams
WithBody adds the body to the reset password params
func (*ResetPasswordParams) WithContext ¶
func (o *ResetPasswordParams) WithContext(ctx context.Context) *ResetPasswordParams
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 (o *ResetPasswordRequestBadRequest) Error() string
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 ¶
func (o *ResetPasswordRequestBadRequest) String() 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
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 (o *ResetPasswordRequestCreated) Error() string
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 (o *ResetPasswordRequestInternalServerError) Error() string
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 ¶
func (o *ResetPasswordRequestInternalServerError) IsCode(code int) bool
IsCode returns true when this reset password request internal server error response a status code equal to that given
func (*ResetPasswordRequestInternalServerError) IsRedirect ¶
func (o *ResetPasswordRequestInternalServerError) IsRedirect() bool
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 ¶
func (o *ResetPasswordRequestInternalServerError) IsSuccess() bool
IsSuccess returns true when this reset password request internal server error response has a 2xx status code
func (*ResetPasswordRequestInternalServerError) String ¶
func (o *ResetPasswordRequestInternalServerError) String() 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 ¶
func (o *ResetPasswordRequestParams) SetBody(body ResetPasswordRequestBody)
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 ¶
func (o *ResetPasswordRequestParams) WithBody(body ResetPasswordRequestBody) *ResetPasswordRequestParams
WithBody adds the body to the reset password request params
func (*ResetPasswordRequestParams) WithContext ¶
func (o *ResetPasswordRequestParams) WithContext(ctx context.Context) *ResetPasswordRequestParams
WithContext adds the context to the reset password request params
func (*ResetPasswordRequestParams) WithDefaults ¶
func (o *ResetPasswordRequestParams) WithDefaults() *ResetPasswordRequestParams
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 ¶
func (o *ResetPasswordRequestParams) WithHTTPClient(client *http.Client) *ResetPasswordRequestParams
WithHTTPClient adds the HTTPClient to the reset password request params
func (*ResetPasswordRequestParams) WithTimeout ¶
func (o *ResetPasswordRequestParams) WithTimeout(timeout time.Duration) *ResetPasswordRequestParams
WithTimeout adds the timeout to the reset password request params
func (*ResetPasswordRequestParams) WriteToRequest ¶
func (o *ResetPasswordRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ResetPasswordUnprocessableEntity) Error() string
func (*ResetPasswordUnprocessableEntity) GetPayload ¶ added in v0.4.0
func (o *ResetPasswordUnprocessableEntity) GetPayload() rest_model_zrok.ErrorMessage
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
func (o *ResetPasswordUnprocessableEntity) String() string
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) GetPayload ¶
func (o *VerifyOK) GetPayload() *rest_model_zrok.VerifyResponse
func (*VerifyOK) IsClientError ¶
IsClientError returns true when this verify o k response has a 4xx status code
func (*VerifyOK) IsCode ¶
IsCode returns true when this verify o k response a status code equal to that given
func (*VerifyOK) IsRedirect ¶
IsRedirect returns true when this verify o k response has a 3xx status code
func (*VerifyOK) IsServerError ¶
IsServerError returns true when this verify o k response has a 5xx status code
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 ¶
func (o *VerifyParams) WithBody(body *rest_model_zrok.VerifyRequest) *VerifyParams
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.
Source Files ¶
- account_client.go
- invite_parameters.go
- invite_responses.go
- login_parameters.go
- login_responses.go
- register_parameters.go
- register_responses.go
- reset_password_parameters.go
- reset_password_request_parameters.go
- reset_password_request_responses.go
- reset_password_responses.go
- verify_parameters.go
- verify_responses.go