Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateRecoveryCode(params *CreateRecoveryCodeParams) (*CreateRecoveryCodeNoContent, error)
- func (a *Client) CreateUser(params *CreateUserParams) (*CreateUserOK, error)
- func (a *Client) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserNoContent, error)
- func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOK, error)
- func (a *Client) GetUsers(params *GetUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersOK, error)
- func (a *Client) Login(params *LoginParams) (*LoginOK, error)
- func (a *Client) Logout(params *LogoutParams, authInfo runtime.ClientAuthInfoWriter) (*LogoutNoContent, error)
- func (a *Client) RecoveryPassword(params *RecoveryPasswordParams) (*RecoveryPasswordNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateEmail(params *UpdateEmailParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateEmailNoContent, error)
- func (a *Client) UpdatePassword(params *UpdatePasswordParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePasswordNoContent, error)
- func (a *Client) UpdateUsername(params *UpdateUsernameParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUsernameNoContent, error)
- func (a *Client) VerificationEmail(params *VerificationEmailParams) (*VerificationEmailNoContent, error)
- func (a *Client) VerificationUsername(params *VerificationUsernameParams) (*VerificationUsernameNoContent, error)
- type ClientService
- type CreateRecoveryCodeBody
- type CreateRecoveryCodeDefault
- type CreateRecoveryCodeNoContent
- type CreateRecoveryCodeParams
- func NewCreateRecoveryCodeParams() *CreateRecoveryCodeParams
- func NewCreateRecoveryCodeParamsWithContext(ctx context.Context) *CreateRecoveryCodeParams
- func NewCreateRecoveryCodeParamsWithHTTPClient(client *http.Client) *CreateRecoveryCodeParams
- func NewCreateRecoveryCodeParamsWithTimeout(timeout time.Duration) *CreateRecoveryCodeParams
- func (o *CreateRecoveryCodeParams) SetArgs(args CreateRecoveryCodeBody)
- func (o *CreateRecoveryCodeParams) SetContext(ctx context.Context)
- func (o *CreateRecoveryCodeParams) SetHTTPClient(client *http.Client)
- func (o *CreateRecoveryCodeParams) SetTimeout(timeout time.Duration)
- func (o *CreateRecoveryCodeParams) WithArgs(args CreateRecoveryCodeBody) *CreateRecoveryCodeParams
- func (o *CreateRecoveryCodeParams) WithContext(ctx context.Context) *CreateRecoveryCodeParams
- func (o *CreateRecoveryCodeParams) WithHTTPClient(client *http.Client) *CreateRecoveryCodeParams
- func (o *CreateRecoveryCodeParams) WithTimeout(timeout time.Duration) *CreateRecoveryCodeParams
- func (o *CreateRecoveryCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRecoveryCodeReader
- type CreateUserDefault
- type CreateUserOK
- type CreateUserParams
- func (o *CreateUserParams) SetArgs(args *models.CreateUserParams)
- func (o *CreateUserParams) SetContext(ctx context.Context)
- func (o *CreateUserParams) SetHTTPClient(client *http.Client)
- func (o *CreateUserParams) SetTimeout(timeout time.Duration)
- func (o *CreateUserParams) WithArgs(args *models.CreateUserParams) *CreateUserParams
- func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams
- func (o *CreateUserParams) WithHTTPClient(client *http.Client) *CreateUserParams
- func (o *CreateUserParams) WithTimeout(timeout time.Duration) *CreateUserParams
- func (o *CreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateUserReader
- type DeleteUserDefault
- type DeleteUserNoContent
- type DeleteUserParams
- func (o *DeleteUserParams) SetContext(ctx context.Context)
- func (o *DeleteUserParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserParams) WithContext(ctx context.Context) *DeleteUserParams
- func (o *DeleteUserParams) WithHTTPClient(client *http.Client) *DeleteUserParams
- func (o *DeleteUserParams) WithTimeout(timeout time.Duration) *DeleteUserParams
- func (o *DeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserReader
- type GetUserDefault
- type GetUserOK
- type GetUserParams
- func (o *GetUserParams) SetContext(ctx context.Context)
- func (o *GetUserParams) SetHTTPClient(client *http.Client)
- func (o *GetUserParams) SetID(id *int32)
- func (o *GetUserParams) SetTimeout(timeout time.Duration)
- func (o *GetUserParams) WithContext(ctx context.Context) *GetUserParams
- func (o *GetUserParams) WithHTTPClient(client *http.Client) *GetUserParams
- func (o *GetUserParams) WithID(id *int32) *GetUserParams
- func (o *GetUserParams) WithTimeout(timeout time.Duration) *GetUserParams
- func (o *GetUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserReader
- type GetUsersDefault
- type GetUsersOK
- type GetUsersOKBody
- type GetUsersParams
- func (o *GetUsersParams) SetContext(ctx context.Context)
- func (o *GetUsersParams) SetHTTPClient(client *http.Client)
- func (o *GetUsersParams) SetLimit(limit int32)
- func (o *GetUsersParams) SetOffset(offset *int32)
- func (o *GetUsersParams) SetTimeout(timeout time.Duration)
- func (o *GetUsersParams) SetUsername(username string)
- func (o *GetUsersParams) WithContext(ctx context.Context) *GetUsersParams
- func (o *GetUsersParams) WithHTTPClient(client *http.Client) *GetUsersParams
- func (o *GetUsersParams) WithLimit(limit int32) *GetUsersParams
- func (o *GetUsersParams) WithOffset(offset *int32) *GetUsersParams
- func (o *GetUsersParams) WithTimeout(timeout time.Duration) *GetUsersParams
- func (o *GetUsersParams) WithUsername(username string) *GetUsersParams
- func (o *GetUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUsersReader
- type LoginDefault
- type LoginOK
- type LoginParams
- func (o *LoginParams) SetArgs(args *models.LoginParam)
- func (o *LoginParams) SetContext(ctx context.Context)
- func (o *LoginParams) SetHTTPClient(client *http.Client)
- func (o *LoginParams) SetTimeout(timeout time.Duration)
- func (o *LoginParams) WithArgs(args *models.LoginParam) *LoginParams
- func (o *LoginParams) WithContext(ctx context.Context) *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 LogoutDefault
- type LogoutNoContent
- type LogoutParams
- func (o *LogoutParams) SetContext(ctx context.Context)
- func (o *LogoutParams) SetHTTPClient(client *http.Client)
- func (o *LogoutParams) SetTimeout(timeout time.Duration)
- func (o *LogoutParams) WithContext(ctx context.Context) *LogoutParams
- func (o *LogoutParams) WithHTTPClient(client *http.Client) *LogoutParams
- func (o *LogoutParams) WithTimeout(timeout time.Duration) *LogoutParams
- func (o *LogoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LogoutReader
- type RecoveryPasswordBody
- type RecoveryPasswordDefault
- type RecoveryPasswordNoContent
- type RecoveryPasswordParams
- func NewRecoveryPasswordParams() *RecoveryPasswordParams
- func NewRecoveryPasswordParamsWithContext(ctx context.Context) *RecoveryPasswordParams
- func NewRecoveryPasswordParamsWithHTTPClient(client *http.Client) *RecoveryPasswordParams
- func NewRecoveryPasswordParamsWithTimeout(timeout time.Duration) *RecoveryPasswordParams
- func (o *RecoveryPasswordParams) SetArgs(args RecoveryPasswordBody)
- func (o *RecoveryPasswordParams) SetContext(ctx context.Context)
- func (o *RecoveryPasswordParams) SetHTTPClient(client *http.Client)
- func (o *RecoveryPasswordParams) SetTimeout(timeout time.Duration)
- func (o *RecoveryPasswordParams) WithArgs(args RecoveryPasswordBody) *RecoveryPasswordParams
- func (o *RecoveryPasswordParams) WithContext(ctx context.Context) *RecoveryPasswordParams
- func (o *RecoveryPasswordParams) WithHTTPClient(client *http.Client) *RecoveryPasswordParams
- func (o *RecoveryPasswordParams) WithTimeout(timeout time.Duration) *RecoveryPasswordParams
- func (o *RecoveryPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RecoveryPasswordReader
- type UpdateEmailBody
- type UpdateEmailDefault
- type UpdateEmailNoContent
- type UpdateEmailParams
- func (o *UpdateEmailParams) SetArgs(args UpdateEmailBody)
- func (o *UpdateEmailParams) SetContext(ctx context.Context)
- func (o *UpdateEmailParams) SetHTTPClient(client *http.Client)
- func (o *UpdateEmailParams) SetTimeout(timeout time.Duration)
- func (o *UpdateEmailParams) WithArgs(args UpdateEmailBody) *UpdateEmailParams
- func (o *UpdateEmailParams) WithContext(ctx context.Context) *UpdateEmailParams
- func (o *UpdateEmailParams) WithHTTPClient(client *http.Client) *UpdateEmailParams
- func (o *UpdateEmailParams) WithTimeout(timeout time.Duration) *UpdateEmailParams
- func (o *UpdateEmailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateEmailReader
- type UpdatePasswordDefault
- type UpdatePasswordNoContent
- type UpdatePasswordParams
- func NewUpdatePasswordParams() *UpdatePasswordParams
- func NewUpdatePasswordParamsWithContext(ctx context.Context) *UpdatePasswordParams
- func NewUpdatePasswordParamsWithHTTPClient(client *http.Client) *UpdatePasswordParams
- func NewUpdatePasswordParamsWithTimeout(timeout time.Duration) *UpdatePasswordParams
- func (o *UpdatePasswordParams) SetArgs(args *models.UpdatePassword)
- func (o *UpdatePasswordParams) SetContext(ctx context.Context)
- func (o *UpdatePasswordParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePasswordParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePasswordParams) WithArgs(args *models.UpdatePassword) *UpdatePasswordParams
- func (o *UpdatePasswordParams) WithContext(ctx context.Context) *UpdatePasswordParams
- func (o *UpdatePasswordParams) WithHTTPClient(client *http.Client) *UpdatePasswordParams
- func (o *UpdatePasswordParams) WithTimeout(timeout time.Duration) *UpdatePasswordParams
- func (o *UpdatePasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePasswordReader
- type UpdateUsernameBody
- type UpdateUsernameDefault
- type UpdateUsernameNoContent
- type UpdateUsernameParams
- func NewUpdateUsernameParams() *UpdateUsernameParams
- func NewUpdateUsernameParamsWithContext(ctx context.Context) *UpdateUsernameParams
- func NewUpdateUsernameParamsWithHTTPClient(client *http.Client) *UpdateUsernameParams
- func NewUpdateUsernameParamsWithTimeout(timeout time.Duration) *UpdateUsernameParams
- func (o *UpdateUsernameParams) SetArgs(args UpdateUsernameBody)
- func (o *UpdateUsernameParams) SetContext(ctx context.Context)
- func (o *UpdateUsernameParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUsernameParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUsernameParams) WithArgs(args UpdateUsernameBody) *UpdateUsernameParams
- func (o *UpdateUsernameParams) WithContext(ctx context.Context) *UpdateUsernameParams
- func (o *UpdateUsernameParams) WithHTTPClient(client *http.Client) *UpdateUsernameParams
- func (o *UpdateUsernameParams) WithTimeout(timeout time.Duration) *UpdateUsernameParams
- func (o *UpdateUsernameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUsernameReader
- type VerificationEmailBody
- type VerificationEmailDefault
- type VerificationEmailNoContent
- type VerificationEmailParams
- func NewVerificationEmailParams() *VerificationEmailParams
- func NewVerificationEmailParamsWithContext(ctx context.Context) *VerificationEmailParams
- func NewVerificationEmailParamsWithHTTPClient(client *http.Client) *VerificationEmailParams
- func NewVerificationEmailParamsWithTimeout(timeout time.Duration) *VerificationEmailParams
- func (o *VerificationEmailParams) SetArgs(args VerificationEmailBody)
- func (o *VerificationEmailParams) SetContext(ctx context.Context)
- func (o *VerificationEmailParams) SetHTTPClient(client *http.Client)
- func (o *VerificationEmailParams) SetTimeout(timeout time.Duration)
- func (o *VerificationEmailParams) WithArgs(args VerificationEmailBody) *VerificationEmailParams
- func (o *VerificationEmailParams) WithContext(ctx context.Context) *VerificationEmailParams
- func (o *VerificationEmailParams) WithHTTPClient(client *http.Client) *VerificationEmailParams
- func (o *VerificationEmailParams) WithTimeout(timeout time.Duration) *VerificationEmailParams
- func (o *VerificationEmailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VerificationEmailReader
- type VerificationUsernameBody
- type VerificationUsernameDefault
- type VerificationUsernameNoContent
- type VerificationUsernameParams
- func NewVerificationUsernameParams() *VerificationUsernameParams
- func NewVerificationUsernameParamsWithContext(ctx context.Context) *VerificationUsernameParams
- func NewVerificationUsernameParamsWithHTTPClient(client *http.Client) *VerificationUsernameParams
- func NewVerificationUsernameParamsWithTimeout(timeout time.Duration) *VerificationUsernameParams
- func (o *VerificationUsernameParams) SetArgs(args VerificationUsernameBody)
- func (o *VerificationUsernameParams) SetContext(ctx context.Context)
- func (o *VerificationUsernameParams) SetHTTPClient(client *http.Client)
- func (o *VerificationUsernameParams) SetTimeout(timeout time.Duration)
- func (o *VerificationUsernameParams) WithArgs(args VerificationUsernameBody) *VerificationUsernameParams
- func (o *VerificationUsernameParams) WithContext(ctx context.Context) *VerificationUsernameParams
- func (o *VerificationUsernameParams) WithHTTPClient(client *http.Client) *VerificationUsernameParams
- func (o *VerificationUsernameParams) WithTimeout(timeout time.Duration) *VerificationUsernameParams
- func (o *VerificationUsernameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VerificationUsernameReader
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 operations API
func (*Client) CreateRecoveryCode ¶
func (a *Client) CreateRecoveryCode(params *CreateRecoveryCodeParams) (*CreateRecoveryCodeNoContent, error)
CreateRecoveryCode Creates a password recovery token and sends it to the email.
func (*Client) CreateUser ¶
func (a *Client) CreateUser(params *CreateUserParams) (*CreateUserOK, error)
CreateUser New user registration. If it is not sent to username, it will be the userID
func (*Client) DeleteUser ¶
func (a *Client) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserNoContent, error)
DeleteUser Deletion of your account.
func (*Client) GetUser ¶
func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOK, error)
GetUser Open user profile.
func (*Client) GetUsers ¶
func (a *Client) GetUsers(params *GetUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersOK, error)
GetUsers User search.
func (*Client) Login ¶
func (a *Client) Login(params *LoginParams) (*LoginOK, error)
Login Login for user.
func (*Client) Logout ¶
func (a *Client) Logout(params *LogoutParams, authInfo runtime.ClientAuthInfoWriter) (*LogoutNoContent, error)
Logout Logout for user
func (*Client) RecoveryPassword ¶
func (a *Client) RecoveryPassword(params *RecoveryPasswordParams) (*RecoveryPasswordNoContent, error)
RecoveryPassword Updates the password of the user who owns this recovery code.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateEmail ¶
func (a *Client) UpdateEmail(params *UpdateEmailParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateEmailNoContent, error)
UpdateEmail Change email.
func (*Client) UpdatePassword ¶
func (a *Client) UpdatePassword(params *UpdatePasswordParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePasswordNoContent, error)
UpdatePassword Change password.
func (*Client) UpdateUsername ¶
func (a *Client) UpdateUsername(params *UpdateUsernameParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUsernameNoContent, error)
UpdateUsername Change username.
func (*Client) VerificationEmail ¶
func (a *Client) VerificationEmail(params *VerificationEmailParams) (*VerificationEmailNoContent, error)
VerificationEmail verification email API
func (*Client) VerificationUsername ¶
func (a *Client) VerificationUsername(params *VerificationUsernameParams) (*VerificationUsernameNoContent, error)
VerificationUsername verification username API
type ClientService ¶
type ClientService interface { CreateRecoveryCode(params *CreateRecoveryCodeParams) (*CreateRecoveryCodeNoContent, error) CreateUser(params *CreateUserParams) (*CreateUserOK, error) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserNoContent, error) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOK, error) GetUsers(params *GetUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersOK, error) Login(params *LoginParams) (*LoginOK, error) Logout(params *LogoutParams, authInfo runtime.ClientAuthInfoWriter) (*LogoutNoContent, error) RecoveryPassword(params *RecoveryPasswordParams) (*RecoveryPasswordNoContent, error) UpdateEmail(params *UpdateEmailParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateEmailNoContent, error) UpdatePassword(params *UpdatePasswordParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePasswordNoContent, error) UpdateUsername(params *UpdateUsernameParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUsernameNoContent, error) VerificationEmail(params *VerificationEmailParams) (*VerificationEmailNoContent, error) VerificationUsername(params *VerificationUsernameParams) (*VerificationUsernameNoContent, 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 operations API client.
type CreateRecoveryCodeBody ¶
type CreateRecoveryCodeBody struct { // email // Required: true // Format: email Email models.Email `json:"email"` }
CreateRecoveryCodeBody create recovery code body swagger:model CreateRecoveryCodeBody
func (*CreateRecoveryCodeBody) MarshalBinary ¶
func (o *CreateRecoveryCodeBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateRecoveryCodeBody) UnmarshalBinary ¶
func (o *CreateRecoveryCodeBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateRecoveryCodeDefault ¶
type CreateRecoveryCodeDefault struct { Payload *models.Error // contains filtered or unexported fields }
CreateRecoveryCodeDefault handles this case with default header values.
Generic error response.
func NewCreateRecoveryCodeDefault ¶
func NewCreateRecoveryCodeDefault(code int) *CreateRecoveryCodeDefault
NewCreateRecoveryCodeDefault creates a CreateRecoveryCodeDefault with default headers values
func (*CreateRecoveryCodeDefault) Code ¶
func (o *CreateRecoveryCodeDefault) Code() int
Code gets the status code for the create recovery code default response
func (*CreateRecoveryCodeDefault) Error ¶
func (o *CreateRecoveryCodeDefault) Error() string
func (*CreateRecoveryCodeDefault) GetPayload ¶
func (o *CreateRecoveryCodeDefault) GetPayload() *models.Error
type CreateRecoveryCodeNoContent ¶
type CreateRecoveryCodeNoContent struct { }
CreateRecoveryCodeNoContent handles this case with default header values.
The server successfully processed the request and is not returning any content.
func NewCreateRecoveryCodeNoContent ¶
func NewCreateRecoveryCodeNoContent() *CreateRecoveryCodeNoContent
NewCreateRecoveryCodeNoContent creates a CreateRecoveryCodeNoContent with default headers values
func (*CreateRecoveryCodeNoContent) Error ¶
func (o *CreateRecoveryCodeNoContent) Error() string
type CreateRecoveryCodeParams ¶
type CreateRecoveryCodeParams struct { /*Args*/ Args CreateRecoveryCodeBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRecoveryCodeParams contains all the parameters to send to the API endpoint for the create recovery code operation typically these are written to a http.Request
func NewCreateRecoveryCodeParams ¶
func NewCreateRecoveryCodeParams() *CreateRecoveryCodeParams
NewCreateRecoveryCodeParams creates a new CreateRecoveryCodeParams object with the default values initialized.
func NewCreateRecoveryCodeParamsWithContext ¶
func NewCreateRecoveryCodeParamsWithContext(ctx context.Context) *CreateRecoveryCodeParams
NewCreateRecoveryCodeParamsWithContext creates a new CreateRecoveryCodeParams object with the default values initialized, and the ability to set a context for a request
func NewCreateRecoveryCodeParamsWithHTTPClient ¶
func NewCreateRecoveryCodeParamsWithHTTPClient(client *http.Client) *CreateRecoveryCodeParams
NewCreateRecoveryCodeParamsWithHTTPClient creates a new CreateRecoveryCodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateRecoveryCodeParamsWithTimeout ¶
func NewCreateRecoveryCodeParamsWithTimeout(timeout time.Duration) *CreateRecoveryCodeParams
NewCreateRecoveryCodeParamsWithTimeout creates a new CreateRecoveryCodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateRecoveryCodeParams) SetArgs ¶
func (o *CreateRecoveryCodeParams) SetArgs(args CreateRecoveryCodeBody)
SetArgs adds the args to the create recovery code params
func (*CreateRecoveryCodeParams) SetContext ¶
func (o *CreateRecoveryCodeParams) SetContext(ctx context.Context)
SetContext adds the context to the create recovery code params
func (*CreateRecoveryCodeParams) SetHTTPClient ¶
func (o *CreateRecoveryCodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create recovery code params
func (*CreateRecoveryCodeParams) SetTimeout ¶
func (o *CreateRecoveryCodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create recovery code params
func (*CreateRecoveryCodeParams) WithArgs ¶
func (o *CreateRecoveryCodeParams) WithArgs(args CreateRecoveryCodeBody) *CreateRecoveryCodeParams
WithArgs adds the args to the create recovery code params
func (*CreateRecoveryCodeParams) WithContext ¶
func (o *CreateRecoveryCodeParams) WithContext(ctx context.Context) *CreateRecoveryCodeParams
WithContext adds the context to the create recovery code params
func (*CreateRecoveryCodeParams) WithHTTPClient ¶
func (o *CreateRecoveryCodeParams) WithHTTPClient(client *http.Client) *CreateRecoveryCodeParams
WithHTTPClient adds the HTTPClient to the create recovery code params
func (*CreateRecoveryCodeParams) WithTimeout ¶
func (o *CreateRecoveryCodeParams) WithTimeout(timeout time.Duration) *CreateRecoveryCodeParams
WithTimeout adds the timeout to the create recovery code params
func (*CreateRecoveryCodeParams) WriteToRequest ¶
func (o *CreateRecoveryCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRecoveryCodeReader ¶
type CreateRecoveryCodeReader struct {
// contains filtered or unexported fields
}
CreateRecoveryCodeReader is a Reader for the CreateRecoveryCode structure.
func (*CreateRecoveryCodeReader) ReadResponse ¶
func (o *CreateRecoveryCodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateUserDefault ¶
CreateUserDefault handles this case with default header values.
Generic error response.
func NewCreateUserDefault ¶
func NewCreateUserDefault(code int) *CreateUserDefault
NewCreateUserDefault creates a CreateUserDefault with default headers values
func (*CreateUserDefault) Code ¶
func (o *CreateUserDefault) Code() int
Code gets the status code for the create user default response
func (*CreateUserDefault) Error ¶
func (o *CreateUserDefault) Error() string
func (*CreateUserDefault) GetPayload ¶
func (o *CreateUserDefault) GetPayload() *models.Error
type CreateUserOK ¶
CreateUserOK handles this case with default header values.
OK
func NewCreateUserOK ¶
func NewCreateUserOK() *CreateUserOK
NewCreateUserOK creates a CreateUserOK with default headers values
func (*CreateUserOK) Error ¶
func (o *CreateUserOK) Error() string
func (*CreateUserOK) GetPayload ¶
func (o *CreateUserOK) GetPayload() *models.User
type CreateUserParams ¶
type CreateUserParams struct { /*Args*/ Args *models.CreateUserParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateUserParams contains all the parameters to send to the API endpoint for the create user operation typically these are written to a http.Request
func NewCreateUserParams ¶
func NewCreateUserParams() *CreateUserParams
NewCreateUserParams creates a new CreateUserParams object with the default values initialized.
func NewCreateUserParamsWithContext ¶
func NewCreateUserParamsWithContext(ctx context.Context) *CreateUserParams
NewCreateUserParamsWithContext creates a new CreateUserParams object with the default values initialized, and the ability to set a context for a request
func NewCreateUserParamsWithHTTPClient ¶
func NewCreateUserParamsWithHTTPClient(client *http.Client) *CreateUserParams
NewCreateUserParamsWithHTTPClient creates a new CreateUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateUserParamsWithTimeout ¶
func NewCreateUserParamsWithTimeout(timeout time.Duration) *CreateUserParams
NewCreateUserParamsWithTimeout creates a new CreateUserParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateUserParams) SetArgs ¶
func (o *CreateUserParams) SetArgs(args *models.CreateUserParams)
SetArgs adds the args to the create user params
func (*CreateUserParams) SetContext ¶
func (o *CreateUserParams) SetContext(ctx context.Context)
SetContext adds the context to the create user params
func (*CreateUserParams) SetHTTPClient ¶
func (o *CreateUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create user params
func (*CreateUserParams) SetTimeout ¶
func (o *CreateUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create user params
func (*CreateUserParams) WithArgs ¶
func (o *CreateUserParams) WithArgs(args *models.CreateUserParams) *CreateUserParams
WithArgs adds the args to the create user params
func (*CreateUserParams) WithContext ¶
func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams
WithContext adds the context to the create user params
func (*CreateUserParams) WithHTTPClient ¶
func (o *CreateUserParams) WithHTTPClient(client *http.Client) *CreateUserParams
WithHTTPClient adds the HTTPClient to the create user params
func (*CreateUserParams) WithTimeout ¶
func (o *CreateUserParams) WithTimeout(timeout time.Duration) *CreateUserParams
WithTimeout adds the timeout to the create user params
func (*CreateUserParams) WriteToRequest ¶
func (o *CreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateUserReader ¶
type CreateUserReader struct {
// contains filtered or unexported fields
}
CreateUserReader is a Reader for the CreateUser structure.
func (*CreateUserReader) ReadResponse ¶
func (o *CreateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteUserDefault ¶
DeleteUserDefault handles this case with default header values.
Generic error response.
func NewDeleteUserDefault ¶
func NewDeleteUserDefault(code int) *DeleteUserDefault
NewDeleteUserDefault creates a DeleteUserDefault with default headers values
func (*DeleteUserDefault) Code ¶
func (o *DeleteUserDefault) Code() int
Code gets the status code for the delete user default response
func (*DeleteUserDefault) Error ¶
func (o *DeleteUserDefault) Error() string
func (*DeleteUserDefault) GetPayload ¶
func (o *DeleteUserDefault) GetPayload() *models.Error
type DeleteUserNoContent ¶
type DeleteUserNoContent struct { }
DeleteUserNoContent handles this case with default header values.
The server successfully processed the request and is not returning any content.
func NewDeleteUserNoContent ¶
func NewDeleteUserNoContent() *DeleteUserNoContent
NewDeleteUserNoContent creates a DeleteUserNoContent with default headers values
func (*DeleteUserNoContent) Error ¶
func (o *DeleteUserNoContent) Error() string
type DeleteUserParams ¶
type DeleteUserParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteUserParams contains all the parameters to send to the API endpoint for the delete user operation typically these are written to a http.Request
func NewDeleteUserParams ¶
func NewDeleteUserParams() *DeleteUserParams
NewDeleteUserParams creates a new DeleteUserParams object with the default values initialized.
func NewDeleteUserParamsWithContext ¶
func NewDeleteUserParamsWithContext(ctx context.Context) *DeleteUserParams
NewDeleteUserParamsWithContext creates a new DeleteUserParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteUserParamsWithHTTPClient ¶
func NewDeleteUserParamsWithHTTPClient(client *http.Client) *DeleteUserParams
NewDeleteUserParamsWithHTTPClient creates a new DeleteUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteUserParamsWithTimeout ¶
func NewDeleteUserParamsWithTimeout(timeout time.Duration) *DeleteUserParams
NewDeleteUserParamsWithTimeout creates a new DeleteUserParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteUserParams) SetContext ¶
func (o *DeleteUserParams) SetContext(ctx context.Context)
SetContext adds the context to the delete user params
func (*DeleteUserParams) SetHTTPClient ¶
func (o *DeleteUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete user params
func (*DeleteUserParams) SetTimeout ¶
func (o *DeleteUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete user params
func (*DeleteUserParams) WithContext ¶
func (o *DeleteUserParams) WithContext(ctx context.Context) *DeleteUserParams
WithContext adds the context to the delete user params
func (*DeleteUserParams) WithHTTPClient ¶
func (o *DeleteUserParams) WithHTTPClient(client *http.Client) *DeleteUserParams
WithHTTPClient adds the HTTPClient to the delete user params
func (*DeleteUserParams) WithTimeout ¶
func (o *DeleteUserParams) WithTimeout(timeout time.Duration) *DeleteUserParams
WithTimeout adds the timeout to the delete user params
func (*DeleteUserParams) WriteToRequest ¶
func (o *DeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteUserReader ¶
type DeleteUserReader struct {
// contains filtered or unexported fields
}
DeleteUserReader is a Reader for the DeleteUser structure.
func (*DeleteUserReader) ReadResponse ¶
func (o *DeleteUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserDefault ¶
GetUserDefault handles this case with default header values.
Generic error response.
func NewGetUserDefault ¶
func NewGetUserDefault(code int) *GetUserDefault
NewGetUserDefault creates a GetUserDefault with default headers values
func (*GetUserDefault) Code ¶
func (o *GetUserDefault) Code() int
Code gets the status code for the get user default response
func (*GetUserDefault) Error ¶
func (o *GetUserDefault) Error() string
func (*GetUserDefault) GetPayload ¶
func (o *GetUserDefault) GetPayload() *models.Error
type GetUserOK ¶
GetUserOK handles this case with default header values.
OK
func NewGetUserOK ¶
func NewGetUserOK() *GetUserOK
NewGetUserOK creates a GetUserOK with default headers values
func (*GetUserOK) GetPayload ¶
type GetUserParams ¶
type GetUserParams struct { /*ID*/ ID *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserParams contains all the parameters to send to the API endpoint for the get user operation typically these are written to a http.Request
func NewGetUserParams ¶
func NewGetUserParams() *GetUserParams
NewGetUserParams creates a new GetUserParams object with the default values initialized.
func NewGetUserParamsWithContext ¶
func NewGetUserParamsWithContext(ctx context.Context) *GetUserParams
NewGetUserParamsWithContext creates a new GetUserParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserParamsWithHTTPClient ¶
func NewGetUserParamsWithHTTPClient(client *http.Client) *GetUserParams
NewGetUserParamsWithHTTPClient creates a new GetUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserParamsWithTimeout ¶
func NewGetUserParamsWithTimeout(timeout time.Duration) *GetUserParams
NewGetUserParamsWithTimeout creates a new GetUserParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserParams) SetContext ¶
func (o *GetUserParams) SetContext(ctx context.Context)
SetContext adds the context to the get user params
func (*GetUserParams) SetHTTPClient ¶
func (o *GetUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user params
func (*GetUserParams) SetID ¶
func (o *GetUserParams) SetID(id *int32)
SetID adds the id to the get user params
func (*GetUserParams) SetTimeout ¶
func (o *GetUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user params
func (*GetUserParams) WithContext ¶
func (o *GetUserParams) WithContext(ctx context.Context) *GetUserParams
WithContext adds the context to the get user params
func (*GetUserParams) WithHTTPClient ¶
func (o *GetUserParams) WithHTTPClient(client *http.Client) *GetUserParams
WithHTTPClient adds the HTTPClient to the get user params
func (*GetUserParams) WithID ¶
func (o *GetUserParams) WithID(id *int32) *GetUserParams
WithID adds the id to the get user params
func (*GetUserParams) WithTimeout ¶
func (o *GetUserParams) WithTimeout(timeout time.Duration) *GetUserParams
WithTimeout adds the timeout to the get user params
func (*GetUserParams) WriteToRequest ¶
func (o *GetUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserReader ¶
type GetUserReader struct {
// contains filtered or unexported fields
}
GetUserReader is a Reader for the GetUser structure.
func (*GetUserReader) ReadResponse ¶
func (o *GetUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUsersDefault ¶
GetUsersDefault handles this case with default header values.
Generic error response.
func NewGetUsersDefault ¶
func NewGetUsersDefault(code int) *GetUsersDefault
NewGetUsersDefault creates a GetUsersDefault with default headers values
func (*GetUsersDefault) Code ¶
func (o *GetUsersDefault) Code() int
Code gets the status code for the get users default response
func (*GetUsersDefault) Error ¶
func (o *GetUsersDefault) Error() string
func (*GetUsersDefault) GetPayload ¶
func (o *GetUsersDefault) GetPayload() *models.Error
type GetUsersOK ¶
type GetUsersOK struct {
Payload *GetUsersOKBody
}
GetUsersOK handles this case with default header values.
OK
func NewGetUsersOK ¶
func NewGetUsersOK() *GetUsersOK
NewGetUsersOK creates a GetUsersOK with default headers values
func (*GetUsersOK) Error ¶
func (o *GetUsersOK) Error() string
func (*GetUsersOK) GetPayload ¶
func (o *GetUsersOK) GetPayload() *GetUsersOKBody
type GetUsersOKBody ¶
type GetUsersOKBody struct { // total // Minimum: 0 Total *int32 `json:"total,omitempty"` // users // Max Items: 100 // Unique: true Users []*models.User `json:"users"` }
GetUsersOKBody get users o k body swagger:model GetUsersOKBody
func (*GetUsersOKBody) MarshalBinary ¶
func (o *GetUsersOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetUsersOKBody) UnmarshalBinary ¶
func (o *GetUsersOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetUsersParams ¶
type GetUsersParams struct { /*Limit*/ Limit int32 /*Offset*/ Offset *int32 /*Username*/ Username string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUsersParams contains all the parameters to send to the API endpoint for the get users operation typically these are written to a http.Request
func NewGetUsersParams ¶
func NewGetUsersParams() *GetUsersParams
NewGetUsersParams creates a new GetUsersParams object with the default values initialized.
func NewGetUsersParamsWithContext ¶
func NewGetUsersParamsWithContext(ctx context.Context) *GetUsersParams
NewGetUsersParamsWithContext creates a new GetUsersParams object with the default values initialized, and the ability to set a context for a request
func NewGetUsersParamsWithHTTPClient ¶
func NewGetUsersParamsWithHTTPClient(client *http.Client) *GetUsersParams
NewGetUsersParamsWithHTTPClient creates a new GetUsersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUsersParamsWithTimeout ¶
func NewGetUsersParamsWithTimeout(timeout time.Duration) *GetUsersParams
NewGetUsersParamsWithTimeout creates a new GetUsersParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUsersParams) SetContext ¶
func (o *GetUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the get users params
func (*GetUsersParams) SetHTTPClient ¶
func (o *GetUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get users params
func (*GetUsersParams) SetLimit ¶
func (o *GetUsersParams) SetLimit(limit int32)
SetLimit adds the limit to the get users params
func (*GetUsersParams) SetOffset ¶
func (o *GetUsersParams) SetOffset(offset *int32)
SetOffset adds the offset to the get users params
func (*GetUsersParams) SetTimeout ¶
func (o *GetUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get users params
func (*GetUsersParams) SetUsername ¶
func (o *GetUsersParams) SetUsername(username string)
SetUsername adds the username to the get users params
func (*GetUsersParams) WithContext ¶
func (o *GetUsersParams) WithContext(ctx context.Context) *GetUsersParams
WithContext adds the context to the get users params
func (*GetUsersParams) WithHTTPClient ¶
func (o *GetUsersParams) WithHTTPClient(client *http.Client) *GetUsersParams
WithHTTPClient adds the HTTPClient to the get users params
func (*GetUsersParams) WithLimit ¶
func (o *GetUsersParams) WithLimit(limit int32) *GetUsersParams
WithLimit adds the limit to the get users params
func (*GetUsersParams) WithOffset ¶
func (o *GetUsersParams) WithOffset(offset *int32) *GetUsersParams
WithOffset adds the offset to the get users params
func (*GetUsersParams) WithTimeout ¶
func (o *GetUsersParams) WithTimeout(timeout time.Duration) *GetUsersParams
WithTimeout adds the timeout to the get users params
func (*GetUsersParams) WithUsername ¶
func (o *GetUsersParams) WithUsername(username string) *GetUsersParams
WithUsername adds the username to the get users params
func (*GetUsersParams) WriteToRequest ¶
func (o *GetUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUsersReader ¶
type GetUsersReader struct {
// contains filtered or unexported fields
}
GetUsersReader is a Reader for the GetUsers structure.
func (*GetUsersReader) ReadResponse ¶
func (o *GetUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LoginDefault ¶
LoginDefault handles this case with default header values.
Generic 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() *models.Error
type LoginOK ¶
LoginOK handles this case with default header values.
OK
func NewLoginOK ¶
func NewLoginOK() *LoginOK
NewLoginOK creates a LoginOK with default headers values
func (*LoginOK) GetPayload ¶
type LoginParams ¶
type LoginParams struct { /*Args*/ Args *models.LoginParam 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 values initialized.
func NewLoginParamsWithContext ¶
func NewLoginParamsWithContext(ctx context.Context) *LoginParams
NewLoginParamsWithContext creates a new LoginParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*LoginParams) SetArgs ¶
func (o *LoginParams) SetArgs(args *models.LoginParam)
SetArgs adds the args to the login params
func (*LoginParams) SetContext ¶
func (o *LoginParams) SetContext(ctx context.Context)
SetContext adds the context to the login params
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) WithArgs ¶
func (o *LoginParams) WithArgs(args *models.LoginParam) *LoginParams
WithArgs adds the args 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) 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 LogoutDefault ¶
LogoutDefault handles this case with default header values.
Generic error response.
func NewLogoutDefault ¶
func NewLogoutDefault(code int) *LogoutDefault
NewLogoutDefault creates a LogoutDefault with default headers values
func (*LogoutDefault) Code ¶
func (o *LogoutDefault) Code() int
Code gets the status code for the logout default response
func (*LogoutDefault) Error ¶
func (o *LogoutDefault) Error() string
func (*LogoutDefault) GetPayload ¶
func (o *LogoutDefault) GetPayload() *models.Error
type LogoutNoContent ¶
type LogoutNoContent struct { }
LogoutNoContent handles this case with default header values.
The server successfully processed the request and is not returning any content.
func NewLogoutNoContent ¶
func NewLogoutNoContent() *LogoutNoContent
NewLogoutNoContent creates a LogoutNoContent with default headers values
func (*LogoutNoContent) Error ¶
func (o *LogoutNoContent) Error() string
type LogoutParams ¶
type LogoutParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LogoutParams contains all the parameters to send to the API endpoint for the logout operation typically these are written to a http.Request
func NewLogoutParams ¶
func NewLogoutParams() *LogoutParams
NewLogoutParams creates a new LogoutParams object with the default values initialized.
func NewLogoutParamsWithContext ¶
func NewLogoutParamsWithContext(ctx context.Context) *LogoutParams
NewLogoutParamsWithContext creates a new LogoutParams object with the default values initialized, and the ability to set a context for a request
func NewLogoutParamsWithHTTPClient ¶
func NewLogoutParamsWithHTTPClient(client *http.Client) *LogoutParams
NewLogoutParamsWithHTTPClient creates a new LogoutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLogoutParamsWithTimeout ¶
func NewLogoutParamsWithTimeout(timeout time.Duration) *LogoutParams
NewLogoutParamsWithTimeout creates a new LogoutParams object with the default values initialized, and the ability to set a timeout on a request
func (*LogoutParams) SetContext ¶
func (o *LogoutParams) SetContext(ctx context.Context)
SetContext adds the context to the logout params
func (*LogoutParams) SetHTTPClient ¶
func (o *LogoutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the logout params
func (*LogoutParams) SetTimeout ¶
func (o *LogoutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the logout params
func (*LogoutParams) WithContext ¶
func (o *LogoutParams) WithContext(ctx context.Context) *LogoutParams
WithContext adds the context to the logout params
func (*LogoutParams) WithHTTPClient ¶
func (o *LogoutParams) WithHTTPClient(client *http.Client) *LogoutParams
WithHTTPClient adds the HTTPClient to the logout params
func (*LogoutParams) WithTimeout ¶
func (o *LogoutParams) WithTimeout(timeout time.Duration) *LogoutParams
WithTimeout adds the timeout to the logout params
func (*LogoutParams) WriteToRequest ¶
func (o *LogoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LogoutReader ¶
type LogoutReader struct {
// contains filtered or unexported fields
}
LogoutReader is a Reader for the Logout structure.
func (*LogoutReader) ReadResponse ¶
func (o *LogoutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RecoveryPasswordBody ¶
type RecoveryPasswordBody struct { // password // Required: true // Format: password Password models.Password `json:"password"` // recovery code // Required: true RecoveryCode models.RecoveryCode `json:"recoveryCode"` }
RecoveryPasswordBody recovery password body swagger:model RecoveryPasswordBody
func (*RecoveryPasswordBody) MarshalBinary ¶
func (o *RecoveryPasswordBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RecoveryPasswordBody) UnmarshalBinary ¶
func (o *RecoveryPasswordBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RecoveryPasswordDefault ¶
type RecoveryPasswordDefault struct { Payload *models.Error // contains filtered or unexported fields }
RecoveryPasswordDefault handles this case with default header values.
Generic error response.
func NewRecoveryPasswordDefault ¶
func NewRecoveryPasswordDefault(code int) *RecoveryPasswordDefault
NewRecoveryPasswordDefault creates a RecoveryPasswordDefault with default headers values
func (*RecoveryPasswordDefault) Code ¶
func (o *RecoveryPasswordDefault) Code() int
Code gets the status code for the recovery password default response
func (*RecoveryPasswordDefault) Error ¶
func (o *RecoveryPasswordDefault) Error() string
func (*RecoveryPasswordDefault) GetPayload ¶
func (o *RecoveryPasswordDefault) GetPayload() *models.Error
type RecoveryPasswordNoContent ¶
type RecoveryPasswordNoContent struct { }
RecoveryPasswordNoContent handles this case with default header values.
The server successfully processed the request and is not returning any content.
func NewRecoveryPasswordNoContent ¶
func NewRecoveryPasswordNoContent() *RecoveryPasswordNoContent
NewRecoveryPasswordNoContent creates a RecoveryPasswordNoContent with default headers values
func (*RecoveryPasswordNoContent) Error ¶
func (o *RecoveryPasswordNoContent) Error() string
type RecoveryPasswordParams ¶
type RecoveryPasswordParams struct { /*Args*/ Args RecoveryPasswordBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RecoveryPasswordParams contains all the parameters to send to the API endpoint for the recovery password operation typically these are written to a http.Request
func NewRecoveryPasswordParams ¶
func NewRecoveryPasswordParams() *RecoveryPasswordParams
NewRecoveryPasswordParams creates a new RecoveryPasswordParams object with the default values initialized.
func NewRecoveryPasswordParamsWithContext ¶
func NewRecoveryPasswordParamsWithContext(ctx context.Context) *RecoveryPasswordParams
NewRecoveryPasswordParamsWithContext creates a new RecoveryPasswordParams object with the default values initialized, and the ability to set a context for a request
func NewRecoveryPasswordParamsWithHTTPClient ¶
func NewRecoveryPasswordParamsWithHTTPClient(client *http.Client) *RecoveryPasswordParams
NewRecoveryPasswordParamsWithHTTPClient creates a new RecoveryPasswordParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRecoveryPasswordParamsWithTimeout ¶
func NewRecoveryPasswordParamsWithTimeout(timeout time.Duration) *RecoveryPasswordParams
NewRecoveryPasswordParamsWithTimeout creates a new RecoveryPasswordParams object with the default values initialized, and the ability to set a timeout on a request
func (*RecoveryPasswordParams) SetArgs ¶
func (o *RecoveryPasswordParams) SetArgs(args RecoveryPasswordBody)
SetArgs adds the args to the recovery password params
func (*RecoveryPasswordParams) SetContext ¶
func (o *RecoveryPasswordParams) SetContext(ctx context.Context)
SetContext adds the context to the recovery password params
func (*RecoveryPasswordParams) SetHTTPClient ¶
func (o *RecoveryPasswordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the recovery password params
func (*RecoveryPasswordParams) SetTimeout ¶
func (o *RecoveryPasswordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the recovery password params
func (*RecoveryPasswordParams) WithArgs ¶
func (o *RecoveryPasswordParams) WithArgs(args RecoveryPasswordBody) *RecoveryPasswordParams
WithArgs adds the args to the recovery password params
func (*RecoveryPasswordParams) WithContext ¶
func (o *RecoveryPasswordParams) WithContext(ctx context.Context) *RecoveryPasswordParams
WithContext adds the context to the recovery password params
func (*RecoveryPasswordParams) WithHTTPClient ¶
func (o *RecoveryPasswordParams) WithHTTPClient(client *http.Client) *RecoveryPasswordParams
WithHTTPClient adds the HTTPClient to the recovery password params
func (*RecoveryPasswordParams) WithTimeout ¶
func (o *RecoveryPasswordParams) WithTimeout(timeout time.Duration) *RecoveryPasswordParams
WithTimeout adds the timeout to the recovery password params
func (*RecoveryPasswordParams) WriteToRequest ¶
func (o *RecoveryPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RecoveryPasswordReader ¶
type RecoveryPasswordReader struct {
// contains filtered or unexported fields
}
RecoveryPasswordReader is a Reader for the RecoveryPassword structure.
func (*RecoveryPasswordReader) ReadResponse ¶
func (o *RecoveryPasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateEmailBody ¶
type UpdateEmailBody struct { // email // Required: true // Format: email Email models.Email `json:"email"` }
UpdateEmailBody update email body swagger:model UpdateEmailBody
func (*UpdateEmailBody) MarshalBinary ¶
func (o *UpdateEmailBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateEmailBody) UnmarshalBinary ¶
func (o *UpdateEmailBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateEmailDefault ¶
UpdateEmailDefault handles this case with default header values.
Generic error response.
func NewUpdateEmailDefault ¶
func NewUpdateEmailDefault(code int) *UpdateEmailDefault
NewUpdateEmailDefault creates a UpdateEmailDefault with default headers values
func (*UpdateEmailDefault) Code ¶
func (o *UpdateEmailDefault) Code() int
Code gets the status code for the update email default response
func (*UpdateEmailDefault) Error ¶
func (o *UpdateEmailDefault) Error() string
func (*UpdateEmailDefault) GetPayload ¶
func (o *UpdateEmailDefault) GetPayload() *models.Error
type UpdateEmailNoContent ¶
type UpdateEmailNoContent struct { }
UpdateEmailNoContent handles this case with default header values.
The server successfully processed the request and is not returning any content.
func NewUpdateEmailNoContent ¶
func NewUpdateEmailNoContent() *UpdateEmailNoContent
NewUpdateEmailNoContent creates a UpdateEmailNoContent with default headers values
func (*UpdateEmailNoContent) Error ¶
func (o *UpdateEmailNoContent) Error() string
type UpdateEmailParams ¶
type UpdateEmailParams struct { /*Args*/ Args UpdateEmailBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateEmailParams contains all the parameters to send to the API endpoint for the update email operation typically these are written to a http.Request
func NewUpdateEmailParams ¶
func NewUpdateEmailParams() *UpdateEmailParams
NewUpdateEmailParams creates a new UpdateEmailParams object with the default values initialized.
func NewUpdateEmailParamsWithContext ¶
func NewUpdateEmailParamsWithContext(ctx context.Context) *UpdateEmailParams
NewUpdateEmailParamsWithContext creates a new UpdateEmailParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateEmailParamsWithHTTPClient ¶
func NewUpdateEmailParamsWithHTTPClient(client *http.Client) *UpdateEmailParams
NewUpdateEmailParamsWithHTTPClient creates a new UpdateEmailParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateEmailParamsWithTimeout ¶
func NewUpdateEmailParamsWithTimeout(timeout time.Duration) *UpdateEmailParams
NewUpdateEmailParamsWithTimeout creates a new UpdateEmailParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateEmailParams) SetArgs ¶
func (o *UpdateEmailParams) SetArgs(args UpdateEmailBody)
SetArgs adds the args to the update email params
func (*UpdateEmailParams) SetContext ¶
func (o *UpdateEmailParams) SetContext(ctx context.Context)
SetContext adds the context to the update email params
func (*UpdateEmailParams) SetHTTPClient ¶
func (o *UpdateEmailParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update email params
func (*UpdateEmailParams) SetTimeout ¶
func (o *UpdateEmailParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update email params
func (*UpdateEmailParams) WithArgs ¶
func (o *UpdateEmailParams) WithArgs(args UpdateEmailBody) *UpdateEmailParams
WithArgs adds the args to the update email params
func (*UpdateEmailParams) WithContext ¶
func (o *UpdateEmailParams) WithContext(ctx context.Context) *UpdateEmailParams
WithContext adds the context to the update email params
func (*UpdateEmailParams) WithHTTPClient ¶
func (o *UpdateEmailParams) WithHTTPClient(client *http.Client) *UpdateEmailParams
WithHTTPClient adds the HTTPClient to the update email params
func (*UpdateEmailParams) WithTimeout ¶
func (o *UpdateEmailParams) WithTimeout(timeout time.Duration) *UpdateEmailParams
WithTimeout adds the timeout to the update email params
func (*UpdateEmailParams) WriteToRequest ¶
func (o *UpdateEmailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateEmailReader ¶
type UpdateEmailReader struct {
// contains filtered or unexported fields
}
UpdateEmailReader is a Reader for the UpdateEmail structure.
func (*UpdateEmailReader) ReadResponse ¶
func (o *UpdateEmailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePasswordDefault ¶
type UpdatePasswordDefault struct { Payload *models.Error // contains filtered or unexported fields }
UpdatePasswordDefault handles this case with default header values.
Generic error response.
func NewUpdatePasswordDefault ¶
func NewUpdatePasswordDefault(code int) *UpdatePasswordDefault
NewUpdatePasswordDefault creates a UpdatePasswordDefault with default headers values
func (*UpdatePasswordDefault) Code ¶
func (o *UpdatePasswordDefault) Code() int
Code gets the status code for the update password default response
func (*UpdatePasswordDefault) Error ¶
func (o *UpdatePasswordDefault) Error() string
func (*UpdatePasswordDefault) GetPayload ¶
func (o *UpdatePasswordDefault) GetPayload() *models.Error
type UpdatePasswordNoContent ¶
type UpdatePasswordNoContent struct { }
UpdatePasswordNoContent handles this case with default header values.
The server successfully processed the request and is not returning any content.
func NewUpdatePasswordNoContent ¶
func NewUpdatePasswordNoContent() *UpdatePasswordNoContent
NewUpdatePasswordNoContent creates a UpdatePasswordNoContent with default headers values
func (*UpdatePasswordNoContent) Error ¶
func (o *UpdatePasswordNoContent) Error() string
type UpdatePasswordParams ¶
type UpdatePasswordParams struct { /*Args*/ Args *models.UpdatePassword Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePasswordParams contains all the parameters to send to the API endpoint for the update password operation typically these are written to a http.Request
func NewUpdatePasswordParams ¶
func NewUpdatePasswordParams() *UpdatePasswordParams
NewUpdatePasswordParams creates a new UpdatePasswordParams object with the default values initialized.
func NewUpdatePasswordParamsWithContext ¶
func NewUpdatePasswordParamsWithContext(ctx context.Context) *UpdatePasswordParams
NewUpdatePasswordParamsWithContext creates a new UpdatePasswordParams object with the default values initialized, and the ability to set a context for a request
func NewUpdatePasswordParamsWithHTTPClient ¶
func NewUpdatePasswordParamsWithHTTPClient(client *http.Client) *UpdatePasswordParams
NewUpdatePasswordParamsWithHTTPClient creates a new UpdatePasswordParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdatePasswordParamsWithTimeout ¶
func NewUpdatePasswordParamsWithTimeout(timeout time.Duration) *UpdatePasswordParams
NewUpdatePasswordParamsWithTimeout creates a new UpdatePasswordParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdatePasswordParams) SetArgs ¶
func (o *UpdatePasswordParams) SetArgs(args *models.UpdatePassword)
SetArgs adds the args to the update password params
func (*UpdatePasswordParams) SetContext ¶
func (o *UpdatePasswordParams) SetContext(ctx context.Context)
SetContext adds the context to the update password params
func (*UpdatePasswordParams) SetHTTPClient ¶
func (o *UpdatePasswordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update password params
func (*UpdatePasswordParams) SetTimeout ¶
func (o *UpdatePasswordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update password params
func (*UpdatePasswordParams) WithArgs ¶
func (o *UpdatePasswordParams) WithArgs(args *models.UpdatePassword) *UpdatePasswordParams
WithArgs adds the args to the update password params
func (*UpdatePasswordParams) WithContext ¶
func (o *UpdatePasswordParams) WithContext(ctx context.Context) *UpdatePasswordParams
WithContext adds the context to the update password params
func (*UpdatePasswordParams) WithHTTPClient ¶
func (o *UpdatePasswordParams) WithHTTPClient(client *http.Client) *UpdatePasswordParams
WithHTTPClient adds the HTTPClient to the update password params
func (*UpdatePasswordParams) WithTimeout ¶
func (o *UpdatePasswordParams) WithTimeout(timeout time.Duration) *UpdatePasswordParams
WithTimeout adds the timeout to the update password params
func (*UpdatePasswordParams) WriteToRequest ¶
func (o *UpdatePasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePasswordReader ¶
type UpdatePasswordReader struct {
// contains filtered or unexported fields
}
UpdatePasswordReader is a Reader for the UpdatePassword structure.
func (*UpdatePasswordReader) ReadResponse ¶
func (o *UpdatePasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUsernameBody ¶
type UpdateUsernameBody struct { // username // Required: true Username models.Username `json:"username"` }
UpdateUsernameBody update username body swagger:model UpdateUsernameBody
func (*UpdateUsernameBody) MarshalBinary ¶
func (o *UpdateUsernameBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateUsernameBody) UnmarshalBinary ¶
func (o *UpdateUsernameBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateUsernameDefault ¶
type UpdateUsernameDefault struct { Payload *models.Error // contains filtered or unexported fields }
UpdateUsernameDefault handles this case with default header values.
Generic error response.
func NewUpdateUsernameDefault ¶
func NewUpdateUsernameDefault(code int) *UpdateUsernameDefault
NewUpdateUsernameDefault creates a UpdateUsernameDefault with default headers values
func (*UpdateUsernameDefault) Code ¶
func (o *UpdateUsernameDefault) Code() int
Code gets the status code for the update username default response
func (*UpdateUsernameDefault) Error ¶
func (o *UpdateUsernameDefault) Error() string
func (*UpdateUsernameDefault) GetPayload ¶
func (o *UpdateUsernameDefault) GetPayload() *models.Error
type UpdateUsernameNoContent ¶
type UpdateUsernameNoContent struct { }
UpdateUsernameNoContent handles this case with default header values.
The server successfully processed the request and is not returning any content.
func NewUpdateUsernameNoContent ¶
func NewUpdateUsernameNoContent() *UpdateUsernameNoContent
NewUpdateUsernameNoContent creates a UpdateUsernameNoContent with default headers values
func (*UpdateUsernameNoContent) Error ¶
func (o *UpdateUsernameNoContent) Error() string
type UpdateUsernameParams ¶
type UpdateUsernameParams struct { /*Args*/ Args UpdateUsernameBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateUsernameParams contains all the parameters to send to the API endpoint for the update username operation typically these are written to a http.Request
func NewUpdateUsernameParams ¶
func NewUpdateUsernameParams() *UpdateUsernameParams
NewUpdateUsernameParams creates a new UpdateUsernameParams object with the default values initialized.
func NewUpdateUsernameParamsWithContext ¶
func NewUpdateUsernameParamsWithContext(ctx context.Context) *UpdateUsernameParams
NewUpdateUsernameParamsWithContext creates a new UpdateUsernameParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateUsernameParamsWithHTTPClient ¶
func NewUpdateUsernameParamsWithHTTPClient(client *http.Client) *UpdateUsernameParams
NewUpdateUsernameParamsWithHTTPClient creates a new UpdateUsernameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateUsernameParamsWithTimeout ¶
func NewUpdateUsernameParamsWithTimeout(timeout time.Duration) *UpdateUsernameParams
NewUpdateUsernameParamsWithTimeout creates a new UpdateUsernameParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateUsernameParams) SetArgs ¶
func (o *UpdateUsernameParams) SetArgs(args UpdateUsernameBody)
SetArgs adds the args to the update username params
func (*UpdateUsernameParams) SetContext ¶
func (o *UpdateUsernameParams) SetContext(ctx context.Context)
SetContext adds the context to the update username params
func (*UpdateUsernameParams) SetHTTPClient ¶
func (o *UpdateUsernameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update username params
func (*UpdateUsernameParams) SetTimeout ¶
func (o *UpdateUsernameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update username params
func (*UpdateUsernameParams) WithArgs ¶
func (o *UpdateUsernameParams) WithArgs(args UpdateUsernameBody) *UpdateUsernameParams
WithArgs adds the args to the update username params
func (*UpdateUsernameParams) WithContext ¶
func (o *UpdateUsernameParams) WithContext(ctx context.Context) *UpdateUsernameParams
WithContext adds the context to the update username params
func (*UpdateUsernameParams) WithHTTPClient ¶
func (o *UpdateUsernameParams) WithHTTPClient(client *http.Client) *UpdateUsernameParams
WithHTTPClient adds the HTTPClient to the update username params
func (*UpdateUsernameParams) WithTimeout ¶
func (o *UpdateUsernameParams) WithTimeout(timeout time.Duration) *UpdateUsernameParams
WithTimeout adds the timeout to the update username params
func (*UpdateUsernameParams) WriteToRequest ¶
func (o *UpdateUsernameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUsernameReader ¶
type UpdateUsernameReader struct {
// contains filtered or unexported fields
}
UpdateUsernameReader is a Reader for the UpdateUsername structure.
func (*UpdateUsernameReader) ReadResponse ¶
func (o *UpdateUsernameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type VerificationEmailBody ¶
type VerificationEmailBody struct { // email // Required: true // Format: email Email models.Email `json:"email"` }
VerificationEmailBody verification email body swagger:model VerificationEmailBody
func (*VerificationEmailBody) MarshalBinary ¶
func (o *VerificationEmailBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VerificationEmailBody) UnmarshalBinary ¶
func (o *VerificationEmailBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VerificationEmailDefault ¶
type VerificationEmailDefault struct { Payload *models.Error // contains filtered or unexported fields }
VerificationEmailDefault handles this case with default header values.
Generic error response.
func NewVerificationEmailDefault ¶
func NewVerificationEmailDefault(code int) *VerificationEmailDefault
NewVerificationEmailDefault creates a VerificationEmailDefault with default headers values
func (*VerificationEmailDefault) Code ¶
func (o *VerificationEmailDefault) Code() int
Code gets the status code for the verification email default response
func (*VerificationEmailDefault) Error ¶
func (o *VerificationEmailDefault) Error() string
func (*VerificationEmailDefault) GetPayload ¶
func (o *VerificationEmailDefault) GetPayload() *models.Error
type VerificationEmailNoContent ¶
type VerificationEmailNoContent struct { }
VerificationEmailNoContent handles this case with default header values.
The server successfully processed the request and is not returning any content.
func NewVerificationEmailNoContent ¶
func NewVerificationEmailNoContent() *VerificationEmailNoContent
NewVerificationEmailNoContent creates a VerificationEmailNoContent with default headers values
func (*VerificationEmailNoContent) Error ¶
func (o *VerificationEmailNoContent) Error() string
type VerificationEmailParams ¶
type VerificationEmailParams struct { /*Args*/ Args VerificationEmailBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
VerificationEmailParams contains all the parameters to send to the API endpoint for the verification email operation typically these are written to a http.Request
func NewVerificationEmailParams ¶
func NewVerificationEmailParams() *VerificationEmailParams
NewVerificationEmailParams creates a new VerificationEmailParams object with the default values initialized.
func NewVerificationEmailParamsWithContext ¶
func NewVerificationEmailParamsWithContext(ctx context.Context) *VerificationEmailParams
NewVerificationEmailParamsWithContext creates a new VerificationEmailParams object with the default values initialized, and the ability to set a context for a request
func NewVerificationEmailParamsWithHTTPClient ¶
func NewVerificationEmailParamsWithHTTPClient(client *http.Client) *VerificationEmailParams
NewVerificationEmailParamsWithHTTPClient creates a new VerificationEmailParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewVerificationEmailParamsWithTimeout ¶
func NewVerificationEmailParamsWithTimeout(timeout time.Duration) *VerificationEmailParams
NewVerificationEmailParamsWithTimeout creates a new VerificationEmailParams object with the default values initialized, and the ability to set a timeout on a request
func (*VerificationEmailParams) SetArgs ¶
func (o *VerificationEmailParams) SetArgs(args VerificationEmailBody)
SetArgs adds the args to the verification email params
func (*VerificationEmailParams) SetContext ¶
func (o *VerificationEmailParams) SetContext(ctx context.Context)
SetContext adds the context to the verification email params
func (*VerificationEmailParams) SetHTTPClient ¶
func (o *VerificationEmailParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the verification email params
func (*VerificationEmailParams) SetTimeout ¶
func (o *VerificationEmailParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the verification email params
func (*VerificationEmailParams) WithArgs ¶
func (o *VerificationEmailParams) WithArgs(args VerificationEmailBody) *VerificationEmailParams
WithArgs adds the args to the verification email params
func (*VerificationEmailParams) WithContext ¶
func (o *VerificationEmailParams) WithContext(ctx context.Context) *VerificationEmailParams
WithContext adds the context to the verification email params
func (*VerificationEmailParams) WithHTTPClient ¶
func (o *VerificationEmailParams) WithHTTPClient(client *http.Client) *VerificationEmailParams
WithHTTPClient adds the HTTPClient to the verification email params
func (*VerificationEmailParams) WithTimeout ¶
func (o *VerificationEmailParams) WithTimeout(timeout time.Duration) *VerificationEmailParams
WithTimeout adds the timeout to the verification email params
func (*VerificationEmailParams) WriteToRequest ¶
func (o *VerificationEmailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type VerificationEmailReader ¶
type VerificationEmailReader struct {
// contains filtered or unexported fields
}
VerificationEmailReader is a Reader for the VerificationEmail structure.
func (*VerificationEmailReader) ReadResponse ¶
func (o *VerificationEmailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type VerificationUsernameBody ¶
type VerificationUsernameBody struct { // username // Required: true Username models.Username `json:"username"` }
VerificationUsernameBody verification username body swagger:model VerificationUsernameBody
func (*VerificationUsernameBody) MarshalBinary ¶
func (o *VerificationUsernameBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VerificationUsernameBody) UnmarshalBinary ¶
func (o *VerificationUsernameBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VerificationUsernameDefault ¶
type VerificationUsernameDefault struct { Payload *models.Error // contains filtered or unexported fields }
VerificationUsernameDefault handles this case with default header values.
Generic error response.
func NewVerificationUsernameDefault ¶
func NewVerificationUsernameDefault(code int) *VerificationUsernameDefault
NewVerificationUsernameDefault creates a VerificationUsernameDefault with default headers values
func (*VerificationUsernameDefault) Code ¶
func (o *VerificationUsernameDefault) Code() int
Code gets the status code for the verification username default response
func (*VerificationUsernameDefault) Error ¶
func (o *VerificationUsernameDefault) Error() string
func (*VerificationUsernameDefault) GetPayload ¶
func (o *VerificationUsernameDefault) GetPayload() *models.Error
type VerificationUsernameNoContent ¶
type VerificationUsernameNoContent struct { }
VerificationUsernameNoContent handles this case with default header values.
The server successfully processed the request and is not returning any content.
func NewVerificationUsernameNoContent ¶
func NewVerificationUsernameNoContent() *VerificationUsernameNoContent
NewVerificationUsernameNoContent creates a VerificationUsernameNoContent with default headers values
func (*VerificationUsernameNoContent) Error ¶
func (o *VerificationUsernameNoContent) Error() string
type VerificationUsernameParams ¶
type VerificationUsernameParams struct { /*Args*/ Args VerificationUsernameBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
VerificationUsernameParams contains all the parameters to send to the API endpoint for the verification username operation typically these are written to a http.Request
func NewVerificationUsernameParams ¶
func NewVerificationUsernameParams() *VerificationUsernameParams
NewVerificationUsernameParams creates a new VerificationUsernameParams object with the default values initialized.
func NewVerificationUsernameParamsWithContext ¶
func NewVerificationUsernameParamsWithContext(ctx context.Context) *VerificationUsernameParams
NewVerificationUsernameParamsWithContext creates a new VerificationUsernameParams object with the default values initialized, and the ability to set a context for a request
func NewVerificationUsernameParamsWithHTTPClient ¶
func NewVerificationUsernameParamsWithHTTPClient(client *http.Client) *VerificationUsernameParams
NewVerificationUsernameParamsWithHTTPClient creates a new VerificationUsernameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewVerificationUsernameParamsWithTimeout ¶
func NewVerificationUsernameParamsWithTimeout(timeout time.Duration) *VerificationUsernameParams
NewVerificationUsernameParamsWithTimeout creates a new VerificationUsernameParams object with the default values initialized, and the ability to set a timeout on a request
func (*VerificationUsernameParams) SetArgs ¶
func (o *VerificationUsernameParams) SetArgs(args VerificationUsernameBody)
SetArgs adds the args to the verification username params
func (*VerificationUsernameParams) SetContext ¶
func (o *VerificationUsernameParams) SetContext(ctx context.Context)
SetContext adds the context to the verification username params
func (*VerificationUsernameParams) SetHTTPClient ¶
func (o *VerificationUsernameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the verification username params
func (*VerificationUsernameParams) SetTimeout ¶
func (o *VerificationUsernameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the verification username params
func (*VerificationUsernameParams) WithArgs ¶
func (o *VerificationUsernameParams) WithArgs(args VerificationUsernameBody) *VerificationUsernameParams
WithArgs adds the args to the verification username params
func (*VerificationUsernameParams) WithContext ¶
func (o *VerificationUsernameParams) WithContext(ctx context.Context) *VerificationUsernameParams
WithContext adds the context to the verification username params
func (*VerificationUsernameParams) WithHTTPClient ¶
func (o *VerificationUsernameParams) WithHTTPClient(client *http.Client) *VerificationUsernameParams
WithHTTPClient adds the HTTPClient to the verification username params
func (*VerificationUsernameParams) WithTimeout ¶
func (o *VerificationUsernameParams) WithTimeout(timeout time.Duration) *VerificationUsernameParams
WithTimeout adds the timeout to the verification username params
func (*VerificationUsernameParams) WriteToRequest ¶
func (o *VerificationUsernameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type VerificationUsernameReader ¶
type VerificationUsernameReader struct {
// contains filtered or unexported fields
}
VerificationUsernameReader is a Reader for the VerificationUsername structure.
func (*VerificationUsernameReader) ReadResponse ¶
func (o *VerificationUsernameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_recovery_code_parameters.go
- create_recovery_code_responses.go
- create_user_parameters.go
- create_user_responses.go
- delete_user_parameters.go
- delete_user_responses.go
- get_user_parameters.go
- get_user_responses.go
- get_users_parameters.go
- get_users_responses.go
- login_parameters.go
- login_responses.go
- logout_parameters.go
- logout_responses.go
- operations_client.go
- recovery_password_parameters.go
- recovery_password_responses.go
- update_email_parameters.go
- update_email_responses.go
- update_password_parameters.go
- update_password_responses.go
- update_username_parameters.go
- update_username_responses.go
- verification_email_parameters.go
- verification_email_responses.go
- verification_username_parameters.go
- verification_username_responses.go