auth_v1

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangePasswordDefault

type ChangePasswordDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
ChangePasswordDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewChangePasswordDefault

func NewChangePasswordDefault(code int) *ChangePasswordDefault

NewChangePasswordDefault creates a ChangePasswordDefault with default headers values

func (*ChangePasswordDefault) Code

func (o *ChangePasswordDefault) Code() int

Code gets the status code for the change password default response

func (*ChangePasswordDefault) Error

func (o *ChangePasswordDefault) Error() string

func (*ChangePasswordDefault) GetPayload

func (*ChangePasswordDefault) IsClientError added in v1.21.0

func (o *ChangePasswordDefault) IsClientError() bool

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

func (*ChangePasswordDefault) IsCode added in v1.21.0

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

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

func (*ChangePasswordDefault) IsRedirect added in v1.21.0

func (o *ChangePasswordDefault) IsRedirect() bool

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

func (*ChangePasswordDefault) IsServerError added in v1.21.0

func (o *ChangePasswordDefault) IsServerError() bool

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

func (*ChangePasswordDefault) IsSuccess added in v1.21.0

func (o *ChangePasswordDefault) IsSuccess() bool

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

func (*ChangePasswordDefault) String added in v1.21.0

func (o *ChangePasswordDefault) String() string

type ChangePasswordForbidden

type ChangePasswordForbidden struct {
	Payload interface{}
}
ChangePasswordForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewChangePasswordForbidden

func NewChangePasswordForbidden() *ChangePasswordForbidden

NewChangePasswordForbidden creates a ChangePasswordForbidden with default headers values

func (*ChangePasswordForbidden) Code added in v1.22.0

func (o *ChangePasswordForbidden) Code() int

Code gets the status code for the change password forbidden response

func (*ChangePasswordForbidden) Error

func (o *ChangePasswordForbidden) Error() string

func (*ChangePasswordForbidden) GetPayload

func (o *ChangePasswordForbidden) GetPayload() interface{}

func (*ChangePasswordForbidden) IsClientError added in v1.21.0

func (o *ChangePasswordForbidden) IsClientError() bool

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

func (*ChangePasswordForbidden) IsCode added in v1.21.0

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

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

func (*ChangePasswordForbidden) IsRedirect added in v1.21.0

func (o *ChangePasswordForbidden) IsRedirect() bool

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

func (*ChangePasswordForbidden) IsServerError added in v1.21.0

func (o *ChangePasswordForbidden) IsServerError() bool

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

func (*ChangePasswordForbidden) IsSuccess added in v1.21.0

func (o *ChangePasswordForbidden) IsSuccess() bool

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

func (*ChangePasswordForbidden) String added in v1.21.0

func (o *ChangePasswordForbidden) String() string

type ChangePasswordNoContent

type ChangePasswordNoContent struct {
	Payload interface{}
}
ChangePasswordNoContent describes a response with status code 204, with default header values.

No content.

func NewChangePasswordNoContent

func NewChangePasswordNoContent() *ChangePasswordNoContent

NewChangePasswordNoContent creates a ChangePasswordNoContent with default headers values

func (*ChangePasswordNoContent) Code added in v1.22.0

func (o *ChangePasswordNoContent) Code() int

Code gets the status code for the change password no content response

func (*ChangePasswordNoContent) Error

func (o *ChangePasswordNoContent) Error() string

func (*ChangePasswordNoContent) GetPayload

func (o *ChangePasswordNoContent) GetPayload() interface{}

func (*ChangePasswordNoContent) IsClientError added in v1.21.0

func (o *ChangePasswordNoContent) IsClientError() bool

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

func (*ChangePasswordNoContent) IsCode added in v1.21.0

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

IsCode returns true when this change password no content response a status code equal to that given

func (*ChangePasswordNoContent) IsRedirect added in v1.21.0

func (o *ChangePasswordNoContent) IsRedirect() bool

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

func (*ChangePasswordNoContent) IsServerError added in v1.21.0

func (o *ChangePasswordNoContent) IsServerError() bool

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

func (*ChangePasswordNoContent) IsSuccess added in v1.21.0

func (o *ChangePasswordNoContent) IsSuccess() bool

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

func (*ChangePasswordNoContent) String added in v1.21.0

func (o *ChangePasswordNoContent) String() string

type ChangePasswordNotFound

type ChangePasswordNotFound struct {
	Payload interface{}
}
ChangePasswordNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewChangePasswordNotFound

func NewChangePasswordNotFound() *ChangePasswordNotFound

NewChangePasswordNotFound creates a ChangePasswordNotFound with default headers values

func (*ChangePasswordNotFound) Code added in v1.22.0

func (o *ChangePasswordNotFound) Code() int

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

func (*ChangePasswordNotFound) Error

func (o *ChangePasswordNotFound) Error() string

func (*ChangePasswordNotFound) GetPayload

func (o *ChangePasswordNotFound) GetPayload() interface{}

func (*ChangePasswordNotFound) IsClientError added in v1.21.0

func (o *ChangePasswordNotFound) IsClientError() bool

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

func (*ChangePasswordNotFound) IsCode added in v1.21.0

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

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

func (*ChangePasswordNotFound) IsRedirect added in v1.21.0

func (o *ChangePasswordNotFound) IsRedirect() bool

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

func (*ChangePasswordNotFound) IsServerError added in v1.21.0

func (o *ChangePasswordNotFound) IsServerError() bool

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

func (*ChangePasswordNotFound) IsSuccess added in v1.21.0

func (o *ChangePasswordNotFound) IsSuccess() bool

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

func (*ChangePasswordNotFound) String added in v1.21.0

func (o *ChangePasswordNotFound) String() string

type ChangePasswordOK

type ChangePasswordOK struct {
}
ChangePasswordOK describes a response with status code 200, with default header values.

A successful response.

func NewChangePasswordOK

func NewChangePasswordOK() *ChangePasswordOK

NewChangePasswordOK creates a ChangePasswordOK with default headers values

func (*ChangePasswordOK) Code added in v1.22.0

func (o *ChangePasswordOK) Code() int

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

func (*ChangePasswordOK) Error

func (o *ChangePasswordOK) Error() string

func (*ChangePasswordOK) IsClientError added in v1.21.0

func (o *ChangePasswordOK) IsClientError() bool

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

func (*ChangePasswordOK) IsCode added in v1.21.0

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

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

func (*ChangePasswordOK) IsRedirect added in v1.21.0

func (o *ChangePasswordOK) IsRedirect() bool

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

func (*ChangePasswordOK) IsServerError added in v1.21.0

func (o *ChangePasswordOK) IsServerError() bool

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

func (*ChangePasswordOK) IsSuccess added in v1.21.0

func (o *ChangePasswordOK) IsSuccess() bool

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

func (*ChangePasswordOK) String added in v1.21.0

func (o *ChangePasswordOK) String() string

type ChangePasswordParams

type ChangePasswordParams struct {

	// Body.
	Body *service_model.V1PasswordChange

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

ChangePasswordParams contains all the parameters to send to the API endpoint

for the change password operation.

Typically these are written to a http.Request.

func NewChangePasswordParams

func NewChangePasswordParams() *ChangePasswordParams

NewChangePasswordParams creates a new ChangePasswordParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewChangePasswordParamsWithContext

func NewChangePasswordParamsWithContext(ctx context.Context) *ChangePasswordParams

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

func NewChangePasswordParamsWithHTTPClient

func NewChangePasswordParamsWithHTTPClient(client *http.Client) *ChangePasswordParams

NewChangePasswordParamsWithHTTPClient creates a new ChangePasswordParams object with the ability to set a custom HTTPClient for a request.

func NewChangePasswordParamsWithTimeout

func NewChangePasswordParamsWithTimeout(timeout time.Duration) *ChangePasswordParams

NewChangePasswordParamsWithTimeout creates a new ChangePasswordParams object with the ability to set a timeout on a request.

func (*ChangePasswordParams) SetBody

SetBody adds the body to the change password params

func (*ChangePasswordParams) SetContext

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

SetContext adds the context to the change password params

func (*ChangePasswordParams) SetDefaults

func (o *ChangePasswordParams) SetDefaults()

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

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

func (*ChangePasswordParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change password params

func (*ChangePasswordParams) SetTimeout

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

SetTimeout adds the timeout to the change password params

func (*ChangePasswordParams) WithBody

WithBody adds the body to the change password params

func (*ChangePasswordParams) WithContext

WithContext adds the context to the change password params

func (*ChangePasswordParams) WithDefaults

func (o *ChangePasswordParams) WithDefaults() *ChangePasswordParams

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

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

func (*ChangePasswordParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the change password params

func (*ChangePasswordParams) WithTimeout

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

WithTimeout adds the timeout to the change password params

func (*ChangePasswordParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ChangePasswordReader

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

ChangePasswordReader is a Reader for the ChangePassword structure.

func (*ChangePasswordReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for auth v1 API

func (*Client) ChangePassword

ChangePassword changes password

func (*Client) Login

func (a *Client) Login(params *LoginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LoginOK, *LoginNoContent, error)

Login logins

func (*Client) ResetPassword

ResetPassword resets password

func (*Client) ResetPasswordConfirm

ResetPasswordConfirm resets password confirm

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) Signup

func (a *Client) Signup(params *SignupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SignupOK, *SignupNoContent, error)

Signup signups

func (*Client) Trial

func (a *Client) Trial(params *TrialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TrialOK, *TrialNoContent, error)

Trial trials start

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

ClientService is the interface for Client methods

func New

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

New creates a new auth v1 API client.

type LoginDefault

type LoginDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
LoginDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewLoginDefault

func NewLoginDefault(code int) *LoginDefault

NewLoginDefault creates a LoginDefault with default headers values

func (*LoginDefault) Code

func (o *LoginDefault) Code() int

Code gets the status code for the login default response

func (*LoginDefault) Error

func (o *LoginDefault) Error() string

func (*LoginDefault) GetPayload

func (o *LoginDefault) GetPayload() *service_model.RuntimeError

func (*LoginDefault) IsClientError added in v1.21.0

func (o *LoginDefault) IsClientError() bool

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

func (*LoginDefault) IsCode added in v1.21.0

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

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

func (*LoginDefault) IsRedirect added in v1.21.0

func (o *LoginDefault) IsRedirect() bool

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

func (*LoginDefault) IsServerError added in v1.21.0

func (o *LoginDefault) IsServerError() bool

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

func (*LoginDefault) IsSuccess added in v1.21.0

func (o *LoginDefault) IsSuccess() bool

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

func (*LoginDefault) String added in v1.21.0

func (o *LoginDefault) String() string

type LoginForbidden

type LoginForbidden struct {
	Payload interface{}
}
LoginForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewLoginForbidden

func NewLoginForbidden() *LoginForbidden

NewLoginForbidden creates a LoginForbidden with default headers values

func (*LoginForbidden) Code added in v1.22.0

func (o *LoginForbidden) Code() int

Code gets the status code for the login forbidden response

func (*LoginForbidden) Error

func (o *LoginForbidden) Error() string

func (*LoginForbidden) GetPayload

func (o *LoginForbidden) GetPayload() interface{}

func (*LoginForbidden) IsClientError added in v1.21.0

func (o *LoginForbidden) IsClientError() bool

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

func (*LoginForbidden) IsCode added in v1.21.0

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

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

func (*LoginForbidden) IsRedirect added in v1.21.0

func (o *LoginForbidden) IsRedirect() bool

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

func (*LoginForbidden) IsServerError added in v1.21.0

func (o *LoginForbidden) IsServerError() bool

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

func (*LoginForbidden) IsSuccess added in v1.21.0

func (o *LoginForbidden) IsSuccess() bool

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

func (*LoginForbidden) String added in v1.21.0

func (o *LoginForbidden) String() string

type LoginNoContent

type LoginNoContent struct {
	Payload interface{}
}
LoginNoContent describes a response with status code 204, with default header values.

No content.

func NewLoginNoContent

func NewLoginNoContent() *LoginNoContent

NewLoginNoContent creates a LoginNoContent with default headers values

func (*LoginNoContent) Code added in v1.22.0

func (o *LoginNoContent) Code() int

Code gets the status code for the login no content response

func (*LoginNoContent) Error

func (o *LoginNoContent) Error() string

func (*LoginNoContent) GetPayload

func (o *LoginNoContent) GetPayload() interface{}

func (*LoginNoContent) IsClientError added in v1.21.0

func (o *LoginNoContent) IsClientError() bool

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

func (*LoginNoContent) IsCode added in v1.21.0

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

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

func (*LoginNoContent) IsRedirect added in v1.21.0

func (o *LoginNoContent) IsRedirect() bool

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

func (*LoginNoContent) IsServerError added in v1.21.0

func (o *LoginNoContent) IsServerError() bool

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

func (*LoginNoContent) IsSuccess added in v1.21.0

func (o *LoginNoContent) IsSuccess() bool

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

func (*LoginNoContent) String added in v1.21.0

func (o *LoginNoContent) String() string

type LoginNotFound

type LoginNotFound struct {
	Payload interface{}
}
LoginNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewLoginNotFound

func NewLoginNotFound() *LoginNotFound

NewLoginNotFound creates a LoginNotFound with default headers values

func (*LoginNotFound) Code added in v1.22.0

func (o *LoginNotFound) Code() int

Code gets the status code for the login not found response

func (*LoginNotFound) Error

func (o *LoginNotFound) Error() string

func (*LoginNotFound) GetPayload

func (o *LoginNotFound) GetPayload() interface{}

func (*LoginNotFound) IsClientError added in v1.21.0

func (o *LoginNotFound) IsClientError() bool

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

func (*LoginNotFound) IsCode added in v1.21.0

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

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

func (*LoginNotFound) IsRedirect added in v1.21.0

func (o *LoginNotFound) IsRedirect() bool

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

func (*LoginNotFound) IsServerError added in v1.21.0

func (o *LoginNotFound) IsServerError() bool

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

func (*LoginNotFound) IsSuccess added in v1.21.0

func (o *LoginNotFound) IsSuccess() bool

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

func (*LoginNotFound) String added in v1.21.0

func (o *LoginNotFound) String() string

type LoginOK

type LoginOK struct {
	Payload *service_model.V1Auth
}
LoginOK describes a response with status code 200, with default header values.

A successful response.

func NewLoginOK

func NewLoginOK() *LoginOK

NewLoginOK creates a LoginOK with default headers values

func (*LoginOK) Code added in v1.22.0

func (o *LoginOK) Code() int

Code gets the status code for the login o k response

func (*LoginOK) Error

func (o *LoginOK) Error() string

func (*LoginOK) GetPayload

func (o *LoginOK) GetPayload() *service_model.V1Auth

func (*LoginOK) IsClientError added in v1.21.0

func (o *LoginOK) IsClientError() bool

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

func (*LoginOK) IsCode added in v1.21.0

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

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

func (*LoginOK) IsRedirect added in v1.21.0

func (o *LoginOK) IsRedirect() bool

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

func (*LoginOK) IsServerError added in v1.21.0

func (o *LoginOK) IsServerError() bool

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

func (*LoginOK) IsSuccess added in v1.21.0

func (o *LoginOK) IsSuccess() bool

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

func (*LoginOK) String added in v1.21.0

func (o *LoginOK) String() string

type LoginParams

type LoginParams struct {

	// Body.
	Body *service_model.V1Credentials

	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 *service_model.V1Credentials)

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 *service_model.V1Credentials) *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 ResetPasswordConfirmDefault

type ResetPasswordConfirmDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
ResetPasswordConfirmDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewResetPasswordConfirmDefault

func NewResetPasswordConfirmDefault(code int) *ResetPasswordConfirmDefault

NewResetPasswordConfirmDefault creates a ResetPasswordConfirmDefault with default headers values

func (*ResetPasswordConfirmDefault) Code

func (o *ResetPasswordConfirmDefault) Code() int

Code gets the status code for the reset password confirm default response

func (*ResetPasswordConfirmDefault) Error

func (*ResetPasswordConfirmDefault) GetPayload

func (*ResetPasswordConfirmDefault) IsClientError added in v1.21.0

func (o *ResetPasswordConfirmDefault) IsClientError() bool

IsClientError returns true when this reset password confirm default response has a 4xx status code

func (*ResetPasswordConfirmDefault) IsCode added in v1.21.0

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

IsCode returns true when this reset password confirm default response a status code equal to that given

func (*ResetPasswordConfirmDefault) IsRedirect added in v1.21.0

func (o *ResetPasswordConfirmDefault) IsRedirect() bool

IsRedirect returns true when this reset password confirm default response has a 3xx status code

func (*ResetPasswordConfirmDefault) IsServerError added in v1.21.0

func (o *ResetPasswordConfirmDefault) IsServerError() bool

IsServerError returns true when this reset password confirm default response has a 5xx status code

func (*ResetPasswordConfirmDefault) IsSuccess added in v1.21.0

func (o *ResetPasswordConfirmDefault) IsSuccess() bool

IsSuccess returns true when this reset password confirm default response has a 2xx status code

func (*ResetPasswordConfirmDefault) String added in v1.21.0

func (o *ResetPasswordConfirmDefault) String() string

type ResetPasswordConfirmForbidden

type ResetPasswordConfirmForbidden struct {
	Payload interface{}
}
ResetPasswordConfirmForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewResetPasswordConfirmForbidden

func NewResetPasswordConfirmForbidden() *ResetPasswordConfirmForbidden

NewResetPasswordConfirmForbidden creates a ResetPasswordConfirmForbidden with default headers values

func (*ResetPasswordConfirmForbidden) Code added in v1.22.0

Code gets the status code for the reset password confirm forbidden response

func (*ResetPasswordConfirmForbidden) Error

func (*ResetPasswordConfirmForbidden) GetPayload

func (o *ResetPasswordConfirmForbidden) GetPayload() interface{}

func (*ResetPasswordConfirmForbidden) IsClientError added in v1.21.0

func (o *ResetPasswordConfirmForbidden) IsClientError() bool

IsClientError returns true when this reset password confirm forbidden response has a 4xx status code

func (*ResetPasswordConfirmForbidden) IsCode added in v1.21.0

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

IsCode returns true when this reset password confirm forbidden response a status code equal to that given

func (*ResetPasswordConfirmForbidden) IsRedirect added in v1.21.0

func (o *ResetPasswordConfirmForbidden) IsRedirect() bool

IsRedirect returns true when this reset password confirm forbidden response has a 3xx status code

func (*ResetPasswordConfirmForbidden) IsServerError added in v1.21.0

func (o *ResetPasswordConfirmForbidden) IsServerError() bool

IsServerError returns true when this reset password confirm forbidden response has a 5xx status code

func (*ResetPasswordConfirmForbidden) IsSuccess added in v1.21.0

func (o *ResetPasswordConfirmForbidden) IsSuccess() bool

IsSuccess returns true when this reset password confirm forbidden response has a 2xx status code

func (*ResetPasswordConfirmForbidden) String added in v1.21.0

type ResetPasswordConfirmNoContent

type ResetPasswordConfirmNoContent struct {
	Payload interface{}
}
ResetPasswordConfirmNoContent describes a response with status code 204, with default header values.

No content.

func NewResetPasswordConfirmNoContent

func NewResetPasswordConfirmNoContent() *ResetPasswordConfirmNoContent

NewResetPasswordConfirmNoContent creates a ResetPasswordConfirmNoContent with default headers values

func (*ResetPasswordConfirmNoContent) Code added in v1.22.0

Code gets the status code for the reset password confirm no content response

func (*ResetPasswordConfirmNoContent) Error

func (*ResetPasswordConfirmNoContent) GetPayload

func (o *ResetPasswordConfirmNoContent) GetPayload() interface{}

func (*ResetPasswordConfirmNoContent) IsClientError added in v1.21.0

func (o *ResetPasswordConfirmNoContent) IsClientError() bool

IsClientError returns true when this reset password confirm no content response has a 4xx status code

func (*ResetPasswordConfirmNoContent) IsCode added in v1.21.0

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

IsCode returns true when this reset password confirm no content response a status code equal to that given

func (*ResetPasswordConfirmNoContent) IsRedirect added in v1.21.0

func (o *ResetPasswordConfirmNoContent) IsRedirect() bool

IsRedirect returns true when this reset password confirm no content response has a 3xx status code

func (*ResetPasswordConfirmNoContent) IsServerError added in v1.21.0

func (o *ResetPasswordConfirmNoContent) IsServerError() bool

IsServerError returns true when this reset password confirm no content response has a 5xx status code

func (*ResetPasswordConfirmNoContent) IsSuccess added in v1.21.0

func (o *ResetPasswordConfirmNoContent) IsSuccess() bool

IsSuccess returns true when this reset password confirm no content response has a 2xx status code

func (*ResetPasswordConfirmNoContent) String added in v1.21.0

type ResetPasswordConfirmNotFound

type ResetPasswordConfirmNotFound struct {
	Payload interface{}
}
ResetPasswordConfirmNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewResetPasswordConfirmNotFound

func NewResetPasswordConfirmNotFound() *ResetPasswordConfirmNotFound

NewResetPasswordConfirmNotFound creates a ResetPasswordConfirmNotFound with default headers values

func (*ResetPasswordConfirmNotFound) Code added in v1.22.0

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

func (*ResetPasswordConfirmNotFound) Error

func (*ResetPasswordConfirmNotFound) GetPayload

func (o *ResetPasswordConfirmNotFound) GetPayload() interface{}

func (*ResetPasswordConfirmNotFound) IsClientError added in v1.21.0

func (o *ResetPasswordConfirmNotFound) IsClientError() bool

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

func (*ResetPasswordConfirmNotFound) IsCode added in v1.21.0

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

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

func (*ResetPasswordConfirmNotFound) IsRedirect added in v1.21.0

func (o *ResetPasswordConfirmNotFound) IsRedirect() bool

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

func (*ResetPasswordConfirmNotFound) IsServerError added in v1.21.0

func (o *ResetPasswordConfirmNotFound) IsServerError() bool

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

func (*ResetPasswordConfirmNotFound) IsSuccess added in v1.21.0

func (o *ResetPasswordConfirmNotFound) IsSuccess() bool

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

func (*ResetPasswordConfirmNotFound) String added in v1.21.0

type ResetPasswordConfirmOK

type ResetPasswordConfirmOK struct {
	Payload *service_model.V1Auth
}
ResetPasswordConfirmOK describes a response with status code 200, with default header values.

A successful response.

func NewResetPasswordConfirmOK

func NewResetPasswordConfirmOK() *ResetPasswordConfirmOK

NewResetPasswordConfirmOK creates a ResetPasswordConfirmOK with default headers values

func (*ResetPasswordConfirmOK) Code added in v1.22.0

func (o *ResetPasswordConfirmOK) Code() int

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

func (*ResetPasswordConfirmOK) Error

func (o *ResetPasswordConfirmOK) Error() string

func (*ResetPasswordConfirmOK) GetPayload

func (o *ResetPasswordConfirmOK) GetPayload() *service_model.V1Auth

func (*ResetPasswordConfirmOK) IsClientError added in v1.21.0

func (o *ResetPasswordConfirmOK) IsClientError() bool

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

func (*ResetPasswordConfirmOK) IsCode added in v1.21.0

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

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

func (*ResetPasswordConfirmOK) IsRedirect added in v1.21.0

func (o *ResetPasswordConfirmOK) IsRedirect() bool

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

func (*ResetPasswordConfirmOK) IsServerError added in v1.21.0

func (o *ResetPasswordConfirmOK) IsServerError() bool

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

func (*ResetPasswordConfirmOK) IsSuccess added in v1.21.0

func (o *ResetPasswordConfirmOK) IsSuccess() bool

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

func (*ResetPasswordConfirmOK) String added in v1.21.0

func (o *ResetPasswordConfirmOK) String() string

type ResetPasswordConfirmParams

type ResetPasswordConfirmParams struct {

	// Body.
	Body *service_model.V1PasswordChange

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

ResetPasswordConfirmParams contains all the parameters to send to the API endpoint

for the reset password confirm operation.

Typically these are written to a http.Request.

func NewResetPasswordConfirmParams

func NewResetPasswordConfirmParams() *ResetPasswordConfirmParams

NewResetPasswordConfirmParams creates a new ResetPasswordConfirmParams 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 NewResetPasswordConfirmParamsWithContext

func NewResetPasswordConfirmParamsWithContext(ctx context.Context) *ResetPasswordConfirmParams

NewResetPasswordConfirmParamsWithContext creates a new ResetPasswordConfirmParams object with the ability to set a context for a request.

func NewResetPasswordConfirmParamsWithHTTPClient

func NewResetPasswordConfirmParamsWithHTTPClient(client *http.Client) *ResetPasswordConfirmParams

NewResetPasswordConfirmParamsWithHTTPClient creates a new ResetPasswordConfirmParams object with the ability to set a custom HTTPClient for a request.

func NewResetPasswordConfirmParamsWithTimeout

func NewResetPasswordConfirmParamsWithTimeout(timeout time.Duration) *ResetPasswordConfirmParams

NewResetPasswordConfirmParamsWithTimeout creates a new ResetPasswordConfirmParams object with the ability to set a timeout on a request.

func (*ResetPasswordConfirmParams) SetBody

SetBody adds the body to the reset password confirm params

func (*ResetPasswordConfirmParams) SetContext

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

SetContext adds the context to the reset password confirm params

func (*ResetPasswordConfirmParams) SetDefaults

func (o *ResetPasswordConfirmParams) SetDefaults()

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

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

func (*ResetPasswordConfirmParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the reset password confirm params

func (*ResetPasswordConfirmParams) SetTimeout

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

SetTimeout adds the timeout to the reset password confirm params

func (*ResetPasswordConfirmParams) WithBody

WithBody adds the body to the reset password confirm params

func (*ResetPasswordConfirmParams) WithContext

WithContext adds the context to the reset password confirm params

func (*ResetPasswordConfirmParams) WithDefaults

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

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

func (*ResetPasswordConfirmParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the reset password confirm params

func (*ResetPasswordConfirmParams) WithTimeout

WithTimeout adds the timeout to the reset password confirm params

func (*ResetPasswordConfirmParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResetPasswordConfirmReader

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

ResetPasswordConfirmReader is a Reader for the ResetPasswordConfirm structure.

func (*ResetPasswordConfirmReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResetPasswordDefault

type ResetPasswordDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
ResetPasswordDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewResetPasswordDefault

func NewResetPasswordDefault(code int) *ResetPasswordDefault

NewResetPasswordDefault creates a ResetPasswordDefault with default headers values

func (*ResetPasswordDefault) Code

func (o *ResetPasswordDefault) Code() int

Code gets the status code for the reset password default response

func (*ResetPasswordDefault) Error

func (o *ResetPasswordDefault) Error() string

func (*ResetPasswordDefault) GetPayload

func (*ResetPasswordDefault) IsClientError added in v1.21.0

func (o *ResetPasswordDefault) IsClientError() bool

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

func (*ResetPasswordDefault) IsCode added in v1.21.0

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

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

func (*ResetPasswordDefault) IsRedirect added in v1.21.0

func (o *ResetPasswordDefault) IsRedirect() bool

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

func (*ResetPasswordDefault) IsServerError added in v1.21.0

func (o *ResetPasswordDefault) IsServerError() bool

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

func (*ResetPasswordDefault) IsSuccess added in v1.21.0

func (o *ResetPasswordDefault) IsSuccess() bool

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

func (*ResetPasswordDefault) String added in v1.21.0

func (o *ResetPasswordDefault) String() string

type ResetPasswordForbidden

type ResetPasswordForbidden struct {
	Payload interface{}
}
ResetPasswordForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewResetPasswordForbidden

func NewResetPasswordForbidden() *ResetPasswordForbidden

NewResetPasswordForbidden creates a ResetPasswordForbidden with default headers values

func (*ResetPasswordForbidden) Code added in v1.22.0

func (o *ResetPasswordForbidden) Code() int

Code gets the status code for the reset password forbidden response

func (*ResetPasswordForbidden) Error

func (o *ResetPasswordForbidden) Error() string

func (*ResetPasswordForbidden) GetPayload

func (o *ResetPasswordForbidden) GetPayload() interface{}

func (*ResetPasswordForbidden) IsClientError added in v1.21.0

func (o *ResetPasswordForbidden) IsClientError() bool

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

func (*ResetPasswordForbidden) IsCode added in v1.21.0

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

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

func (*ResetPasswordForbidden) IsRedirect added in v1.21.0

func (o *ResetPasswordForbidden) IsRedirect() bool

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

func (*ResetPasswordForbidden) IsServerError added in v1.21.0

func (o *ResetPasswordForbidden) IsServerError() bool

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

func (*ResetPasswordForbidden) IsSuccess added in v1.21.0

func (o *ResetPasswordForbidden) IsSuccess() bool

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

func (*ResetPasswordForbidden) String added in v1.21.0

func (o *ResetPasswordForbidden) String() string

type ResetPasswordNoContent

type ResetPasswordNoContent struct {
	Payload interface{}
}
ResetPasswordNoContent describes a response with status code 204, with default header values.

No content.

func NewResetPasswordNoContent

func NewResetPasswordNoContent() *ResetPasswordNoContent

NewResetPasswordNoContent creates a ResetPasswordNoContent with default headers values

func (*ResetPasswordNoContent) Code added in v1.22.0

func (o *ResetPasswordNoContent) Code() int

Code gets the status code for the reset password no content response

func (*ResetPasswordNoContent) Error

func (o *ResetPasswordNoContent) Error() string

func (*ResetPasswordNoContent) GetPayload

func (o *ResetPasswordNoContent) GetPayload() interface{}

func (*ResetPasswordNoContent) IsClientError added in v1.21.0

func (o *ResetPasswordNoContent) IsClientError() bool

IsClientError returns true when this reset password no content response has a 4xx status code

func (*ResetPasswordNoContent) IsCode added in v1.21.0

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

IsCode returns true when this reset password no content response a status code equal to that given

func (*ResetPasswordNoContent) IsRedirect added in v1.21.0

func (o *ResetPasswordNoContent) IsRedirect() bool

IsRedirect returns true when this reset password no content response has a 3xx status code

func (*ResetPasswordNoContent) IsServerError added in v1.21.0

func (o *ResetPasswordNoContent) IsServerError() bool

IsServerError returns true when this reset password no content response has a 5xx status code

func (*ResetPasswordNoContent) IsSuccess added in v1.21.0

func (o *ResetPasswordNoContent) IsSuccess() bool

IsSuccess returns true when this reset password no content response has a 2xx status code

func (*ResetPasswordNoContent) String added in v1.21.0

func (o *ResetPasswordNoContent) String() string

type ResetPasswordNotFound

type ResetPasswordNotFound struct {
	Payload interface{}
}
ResetPasswordNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewResetPasswordNotFound

func NewResetPasswordNotFound() *ResetPasswordNotFound

NewResetPasswordNotFound creates a ResetPasswordNotFound with default headers values

func (*ResetPasswordNotFound) Code added in v1.22.0

func (o *ResetPasswordNotFound) Code() int

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

func (*ResetPasswordNotFound) Error

func (o *ResetPasswordNotFound) Error() string

func (*ResetPasswordNotFound) GetPayload

func (o *ResetPasswordNotFound) GetPayload() interface{}

func (*ResetPasswordNotFound) IsClientError added in v1.21.0

func (o *ResetPasswordNotFound) IsClientError() bool

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

func (*ResetPasswordNotFound) IsCode added in v1.21.0

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 added in v1.21.0

func (o *ResetPasswordNotFound) IsRedirect() bool

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

func (*ResetPasswordNotFound) IsServerError added in v1.21.0

func (o *ResetPasswordNotFound) IsServerError() bool

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

func (*ResetPasswordNotFound) IsSuccess added in v1.21.0

func (o *ResetPasswordNotFound) IsSuccess() bool

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

func (*ResetPasswordNotFound) String added in v1.21.0

func (o *ResetPasswordNotFound) String() string

type ResetPasswordOK

type ResetPasswordOK struct {
}
ResetPasswordOK describes a response with status code 200, with default header values.

A successful response.

func NewResetPasswordOK

func NewResetPasswordOK() *ResetPasswordOK

NewResetPasswordOK creates a ResetPasswordOK with default headers values

func (*ResetPasswordOK) Code added in v1.22.0

func (o *ResetPasswordOK) Code() int

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

func (*ResetPasswordOK) Error

func (o *ResetPasswordOK) Error() string

func (*ResetPasswordOK) IsClientError added in v1.21.0

func (o *ResetPasswordOK) IsClientError() bool

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

func (*ResetPasswordOK) IsCode added in v1.21.0

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 added in v1.21.0

func (o *ResetPasswordOK) IsRedirect() bool

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

func (*ResetPasswordOK) IsServerError added in v1.21.0

func (o *ResetPasswordOK) IsServerError() bool

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

func (*ResetPasswordOK) IsSuccess added in v1.21.0

func (o *ResetPasswordOK) IsSuccess() bool

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

func (*ResetPasswordOK) String added in v1.21.0

func (o *ResetPasswordOK) String() string

type ResetPasswordParams

type ResetPasswordParams struct {

	// Body.
	Body *service_model.V1UserEmail

	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 *service_model.V1UserEmail)

SetBody adds the body to the reset password params

func (*ResetPasswordParams) SetContext

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

SetContext adds the context to the reset password params

func (*ResetPasswordParams) SetDefaults

func (o *ResetPasswordParams) SetDefaults()

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

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

func (*ResetPasswordParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the reset password params

func (*ResetPasswordParams) SetTimeout

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

SetTimeout adds the timeout to the reset password params

func (*ResetPasswordParams) WithBody

WithBody adds the body to the reset password params

func (*ResetPasswordParams) WithContext

WithContext adds the context to the reset password params

func (*ResetPasswordParams) WithDefaults

func (o *ResetPasswordParams) WithDefaults() *ResetPasswordParams

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

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

func (*ResetPasswordParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the reset password params

func (*ResetPasswordParams) WithTimeout

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

WithTimeout adds the timeout to the reset password params

func (*ResetPasswordParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ResetPasswordReader

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

ResetPasswordReader is a Reader for the ResetPassword structure.

func (*ResetPasswordReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SignupDefault

type SignupDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
SignupDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewSignupDefault

func NewSignupDefault(code int) *SignupDefault

NewSignupDefault creates a SignupDefault with default headers values

func (*SignupDefault) Code

func (o *SignupDefault) Code() int

Code gets the status code for the signup default response

func (*SignupDefault) Error

func (o *SignupDefault) Error() string

func (*SignupDefault) GetPayload

func (o *SignupDefault) GetPayload() *service_model.RuntimeError

func (*SignupDefault) IsClientError added in v1.21.0

func (o *SignupDefault) IsClientError() bool

IsClientError returns true when this signup default response has a 4xx status code

func (*SignupDefault) IsCode added in v1.21.0

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

IsCode returns true when this signup default response a status code equal to that given

func (*SignupDefault) IsRedirect added in v1.21.0

func (o *SignupDefault) IsRedirect() bool

IsRedirect returns true when this signup default response has a 3xx status code

func (*SignupDefault) IsServerError added in v1.21.0

func (o *SignupDefault) IsServerError() bool

IsServerError returns true when this signup default response has a 5xx status code

func (*SignupDefault) IsSuccess added in v1.21.0

func (o *SignupDefault) IsSuccess() bool

IsSuccess returns true when this signup default response has a 2xx status code

func (*SignupDefault) String added in v1.21.0

func (o *SignupDefault) String() string

type SignupForbidden

type SignupForbidden struct {
	Payload interface{}
}
SignupForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewSignupForbidden

func NewSignupForbidden() *SignupForbidden

NewSignupForbidden creates a SignupForbidden with default headers values

func (*SignupForbidden) Code added in v1.22.0

func (o *SignupForbidden) Code() int

Code gets the status code for the signup forbidden response

func (*SignupForbidden) Error

func (o *SignupForbidden) Error() string

func (*SignupForbidden) GetPayload

func (o *SignupForbidden) GetPayload() interface{}

func (*SignupForbidden) IsClientError added in v1.21.0

func (o *SignupForbidden) IsClientError() bool

IsClientError returns true when this signup forbidden response has a 4xx status code

func (*SignupForbidden) IsCode added in v1.21.0

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

IsCode returns true when this signup forbidden response a status code equal to that given

func (*SignupForbidden) IsRedirect added in v1.21.0

func (o *SignupForbidden) IsRedirect() bool

IsRedirect returns true when this signup forbidden response has a 3xx status code

func (*SignupForbidden) IsServerError added in v1.21.0

func (o *SignupForbidden) IsServerError() bool

IsServerError returns true when this signup forbidden response has a 5xx status code

func (*SignupForbidden) IsSuccess added in v1.21.0

func (o *SignupForbidden) IsSuccess() bool

IsSuccess returns true when this signup forbidden response has a 2xx status code

func (*SignupForbidden) String added in v1.21.0

func (o *SignupForbidden) String() string

type SignupNoContent

type SignupNoContent struct {
	Payload interface{}
}
SignupNoContent describes a response with status code 204, with default header values.

No content.

func NewSignupNoContent

func NewSignupNoContent() *SignupNoContent

NewSignupNoContent creates a SignupNoContent with default headers values

func (*SignupNoContent) Code added in v1.22.0

func (o *SignupNoContent) Code() int

Code gets the status code for the signup no content response

func (*SignupNoContent) Error

func (o *SignupNoContent) Error() string

func (*SignupNoContent) GetPayload

func (o *SignupNoContent) GetPayload() interface{}

func (*SignupNoContent) IsClientError added in v1.21.0

func (o *SignupNoContent) IsClientError() bool

IsClientError returns true when this signup no content response has a 4xx status code

func (*SignupNoContent) IsCode added in v1.21.0

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

IsCode returns true when this signup no content response a status code equal to that given

func (*SignupNoContent) IsRedirect added in v1.21.0

func (o *SignupNoContent) IsRedirect() bool

IsRedirect returns true when this signup no content response has a 3xx status code

func (*SignupNoContent) IsServerError added in v1.21.0

func (o *SignupNoContent) IsServerError() bool

IsServerError returns true when this signup no content response has a 5xx status code

func (*SignupNoContent) IsSuccess added in v1.21.0

func (o *SignupNoContent) IsSuccess() bool

IsSuccess returns true when this signup no content response has a 2xx status code

func (*SignupNoContent) String added in v1.21.0

func (o *SignupNoContent) String() string

type SignupNotFound

type SignupNotFound struct {
	Payload interface{}
}
SignupNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewSignupNotFound

func NewSignupNotFound() *SignupNotFound

NewSignupNotFound creates a SignupNotFound with default headers values

func (*SignupNotFound) Code added in v1.22.0

func (o *SignupNotFound) Code() int

Code gets the status code for the signup not found response

func (*SignupNotFound) Error

func (o *SignupNotFound) Error() string

func (*SignupNotFound) GetPayload

func (o *SignupNotFound) GetPayload() interface{}

func (*SignupNotFound) IsClientError added in v1.21.0

func (o *SignupNotFound) IsClientError() bool

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

func (*SignupNotFound) IsCode added in v1.21.0

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

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

func (*SignupNotFound) IsRedirect added in v1.21.0

func (o *SignupNotFound) IsRedirect() bool

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

func (*SignupNotFound) IsServerError added in v1.21.0

func (o *SignupNotFound) IsServerError() bool

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

func (*SignupNotFound) IsSuccess added in v1.21.0

func (o *SignupNotFound) IsSuccess() bool

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

func (*SignupNotFound) String added in v1.21.0

func (o *SignupNotFound) String() string

type SignupOK

type SignupOK struct {
	Payload *service_model.V1Auth
}
SignupOK describes a response with status code 200, with default header values.

A successful response.

func NewSignupOK

func NewSignupOK() *SignupOK

NewSignupOK creates a SignupOK with default headers values

func (*SignupOK) Code added in v1.22.0

func (o *SignupOK) Code() int

Code gets the status code for the signup o k response

func (*SignupOK) Error

func (o *SignupOK) Error() string

func (*SignupOK) GetPayload

func (o *SignupOK) GetPayload() *service_model.V1Auth

func (*SignupOK) IsClientError added in v1.21.0

func (o *SignupOK) IsClientError() bool

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

func (*SignupOK) IsCode added in v1.21.0

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

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

func (*SignupOK) IsRedirect added in v1.21.0

func (o *SignupOK) IsRedirect() bool

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

func (*SignupOK) IsServerError added in v1.21.0

func (o *SignupOK) IsServerError() bool

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

func (*SignupOK) IsSuccess added in v1.21.0

func (o *SignupOK) IsSuccess() bool

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

func (*SignupOK) String added in v1.21.0

func (o *SignupOK) String() string

type SignupParams

type SignupParams struct {

	// Body.
	Body *service_model.V1UserSingup

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

SignupParams contains all the parameters to send to the API endpoint

for the signup operation.

Typically these are written to a http.Request.

func NewSignupParams

func NewSignupParams() *SignupParams

NewSignupParams creates a new SignupParams 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 NewSignupParamsWithContext

func NewSignupParamsWithContext(ctx context.Context) *SignupParams

NewSignupParamsWithContext creates a new SignupParams object with the ability to set a context for a request.

func NewSignupParamsWithHTTPClient

func NewSignupParamsWithHTTPClient(client *http.Client) *SignupParams

NewSignupParamsWithHTTPClient creates a new SignupParams object with the ability to set a custom HTTPClient for a request.

func NewSignupParamsWithTimeout

func NewSignupParamsWithTimeout(timeout time.Duration) *SignupParams

NewSignupParamsWithTimeout creates a new SignupParams object with the ability to set a timeout on a request.

func (*SignupParams) SetBody

func (o *SignupParams) SetBody(body *service_model.V1UserSingup)

SetBody adds the body to the signup params

func (*SignupParams) SetContext

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

SetContext adds the context to the signup params

func (*SignupParams) SetDefaults

func (o *SignupParams) SetDefaults()

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

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

func (*SignupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the signup params

func (*SignupParams) SetTimeout

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

SetTimeout adds the timeout to the signup params

func (*SignupParams) WithBody

WithBody adds the body to the signup params

func (*SignupParams) WithContext

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

WithContext adds the context to the signup params

func (*SignupParams) WithDefaults

func (o *SignupParams) WithDefaults() *SignupParams

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

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

func (*SignupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the signup params

func (*SignupParams) WithTimeout

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

WithTimeout adds the timeout to the signup params

func (*SignupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SignupReader

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

SignupReader is a Reader for the Signup structure.

func (*SignupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TrialDefault

type TrialDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
TrialDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewTrialDefault

func NewTrialDefault(code int) *TrialDefault

NewTrialDefault creates a TrialDefault with default headers values

func (*TrialDefault) Code

func (o *TrialDefault) Code() int

Code gets the status code for the trial default response

func (*TrialDefault) Error

func (o *TrialDefault) Error() string

func (*TrialDefault) GetPayload

func (o *TrialDefault) GetPayload() *service_model.RuntimeError

func (*TrialDefault) IsClientError added in v1.21.0

func (o *TrialDefault) IsClientError() bool

IsClientError returns true when this trial default response has a 4xx status code

func (*TrialDefault) IsCode added in v1.21.0

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

IsCode returns true when this trial default response a status code equal to that given

func (*TrialDefault) IsRedirect added in v1.21.0

func (o *TrialDefault) IsRedirect() bool

IsRedirect returns true when this trial default response has a 3xx status code

func (*TrialDefault) IsServerError added in v1.21.0

func (o *TrialDefault) IsServerError() bool

IsServerError returns true when this trial default response has a 5xx status code

func (*TrialDefault) IsSuccess added in v1.21.0

func (o *TrialDefault) IsSuccess() bool

IsSuccess returns true when this trial default response has a 2xx status code

func (*TrialDefault) String added in v1.21.0

func (o *TrialDefault) String() string

type TrialForbidden

type TrialForbidden struct {
	Payload interface{}
}
TrialForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewTrialForbidden

func NewTrialForbidden() *TrialForbidden

NewTrialForbidden creates a TrialForbidden with default headers values

func (*TrialForbidden) Code added in v1.22.0

func (o *TrialForbidden) Code() int

Code gets the status code for the trial forbidden response

func (*TrialForbidden) Error

func (o *TrialForbidden) Error() string

func (*TrialForbidden) GetPayload

func (o *TrialForbidden) GetPayload() interface{}

func (*TrialForbidden) IsClientError added in v1.21.0

func (o *TrialForbidden) IsClientError() bool

IsClientError returns true when this trial forbidden response has a 4xx status code

func (*TrialForbidden) IsCode added in v1.21.0

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

IsCode returns true when this trial forbidden response a status code equal to that given

func (*TrialForbidden) IsRedirect added in v1.21.0

func (o *TrialForbidden) IsRedirect() bool

IsRedirect returns true when this trial forbidden response has a 3xx status code

func (*TrialForbidden) IsServerError added in v1.21.0

func (o *TrialForbidden) IsServerError() bool

IsServerError returns true when this trial forbidden response has a 5xx status code

func (*TrialForbidden) IsSuccess added in v1.21.0

func (o *TrialForbidden) IsSuccess() bool

IsSuccess returns true when this trial forbidden response has a 2xx status code

func (*TrialForbidden) String added in v1.21.0

func (o *TrialForbidden) String() string

type TrialNoContent

type TrialNoContent struct {
	Payload interface{}
}
TrialNoContent describes a response with status code 204, with default header values.

No content.

func NewTrialNoContent

func NewTrialNoContent() *TrialNoContent

NewTrialNoContent creates a TrialNoContent with default headers values

func (*TrialNoContent) Code added in v1.22.0

func (o *TrialNoContent) Code() int

Code gets the status code for the trial no content response

func (*TrialNoContent) Error

func (o *TrialNoContent) Error() string

func (*TrialNoContent) GetPayload

func (o *TrialNoContent) GetPayload() interface{}

func (*TrialNoContent) IsClientError added in v1.21.0

func (o *TrialNoContent) IsClientError() bool

IsClientError returns true when this trial no content response has a 4xx status code

func (*TrialNoContent) IsCode added in v1.21.0

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

IsCode returns true when this trial no content response a status code equal to that given

func (*TrialNoContent) IsRedirect added in v1.21.0

func (o *TrialNoContent) IsRedirect() bool

IsRedirect returns true when this trial no content response has a 3xx status code

func (*TrialNoContent) IsServerError added in v1.21.0

func (o *TrialNoContent) IsServerError() bool

IsServerError returns true when this trial no content response has a 5xx status code

func (*TrialNoContent) IsSuccess added in v1.21.0

func (o *TrialNoContent) IsSuccess() bool

IsSuccess returns true when this trial no content response has a 2xx status code

func (*TrialNoContent) String added in v1.21.0

func (o *TrialNoContent) String() string

type TrialNotFound

type TrialNotFound struct {
	Payload interface{}
}
TrialNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewTrialNotFound

func NewTrialNotFound() *TrialNotFound

NewTrialNotFound creates a TrialNotFound with default headers values

func (*TrialNotFound) Code added in v1.22.0

func (o *TrialNotFound) Code() int

Code gets the status code for the trial not found response

func (*TrialNotFound) Error

func (o *TrialNotFound) Error() string

func (*TrialNotFound) GetPayload

func (o *TrialNotFound) GetPayload() interface{}

func (*TrialNotFound) IsClientError added in v1.21.0

func (o *TrialNotFound) IsClientError() bool

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

func (*TrialNotFound) IsCode added in v1.21.0

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

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

func (*TrialNotFound) IsRedirect added in v1.21.0

func (o *TrialNotFound) IsRedirect() bool

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

func (*TrialNotFound) IsServerError added in v1.21.0

func (o *TrialNotFound) IsServerError() bool

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

func (*TrialNotFound) IsSuccess added in v1.21.0

func (o *TrialNotFound) IsSuccess() bool

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

func (*TrialNotFound) String added in v1.21.0

func (o *TrialNotFound) String() string

type TrialOK

type TrialOK struct {
}
TrialOK describes a response with status code 200, with default header values.

A successful response.

func NewTrialOK

func NewTrialOK() *TrialOK

NewTrialOK creates a TrialOK with default headers values

func (*TrialOK) Code added in v1.22.0

func (o *TrialOK) Code() int

Code gets the status code for the trial o k response

func (*TrialOK) Error

func (o *TrialOK) Error() string

func (*TrialOK) IsClientError added in v1.21.0

func (o *TrialOK) IsClientError() bool

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

func (*TrialOK) IsCode added in v1.21.0

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

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

func (*TrialOK) IsRedirect added in v1.21.0

func (o *TrialOK) IsRedirect() bool

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

func (*TrialOK) IsServerError added in v1.21.0

func (o *TrialOK) IsServerError() bool

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

func (*TrialOK) IsSuccess added in v1.21.0

func (o *TrialOK) IsSuccess() bool

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

func (*TrialOK) String added in v1.21.0

func (o *TrialOK) String() string

type TrialParams

type TrialParams struct {

	// Body.
	Body *service_model.V1TrialStart

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

TrialParams contains all the parameters to send to the API endpoint

for the trial operation.

Typically these are written to a http.Request.

func NewTrialParams

func NewTrialParams() *TrialParams

NewTrialParams creates a new TrialParams 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 NewTrialParamsWithContext

func NewTrialParamsWithContext(ctx context.Context) *TrialParams

NewTrialParamsWithContext creates a new TrialParams object with the ability to set a context for a request.

func NewTrialParamsWithHTTPClient

func NewTrialParamsWithHTTPClient(client *http.Client) *TrialParams

NewTrialParamsWithHTTPClient creates a new TrialParams object with the ability to set a custom HTTPClient for a request.

func NewTrialParamsWithTimeout

func NewTrialParamsWithTimeout(timeout time.Duration) *TrialParams

NewTrialParamsWithTimeout creates a new TrialParams object with the ability to set a timeout on a request.

func (*TrialParams) SetBody

func (o *TrialParams) SetBody(body *service_model.V1TrialStart)

SetBody adds the body to the trial params

func (*TrialParams) SetContext

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

SetContext adds the context to the trial params

func (*TrialParams) SetDefaults

func (o *TrialParams) SetDefaults()

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

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

func (*TrialParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the trial params

func (*TrialParams) SetTimeout

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

SetTimeout adds the timeout to the trial params

func (*TrialParams) WithBody

func (o *TrialParams) WithBody(body *service_model.V1TrialStart) *TrialParams

WithBody adds the body to the trial params

func (*TrialParams) WithContext

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

WithContext adds the context to the trial params

func (*TrialParams) WithDefaults

func (o *TrialParams) WithDefaults() *TrialParams

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

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

func (*TrialParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the trial params

func (*TrialParams) WithTimeout

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

WithTimeout adds the timeout to the trial params

func (*TrialParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type TrialReader

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

TrialReader is a Reader for the Trial structure.

func (*TrialReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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