authentication

package
v0.0.0-...-7426b64 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddTokenBadRequest

type AddTokenBadRequest struct {
	Payload *mono_models.Message
}
AddTokenBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewAddTokenBadRequest

func NewAddTokenBadRequest() *AddTokenBadRequest

NewAddTokenBadRequest creates a AddTokenBadRequest with default headers values

func (*AddTokenBadRequest) Error

func (o *AddTokenBadRequest) Error() string

func (*AddTokenBadRequest) GetPayload

func (o *AddTokenBadRequest) GetPayload() *mono_models.Message

type AddTokenOK

type AddTokenOK struct {
	Payload *mono_models.NewToken
}
AddTokenOK describes a response with status code 200, with default header values.

Success

func NewAddTokenOK

func NewAddTokenOK() *AddTokenOK

NewAddTokenOK creates a AddTokenOK with default headers values

func (*AddTokenOK) Error

func (o *AddTokenOK) Error() string

func (*AddTokenOK) GetPayload

func (o *AddTokenOK) GetPayload() *mono_models.NewToken

type AddTokenParams

type AddTokenParams struct {

	// TokenOptions.
	TokenOptions *mono_models.TokenEditable

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

AddTokenParams contains all the parameters to send to the API endpoint

for the add token operation.

Typically these are written to a http.Request.

func NewAddTokenParams

func NewAddTokenParams() *AddTokenParams

NewAddTokenParams creates a new AddTokenParams 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 NewAddTokenParamsWithContext

func NewAddTokenParamsWithContext(ctx context.Context) *AddTokenParams

NewAddTokenParamsWithContext creates a new AddTokenParams object with the ability to set a context for a request.

func NewAddTokenParamsWithHTTPClient

func NewAddTokenParamsWithHTTPClient(client *http.Client) *AddTokenParams

NewAddTokenParamsWithHTTPClient creates a new AddTokenParams object with the ability to set a custom HTTPClient for a request.

func NewAddTokenParamsWithTimeout

func NewAddTokenParamsWithTimeout(timeout time.Duration) *AddTokenParams

NewAddTokenParamsWithTimeout creates a new AddTokenParams object with the ability to set a timeout on a request.

func (*AddTokenParams) SetContext

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

SetContext adds the context to the add token params

func (*AddTokenParams) SetDefaults

func (o *AddTokenParams) SetDefaults()

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

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

func (*AddTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add token params

func (*AddTokenParams) SetTimeout

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

SetTimeout adds the timeout to the add token params

func (*AddTokenParams) SetTokenOptions

func (o *AddTokenParams) SetTokenOptions(tokenOptions *mono_models.TokenEditable)

SetTokenOptions adds the tokenOptions to the add token params

func (*AddTokenParams) WithContext

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

WithContext adds the context to the add token params

func (*AddTokenParams) WithDefaults

func (o *AddTokenParams) WithDefaults() *AddTokenParams

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

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

func (*AddTokenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add token params

func (*AddTokenParams) WithTimeout

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

WithTimeout adds the timeout to the add token params

func (*AddTokenParams) WithTokenOptions

func (o *AddTokenParams) WithTokenOptions(tokenOptions *mono_models.TokenEditable) *AddTokenParams

WithTokenOptions adds the tokenOptions to the add token params

func (*AddTokenParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddTokenReader

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

AddTokenReader is a Reader for the AddToken structure.

func (*AddTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangePasswordBadRequest

type ChangePasswordBadRequest struct {
	Payload *mono_models.Message
}
ChangePasswordBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewChangePasswordBadRequest

func NewChangePasswordBadRequest() *ChangePasswordBadRequest

NewChangePasswordBadRequest creates a ChangePasswordBadRequest with default headers values

func (*ChangePasswordBadRequest) Error

func (o *ChangePasswordBadRequest) Error() string

func (*ChangePasswordBadRequest) GetPayload

func (o *ChangePasswordBadRequest) GetPayload() *mono_models.Message

type ChangePasswordForbidden

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

Forbidden

func NewChangePasswordForbidden

func NewChangePasswordForbidden() *ChangePasswordForbidden

NewChangePasswordForbidden creates a ChangePasswordForbidden with default headers values

func (*ChangePasswordForbidden) Error

func (o *ChangePasswordForbidden) Error() string

func (*ChangePasswordForbidden) GetPayload

func (o *ChangePasswordForbidden) GetPayload() *mono_models.Message

type ChangePasswordInternalServerError

type ChangePasswordInternalServerError struct {
	Payload *mono_models.Message
}
ChangePasswordInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewChangePasswordInternalServerError

func NewChangePasswordInternalServerError() *ChangePasswordInternalServerError

NewChangePasswordInternalServerError creates a ChangePasswordInternalServerError with default headers values

func (*ChangePasswordInternalServerError) Error

func (*ChangePasswordInternalServerError) GetPayload

type ChangePasswordNotFound

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

Not Found

func NewChangePasswordNotFound

func NewChangePasswordNotFound() *ChangePasswordNotFound

NewChangePasswordNotFound creates a ChangePasswordNotFound with default headers values

func (*ChangePasswordNotFound) Error

func (o *ChangePasswordNotFound) Error() string

func (*ChangePasswordNotFound) GetPayload

func (o *ChangePasswordNotFound) GetPayload() *mono_models.Message

type ChangePasswordOK

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

Success

func NewChangePasswordOK

func NewChangePasswordOK() *ChangePasswordOK

NewChangePasswordOK creates a ChangePasswordOK with default headers values

func (*ChangePasswordOK) Error

func (o *ChangePasswordOK) Error() string

func (*ChangePasswordOK) GetPayload

func (o *ChangePasswordOK) GetPayload() *mono_models.Message

type ChangePasswordParams

type ChangePasswordParams struct {

	/* ChangeRequest.

	   change Request
	*/
	ChangeRequest *mono_models.PasswordChange

	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) SetChangeRequest

func (o *ChangePasswordParams) SetChangeRequest(changeRequest *mono_models.PasswordChange)

SetChangeRequest adds the changeRequest 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) WithChangeRequest

func (o *ChangePasswordParams) WithChangeRequest(changeRequest *mono_models.PasswordChange) *ChangePasswordParams

WithChangeRequest adds the changeRequest 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 authentication API

func (*Client) AddToken

func (a *Client) AddToken(params *AddTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddTokenOK, error)

AddToken generates an API token for current user

Produces an API token for use with automated API clients

func (*Client) ChangePassword

func (a *Client) ChangePassword(params *ChangePasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangePasswordOK, error)

ChangePassword changes the current password

Prompts for current password which is used to change it to something new.

func (*Client) DeleteToken

func (a *Client) DeleteToken(params *DeleteTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTokenOK, error)

DeleteToken deletes an API token

Deletes the specified API Token

func (*Client) DisableTOTP

func (a *Client) DisableTOTP(params *DisableTOTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DisableTOTPOK, error)

DisableTOTP disables t o t p

Disable TOTP authentication

func (*Client) EnableTOTP

func (a *Client) EnableTOTP(params *EnableTOTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableTOTPOK, error)

EnableTOTP enables t o t p

Enable TOTP authentication by performing initial code validation

func (*Client) GetLoginJwtToken

func (a *Client) GetLoginJwtToken(params *GetLoginJwtTokenParams, opts ...ClientOption) error

GetLoginJwtToken logins with a valid j w t and redirect to a platform URL

Login with a valid JWT and redirect to a platform URL

func (*Client) GetLogout

func (a *Client) GetLogout(params *GetLogoutParams, opts ...ClientOption) (*GetLogoutNoContent, error)

GetLogout logs out of the current session

Log out of the current session

func (*Client) GetRenew

func (a *Client) GetRenew(params *GetRenewParams, opts ...ClientOption) (*GetRenewOK, error)

GetRenew renews a valid j w t

Renew your current JWT to forestall expiration

func (*Client) GithubAuthError

func (a *Client) GithubAuthError(params *GithubAuthErrorParams, opts ...ClientOption) error

GithubAuthError callbacks endpoint for handling errors that come from github

func (*Client) LinkGithubAccount

func (a *Client) LinkGithubAccount(params *LinkGithubAccountParams, opts ...ClientOption) error

LinkGithubAccount callbacks endpoint for linking an account to github

func (*Client) ListTokens

func (a *Client) ListTokens(params *ListTokensParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTokensOK, error)

ListTokens lists current user s API tokens

List of all active API Tokens for current user

func (*Client) LoginAs

func (a *Client) LoginAs(params *LoginAsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LoginAsOK, error)

LoginAs logins as given user requires you to be a superuser

func (*Client) LoginWithGithub

func (a *Client) LoginWithGithub(params *LoginWithGithubParams, opts ...ClientOption) error

LoginWithGithub callbacks endpoint for logging in via github auth

func (*Client) NewTOTP

func (a *Client) NewTOTP(params *NewTOTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NewTOTPOK, error)

NewTOTP sets up a new t o t p key

Establish the private key for two-factor authentication

func (*Client) PostLogin

func (a *Client) PostLogin(params *PostLoginParams, opts ...ClientOption) (*PostLoginOK, error)

PostLogin trades your credentials for a j w t

Supply either username/password OR token

func (*Client) RequestReset

func (a *Client) RequestReset(params *RequestResetParams, opts ...ClientOption) (*RequestResetOK, error)

RequestReset requests a password recovery email

Sends a link which can be used to reset a forgotten password.

func (*Client) ResetPassword

func (a *Client) ResetPassword(params *ResetPasswordParams, opts ...ClientOption) (*ResetPasswordOK, error)

ResetPassword resets a forgotten password

Sends a link which can be used to reset a forgotten password.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) SignupWithGithub

func (a *Client) SignupWithGithub(params *SignupWithGithubParams, opts ...ClientOption) error

SignupWithGithub callbacks endpoint for signing up via github auth

func (*Client) UnlinkGithubAccount

func (a *Client) UnlinkGithubAccount(params *UnlinkGithubAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnlinkGithubAccountOK, error)

UnlinkGithubAccount callbacks endpoint for unlinking git hub accounts

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetLoginJwtToken(params *GetLoginJwtTokenParams, opts ...ClientOption) error

	GetLogout(params *GetLogoutParams, opts ...ClientOption) (*GetLogoutNoContent, error)

	GetRenew(params *GetRenewParams, opts ...ClientOption) (*GetRenewOK, error)

	PostLogin(params *PostLoginParams, opts ...ClientOption) (*PostLoginOK, error)

	AddToken(params *AddTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddTokenOK, error)

	ChangePassword(params *ChangePasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangePasswordOK, error)

	DeleteToken(params *DeleteTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTokenOK, error)

	DisableTOTP(params *DisableTOTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DisableTOTPOK, error)

	EnableTOTP(params *EnableTOTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableTOTPOK, error)

	GithubAuthError(params *GithubAuthErrorParams, opts ...ClientOption) error

	LinkGithubAccount(params *LinkGithubAccountParams, opts ...ClientOption) error

	ListTokens(params *ListTokensParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTokensOK, error)

	LoginAs(params *LoginAsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LoginAsOK, error)

	LoginWithGithub(params *LoginWithGithubParams, opts ...ClientOption) error

	NewTOTP(params *NewTOTPParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NewTOTPOK, error)

	RequestReset(params *RequestResetParams, opts ...ClientOption) (*RequestResetOK, error)

	ResetPassword(params *ResetPasswordParams, opts ...ClientOption) (*ResetPasswordOK, error)

	SignupWithGithub(params *SignupWithGithubParams, opts ...ClientOption) error

	UnlinkGithubAccount(params *UnlinkGithubAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnlinkGithubAccountOK, 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 authentication API client.

type DeleteTokenBadRequest

type DeleteTokenBadRequest struct {
	Payload *mono_models.Message
}
DeleteTokenBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteTokenBadRequest

func NewDeleteTokenBadRequest() *DeleteTokenBadRequest

NewDeleteTokenBadRequest creates a DeleteTokenBadRequest with default headers values

func (*DeleteTokenBadRequest) Error

func (o *DeleteTokenBadRequest) Error() string

func (*DeleteTokenBadRequest) GetPayload

func (o *DeleteTokenBadRequest) GetPayload() *mono_models.Message

type DeleteTokenForbidden

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

Forbidden

func NewDeleteTokenForbidden

func NewDeleteTokenForbidden() *DeleteTokenForbidden

NewDeleteTokenForbidden creates a DeleteTokenForbidden with default headers values

func (*DeleteTokenForbidden) Error

func (o *DeleteTokenForbidden) Error() string

type DeleteTokenOK

type DeleteTokenOK struct {
	Payload *mono_models.Message
}
DeleteTokenOK describes a response with status code 200, with default header values.

Token deleted

func NewDeleteTokenOK

func NewDeleteTokenOK() *DeleteTokenOK

NewDeleteTokenOK creates a DeleteTokenOK with default headers values

func (*DeleteTokenOK) Error

func (o *DeleteTokenOK) Error() string

func (*DeleteTokenOK) GetPayload

func (o *DeleteTokenOK) GetPayload() *mono_models.Message

type DeleteTokenParams

type DeleteTokenParams struct {

	/* TokenID.

	   tokenID of desired API Token

	   Format: uuid
	*/
	TokenID strfmt.UUID

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

DeleteTokenParams contains all the parameters to send to the API endpoint

for the delete token operation.

Typically these are written to a http.Request.

func NewDeleteTokenParams

func NewDeleteTokenParams() *DeleteTokenParams

NewDeleteTokenParams creates a new DeleteTokenParams 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 NewDeleteTokenParamsWithContext

func NewDeleteTokenParamsWithContext(ctx context.Context) *DeleteTokenParams

NewDeleteTokenParamsWithContext creates a new DeleteTokenParams object with the ability to set a context for a request.

func NewDeleteTokenParamsWithHTTPClient

func NewDeleteTokenParamsWithHTTPClient(client *http.Client) *DeleteTokenParams

NewDeleteTokenParamsWithHTTPClient creates a new DeleteTokenParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteTokenParamsWithTimeout

func NewDeleteTokenParamsWithTimeout(timeout time.Duration) *DeleteTokenParams

NewDeleteTokenParamsWithTimeout creates a new DeleteTokenParams object with the ability to set a timeout on a request.

func (*DeleteTokenParams) SetContext

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

SetContext adds the context to the delete token params

func (*DeleteTokenParams) SetDefaults

func (o *DeleteTokenParams) SetDefaults()

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

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

func (*DeleteTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete token params

func (*DeleteTokenParams) SetTimeout

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

SetTimeout adds the timeout to the delete token params

func (*DeleteTokenParams) SetTokenID

func (o *DeleteTokenParams) SetTokenID(tokenID strfmt.UUID)

SetTokenID adds the tokenId to the delete token params

func (*DeleteTokenParams) WithContext

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

WithContext adds the context to the delete token params

func (*DeleteTokenParams) WithDefaults

func (o *DeleteTokenParams) WithDefaults() *DeleteTokenParams

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

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

func (*DeleteTokenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete token params

func (*DeleteTokenParams) WithTimeout

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

WithTimeout adds the timeout to the delete token params

func (*DeleteTokenParams) WithTokenID

func (o *DeleteTokenParams) WithTokenID(tokenID strfmt.UUID) *DeleteTokenParams

WithTokenID adds the tokenID to the delete token params

func (*DeleteTokenParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteTokenReader

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

DeleteTokenReader is a Reader for the DeleteToken structure.

func (*DeleteTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DisableTOTPBadRequest

type DisableTOTPBadRequest struct {
	Payload *mono_models.Message
}
DisableTOTPBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDisableTOTPBadRequest

func NewDisableTOTPBadRequest() *DisableTOTPBadRequest

NewDisableTOTPBadRequest creates a DisableTOTPBadRequest with default headers values

func (*DisableTOTPBadRequest) Error

func (o *DisableTOTPBadRequest) Error() string

func (*DisableTOTPBadRequest) GetPayload

func (o *DisableTOTPBadRequest) GetPayload() *mono_models.Message

type DisableTOTPOK

type DisableTOTPOK struct {
	Payload *mono_models.User
}
DisableTOTPOK describes a response with status code 200, with default header values.

Disabled TOTP

func NewDisableTOTPOK

func NewDisableTOTPOK() *DisableTOTPOK

NewDisableTOTPOK creates a DisableTOTPOK with default headers values

func (*DisableTOTPOK) Error

func (o *DisableTOTPOK) Error() string

func (*DisableTOTPOK) GetPayload

func (o *DisableTOTPOK) GetPayload() *mono_models.User

type DisableTOTPParams

type DisableTOTPParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DisableTOTPParams contains all the parameters to send to the API endpoint

for the disable t o t p operation.

Typically these are written to a http.Request.

func NewDisableTOTPParams

func NewDisableTOTPParams() *DisableTOTPParams

NewDisableTOTPParams creates a new DisableTOTPParams 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 NewDisableTOTPParamsWithContext

func NewDisableTOTPParamsWithContext(ctx context.Context) *DisableTOTPParams

NewDisableTOTPParamsWithContext creates a new DisableTOTPParams object with the ability to set a context for a request.

func NewDisableTOTPParamsWithHTTPClient

func NewDisableTOTPParamsWithHTTPClient(client *http.Client) *DisableTOTPParams

NewDisableTOTPParamsWithHTTPClient creates a new DisableTOTPParams object with the ability to set a custom HTTPClient for a request.

func NewDisableTOTPParamsWithTimeout

func NewDisableTOTPParamsWithTimeout(timeout time.Duration) *DisableTOTPParams

NewDisableTOTPParamsWithTimeout creates a new DisableTOTPParams object with the ability to set a timeout on a request.

func (*DisableTOTPParams) SetContext

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

SetContext adds the context to the disable t o t p params

func (*DisableTOTPParams) SetDefaults

func (o *DisableTOTPParams) SetDefaults()

SetDefaults hydrates default values in the disable t o t p params (not the query body).

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

func (*DisableTOTPParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the disable t o t p params

func (*DisableTOTPParams) SetTimeout

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

SetTimeout adds the timeout to the disable t o t p params

func (*DisableTOTPParams) WithContext

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

WithContext adds the context to the disable t o t p params

func (*DisableTOTPParams) WithDefaults

func (o *DisableTOTPParams) WithDefaults() *DisableTOTPParams

WithDefaults hydrates default values in the disable t o t p params (not the query body).

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

func (*DisableTOTPParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the disable t o t p params

func (*DisableTOTPParams) WithTimeout

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

WithTimeout adds the timeout to the disable t o t p params

func (*DisableTOTPParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DisableTOTPReader

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

DisableTOTPReader is a Reader for the DisableTOTP structure.

func (*DisableTOTPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnableTOTPBadRequest

type EnableTOTPBadRequest struct {
	Payload *mono_models.Message
}
EnableTOTPBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewEnableTOTPBadRequest

func NewEnableTOTPBadRequest() *EnableTOTPBadRequest

NewEnableTOTPBadRequest creates a EnableTOTPBadRequest with default headers values

func (*EnableTOTPBadRequest) Error

func (o *EnableTOTPBadRequest) Error() string

func (*EnableTOTPBadRequest) GetPayload

func (o *EnableTOTPBadRequest) GetPayload() *mono_models.Message

type EnableTOTPOK

type EnableTOTPOK struct {
	Payload *mono_models.User
}
EnableTOTPOK describes a response with status code 200, with default header values.

Enabled

func NewEnableTOTPOK

func NewEnableTOTPOK() *EnableTOTPOK

NewEnableTOTPOK creates a EnableTOTPOK with default headers values

func (*EnableTOTPOK) Error

func (o *EnableTOTPOK) Error() string

func (*EnableTOTPOK) GetPayload

func (o *EnableTOTPOK) GetPayload() *mono_models.User

type EnableTOTPParams

type EnableTOTPParams struct {

	/* Code.

	   TOTP 2FA Rolling Code
	*/
	Code string

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

EnableTOTPParams contains all the parameters to send to the API endpoint

for the enable t o t p operation.

Typically these are written to a http.Request.

func NewEnableTOTPParams

func NewEnableTOTPParams() *EnableTOTPParams

NewEnableTOTPParams creates a new EnableTOTPParams 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 NewEnableTOTPParamsWithContext

func NewEnableTOTPParamsWithContext(ctx context.Context) *EnableTOTPParams

NewEnableTOTPParamsWithContext creates a new EnableTOTPParams object with the ability to set a context for a request.

func NewEnableTOTPParamsWithHTTPClient

func NewEnableTOTPParamsWithHTTPClient(client *http.Client) *EnableTOTPParams

NewEnableTOTPParamsWithHTTPClient creates a new EnableTOTPParams object with the ability to set a custom HTTPClient for a request.

func NewEnableTOTPParamsWithTimeout

func NewEnableTOTPParamsWithTimeout(timeout time.Duration) *EnableTOTPParams

NewEnableTOTPParamsWithTimeout creates a new EnableTOTPParams object with the ability to set a timeout on a request.

func (*EnableTOTPParams) SetCode

func (o *EnableTOTPParams) SetCode(code string)

SetCode adds the code to the enable t o t p params

func (*EnableTOTPParams) SetContext

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

SetContext adds the context to the enable t o t p params

func (*EnableTOTPParams) SetDefaults

func (o *EnableTOTPParams) SetDefaults()

SetDefaults hydrates default values in the enable t o t p params (not the query body).

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

func (*EnableTOTPParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enable t o t p params

func (*EnableTOTPParams) SetTimeout

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

SetTimeout adds the timeout to the enable t o t p params

func (*EnableTOTPParams) WithCode

func (o *EnableTOTPParams) WithCode(code string) *EnableTOTPParams

WithCode adds the code to the enable t o t p params

func (*EnableTOTPParams) WithContext

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

WithContext adds the context to the enable t o t p params

func (*EnableTOTPParams) WithDefaults

func (o *EnableTOTPParams) WithDefaults() *EnableTOTPParams

WithDefaults hydrates default values in the enable t o t p params (not the query body).

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

func (*EnableTOTPParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enable t o t p params

func (*EnableTOTPParams) WithTimeout

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

WithTimeout adds the timeout to the enable t o t p params

func (*EnableTOTPParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EnableTOTPReader

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

EnableTOTPReader is a Reader for the EnableTOTP structure.

func (*EnableTOTPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLoginJwtTokenBadRequest

type GetLoginJwtTokenBadRequest struct {
	Payload *mono_models.Message
}
GetLoginJwtTokenBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetLoginJwtTokenBadRequest

func NewGetLoginJwtTokenBadRequest() *GetLoginJwtTokenBadRequest

NewGetLoginJwtTokenBadRequest creates a GetLoginJwtTokenBadRequest with default headers values

func (*GetLoginJwtTokenBadRequest) Error

func (*GetLoginJwtTokenBadRequest) GetPayload

type GetLoginJwtTokenFound

type GetLoginJwtTokenFound struct {
}
GetLoginJwtTokenFound describes a response with status code 302, with default header values.

Found

func NewGetLoginJwtTokenFound

func NewGetLoginJwtTokenFound() *GetLoginJwtTokenFound

NewGetLoginJwtTokenFound creates a GetLoginJwtTokenFound with default headers values

func (*GetLoginJwtTokenFound) Error

func (o *GetLoginJwtTokenFound) Error() string

type GetLoginJwtTokenInternalServerError

type GetLoginJwtTokenInternalServerError struct {
	Payload *mono_models.Message
}
GetLoginJwtTokenInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewGetLoginJwtTokenInternalServerError

func NewGetLoginJwtTokenInternalServerError() *GetLoginJwtTokenInternalServerError

NewGetLoginJwtTokenInternalServerError creates a GetLoginJwtTokenInternalServerError with default headers values

func (*GetLoginJwtTokenInternalServerError) Error

func (*GetLoginJwtTokenInternalServerError) GetPayload

type GetLoginJwtTokenParams

type GetLoginJwtTokenParams struct {

	/* RedirectURL.

	   redirectURL after login

	   Format: uri
	*/
	RedirectURL strfmt.URI

	/* Token.

	   token to login with

	   Format: string
	*/
	Token string

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

GetLoginJwtTokenParams contains all the parameters to send to the API endpoint

for the get login jwt token operation.

Typically these are written to a http.Request.

func NewGetLoginJwtTokenParams

func NewGetLoginJwtTokenParams() *GetLoginJwtTokenParams

NewGetLoginJwtTokenParams creates a new GetLoginJwtTokenParams 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 NewGetLoginJwtTokenParamsWithContext

func NewGetLoginJwtTokenParamsWithContext(ctx context.Context) *GetLoginJwtTokenParams

NewGetLoginJwtTokenParamsWithContext creates a new GetLoginJwtTokenParams object with the ability to set a context for a request.

func NewGetLoginJwtTokenParamsWithHTTPClient

func NewGetLoginJwtTokenParamsWithHTTPClient(client *http.Client) *GetLoginJwtTokenParams

NewGetLoginJwtTokenParamsWithHTTPClient creates a new GetLoginJwtTokenParams object with the ability to set a custom HTTPClient for a request.

func NewGetLoginJwtTokenParamsWithTimeout

func NewGetLoginJwtTokenParamsWithTimeout(timeout time.Duration) *GetLoginJwtTokenParams

NewGetLoginJwtTokenParamsWithTimeout creates a new GetLoginJwtTokenParams object with the ability to set a timeout on a request.

func (*GetLoginJwtTokenParams) SetContext

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

SetContext adds the context to the get login jwt token params

func (*GetLoginJwtTokenParams) SetDefaults

func (o *GetLoginJwtTokenParams) SetDefaults()

SetDefaults hydrates default values in the get login jwt token params (not the query body).

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

func (*GetLoginJwtTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get login jwt token params

func (*GetLoginJwtTokenParams) SetRedirectURL

func (o *GetLoginJwtTokenParams) SetRedirectURL(redirectURL strfmt.URI)

SetRedirectURL adds the redirectUrl to the get login jwt token params

func (*GetLoginJwtTokenParams) SetTimeout

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

SetTimeout adds the timeout to the get login jwt token params

func (*GetLoginJwtTokenParams) SetToken

func (o *GetLoginJwtTokenParams) SetToken(token string)

SetToken adds the token to the get login jwt token params

func (*GetLoginJwtTokenParams) WithContext

WithContext adds the context to the get login jwt token params

func (*GetLoginJwtTokenParams) WithDefaults

WithDefaults hydrates default values in the get login jwt token params (not the query body).

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

func (*GetLoginJwtTokenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get login jwt token params

func (*GetLoginJwtTokenParams) WithRedirectURL

func (o *GetLoginJwtTokenParams) WithRedirectURL(redirectURL strfmt.URI) *GetLoginJwtTokenParams

WithRedirectURL adds the redirectURL to the get login jwt token params

func (*GetLoginJwtTokenParams) WithTimeout

WithTimeout adds the timeout to the get login jwt token params

func (*GetLoginJwtTokenParams) WithToken

WithToken adds the token to the get login jwt token params

func (*GetLoginJwtTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetLoginJwtTokenReader

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

GetLoginJwtTokenReader is a Reader for the GetLoginJwtToken structure.

func (*GetLoginJwtTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLogoutInternalServerError

type GetLogoutInternalServerError struct {
	Payload *mono_models.Message
}
GetLogoutInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewGetLogoutInternalServerError

func NewGetLogoutInternalServerError() *GetLogoutInternalServerError

NewGetLogoutInternalServerError creates a GetLogoutInternalServerError with default headers values

func (*GetLogoutInternalServerError) Error

func (*GetLogoutInternalServerError) GetPayload

type GetLogoutNoContent

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

Success

func NewGetLogoutNoContent

func NewGetLogoutNoContent() *GetLogoutNoContent

NewGetLogoutNoContent creates a GetLogoutNoContent with default headers values

func (*GetLogoutNoContent) Error

func (o *GetLogoutNoContent) Error() string

type GetLogoutParams

type GetLogoutParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetLogoutParams contains all the parameters to send to the API endpoint

for the get logout operation.

Typically these are written to a http.Request.

func NewGetLogoutParams

func NewGetLogoutParams() *GetLogoutParams

NewGetLogoutParams creates a new GetLogoutParams 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 NewGetLogoutParamsWithContext

func NewGetLogoutParamsWithContext(ctx context.Context) *GetLogoutParams

NewGetLogoutParamsWithContext creates a new GetLogoutParams object with the ability to set a context for a request.

func NewGetLogoutParamsWithHTTPClient

func NewGetLogoutParamsWithHTTPClient(client *http.Client) *GetLogoutParams

NewGetLogoutParamsWithHTTPClient creates a new GetLogoutParams object with the ability to set a custom HTTPClient for a request.

func NewGetLogoutParamsWithTimeout

func NewGetLogoutParamsWithTimeout(timeout time.Duration) *GetLogoutParams

NewGetLogoutParamsWithTimeout creates a new GetLogoutParams object with the ability to set a timeout on a request.

func (*GetLogoutParams) SetContext

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

SetContext adds the context to the get logout params

func (*GetLogoutParams) SetDefaults

func (o *GetLogoutParams) SetDefaults()

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

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

func (*GetLogoutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get logout params

func (*GetLogoutParams) SetTimeout

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

SetTimeout adds the timeout to the get logout params

func (*GetLogoutParams) WithContext

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

WithContext adds the context to the get logout params

func (*GetLogoutParams) WithDefaults

func (o *GetLogoutParams) WithDefaults() *GetLogoutParams

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

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

func (*GetLogoutParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get logout params

func (*GetLogoutParams) WithTimeout

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

WithTimeout adds the timeout to the get logout params

func (*GetLogoutParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetLogoutReader

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

GetLogoutReader is a Reader for the GetLogout structure.

func (*GetLogoutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRenewInternalServerError

type GetRenewInternalServerError struct {
	Payload *mono_models.Message
}
GetRenewInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewGetRenewInternalServerError

func NewGetRenewInternalServerError() *GetRenewInternalServerError

NewGetRenewInternalServerError creates a GetRenewInternalServerError with default headers values

func (*GetRenewInternalServerError) Error

func (*GetRenewInternalServerError) GetPayload

type GetRenewNotFound

type GetRenewNotFound struct {
	Payload *mono_models.Message
}
GetRenewNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetRenewNotFound

func NewGetRenewNotFound() *GetRenewNotFound

NewGetRenewNotFound creates a GetRenewNotFound with default headers values

func (*GetRenewNotFound) Error

func (o *GetRenewNotFound) Error() string

func (*GetRenewNotFound) GetPayload

func (o *GetRenewNotFound) GetPayload() *mono_models.Message

type GetRenewOK

type GetRenewOK struct {
	Payload *mono_models.JWT
}
GetRenewOK describes a response with status code 200, with default header values.

Success

func NewGetRenewOK

func NewGetRenewOK() *GetRenewOK

NewGetRenewOK creates a GetRenewOK with default headers values

func (*GetRenewOK) Error

func (o *GetRenewOK) Error() string

func (*GetRenewOK) GetPayload

func (o *GetRenewOK) GetPayload() *mono_models.JWT

type GetRenewParams

type GetRenewParams struct {

	/* SessionID.

	   id of session to renew

	   Format: uuid
	*/
	SessionID *strfmt.UUID

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

GetRenewParams contains all the parameters to send to the API endpoint

for the get renew operation.

Typically these are written to a http.Request.

func NewGetRenewParams

func NewGetRenewParams() *GetRenewParams

NewGetRenewParams creates a new GetRenewParams 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 NewGetRenewParamsWithContext

func NewGetRenewParamsWithContext(ctx context.Context) *GetRenewParams

NewGetRenewParamsWithContext creates a new GetRenewParams object with the ability to set a context for a request.

func NewGetRenewParamsWithHTTPClient

func NewGetRenewParamsWithHTTPClient(client *http.Client) *GetRenewParams

NewGetRenewParamsWithHTTPClient creates a new GetRenewParams object with the ability to set a custom HTTPClient for a request.

func NewGetRenewParamsWithTimeout

func NewGetRenewParamsWithTimeout(timeout time.Duration) *GetRenewParams

NewGetRenewParamsWithTimeout creates a new GetRenewParams object with the ability to set a timeout on a request.

func (*GetRenewParams) SetContext

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

SetContext adds the context to the get renew params

func (*GetRenewParams) SetDefaults

func (o *GetRenewParams) SetDefaults()

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

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

func (*GetRenewParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get renew params

func (*GetRenewParams) SetSessionID

func (o *GetRenewParams) SetSessionID(sessionID *strfmt.UUID)

SetSessionID adds the sessionId to the get renew params

func (*GetRenewParams) SetTimeout

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

SetTimeout adds the timeout to the get renew params

func (*GetRenewParams) WithContext

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

WithContext adds the context to the get renew params

func (*GetRenewParams) WithDefaults

func (o *GetRenewParams) WithDefaults() *GetRenewParams

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

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

func (*GetRenewParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get renew params

func (*GetRenewParams) WithSessionID

func (o *GetRenewParams) WithSessionID(sessionID *strfmt.UUID) *GetRenewParams

WithSessionID adds the sessionID to the get renew params

func (*GetRenewParams) WithTimeout

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

WithTimeout adds the timeout to the get renew params

func (*GetRenewParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetRenewReader

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

GetRenewReader is a Reader for the GetRenew structure.

func (*GetRenewReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GithubAuthErrorFound

type GithubAuthErrorFound struct {
}
GithubAuthErrorFound describes a response with status code 302, with default header values.

Found

func NewGithubAuthErrorFound

func NewGithubAuthErrorFound() *GithubAuthErrorFound

NewGithubAuthErrorFound creates a GithubAuthErrorFound with default headers values

func (*GithubAuthErrorFound) Error

func (o *GithubAuthErrorFound) Error() string

type GithubAuthErrorParams

type GithubAuthErrorParams struct {

	// Error.
	Error *string

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

GithubAuthErrorParams contains all the parameters to send to the API endpoint

for the github auth error operation.

Typically these are written to a http.Request.

func NewGithubAuthErrorParams

func NewGithubAuthErrorParams() *GithubAuthErrorParams

NewGithubAuthErrorParams creates a new GithubAuthErrorParams 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 NewGithubAuthErrorParamsWithContext

func NewGithubAuthErrorParamsWithContext(ctx context.Context) *GithubAuthErrorParams

NewGithubAuthErrorParamsWithContext creates a new GithubAuthErrorParams object with the ability to set a context for a request.

func NewGithubAuthErrorParamsWithHTTPClient

func NewGithubAuthErrorParamsWithHTTPClient(client *http.Client) *GithubAuthErrorParams

NewGithubAuthErrorParamsWithHTTPClient creates a new GithubAuthErrorParams object with the ability to set a custom HTTPClient for a request.

func NewGithubAuthErrorParamsWithTimeout

func NewGithubAuthErrorParamsWithTimeout(timeout time.Duration) *GithubAuthErrorParams

NewGithubAuthErrorParamsWithTimeout creates a new GithubAuthErrorParams object with the ability to set a timeout on a request.

func (*GithubAuthErrorParams) SetContext

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

SetContext adds the context to the github auth error params

func (*GithubAuthErrorParams) SetDefaults

func (o *GithubAuthErrorParams) SetDefaults()

SetDefaults hydrates default values in the github auth error params (not the query body).

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

func (*GithubAuthErrorParams) SetError

func (o *GithubAuthErrorParams) SetError(error *string)

SetError adds the error to the github auth error params

func (*GithubAuthErrorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the github auth error params

func (*GithubAuthErrorParams) SetTimeout

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

SetTimeout adds the timeout to the github auth error params

func (*GithubAuthErrorParams) WithContext

WithContext adds the context to the github auth error params

func (*GithubAuthErrorParams) WithDefaults

func (o *GithubAuthErrorParams) WithDefaults() *GithubAuthErrorParams

WithDefaults hydrates default values in the github auth error params (not the query body).

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

func (*GithubAuthErrorParams) WithError

func (o *GithubAuthErrorParams) WithError(error *string) *GithubAuthErrorParams

WithError adds the error to the github auth error params

func (*GithubAuthErrorParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the github auth error params

func (*GithubAuthErrorParams) WithTimeout

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

WithTimeout adds the timeout to the github auth error params

func (*GithubAuthErrorParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GithubAuthErrorReader

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

GithubAuthErrorReader is a Reader for the GithubAuthError structure.

func (*GithubAuthErrorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LinkGithubAccountFound

type LinkGithubAccountFound struct {
}
LinkGithubAccountFound describes a response with status code 302, with default header values.

Found

func NewLinkGithubAccountFound

func NewLinkGithubAccountFound() *LinkGithubAccountFound

NewLinkGithubAccountFound creates a LinkGithubAccountFound with default headers values

func (*LinkGithubAccountFound) Error

func (o *LinkGithubAccountFound) Error() string

type LinkGithubAccountParams

type LinkGithubAccountParams struct {

	// Code.
	Code *string

	// NextRoute.
	NextRoute *string

	// State.
	State *string

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

LinkGithubAccountParams contains all the parameters to send to the API endpoint

for the link github account operation.

Typically these are written to a http.Request.

func NewLinkGithubAccountParams

func NewLinkGithubAccountParams() *LinkGithubAccountParams

NewLinkGithubAccountParams creates a new LinkGithubAccountParams 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 NewLinkGithubAccountParamsWithContext

func NewLinkGithubAccountParamsWithContext(ctx context.Context) *LinkGithubAccountParams

NewLinkGithubAccountParamsWithContext creates a new LinkGithubAccountParams object with the ability to set a context for a request.

func NewLinkGithubAccountParamsWithHTTPClient

func NewLinkGithubAccountParamsWithHTTPClient(client *http.Client) *LinkGithubAccountParams

NewLinkGithubAccountParamsWithHTTPClient creates a new LinkGithubAccountParams object with the ability to set a custom HTTPClient for a request.

func NewLinkGithubAccountParamsWithTimeout

func NewLinkGithubAccountParamsWithTimeout(timeout time.Duration) *LinkGithubAccountParams

NewLinkGithubAccountParamsWithTimeout creates a new LinkGithubAccountParams object with the ability to set a timeout on a request.

func (*LinkGithubAccountParams) SetCode

func (o *LinkGithubAccountParams) SetCode(code *string)

SetCode adds the code to the link github account params

func (*LinkGithubAccountParams) SetContext

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

SetContext adds the context to the link github account params

func (*LinkGithubAccountParams) SetDefaults

func (o *LinkGithubAccountParams) SetDefaults()

SetDefaults hydrates default values in the link github account params (not the query body).

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

func (*LinkGithubAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the link github account params

func (*LinkGithubAccountParams) SetNextRoute

func (o *LinkGithubAccountParams) SetNextRoute(nextRoute *string)

SetNextRoute adds the nextRoute to the link github account params

func (*LinkGithubAccountParams) SetState

func (o *LinkGithubAccountParams) SetState(state *string)

SetState adds the state to the link github account params

func (*LinkGithubAccountParams) SetTimeout

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

SetTimeout adds the timeout to the link github account params

func (*LinkGithubAccountParams) WithCode

WithCode adds the code to the link github account params

func (*LinkGithubAccountParams) WithContext

WithContext adds the context to the link github account params

func (*LinkGithubAccountParams) WithDefaults

WithDefaults hydrates default values in the link github account params (not the query body).

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

func (*LinkGithubAccountParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the link github account params

func (*LinkGithubAccountParams) WithNextRoute

func (o *LinkGithubAccountParams) WithNextRoute(nextRoute *string) *LinkGithubAccountParams

WithNextRoute adds the nextRoute to the link github account params

func (*LinkGithubAccountParams) WithState

WithState adds the state to the link github account params

func (*LinkGithubAccountParams) WithTimeout

WithTimeout adds the timeout to the link github account params

func (*LinkGithubAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LinkGithubAccountReader

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

LinkGithubAccountReader is a Reader for the LinkGithubAccount structure.

func (*LinkGithubAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListTokensInternalServerError

type ListTokensInternalServerError struct {
	Payload *mono_models.Message
}
ListTokensInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewListTokensInternalServerError

func NewListTokensInternalServerError() *ListTokensInternalServerError

NewListTokensInternalServerError creates a ListTokensInternalServerError with default headers values

func (*ListTokensInternalServerError) Error

func (*ListTokensInternalServerError) GetPayload

type ListTokensOK

type ListTokensOK struct {
	Payload []*mono_models.Token
}
ListTokensOK describes a response with status code 200, with default header values.

Success

func NewListTokensOK

func NewListTokensOK() *ListTokensOK

NewListTokensOK creates a ListTokensOK with default headers values

func (*ListTokensOK) Error

func (o *ListTokensOK) Error() string

func (*ListTokensOK) GetPayload

func (o *ListTokensOK) GetPayload() []*mono_models.Token

type ListTokensParams

type ListTokensParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListTokensParams contains all the parameters to send to the API endpoint

for the list tokens operation.

Typically these are written to a http.Request.

func NewListTokensParams

func NewListTokensParams() *ListTokensParams

NewListTokensParams creates a new ListTokensParams 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 NewListTokensParamsWithContext

func NewListTokensParamsWithContext(ctx context.Context) *ListTokensParams

NewListTokensParamsWithContext creates a new ListTokensParams object with the ability to set a context for a request.

func NewListTokensParamsWithHTTPClient

func NewListTokensParamsWithHTTPClient(client *http.Client) *ListTokensParams

NewListTokensParamsWithHTTPClient creates a new ListTokensParams object with the ability to set a custom HTTPClient for a request.

func NewListTokensParamsWithTimeout

func NewListTokensParamsWithTimeout(timeout time.Duration) *ListTokensParams

NewListTokensParamsWithTimeout creates a new ListTokensParams object with the ability to set a timeout on a request.

func (*ListTokensParams) SetContext

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

SetContext adds the context to the list tokens params

func (*ListTokensParams) SetDefaults

func (o *ListTokensParams) SetDefaults()

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

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

func (*ListTokensParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list tokens params

func (*ListTokensParams) SetTimeout

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

SetTimeout adds the timeout to the list tokens params

func (*ListTokensParams) WithContext

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

WithContext adds the context to the list tokens params

func (*ListTokensParams) WithDefaults

func (o *ListTokensParams) WithDefaults() *ListTokensParams

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

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

func (*ListTokensParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list tokens params

func (*ListTokensParams) WithTimeout

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

WithTimeout adds the timeout to the list tokens params

func (*ListTokensParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListTokensReader

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

ListTokensReader is a Reader for the ListTokens structure.

func (*ListTokensReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LoginAsBadRequest

type LoginAsBadRequest struct {
	Payload *mono_models.Message
}
LoginAsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewLoginAsBadRequest

func NewLoginAsBadRequest() *LoginAsBadRequest

NewLoginAsBadRequest creates a LoginAsBadRequest with default headers values

func (*LoginAsBadRequest) Error

func (o *LoginAsBadRequest) Error() string

func (*LoginAsBadRequest) GetPayload

func (o *LoginAsBadRequest) GetPayload() *mono_models.Message

type LoginAsInternalServerError

type LoginAsInternalServerError struct {
	Payload *mono_models.Message
}
LoginAsInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewLoginAsInternalServerError

func NewLoginAsInternalServerError() *LoginAsInternalServerError

NewLoginAsInternalServerError creates a LoginAsInternalServerError with default headers values

func (*LoginAsInternalServerError) Error

func (*LoginAsInternalServerError) GetPayload

type LoginAsOK

type LoginAsOK struct {
	Payload *mono_models.JWT
}
LoginAsOK describes a response with status code 200, with default header values.

Success

func NewLoginAsOK

func NewLoginAsOK() *LoginAsOK

NewLoginAsOK creates a LoginAsOK with default headers values

func (*LoginAsOK) Error

func (o *LoginAsOK) Error() string

func (*LoginAsOK) GetPayload

func (o *LoginAsOK) GetPayload() *mono_models.JWT

type LoginAsParams

type LoginAsParams struct {

	/* Username.

	   Username to login as
	*/
	Username string

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

LoginAsParams contains all the parameters to send to the API endpoint

for the login as operation.

Typically these are written to a http.Request.

func NewLoginAsParams

func NewLoginAsParams() *LoginAsParams

NewLoginAsParams creates a new LoginAsParams 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 NewLoginAsParamsWithContext

func NewLoginAsParamsWithContext(ctx context.Context) *LoginAsParams

NewLoginAsParamsWithContext creates a new LoginAsParams object with the ability to set a context for a request.

func NewLoginAsParamsWithHTTPClient

func NewLoginAsParamsWithHTTPClient(client *http.Client) *LoginAsParams

NewLoginAsParamsWithHTTPClient creates a new LoginAsParams object with the ability to set a custom HTTPClient for a request.

func NewLoginAsParamsWithTimeout

func NewLoginAsParamsWithTimeout(timeout time.Duration) *LoginAsParams

NewLoginAsParamsWithTimeout creates a new LoginAsParams object with the ability to set a timeout on a request.

func (*LoginAsParams) SetContext

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

SetContext adds the context to the login as params

func (*LoginAsParams) SetDefaults

func (o *LoginAsParams) SetDefaults()

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

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

func (*LoginAsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the login as params

func (*LoginAsParams) SetTimeout

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

SetTimeout adds the timeout to the login as params

func (*LoginAsParams) SetUsername

func (o *LoginAsParams) SetUsername(username string)

SetUsername adds the username to the login as params

func (*LoginAsParams) WithContext

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

WithContext adds the context to the login as params

func (*LoginAsParams) WithDefaults

func (o *LoginAsParams) WithDefaults() *LoginAsParams

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

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

func (*LoginAsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the login as params

func (*LoginAsParams) WithTimeout

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

WithTimeout adds the timeout to the login as params

func (*LoginAsParams) WithUsername

func (o *LoginAsParams) WithUsername(username string) *LoginAsParams

WithUsername adds the username to the login as params

func (*LoginAsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type LoginAsReader

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

LoginAsReader is a Reader for the LoginAs structure.

func (*LoginAsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LoginAsUnauthorized

type LoginAsUnauthorized struct {
	Payload *mono_models.Message
}
LoginAsUnauthorized describes a response with status code 401, with default header values.

Invalid credentials

func NewLoginAsUnauthorized

func NewLoginAsUnauthorized() *LoginAsUnauthorized

NewLoginAsUnauthorized creates a LoginAsUnauthorized with default headers values

func (*LoginAsUnauthorized) Error

func (o *LoginAsUnauthorized) Error() string

func (*LoginAsUnauthorized) GetPayload

func (o *LoginAsUnauthorized) GetPayload() *mono_models.Message

type LoginWithGithubFound

type LoginWithGithubFound struct {
}
LoginWithGithubFound describes a response with status code 302, with default header values.

Found

func NewLoginWithGithubFound

func NewLoginWithGithubFound() *LoginWithGithubFound

NewLoginWithGithubFound creates a LoginWithGithubFound with default headers values

func (*LoginWithGithubFound) Error

func (o *LoginWithGithubFound) Error() string

type LoginWithGithubParams

type LoginWithGithubParams struct {

	// Code.
	Code *string

	// InviteCode.
	InviteCode *string

	// NextRoute.
	NextRoute *string

	// State.
	State *string

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

LoginWithGithubParams contains all the parameters to send to the API endpoint

for the login with github operation.

Typically these are written to a http.Request.

func NewLoginWithGithubParams

func NewLoginWithGithubParams() *LoginWithGithubParams

NewLoginWithGithubParams creates a new LoginWithGithubParams 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 NewLoginWithGithubParamsWithContext

func NewLoginWithGithubParamsWithContext(ctx context.Context) *LoginWithGithubParams

NewLoginWithGithubParamsWithContext creates a new LoginWithGithubParams object with the ability to set a context for a request.

func NewLoginWithGithubParamsWithHTTPClient

func NewLoginWithGithubParamsWithHTTPClient(client *http.Client) *LoginWithGithubParams

NewLoginWithGithubParamsWithHTTPClient creates a new LoginWithGithubParams object with the ability to set a custom HTTPClient for a request.

func NewLoginWithGithubParamsWithTimeout

func NewLoginWithGithubParamsWithTimeout(timeout time.Duration) *LoginWithGithubParams

NewLoginWithGithubParamsWithTimeout creates a new LoginWithGithubParams object with the ability to set a timeout on a request.

func (*LoginWithGithubParams) SetCode

func (o *LoginWithGithubParams) SetCode(code *string)

SetCode adds the code to the login with github params

func (*LoginWithGithubParams) SetContext

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

SetContext adds the context to the login with github params

func (*LoginWithGithubParams) SetDefaults

func (o *LoginWithGithubParams) SetDefaults()

SetDefaults hydrates default values in the login with github params (not the query body).

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

func (*LoginWithGithubParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the login with github params

func (*LoginWithGithubParams) SetInviteCode

func (o *LoginWithGithubParams) SetInviteCode(inviteCode *string)

SetInviteCode adds the inviteCode to the login with github params

func (*LoginWithGithubParams) SetNextRoute

func (o *LoginWithGithubParams) SetNextRoute(nextRoute *string)

SetNextRoute adds the nextRoute to the login with github params

func (*LoginWithGithubParams) SetState

func (o *LoginWithGithubParams) SetState(state *string)

SetState adds the state to the login with github params

func (*LoginWithGithubParams) SetTimeout

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

SetTimeout adds the timeout to the login with github params

func (*LoginWithGithubParams) WithCode

WithCode adds the code to the login with github params

func (*LoginWithGithubParams) WithContext

WithContext adds the context to the login with github params

func (*LoginWithGithubParams) WithDefaults

func (o *LoginWithGithubParams) WithDefaults() *LoginWithGithubParams

WithDefaults hydrates default values in the login with github params (not the query body).

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

func (*LoginWithGithubParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the login with github params

func (*LoginWithGithubParams) WithInviteCode

func (o *LoginWithGithubParams) WithInviteCode(inviteCode *string) *LoginWithGithubParams

WithInviteCode adds the inviteCode to the login with github params

func (*LoginWithGithubParams) WithNextRoute

func (o *LoginWithGithubParams) WithNextRoute(nextRoute *string) *LoginWithGithubParams

WithNextRoute adds the nextRoute to the login with github params

func (*LoginWithGithubParams) WithState

func (o *LoginWithGithubParams) WithState(state *string) *LoginWithGithubParams

WithState adds the state to the login with github params

func (*LoginWithGithubParams) WithTimeout

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

WithTimeout adds the timeout to the login with github params

func (*LoginWithGithubParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type LoginWithGithubReader

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

LoginWithGithubReader is a Reader for the LoginWithGithub structure.

func (*LoginWithGithubReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type NewTOTPBadRequest

type NewTOTPBadRequest struct {
	Payload *mono_models.Message
}
NewTOTPBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewNewTOTPBadRequest

func NewNewTOTPBadRequest() *NewTOTPBadRequest

NewNewTOTPBadRequest creates a NewTOTPBadRequest with default headers values

func (*NewTOTPBadRequest) Error

func (o *NewTOTPBadRequest) Error() string

func (*NewTOTPBadRequest) GetPayload

func (o *NewTOTPBadRequest) GetPayload() *mono_models.Message

type NewTOTPOK

type NewTOTPOK struct {
	Payload *mono_models.TOTPKey
}
NewTOTPOK describes a response with status code 200, with default header values.

New TOTP Key

func NewNewTOTPOK

func NewNewTOTPOK() *NewTOTPOK

NewNewTOTPOK creates a NewTOTPOK with default headers values

func (*NewTOTPOK) Error

func (o *NewTOTPOK) Error() string

func (*NewTOTPOK) GetPayload

func (o *NewTOTPOK) GetPayload() *mono_models.TOTPKey

type NewTOTPParams

type NewTOTPParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

NewTOTPParams contains all the parameters to send to the API endpoint

for the new t o t p operation.

Typically these are written to a http.Request.

func NewNewTOTPParams

func NewNewTOTPParams() *NewTOTPParams

NewNewTOTPParams creates a new NewTOTPParams 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 NewNewTOTPParamsWithContext

func NewNewTOTPParamsWithContext(ctx context.Context) *NewTOTPParams

NewNewTOTPParamsWithContext creates a new NewTOTPParams object with the ability to set a context for a request.

func NewNewTOTPParamsWithHTTPClient

func NewNewTOTPParamsWithHTTPClient(client *http.Client) *NewTOTPParams

NewNewTOTPParamsWithHTTPClient creates a new NewTOTPParams object with the ability to set a custom HTTPClient for a request.

func NewNewTOTPParamsWithTimeout

func NewNewTOTPParamsWithTimeout(timeout time.Duration) *NewTOTPParams

NewNewTOTPParamsWithTimeout creates a new NewTOTPParams object with the ability to set a timeout on a request.

func (*NewTOTPParams) SetContext

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

SetContext adds the context to the new t o t p params

func (*NewTOTPParams) SetDefaults

func (o *NewTOTPParams) SetDefaults()

SetDefaults hydrates default values in the new t o t p params (not the query body).

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

func (*NewTOTPParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the new t o t p params

func (*NewTOTPParams) SetTimeout

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

SetTimeout adds the timeout to the new t o t p params

func (*NewTOTPParams) WithContext

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

WithContext adds the context to the new t o t p params

func (*NewTOTPParams) WithDefaults

func (o *NewTOTPParams) WithDefaults() *NewTOTPParams

WithDefaults hydrates default values in the new t o t p params (not the query body).

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

func (*NewTOTPParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the new t o t p params

func (*NewTOTPParams) WithTimeout

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

WithTimeout adds the timeout to the new t o t p params

func (*NewTOTPParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type NewTOTPReader

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

NewTOTPReader is a Reader for the NewTOTP structure.

func (*NewTOTPReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostLoginBadRequest

type PostLoginBadRequest struct {
	Payload *mono_models.Message
}
PostLoginBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostLoginBadRequest

func NewPostLoginBadRequest() *PostLoginBadRequest

NewPostLoginBadRequest creates a PostLoginBadRequest with default headers values

func (*PostLoginBadRequest) Error

func (o *PostLoginBadRequest) Error() string

func (*PostLoginBadRequest) GetPayload

func (o *PostLoginBadRequest) GetPayload() *mono_models.Message

type PostLoginInternalServerError

type PostLoginInternalServerError struct {
	Payload *mono_models.Message
}
PostLoginInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewPostLoginInternalServerError

func NewPostLoginInternalServerError() *PostLoginInternalServerError

NewPostLoginInternalServerError creates a PostLoginInternalServerError with default headers values

func (*PostLoginInternalServerError) Error

func (*PostLoginInternalServerError) GetPayload

type PostLoginOK

type PostLoginOK struct {
	Payload *mono_models.JWT
}
PostLoginOK describes a response with status code 200, with default header values.

Success

func NewPostLoginOK

func NewPostLoginOK() *PostLoginOK

NewPostLoginOK creates a PostLoginOK with default headers values

func (*PostLoginOK) Error

func (o *PostLoginOK) Error() string

func (*PostLoginOK) GetPayload

func (o *PostLoginOK) GetPayload() *mono_models.JWT

type PostLoginParams

type PostLoginParams struct {

	// Credentials.
	Credentials *mono_models.Credentials

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

PostLoginParams contains all the parameters to send to the API endpoint

for the post login operation.

Typically these are written to a http.Request.

func NewPostLoginParams

func NewPostLoginParams() *PostLoginParams

NewPostLoginParams creates a new PostLoginParams 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 NewPostLoginParamsWithContext

func NewPostLoginParamsWithContext(ctx context.Context) *PostLoginParams

NewPostLoginParamsWithContext creates a new PostLoginParams object with the ability to set a context for a request.

func NewPostLoginParamsWithHTTPClient

func NewPostLoginParamsWithHTTPClient(client *http.Client) *PostLoginParams

NewPostLoginParamsWithHTTPClient creates a new PostLoginParams object with the ability to set a custom HTTPClient for a request.

func NewPostLoginParamsWithTimeout

func NewPostLoginParamsWithTimeout(timeout time.Duration) *PostLoginParams

NewPostLoginParamsWithTimeout creates a new PostLoginParams object with the ability to set a timeout on a request.

func (*PostLoginParams) SetContext

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

SetContext adds the context to the post login params

func (*PostLoginParams) SetCredentials

func (o *PostLoginParams) SetCredentials(credentials *mono_models.Credentials)

SetCredentials adds the credentials to the post login params

func (*PostLoginParams) SetDefaults

func (o *PostLoginParams) SetDefaults()

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

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

func (*PostLoginParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post login params

func (*PostLoginParams) SetTimeout

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

SetTimeout adds the timeout to the post login params

func (*PostLoginParams) WithContext

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

WithContext adds the context to the post login params

func (*PostLoginParams) WithCredentials

func (o *PostLoginParams) WithCredentials(credentials *mono_models.Credentials) *PostLoginParams

WithCredentials adds the credentials to the post login params

func (*PostLoginParams) WithDefaults

func (o *PostLoginParams) WithDefaults() *PostLoginParams

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

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

func (*PostLoginParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post login params

func (*PostLoginParams) WithTimeout

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

WithTimeout adds the timeout to the post login params

func (*PostLoginParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostLoginReader

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

PostLoginReader is a Reader for the PostLogin structure.

func (*PostLoginReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostLoginRetryWith

type PostLoginRetryWith struct {
	Payload *mono_models.Message
}
PostLoginRetryWith describes a response with status code 449, with default header values.

TOTP Required

func NewPostLoginRetryWith

func NewPostLoginRetryWith() *PostLoginRetryWith

NewPostLoginRetryWith creates a PostLoginRetryWith with default headers values

func (*PostLoginRetryWith) Error

func (o *PostLoginRetryWith) Error() string

func (*PostLoginRetryWith) GetPayload

func (o *PostLoginRetryWith) GetPayload() *mono_models.Message

type PostLoginUnauthorized

type PostLoginUnauthorized struct {
	Payload *mono_models.Message
}
PostLoginUnauthorized describes a response with status code 401, with default header values.

Invalid credentials

func NewPostLoginUnauthorized

func NewPostLoginUnauthorized() *PostLoginUnauthorized

NewPostLoginUnauthorized creates a PostLoginUnauthorized with default headers values

func (*PostLoginUnauthorized) Error

func (o *PostLoginUnauthorized) Error() string

func (*PostLoginUnauthorized) GetPayload

func (o *PostLoginUnauthorized) GetPayload() *mono_models.Message

type RequestResetBadRequest

type RequestResetBadRequest struct {
	Payload *mono_models.Message
}
RequestResetBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewRequestResetBadRequest

func NewRequestResetBadRequest() *RequestResetBadRequest

NewRequestResetBadRequest creates a RequestResetBadRequest with default headers values

func (*RequestResetBadRequest) Error

func (o *RequestResetBadRequest) Error() string

func (*RequestResetBadRequest) GetPayload

func (o *RequestResetBadRequest) GetPayload() *mono_models.Message

type RequestResetInternalServerError

type RequestResetInternalServerError struct {
	Payload *mono_models.Message
}
RequestResetInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewRequestResetInternalServerError

func NewRequestResetInternalServerError() *RequestResetInternalServerError

NewRequestResetInternalServerError creates a RequestResetInternalServerError with default headers values

func (*RequestResetInternalServerError) Error

func (*RequestResetInternalServerError) GetPayload

type RequestResetOK

type RequestResetOK struct {
	Payload *mono_models.Message
}
RequestResetOK describes a response with status code 200, with default header values.

Success

func NewRequestResetOK

func NewRequestResetOK() *RequestResetOK

NewRequestResetOK creates a RequestResetOK with default headers values

func (*RequestResetOK) Error

func (o *RequestResetOK) Error() string

func (*RequestResetOK) GetPayload

func (o *RequestResetOK) GetPayload() *mono_models.Message

type RequestResetParams

type RequestResetParams struct {

	/* Email.

	   User email address
	*/
	Email string

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

RequestResetParams contains all the parameters to send to the API endpoint

for the request reset operation.

Typically these are written to a http.Request.

func NewRequestResetParams

func NewRequestResetParams() *RequestResetParams

NewRequestResetParams creates a new RequestResetParams 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 NewRequestResetParamsWithContext

func NewRequestResetParamsWithContext(ctx context.Context) *RequestResetParams

NewRequestResetParamsWithContext creates a new RequestResetParams object with the ability to set a context for a request.

func NewRequestResetParamsWithHTTPClient

func NewRequestResetParamsWithHTTPClient(client *http.Client) *RequestResetParams

NewRequestResetParamsWithHTTPClient creates a new RequestResetParams object with the ability to set a custom HTTPClient for a request.

func NewRequestResetParamsWithTimeout

func NewRequestResetParamsWithTimeout(timeout time.Duration) *RequestResetParams

NewRequestResetParamsWithTimeout creates a new RequestResetParams object with the ability to set a timeout on a request.

func (*RequestResetParams) SetContext

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

SetContext adds the context to the request reset params

func (*RequestResetParams) SetDefaults

func (o *RequestResetParams) SetDefaults()

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

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

func (*RequestResetParams) SetEmail

func (o *RequestResetParams) SetEmail(email string)

SetEmail adds the email to the request reset params

func (*RequestResetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the request reset params

func (*RequestResetParams) SetTimeout

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

SetTimeout adds the timeout to the request reset params

func (*RequestResetParams) WithContext

WithContext adds the context to the request reset params

func (*RequestResetParams) WithDefaults

func (o *RequestResetParams) WithDefaults() *RequestResetParams

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

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

func (*RequestResetParams) WithEmail

func (o *RequestResetParams) WithEmail(email string) *RequestResetParams

WithEmail adds the email to the request reset params

func (*RequestResetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the request reset params

func (*RequestResetParams) WithTimeout

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

WithTimeout adds the timeout to the request reset params

func (*RequestResetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RequestResetReader

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

RequestResetReader is a Reader for the RequestReset structure.

func (*RequestResetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResetPasswordBadRequest

type ResetPasswordBadRequest struct {
	Payload *mono_models.Message
}
ResetPasswordBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewResetPasswordBadRequest

func NewResetPasswordBadRequest() *ResetPasswordBadRequest

NewResetPasswordBadRequest creates a ResetPasswordBadRequest with default headers values

func (*ResetPasswordBadRequest) Error

func (o *ResetPasswordBadRequest) Error() string

func (*ResetPasswordBadRequest) GetPayload

func (o *ResetPasswordBadRequest) GetPayload() *mono_models.Message

type ResetPasswordForbidden

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

Forbidden

func NewResetPasswordForbidden

func NewResetPasswordForbidden() *ResetPasswordForbidden

NewResetPasswordForbidden creates a ResetPasswordForbidden with default headers values

func (*ResetPasswordForbidden) Error

func (o *ResetPasswordForbidden) Error() string

func (*ResetPasswordForbidden) GetPayload

func (o *ResetPasswordForbidden) GetPayload() *mono_models.Message

type ResetPasswordInternalServerError

type ResetPasswordInternalServerError struct {
	Payload *mono_models.Message
}
ResetPasswordInternalServerError describes a response with status code 500, with default header values.

Server Error

func NewResetPasswordInternalServerError

func NewResetPasswordInternalServerError() *ResetPasswordInternalServerError

NewResetPasswordInternalServerError creates a ResetPasswordInternalServerError with default headers values

func (*ResetPasswordInternalServerError) Error

func (*ResetPasswordInternalServerError) GetPayload

type ResetPasswordOK

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

Success

func NewResetPasswordOK

func NewResetPasswordOK() *ResetPasswordOK

NewResetPasswordOK creates a ResetPasswordOK with default headers values

func (*ResetPasswordOK) Error

func (o *ResetPasswordOK) Error() string

func (*ResetPasswordOK) GetPayload

func (o *ResetPasswordOK) GetPayload() *mono_models.Message

type ResetPasswordParams

type ResetPasswordParams struct {

	/* ResetRequest.

	   Reset Request
	*/
	ResetRequest *mono_models.PasswordReset

	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) 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) SetResetRequest

func (o *ResetPasswordParams) SetResetRequest(resetRequest *mono_models.PasswordReset)

SetResetRequest adds the resetRequest 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) 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) WithResetRequest

func (o *ResetPasswordParams) WithResetRequest(resetRequest *mono_models.PasswordReset) *ResetPasswordParams

WithResetRequest adds the resetRequest 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 SignupWithGithubFound

type SignupWithGithubFound struct {
}
SignupWithGithubFound describes a response with status code 302, with default header values.

Found

func NewSignupWithGithubFound

func NewSignupWithGithubFound() *SignupWithGithubFound

NewSignupWithGithubFound creates a SignupWithGithubFound with default headers values

func (*SignupWithGithubFound) Error

func (o *SignupWithGithubFound) Error() string

type SignupWithGithubParams

type SignupWithGithubParams struct {

	// Code.
	Code *string

	// Email.
	Email *string

	// InviteCode.
	InviteCode *string

	// NextRoute.
	NextRoute *string

	// State.
	State *string

	// Username.
	Username *string

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

SignupWithGithubParams contains all the parameters to send to the API endpoint

for the signup with github operation.

Typically these are written to a http.Request.

func NewSignupWithGithubParams

func NewSignupWithGithubParams() *SignupWithGithubParams

NewSignupWithGithubParams creates a new SignupWithGithubParams 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 NewSignupWithGithubParamsWithContext

func NewSignupWithGithubParamsWithContext(ctx context.Context) *SignupWithGithubParams

NewSignupWithGithubParamsWithContext creates a new SignupWithGithubParams object with the ability to set a context for a request.

func NewSignupWithGithubParamsWithHTTPClient

func NewSignupWithGithubParamsWithHTTPClient(client *http.Client) *SignupWithGithubParams

NewSignupWithGithubParamsWithHTTPClient creates a new SignupWithGithubParams object with the ability to set a custom HTTPClient for a request.

func NewSignupWithGithubParamsWithTimeout

func NewSignupWithGithubParamsWithTimeout(timeout time.Duration) *SignupWithGithubParams

NewSignupWithGithubParamsWithTimeout creates a new SignupWithGithubParams object with the ability to set a timeout on a request.

func (*SignupWithGithubParams) SetCode

func (o *SignupWithGithubParams) SetCode(code *string)

SetCode adds the code to the signup with github params

func (*SignupWithGithubParams) SetContext

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

SetContext adds the context to the signup with github params

func (*SignupWithGithubParams) SetDefaults

func (o *SignupWithGithubParams) SetDefaults()

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

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

func (*SignupWithGithubParams) SetEmail

func (o *SignupWithGithubParams) SetEmail(email *string)

SetEmail adds the email to the signup with github params

func (*SignupWithGithubParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the signup with github params

func (*SignupWithGithubParams) SetInviteCode

func (o *SignupWithGithubParams) SetInviteCode(inviteCode *string)

SetInviteCode adds the inviteCode to the signup with github params

func (*SignupWithGithubParams) SetNextRoute

func (o *SignupWithGithubParams) SetNextRoute(nextRoute *string)

SetNextRoute adds the nextRoute to the signup with github params

func (*SignupWithGithubParams) SetState

func (o *SignupWithGithubParams) SetState(state *string)

SetState adds the state to the signup with github params

func (*SignupWithGithubParams) SetTimeout

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

SetTimeout adds the timeout to the signup with github params

func (*SignupWithGithubParams) SetUsername

func (o *SignupWithGithubParams) SetUsername(username *string)

SetUsername adds the username to the signup with github params

func (*SignupWithGithubParams) WithCode

WithCode adds the code to the signup with github params

func (*SignupWithGithubParams) WithContext

WithContext adds the context to the signup with github params

func (*SignupWithGithubParams) WithDefaults

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

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

func (*SignupWithGithubParams) WithEmail

WithEmail adds the email to the signup with github params

func (*SignupWithGithubParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the signup with github params

func (*SignupWithGithubParams) WithInviteCode

func (o *SignupWithGithubParams) WithInviteCode(inviteCode *string) *SignupWithGithubParams

WithInviteCode adds the inviteCode to the signup with github params

func (*SignupWithGithubParams) WithNextRoute

func (o *SignupWithGithubParams) WithNextRoute(nextRoute *string) *SignupWithGithubParams

WithNextRoute adds the nextRoute to the signup with github params

func (*SignupWithGithubParams) WithState

WithState adds the state to the signup with github params

func (*SignupWithGithubParams) WithTimeout

WithTimeout adds the timeout to the signup with github params

func (*SignupWithGithubParams) WithUsername

func (o *SignupWithGithubParams) WithUsername(username *string) *SignupWithGithubParams

WithUsername adds the username to the signup with github params

func (*SignupWithGithubParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SignupWithGithubReader

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

SignupWithGithubReader is a Reader for the SignupWithGithub structure.

func (*SignupWithGithubReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UnlinkGithubAccountForbidden

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

Not found

func NewUnlinkGithubAccountForbidden

func NewUnlinkGithubAccountForbidden() *UnlinkGithubAccountForbidden

NewUnlinkGithubAccountForbidden creates a UnlinkGithubAccountForbidden with default headers values

func (*UnlinkGithubAccountForbidden) Error

type UnlinkGithubAccountOK

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

Success

func NewUnlinkGithubAccountOK

func NewUnlinkGithubAccountOK() *UnlinkGithubAccountOK

NewUnlinkGithubAccountOK creates a UnlinkGithubAccountOK with default headers values

func (*UnlinkGithubAccountOK) Error

func (o *UnlinkGithubAccountOK) Error() string

type UnlinkGithubAccountParams

type UnlinkGithubAccountParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UnlinkGithubAccountParams contains all the parameters to send to the API endpoint

for the unlink github account operation.

Typically these are written to a http.Request.

func NewUnlinkGithubAccountParams

func NewUnlinkGithubAccountParams() *UnlinkGithubAccountParams

NewUnlinkGithubAccountParams creates a new UnlinkGithubAccountParams 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 NewUnlinkGithubAccountParamsWithContext

func NewUnlinkGithubAccountParamsWithContext(ctx context.Context) *UnlinkGithubAccountParams

NewUnlinkGithubAccountParamsWithContext creates a new UnlinkGithubAccountParams object with the ability to set a context for a request.

func NewUnlinkGithubAccountParamsWithHTTPClient

func NewUnlinkGithubAccountParamsWithHTTPClient(client *http.Client) *UnlinkGithubAccountParams

NewUnlinkGithubAccountParamsWithHTTPClient creates a new UnlinkGithubAccountParams object with the ability to set a custom HTTPClient for a request.

func NewUnlinkGithubAccountParamsWithTimeout

func NewUnlinkGithubAccountParamsWithTimeout(timeout time.Duration) *UnlinkGithubAccountParams

NewUnlinkGithubAccountParamsWithTimeout creates a new UnlinkGithubAccountParams object with the ability to set a timeout on a request.

func (*UnlinkGithubAccountParams) SetContext

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

SetContext adds the context to the unlink github account params

func (*UnlinkGithubAccountParams) SetDefaults

func (o *UnlinkGithubAccountParams) SetDefaults()

SetDefaults hydrates default values in the unlink github account params (not the query body).

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

func (*UnlinkGithubAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the unlink github account params

func (*UnlinkGithubAccountParams) SetTimeout

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

SetTimeout adds the timeout to the unlink github account params

func (*UnlinkGithubAccountParams) WithContext

WithContext adds the context to the unlink github account params

func (*UnlinkGithubAccountParams) WithDefaults

WithDefaults hydrates default values in the unlink github account params (not the query body).

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

func (*UnlinkGithubAccountParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the unlink github account params

func (*UnlinkGithubAccountParams) WithTimeout

WithTimeout adds the timeout to the unlink github account params

func (*UnlinkGithubAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UnlinkGithubAccountReader

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

UnlinkGithubAccountReader is a Reader for the UnlinkGithubAccount structure.

func (*UnlinkGithubAccountReader) ReadResponse

func (o *UnlinkGithubAccountReader) 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